guix-manual.fa.po 2.2 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056560575605856059560605606156062560635606456065560665606756068560695607056071560725607356074560755607656077560785607956080560815608256083560845608556086560875608856089560905609156092560935609456095560965609756098560995610056101561025610356104561055610656107561085610956110561115611256113561145611556116561175611856119561205612156122561235612456125561265612756128561295613056131561325613356134561355613656137561385613956140561415614256143561445614556146561475614856149561505615156152561535615456155561565615756158561595616056161561625616356164561655616656167561685616956170561715617256173561745617556176561775617856179561805618156182561835618456185561865618756188561895619056191561925619356194561955619656197561985619956200562015620256203562045620556206562075620856209562105621156212562135621456215562165621756218562195622056221562225622356224562255622656227562285622956230562315623256233562345623556236562375623856239562405624156242562435624456245562465624756248562495625056251562525625356254562555625656257562585625956260562615626256263562645626556266562675626856269562705627156272562735627456275562765627756278562795628056281562825628356284562855628656287562885628956290562915629256293562945629556296562975629856299563005630156302563035630456305563065630756308563095631056311563125631356314563155631656317563185631956320563215632256323563245632556326563275632856329563305633156332563335633456335563365633756338563395634056341563425634356344563455634656347563485634956350563515635256353563545635556356563575635856359563605636156362563635636456365563665636756368563695637056371563725637356374563755637656377563785637956380563815638256383563845638556386563875638856389563905639156392563935639456395563965639756398563995640056401564025640356404564055640656407564085640956410564115641256413564145641556416564175641856419564205642156422564235642456425564265642756428564295643056431564325643356434564355643656437564385643956440564415644256443564445644556446564475644856449564505645156452564535645456455564565645756458564595646056461564625646356464564655646656467564685646956470564715647256473564745647556476564775647856479564805648156482564835648456485564865648756488564895649056491564925649356494564955649656497564985649956500565015650256503565045650556506565075650856509565105651156512565135651456515565165651756518565195652056521565225652356524565255652656527565285652956530565315653256533565345653556536565375653856539565405654156542565435654456545565465654756548565495655056551565525655356554565555655656557565585655956560565615656256563565645656556566565675656856569565705657156572565735657456575565765657756578565795658056581565825658356584565855658656587565885658956590565915659256593565945659556596565975659856599566005660156602566035660456605566065660756608566095661056611566125661356614566155661656617566185661956620566215662256623566245662556626566275662856629566305663156632566335663456635566365663756638566395664056641566425664356644566455664656647566485664956650566515665256653566545665556656566575665856659566605666156662566635666456665566665666756668566695667056671566725667356674566755667656677566785667956680566815668256683566845668556686566875668856689566905669156692566935669456695566965669756698566995670056701567025670356704567055670656707567085670956710567115671256713567145671556716567175671856719567205672156722567235672456725567265672756728567295673056731567325673356734567355673656737567385673956740567415674256743567445674556746567475674856749567505675156752567535675456755567565675756758567595676056761567625676356764567655676656767567685676956770567715677256773567745677556776567775677856779567805678156782567835678456785567865678756788567895679056791567925679356794567955679656797567985679956800568015680256803568045680556806568075680856809568105681156812568135681456815568165681756818568195682056821568225682356824568255682656827568285682956830568315683256833568345683556836568375683856839568405684156842568435684456845568465684756848568495685056851568525685356854568555685656857568585685956860568615686256863568645686556866568675686856869568705687156872568735687456875568765687756878568795688056881568825688356884568855688656887568885688956890568915689256893568945689556896568975689856899569005690156902569035690456905569065690756908569095691056911569125691356914569155691656917569185691956920569215692256923569245692556926569275692856929569305693156932569335693456935569365693756938569395694056941569425694356944569455694656947569485694956950569515695256953569545695556956569575695856959569605696156962569635696456965569665696756968569695697056971569725697356974569755697656977569785697956980569815698256983569845698556986569875698856989569905699156992569935699456995569965699756998569995700057001570025700357004570055700657007570085700957010570115701257013570145701557016570175701857019570205702157022570235702457025570265702757028570295703057031570325703357034570355703657037570385703957040570415704257043570445704557046570475704857049570505705157052570535705457055570565705757058570595706057061570625706357064570655706657067570685706957070570715707257073570745707557076570775707857079570805708157082570835708457085570865708757088570895709057091570925709357094570955709657097570985709957100571015710257103571045710557106571075710857109571105711157112571135711457115571165711757118571195712057121571225712357124571255712657127571285712957130571315713257133571345713557136571375713857139571405714157142571435714457145571465714757148571495715057151571525715357154571555715657157571585715957160571615716257163571645716557166571675716857169571705717157172571735717457175571765717757178571795718057181571825718357184571855718657187571885718957190571915719257193571945719557196571975719857199572005720157202572035720457205572065720757208572095721057211572125721357214572155721657217572185721957220572215722257223572245722557226572275722857229572305723157232572335723457235572365723757238572395724057241572425724357244572455724657247572485724957250572515725257253572545725557256572575725857259572605726157262572635726457265572665726757268572695727057271572725727357274572755727657277572785727957280572815728257283572845728557286572875728857289572905729157292572935729457295572965729757298572995730057301573025730357304573055730657307573085730957310573115731257313573145731557316573175731857319573205732157322573235732457325573265732757328573295733057331573325733357334573355733657337573385733957340573415734257343573445734557346573475734857349573505735157352573535735457355573565735757358573595736057361573625736357364573655736657367573685736957370573715737257373573745737557376573775737857379573805738157382573835738457385573865738757388573895739057391573925739357394573955739657397573985739957400574015740257403574045740557406574075740857409574105741157412574135741457415574165741757418574195742057421574225742357424574255742657427574285742957430574315743257433574345743557436574375743857439574405744157442574435744457445574465744757448574495745057451574525745357454574555745657457574585745957460574615746257463574645746557466574675746857469574705747157472574735747457475574765747757478574795748057481574825748357484574855748657487574885748957490574915749257493574945749557496574975749857499575005750157502575035750457505575065750757508575095751057511575125751357514575155751657517575185751957520575215752257523575245752557526575275752857529575305753157532575335753457535575365753757538575395754057541575425754357544575455754657547575485754957550575515755257553575545755557556575575755857559575605756157562575635756457565575665756757568575695757057571575725757357574575755757657577575785757957580575815758257583575845758557586575875758857589575905759157592575935759457595575965759757598575995760057601576025760357604576055760657607576085760957610576115761257613576145761557616576175761857619576205762157622576235762457625576265762757628576295763057631576325763357634576355763657637576385763957640576415764257643576445764557646576475764857649576505765157652576535765457655576565765757658576595766057661576625766357664576655766657667576685766957670576715767257673576745767557676576775767857679576805768157682576835768457685576865768757688576895769057691576925769357694576955769657697576985769957700577015770257703577045770557706577075770857709577105771157712577135771457715577165771757718577195772057721577225772357724577255772657727577285772957730577315773257733577345773557736577375773857739577405774157742577435774457745577465774757748577495775057751577525775357754577555775657757577585775957760577615776257763577645776557766577675776857769577705777157772577735777457775577765777757778577795778057781577825778357784577855778657787577885778957790577915779257793577945779557796577975779857799578005780157802578035780457805578065780757808578095781057811578125781357814578155781657817578185781957820578215782257823578245782557826578275782857829578305783157832578335783457835578365783757838578395784057841578425784357844578455784657847578485784957850578515785257853578545785557856578575785857859578605786157862578635786457865578665786757868578695787057871578725787357874578755787657877578785787957880578815788257883578845788557886578875788857889578905789157892578935789457895578965789757898578995790057901579025790357904579055790657907579085790957910579115791257913579145791557916579175791857919579205792157922579235792457925579265792757928579295793057931579325793357934579355793657937579385793957940579415794257943579445794557946579475794857949579505795157952579535795457955579565795757958579595796057961579625796357964579655796657967579685796957970579715797257973579745797557976579775797857979579805798157982579835798457985579865798757988579895799057991579925799357994579955799657997579985799958000580015800258003580045800558006580075800858009580105801158012580135801458015580165801758018580195802058021580225802358024580255802658027580285802958030580315803258033580345803558036580375803858039580405804158042580435804458045580465804758048580495805058051580525805358054580555805658057580585805958060580615806258063580645806558066580675806858069580705807158072580735807458075580765807758078580795808058081580825808358084580855808658087580885808958090580915809258093580945809558096580975809858099581005810158102581035810458105581065810758108581095811058111581125811358114581155811658117581185811958120581215812258123581245812558126581275812858129581305813158132581335813458135581365813758138581395814058141581425814358144581455814658147581485814958150581515815258153581545815558156581575815858159581605816158162581635816458165581665816758168581695817058171581725817358174581755817658177581785817958180581815818258183581845818558186581875818858189581905819158192581935819458195581965819758198581995820058201582025820358204582055820658207582085820958210582115821258213582145821558216582175821858219582205822158222582235822458225582265822758228582295823058231582325823358234582355823658237582385823958240582415824258243582445824558246582475824858249582505825158252582535825458255582565825758258582595826058261582625826358264582655826658267582685826958270582715827258273582745827558276582775827858279582805828158282582835828458285582865828758288582895829058291582925829358294582955829658297582985829958300583015830258303583045830558306583075830858309583105831158312583135831458315583165831758318583195832058321583225832358324583255832658327583285832958330583315833258333583345833558336583375833858339583405834158342583435834458345583465834758348583495835058351583525835358354583555835658357583585835958360583615836258363583645836558366583675836858369583705837158372583735837458375583765837758378583795838058381583825838358384583855838658387583885838958390583915839258393583945839558396583975839858399584005840158402584035840458405584065840758408584095841058411584125841358414584155841658417584185841958420584215842258423584245842558426584275842858429584305843158432584335843458435584365843758438584395844058441584425844358444584455844658447584485844958450584515845258453584545845558456584575845858459584605846158462584635846458465584665846758468584695847058471584725847358474584755847658477584785847958480584815848258483584845848558486584875848858489584905849158492584935849458495584965849758498584995850058501585025850358504585055850658507585085850958510585115851258513585145851558516585175851858519585205852158522585235852458525585265852758528585295853058531585325853358534585355853658537585385853958540585415854258543585445854558546585475854858549585505855158552585535855458555585565855758558585595856058561585625856358564585655856658567585685856958570585715857258573585745857558576585775857858579585805858158582585835858458585585865858758588585895859058591585925859358594585955859658597585985859958600586015860258603586045860558606586075860858609586105861158612586135861458615586165861758618586195862058621586225862358624586255862658627586285862958630586315863258633586345863558636586375863858639586405864158642586435864458645586465864758648586495865058651586525865358654586555865658657586585865958660586615866258663586645866558666586675866858669586705867158672586735867458675586765867758678586795868058681586825868358684586855868658687586885868958690586915869258693586945869558696586975869858699587005870158702587035870458705587065870758708587095871058711587125871358714587155871658717587185871958720587215872258723587245872558726587275872858729587305873158732587335873458735587365873758738587395874058741587425874358744587455874658747587485874958750587515875258753587545875558756587575875858759587605876158762587635876458765587665876758768587695877058771587725877358774587755877658777587785877958780587815878258783587845878558786587875878858789587905879158792587935879458795587965879758798587995880058801588025880358804588055880658807588085880958810588115881258813588145881558816588175881858819588205882158822588235882458825588265882758828588295883058831588325883358834588355883658837588385883958840588415884258843588445884558846588475884858849588505885158852588535885458855588565885758858588595886058861588625886358864588655886658867588685886958870588715887258873588745887558876588775887858879588805888158882588835888458885588865888758888588895889058891588925889358894588955889658897588985889958900589015890258903589045890558906589075890858909589105891158912589135891458915589165891758918589195892058921589225892358924589255892658927589285892958930589315893258933589345893558936589375893858939589405894158942589435894458945589465894758948589495895058951589525895358954589555895658957589585895958960589615896258963589645896558966589675896858969589705897158972589735897458975589765897758978589795898058981589825898358984589855898658987589885898958990589915899258993589945899558996589975899858999590005900159002590035900459005590065900759008590095901059011590125901359014590155901659017590185901959020590215902259023590245902559026590275902859029590305903159032590335903459035590365903759038590395904059041590425904359044590455904659047590485904959050590515905259053590545905559056590575905859059590605906159062590635906459065590665906759068590695907059071590725907359074590755907659077590785907959080590815908259083590845908559086590875908859089590905909159092590935909459095590965909759098590995910059101591025910359104591055910659107591085910959110591115911259113591145911559116591175911859119591205912159122591235912459125591265912759128591295913059131591325913359134591355913659137591385913959140591415914259143591445914559146591475914859149591505915159152591535915459155591565915759158591595916059161591625916359164591655916659167591685916959170591715917259173591745917559176591775917859179591805918159182591835918459185591865918759188591895919059191591925919359194591955919659197591985919959200592015920259203592045920559206592075920859209592105921159212592135921459215592165921759218592195922059221592225922359224592255922659227592285922959230592315923259233592345923559236592375923859239592405924159242592435924459245592465924759248592495925059251592525925359254592555925659257592585925959260592615926259263592645926559266592675926859269592705927159272592735927459275592765927759278592795928059281592825928359284592855928659287592885928959290592915929259293592945929559296592975929859299593005930159302593035930459305593065930759308593095931059311593125931359314593155931659317593185931959320593215932259323593245932559326593275932859329593305933159332593335933459335593365933759338593395934059341593425934359344593455934659347593485934959350593515935259353593545935559356593575935859359593605936159362593635936459365593665936759368593695937059371593725937359374593755937659377593785937959380593815938259383593845938559386593875938859389593905939159392593935939459395593965939759398593995940059401594025940359404594055940659407594085940959410594115941259413594145941559416594175941859419594205942159422594235942459425594265942759428594295943059431594325943359434594355943659437594385943959440594415944259443594445944559446594475944859449594505945159452594535945459455594565945759458594595946059461594625946359464594655946659467594685946959470594715947259473594745947559476594775947859479594805948159482594835948459485594865948759488594895949059491594925949359494594955949659497594985949959500595015950259503595045950559506595075950859509595105951159512595135951459515595165951759518595195952059521595225952359524595255952659527595285952959530595315953259533595345953559536595375953859539595405954159542595435954459545595465954759548595495955059551595525955359554595555955659557595585955959560595615956259563595645956559566595675956859569595705957159572595735957459575595765957759578595795958059581595825958359584595855958659587595885958959590595915959259593595945959559596595975959859599596005960159602596035960459605596065960759608596095961059611596125961359614596155961659617596185961959620596215962259623596245962559626596275962859629596305963159632596335963459635596365963759638596395964059641596425964359644596455964659647596485964959650596515965259653596545965559656596575965859659596605966159662596635966459665596665966759668596695967059671596725967359674596755967659677596785967959680596815968259683596845968559686596875968859689596905969159692596935969459695596965969759698596995970059701597025970359704597055970659707597085970959710597115971259713597145971559716597175971859719597205972159722597235972459725597265972759728597295973059731597325973359734597355973659737597385973959740597415974259743597445974559746597475974859749597505975159752597535975459755597565975759758597595976059761597625976359764597655976659767597685976959770597715977259773597745977559776597775977859779597805978159782597835978459785597865978759788597895979059791597925979359794597955979659797597985979959800598015980259803598045980559806598075980859809598105981159812598135981459815598165981759818598195982059821598225982359824598255982659827598285982959830598315983259833598345983559836598375983859839598405984159842598435984459845598465984759848598495985059851598525985359854598555985659857598585985959860598615986259863598645986559866598675986859869598705987159872598735987459875598765987759878598795988059881598825988359884598855988659887598885988959890598915989259893598945989559896598975989859899599005990159902599035990459905599065990759908599095991059911599125991359914599155991659917599185991959920599215992259923599245992559926599275992859929599305993159932599335993459935599365993759938599395994059941599425994359944599455994659947599485994959950599515995259953599545995559956599575995859959599605996159962599635996459965599665996759968599695997059971599725997359974599755997659977599785997959980599815998259983599845998559986599875998859989599905999159992599935999459995599965999759998599996000060001600026000360004600056000660007600086000960010600116001260013600146001560016600176001860019600206002160022600236002460025600266002760028600296003060031600326003360034600356003660037600386003960040600416004260043600446004560046600476004860049600506005160052600536005460055600566005760058600596006060061600626006360064600656006660067600686006960070600716007260073600746007560076600776007860079600806008160082600836008460085600866008760088600896009060091600926009360094600956009660097600986009960100601016010260103601046010560106601076010860109601106011160112601136011460115601166011760118601196012060121601226012360124601256012660127601286012960130601316013260133601346013560136601376013860139601406014160142601436014460145601466014760148601496015060151601526015360154601556015660157601586015960160601616016260163601646016560166601676016860169601706017160172601736017460175601766017760178601796018060181601826018360184601856018660187601886018960190601916019260193601946019560196601976019860199602006020160202602036020460205602066020760208602096021060211602126021360214602156021660217602186021960220602216022260223602246022560226602276022860229602306023160232602336023460235602366023760238602396024060241602426024360244602456024660247602486024960250602516025260253602546025560256602576025860259602606026160262602636026460265602666026760268602696027060271602726027360274602756027660277602786027960280602816028260283602846028560286602876028860289602906029160292602936029460295602966029760298602996030060301603026030360304603056030660307603086030960310603116031260313603146031560316603176031860319603206032160322603236032460325603266032760328603296033060331603326033360334603356033660337603386033960340603416034260343603446034560346603476034860349603506035160352603536035460355603566035760358603596036060361603626036360364603656036660367603686036960370603716037260373603746037560376603776037860379603806038160382603836038460385603866038760388603896039060391603926039360394603956039660397603986039960400604016040260403604046040560406604076040860409604106041160412604136041460415604166041760418604196042060421604226042360424604256042660427604286042960430604316043260433604346043560436604376043860439604406044160442604436044460445604466044760448604496045060451604526045360454604556045660457604586045960460604616046260463604646046560466604676046860469604706047160472604736047460475604766047760478604796048060481604826048360484604856048660487604886048960490604916049260493604946049560496604976049860499605006050160502605036050460505605066050760508605096051060511605126051360514605156051660517605186051960520605216052260523605246052560526605276052860529605306053160532605336053460535605366053760538605396054060541605426054360544605456054660547605486054960550605516055260553605546055560556605576055860559605606056160562605636056460565605666056760568605696057060571605726057360574605756057660577605786057960580605816058260583605846058560586605876058860589605906059160592605936059460595605966059760598605996060060601606026060360604606056060660607606086060960610606116061260613606146061560616606176061860619606206062160622606236062460625606266062760628606296063060631606326063360634606356063660637606386063960640606416064260643606446064560646606476064860649606506065160652606536065460655606566065760658606596066060661606626066360664606656066660667606686066960670606716067260673606746067560676606776067860679606806068160682606836068460685606866068760688606896069060691606926069360694606956069660697606986069960700607016070260703607046070560706607076070860709607106071160712607136071460715607166071760718607196072060721607226072360724607256072660727607286072960730607316073260733607346073560736607376073860739607406074160742607436074460745607466074760748607496075060751607526075360754607556075660757607586075960760607616076260763607646076560766607676076860769607706077160772607736077460775607766077760778607796078060781607826078360784607856078660787607886078960790607916079260793607946079560796607976079860799608006080160802608036080460805608066080760808608096081060811608126081360814608156081660817608186081960820608216082260823608246082560826608276082860829608306083160832608336083460835608366083760838608396084060841608426084360844608456084660847608486084960850608516085260853608546085560856608576085860859608606086160862608636086460865608666086760868608696087060871608726087360874608756087660877608786087960880608816088260883608846088560886608876088860889608906089160892608936089460895608966089760898608996090060901609026090360904609056090660907609086090960910609116091260913609146091560916609176091860919609206092160922609236092460925609266092760928609296093060931609326093360934609356093660937609386093960940609416094260943609446094560946609476094860949609506095160952609536095460955609566095760958609596096060961609626096360964609656096660967609686096960970609716097260973609746097560976609776097860979609806098160982609836098460985609866098760988609896099060991609926099360994609956099660997609986099961000610016100261003610046100561006610076100861009610106101161012610136101461015610166101761018610196102061021610226102361024610256102661027610286102961030610316103261033610346103561036610376103861039610406104161042610436104461045610466104761048610496105061051610526105361054610556105661057610586105961060610616106261063610646106561066610676106861069610706107161072610736107461075610766107761078610796108061081610826108361084610856108661087610886108961090610916109261093610946109561096610976109861099611006110161102611036110461105611066110761108611096111061111611126111361114611156111661117611186111961120611216112261123611246112561126611276112861129611306113161132611336113461135611366113761138611396114061141611426114361144611456114661147611486114961150611516115261153611546115561156611576115861159611606116161162611636116461165611666116761168611696117061171611726117361174611756117661177611786117961180611816118261183611846118561186611876118861189611906119161192611936119461195611966119761198611996120061201612026120361204612056120661207612086120961210612116121261213612146121561216612176121861219612206122161222612236122461225612266122761228612296123061231612326123361234612356123661237612386123961240612416124261243612446124561246612476124861249612506125161252612536125461255612566125761258612596126061261612626126361264612656126661267612686126961270612716127261273612746127561276612776127861279612806128161282612836128461285612866128761288612896129061291612926129361294612956129661297612986129961300613016130261303613046130561306613076130861309613106131161312613136131461315613166131761318613196132061321613226132361324613256132661327613286132961330613316133261333613346133561336613376133861339613406134161342613436134461345613466134761348613496135061351613526135361354613556135661357613586135961360613616136261363613646136561366613676136861369613706137161372613736137461375613766137761378613796138061381613826138361384613856138661387613886138961390613916139261393613946139561396613976139861399614006140161402614036140461405614066140761408614096141061411614126141361414614156141661417614186141961420614216142261423614246142561426614276142861429614306143161432614336143461435614366143761438614396144061441614426144361444614456144661447614486144961450614516145261453614546145561456614576145861459614606146161462614636146461465614666146761468614696147061471614726147361474614756147661477614786147961480614816148261483614846148561486614876148861489614906149161492614936149461495614966149761498614996150061501615026150361504615056150661507615086150961510615116151261513615146151561516615176151861519615206152161522615236152461525615266152761528615296153061531615326153361534615356153661537615386153961540615416154261543615446154561546615476154861549615506155161552615536155461555615566155761558615596156061561615626156361564615656156661567615686156961570615716157261573615746157561576615776157861579615806158161582615836158461585615866158761588615896159061591615926159361594615956159661597615986159961600616016160261603616046160561606616076160861609616106161161612616136161461615616166161761618616196162061621616226162361624616256162661627616286162961630616316163261633616346163561636616376163861639616406164161642616436164461645616466164761648616496165061651616526165361654616556165661657616586165961660616616166261663616646166561666616676166861669616706167161672616736167461675616766167761678616796168061681616826168361684616856168661687616886168961690616916169261693616946169561696616976169861699617006170161702617036170461705617066170761708617096171061711617126171361714617156171661717617186171961720617216172261723617246172561726617276172861729617306173161732617336173461735617366173761738617396174061741617426174361744617456174661747617486174961750617516175261753617546175561756617576175861759617606176161762617636176461765617666176761768617696177061771617726177361774617756177661777617786177961780617816178261783617846178561786617876178861789617906179161792617936179461795617966179761798617996180061801618026180361804618056180661807618086180961810618116181261813618146181561816618176181861819618206182161822618236182461825618266182761828618296183061831618326183361834618356183661837618386183961840618416184261843618446184561846618476184861849618506185161852618536185461855618566185761858618596186061861618626186361864618656186661867618686186961870618716187261873618746187561876618776187861879618806188161882618836188461885618866188761888618896189061891618926189361894618956189661897618986189961900619016190261903619046190561906619076190861909619106191161912619136191461915619166191761918619196192061921619226192361924619256192661927619286192961930619316193261933619346193561936619376193861939619406194161942619436194461945619466194761948619496195061951619526195361954619556195661957619586195961960619616196261963619646196561966619676196861969619706197161972619736197461975619766197761978619796198061981619826198361984619856198661987619886198961990619916199261993619946199561996619976199861999620006200162002620036200462005620066200762008620096201062011620126201362014620156201662017620186201962020620216202262023620246202562026620276202862029620306203162032620336203462035620366203762038620396204062041620426204362044620456204662047620486204962050620516205262053620546205562056620576205862059620606206162062620636206462065620666206762068620696207062071620726207362074620756207662077620786207962080620816208262083620846208562086620876208862089620906209162092620936209462095620966209762098620996210062101621026210362104621056210662107621086210962110621116211262113621146211562116621176211862119621206212162122621236212462125621266212762128621296213062131621326213362134621356213662137621386213962140621416214262143621446214562146621476214862149621506215162152621536215462155621566215762158621596216062161621626216362164621656216662167621686216962170621716217262173621746217562176621776217862179621806218162182621836218462185621866218762188621896219062191621926219362194621956219662197621986219962200622016220262203622046220562206622076220862209622106221162212622136221462215622166221762218622196222062221622226222362224622256222662227622286222962230622316223262233622346223562236622376223862239622406224162242622436224462245622466224762248622496225062251622526225362254622556225662257622586225962260622616226262263622646226562266622676226862269622706227162272622736227462275622766227762278622796228062281622826228362284622856228662287622886228962290622916229262293622946229562296622976229862299623006230162302623036230462305623066230762308623096231062311623126231362314623156231662317623186231962320623216232262323623246232562326623276232862329623306233162332623336233462335623366233762338623396234062341623426234362344623456234662347623486234962350623516235262353623546235562356623576235862359623606236162362623636236462365623666236762368623696237062371623726237362374623756237662377623786237962380623816238262383623846238562386623876238862389623906239162392623936239462395623966239762398623996240062401624026240362404624056240662407624086240962410624116241262413624146241562416624176241862419624206242162422624236242462425624266242762428624296243062431624326243362434624356243662437624386243962440624416244262443624446244562446624476244862449624506245162452624536245462455624566245762458624596246062461624626246362464624656246662467624686246962470624716247262473624746247562476624776247862479624806248162482624836248462485624866248762488624896249062491624926249362494624956249662497624986249962500625016250262503625046250562506625076250862509625106251162512625136251462515625166251762518625196252062521625226252362524625256252662527625286252962530625316253262533625346253562536625376253862539625406254162542625436254462545625466254762548625496255062551625526255362554625556255662557625586255962560625616256262563625646256562566625676256862569625706257162572625736257462575625766257762578625796258062581625826258362584625856258662587625886258962590625916259262593625946259562596625976259862599626006260162602626036260462605626066260762608626096261062611626126261362614626156261662617626186261962620626216262262623626246262562626626276262862629626306263162632626336263462635626366263762638626396264062641626426264362644626456264662647626486264962650626516265262653626546265562656626576265862659626606266162662626636266462665626666266762668626696267062671626726267362674626756267662677626786267962680626816268262683626846268562686626876268862689626906269162692626936269462695626966269762698626996270062701627026270362704627056270662707627086270962710627116271262713627146271562716627176271862719627206272162722627236272462725627266272762728627296273062731627326273362734627356273662737627386273962740627416274262743627446274562746627476274862749627506275162752627536275462755627566275762758627596276062761627626276362764627656276662767627686276962770627716277262773627746277562776627776277862779627806278162782627836278462785627866278762788627896279062791627926279362794627956279662797627986279962800628016280262803628046280562806628076280862809628106281162812628136281462815628166281762818628196282062821628226282362824628256282662827628286282962830628316283262833628346283562836628376283862839628406284162842628436284462845628466284762848628496285062851628526285362854628556285662857628586285962860628616286262863628646286562866628676286862869628706287162872628736287462875628766287762878628796288062881628826288362884628856288662887628886288962890628916289262893628946289562896628976289862899629006290162902629036290462905629066290762908629096291062911629126291362914629156291662917629186291962920629216292262923629246292562926629276292862929629306293162932629336293462935629366293762938629396294062941629426294362944629456294662947629486294962950629516295262953629546295562956629576295862959629606296162962629636296462965629666296762968629696297062971629726297362974629756297662977629786297962980629816298262983629846298562986629876298862989629906299162992629936299462995629966299762998629996300063001630026300363004630056300663007630086300963010630116301263013630146301563016630176301863019630206302163022630236302463025630266302763028630296303063031630326303363034630356303663037630386303963040630416304263043630446304563046630476304863049630506305163052630536305463055630566305763058630596306063061630626306363064630656306663067630686306963070630716307263073630746307563076630776307863079630806308163082630836308463085630866308763088630896309063091630926309363094630956309663097630986309963100631016310263103631046310563106631076310863109631106311163112631136311463115631166311763118631196312063121631226312363124631256312663127631286312963130631316313263133631346313563136631376313863139631406314163142631436314463145631466314763148631496315063151631526315363154631556315663157631586315963160631616316263163631646316563166631676316863169631706317163172631736317463175631766317763178631796318063181631826318363184631856318663187631886318963190631916319263193631946319563196631976319863199632006320163202632036320463205632066320763208632096321063211632126321363214632156321663217632186321963220632216322263223632246322563226632276322863229632306323163232632336323463235632366323763238632396324063241632426324363244632456324663247632486324963250632516325263253632546325563256632576325863259632606326163262632636326463265632666326763268632696327063271632726327363274632756327663277632786327963280632816328263283632846328563286632876328863289632906329163292632936329463295632966329763298632996330063301633026330363304633056330663307633086330963310633116331263313633146331563316633176331863319633206332163322633236332463325633266332763328633296333063331633326333363334633356333663337633386333963340633416334263343633446334563346633476334863349633506335163352633536335463355633566335763358633596336063361633626336363364633656336663367633686336963370633716337263373633746337563376633776337863379633806338163382633836338463385633866338763388633896339063391633926339363394633956339663397633986339963400634016340263403634046340563406634076340863409634106341163412634136341463415634166341763418634196342063421634226342363424634256342663427634286342963430634316343263433634346343563436634376343863439634406344163442634436344463445634466344763448634496345063451634526345363454634556345663457634586345963460634616346263463634646346563466634676346863469634706347163472634736347463475634766347763478634796348063481634826348363484634856348663487634886348963490634916349263493634946349563496634976349863499635006350163502635036350463505635066350763508635096351063511635126351363514635156351663517635186351963520635216352263523635246352563526635276352863529635306353163532635336353463535635366353763538635396354063541635426354363544635456354663547635486354963550635516355263553635546355563556635576355863559635606356163562635636356463565635666356763568635696357063571635726357363574635756357663577635786357963580635816358263583635846358563586635876358863589635906359163592635936359463595635966359763598635996360063601636026360363604636056360663607636086360963610636116361263613636146361563616636176361863619636206362163622636236362463625636266362763628636296363063631636326363363634636356363663637636386363963640636416364263643636446364563646636476364863649636506365163652636536365463655636566365763658636596366063661636626366363664636656366663667636686366963670636716367263673636746367563676636776367863679636806368163682636836368463685636866368763688636896369063691636926369363694636956369663697636986369963700637016370263703637046370563706637076370863709637106371163712637136371463715637166371763718637196372063721637226372363724637256372663727637286372963730637316373263733637346373563736637376373863739637406374163742637436374463745637466374763748637496375063751637526375363754637556375663757637586375963760637616376263763637646376563766637676376863769637706377163772637736377463775637766377763778637796378063781637826378363784637856378663787637886378963790637916379263793637946379563796637976379863799638006380163802638036380463805638066380763808638096381063811638126381363814638156381663817638186381963820638216382263823638246382563826638276382863829638306383163832638336383463835638366383763838638396384063841638426384363844638456384663847638486384963850638516385263853638546385563856638576385863859638606386163862638636386463865638666386763868638696387063871638726387363874638756387663877638786387963880638816388263883638846388563886638876388863889638906389163892638936389463895638966389763898638996390063901639026390363904639056390663907639086390963910639116391263913639146391563916639176391863919639206392163922639236392463925639266392763928639296393063931639326393363934639356393663937639386393963940639416394263943639446394563946639476394863949639506395163952639536395463955639566395763958639596396063961639626396363964639656396663967639686396963970639716397263973639746397563976639776397863979639806398163982639836398463985639866398763988639896399063991639926399363994639956399663997639986399964000640016400264003640046400564006640076400864009640106401164012640136401464015640166401764018640196402064021640226402364024640256402664027640286402964030640316403264033640346403564036640376403864039640406404164042640436404464045640466404764048640496405064051640526405364054640556405664057640586405964060640616406264063640646406564066640676406864069640706407164072640736407464075640766407764078640796408064081640826408364084640856408664087640886408964090640916409264093640946409564096640976409864099641006410164102641036410464105641066410764108641096411064111641126411364114641156411664117641186411964120641216412264123641246412564126641276412864129641306413164132641336413464135641366413764138641396414064141641426414364144641456414664147641486414964150641516415264153641546415564156641576415864159641606416164162641636416464165641666416764168641696417064171641726417364174641756417664177641786417964180641816418264183641846418564186641876418864189641906419164192641936419464195641966419764198641996420064201642026420364204642056420664207642086420964210642116421264213642146421564216642176421864219642206422164222642236422464225642266422764228642296423064231642326423364234642356423664237642386423964240642416424264243642446424564246642476424864249642506425164252642536425464255642566425764258642596426064261642626426364264642656426664267642686426964270642716427264273642746427564276642776427864279642806428164282642836428464285642866428764288642896429064291642926429364294642956429664297642986429964300643016430264303643046430564306643076430864309643106431164312643136431464315643166431764318643196432064321643226432364324643256432664327643286432964330643316433264333643346433564336643376433864339643406434164342643436434464345643466434764348643496435064351643526435364354643556435664357643586435964360643616436264363643646436564366643676436864369643706437164372643736437464375643766437764378643796438064381643826438364384643856438664387643886438964390643916439264393643946439564396643976439864399644006440164402644036440464405644066440764408644096441064411644126441364414644156441664417644186441964420644216442264423644246442564426644276442864429644306443164432644336443464435644366443764438644396444064441644426444364444644456444664447644486444964450644516445264453644546445564456644576445864459644606446164462644636446464465644666446764468644696447064471644726447364474644756447664477644786447964480644816448264483644846448564486644876448864489644906449164492644936449464495644966449764498644996450064501645026450364504645056450664507645086450964510645116451264513645146451564516645176451864519645206452164522645236452464525645266452764528645296453064531645326453364534645356453664537645386453964540645416454264543645446454564546645476454864549645506455164552645536455464555645566455764558645596456064561645626456364564645656456664567645686456964570645716457264573645746457564576645776457864579645806458164582645836458464585645866458764588645896459064591645926459364594645956459664597645986459964600646016460264603646046460564606646076460864609646106461164612646136461464615646166461764618646196462064621646226462364624646256462664627646286462964630646316463264633646346463564636646376463864639646406464164642646436464464645646466464764648646496465064651646526465364654646556465664657646586465964660646616466264663646646466564666646676466864669646706467164672646736467464675646766467764678646796468064681646826468364684646856468664687646886468964690646916469264693646946469564696646976469864699647006470164702647036470464705647066470764708647096471064711647126471364714647156471664717647186471964720647216472264723647246472564726647276472864729647306473164732647336473464735647366473764738647396474064741647426474364744647456474664747647486474964750647516475264753647546475564756647576475864759647606476164762647636476464765647666476764768647696477064771647726477364774647756477664777647786477964780647816478264783647846478564786647876478864789647906479164792647936479464795647966479764798647996480064801648026480364804648056480664807648086480964810648116481264813648146481564816648176481864819648206482164822648236482464825648266482764828648296483064831648326483364834648356483664837648386483964840648416484264843648446484564846648476484864849648506485164852648536485464855648566485764858648596486064861648626486364864648656486664867648686486964870648716487264873648746487564876648776487864879648806488164882648836488464885648866488764888648896489064891648926489364894648956489664897648986489964900649016490264903649046490564906649076490864909649106491164912649136491464915649166491764918649196492064921649226492364924649256492664927649286492964930649316493264933649346493564936649376493864939649406494164942649436494464945649466494764948649496495064951649526495364954649556495664957649586495964960649616496264963649646496564966649676496864969649706497164972649736497464975649766497764978649796498064981649826498364984649856498664987649886498964990649916499264993649946499564996649976499864999650006500165002650036500465005650066500765008650096501065011650126501365014650156501665017650186501965020650216502265023650246502565026650276502865029650306503165032650336503465035650366503765038650396504065041650426504365044650456504665047650486504965050650516505265053650546505565056650576505865059650606506165062650636506465065650666506765068650696507065071650726507365074650756507665077650786507965080650816508265083650846508565086650876508865089650906509165092650936509465095650966509765098650996510065101651026510365104651056510665107651086510965110651116511265113651146511565116651176511865119651206512165122651236512465125651266512765128651296513065131651326513365134651356513665137651386513965140651416514265143651446514565146651476514865149651506515165152651536515465155651566515765158651596516065161651626516365164651656516665167651686516965170651716517265173651746517565176651776517865179651806518165182651836518465185651866518765188651896519065191651926519365194651956519665197651986519965200652016520265203652046520565206652076520865209652106521165212652136521465215652166521765218652196522065221652226522365224652256522665227652286522965230652316523265233652346523565236652376523865239652406524165242652436524465245652466524765248652496525065251652526525365254652556525665257652586525965260652616526265263652646526565266652676526865269652706527165272652736527465275652766527765278652796528065281652826528365284652856528665287652886528965290652916529265293652946529565296652976529865299653006530165302653036530465305653066530765308653096531065311653126531365314653156531665317653186531965320653216532265323653246532565326653276532865329653306533165332653336533465335653366533765338653396534065341653426534365344653456534665347653486534965350653516535265353653546535565356653576535865359653606536165362653636536465365653666536765368653696537065371653726537365374653756537665377653786537965380653816538265383653846538565386653876538865389653906539165392653936539465395653966539765398653996540065401654026540365404654056540665407654086540965410654116541265413654146541565416654176541865419654206542165422654236542465425654266542765428654296543065431654326543365434654356543665437654386543965440654416544265443654446544565446654476544865449654506545165452654536545465455654566545765458654596546065461654626546365464654656546665467654686546965470654716547265473654746547565476654776547865479654806548165482654836548465485654866548765488654896549065491654926549365494654956549665497654986549965500655016550265503655046550565506655076550865509655106551165512655136551465515655166551765518655196552065521655226552365524655256552665527655286552965530655316553265533655346553565536655376553865539655406554165542655436554465545655466554765548655496555065551655526555365554655556555665557655586555965560655616556265563655646556565566655676556865569655706557165572655736557465575655766557765578655796558065581655826558365584655856558665587655886558965590655916559265593655946559565596655976559865599656006560165602656036560465605656066560765608656096561065611656126561365614656156561665617656186561965620656216562265623656246562565626656276562865629656306563165632656336563465635656366563765638656396564065641656426564365644656456564665647656486564965650656516565265653656546565565656656576565865659656606566165662656636566465665656666566765668656696567065671656726567365674656756567665677656786567965680656816568265683656846568565686656876568865689656906569165692656936569465695656966569765698656996570065701657026570365704657056570665707657086570965710657116571265713657146571565716657176571865719657206572165722657236572465725657266572765728657296573065731657326573365734657356573665737657386573965740657416574265743657446574565746657476574865749657506575165752657536575465755657566575765758657596576065761657626576365764657656576665767657686576965770657716577265773657746577565776657776577865779657806578165782657836578465785657866578765788657896579065791657926579365794657956579665797657986579965800658016580265803658046580565806658076580865809658106581165812658136581465815658166581765818658196582065821658226582365824658256582665827658286582965830658316583265833658346583565836658376583865839658406584165842658436584465845658466584765848658496585065851658526585365854658556585665857658586585965860658616586265863658646586565866658676586865869658706587165872658736587465875658766587765878658796588065881658826588365884658856588665887658886588965890658916589265893658946589565896658976589865899659006590165902659036590465905659066590765908659096591065911659126591365914659156591665917659186591965920659216592265923659246592565926659276592865929659306593165932659336593465935659366593765938659396594065941659426594365944659456594665947659486594965950659516595265953659546595565956659576595865959659606596165962659636596465965659666596765968659696597065971659726597365974659756597665977659786597965980659816598265983659846598565986659876598865989659906599165992659936599465995659966599765998659996600066001660026600366004660056600666007660086600966010660116601266013660146601566016660176601866019660206602166022660236602466025660266602766028660296603066031660326603366034660356603666037660386603966040660416604266043660446604566046660476604866049660506605166052660536605466055660566605766058660596606066061660626606366064660656606666067660686606966070660716607266073660746607566076660776607866079660806608166082660836608466085660866608766088660896609066091660926609366094660956609666097660986609966100661016610266103661046610566106661076610866109661106611166112661136611466115661166611766118661196612066121661226612366124661256612666127661286612966130661316613266133661346613566136661376613866139661406614166142661436614466145661466614766148661496615066151661526615366154661556615666157661586615966160661616616266163661646616566166661676616866169661706617166172661736617466175661766617766178661796618066181661826618366184661856618666187661886618966190661916619266193661946619566196661976619866199662006620166202662036620466205662066620766208662096621066211662126621366214662156621666217662186621966220662216622266223662246622566226662276622866229662306623166232662336623466235662366623766238662396624066241662426624366244662456624666247662486624966250662516625266253662546625566256662576625866259662606626166262662636626466265662666626766268662696627066271662726627366274662756627666277662786627966280662816628266283662846628566286662876628866289662906629166292662936629466295662966629766298662996630066301663026630366304663056630666307663086630966310663116631266313663146631566316663176631866319663206632166322663236632466325663266632766328663296633066331663326633366334663356633666337663386633966340663416634266343663446634566346663476634866349663506635166352663536635466355663566635766358663596636066361663626636366364663656636666367663686636966370663716637266373663746637566376663776637866379663806638166382663836638466385663866638766388663896639066391663926639366394663956639666397663986639966400664016640266403664046640566406664076640866409664106641166412664136641466415664166641766418664196642066421664226642366424664256642666427664286642966430664316643266433664346643566436664376643866439664406644166442664436644466445664466644766448664496645066451664526645366454664556645666457664586645966460664616646266463664646646566466664676646866469664706647166472664736647466475664766647766478664796648066481664826648366484664856648666487664886648966490664916649266493664946649566496664976649866499665006650166502665036650466505665066650766508665096651066511665126651366514665156651666517665186651966520665216652266523665246652566526665276652866529665306653166532665336653466535665366653766538665396654066541665426654366544665456654666547665486654966550665516655266553665546655566556665576655866559665606656166562665636656466565665666656766568665696657066571665726657366574665756657666577665786657966580665816658266583665846658566586665876658866589665906659166592665936659466595665966659766598665996660066601666026660366604666056660666607666086660966610666116661266613666146661566616666176661866619666206662166622666236662466625666266662766628666296663066631666326663366634666356663666637666386663966640666416664266643666446664566646666476664866649666506665166652666536665466655666566665766658666596666066661666626666366664666656666666667666686666966670666716667266673666746667566676666776667866679666806668166682666836668466685666866668766688666896669066691666926669366694666956669666697666986669966700667016670266703667046670566706667076670866709667106671166712667136671466715667166671766718667196672066721667226672366724667256672666727667286672966730667316673266733667346673566736667376673866739667406674166742667436674466745667466674766748667496675066751667526675366754667556675666757667586675966760667616676266763667646676566766667676676866769667706677166772667736677466775667766677766778667796678066781667826678366784667856678666787667886678966790667916679266793667946679566796667976679866799668006680166802668036680466805668066680766808668096681066811668126681366814668156681666817668186681966820668216682266823668246682566826668276682866829668306683166832668336683466835668366683766838668396684066841668426684366844668456684666847668486684966850668516685266853668546685566856668576685866859668606686166862668636686466865668666686766868668696687066871668726687366874668756687666877668786687966880668816688266883668846688566886668876688866889668906689166892668936689466895668966689766898668996690066901669026690366904669056690666907669086690966910669116691266913669146691566916669176691866919669206692166922669236692466925669266692766928669296693066931669326693366934669356693666937669386693966940669416694266943669446694566946669476694866949669506695166952669536695466955669566695766958669596696066961669626696366964669656696666967669686696966970669716697266973669746697566976669776697866979669806698166982669836698466985669866698766988669896699066991669926699366994669956699666997669986699967000670016700267003670046700567006670076700867009670106701167012670136701467015670166701767018670196702067021670226702367024670256702667027670286702967030670316703267033670346703567036670376703867039670406704167042670436704467045670466704767048670496705067051670526705367054670556705667057670586705967060670616706267063670646706567066670676706867069670706707167072670736707467075670766707767078670796708067081670826708367084670856708667087670886708967090670916709267093670946709567096670976709867099671006710167102671036710467105671066710767108671096711067111671126711367114671156711667117671186711967120671216712267123671246712567126671276712867129671306713167132671336713467135671366713767138671396714067141671426714367144671456714667147671486714967150671516715267153671546715567156671576715867159671606716167162671636716467165671666716767168671696717067171671726717367174671756717667177671786717967180671816718267183671846718567186671876718867189671906719167192671936719467195671966719767198671996720067201672026720367204672056720667207672086720967210672116721267213672146721567216672176721867219672206722167222672236722467225672266722767228672296723067231672326723367234672356723667237672386723967240672416724267243672446724567246672476724867249672506725167252672536725467255672566725767258672596726067261672626726367264672656726667267672686726967270672716727267273672746727567276672776727867279672806728167282672836728467285672866728767288672896729067291672926729367294672956729667297672986729967300673016730267303673046730567306673076730867309673106731167312673136731467315673166731767318673196732067321673226732367324673256732667327673286732967330673316733267333673346733567336673376733867339673406734167342673436734467345673466734767348673496735067351673526735367354673556735667357673586735967360673616736267363673646736567366673676736867369673706737167372673736737467375673766737767378673796738067381673826738367384673856738667387673886738967390673916739267393673946739567396673976739867399674006740167402674036740467405674066740767408674096741067411674126741367414674156741667417674186741967420674216742267423674246742567426674276742867429674306743167432674336743467435674366743767438674396744067441674426744367444674456744667447674486744967450674516745267453674546745567456674576745867459674606746167462674636746467465674666746767468674696747067471674726747367474674756747667477674786747967480674816748267483674846748567486674876748867489674906749167492674936749467495674966749767498674996750067501675026750367504675056750667507675086750967510675116751267513675146751567516675176751867519675206752167522675236752467525675266752767528675296753067531675326753367534675356753667537675386753967540675416754267543675446754567546675476754867549675506755167552675536755467555675566755767558675596756067561675626756367564675656756667567675686756967570675716757267573675746757567576675776757867579675806758167582675836758467585675866758767588675896759067591675926759367594675956759667597675986759967600676016760267603676046760567606676076760867609676106761167612676136761467615676166761767618676196762067621676226762367624676256762667627676286762967630676316763267633676346763567636676376763867639676406764167642676436764467645676466764767648676496765067651676526765367654676556765667657676586765967660676616766267663676646766567666676676766867669676706767167672676736767467675676766767767678676796768067681676826768367684676856768667687676886768967690676916769267693676946769567696676976769867699677006770167702677036770467705677066770767708677096771067711677126771367714677156771667717677186771967720677216772267723677246772567726677276772867729677306773167732677336773467735677366773767738677396774067741677426774367744677456774667747677486774967750677516775267753677546775567756677576775867759677606776167762677636776467765677666776767768677696777067771677726777367774677756777667777677786777967780677816778267783677846778567786677876778867789677906779167792677936779467795677966779767798677996780067801678026780367804678056780667807678086780967810678116781267813678146781567816678176781867819678206782167822678236782467825678266782767828678296783067831678326783367834678356783667837678386783967840678416784267843678446784567846678476784867849678506785167852678536785467855678566785767858678596786067861678626786367864678656786667867678686786967870678716787267873678746787567876678776787867879678806788167882678836788467885678866788767888678896789067891678926789367894678956789667897678986789967900679016790267903679046790567906679076790867909679106791167912679136791467915679166791767918679196792067921679226792367924679256792667927679286792967930679316793267933679346793567936679376793867939679406794167942679436794467945679466794767948679496795067951679526795367954679556795667957679586795967960679616796267963679646796567966679676796867969679706797167972679736797467975679766797767978679796798067981679826798367984679856798667987679886798967990679916799267993679946799567996679976799867999680006800168002680036800468005680066800768008680096801068011680126801368014680156801668017680186801968020680216802268023680246802568026680276802868029680306803168032680336803468035680366803768038680396804068041680426804368044680456804668047680486804968050680516805268053680546805568056680576805868059680606806168062680636806468065680666806768068680696807068071680726807368074680756807668077680786807968080680816808268083680846808568086680876808868089680906809168092680936809468095680966809768098680996810068101681026810368104681056810668107681086810968110681116811268113681146811568116681176811868119681206812168122681236812468125681266812768128681296813068131681326813368134681356813668137681386813968140681416814268143681446814568146681476814868149681506815168152681536815468155681566815768158681596816068161681626816368164681656816668167681686816968170681716817268173681746817568176681776817868179681806818168182681836818468185681866818768188681896819068191681926819368194681956819668197681986819968200682016820268203682046820568206682076820868209682106821168212682136821468215682166821768218682196822068221682226822368224682256822668227682286822968230682316823268233682346823568236682376823868239682406824168242682436824468245682466824768248682496825068251682526825368254682556825668257
  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: 2022-02-15 15:18+0000\n"
  11. "PO-Revision-Date: 2021-07-15 22:27+0000\n"
  12. "Last-Translator: Danial Behzadi <dani.behzi@ubuntu.com>\n"
  13. "Language-Team: Persian <https://translate.fedoraproject.org/projects/guix/documentation-manual/fa/>\n"
  14. "Language: fa\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. "Plural-Forms: nplurals=2; plural=n > 1;\n"
  19. "X-Generator: Weblate 4.7.1\n"
  20. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  21. #. type: chapter
  22. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  23. #. type: menuentry
  24. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  25. #: guix-git/doc/guix.texi:182
  26. #, no-wrap
  27. msgid "Contributing"
  28. msgstr ""
  29. #. type: Plain text
  30. #: guix-git/doc/contributing.texi:9
  31. msgid "This project is a cooperative effort, and we need your help to make it grow! Please get in touch with us on @email{guix-devel@@gnu.org} and @code{#guix} on the Libera Chat IRC network. We welcome ideas, bug reports, patches, and anything that may be helpful to the project. We particularly welcome help on packaging (@pxref{Packaging Guidelines})."
  32. msgstr ""
  33. #. type: cindex
  34. #: guix-git/doc/contributing.texi:10
  35. #, no-wrap
  36. msgid "code of conduct, of contributors"
  37. msgstr ""
  38. #. type: cindex
  39. #: guix-git/doc/contributing.texi:11
  40. #, no-wrap
  41. msgid "contributor covenant"
  42. msgstr ""
  43. #. type: Plain text
  44. #: guix-git/doc/contributing.texi:17
  45. msgid "We want to provide a warm, friendly, and harassment-free environment, so that anyone can contribute to the best of their abilities. To this end our project uses a ``Contributor Covenant'', which was adapted from @url{https://contributor-covenant.org/}. You can find a local version in the @file{CODE-OF-CONDUCT} file in the source tree."
  46. msgstr ""
  47. #. type: Plain text
  48. #: guix-git/doc/contributing.texi:21
  49. msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice."
  50. msgstr ""
  51. #. type: section
  52. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:35
  53. #: guix-git/doc/contributing.texi:36
  54. #, no-wrap
  55. msgid "Building from Git"
  56. msgstr ""
  57. #. type: menuentry
  58. #: guix-git/doc/contributing.texi:33
  59. msgid "The latest and greatest."
  60. msgstr ""
  61. #. type: section
  62. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:192
  63. #: guix-git/doc/contributing.texi:193
  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:284
  73. #: guix-git/doc/contributing.texi:285
  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:375
  83. #: guix-git/doc/contributing.texi:376
  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:939
  93. #: guix-git/doc/contributing.texi:940
  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:1032
  103. #: guix-git/doc/contributing.texi:1033
  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:1317
  113. #: guix-git/doc/contributing.texi:1318
  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:1432
  123. #: guix-git/doc/contributing.texi:1433
  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:1663
  133. #: guix-git/doc/contributing.texi:1664
  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:1704
  143. #: guix-git/doc/contributing.texi:1705
  144. #, no-wrap
  145. msgid "Translating Guix"
  146. msgstr ""
  147. #. type: menuentry
  148. #: guix-git/doc/contributing.texi:33
  149. msgid "Make Guix speak your native language."
  150. msgstr ""
  151. #. type: Plain text
  152. #: guix-git/doc/contributing.texi:40
  153. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  154. msgstr ""
  155. #. type: example
  156. #: guix-git/doc/contributing.texi:43
  157. #, no-wrap
  158. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  159. msgstr ""
  160. #. type: cindex
  161. #: guix-git/doc/contributing.texi:45
  162. #, no-wrap
  163. msgid "authentication, of a Guix checkout"
  164. msgstr ""
  165. #. type: Plain text
  166. #: guix-git/doc/contributing.texi:50
  167. msgid "How do you ensure that you obtained a genuine copy of the repository? To do that, run @command{guix git authenticate}, passing it the commit and OpenPGP fingerprint of the @dfn{channel introduction} (@pxref{Invoking guix git authenticate}):"
  168. msgstr ""
  169. #. type: example
  170. #: guix-git/doc/contributing.texi:57
  171. #, no-wrap
  172. msgid ""
  173. "git fetch origin keyring:keyring\n"
  174. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  175. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  176. msgstr ""
  177. #. type: Plain text
  178. #: guix-git/doc/contributing.texi:62
  179. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  180. msgstr ""
  181. #. type: Plain text
  182. #: guix-git/doc/contributing.texi:69
  183. msgid "As you can see, there is a chicken-and-egg problem: you first need to have Guix installed. Typically you would install Guix System (@pxref{System Installation}) or Guix on top of another distro (@pxref{Binary Installation}); in either case, you would verify the OpenPGP signature on the installation medium. This ``bootstraps'' the trust chain."
  184. msgstr ""
  185. #. type: Plain text
  186. #: guix-git/doc/contributing.texi:74
  187. msgid "The easiest way to set up a development environment for Guix is, of course, by using Guix! The following command starts a new shell where all the dependencies and appropriate environment variables are set up to hack on Guix:"
  188. msgstr ""
  189. #. type: example
  190. #: guix-git/doc/contributing.texi:77
  191. #, no-wrap
  192. msgid "guix shell -D guix --pure\n"
  193. msgstr ""
  194. #. type: Plain text
  195. #: guix-git/doc/contributing.texi:80
  196. msgid "@xref{Invoking guix shell}, for more information on that command."
  197. msgstr ""
  198. #. type: Plain text
  199. #: guix-git/doc/contributing.texi:84
  200. msgid "If you are unable to use Guix when building Guix from a checkout, the following are the required packages in addition to those mentioned in the installation instructions (@pxref{Requirements})."
  201. msgstr ""
  202. #. type: item
  203. #: guix-git/doc/contributing.texi:86
  204. #, no-wrap
  205. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  206. msgstr ""
  207. #. type: item
  208. #: guix-git/doc/contributing.texi:87
  209. #, no-wrap
  210. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  211. msgstr ""
  212. #. type: item
  213. #: guix-git/doc/contributing.texi:88
  214. #, no-wrap
  215. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  216. msgstr ""
  217. #. type: item
  218. #: guix-git/doc/contributing.texi:89
  219. #, no-wrap
  220. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  221. msgstr ""
  222. #. type: item
  223. #: guix-git/doc/contributing.texi:90
  224. #, no-wrap
  225. msgid "@url{https://www.graphviz.org/, Graphviz};"
  226. msgstr ""
  227. #. type: item
  228. #: guix-git/doc/contributing.texi:91
  229. #, no-wrap
  230. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  231. msgstr ""
  232. #. type: Plain text
  233. #: guix-git/doc/contributing.texi:96
  234. msgid "On Guix, extra dependencies can be added by instead running @command{guix shell}:"
  235. msgstr ""
  236. #. type: example
  237. #: guix-git/doc/contributing.texi:99
  238. #, no-wrap
  239. msgid "guix shell -D guix help2man git strace --pure\n"
  240. msgstr ""
  241. #. type: Plain text
  242. #: guix-git/doc/contributing.texi:103
  243. msgid "From there you can generate the build system infrastructure using Autoconf and Automake:"
  244. msgstr ""
  245. #. type: example
  246. #: guix-git/doc/contributing.texi:106
  247. #, no-wrap
  248. msgid "./bootstrap\n"
  249. msgstr ""
  250. #. type: Plain text
  251. #: guix-git/doc/contributing.texi:109
  252. msgid "If you get an error like this one:"
  253. msgstr ""
  254. #. type: example
  255. #: guix-git/doc/contributing.texi:112
  256. #, no-wrap
  257. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  258. msgstr ""
  259. #. type: Plain text
  260. #: guix-git/doc/contributing.texi:121
  261. 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:"
  262. msgstr ""
  263. #. type: example
  264. #: guix-git/doc/contributing.texi:124
  265. #, no-wrap
  266. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  267. msgstr ""
  268. #. type: Plain text
  269. #: guix-git/doc/contributing.texi:128
  270. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  271. msgstr ""
  272. #. type: Plain text
  273. #: guix-git/doc/contributing.texi:130
  274. msgid "Then, run:"
  275. msgstr ""
  276. #. type: example
  277. #: guix-git/doc/contributing.texi:133
  278. #, no-wrap
  279. msgid "./configure --localstatedir=/var\n"
  280. msgstr ""
  281. #. type: Plain text
  282. #: guix-git/doc/contributing.texi:140
  283. msgid "... where @file{/var} is the normal @code{localstatedir} value (@pxref{The Store}, for information about this). Note that you will probably not run @command{make install} at the end (you don't have to) but it's still important to pass the right @code{localstatedir}."
  284. msgstr ""
  285. #. type: Plain text
  286. #: guix-git/doc/contributing.texi:143
  287. msgid "Finally, you can build Guix and, if you feel so inclined, run the tests (@pxref{Running the Test Suite}):"
  288. msgstr ""
  289. #. type: example
  290. #: guix-git/doc/contributing.texi:147
  291. #, no-wrap
  292. msgid ""
  293. "make\n"
  294. "make check\n"
  295. msgstr ""
  296. #. type: Plain text
  297. #: guix-git/doc/contributing.texi:153
  298. msgid "If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  299. msgstr ""
  300. #. type: Plain text
  301. #: guix-git/doc/contributing.texi:156
  302. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  303. msgstr ""
  304. #. type: example
  305. #: guix-git/doc/contributing.texi:159
  306. #, no-wrap
  307. msgid "make authenticate\n"
  308. msgstr ""
  309. #. type: Plain text
  310. #: guix-git/doc/contributing.texi:162
  311. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  312. msgstr ""
  313. #. type: Plain text
  314. #: guix-git/doc/contributing.texi:168
  315. 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:"
  316. msgstr ""
  317. #. type: example
  318. #: guix-git/doc/contributing.texi:171
  319. #, no-wrap
  320. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  321. msgstr ""
  322. #. type: quotation
  323. #: guix-git/doc/contributing.texi:173 guix-git/doc/contributing.texi:1515
  324. #: guix-git/doc/guix.texi:605 guix-git/doc/guix.texi:654
  325. #: guix-git/doc/guix.texi:844 guix-git/doc/guix.texi:1830
  326. #: guix-git/doc/guix.texi:2093 guix-git/doc/guix.texi:2277
  327. #: guix-git/doc/guix.texi:2498 guix-git/doc/guix.texi:2710
  328. #: guix-git/doc/guix.texi:3841 guix-git/doc/guix.texi:4586
  329. #: guix-git/doc/guix.texi:4600 guix-git/doc/guix.texi:4682
  330. #: guix-git/doc/guix.texi:4912 guix-git/doc/guix.texi:5655
  331. #: guix-git/doc/guix.texi:6141 guix-git/doc/guix.texi:6398
  332. #: guix-git/doc/guix.texi:6519 guix-git/doc/guix.texi:6547
  333. #: guix-git/doc/guix.texi:6600 guix-git/doc/guix.texi:9685
  334. #: guix-git/doc/guix.texi:9809 guix-git/doc/guix.texi:9879
  335. #: guix-git/doc/guix.texi:11616 guix-git/doc/guix.texi:11656
  336. #: guix-git/doc/guix.texi:11930 guix-git/doc/guix.texi:11942
  337. #: guix-git/doc/guix.texi:14461 guix-git/doc/guix.texi:15092
  338. #: guix-git/doc/guix.texi:15999 guix-git/doc/guix.texi:16989
  339. #: guix-git/doc/guix.texi:19627 guix-git/doc/guix.texi:19797
  340. #: guix-git/doc/guix.texi:27621 guix-git/doc/guix.texi:31379
  341. #: guix-git/doc/guix.texi:35222 guix-git/doc/guix.texi:35456
  342. #: guix-git/doc/guix.texi:35626 guix-git/doc/guix.texi:35790
  343. #: guix-git/doc/guix.texi:35892 guix-git/doc/guix.texi:35931
  344. #: guix-git/doc/guix.texi:36005 guix-git/doc/guix.texi:36342
  345. #: guix-git/doc/guix.texi:37500 guix-git/doc/guix.texi:37575
  346. #: guix-git/doc/guix.texi:37610 guix-git/doc/guix.texi:37660
  347. #: guix-git/doc/guix.texi:37748 guix-git/doc/guix.texi:38237
  348. #, no-wrap
  349. msgid "Note"
  350. msgstr ""
  351. #. type: quotation
  352. #: guix-git/doc/contributing.texi:177
  353. 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."
  354. msgstr ""
  355. #. type: Plain text
  356. #: guix-git/doc/contributing.texi:181
  357. msgid "After updating the repository, @command{make} might fail with an error similar to the following example:"
  358. msgstr ""
  359. #. type: example
  360. #: guix-git/doc/contributing.texi:185
  361. #, no-wrap
  362. msgid ""
  363. "error: failed to load 'gnu/packages/dunst.scm':\n"
  364. "ice-9/eval.scm:293:34: In procedure abi-check: #<record-type <origin>>: record ABI mismatch; recompilation needed\n"
  365. msgstr ""
  366. #. type: Plain text
  367. #: guix-git/doc/contributing.texi:191
  368. msgid "This means that one of the record types that Guix defines (in this example, the @code{origin} record) has changed, and all of guix needs to be recompiled to take that change into account. To do so, run @command{make clean-go} followed by @command{make}."
  369. msgstr ""
  370. #. type: Plain text
  371. #: guix-git/doc/contributing.texi:199
  372. 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."
  373. msgstr ""
  374. #. type: Plain text
  375. #: guix-git/doc/contributing.texi:210
  376. 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):"
  377. msgstr ""
  378. #. type: example
  379. #: guix-git/doc/contributing.texi:213
  380. #, no-wrap
  381. msgid "$ ./pre-inst-env guix build hello\n"
  382. msgstr ""
  383. #. type: Plain text
  384. #: guix-git/doc/contributing.texi:217
  385. msgid "Similarly, an example for a Guile session using the Guix modules:"
  386. msgstr ""
  387. #. type: example
  388. #: guix-git/doc/contributing.texi:220
  389. #, no-wrap
  390. msgid ""
  391. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  392. "\n"
  393. msgstr ""
  394. #. type: example
  395. #: guix-git/doc/contributing.texi:222
  396. #, no-wrap
  397. msgid ";;; (\"x86_64-linux\")\n"
  398. msgstr ""
  399. #. type: cindex
  400. #: guix-git/doc/contributing.texi:225
  401. #, no-wrap
  402. msgid "REPL"
  403. msgstr ""
  404. #. type: cindex
  405. #: guix-git/doc/contributing.texi:226
  406. #, no-wrap
  407. msgid "read-eval-print loop"
  408. msgstr ""
  409. #. type: Plain text
  410. #: guix-git/doc/contributing.texi:229
  411. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  412. msgstr ""
  413. #. type: example
  414. #: guix-git/doc/contributing.texi:244
  415. #, no-wrap
  416. msgid ""
  417. "$ ./pre-inst-env guile\n"
  418. "scheme@@(guile-user)> ,use(guix)\n"
  419. "scheme@@(guile-user)> ,use(gnu)\n"
  420. "scheme@@(guile-user)> (define snakes\n"
  421. " (fold-packages\n"
  422. " (lambda (package lst)\n"
  423. " (if (string-prefix? \"python\"\n"
  424. " (package-name package))\n"
  425. " (cons package lst)\n"
  426. " lst))\n"
  427. " '()))\n"
  428. "scheme@@(guile-user)> (length snakes)\n"
  429. "$1 = 361\n"
  430. msgstr ""
  431. #. type: Plain text
  432. #: guix-git/doc/contributing.texi:252
  433. 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.}:"
  434. msgstr ""
  435. #. type: example
  436. #: guix-git/doc/contributing.texi:255
  437. #, no-wrap
  438. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  439. msgstr ""
  440. #. type: Plain text
  441. #: guix-git/doc/contributing.texi:259
  442. 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}."
  443. msgstr ""
  444. #. type: Plain text
  445. #: guix-git/doc/contributing.texi:264
  446. 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."
  447. msgstr ""
  448. #. type: Plain text
  449. #: guix-git/doc/contributing.texi:268
  450. msgid "Sometimes, especially if you have recently updated your repository, running @command{./pre-inst-env} will print a message similar to the following example:"
  451. msgstr ""
  452. #. type: example
  453. #: guix-git/doc/contributing.texi:272
  454. #, no-wrap
  455. msgid ""
  456. ";;; note: source file /home/user/projects/guix/guix/progress.scm\n"
  457. ";;; newer than compiled /home/user/projects/guix/guix/progress.go\n"
  458. msgstr ""
  459. #. type: Plain text
  460. #: guix-git/doc/contributing.texi:278
  461. msgid "This is only a note and you can safely ignore it. You can get rid of the message by running @command{make -j4}. Until you do, Guile will run slightly slower because it will interpret the code instead of using prepared Guile object (@file{.go}) files."
  462. msgstr ""
  463. #. type: Plain text
  464. #: guix-git/doc/contributing.texi:283
  465. msgid "You can run @command{make} automatically as you work using @command{watchexec} from the @code{watchexec} package. For example, to build again each time you update a package file, you can run @samp{watchexec -w gnu/packages make -j4}."
  466. msgstr ""
  467. #. type: Plain text
  468. #: guix-git/doc/contributing.texi:292
  469. 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:"
  470. msgstr ""
  471. #. type: example
  472. #: guix-git/doc/contributing.texi:295
  473. #, no-wrap
  474. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  475. msgstr ""
  476. #. type: Plain text
  477. #: guix-git/doc/contributing.texi:304
  478. 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:"
  479. msgstr ""
  480. #. type: lisp
  481. #: guix-git/doc/contributing.texi:309
  482. #, no-wrap
  483. msgid ""
  484. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  485. "(with-eval-after-load 'geiser-guile\n"
  486. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  487. msgstr ""
  488. #. type: Plain text
  489. #: guix-git/doc/contributing.texi:317
  490. 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."
  491. msgstr ""
  492. #. type: cindex
  493. #: guix-git/doc/contributing.texi:318
  494. #, no-wrap
  495. msgid "code snippets"
  496. msgstr ""
  497. #. type: cindex
  498. #: guix-git/doc/contributing.texi:319
  499. #, no-wrap
  500. msgid "templates"
  501. msgstr ""
  502. #. type: cindex
  503. #: guix-git/doc/contributing.texi:320
  504. #, no-wrap
  505. msgid "reducing boilerplate"
  506. msgstr ""
  507. #. type: Plain text
  508. #: guix-git/doc/contributing.texi:327
  509. 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."
  510. msgstr ""
  511. #. type: lisp
  512. #: guix-git/doc/contributing.texi:332
  513. #, no-wrap
  514. msgid ""
  515. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  516. "(with-eval-after-load 'yasnippet\n"
  517. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  518. msgstr ""
  519. #. type: Plain text
  520. #: guix-git/doc/contributing.texi:340
  521. 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."
  522. msgstr ""
  523. #. type: Plain text
  524. #: guix-git/doc/contributing.texi:346
  525. 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."
  526. msgstr ""
  527. #. type: cindex
  528. #: guix-git/doc/contributing.texi:347
  529. #, no-wrap
  530. msgid "insert or update copyright"
  531. msgstr ""
  532. #. type: code{#1}
  533. #: guix-git/doc/contributing.texi:348
  534. #, no-wrap
  535. msgid "M-x guix-copyright"
  536. msgstr ""
  537. #. type: code{#1}
  538. #: guix-git/doc/contributing.texi:349
  539. #, no-wrap
  540. msgid "M-x copyright-update"
  541. msgstr ""
  542. #. type: Plain text
  543. #: guix-git/doc/contributing.texi:353
  544. 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."
  545. msgstr ""
  546. #. type: lisp
  547. #: guix-git/doc/contributing.texi:359
  548. #, no-wrap
  549. msgid ""
  550. "(setq user-full-name \"Alice Doe\")\n"
  551. "(setq user-mail-address \"alice@@mail.org\")\n"
  552. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  553. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  554. msgstr ""
  555. #. type: Plain text
  556. #: guix-git/doc/contributing.texi:362
  557. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  558. msgstr ""
  559. #. type: Plain text
  560. #: guix-git/doc/contributing.texi:364
  561. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  562. msgstr ""
  563. #. type: lisp
  564. #: guix-git/doc/contributing.texi:368
  565. #, no-wrap
  566. msgid ""
  567. "(setq copyright-names-regexp\n"
  568. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  569. msgstr ""
  570. #. type: Plain text
  571. #: guix-git/doc/contributing.texi:374
  572. 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."
  573. msgstr ""
  574. #. type: cindex
  575. #: guix-git/doc/contributing.texi:378
  576. #, no-wrap
  577. msgid "packages, creating"
  578. msgstr ""
  579. #. type: Plain text
  580. #: guix-git/doc/contributing.texi:382
  581. 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."
  582. msgstr ""
  583. #. type: Plain text
  584. #: guix-git/doc/contributing.texi:390
  585. 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."
  586. msgstr ""
  587. #. type: Plain text
  588. #: guix-git/doc/contributing.texi:399
  589. 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}."
  590. msgstr ""
  591. #. type: Plain text
  592. #: guix-git/doc/contributing.texi:405
  593. 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}):"
  594. msgstr ""
  595. #. type: example
  596. #: guix-git/doc/contributing.texi:408
  597. #, no-wrap
  598. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  599. msgstr ""
  600. #. type: Plain text
  601. #: guix-git/doc/contributing.texi:414
  602. 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."
  603. msgstr ""
  604. #. type: Plain text
  605. #: guix-git/doc/contributing.texi:419
  606. 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:"
  607. msgstr ""
  608. #. type: example
  609. #: guix-git/doc/contributing.texi:422
  610. #, no-wrap
  611. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  612. msgstr ""
  613. #. type: Plain text
  614. #: guix-git/doc/contributing.texi:429
  615. 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}."
  616. msgstr ""
  617. #. type: cindex
  618. #: guix-git/doc/contributing.texi:430
  619. #, no-wrap
  620. msgid "substituter"
  621. msgstr ""
  622. #. type: Plain text
  623. #: guix-git/doc/contributing.texi:437
  624. 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."
  625. msgstr ""
  626. #. type: subsection
  627. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:453
  628. #: guix-git/doc/contributing.texi:454
  629. #, no-wrap
  630. msgid "Software Freedom"
  631. msgstr "آزادی نرم‌افزار"
  632. #. type: menuentry
  633. #: guix-git/doc/contributing.texi:451
  634. msgid "What may go into the distribution."
  635. msgstr ""
  636. #. type: subsection
  637. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:481
  638. #: guix-git/doc/contributing.texi:482
  639. #, no-wrap
  640. msgid "Package Naming"
  641. msgstr ""
  642. #. type: menuentry
  643. #: guix-git/doc/contributing.texi:451
  644. msgid "What's in a name?"
  645. msgstr ""
  646. #. type: subsection
  647. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:514
  648. #: guix-git/doc/contributing.texi:515
  649. #, no-wrap
  650. msgid "Version Numbers"
  651. msgstr ""
  652. #. type: menuentry
  653. #: guix-git/doc/contributing.texi:451
  654. msgid "When the name is not enough."
  655. msgstr ""
  656. #. type: subsection
  657. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:621
  658. #: guix-git/doc/contributing.texi:622
  659. #, no-wrap
  660. msgid "Synopses and Descriptions"
  661. msgstr ""
  662. #. type: menuentry
  663. #: guix-git/doc/contributing.texi:451
  664. msgid "Helping users find the right package."
  665. msgstr ""
  666. #. type: subsection
  667. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:700
  668. #: guix-git/doc/contributing.texi:701
  669. #, no-wrap
  670. msgid "Snippets versus Phases"
  671. msgstr ""
  672. #. type: menuentry
  673. #: guix-git/doc/contributing.texi:451
  674. msgid "Whether to use a snippet, or a build phase."
  675. msgstr ""
  676. #. type: subsection
  677. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:715
  678. #: guix-git/doc/contributing.texi:716 guix-git/doc/guix.texi:2028
  679. #, no-wrap
  680. msgid "Emacs Packages"
  681. msgstr "بسته‌های ای‌مکس"
  682. #. type: menuentry
  683. #: guix-git/doc/contributing.texi:451
  684. msgid "Your Elisp fix."
  685. msgstr ""
  686. #. type: subsection
  687. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:755
  688. #: guix-git/doc/contributing.texi:756
  689. #, no-wrap
  690. msgid "Python Modules"
  691. msgstr ""
  692. #. type: menuentry
  693. #: guix-git/doc/contributing.texi:451
  694. msgid "A touch of British comedy."
  695. msgstr ""
  696. #. type: subsection
  697. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:831
  698. #: guix-git/doc/contributing.texi:832
  699. #, no-wrap
  700. msgid "Perl Modules"
  701. msgstr ""
  702. #. type: menuentry
  703. #: guix-git/doc/contributing.texi:451
  704. msgid "Little pearls."
  705. msgstr ""
  706. #. type: subsection
  707. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:847
  708. #: guix-git/doc/contributing.texi:848
  709. #, no-wrap
  710. msgid "Java Packages"
  711. msgstr "بسته‌های جاوا"
  712. #. type: menuentry
  713. #: guix-git/doc/contributing.texi:451
  714. msgid "Coffee break."
  715. msgstr ""
  716. #. type: subsection
  717. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:867
  718. #: guix-git/doc/contributing.texi:868
  719. #, no-wrap
  720. msgid "Rust Crates"
  721. msgstr ""
  722. #. type: menuentry
  723. #: guix-git/doc/contributing.texi:451
  724. msgid "Beware of oxidation."
  725. msgstr ""
  726. #. type: subsection
  727. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:901
  728. #: guix-git/doc/contributing.texi:902
  729. #, no-wrap
  730. msgid "Fonts"
  731. msgstr ""
  732. #. type: menuentry
  733. #: guix-git/doc/contributing.texi:451
  734. msgid "Fond of fonts."
  735. msgstr ""
  736. #. type: cindex
  737. #: guix-git/doc/contributing.texi:457
  738. #, no-wrap
  739. msgid "free software"
  740. msgstr "نرم‌افزار آزاد"
  741. #. type: Plain text
  742. #: guix-git/doc/contributing.texi:465
  743. 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."
  744. msgstr ""
  745. #. type: Plain text
  746. #: guix-git/doc/contributing.texi:471
  747. 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."
  748. msgstr ""
  749. #. type: Plain text
  750. #: guix-git/doc/contributing.texi:479
  751. 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."
  752. msgstr ""
  753. #. type: cindex
  754. #: guix-git/doc/contributing.texi:484
  755. #, no-wrap
  756. msgid "package name"
  757. msgstr "نام بسته"
  758. #. type: Plain text
  759. #: guix-git/doc/contributing.texi:492
  760. 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}."
  761. msgstr ""
  762. #. type: Plain text
  763. #: guix-git/doc/contributing.texi:497
  764. 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}."
  765. msgstr ""
  766. #. type: Plain text
  767. #: guix-git/doc/contributing.texi:505
  768. 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."
  769. msgstr ""
  770. #. type: Plain text
  771. #: guix-git/doc/contributing.texi:510
  772. 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."
  773. msgstr ""
  774. #. type: Plain text
  775. #: guix-git/doc/contributing.texi:512
  776. msgid "Font package names are handled differently, @pxref{Fonts}."
  777. msgstr ""
  778. #. type: cindex
  779. #: guix-git/doc/contributing.texi:517
  780. #, no-wrap
  781. msgid "package version"
  782. msgstr ""
  783. #. type: Plain text
  784. #: guix-git/doc/contributing.texi:526
  785. 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."
  786. msgstr ""
  787. #. type: Plain text
  788. #: guix-git/doc/contributing.texi:529
  789. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  790. msgstr ""
  791. #. type: Plain text
  792. #: guix-git/doc/contributing.texi:531
  793. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  794. msgstr ""
  795. #. type: lisp
  796. #: guix-git/doc/contributing.texi:543
  797. #, no-wrap
  798. msgid ""
  799. "(define-public gtk+\n"
  800. " (package\n"
  801. " (name \"gtk+\")\n"
  802. " (version \"3.9.12\")\n"
  803. " ...))\n"
  804. "(define-public gtk+-2\n"
  805. " (package\n"
  806. " (name \"gtk+\")\n"
  807. " (version \"2.24.20\")\n"
  808. " ...))\n"
  809. msgstr ""
  810. #. type: Plain text
  811. #: guix-git/doc/contributing.texi:545
  812. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  813. msgstr ""
  814. #. type: lisp
  815. #: guix-git/doc/contributing.texi:551
  816. #, no-wrap
  817. msgid ""
  818. "(define-public gtk+-3.8\n"
  819. " (package\n"
  820. " (name \"gtk+\")\n"
  821. " (version \"3.8.2\")\n"
  822. " ...))\n"
  823. msgstr ""
  824. #. type: cindex
  825. #: guix-git/doc/contributing.texi:555
  826. #, no-wrap
  827. msgid "version number, for VCS snapshots"
  828. msgstr ""
  829. #. type: Plain text
  830. #: guix-git/doc/contributing.texi:561
  831. 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?"
  832. msgstr ""
  833. #. type: Plain text
  834. #: guix-git/doc/contributing.texi:569
  835. 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:"
  836. msgstr ""
  837. #. type: example
  838. #: guix-git/doc/contributing.texi:578
  839. #, no-wrap
  840. msgid ""
  841. "2.0.11-3.cabba9e\n"
  842. " ^ ^ ^\n"
  843. " | | `-- upstream commit ID\n"
  844. " | |\n"
  845. " | `--- Guix package revision\n"
  846. " |\n"
  847. "latest upstream version\n"
  848. msgstr ""
  849. #. type: Plain text
  850. #: guix-git/doc/contributing.texi:588
  851. 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:"
  852. msgstr ""
  853. #. type: lisp
  854. #: guix-git/doc/contributing.texi:605
  855. #, no-wrap
  856. msgid ""
  857. "(define my-package\n"
  858. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  859. " (revision \"1\")) ;Guix package revision\n"
  860. " (package\n"
  861. " (version (git-version \"0.9\" revision commit))\n"
  862. " (source (origin\n"
  863. " (method git-fetch)\n"
  864. " (uri (git-reference\n"
  865. " (url \"git://example.org/my-package.git\")\n"
  866. " (commit commit)))\n"
  867. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  868. " (file-name (git-file-name name version))))\n"
  869. " ;; @dots{}\n"
  870. " )))\n"
  871. msgstr ""
  872. #. type: deffn
  873. #: guix-git/doc/contributing.texi:607
  874. #, no-wrap
  875. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  876. msgstr ""
  877. #. type: deffn
  878. #: guix-git/doc/contributing.texi:609
  879. msgid "Return the version string for packages using @code{git-fetch}."
  880. msgstr ""
  881. #. type: lisp
  882. #: guix-git/doc/contributing.texi:613
  883. #, no-wrap
  884. msgid ""
  885. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  886. "@result{} \"0.2.3-0.93818c9\"\n"
  887. msgstr ""
  888. #. type: deffn
  889. #: guix-git/doc/contributing.texi:616
  890. #, no-wrap
  891. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  892. msgstr ""
  893. #. type: deffn
  894. #: guix-git/doc/contributing.texi:619
  895. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  896. msgstr ""
  897. #. type: cindex
  898. #: guix-git/doc/contributing.texi:624
  899. #, no-wrap
  900. msgid "package description"
  901. msgstr ""
  902. #. type: cindex
  903. #: guix-git/doc/contributing.texi:625
  904. #, no-wrap
  905. msgid "package synopsis"
  906. msgstr ""
  907. #. type: Plain text
  908. #: guix-git/doc/contributing.texi:632
  909. 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."
  910. msgstr ""
  911. #. type: Plain text
  912. #: guix-git/doc/contributing.texi:640
  913. 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''."
  914. msgstr ""
  915. #. type: Plain text
  916. #: guix-git/doc/contributing.texi:650
  917. 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."
  918. msgstr ""
  919. #. type: Plain text
  920. #: guix-git/doc/contributing.texi:658
  921. 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."
  922. msgstr ""
  923. #. type: cindex
  924. #: guix-git/doc/contributing.texi:659
  925. #, no-wrap
  926. msgid "Texinfo markup, in package descriptions"
  927. msgstr ""
  928. #. type: Plain text
  929. #: guix-git/doc/contributing.texi:668
  930. 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."
  931. msgstr ""
  932. #. type: Plain text
  933. #: guix-git/doc/contributing.texi:674
  934. 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."
  935. msgstr ""
  936. #. type: Plain text
  937. #: guix-git/doc/contributing.texi:679
  938. 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:"
  939. msgstr ""
  940. #. type: lisp
  941. #: guix-git/doc/contributing.texi:685
  942. #, no-wrap
  943. msgid ""
  944. "(package\n"
  945. " ;; @dots{}\n"
  946. " (synopsis \"This is translatable\")\n"
  947. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  948. msgstr ""
  949. #. type: Plain text
  950. #: guix-git/doc/contributing.texi:693
  951. 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}):"
  952. msgstr ""
  953. #. type: lisp
  954. #: guix-git/doc/contributing.texi:698
  955. #, no-wrap
  956. msgid ""
  957. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  958. "(description \"ARandR is designed to provide a simple visual front end\n"
  959. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  960. msgstr ""
  961. #. type: cindex
  962. #: guix-git/doc/contributing.texi:703
  963. #, no-wrap
  964. msgid "snippets, when to use"
  965. msgstr ""
  966. #. type: Plain text
  967. #: guix-git/doc/contributing.texi:714
  968. 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})."
  969. msgstr ""
  970. #. type: cindex
  971. #: guix-git/doc/contributing.texi:718
  972. #, no-wrap
  973. msgid "emacs, packaging"
  974. msgstr ""
  975. #. type: cindex
  976. #: guix-git/doc/contributing.texi:719
  977. #, no-wrap
  978. msgid "elisp, packaging"
  979. msgstr ""
  980. #. type: Plain text
  981. #: guix-git/doc/contributing.texi:731
  982. 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."
  983. msgstr ""
  984. #. type: Plain text
  985. #: guix-git/doc/contributing.texi:736
  986. 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}."
  987. msgstr ""
  988. #. type: Plain text
  989. #: guix-git/doc/contributing.texi:745
  990. 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:"
  991. msgstr ""
  992. #. type: lisp
  993. #: guix-git/doc/contributing.texi:748
  994. #, no-wrap
  995. msgid "#:include (cons \"^snippets/\" %default-include)\n"
  996. msgstr ""
  997. #. type: Plain text
  998. #: guix-git/doc/contributing.texi:754
  999. 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."
  1000. msgstr ""
  1001. #. type: cindex
  1002. #: guix-git/doc/contributing.texi:758
  1003. #, no-wrap
  1004. msgid "python"
  1005. msgstr "پایتون"
  1006. #. type: Plain text
  1007. #: guix-git/doc/contributing.texi:764
  1008. 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}."
  1009. msgstr ""
  1010. #. type: Plain text
  1011. #: guix-git/doc/contributing.texi:771
  1012. 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."
  1013. msgstr ""
  1014. #. type: Plain text
  1015. #: guix-git/doc/contributing.texi:777
  1016. 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."
  1017. msgstr ""
  1018. #. type: subsubsection
  1019. #: guix-git/doc/contributing.texi:778
  1020. #, no-wrap
  1021. msgid "Specifying Dependencies"
  1022. msgstr ""
  1023. #. type: cindex
  1024. #: guix-git/doc/contributing.texi:779
  1025. #, no-wrap
  1026. msgid "inputs, for Python packages"
  1027. msgstr ""
  1028. #. type: Plain text
  1029. #: guix-git/doc/contributing.texi:784
  1030. 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}."
  1031. msgstr ""
  1032. #. type: Plain text
  1033. #: guix-git/doc/contributing.texi:790
  1034. 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."
  1035. msgstr ""
  1036. #. type: itemize
  1037. #: guix-git/doc/contributing.texi:798
  1038. 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."
  1039. msgstr ""
  1040. #. type: itemize
  1041. #: guix-git/doc/contributing.texi:804
  1042. 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."
  1043. msgstr ""
  1044. #. type: itemize
  1045. #: guix-git/doc/contributing.texi:812
  1046. 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."
  1047. msgstr ""
  1048. #. type: itemize
  1049. #: guix-git/doc/contributing.texi:816
  1050. 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}."
  1051. msgstr ""
  1052. #. type: itemize
  1053. #: guix-git/doc/contributing.texi:821
  1054. 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."
  1055. msgstr ""
  1056. #. type: itemize
  1057. #: guix-git/doc/contributing.texi:827
  1058. 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}})."
  1059. msgstr ""
  1060. #. type: cindex
  1061. #: guix-git/doc/contributing.texi:834
  1062. #, no-wrap
  1063. msgid "perl"
  1064. msgstr "پرل"
  1065. #. type: Plain text
  1066. #: guix-git/doc/contributing.texi:845
  1067. 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}."
  1068. msgstr ""
  1069. #. type: cindex
  1070. #: guix-git/doc/contributing.texi:850
  1071. #, no-wrap
  1072. msgid "java"
  1073. msgstr "جاوا"
  1074. #. type: Plain text
  1075. #: guix-git/doc/contributing.texi:853
  1076. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1077. msgstr ""
  1078. #. type: Plain text
  1079. #: guix-git/doc/contributing.texi:859
  1080. 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}."
  1081. msgstr ""
  1082. #. type: Plain text
  1083. #: guix-git/doc/contributing.texi:865
  1084. 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}."
  1085. msgstr ""
  1086. #. type: cindex
  1087. #: guix-git/doc/contributing.texi:870
  1088. #, no-wrap
  1089. msgid "rust"
  1090. msgstr "راست"
  1091. #. type: Plain text
  1092. #: guix-git/doc/contributing.texi:873
  1093. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1094. msgstr ""
  1095. #. type: Plain text
  1096. #: guix-git/doc/contributing.texi:877
  1097. 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."
  1098. msgstr ""
  1099. #. type: Plain text
  1100. #: guix-git/doc/contributing.texi:883
  1101. 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}."
  1102. msgstr ""
  1103. #. type: Plain text
  1104. #: guix-git/doc/contributing.texi:893
  1105. 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."
  1106. msgstr ""
  1107. #. type: Plain text
  1108. #: guix-git/doc/contributing.texi:899
  1109. 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."
  1110. msgstr ""
  1111. #. type: cindex
  1112. #: guix-git/doc/contributing.texi:904 guix-git/doc/guix.texi:1963
  1113. #, no-wrap
  1114. msgid "fonts"
  1115. msgstr ""
  1116. #. type: Plain text
  1117. #: guix-git/doc/contributing.texi:910
  1118. 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."
  1119. msgstr ""
  1120. #. type: Plain text
  1121. #: guix-git/doc/contributing.texi:914
  1122. 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."
  1123. msgstr ""
  1124. #. type: Plain text
  1125. #: guix-git/doc/contributing.texi:922
  1126. 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}."
  1127. msgstr ""
  1128. #. type: Plain text
  1129. #: guix-git/doc/contributing.texi:931
  1130. 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}."
  1131. msgstr ""
  1132. #. type: Plain text
  1133. #: guix-git/doc/contributing.texi:937
  1134. 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."
  1135. msgstr ""
  1136. #. type: Plain text
  1137. #: guix-git/doc/contributing.texi:945
  1138. 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."
  1139. msgstr ""
  1140. #. type: subsection
  1141. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:953
  1142. #: guix-git/doc/contributing.texi:954
  1143. #, no-wrap
  1144. msgid "Programming Paradigm"
  1145. msgstr ""
  1146. #. type: menuentry
  1147. #: guix-git/doc/contributing.texi:951
  1148. msgid "How to compose your elements."
  1149. msgstr ""
  1150. #. type: subsection
  1151. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:960
  1152. #: guix-git/doc/contributing.texi:961
  1153. #, no-wrap
  1154. msgid "Modules"
  1155. msgstr ""
  1156. #. type: menuentry
  1157. #: guix-git/doc/contributing.texi:951
  1158. msgid "Where to store your code?"
  1159. msgstr ""
  1160. #. type: subsection
  1161. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:971
  1162. #: guix-git/doc/contributing.texi:972
  1163. #, no-wrap
  1164. msgid "Data Types and Pattern Matching"
  1165. msgstr ""
  1166. #. type: menuentry
  1167. #: guix-git/doc/contributing.texi:951
  1168. msgid "Implementing data structures."
  1169. msgstr ""
  1170. #. type: subsection
  1171. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:986
  1172. #: guix-git/doc/contributing.texi:987
  1173. #, no-wrap
  1174. msgid "Formatting Code"
  1175. msgstr ""
  1176. #. type: menuentry
  1177. #: guix-git/doc/contributing.texi:951
  1178. msgid "Writing conventions."
  1179. msgstr ""
  1180. #. type: Plain text
  1181. #: guix-git/doc/contributing.texi:959
  1182. 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."
  1183. msgstr ""
  1184. #. type: Plain text
  1185. #: guix-git/doc/contributing.texi:967
  1186. 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."
  1187. msgstr ""
  1188. #. type: Plain text
  1189. #: guix-git/doc/contributing.texi:970
  1190. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1191. msgstr ""
  1192. #. type: Plain text
  1193. #: guix-git/doc/contributing.texi:979
  1194. 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."
  1195. msgstr ""
  1196. #. type: Plain text
  1197. #: guix-git/doc/contributing.texi:985
  1198. 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})."
  1199. msgstr ""
  1200. #. type: cindex
  1201. #: guix-git/doc/contributing.texi:989
  1202. #, no-wrap
  1203. msgid "formatting code"
  1204. msgstr ""
  1205. #. type: cindex
  1206. #: guix-git/doc/contributing.texi:990
  1207. #, no-wrap
  1208. msgid "coding style"
  1209. msgstr ""
  1210. #. type: Plain text
  1211. #: guix-git/doc/contributing.texi:997
  1212. 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."
  1213. msgstr ""
  1214. #. type: Plain text
  1215. #: guix-git/doc/contributing.texi:1004
  1216. 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})."
  1217. msgstr ""
  1218. #. type: cindex
  1219. #: guix-git/doc/contributing.texi:1005
  1220. #, no-wrap
  1221. msgid "indentation, of code"
  1222. msgstr ""
  1223. #. type: cindex
  1224. #: guix-git/doc/contributing.texi:1006
  1225. #, no-wrap
  1226. msgid "formatting, of code"
  1227. msgstr ""
  1228. #. type: Plain text
  1229. #: guix-git/doc/contributing.texi:1009
  1230. 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:"
  1231. msgstr ""
  1232. #. type: example
  1233. #: guix-git/doc/contributing.texi:1012
  1234. #, no-wrap
  1235. msgid "./pre-inst-env guix style @var{package}\n"
  1236. msgstr ""
  1237. #. type: Plain text
  1238. #: guix-git/doc/contributing.texi:1016
  1239. msgid "@xref{Invoking guix style}, for more information."
  1240. msgstr ""
  1241. #. type: cindex
  1242. #: guix-git/doc/contributing.texi:1017
  1243. #, no-wrap
  1244. msgid "Vim, Scheme code editing"
  1245. msgstr ""
  1246. #. type: Plain text
  1247. #: guix-git/doc/contributing.texi:1023
  1248. 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."
  1249. msgstr ""
  1250. #. type: Plain text
  1251. #: guix-git/doc/contributing.texi:1027
  1252. 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."
  1253. msgstr ""
  1254. #. type: Plain text
  1255. #: guix-git/doc/contributing.texi:1030
  1256. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1257. msgstr ""
  1258. #. type: Plain text
  1259. #: guix-git/doc/contributing.texi:1044
  1260. msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list (@pxref{submitting patches,, Submitting patches to a project, git, Git User Manual}). Contributors are encouraged to take a moment to set some Git repository options (@pxref{Configuring Git}) first, which can improve the readability of patches. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1261. msgstr ""
  1262. #. type: Plain text
  1263. #: guix-git/doc/contributing.texi:1051
  1264. 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})."
  1265. msgstr ""
  1266. #. type: Plain text
  1267. #: guix-git/doc/contributing.texi:1055
  1268. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1269. msgstr ""
  1270. #. type: Plain text
  1271. #: guix-git/doc/contributing.texi:1058
  1272. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1273. msgstr ""
  1274. #. type: code{#1}
  1275. #: guix-git/doc/contributing.texi:1060 guix-git/doc/contributing.texi:1270
  1276. #, no-wrap
  1277. msgid "git format-patch"
  1278. msgstr ""
  1279. #. type: code{#1}
  1280. #: guix-git/doc/contributing.texi:1061
  1281. #, no-wrap
  1282. msgid "git-format-patch"
  1283. msgstr ""
  1284. #. type: enumerate
  1285. #: guix-git/doc/contributing.texi:1068
  1286. msgid "When generating your patches with @code{git format-patch} or @code{git send-email}, we recommend using the option @code{--base=}, perhaps with the value @code{auto}. This option adds a note to the patch stating which commit the patch is based on. This helps reviewers understand how to apply and review your patches."
  1287. msgstr ""
  1288. #. type: enumerate
  1289. #: guix-git/doc/contributing.texi:1074
  1290. 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."
  1291. msgstr ""
  1292. #. type: enumerate
  1293. #: guix-git/doc/contributing.texi:1078
  1294. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1295. msgstr ""
  1296. #. type: enumerate
  1297. #: guix-git/doc/contributing.texi:1083
  1298. 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})."
  1299. msgstr ""
  1300. #. type: enumerate
  1301. #: guix-git/doc/contributing.texi:1087
  1302. msgid "Run @code{guix style @var{package}} to format the new package definition according to the project's conventions (@pxref{Invoking guix style})."
  1303. msgstr ""
  1304. #. type: enumerate
  1305. #: guix-git/doc/contributing.texi:1091
  1306. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1307. msgstr ""
  1308. #. type: enumerate
  1309. #: guix-git/doc/contributing.texi:1099
  1310. 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:"
  1311. msgstr ""
  1312. #. type: lisp
  1313. #: guix-git/doc/contributing.texi:1104
  1314. #, no-wrap
  1315. msgid ""
  1316. "(service qemu-binfmt-service-type\n"
  1317. " (qemu-binfmt-configuration\n"
  1318. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1319. msgstr ""
  1320. #. type: enumerate
  1321. #: guix-git/doc/contributing.texi:1107
  1322. msgid "Then reconfigure your system."
  1323. msgstr ""
  1324. #. type: enumerate
  1325. #: guix-git/doc/contributing.texi:1112
  1326. 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:"
  1327. msgstr ""
  1328. #. type: example
  1329. #: guix-git/doc/contributing.texi:1115
  1330. #, no-wrap
  1331. msgid ""
  1332. "guix build --system=armhf-linux --rounds=2 hello\n"
  1333. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1334. msgstr ""
  1335. #. type: cindex
  1336. #: guix-git/doc/contributing.texi:1118
  1337. #, no-wrap
  1338. msgid "bundling"
  1339. msgstr ""
  1340. #. type: enumerate
  1341. #: guix-git/doc/contributing.texi:1121
  1342. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1343. msgstr ""
  1344. #. type: enumerate
  1345. #: guix-git/doc/contributing.texi:1130
  1346. 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."
  1347. msgstr ""
  1348. #. type: enumerate
  1349. #: guix-git/doc/contributing.texi:1139
  1350. 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."
  1351. msgstr ""
  1352. #. type: enumerate
  1353. #: guix-git/doc/contributing.texi:1144
  1354. 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})."
  1355. msgstr ""
  1356. #. type: cindex
  1357. #: guix-git/doc/contributing.texi:1146
  1358. #, no-wrap
  1359. msgid "branching strategy"
  1360. msgstr ""
  1361. #. type: cindex
  1362. #: guix-git/doc/contributing.texi:1147
  1363. #, no-wrap
  1364. msgid "rebuild scheduling strategy"
  1365. msgstr ""
  1366. #. type: enumerate
  1367. #: guix-git/doc/contributing.texi:1150
  1368. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1369. msgstr ""
  1370. #. type: item
  1371. #: guix-git/doc/contributing.texi:1152
  1372. #, no-wrap
  1373. msgid "300 dependent packages or less"
  1374. msgstr ""
  1375. #. type: table
  1376. #: guix-git/doc/contributing.texi:1154
  1377. msgid "@code{master} branch (non-disruptive changes)."
  1378. msgstr ""
  1379. #. type: item
  1380. #: guix-git/doc/contributing.texi:1155
  1381. #, no-wrap
  1382. msgid "between 300 and 1,800 dependent packages"
  1383. msgstr ""
  1384. #. type: table
  1385. #: guix-git/doc/contributing.texi:1161
  1386. 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."
  1387. msgstr ""
  1388. #. type: item
  1389. #: guix-git/doc/contributing.texi:1162
  1390. #, no-wrap
  1391. msgid "more than 1,800 dependent packages"
  1392. msgstr ""
  1393. #. type: table
  1394. #: guix-git/doc/contributing.texi:1167
  1395. 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."
  1396. msgstr ""
  1397. #. type: enumerate
  1398. #: guix-git/doc/contributing.texi:1174
  1399. 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."
  1400. msgstr ""
  1401. #. type: enumerate
  1402. #: guix-git/doc/contributing.texi:1183
  1403. 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."
  1404. msgstr ""
  1405. #. type: cindex
  1406. #: guix-git/doc/contributing.texi:1185
  1407. #, no-wrap
  1408. msgid "determinism, of build processes"
  1409. msgstr ""
  1410. #. type: cindex
  1411. #: guix-git/doc/contributing.texi:1186
  1412. #, no-wrap
  1413. msgid "reproducible builds, checking"
  1414. msgstr ""
  1415. #. type: enumerate
  1416. #: guix-git/doc/contributing.texi:1190
  1417. 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."
  1418. msgstr ""
  1419. #. type: enumerate
  1420. #: guix-git/doc/contributing.texi:1193
  1421. 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}):"
  1422. msgstr ""
  1423. #. type: example
  1424. #: guix-git/doc/contributing.texi:1196
  1425. #, no-wrap
  1426. msgid "guix build --rounds=2 my-package\n"
  1427. msgstr ""
  1428. #. type: enumerate
  1429. #: guix-git/doc/contributing.texi:1200
  1430. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1431. msgstr ""
  1432. #. type: enumerate
  1433. #: guix-git/doc/contributing.texi:1210
  1434. 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."
  1435. msgstr ""
  1436. #. type: enumerate
  1437. #: guix-git/doc/contributing.texi:1216
  1438. 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."
  1439. msgstr ""
  1440. #. type: enumerate
  1441. #: guix-git/doc/contributing.texi:1220
  1442. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1443. msgstr ""
  1444. #. type: enumerate
  1445. #: guix-git/doc/contributing.texi:1223
  1446. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1447. msgstr ""
  1448. #. type: enumerate
  1449. #: guix-git/doc/contributing.texi:1228
  1450. msgid "Please follow our code formatting rules, possibly running @command{guix style} script to do that automatically for you (@pxref{Formatting Code})."
  1451. msgstr ""
  1452. #. type: enumerate
  1453. #: guix-git/doc/contributing.texi:1236
  1454. 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."
  1455. msgstr ""
  1456. #. type: enumerate
  1457. #: guix-git/doc/contributing.texi:1240
  1458. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1459. msgstr ""
  1460. #. type: enumerate
  1461. #: guix-git/doc/contributing.texi:1243
  1462. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1463. msgstr ""
  1464. #. type: example
  1465. #: guix-git/doc/contributing.texi:1245
  1466. #, no-wrap
  1467. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1468. msgstr ""
  1469. #. type: Plain text
  1470. #: guix-git/doc/contributing.texi:1258
  1471. 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."
  1472. msgstr ""
  1473. #. type: Plain text
  1474. #: guix-git/doc/contributing.texi:1263
  1475. 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."
  1476. msgstr ""
  1477. #. type: Plain text
  1478. #: guix-git/doc/contributing.texi:1266
  1479. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1480. msgstr ""
  1481. #. type: subsection
  1482. #: guix-git/doc/contributing.texi:1267 guix-git/doc/contributing.texi:1268
  1483. #, no-wrap
  1484. msgid "Configuring Git"
  1485. msgstr ""
  1486. #. type: cindex
  1487. #: guix-git/doc/contributing.texi:1269
  1488. #, no-wrap
  1489. msgid "git configuration"
  1490. msgstr ""
  1491. #. type: code{#1}
  1492. #: guix-git/doc/contributing.texi:1271 guix-git/doc/contributing.texi:1306
  1493. #, no-wrap
  1494. msgid "git send-email"
  1495. msgstr ""
  1496. #. type: Plain text
  1497. #: guix-git/doc/contributing.texi:1279
  1498. msgid "If you have not done so already, you may wish to set a name and email that will be associated with your commits (@pxref{telling git your name, , Telling Git your name, git, Git User Manual}). If you wish to use a different name or email just for commits in this repository, you can use @command{git config --local}, or edit @file{.git/config} in the repository instead of @file{~/.gitconfig}."
  1499. msgstr ""
  1500. #. type: Plain text
  1501. #: guix-git/doc/contributing.texi:1285
  1502. msgid "We provide some default settings in @file{etc/git/gitconfig} which modify how patches are generated, making them easier to read and apply. These settings can be applied by manually copying them to @file{.git/config} in your checkout, or by telling Git to include the whole file:"
  1503. msgstr ""
  1504. #. type: example
  1505. #: guix-git/doc/contributing.texi:1288
  1506. #, no-wrap
  1507. msgid "git config --local include.path ../etc/git/gitconfig\n"
  1508. msgstr ""
  1509. #. type: Plain text
  1510. #: guix-git/doc/contributing.texi:1292
  1511. msgid "From then on, any changes to @file{etc/git/gitconfig} would automatically take effect."
  1512. msgstr ""
  1513. #. type: Plain text
  1514. #: guix-git/doc/contributing.texi:1297
  1515. msgid "Since the first patch in a series must be sent separately (@pxref{Sending a Patch Series}), it can also be helpful to tell @command{git format-patch} to handle the e-mail threading instead of @command{git send-email}:"
  1516. msgstr ""
  1517. #. type: example
  1518. #: guix-git/doc/contributing.texi:1301
  1519. #, no-wrap
  1520. msgid ""
  1521. "git config --local format.thread shallow\n"
  1522. "git config --local sendemail.thread no\n"
  1523. msgstr ""
  1524. #. type: anchor{#1}
  1525. #: guix-git/doc/contributing.texi:1303 guix-git/doc/contributing.texi:1305
  1526. #, no-wrap
  1527. msgid "Sending a Patch Series"
  1528. msgstr ""
  1529. #. type: cindex
  1530. #: guix-git/doc/contributing.texi:1305
  1531. #, no-wrap
  1532. msgid "patch series"
  1533. msgstr ""
  1534. #. type: Plain text
  1535. #: guix-git/doc/contributing.texi:1316
  1536. 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}."
  1537. msgstr ""
  1538. #. type: Plain text
  1539. #: guix-git/doc/contributing.texi:1322
  1540. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1541. msgstr ""
  1542. #. type: subsection
  1543. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1329
  1544. #: guix-git/doc/contributing.texi:1330
  1545. #, no-wrap
  1546. msgid "The Issue Tracker"
  1547. msgstr ""
  1548. #. type: menuentry
  1549. #: guix-git/doc/contributing.texi:1327
  1550. msgid "The official bug and patch tracker."
  1551. msgstr ""
  1552. #. type: subsection
  1553. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1343
  1554. #: guix-git/doc/contributing.texi:1344
  1555. #, no-wrap
  1556. msgid "Debbugs User Interfaces"
  1557. msgstr ""
  1558. #. type: menuentry
  1559. #: guix-git/doc/contributing.texi:1327
  1560. msgid "Ways to interact with Debbugs."
  1561. msgstr ""
  1562. #. type: subsection
  1563. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1383
  1564. #: guix-git/doc/contributing.texi:1384
  1565. #, no-wrap
  1566. msgid "Debbugs Usertags"
  1567. msgstr ""
  1568. #. type: menuentry
  1569. #: guix-git/doc/contributing.texi:1327
  1570. msgid "Tag reports with custom labels."
  1571. msgstr ""
  1572. #. type: cindex
  1573. #: guix-git/doc/contributing.texi:1332
  1574. #, no-wrap
  1575. msgid "bug reports, tracking"
  1576. msgstr ""
  1577. #. type: cindex
  1578. #: guix-git/doc/contributing.texi:1333
  1579. #, no-wrap
  1580. msgid "patch submissions, tracking"
  1581. msgstr ""
  1582. #. type: cindex
  1583. #: guix-git/doc/contributing.texi:1334
  1584. #, no-wrap
  1585. msgid "issue tracking"
  1586. msgstr ""
  1587. #. type: cindex
  1588. #: guix-git/doc/contributing.texi:1335
  1589. #, no-wrap
  1590. msgid "Debbugs, issue tracking system"
  1591. msgstr ""
  1592. #. type: Plain text
  1593. #: guix-git/doc/contributing.texi:1342
  1594. 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})."
  1595. msgstr ""
  1596. #. type: Plain text
  1597. #: guix-git/doc/contributing.texi:1348
  1598. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1599. msgstr ""
  1600. #. type: itemize
  1601. #: guix-git/doc/contributing.texi:1357
  1602. 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;"
  1603. msgstr ""
  1604. #. type: itemize
  1605. #: guix-git/doc/contributing.texi:1359
  1606. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1607. msgstr ""
  1608. #. type: itemize
  1609. #: guix-git/doc/contributing.texi:1361
  1610. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1611. msgstr ""
  1612. #. type: Plain text
  1613. #: guix-git/doc/contributing.texi:1366
  1614. 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}}."
  1615. msgstr ""
  1616. #. type: Plain text
  1617. #: guix-git/doc/contributing.texi:1369
  1618. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1619. msgstr ""
  1620. #. type: example
  1621. #: guix-git/doc/contributing.texi:1372
  1622. #, no-wrap
  1623. msgid "guix install emacs-debbugs\n"
  1624. msgstr ""
  1625. #. type: Plain text
  1626. #: guix-git/doc/contributing.texi:1375
  1627. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1628. msgstr ""
  1629. #. type: example
  1630. #: guix-git/doc/contributing.texi:1378
  1631. #, no-wrap
  1632. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1633. msgstr ""
  1634. #. type: Plain text
  1635. #: guix-git/doc/contributing.texi:1382
  1636. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1637. msgstr ""
  1638. #. type: cindex
  1639. #: guix-git/doc/contributing.texi:1386
  1640. #, no-wrap
  1641. msgid "usertags, for debbugs"
  1642. msgstr ""
  1643. #. type: cindex
  1644. #: guix-git/doc/contributing.texi:1387
  1645. #, no-wrap
  1646. msgid "Debbugs usertags"
  1647. msgstr ""
  1648. #. type: Plain text
  1649. #: guix-git/doc/contributing.texi:1393
  1650. 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.}."
  1651. msgstr ""
  1652. #. type: Plain text
  1653. #: guix-git/doc/contributing.texi:1399
  1654. 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}."
  1655. msgstr ""
  1656. #. type: Plain text
  1657. #: guix-git/doc/contributing.texi:1403
  1658. 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."
  1659. msgstr ""
  1660. #. type: Plain text
  1661. #: guix-git/doc/contributing.texi:1408
  1662. 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:"
  1663. msgstr ""
  1664. #. type: item
  1665. #: guix-git/doc/contributing.texi:1411 guix-git/doc/guix.texi:557
  1666. #, no-wrap
  1667. msgid "powerpc64le-linux"
  1668. msgstr ""
  1669. #. type: table
  1670. #: guix-git/doc/contributing.texi:1419
  1671. 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."
  1672. msgstr ""
  1673. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1674. #. type: item
  1675. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1676. #. type: cindex
  1677. #: guix-git/doc/contributing.texi:1420 guix-git/doc/guix.texi:3103
  1678. #: guix-git/doc/guix.texi:4809
  1679. #, no-wrap
  1680. msgid "reproducibility"
  1681. msgstr ""
  1682. #. type: table
  1683. #: guix-git/doc/contributing.texi:1424
  1684. 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."
  1685. msgstr ""
  1686. #. type: Plain text
  1687. #: guix-git/doc/contributing.texi:1431
  1688. 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."
  1689. msgstr ""
  1690. #. type: cindex
  1691. #: guix-git/doc/contributing.texi:1435
  1692. #, no-wrap
  1693. msgid "commit access, for developers"
  1694. msgstr ""
  1695. #. type: Plain text
  1696. #: guix-git/doc/contributing.texi:1446
  1697. msgid "Everyone can contribute to Guix without having commit access (@pxref{Submitting Patches}). However, for frequent contributors, having write access to the repository can be convenient. As a rule of thumb, a contributor should have accumulated fifty (50) reviewed commits to be considered as a committer and have sustained their activity in the project for at least 6 months. This ensures enough interactions with the contributor, which is essential for mentoring and assessing whether they are ready to become a committer. Commit access should not be thought of as a ``badge of honor'' but rather as a responsibility a contributor is willing to take to help the project."
  1698. msgstr ""
  1699. #. type: Plain text
  1700. #: guix-git/doc/contributing.texi:1450
  1701. 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."
  1702. msgstr ""
  1703. #. type: subsection
  1704. #: guix-git/doc/contributing.texi:1451
  1705. #, no-wrap
  1706. msgid "Applying for Commit Access"
  1707. msgstr ""
  1708. #. type: Plain text
  1709. #: guix-git/doc/contributing.texi:1455
  1710. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1711. msgstr ""
  1712. #. type: enumerate
  1713. #: guix-git/doc/contributing.texi:1464
  1714. 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."
  1715. msgstr ""
  1716. #. type: enumerate
  1717. #: guix-git/doc/contributing.texi:1470
  1718. 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''."
  1719. msgstr ""
  1720. #. type: enumerate
  1721. #: guix-git/doc/contributing.texi:1477
  1722. 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."
  1723. msgstr ""
  1724. #. type: enumerate
  1725. #: guix-git/doc/contributing.texi:1483
  1726. 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}):"
  1727. msgstr ""
  1728. #. type: example
  1729. #: guix-git/doc/contributing.texi:1486
  1730. #, no-wrap
  1731. msgid "digest-algo sha512\n"
  1732. msgstr ""
  1733. #. type: enumerate
  1734. #: guix-git/doc/contributing.texi:1491
  1735. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1736. msgstr ""
  1737. #. type: cindex
  1738. #: guix-git/doc/contributing.texi:1493
  1739. #, no-wrap
  1740. msgid "OpenPGP, signed commits"
  1741. msgstr ""
  1742. #. type: enumerate
  1743. #: guix-git/doc/contributing.texi:1498
  1744. 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."
  1745. msgstr ""
  1746. #. type: quotation
  1747. #: guix-git/doc/contributing.texi:1499 guix-git/doc/guix.texi:18459
  1748. #, no-wrap
  1749. msgid "Important"
  1750. msgstr ""
  1751. #. type: quotation
  1752. #: guix-git/doc/contributing.texi:1501
  1753. msgid "Before you can push for the first time, maintainers must:"
  1754. msgstr ""
  1755. #. type: enumerate
  1756. #: guix-git/doc/contributing.texi:1505
  1757. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1758. msgstr ""
  1759. #. type: enumerate
  1760. #: guix-git/doc/contributing.texi:1508
  1761. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1762. msgstr ""
  1763. #. type: enumerate
  1764. #: guix-git/doc/contributing.texi:1513
  1765. msgid "Make sure to read the rest of this section and... profit!"
  1766. msgstr ""
  1767. #. type: quotation
  1768. #: guix-git/doc/contributing.texi:1519
  1769. 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!"
  1770. msgstr ""
  1771. #. type: quotation
  1772. #: guix-git/doc/contributing.texi:1523
  1773. 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!"
  1774. msgstr ""
  1775. #. type: Plain text
  1776. #: guix-git/doc/contributing.texi:1530
  1777. 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:"
  1778. msgstr ""
  1779. #. type: example
  1780. #: guix-git/doc/contributing.texi:1533
  1781. #, no-wrap
  1782. msgid ""
  1783. "git config commit.gpgsign true\n"
  1784. "\n"
  1785. msgstr ""
  1786. #. type: example
  1787. #: guix-git/doc/contributing.texi:1536
  1788. #, no-wrap
  1789. msgid ""
  1790. "# Substitute the fingerprint of your public PGP key.\n"
  1791. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1792. msgstr ""
  1793. #. type: Plain text
  1794. #: guix-git/doc/contributing.texi:1541
  1795. 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}:"
  1796. msgstr ""
  1797. #. type: example
  1798. #: guix-git/doc/contributing.texi:1544
  1799. #, no-wrap
  1800. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1801. msgstr ""
  1802. #. type: subsection
  1803. #: guix-git/doc/contributing.texi:1546
  1804. #, no-wrap
  1805. msgid "Commit Policy"
  1806. msgstr ""
  1807. #. type: Plain text
  1808. #: guix-git/doc/contributing.texi:1551
  1809. 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})."
  1810. msgstr ""
  1811. #. type: Plain text
  1812. #: guix-git/doc/contributing.texi:1556
  1813. 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})."
  1814. msgstr ""
  1815. #. type: Plain text
  1816. #: guix-git/doc/contributing.texi:1565
  1817. 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}."
  1818. msgstr ""
  1819. #. type: Plain text
  1820. #: guix-git/doc/contributing.texi:1570
  1821. 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."
  1822. msgstr ""
  1823. #. type: Plain text
  1824. #: guix-git/doc/contributing.texi:1574
  1825. 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:"
  1826. msgstr ""
  1827. #. type: example
  1828. #: guix-git/doc/contributing.texi:1577
  1829. #, no-wrap
  1830. msgid "make check-channel-news\n"
  1831. msgstr ""
  1832. #. type: Plain text
  1833. #: guix-git/doc/contributing.texi:1583
  1834. 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."
  1835. msgstr ""
  1836. #. type: Plain text
  1837. #: guix-git/doc/contributing.texi:1586
  1838. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1839. msgstr ""
  1840. #. type: subsection
  1841. #: guix-git/doc/contributing.texi:1587
  1842. #, no-wrap
  1843. msgid "Addressing Issues"
  1844. msgstr ""
  1845. #. type: Plain text
  1846. #: guix-git/doc/contributing.texi:1598
  1847. 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."
  1848. msgstr ""
  1849. #. type: Plain text
  1850. #: guix-git/doc/contributing.texi:1603
  1851. 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."
  1852. msgstr ""
  1853. #. type: cindex
  1854. #: guix-git/doc/contributing.texi:1604
  1855. #, no-wrap
  1856. msgid "reverting commits"
  1857. msgstr ""
  1858. #. type: Plain text
  1859. #: guix-git/doc/contributing.texi:1610
  1860. 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."
  1861. msgstr ""
  1862. #. type: Plain text
  1863. #: guix-git/doc/contributing.texi:1616
  1864. 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."
  1865. msgstr ""
  1866. #. type: Plain text
  1867. #: guix-git/doc/contributing.texi:1625
  1868. 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."
  1869. msgstr ""
  1870. #. type: subsection
  1871. #: guix-git/doc/contributing.texi:1626
  1872. #, no-wrap
  1873. msgid "Commit Revocation"
  1874. msgstr ""
  1875. #. type: Plain text
  1876. #: guix-git/doc/contributing.texi:1633
  1877. 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."
  1878. msgstr ""
  1879. #. type: Plain text
  1880. #: guix-git/doc/contributing.texi:1643
  1881. 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:"
  1882. msgstr ""
  1883. #. type: item
  1884. #: guix-git/doc/contributing.texi:1645
  1885. #, no-wrap
  1886. msgid "repeated violation of the commit policy stated above;"
  1887. msgstr ""
  1888. #. type: item
  1889. #: guix-git/doc/contributing.texi:1646
  1890. #, no-wrap
  1891. msgid "repeated failure to take peer criticism into account;"
  1892. msgstr ""
  1893. #. type: item
  1894. #: guix-git/doc/contributing.texi:1647
  1895. #, no-wrap
  1896. msgid "breaching trust through a series of grave incidents."
  1897. msgstr ""
  1898. #. type: Plain text
  1899. #: guix-git/doc/contributing.texi:1654
  1900. 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."
  1901. msgstr ""
  1902. #. type: subsection
  1903. #: guix-git/doc/contributing.texi:1655
  1904. #, no-wrap
  1905. msgid "Helping Out"
  1906. msgstr ""
  1907. #. type: Plain text
  1908. #: guix-git/doc/contributing.texi:1662
  1909. 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!"
  1910. msgstr ""
  1911. #. type: cindex
  1912. #: guix-git/doc/contributing.texi:1666
  1913. #, no-wrap
  1914. msgid "update-guix-package, updating the guix package"
  1915. msgstr ""
  1916. #. type: Plain text
  1917. #: guix-git/doc/contributing.texi:1672
  1918. 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:"
  1919. msgstr ""
  1920. #. type: example
  1921. #: guix-git/doc/contributing.texi:1675
  1922. #, no-wrap
  1923. msgid "make update-guix-package\n"
  1924. msgstr ""
  1925. #. type: Plain text
  1926. #: guix-git/doc/contributing.texi:1682
  1927. 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."
  1928. msgstr ""
  1929. #. type: Plain text
  1930. #: guix-git/doc/contributing.texi:1686
  1931. 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:"
  1932. msgstr ""
  1933. #. type: example
  1934. #: guix-git/doc/contributing.texi:1689
  1935. #, no-wrap
  1936. msgid "./pre-inst-env guix build guix\n"
  1937. msgstr ""
  1938. #. type: Plain text
  1939. #: guix-git/doc/contributing.texi:1694
  1940. 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."
  1941. msgstr ""
  1942. #. type: Plain text
  1943. #: guix-git/doc/contributing.texi:1699
  1944. 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."
  1945. msgstr ""
  1946. #. type: cindex
  1947. #: guix-git/doc/contributing.texi:1700
  1948. #, no-wrap
  1949. msgid "translation"
  1950. msgstr ""
  1951. #. type: cindex
  1952. #: guix-git/doc/contributing.texi:1701
  1953. #, no-wrap
  1954. msgid "l10n"
  1955. msgstr ""
  1956. #. type: cindex
  1957. #: guix-git/doc/contributing.texi:1702
  1958. #, no-wrap
  1959. msgid "i18n"
  1960. msgstr ""
  1961. #. type: cindex
  1962. #: guix-git/doc/contributing.texi:1703
  1963. #, no-wrap
  1964. msgid "native language support"
  1965. msgstr ""
  1966. #. type: Plain text
  1967. #: guix-git/doc/contributing.texi:1713
  1968. 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!"
  1969. msgstr ""
  1970. #. type: Plain text
  1971. #: guix-git/doc/contributing.texi:1719
  1972. 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."
  1973. msgstr ""
  1974. #. type: Plain text
  1975. #: guix-git/doc/contributing.texi:1726
  1976. 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."
  1977. msgstr ""
  1978. #. type: Plain text
  1979. #: guix-git/doc/contributing.texi:1731
  1980. 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}."
  1981. msgstr ""
  1982. #. type: Plain text
  1983. #: guix-git/doc/contributing.texi:1733
  1984. msgid "Guix has five components hosted on Weblate."
  1985. msgstr ""
  1986. #. type: item
  1987. #: guix-git/doc/contributing.texi:1735
  1988. #, no-wrap
  1989. msgid "@code{guix} contains all the strings from the Guix software (the"
  1990. msgstr ""
  1991. #. type: itemize
  1992. #: guix-git/doc/contributing.texi:1737
  1993. msgid "guided system installer, the package manager, etc), excluding packages."
  1994. msgstr ""
  1995. #. type: item
  1996. #: guix-git/doc/contributing.texi:1737
  1997. #, no-wrap
  1998. msgid "@code{packages} contains the synopsis (single-sentence description"
  1999. msgstr ""
  2000. #. type: itemize
  2001. #: guix-git/doc/contributing.texi:1739
  2002. msgid "of a package) and description (longer description) of packages in Guix."
  2003. msgstr ""
  2004. #. type: item
  2005. #: guix-git/doc/contributing.texi:1739
  2006. #, no-wrap
  2007. msgid "@code{website} contains the official Guix website, except for"
  2008. msgstr ""
  2009. #. type: itemize
  2010. #: guix-git/doc/contributing.texi:1741
  2011. msgid "blog posts and multimedia content."
  2012. msgstr ""
  2013. #. type: item
  2014. #: guix-git/doc/contributing.texi:1741
  2015. #, no-wrap
  2016. msgid "@code{documentation-manual} corresponds to this manual."
  2017. msgstr ""
  2018. #. type: item
  2019. #: guix-git/doc/contributing.texi:1742
  2020. #, no-wrap
  2021. msgid "@code{documentation-cookbook} is the component for the cookbook."
  2022. msgstr ""
  2023. #. type: subsubheading
  2024. #: guix-git/doc/contributing.texi:1745
  2025. #, no-wrap
  2026. msgid "General Directions"
  2027. msgstr ""
  2028. #. type: Plain text
  2029. #: guix-git/doc/contributing.texi:1753
  2030. 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."
  2031. msgstr ""
  2032. #. type: Plain text
  2033. #: guix-git/doc/contributing.texi:1758
  2034. 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."
  2035. msgstr ""
  2036. #. type: Plain text
  2037. #: guix-git/doc/contributing.texi:1769
  2038. 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."
  2039. msgstr ""
  2040. #. type: Plain text
  2041. #: guix-git/doc/contributing.texi:1774
  2042. 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."
  2043. msgstr ""
  2044. #. type: subsubheading
  2045. #: guix-git/doc/contributing.texi:1775
  2046. #, no-wrap
  2047. msgid "Translation Components"
  2048. msgstr ""
  2049. #. type: Plain text
  2050. #: guix-git/doc/contributing.texi:1780
  2051. 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!"
  2052. msgstr ""
  2053. #. type: item
  2054. #: guix-git/doc/contributing.texi:1782 guix-git/doc/guix.texi:9838
  2055. #, no-wrap
  2056. msgid "guix"
  2057. msgstr ""
  2058. #. type: table
  2059. #: guix-git/doc/contributing.texi:1787
  2060. 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."
  2061. msgstr ""
  2062. #. type: table
  2063. #: guix-git/doc/contributing.texi:1796
  2064. 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."
  2065. msgstr ""
  2066. #. type: table
  2067. #: guix-git/doc/contributing.texi:1800
  2068. 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."
  2069. msgstr ""
  2070. #. type: table
  2071. #: guix-git/doc/contributing.texi:1808
  2072. 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."
  2073. msgstr ""
  2074. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2075. #. type: item
  2076. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2077. #. type: cindex
  2078. #: guix-git/doc/contributing.texi:1809 guix-git/doc/guix.texi:3021
  2079. #, no-wrap
  2080. msgid "packages"
  2081. msgstr ""
  2082. #. type: table
  2083. #: guix-git/doc/contributing.texi:1814
  2084. 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."
  2085. msgstr ""
  2086. #. type: table
  2087. #: guix-git/doc/contributing.texi:1823
  2088. 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})."
  2089. msgstr ""
  2090. #. type: item
  2091. #: guix-git/doc/contributing.texi:1824
  2092. #, no-wrap
  2093. msgid "documentation-manual and documentation-cookbook"
  2094. msgstr ""
  2095. #. type: table
  2096. #: guix-git/doc/contributing.texi:1828
  2097. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2098. msgstr ""
  2099. #. type: item
  2100. #: guix-git/doc/contributing.texi:1830
  2101. #, no-wrap
  2102. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2103. msgstr ""
  2104. #. type: itemize
  2105. #: guix-git/doc/contributing.texi:1833
  2106. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2107. msgstr ""
  2108. #. type: item
  2109. #: guix-git/doc/contributing.texi:1833
  2110. #, no-wrap
  2111. msgid "@code{contributing.texi}: Translate this string as"
  2112. msgstr ""
  2113. #. type: itemize
  2114. #: guix-git/doc/contributing.texi:1835
  2115. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2116. msgstr ""
  2117. #. type: item
  2118. #: guix-git/doc/contributing.texi:1835
  2119. #, no-wrap
  2120. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2121. msgstr ""
  2122. #. type: itemize
  2123. #: guix-git/doc/contributing.texi:1838
  2124. 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."
  2125. msgstr ""
  2126. #. type: table
  2127. #: guix-git/doc/contributing.texi:1843
  2128. 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."
  2129. msgstr ""
  2130. #. type: table
  2131. #: guix-git/doc/contributing.texi:1850
  2132. 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."
  2133. msgstr ""
  2134. #. type: table
  2135. #: guix-git/doc/contributing.texi:1858
  2136. 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."
  2137. msgstr ""
  2138. #. type: table
  2139. #: guix-git/doc/contributing.texi:1868
  2140. 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."
  2141. msgstr ""
  2142. #. type: item
  2143. #: guix-git/doc/contributing.texi:1869
  2144. #, no-wrap
  2145. msgid "website"
  2146. msgstr ""
  2147. #. type: table
  2148. #: guix-git/doc/contributing.texi:1876
  2149. 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."
  2150. msgstr ""
  2151. #. type: example
  2152. #: guix-git/doc/contributing.texi:1883
  2153. #, no-wrap
  2154. msgid ""
  2155. "#. TRANSLATORS: Defining Packages is a section name\n"
  2156. "#. in the English (en) manual.\n"
  2157. "#: apps/base/templates/about.scm:64\n"
  2158. "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"
  2159. "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"
  2160. msgstr ""
  2161. #. type: table
  2162. #: guix-git/doc/contributing.texi:1886
  2163. msgid "Note that you need to include the same markups. You cannot skip any."
  2164. msgstr ""
  2165. #. type: Plain text
  2166. #: guix-git/doc/contributing.texi:1894
  2167. 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."
  2168. msgstr ""
  2169. #. type: subsubheading
  2170. #: guix-git/doc/contributing.texi:1895
  2171. #, no-wrap
  2172. msgid "Outside of Weblate"
  2173. msgstr ""
  2174. #. type: Plain text
  2175. #: guix-git/doc/contributing.texi:1898
  2176. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2177. msgstr ""
  2178. #. type: item
  2179. #: guix-git/doc/contributing.texi:1900
  2180. #, no-wrap
  2181. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2182. msgstr ""
  2183. #. type: itemize
  2184. #: guix-git/doc/contributing.texi:1906
  2185. 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."
  2186. msgstr ""
  2187. #. type: item
  2188. #: guix-git/doc/contributing.texi:1906
  2189. #, no-wrap
  2190. msgid "Guix blog posts cannot currently be translated."
  2191. msgstr ""
  2192. #. type: item
  2193. #: guix-git/doc/contributing.texi:1907
  2194. #, no-wrap
  2195. msgid "The installer script (for foreign distributions) is entirely in English."
  2196. msgstr ""
  2197. #. type: item
  2198. #: guix-git/doc/contributing.texi:1908
  2199. #, no-wrap
  2200. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2201. msgstr ""
  2202. #. type: itemize
  2203. #: guix-git/doc/contributing.texi:1910
  2204. msgid "outside of the Guix project. Guile itself is not internationalized."
  2205. msgstr ""
  2206. #. type: item
  2207. #: guix-git/doc/contributing.texi:1910
  2208. #, no-wrap
  2209. msgid "Other manuals linked from this manual or the cookbook might not be"
  2210. msgstr ""
  2211. #. type: itemize
  2212. #: guix-git/doc/contributing.texi:1912
  2213. msgid "translated."
  2214. msgstr ""
  2215. #. type: subsubheading
  2216. #: guix-git/doc/contributing.texi:1914
  2217. #, no-wrap
  2218. msgid "Translation Infrastructure"
  2219. msgstr ""
  2220. #. type: Plain text
  2221. #: guix-git/doc/contributing.texi:1925
  2222. 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."
  2223. msgstr ""
  2224. #. type: Plain text
  2225. #: guix-git/doc/contributing.texi:1929
  2226. 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."
  2227. msgstr ""
  2228. #. type: Plain text
  2229. #: guix-git/doc/contributing.texi:1935
  2230. 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."
  2231. msgstr ""
  2232. #. type: Plain text
  2233. #: guix-git/doc/contributing.texi:1939
  2234. 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."
  2235. msgstr ""
  2236. #. type: item
  2237. #: guix-git/doc/contributing.texi:1941
  2238. #, no-wrap
  2239. msgid "New po files for the @code{guix} and @code{packages} components must"
  2240. msgstr ""
  2241. #. type: itemize
  2242. #: guix-git/doc/contributing.texi:1944
  2243. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2244. msgstr ""
  2245. #. type: item
  2246. #: guix-git/doc/contributing.texi:1944
  2247. #, no-wrap
  2248. msgid "New po files for the @code{documentation-manual} component must be"
  2249. msgstr ""
  2250. #. type: itemize
  2251. #: guix-git/doc/contributing.texi:1950
  2252. 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}."
  2253. msgstr ""
  2254. #. type: item
  2255. #: guix-git/doc/contributing.texi:1950
  2256. #, no-wrap
  2257. msgid "New po files for the @code{documentation-cookbook} component must be"
  2258. msgstr ""
  2259. #. type: itemize
  2260. #: guix-git/doc/contributing.texi:1956
  2261. 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}."
  2262. msgstr ""
  2263. #. type: item
  2264. #: guix-git/doc/contributing.texi:1956
  2265. #, no-wrap
  2266. msgid "New po files for the @code{website} component must be added to the"
  2267. msgstr ""
  2268. #. type: itemize
  2269. #: guix-git/doc/contributing.texi:1961
  2270. 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)."
  2271. msgstr ""
  2272. #. type: Plain text
  2273. #: guix-git/doc/guix.texi:7
  2274. msgid "@documentencoding UTF-8"
  2275. msgstr ""
  2276. #. type: title
  2277. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:131
  2278. #, no-wrap
  2279. msgid "GNU Guix Reference Manual"
  2280. msgstr ""
  2281. #. type: include
  2282. #: guix-git/doc/guix.texi:10
  2283. #, no-wrap
  2284. msgid "version.texi"
  2285. msgstr "version-fa.texi"
  2286. #. type: copying
  2287. #: guix-git/doc/guix.texi:103
  2288. msgid "Copyright @copyright{} 2012-2022 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nikita Gillmann@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 Jan Nieuwenhuizen@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Christopher Baines@* Copyright @copyright{} 2017, 2018, 2019 Clément Lassieur@* Copyright @copyright{} 2017, 2018, 2020, 2021 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021, 2022 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017–2022 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020, 2021, 2022 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Liliana Marie Prikler@* Copyright @copyright{} 2019, 2020, 2021, 2022 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020, 2021 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* Copyright @copyright{} 2021 Maxime Devos@* Copyright @copyright{} 2021 B. Wilson@* Copyright @copyright{} 2021 Xinglu Chen@* Copyright @copyright{} 2021 Raghav Gururajan@* Copyright @copyright{} 2021 Domagoj Stolfa@* Copyright @copyright{} 2021 Hui Lu@* Copyright @copyright{} 2021 pukkamustard@* Copyright @copyright{} 2021 Alice Brenon@* Copyright @copyright{} 2021 Josselin Poiret@* Copyright @copyright{} 2021 Andrew Tropin@* Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2021 Josselin Poiret@*"
  2289. msgstr ""
  2290. #. type: copying
  2291. #: guix-git/doc/guix.texi:110
  2292. 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''."
  2293. msgstr ""
  2294. #. type: dircategory
  2295. #: guix-git/doc/guix.texi:112
  2296. #, no-wrap
  2297. msgid "System administration"
  2298. msgstr ""
  2299. #. type: menuentry
  2300. #: guix-git/doc/guix.texi:120
  2301. msgid "Guix: (guix)"
  2302. msgstr ""
  2303. #. type: menuentry
  2304. #: guix-git/doc/guix.texi:120
  2305. msgid "Manage installed software and system configuration."
  2306. msgstr ""
  2307. #. type: menuentry
  2308. #: guix-git/doc/guix.texi:120
  2309. msgid "guix package: (guix)Invoking guix package"
  2310. msgstr ""
  2311. #. type: menuentry
  2312. #: guix-git/doc/guix.texi:120
  2313. msgid "Installing, removing, and upgrading packages."
  2314. msgstr ""
  2315. #. type: menuentry
  2316. #: guix-git/doc/guix.texi:120
  2317. msgid "guix gc: (guix)Invoking guix gc"
  2318. msgstr ""
  2319. #. type: menuentry
  2320. #: guix-git/doc/guix.texi:120
  2321. msgid "Reclaiming unused disk space."
  2322. msgstr ""
  2323. #. type: menuentry
  2324. #: guix-git/doc/guix.texi:120
  2325. msgid "guix pull: (guix)Invoking guix pull"
  2326. msgstr ""
  2327. #. type: menuentry
  2328. #: guix-git/doc/guix.texi:120
  2329. msgid "Update the list of available packages."
  2330. msgstr ""
  2331. #. type: menuentry
  2332. #: guix-git/doc/guix.texi:120
  2333. msgid "guix system: (guix)Invoking guix system"
  2334. msgstr ""
  2335. #. type: menuentry
  2336. #: guix-git/doc/guix.texi:120
  2337. msgid "Manage the operating system configuration."
  2338. msgstr ""
  2339. #. type: menuentry
  2340. #: guix-git/doc/guix.texi:120
  2341. msgid "guix deploy: (guix)Invoking guix deploy"
  2342. msgstr ""
  2343. #. type: menuentry
  2344. #: guix-git/doc/guix.texi:120
  2345. msgid "Manage operating system configurations for remote hosts."
  2346. msgstr ""
  2347. #. type: dircategory
  2348. #: guix-git/doc/guix.texi:122
  2349. #, no-wrap
  2350. msgid "Software development"
  2351. msgstr ""
  2352. #. type: menuentry
  2353. #: guix-git/doc/guix.texi:128
  2354. msgid "guix shell: (guix)Invoking guix shell"
  2355. msgstr ""
  2356. #. type: menuentry
  2357. #: guix-git/doc/guix.texi:128
  2358. msgid "Creating software environments."
  2359. msgstr ""
  2360. #. type: menuentry
  2361. #: guix-git/doc/guix.texi:128
  2362. msgid "guix environment: (guix)Invoking guix environment"
  2363. msgstr ""
  2364. #. type: menuentry
  2365. #: guix-git/doc/guix.texi:128
  2366. msgid "Building development environments with Guix."
  2367. msgstr ""
  2368. #. type: menuentry
  2369. #: guix-git/doc/guix.texi:128
  2370. msgid "guix build: (guix)Invoking guix build"
  2371. msgstr ""
  2372. #. type: menuentry
  2373. #: guix-git/doc/guix.texi:128
  2374. msgid "Building packages."
  2375. msgstr ""
  2376. #. type: menuentry
  2377. #: guix-git/doc/guix.texi:128
  2378. msgid "guix pack: (guix)Invoking guix pack"
  2379. msgstr ""
  2380. #. type: menuentry
  2381. #: guix-git/doc/guix.texi:128
  2382. msgid "Creating binary bundles."
  2383. msgstr ""
  2384. #. type: subtitle
  2385. #: guix-git/doc/guix.texi:132
  2386. #, no-wrap
  2387. msgid "Using the GNU Guix Functional Package Manager"
  2388. msgstr ""
  2389. #. type: author
  2390. #: guix-git/doc/guix.texi:133
  2391. #, no-wrap
  2392. msgid "The GNU Guix Developers"
  2393. msgstr ""
  2394. #. type: titlepage
  2395. #: guix-git/doc/guix.texi:139
  2396. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2397. msgstr ""
  2398. #. type: node
  2399. #: guix-git/doc/guix.texi:146
  2400. #, no-wrap
  2401. msgid "Top"
  2402. msgstr ""
  2403. #. type: top
  2404. #: guix-git/doc/guix.texi:147
  2405. #, no-wrap
  2406. msgid "GNU Guix"
  2407. msgstr "گیکسِ گنو"
  2408. #. type: Plain text
  2409. #: guix-git/doc/guix.texi:151
  2410. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2411. msgstr ""
  2412. #. type: Plain text
  2413. #: guix-git/doc/guix.texi:163
  2414. 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})."
  2415. msgstr ""
  2416. #. type: chapter
  2417. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:192
  2418. #: guix-git/doc/guix.texi:403 guix-git/doc/guix.texi:404
  2419. #, no-wrap
  2420. msgid "Introduction"
  2421. msgstr ""
  2422. #. type: menuentry
  2423. #: guix-git/doc/guix.texi:182
  2424. msgid "What is Guix about?"
  2425. msgstr ""
  2426. #. type: chapter
  2427. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:197
  2428. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:601
  2429. #, no-wrap
  2430. msgid "Installation"
  2431. msgstr ""
  2432. #. type: menuentry
  2433. #: guix-git/doc/guix.texi:182
  2434. msgid "Installing Guix."
  2435. msgstr ""
  2436. #. type: chapter
  2437. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:213
  2438. #: guix-git/doc/guix.texi:2082 guix-git/doc/guix.texi:2083
  2439. #, no-wrap
  2440. msgid "System Installation"
  2441. msgstr ""
  2442. #. type: menuentry
  2443. #: guix-git/doc/guix.texi:182
  2444. msgid "Installing the whole operating system."
  2445. msgstr ""
  2446. #. type: chapter
  2447. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:2810
  2448. #: guix-git/doc/guix.texi:2811
  2449. #, no-wrap
  2450. msgid "Getting Started"
  2451. msgstr ""
  2452. #. type: menuentry
  2453. #: guix-git/doc/guix.texi:182
  2454. msgid "Your first steps."
  2455. msgstr ""
  2456. #. type: chapter
  2457. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:230
  2458. #: guix-git/doc/guix.texi:3018 guix-git/doc/guix.texi:3019
  2459. #, no-wrap
  2460. msgid "Package Management"
  2461. msgstr ""
  2462. #. type: menuentry
  2463. #: guix-git/doc/guix.texi:182
  2464. msgid "Package installation, upgrade, etc."
  2465. msgstr ""
  2466. #. type: chapter
  2467. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:253
  2468. #: guix-git/doc/guix.texi:5091 guix-git/doc/guix.texi:5092
  2469. #, no-wrap
  2470. msgid "Channels"
  2471. msgstr ""
  2472. #. type: menuentry
  2473. #: guix-git/doc/guix.texi:182
  2474. msgid "Customizing the package collection."
  2475. msgstr ""
  2476. #. type: chapter
  2477. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:267
  2478. #: guix-git/doc/guix.texi:5621 guix-git/doc/guix.texi:5622
  2479. #, no-wrap
  2480. msgid "Development"
  2481. msgstr ""
  2482. #. type: menuentry
  2483. #: guix-git/doc/guix.texi:182
  2484. msgid "Guix-aided software development."
  2485. msgstr ""
  2486. #. type: chapter
  2487. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:275
  2488. #: guix-git/doc/guix.texi:6864 guix-git/doc/guix.texi:6865
  2489. #, no-wrap
  2490. msgid "Programming Interface"
  2491. msgstr ""
  2492. #. type: menuentry
  2493. #: guix-git/doc/guix.texi:182
  2494. msgid "Using Guix in Scheme."
  2495. msgstr ""
  2496. #. type: chapter
  2497. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:295
  2498. #: guix-git/doc/guix.texi:11192 guix-git/doc/guix.texi:11193
  2499. #, no-wrap
  2500. msgid "Utilities"
  2501. msgstr ""
  2502. #. type: menuentry
  2503. #: guix-git/doc/guix.texi:182
  2504. msgid "Package management commands."
  2505. msgstr ""
  2506. #. type: chapter
  2507. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:321
  2508. #: guix-git/doc/guix.texi:14739 guix-git/doc/guix.texi:14740
  2509. #, no-wrap
  2510. msgid "System Configuration"
  2511. msgstr ""
  2512. #. type: menuentry
  2513. #: guix-git/doc/guix.texi:182
  2514. msgid "Configuring the operating system."
  2515. msgstr ""
  2516. #. type: chapter
  2517. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37485
  2518. #: guix-git/doc/guix.texi:37486
  2519. #, no-wrap
  2520. msgid "Home Configuration"
  2521. msgstr ""
  2522. #. type: menuentry
  2523. #: guix-git/doc/guix.texi:182
  2524. msgid "Configuring the home environment."
  2525. msgstr ""
  2526. #. type: chapter
  2527. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38404
  2528. #: guix-git/doc/guix.texi:38405
  2529. #, no-wrap
  2530. msgid "Documentation"
  2531. msgstr "مستندات"
  2532. #. type: menuentry
  2533. #: guix-git/doc/guix.texi:182
  2534. msgid "Browsing software user manuals."
  2535. msgstr ""
  2536. #. type: chapter
  2537. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:390
  2538. #: guix-git/doc/guix.texi:38470 guix-git/doc/guix.texi:38471
  2539. #, no-wrap
  2540. msgid "Installing Debugging Files"
  2541. msgstr ""
  2542. #. type: menuentry
  2543. #: guix-git/doc/guix.texi:182
  2544. msgid "Feeding the debugger."
  2545. msgstr ""
  2546. #. type: chapter
  2547. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38625
  2548. #: guix-git/doc/guix.texi:38626
  2549. #, no-wrap
  2550. msgid "Security Updates"
  2551. msgstr ""
  2552. #. type: menuentry
  2553. #: guix-git/doc/guix.texi:182
  2554. msgid "Deploying security fixes quickly."
  2555. msgstr ""
  2556. #. type: chapter
  2557. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:395
  2558. #: guix-git/doc/guix.texi:38740 guix-git/doc/guix.texi:38741
  2559. #, no-wrap
  2560. msgid "Bootstrapping"
  2561. msgstr ""
  2562. #. type: menuentry
  2563. #: guix-git/doc/guix.texi:182
  2564. msgid "GNU/Linux built from scratch."
  2565. msgstr ""
  2566. #. type: node
  2567. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:39032
  2568. #, no-wrap
  2569. msgid "Porting"
  2570. msgstr ""
  2571. #. type: menuentry
  2572. #: guix-git/doc/guix.texi:182
  2573. msgid "Targeting another platform or kernel."
  2574. msgstr ""
  2575. #. type: menuentry
  2576. #: guix-git/doc/guix.texi:182
  2577. msgid "Your help needed!"
  2578. msgstr ""
  2579. #. type: chapter
  2580. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39080
  2581. #: guix-git/doc/guix.texi:39081
  2582. #, no-wrap
  2583. msgid "Acknowledgments"
  2584. msgstr ""
  2585. #. type: menuentry
  2586. #: guix-git/doc/guix.texi:187
  2587. msgid "Thanks!"
  2588. msgstr "سپاس!"
  2589. #. type: appendix
  2590. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39102
  2591. #: guix-git/doc/guix.texi:39103
  2592. #, no-wrap
  2593. msgid "GNU Free Documentation License"
  2594. msgstr ""
  2595. #. type: menuentry
  2596. #: guix-git/doc/guix.texi:187
  2597. msgid "The license of this manual."
  2598. msgstr ""
  2599. #. type: unnumbered
  2600. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39108
  2601. #: guix-git/doc/guix.texi:39109
  2602. #, no-wrap
  2603. msgid "Concept Index"
  2604. msgstr ""
  2605. #. type: menuentry
  2606. #: guix-git/doc/guix.texi:187
  2607. msgid "Concepts."
  2608. msgstr ""
  2609. #. type: unnumbered
  2610. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39112
  2611. #: guix-git/doc/guix.texi:39113
  2612. #, no-wrap
  2613. msgid "Programming Index"
  2614. msgstr ""
  2615. #. type: menuentry
  2616. #: guix-git/doc/guix.texi:187
  2617. msgid "Data types, functions, and variables."
  2618. msgstr ""
  2619. #. type: menuentry
  2620. #: guix-git/doc/guix.texi:190
  2621. msgid "--- The Detailed Node Listing ---"
  2622. msgstr ""
  2623. #. type: section
  2624. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2625. #: guix-git/doc/guix.texi:432 guix-git/doc/guix.texi:433
  2626. #, no-wrap
  2627. msgid "Managing Software the Guix Way"
  2628. msgstr ""
  2629. #. type: menuentry
  2630. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2631. msgid "What's special."
  2632. msgstr ""
  2633. #. type: section
  2634. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2635. #: guix-git/doc/guix.texi:487 guix-git/doc/guix.texi:488
  2636. #, no-wrap
  2637. msgid "GNU Distribution"
  2638. msgstr ""
  2639. #. type: menuentry
  2640. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2641. msgid "The packages and tools."
  2642. msgstr ""
  2643. #. type: section
  2644. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2645. #: guix-git/doc/guix.texi:642 guix-git/doc/guix.texi:643
  2646. #, no-wrap
  2647. msgid "Binary Installation"
  2648. msgstr ""
  2649. #. type: menuentry
  2650. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2651. msgid "Getting Guix running in no time!"
  2652. msgstr ""
  2653. #. type: section
  2654. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2655. #: guix-git/doc/guix.texi:882 guix-git/doc/guix.texi:883
  2656. #, no-wrap
  2657. msgid "Requirements"
  2658. msgstr ""
  2659. #. type: menuentry
  2660. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2661. msgid "Software needed to build and run Guix."
  2662. msgstr ""
  2663. #. type: section
  2664. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2665. #: guix-git/doc/guix.texi:969 guix-git/doc/guix.texi:970
  2666. #, no-wrap
  2667. msgid "Running the Test Suite"
  2668. msgstr ""
  2669. #. type: menuentry
  2670. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2671. msgid "Testing Guix."
  2672. msgstr ""
  2673. #. type: section
  2674. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:207
  2675. #: guix-git/doc/guix.texi:640 guix-git/doc/guix.texi:1066
  2676. #: guix-git/doc/guix.texi:1067
  2677. #, no-wrap
  2678. msgid "Setting Up the Daemon"
  2679. msgstr ""
  2680. #. type: menuentry
  2681. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2682. msgid "Preparing the build daemon's environment."
  2683. msgstr ""
  2684. #. type: node
  2685. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2686. #: guix-git/doc/guix.texi:1542
  2687. #, no-wrap
  2688. msgid "Invoking guix-daemon"
  2689. msgstr ""
  2690. #. type: menuentry
  2691. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2692. msgid "Running the build daemon."
  2693. msgstr ""
  2694. #. type: section
  2695. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2696. #: guix-git/doc/guix.texi:1844 guix-git/doc/guix.texi:1845
  2697. #, no-wrap
  2698. msgid "Application Setup"
  2699. msgstr ""
  2700. #. type: menuentry
  2701. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2702. msgid "Application-specific setup."
  2703. msgstr ""
  2704. #. type: section
  2705. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2706. #: guix-git/doc/guix.texi:2045 guix-git/doc/guix.texi:2046
  2707. #, no-wrap
  2708. msgid "Upgrading Guix"
  2709. msgstr ""
  2710. #. type: menuentry
  2711. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2712. msgid "Upgrading Guix and its build daemon."
  2713. msgstr ""
  2714. #. type: subsection
  2715. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2716. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1089
  2717. #, no-wrap
  2718. msgid "Build Environment Setup"
  2719. msgstr ""
  2720. #. type: menuentry
  2721. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2722. msgid "Preparing the isolated build environment."
  2723. msgstr ""
  2724. #. type: node
  2725. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2726. #: guix-git/doc/guix.texi:1212
  2727. #, no-wrap
  2728. msgid "Daemon Offload Setup"
  2729. msgstr ""
  2730. #. type: menuentry
  2731. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2732. msgid "Offloading builds to remote machines."
  2733. msgstr ""
  2734. #. type: subsection
  2735. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2736. #: guix-git/doc/guix.texi:1451 guix-git/doc/guix.texi:1452
  2737. #, no-wrap
  2738. msgid "SELinux Support"
  2739. msgstr ""
  2740. #. type: menuentry
  2741. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2742. msgid "Using an SELinux policy for the daemon."
  2743. msgstr ""
  2744. #. type: section
  2745. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:1487
  2746. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2118
  2747. #: guix-git/doc/guix.texi:2119
  2748. #, no-wrap
  2749. msgid "Limitations"
  2750. msgstr ""
  2751. #. type: menuentry
  2752. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2753. msgid "What you can expect."
  2754. msgstr ""
  2755. #. type: section
  2756. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2757. #: guix-git/doc/guix.texi:2144 guix-git/doc/guix.texi:2145
  2758. #, no-wrap
  2759. msgid "Hardware Considerations"
  2760. msgstr ""
  2761. #. type: menuentry
  2762. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2763. msgid "Supported hardware."
  2764. msgstr ""
  2765. #. type: section
  2766. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2767. #: guix-git/doc/guix.texi:2179 guix-git/doc/guix.texi:2180
  2768. #, no-wrap
  2769. msgid "USB Stick and DVD Installation"
  2770. msgstr ""
  2771. #. type: menuentry
  2772. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2773. msgid "Preparing the installation medium."
  2774. msgstr ""
  2775. #. type: section
  2776. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2777. #: guix-git/doc/guix.texi:2260 guix-git/doc/guix.texi:2261
  2778. #, no-wrap
  2779. msgid "Preparing for Installation"
  2780. msgstr ""
  2781. #. type: menuentry
  2782. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2783. msgid "Networking, partitioning, etc."
  2784. msgstr ""
  2785. #. type: section
  2786. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2787. #: guix-git/doc/guix.texi:2283 guix-git/doc/guix.texi:2284
  2788. #, no-wrap
  2789. msgid "Guided Graphical Installation"
  2790. msgstr ""
  2791. #. type: menuentry
  2792. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2793. msgid "Easy graphical installation."
  2794. msgstr ""
  2795. #. type: section
  2796. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:225
  2797. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2314
  2798. #: guix-git/doc/guix.texi:2315
  2799. #, no-wrap
  2800. msgid "Manual Installation"
  2801. msgstr ""
  2802. #. type: menuentry
  2803. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2804. msgid "Manual installation for wizards."
  2805. msgstr ""
  2806. #. type: section
  2807. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2808. #: guix-git/doc/guix.texi:2693 guix-git/doc/guix.texi:2694
  2809. #, no-wrap
  2810. msgid "After System Installation"
  2811. msgstr ""
  2812. #. type: menuentry
  2813. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2814. msgid "When installation succeeded."
  2815. msgstr ""
  2816. #. type: node
  2817. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2818. #: guix-git/doc/guix.texi:2727
  2819. #, no-wrap
  2820. msgid "Installing Guix in a VM"
  2821. msgstr ""
  2822. #. type: menuentry
  2823. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2824. msgid "Guix System playground."
  2825. msgstr ""
  2826. #. type: section
  2827. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2828. #: guix-git/doc/guix.texi:2778 guix-git/doc/guix.texi:2779
  2829. #, no-wrap
  2830. msgid "Building the Installation Image"
  2831. msgstr ""
  2832. #. type: menuentry
  2833. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2834. msgid "How this comes to be."
  2835. msgstr ""
  2836. #. type: node
  2837. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2838. #: guix-git/doc/guix.texi:2334
  2839. #, no-wrap
  2840. msgid "Keyboard Layout and Networking and Partitioning"
  2841. msgstr ""
  2842. #. type: menuentry
  2843. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2844. msgid "Initial setup."
  2845. msgstr ""
  2846. #. type: subsection
  2847. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2848. #: guix-git/doc/guix.texi:2604 guix-git/doc/guix.texi:2605
  2849. #, no-wrap
  2850. msgid "Proceeding with the Installation"
  2851. msgstr ""
  2852. #. type: menuentry
  2853. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2854. msgid "Installing."
  2855. msgstr ""
  2856. #. type: section
  2857. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2858. #: guix-git/doc/guix.texi:3052 guix-git/doc/guix.texi:3053
  2859. #, no-wrap
  2860. msgid "Features"
  2861. msgstr "ویژگی‌ها"
  2862. #. type: menuentry
  2863. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2864. msgid "How Guix will make your life brighter."
  2865. msgstr ""
  2866. #. type: node
  2867. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2868. #: guix-git/doc/guix.texi:3142
  2869. #, no-wrap
  2870. msgid "Invoking guix package"
  2871. msgstr ""
  2872. #. type: menuentry
  2873. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2874. msgid "Package installation, removal, etc."
  2875. msgstr ""
  2876. #. type: section
  2877. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:243
  2878. #: guix-git/doc/guix.texi:3050 guix-git/doc/guix.texi:3772
  2879. #: guix-git/doc/guix.texi:3773
  2880. #, no-wrap
  2881. msgid "Substitutes"
  2882. msgstr ""
  2883. #. type: menuentry
  2884. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2885. msgid "Downloading pre-built binaries."
  2886. msgstr ""
  2887. #. type: section
  2888. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2889. #: guix-git/doc/guix.texi:4108 guix-git/doc/guix.texi:4109
  2890. #, no-wrap
  2891. msgid "Packages with Multiple Outputs"
  2892. msgstr ""
  2893. #. type: menuentry
  2894. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2895. msgid "Single source package, multiple outputs."
  2896. msgstr ""
  2897. #. type: node
  2898. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2899. #: guix-git/doc/guix.texi:4162
  2900. #, no-wrap
  2901. msgid "Invoking guix gc"
  2902. msgstr ""
  2903. #. type: menuentry
  2904. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2905. msgid "Running the garbage collector."
  2906. msgstr ""
  2907. #. type: node
  2908. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2909. #: guix-git/doc/guix.texi:4372
  2910. #, no-wrap
  2911. msgid "Invoking guix pull"
  2912. msgstr ""
  2913. #. type: menuentry
  2914. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2915. msgid "Fetching the latest Guix and distribution."
  2916. msgstr ""
  2917. #. type: node
  2918. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2919. #: guix-git/doc/guix.texi:4623
  2920. #, no-wrap
  2921. msgid "Invoking guix time-machine"
  2922. msgstr ""
  2923. #. type: menuentry
  2924. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2925. msgid "Running an older revision of Guix."
  2926. msgstr ""
  2927. #. type: section
  2928. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2929. #: guix-git/doc/guix.texi:4678 guix-git/doc/guix.texi:4679
  2930. #, no-wrap
  2931. msgid "Inferiors"
  2932. msgstr ""
  2933. #. type: menuentry
  2934. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2935. msgid "Interacting with another revision of Guix."
  2936. msgstr ""
  2937. #. type: node
  2938. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2939. #: guix-git/doc/guix.texi:4806
  2940. #, no-wrap
  2941. msgid "Invoking guix describe"
  2942. msgstr ""
  2943. #. type: menuentry
  2944. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2945. msgid "Display information about your Guix revision."
  2946. msgstr ""
  2947. #. type: node
  2948. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2949. #: guix-git/doc/guix.texi:4901
  2950. #, no-wrap
  2951. msgid "Invoking guix archive"
  2952. msgstr ""
  2953. #. type: menuentry
  2954. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2955. msgid "Exporting and importing store files."
  2956. msgstr ""
  2957. #. type: subsection
  2958. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2959. #: guix-git/doc/guix.texi:3798 guix-git/doc/guix.texi:3799
  2960. #, no-wrap
  2961. msgid "Official Substitute Servers"
  2962. msgstr ""
  2963. #. type: menuentry
  2964. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2965. msgid "One particular source of substitutes."
  2966. msgstr ""
  2967. #. type: subsection
  2968. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2969. #: guix-git/doc/guix.texi:3828 guix-git/doc/guix.texi:3829
  2970. #, no-wrap
  2971. msgid "Substitute Server Authorization"
  2972. msgstr ""
  2973. #. type: menuentry
  2974. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2975. msgid "How to enable or disable substitutes."
  2976. msgstr ""
  2977. #. type: subsection
  2978. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2979. #: guix-git/doc/guix.texi:3898 guix-git/doc/guix.texi:3899
  2980. #, no-wrap
  2981. msgid "Getting Substitutes from Other Servers"
  2982. msgstr ""
  2983. #. type: menuentry
  2984. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2985. msgid "Substitute diversity."
  2986. msgstr ""
  2987. #. type: subsection
  2988. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2989. #: guix-git/doc/guix.texi:4003 guix-git/doc/guix.texi:4004
  2990. #, no-wrap
  2991. msgid "Substitute Authentication"
  2992. msgstr ""
  2993. #. type: menuentry
  2994. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2995. msgid "How Guix verifies substitutes."
  2996. msgstr ""
  2997. #. type: subsection
  2998. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2999. #: guix-git/doc/guix.texi:4038 guix-git/doc/guix.texi:4039
  3000. #, no-wrap
  3001. msgid "Proxy Settings"
  3002. msgstr ""
  3003. #. type: menuentry
  3004. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3005. msgid "How to get substitutes via proxy."
  3006. msgstr ""
  3007. #. type: subsection
  3008. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3009. #: guix-git/doc/guix.texi:4050 guix-git/doc/guix.texi:4051
  3010. #, no-wrap
  3011. msgid "Substitution Failure"
  3012. msgstr ""
  3013. #. type: menuentry
  3014. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3015. msgid "What happens when substitution fails."
  3016. msgstr ""
  3017. #. type: subsection
  3018. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3019. #: guix-git/doc/guix.texi:4078 guix-git/doc/guix.texi:4079
  3020. #, no-wrap
  3021. msgid "On Trusting Binaries"
  3022. msgstr ""
  3023. #. type: menuentry
  3024. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3025. msgid "How can you trust that binary blob?"
  3026. msgstr ""
  3027. #. type: section
  3028. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3029. #: guix-git/doc/guix.texi:5124 guix-git/doc/guix.texi:5125
  3030. #, no-wrap
  3031. msgid "Specifying Additional Channels"
  3032. msgstr ""
  3033. #. type: menuentry
  3034. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3035. msgid "Extending the package collection."
  3036. msgstr ""
  3037. #. type: section
  3038. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3039. #: guix-git/doc/guix.texi:5174 guix-git/doc/guix.texi:5175
  3040. #, no-wrap
  3041. msgid "Using a Custom Guix Channel"
  3042. msgstr ""
  3043. #. type: menuentry
  3044. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3045. msgid "Using a customized Guix."
  3046. msgstr ""
  3047. #. type: section
  3048. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3049. #: guix-git/doc/guix.texi:5196 guix-git/doc/guix.texi:5197
  3050. #, no-wrap
  3051. msgid "Replicating Guix"
  3052. msgstr ""
  3053. #. type: menuentry
  3054. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3055. msgid "Running the @emph{exact same} Guix."
  3056. msgstr ""
  3057. #. type: section
  3058. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3059. #: guix-git/doc/guix.texi:5237 guix-git/doc/guix.texi:5238
  3060. #, no-wrap
  3061. msgid "Channel Authentication"
  3062. msgstr ""
  3063. #. type: menuentry
  3064. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3065. msgid "How Guix verifies what it fetches."
  3066. msgstr ""
  3067. #. type: section
  3068. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3069. #: guix-git/doc/guix.texi:5277 guix-git/doc/guix.texi:5278
  3070. #, no-wrap
  3071. msgid "Channels with Substitutes"
  3072. msgstr ""
  3073. #. type: menuentry
  3074. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3075. msgid "Using channels with available substitutes."
  3076. msgstr ""
  3077. #. type: section
  3078. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3079. #: guix-git/doc/guix.texi:5302 guix-git/doc/guix.texi:5303
  3080. #, no-wrap
  3081. msgid "Creating a Channel"
  3082. msgstr ""
  3083. #. type: menuentry
  3084. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3085. msgid "How to write your custom channel."
  3086. msgstr ""
  3087. #. type: section
  3088. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3089. #: guix-git/doc/guix.texi:5369 guix-git/doc/guix.texi:5370
  3090. #, no-wrap
  3091. msgid "Package Modules in a Sub-directory"
  3092. msgstr ""
  3093. #. type: menuentry
  3094. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3095. msgid "Specifying the channel's package modules location."
  3096. msgstr ""
  3097. #. type: section
  3098. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3099. #: guix-git/doc/guix.texi:5383 guix-git/doc/guix.texi:5384
  3100. #, no-wrap
  3101. msgid "Declaring Channel Dependencies"
  3102. msgstr ""
  3103. #. type: menuentry
  3104. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3105. msgid "How to depend on other channels."
  3106. msgstr ""
  3107. #. type: section
  3108. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3109. #: guix-git/doc/guix.texi:5425 guix-git/doc/guix.texi:5426
  3110. #, no-wrap
  3111. msgid "Specifying Channel Authorizations"
  3112. msgstr ""
  3113. #. type: menuentry
  3114. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3115. msgid "Defining channel authors authorizations."
  3116. msgstr ""
  3117. #. type: section
  3118. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3119. #: guix-git/doc/guix.texi:5528 guix-git/doc/guix.texi:5529
  3120. #, no-wrap
  3121. msgid "Primary URL"
  3122. msgstr ""
  3123. #. type: menuentry
  3124. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3125. msgid "Distinguishing mirror to original."
  3126. msgstr ""
  3127. #. type: section
  3128. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3129. #: guix-git/doc/guix.texi:5551 guix-git/doc/guix.texi:5552
  3130. #, no-wrap
  3131. msgid "Writing Channel News"
  3132. msgstr ""
  3133. #. type: menuentry
  3134. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3135. msgid "Communicating information to channel's users."
  3136. msgstr ""
  3137. #. type: node
  3138. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3139. #: guix-git/doc/guix.texi:5643
  3140. #, no-wrap
  3141. msgid "Invoking guix shell"
  3142. msgstr ""
  3143. #. type: menuentry
  3144. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3145. msgid "Spawning one-off software environments."
  3146. msgstr ""
  3147. #. type: node
  3148. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3149. #: guix-git/doc/guix.texi:6015
  3150. #, no-wrap
  3151. msgid "Invoking guix environment"
  3152. msgstr ""
  3153. #. type: menuentry
  3154. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3155. msgid "Setting up development environments."
  3156. msgstr ""
  3157. #. type: node
  3158. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3159. #: guix-git/doc/guix.texi:6390
  3160. #, no-wrap
  3161. msgid "Invoking guix pack"
  3162. msgstr ""
  3163. #. type: menuentry
  3164. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3165. msgid "Creating software bundles."
  3166. msgstr ""
  3167. #. type: section
  3168. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3169. #: guix-git/doc/guix.texi:6776 guix-git/doc/guix.texi:6777
  3170. #, no-wrap
  3171. msgid "The GCC toolchain"
  3172. msgstr ""
  3173. #. type: menuentry
  3174. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3175. msgid "Working with languages supported by GCC."
  3176. msgstr ""
  3177. #. type: node
  3178. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3179. #: guix-git/doc/guix.texi:6802
  3180. #, no-wrap
  3181. msgid "Invoking guix git authenticate"
  3182. msgstr ""
  3183. #. type: menuentry
  3184. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3185. msgid "Authenticating Git repositories."
  3186. msgstr ""
  3187. #. type: section
  3188. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3189. #: guix-git/doc/guix.texi:6907 guix-git/doc/guix.texi:6908
  3190. #, no-wrap
  3191. msgid "Package Modules"
  3192. msgstr ""
  3193. #. type: menuentry
  3194. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3195. msgid "Packages from the programmer's viewpoint."
  3196. msgstr ""
  3197. #. type: section
  3198. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:290
  3199. #: guix-git/doc/guix.texi:6905 guix-git/doc/guix.texi:6969
  3200. #: guix-git/doc/guix.texi:6970
  3201. #, no-wrap
  3202. msgid "Defining Packages"
  3203. msgstr ""
  3204. #. type: menuentry
  3205. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3206. msgid "Defining new packages."
  3207. msgstr ""
  3208. #. type: section
  3209. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3210. #: guix-git/doc/guix.texi:7634 guix-git/doc/guix.texi:7635
  3211. #, no-wrap
  3212. msgid "Defining Package Variants"
  3213. msgstr ""
  3214. #. type: menuentry
  3215. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3216. msgid "Customizing packages."
  3217. msgstr ""
  3218. #. type: section
  3219. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3220. #: guix-git/doc/guix.texi:7901 guix-git/doc/guix.texi:7902
  3221. #, no-wrap
  3222. msgid "Build Systems"
  3223. msgstr ""
  3224. #. type: menuentry
  3225. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3226. msgid "Specifying how packages are built."
  3227. msgstr ""
  3228. #. type: subsection
  3229. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3230. #: guix-git/doc/guix.texi:8940 guix-git/doc/guix.texi:8941
  3231. #: guix-git/doc/guix.texi:9449
  3232. #, no-wrap
  3233. msgid "Build Phases"
  3234. msgstr ""
  3235. #. type: menuentry
  3236. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3237. msgid "Phases of the build process of a package."
  3238. msgstr ""
  3239. #. type: section
  3240. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3241. #: guix-git/doc/guix.texi:9138 guix-git/doc/guix.texi:9139
  3242. #, no-wrap
  3243. msgid "Build Utilities"
  3244. msgstr ""
  3245. #. type: menuentry
  3246. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3247. msgid "Helpers for your package definitions and more."
  3248. msgstr ""
  3249. #. type: section
  3250. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3251. #: guix-git/doc/guix.texi:9608 guix-git/doc/guix.texi:9609
  3252. #, no-wrap
  3253. msgid "Search Paths"
  3254. msgstr ""
  3255. #. type: menuentry
  3256. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3257. msgid "Declaring search path environment variables."
  3258. msgstr ""
  3259. #. type: section
  3260. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3261. #: guix-git/doc/guix.texi:9787 guix-git/doc/guix.texi:9788
  3262. #, no-wrap
  3263. msgid "The Store"
  3264. msgstr ""
  3265. #. type: menuentry
  3266. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3267. msgid "Manipulating the package store."
  3268. msgstr ""
  3269. #. type: section
  3270. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3271. #: guix-git/doc/guix.texi:9940 guix-git/doc/guix.texi:9941
  3272. #, no-wrap
  3273. msgid "Derivations"
  3274. msgstr ""
  3275. #. type: menuentry
  3276. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3277. msgid "Low-level interface to package derivations."
  3278. msgstr ""
  3279. #. type: section
  3280. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3281. #: guix-git/doc/guix.texi:10134 guix-git/doc/guix.texi:10135
  3282. #, no-wrap
  3283. msgid "The Store Monad"
  3284. msgstr ""
  3285. #. type: menuentry
  3286. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3287. msgid "Purely functional interface to the store."
  3288. msgstr ""
  3289. #. type: section
  3290. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3291. #: guix-git/doc/guix.texi:10453 guix-git/doc/guix.texi:10454
  3292. #, no-wrap
  3293. msgid "G-Expressions"
  3294. msgstr ""
  3295. #. type: menuentry
  3296. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3297. msgid "Manipulating build expressions."
  3298. msgstr ""
  3299. #. type: node
  3300. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3301. #: guix-git/doc/guix.texi:11092
  3302. #, no-wrap
  3303. msgid "Invoking guix repl"
  3304. msgstr ""
  3305. #. type: menuentry
  3306. #: guix-git/doc/guix.texi:288
  3307. msgid "Programming Guix in Guile."
  3308. msgstr ""
  3309. #. type: node
  3310. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3311. #: guix-git/doc/guix.texi:7169
  3312. #, no-wrap
  3313. msgid "package Reference"
  3314. msgstr ""
  3315. #. type: menuentry
  3316. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3317. msgid "The package data type."
  3318. msgstr ""
  3319. #. type: node
  3320. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3321. #: guix-git/doc/guix.texi:7442
  3322. #, no-wrap
  3323. msgid "origin Reference"
  3324. msgstr ""
  3325. #. type: menuentry
  3326. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3327. msgid "The origin data type."
  3328. msgstr ""
  3329. #. type: node
  3330. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3331. #: guix-git/doc/guix.texi:11219
  3332. #, no-wrap
  3333. msgid "Invoking guix build"
  3334. msgstr ""
  3335. #. type: menuentry
  3336. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3337. msgid "Building packages from the command line."
  3338. msgstr ""
  3339. #. type: node
  3340. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3341. #: guix-git/doc/guix.texi:12117
  3342. #, no-wrap
  3343. msgid "Invoking guix edit"
  3344. msgstr ""
  3345. #. type: menuentry
  3346. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3347. msgid "Editing package definitions."
  3348. msgstr ""
  3349. #. type: node
  3350. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3351. #: guix-git/doc/guix.texi:12147
  3352. #, no-wrap
  3353. msgid "Invoking guix download"
  3354. msgstr ""
  3355. #. type: menuentry
  3356. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3357. msgid "Downloading a file and printing its hash."
  3358. msgstr ""
  3359. #. type: node
  3360. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3361. #: guix-git/doc/guix.texi:12205
  3362. #, no-wrap
  3363. msgid "Invoking guix hash"
  3364. msgstr ""
  3365. #. type: menuentry
  3366. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3367. msgid "Computing the cryptographic hash of a file."
  3368. msgstr ""
  3369. #. type: node
  3370. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3371. #: guix-git/doc/guix.texi:12296
  3372. #, no-wrap
  3373. msgid "Invoking guix import"
  3374. msgstr ""
  3375. #. type: menuentry
  3376. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3377. msgid "Importing package definitions."
  3378. msgstr ""
  3379. #. type: node
  3380. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3381. #: guix-git/doc/guix.texi:12831
  3382. #, no-wrap
  3383. msgid "Invoking guix refresh"
  3384. msgstr ""
  3385. #. type: menuentry
  3386. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3387. msgid "Updating package definitions."
  3388. msgstr ""
  3389. #. type: node
  3390. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3391. #: guix-git/doc/guix.texi:13203
  3392. #, no-wrap
  3393. msgid "Invoking guix style"
  3394. msgstr ""
  3395. #. type: menuentry
  3396. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3397. msgid "Styling package definitions."
  3398. msgstr ""
  3399. #. type: node
  3400. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3401. #: guix-git/doc/guix.texi:13341
  3402. #, no-wrap
  3403. msgid "Invoking guix lint"
  3404. msgstr ""
  3405. #. type: menuentry
  3406. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3407. msgid "Finding errors in package definitions."
  3408. msgstr ""
  3409. #. type: node
  3410. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3411. #: guix-git/doc/guix.texi:13517
  3412. #, no-wrap
  3413. msgid "Invoking guix size"
  3414. msgstr ""
  3415. #. type: menuentry
  3416. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3417. msgid "Profiling disk usage."
  3418. msgstr ""
  3419. #. type: node
  3420. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3421. #: guix-git/doc/guix.texi:13661
  3422. #, no-wrap
  3423. msgid "Invoking guix graph"
  3424. msgstr ""
  3425. #. type: menuentry
  3426. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3427. msgid "Visualizing the graph of packages."
  3428. msgstr ""
  3429. #. type: node
  3430. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3431. #: guix-git/doc/guix.texi:13942
  3432. #, no-wrap
  3433. msgid "Invoking guix publish"
  3434. msgstr ""
  3435. #. type: menuentry
  3436. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3437. msgid "Sharing substitutes."
  3438. msgstr ""
  3439. #. type: node
  3440. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3441. #: guix-git/doc/guix.texi:14211
  3442. #, no-wrap
  3443. msgid "Invoking guix challenge"
  3444. msgstr ""
  3445. #. type: menuentry
  3446. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3447. msgid "Challenging substitute servers."
  3448. msgstr ""
  3449. #. type: node
  3450. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3451. #: guix-git/doc/guix.texi:14394
  3452. #, no-wrap
  3453. msgid "Invoking guix copy"
  3454. msgstr ""
  3455. #. type: menuentry
  3456. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3457. msgid "Copying to and from a remote store."
  3458. msgstr ""
  3459. #. type: node
  3460. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3461. #: guix-git/doc/guix.texi:14457
  3462. #, no-wrap
  3463. msgid "Invoking guix container"
  3464. msgstr ""
  3465. #. type: menuentry
  3466. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3467. msgid "Process isolation."
  3468. msgstr ""
  3469. #. type: node
  3470. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3471. #: guix-git/doc/guix.texi:14511
  3472. #, no-wrap
  3473. msgid "Invoking guix weather"
  3474. msgstr ""
  3475. #. type: menuentry
  3476. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3477. msgid "Assessing substitute availability."
  3478. msgstr ""
  3479. #. type: node
  3480. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3481. #: guix-git/doc/guix.texi:14641
  3482. #, no-wrap
  3483. msgid "Invoking guix processes"
  3484. msgstr ""
  3485. #. type: menuentry
  3486. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3487. msgid "Listing client processes."
  3488. msgstr ""
  3489. #. type: section
  3490. #: guix-git/doc/guix.texi:314 guix-git/doc/guix.texi:11220
  3491. #, no-wrap
  3492. msgid "Invoking @command{guix build}"
  3493. msgstr ""
  3494. #. type: subsection
  3495. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3496. #: guix-git/doc/guix.texi:11273 guix-git/doc/guix.texi:11274
  3497. #, no-wrap
  3498. msgid "Common Build Options"
  3499. msgstr ""
  3500. #. type: menuentry
  3501. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3502. msgid "Build options for most commands."
  3503. msgstr ""
  3504. #. type: subsection
  3505. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3506. #: guix-git/doc/guix.texi:11428 guix-git/doc/guix.texi:11429
  3507. #, no-wrap
  3508. msgid "Package Transformation Options"
  3509. msgstr ""
  3510. #. type: menuentry
  3511. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3512. msgid "Creating variants of packages."
  3513. msgstr ""
  3514. #. type: subsection
  3515. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3516. #: guix-git/doc/guix.texi:11799 guix-git/doc/guix.texi:11800
  3517. #, no-wrap
  3518. msgid "Additional Build Options"
  3519. msgstr ""
  3520. #. type: menuentry
  3521. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3522. msgid "Options specific to 'guix build'."
  3523. msgstr ""
  3524. #. type: subsection
  3525. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3526. #: guix-git/doc/guix.texi:12037 guix-git/doc/guix.texi:12038
  3527. #, no-wrap
  3528. msgid "Debugging Build Failures"
  3529. msgstr ""
  3530. #. type: menuentry
  3531. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3532. msgid "Real life packaging experience."
  3533. msgstr ""
  3534. #. type: section
  3535. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3536. #: guix-git/doc/guix.texi:14785 guix-git/doc/guix.texi:14786
  3537. #, no-wrap
  3538. msgid "Using the Configuration System"
  3539. msgstr ""
  3540. #. type: menuentry
  3541. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3542. msgid "Customizing your GNU system."
  3543. msgstr ""
  3544. #. type: node
  3545. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3546. #: guix-git/doc/guix.texi:15036
  3547. #, no-wrap
  3548. msgid "operating-system Reference"
  3549. msgstr ""
  3550. #. type: menuentry
  3551. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3552. msgid "Detail of operating-system declarations."
  3553. msgstr ""
  3554. #. type: section
  3555. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3556. #: guix-git/doc/guix.texi:15259 guix-git/doc/guix.texi:15260
  3557. #, no-wrap
  3558. msgid "File Systems"
  3559. msgstr ""
  3560. #. type: menuentry
  3561. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3562. msgid "Configuring file system mounts."
  3563. msgstr ""
  3564. #. type: section
  3565. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3566. #: guix-git/doc/guix.texi:15612 guix-git/doc/guix.texi:15613
  3567. #, no-wrap
  3568. msgid "Mapped Devices"
  3569. msgstr ""
  3570. #. type: menuentry
  3571. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3572. msgid "Block device extra processing."
  3573. msgstr ""
  3574. #. type: section
  3575. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3576. #: guix-git/doc/guix.texi:15761 guix-git/doc/guix.texi:15762
  3577. #, no-wrap
  3578. msgid "Swap Space"
  3579. msgstr ""
  3580. #. type: menuentry
  3581. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3582. msgid "Backing RAM with disk space."
  3583. msgstr ""
  3584. #. type: section
  3585. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3586. #: guix-git/doc/guix.texi:15878 guix-git/doc/guix.texi:15879
  3587. #, no-wrap
  3588. msgid "User Accounts"
  3589. msgstr ""
  3590. #. type: menuentry
  3591. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3592. msgid "Specifying user accounts."
  3593. msgstr ""
  3594. #. type: section
  3595. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2341
  3596. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16059
  3597. #: guix-git/doc/guix.texi:16060
  3598. #, no-wrap
  3599. msgid "Keyboard Layout"
  3600. msgstr ""
  3601. #. type: menuentry
  3602. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3603. msgid "How the system interprets key strokes."
  3604. msgstr ""
  3605. #. type: section
  3606. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1852
  3607. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16205
  3608. #: guix-git/doc/guix.texi:16206
  3609. #, no-wrap
  3610. msgid "Locales"
  3611. msgstr ""
  3612. #. type: menuentry
  3613. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3614. msgid "Language and cultural convention settings."
  3615. msgstr ""
  3616. #. type: section
  3617. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:346
  3618. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16345
  3619. #: guix-git/doc/guix.texi:16346
  3620. #, no-wrap
  3621. msgid "Services"
  3622. msgstr ""
  3623. #. type: menuentry
  3624. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3625. msgid "Specifying system services."
  3626. msgstr ""
  3627. #. type: section
  3628. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3629. #: guix-git/doc/guix.texi:34607 guix-git/doc/guix.texi:34608
  3630. #, no-wrap
  3631. msgid "Setuid Programs"
  3632. msgstr ""
  3633. #. type: menuentry
  3634. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3635. msgid "Programs running with root privileges."
  3636. msgstr ""
  3637. #. type: section
  3638. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2017
  3639. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34693
  3640. #: guix-git/doc/guix.texi:34694
  3641. #, no-wrap
  3642. msgid "X.509 Certificates"
  3643. msgstr ""
  3644. #. type: menuentry
  3645. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3646. msgid "Authenticating HTTPS servers."
  3647. msgstr ""
  3648. #. type: section
  3649. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1911
  3650. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34756
  3651. #: guix-git/doc/guix.texi:34757
  3652. #, no-wrap
  3653. msgid "Name Service Switch"
  3654. msgstr ""
  3655. #. type: menuentry
  3656. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3657. msgid "Configuring libc's name service switch."
  3658. msgstr ""
  3659. #. type: section
  3660. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3661. #: guix-git/doc/guix.texi:34894 guix-git/doc/guix.texi:34895
  3662. #, no-wrap
  3663. msgid "Initial RAM Disk"
  3664. msgstr ""
  3665. #. type: menuentry
  3666. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3667. msgid "Linux-Libre bootstrapping."
  3668. msgstr ""
  3669. #. type: section
  3670. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3671. #: guix-git/doc/guix.texi:35089 guix-git/doc/guix.texi:35090
  3672. #, no-wrap
  3673. msgid "Bootloader Configuration"
  3674. msgstr ""
  3675. #. type: menuentry
  3676. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3677. msgid "Configuring the boot loader."
  3678. msgstr ""
  3679. #. type: node
  3680. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3681. #: guix-git/doc/guix.texi:35387
  3682. #, no-wrap
  3683. msgid "Invoking guix system"
  3684. msgstr ""
  3685. #. type: menuentry
  3686. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3687. msgid "Instantiating a system configuration."
  3688. msgstr ""
  3689. #. type: node
  3690. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3691. #: guix-git/doc/guix.texi:35995
  3692. #, no-wrap
  3693. msgid "Invoking guix deploy"
  3694. msgstr ""
  3695. #. type: menuentry
  3696. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3697. msgid "Deploying a system configuration to a remote host."
  3698. msgstr ""
  3699. #. type: node
  3700. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3701. #: guix-git/doc/guix.texi:36235
  3702. #, no-wrap
  3703. msgid "Running Guix in a VM"
  3704. msgstr ""
  3705. #. type: menuentry
  3706. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3707. msgid "How to run Guix System in a virtual machine."
  3708. msgstr ""
  3709. #. type: section
  3710. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:382
  3711. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:36369
  3712. #: guix-git/doc/guix.texi:36370
  3713. #, no-wrap
  3714. msgid "Defining Services"
  3715. msgstr ""
  3716. #. type: menuentry
  3717. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3718. msgid "Adding new service definitions."
  3719. msgstr ""
  3720. #. type: menuentry
  3721. #: guix-git/doc/guix.texi:342
  3722. msgid "Home Environment Configuration"
  3723. msgstr ""
  3724. #. type: node
  3725. #: guix-git/doc/guix.texi:344 guix-git/doc/guix.texi:37548
  3726. #: guix-git/doc/guix.texi:38168
  3727. #, no-wrap
  3728. msgid "Invoking guix home"
  3729. msgstr ""
  3730. #. type: menuentry
  3731. #: guix-git/doc/guix.texi:344
  3732. msgid "Instantiating a home environment configuration."
  3733. msgstr ""
  3734. #. type: subsection
  3735. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3736. #: guix-git/doc/guix.texi:16431 guix-git/doc/guix.texi:16432
  3737. #, no-wrap
  3738. msgid "Base Services"
  3739. msgstr ""
  3740. #. type: menuentry
  3741. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3742. msgid "Essential system services."
  3743. msgstr ""
  3744. #. type: subsection
  3745. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3746. #: guix-git/doc/guix.texi:17367 guix-git/doc/guix.texi:17368
  3747. #, no-wrap
  3748. msgid "Scheduled Job Execution"
  3749. msgstr ""
  3750. #. type: menuentry
  3751. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3752. msgid "The mcron service."
  3753. msgstr ""
  3754. #. type: subsection
  3755. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3756. #: guix-git/doc/guix.texi:17517 guix-git/doc/guix.texi:17518
  3757. #, no-wrap
  3758. msgid "Log Rotation"
  3759. msgstr ""
  3760. #. type: menuentry
  3761. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3762. msgid "The rottlog service."
  3763. msgstr ""
  3764. #. type: subsection
  3765. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3766. #: guix-git/doc/guix.texi:17630 guix-git/doc/guix.texi:17631
  3767. #, no-wrap
  3768. msgid "Networking Setup"
  3769. msgstr ""
  3770. #. type: menuentry
  3771. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3772. msgid "Setting up network interfaces."
  3773. msgstr ""
  3774. #. type: subsection
  3775. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3776. #: guix-git/doc/guix.texi:18048 guix-git/doc/guix.texi:18049
  3777. #, no-wrap
  3778. msgid "Networking Services"
  3779. msgstr ""
  3780. #. type: menuentry
  3781. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3782. msgid "Firewall, SSH daemon, etc."
  3783. msgstr ""
  3784. #. type: subsection
  3785. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3786. #: guix-git/doc/guix.texi:19507 guix-git/doc/guix.texi:19508
  3787. #, no-wrap
  3788. msgid "Unattended Upgrades"
  3789. msgstr ""
  3790. #. type: menuentry
  3791. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3792. msgid "Automated system upgrades."
  3793. msgstr ""
  3794. #. type: subsection
  3795. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3796. #: guix-git/doc/guix.texi:19645 guix-git/doc/guix.texi:19646
  3797. #, no-wrap
  3798. msgid "X Window"
  3799. msgstr ""
  3800. #. type: menuentry
  3801. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3802. msgid "Graphical display."
  3803. msgstr ""
  3804. #. type: subsection
  3805. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3806. #: guix-git/doc/guix.texi:20043 guix-git/doc/guix.texi:20044
  3807. #, no-wrap
  3808. msgid "Printing Services"
  3809. msgstr ""
  3810. #. type: menuentry
  3811. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3812. msgid "Local and remote printer support."
  3813. msgstr ""
  3814. #. type: subsection
  3815. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3816. #: guix-git/doc/guix.texi:20896 guix-git/doc/guix.texi:20897
  3817. #, no-wrap
  3818. msgid "Desktop Services"
  3819. msgstr ""
  3820. #. type: menuentry
  3821. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3822. msgid "D-Bus and desktop services."
  3823. msgstr ""
  3824. #. type: subsection
  3825. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3826. #: guix-git/doc/guix.texi:21415 guix-git/doc/guix.texi:21416
  3827. #, no-wrap
  3828. msgid "Sound Services"
  3829. msgstr ""
  3830. #. type: menuentry
  3831. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3832. msgid "ALSA and Pulseaudio services."
  3833. msgstr ""
  3834. #. type: subsection
  3835. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3836. #: guix-git/doc/guix.texi:21588 guix-git/doc/guix.texi:21589
  3837. #, no-wrap
  3838. msgid "Database Services"
  3839. msgstr ""
  3840. #. type: menuentry
  3841. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3842. msgid "SQL databases, key-value stores, etc."
  3843. msgstr ""
  3844. #. type: subsection
  3845. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3846. #: guix-git/doc/guix.texi:21923 guix-git/doc/guix.texi:21924
  3847. #, no-wrap
  3848. msgid "Mail Services"
  3849. msgstr ""
  3850. #. type: menuentry
  3851. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3852. msgid "IMAP, POP3, SMTP, and all that."
  3853. msgstr ""
  3854. #. type: subsection
  3855. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3856. #: guix-git/doc/guix.texi:23782 guix-git/doc/guix.texi:23783
  3857. #, no-wrap
  3858. msgid "Messaging Services"
  3859. msgstr ""
  3860. #. type: menuentry
  3861. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3862. msgid "Messaging services."
  3863. msgstr ""
  3864. #. type: subsection
  3865. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3866. #: guix-git/doc/guix.texi:24285 guix-git/doc/guix.texi:24286
  3867. #, no-wrap
  3868. msgid "Telephony Services"
  3869. msgstr ""
  3870. #. type: menuentry
  3871. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3872. msgid "Telephony services."
  3873. msgstr ""
  3874. #. type: subsection
  3875. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3876. #: guix-git/doc/guix.texi:25516 guix-git/doc/guix.texi:25517
  3877. #, no-wrap
  3878. msgid "Monitoring Services"
  3879. msgstr ""
  3880. #. type: menuentry
  3881. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3882. msgid "Monitoring services."
  3883. msgstr ""
  3884. #. type: subsection
  3885. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3886. #: guix-git/doc/guix.texi:25937 guix-git/doc/guix.texi:25938
  3887. #, no-wrap
  3888. msgid "Kerberos Services"
  3889. msgstr ""
  3890. #. type: menuentry
  3891. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3892. msgid "Kerberos services."
  3893. msgstr ""
  3894. #. type: subsection
  3895. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3896. #: guix-git/doc/guix.texi:26063 guix-git/doc/guix.texi:26064
  3897. #, no-wrap
  3898. msgid "LDAP Services"
  3899. msgstr ""
  3900. #. type: menuentry
  3901. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3902. msgid "LDAP services."
  3903. msgstr ""
  3904. #. type: subsection
  3905. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3906. #: guix-git/doc/guix.texi:26542 guix-git/doc/guix.texi:26543
  3907. #, no-wrap
  3908. msgid "Web Services"
  3909. msgstr ""
  3910. #. type: menuentry
  3911. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3912. msgid "Web servers."
  3913. msgstr ""
  3914. #. type: subsection
  3915. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3916. #: guix-git/doc/guix.texi:27753 guix-git/doc/guix.texi:27754
  3917. #, no-wrap
  3918. msgid "Certificate Services"
  3919. msgstr ""
  3920. #. type: menuentry
  3921. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3922. msgid "TLS certificates via Let's Encrypt."
  3923. msgstr ""
  3924. #. type: subsection
  3925. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3926. #: guix-git/doc/guix.texi:27934 guix-git/doc/guix.texi:27935
  3927. #, no-wrap
  3928. msgid "DNS Services"
  3929. msgstr ""
  3930. #. type: menuentry
  3931. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3932. msgid "DNS daemons."
  3933. msgstr ""
  3934. #. type: subsection
  3935. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3936. #: guix-git/doc/guix.texi:28679 guix-git/doc/guix.texi:28680
  3937. #, no-wrap
  3938. msgid "VPN Services"
  3939. msgstr ""
  3940. #. type: menuentry
  3941. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3942. msgid "VPN daemons."
  3943. msgstr ""
  3944. #. type: subsection
  3945. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3946. #: guix-git/doc/guix.texi:29191 guix-git/doc/guix.texi:29192
  3947. #, no-wrap
  3948. msgid "Network File System"
  3949. msgstr ""
  3950. #. type: menuentry
  3951. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3952. msgid "NFS related services."
  3953. msgstr ""
  3954. #. type: subsection
  3955. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3956. #: guix-git/doc/guix.texi:29387 guix-git/doc/guix.texi:29388
  3957. #, no-wrap
  3958. msgid "Continuous Integration"
  3959. msgstr ""
  3960. #. type: menuentry
  3961. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3962. msgid "Cuirass and Laminar services."
  3963. msgstr ""
  3964. #. type: subsection
  3965. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3966. #: guix-git/doc/guix.texi:29673 guix-git/doc/guix.texi:29674
  3967. #, no-wrap
  3968. msgid "Power Management Services"
  3969. msgstr ""
  3970. #. type: menuentry
  3971. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3972. msgid "Extending battery life."
  3973. msgstr ""
  3974. #. type: subsection
  3975. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3976. #: guix-git/doc/guix.texi:30235 guix-git/doc/guix.texi:30236
  3977. #, no-wrap
  3978. msgid "Audio Services"
  3979. msgstr ""
  3980. #. type: menuentry
  3981. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3982. msgid "The MPD."
  3983. msgstr ""
  3984. #. type: subsection
  3985. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3986. #: guix-git/doc/guix.texi:30354 guix-git/doc/guix.texi:30355
  3987. #, no-wrap
  3988. msgid "Virtualization Services"
  3989. msgstr ""
  3990. #. type: menuentry
  3991. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3992. msgid "Virtualization services."
  3993. msgstr ""
  3994. #. type: subsection
  3995. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3996. #: guix-git/doc/guix.texi:32026 guix-git/doc/guix.texi:32027
  3997. #, no-wrap
  3998. msgid "Version Control Services"
  3999. msgstr ""
  4000. #. type: menuentry
  4001. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4002. msgid "Providing remote access to Git repositories."
  4003. msgstr ""
  4004. #. type: subsection
  4005. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4006. #: guix-git/doc/guix.texi:33362 guix-git/doc/guix.texi:33363
  4007. #, no-wrap
  4008. msgid "Game Services"
  4009. msgstr ""
  4010. #. type: menuentry
  4011. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4012. msgid "Game servers."
  4013. msgstr ""
  4014. #. type: subsection
  4015. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4016. #: guix-git/doc/guix.texi:33394 guix-git/doc/guix.texi:33395
  4017. #, no-wrap
  4018. msgid "PAM Mount Service"
  4019. msgstr ""
  4020. #. type: menuentry
  4021. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4022. msgid "Service to mount volumes when logging in."
  4023. msgstr ""
  4024. #. type: subsection
  4025. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4026. #: guix-git/doc/guix.texi:33477 guix-git/doc/guix.texi:33478
  4027. #, no-wrap
  4028. msgid "Guix Services"
  4029. msgstr ""
  4030. #. type: menuentry
  4031. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4032. msgid "Services relating specifically to Guix."
  4033. msgstr ""
  4034. #. type: subsection
  4035. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4036. #: guix-git/doc/guix.texi:33841 guix-git/doc/guix.texi:33842
  4037. #, no-wrap
  4038. msgid "Linux Services"
  4039. msgstr ""
  4040. #. type: menuentry
  4041. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4042. msgid "Services tied to the Linux kernel."
  4043. msgstr ""
  4044. #. type: subsection
  4045. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4046. #: guix-git/doc/guix.texi:34068 guix-git/doc/guix.texi:34069
  4047. #, no-wrap
  4048. msgid "Hurd Services"
  4049. msgstr ""
  4050. #. type: menuentry
  4051. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4052. msgid "Services specific for a Hurd System."
  4053. msgstr ""
  4054. #. type: subsection
  4055. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4056. #: guix-git/doc/guix.texi:34110 guix-git/doc/guix.texi:34111
  4057. #, no-wrap
  4058. msgid "Miscellaneous Services"
  4059. msgstr ""
  4060. #. type: menuentry
  4061. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4062. msgid "Other services."
  4063. msgstr ""
  4064. #. type: subsection
  4065. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4066. #: guix-git/doc/guix.texi:36384 guix-git/doc/guix.texi:36385
  4067. #, no-wrap
  4068. msgid "Service Composition"
  4069. msgstr ""
  4070. #. type: menuentry
  4071. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4072. msgid "The model for composing services."
  4073. msgstr ""
  4074. #. type: subsection
  4075. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4076. #: guix-git/doc/guix.texi:36440 guix-git/doc/guix.texi:36441
  4077. #, no-wrap
  4078. msgid "Service Types and Services"
  4079. msgstr ""
  4080. #. type: menuentry
  4081. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4082. msgid "Types and services."
  4083. msgstr ""
  4084. #. type: subsection
  4085. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4086. #: guix-git/doc/guix.texi:36577 guix-git/doc/guix.texi:36578
  4087. #, no-wrap
  4088. msgid "Service Reference"
  4089. msgstr ""
  4090. #. type: menuentry
  4091. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4092. msgid "API reference."
  4093. msgstr ""
  4094. #. type: subsection
  4095. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4096. #: guix-git/doc/guix.texi:36896 guix-git/doc/guix.texi:36897
  4097. #, no-wrap
  4098. msgid "Shepherd Services"
  4099. msgstr ""
  4100. #. type: menuentry
  4101. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4102. msgid "A particular type of service."
  4103. msgstr ""
  4104. #. type: subsection
  4105. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4106. #: guix-git/doc/guix.texi:37115 guix-git/doc/guix.texi:37116
  4107. #, fuzzy, no-wrap
  4108. #| msgid "Documentation"
  4109. msgid "Complex Configurations"
  4110. msgstr "مستندات"
  4111. #. type: menuentry
  4112. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4113. msgid "Defining bindings for complex configurations."
  4114. msgstr ""
  4115. #. type: section
  4116. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4117. #: guix-git/doc/guix.texi:38489 guix-git/doc/guix.texi:38490
  4118. #, no-wrap
  4119. msgid "Separate Debug Info"
  4120. msgstr ""
  4121. #. type: menuentry
  4122. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4123. msgid "Installing 'debug' outputs."
  4124. msgstr ""
  4125. #. type: section
  4126. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4127. #: guix-git/doc/guix.texi:38562 guix-git/doc/guix.texi:38563
  4128. #, no-wrap
  4129. msgid "Rebuilding Debug Info"
  4130. msgstr ""
  4131. #. type: menuentry
  4132. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4133. msgid "Building missing debug info."
  4134. msgstr ""
  4135. #. type: node
  4136. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4137. #: guix-git/doc/guix.texi:38781
  4138. #, no-wrap
  4139. msgid "Reduced Binary Seed Bootstrap"
  4140. msgstr ""
  4141. #. type: menuentry
  4142. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4143. msgid "A Bootstrap worthy of GNU."
  4144. msgstr ""
  4145. #. type: section
  4146. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4147. #: guix-git/doc/guix.texi:38856 guix-git/doc/guix.texi:38857
  4148. #, no-wrap
  4149. msgid "Preparing to Use the Bootstrap Binaries"
  4150. msgstr ""
  4151. #. type: menuentry
  4152. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4153. msgid "Building that what matters most."
  4154. msgstr ""
  4155. #. type: cindex
  4156. #: guix-git/doc/guix.texi:406
  4157. #, no-wrap
  4158. msgid "purpose"
  4159. msgstr ""
  4160. #. type: Plain text
  4161. #: guix-git/doc/guix.texi:414
  4162. 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."
  4163. msgstr ""
  4164. #. type: cindex
  4165. #: guix-git/doc/guix.texi:415 guix-git/doc/guix.texi:490
  4166. #, no-wrap
  4167. msgid "Guix System"
  4168. msgstr ""
  4169. #. type: cindex
  4170. #: guix-git/doc/guix.texi:416
  4171. #, no-wrap
  4172. msgid "GuixSD, now Guix System"
  4173. msgstr ""
  4174. #. type: cindex
  4175. #: guix-git/doc/guix.texi:417
  4176. #, no-wrap
  4177. msgid "Guix System Distribution, now Guix System"
  4178. msgstr ""
  4179. #. type: Plain text
  4180. #: guix-git/doc/guix.texi:426
  4181. 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}."
  4182. msgstr ""
  4183. #. type: cindex
  4184. #: guix-git/doc/guix.texi:435
  4185. #, no-wrap
  4186. msgid "user interfaces"
  4187. msgstr ""
  4188. #. type: Plain text
  4189. #: guix-git/doc/guix.texi:441
  4190. 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})."
  4191. msgstr ""
  4192. #. type: cindex
  4193. #: guix-git/doc/guix.texi:441
  4194. #, no-wrap
  4195. msgid "build daemon"
  4196. msgstr ""
  4197. #. type: Plain text
  4198. #: guix-git/doc/guix.texi:445
  4199. 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})."
  4200. msgstr ""
  4201. #. type: cindex
  4202. #: guix-git/doc/guix.texi:446
  4203. #, no-wrap
  4204. msgid "extensibility of the distribution"
  4205. msgstr ""
  4206. #. type: cindex
  4207. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:6929
  4208. #, no-wrap
  4209. msgid "customization, of packages"
  4210. msgstr ""
  4211. #. type: Plain text
  4212. #: guix-git/doc/guix.texi:456
  4213. 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})."
  4214. msgstr ""
  4215. #. type: cindex
  4216. #: guix-git/doc/guix.texi:457
  4217. #, no-wrap
  4218. msgid "functional package management"
  4219. msgstr ""
  4220. #. type: cindex
  4221. #: guix-git/doc/guix.texi:458
  4222. #, no-wrap
  4223. msgid "isolation"
  4224. msgstr ""
  4225. #. type: Plain text
  4226. #: guix-git/doc/guix.texi:473
  4227. 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."
  4228. msgstr ""
  4229. #. type: cindex
  4230. #: guix-git/doc/guix.texi:474 guix-git/doc/guix.texi:9790
  4231. #, no-wrap
  4232. msgid "store"
  4233. msgstr ""
  4234. #. type: Plain text
  4235. #: guix-git/doc/guix.texi:481
  4236. 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."
  4237. msgstr ""
  4238. #. type: Plain text
  4239. #: guix-git/doc/guix.texi:485
  4240. 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})."
  4241. msgstr ""
  4242. #. type: Plain text
  4243. #: guix-git/doc/guix.texi:500
  4244. 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."
  4245. msgstr ""
  4246. #. type: Plain text
  4247. #: guix-git/doc/guix.texi:506
  4248. 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}):"
  4249. msgstr ""
  4250. #. type: example
  4251. #: guix-git/doc/guix.texi:509
  4252. #, no-wrap
  4253. msgid "guix package --list-available\n"
  4254. msgstr ""
  4255. #. type: Plain text
  4256. #: guix-git/doc/guix.texi:515
  4257. 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."
  4258. msgstr ""
  4259. #. type: Plain text
  4260. #: guix-git/doc/guix.texi:517
  4261. msgid "Packages are currently available on the following platforms:"
  4262. msgstr ""
  4263. #. type: item
  4264. #: guix-git/doc/guix.texi:520 guix-git/doc/guix.texi:2188
  4265. #, no-wrap
  4266. msgid "x86_64-linux"
  4267. msgstr ""
  4268. #. type: table
  4269. #: guix-git/doc/guix.texi:522
  4270. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4271. msgstr ""
  4272. #. type: item
  4273. #: guix-git/doc/guix.texi:523 guix-git/doc/guix.texi:2191
  4274. #, no-wrap
  4275. msgid "i686-linux"
  4276. msgstr ""
  4277. #. type: table
  4278. #: guix-git/doc/guix.texi:525
  4279. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4280. msgstr ""
  4281. #. type: item
  4282. #: guix-git/doc/guix.texi:526
  4283. #, no-wrap
  4284. msgid "armhf-linux"
  4285. msgstr ""
  4286. #. type: table
  4287. #: guix-git/doc/guix.texi:530
  4288. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4289. msgstr ""
  4290. #. type: item
  4291. #: guix-git/doc/guix.texi:531
  4292. #, no-wrap
  4293. msgid "aarch64-linux"
  4294. msgstr ""
  4295. #. type: table
  4296. #: guix-git/doc/guix.texi:533
  4297. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4298. msgstr ""
  4299. #. type: item
  4300. #: guix-git/doc/guix.texi:534
  4301. #, no-wrap
  4302. msgid "i586-gnu"
  4303. msgstr ""
  4304. #. type: table
  4305. #: guix-git/doc/guix.texi:537
  4306. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4307. msgstr ""
  4308. #. type: table
  4309. #: guix-git/doc/guix.texi:543
  4310. 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!"
  4311. msgstr ""
  4312. #. type: item
  4313. #: guix-git/doc/guix.texi:544
  4314. #, no-wrap
  4315. msgid "mips64el-linux (unsupported)"
  4316. msgstr ""
  4317. #. type: table
  4318. #: guix-git/doc/guix.texi:550
  4319. 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."
  4320. msgstr ""
  4321. #. type: item
  4322. #: guix-git/doc/guix.texi:551
  4323. #, no-wrap
  4324. msgid "powerpc-linux (unsupported)"
  4325. msgstr ""
  4326. #. type: table
  4327. #: guix-git/doc/guix.texi:556
  4328. msgid "big-endian 32-bit PowerPC processors, specifically the PowerPC G4 with AltiVec support, and Linux-Libre kernel. This configuration is not fully supported and there is no ongoing work to ensure this architecture works."
  4329. msgstr ""
  4330. #. type: table
  4331. #: guix-git/doc/guix.texi:567
  4332. 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!"
  4333. msgstr ""
  4334. #. type: item
  4335. #: guix-git/doc/guix.texi:568
  4336. #, no-wrap
  4337. msgid "riscv64-linux"
  4338. msgstr ""
  4339. #. type: table
  4340. #: guix-git/doc/guix.texi:576
  4341. msgid "little-endian 64-bit RISC-V processors, specifically RV64GC, and Linux-Libre kernel. This playform is available as a \"technology preview\": although it is supported, substitutes are not yet available from the build farm (@pxref{Substitutes}), and some packages may fail to build (@pxref{Tracking Bugs and Patches}). That said, the Guix community is actively working on improving this support, and now is a great time to try it and get involved!"
  4342. msgstr ""
  4343. #. type: Plain text
  4344. #: guix-git/doc/guix.texi:586
  4345. 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."
  4346. msgstr ""
  4347. #. type: Plain text
  4348. #: guix-git/doc/guix.texi:590
  4349. msgid "Guix System is available on all the above platforms except @code{mips64el-linux}, @code{powerpc-linux}, @code{powerpc64le-linux} and @code{riscv64-linux}."
  4350. msgstr ""
  4351. #. type: Plain text
  4352. #: guix-git/doc/guix.texi:594
  4353. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4354. msgstr ""
  4355. #. type: Plain text
  4356. #: guix-git/doc/guix.texi:597
  4357. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4358. msgstr ""
  4359. #. type: cindex
  4360. #: guix-git/doc/guix.texi:603
  4361. #, no-wrap
  4362. msgid "installing Guix"
  4363. msgstr ""
  4364. #. type: quotation
  4365. #: guix-git/doc/guix.texi:615
  4366. 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."
  4367. msgstr ""
  4368. #. type: cindex
  4369. #: guix-git/doc/guix.texi:617 guix-git/doc/guix.texi:1847
  4370. #, no-wrap
  4371. msgid "foreign distro"
  4372. msgstr ""
  4373. #. type: cindex
  4374. #: guix-git/doc/guix.texi:618
  4375. #, no-wrap
  4376. msgid "directories related to foreign distro"
  4377. msgstr ""
  4378. #. type: Plain text
  4379. #: guix-git/doc/guix.texi:623
  4380. 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."
  4381. msgstr ""
  4382. #. type: Plain text
  4383. #: guix-git/doc/guix.texi:626
  4384. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4385. msgstr ""
  4386. #. type: Plain text
  4387. #: guix-git/doc/guix.texi:631
  4388. 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."
  4389. msgstr ""
  4390. #. type: cindex
  4391. #: guix-git/doc/guix.texi:645
  4392. #, no-wrap
  4393. msgid "installing Guix from binaries"
  4394. msgstr ""
  4395. #. type: cindex
  4396. #: guix-git/doc/guix.texi:646
  4397. #, no-wrap
  4398. msgid "installer script"
  4399. msgstr ""
  4400. #. type: Plain text
  4401. #: guix-git/doc/guix.texi:652
  4402. 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."
  4403. msgstr ""
  4404. #. type: quotation
  4405. #: guix-git/doc/guix.texi:660
  4406. 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:"
  4407. msgstr ""
  4408. #. type: example
  4409. #: guix-git/doc/guix.texi:666
  4410. #, no-wrap
  4411. msgid ""
  4412. "cd /tmp\n"
  4413. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4414. "chmod +x guix-install.sh\n"
  4415. "./guix-install.sh\n"
  4416. msgstr ""
  4417. #. type: quotation
  4418. #: guix-git/doc/guix.texi:670
  4419. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4420. msgstr ""
  4421. #. type: Plain text
  4422. #: guix-git/doc/guix.texi:673
  4423. msgid "Installing goes along these lines:"
  4424. msgstr ""
  4425. #. type: cindex
  4426. #: guix-git/doc/guix.texi:676
  4427. #, no-wrap
  4428. msgid "downloading Guix binary"
  4429. msgstr ""
  4430. #. type: enumerate
  4431. #: guix-git/doc/guix.texi:682
  4432. 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})."
  4433. msgstr ""
  4434. #. type: enumerate
  4435. #: guix-git/doc/guix.texi:686
  4436. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4437. msgstr ""
  4438. #. type: example
  4439. #: guix-git/doc/guix.texi:690
  4440. #, no-wrap
  4441. msgid ""
  4442. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4443. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4444. msgstr ""
  4445. #. type: Plain text
  4446. #: guix-git/doc/guix.texi:694 guix-git/doc/guix.texi:2206
  4447. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4448. msgstr ""
  4449. #. type: example
  4450. #: guix-git/doc/guix.texi:698
  4451. #, no-wrap
  4452. msgid ""
  4453. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4454. " -qO - | gpg --import -\n"
  4455. msgstr ""
  4456. #. type: Plain text
  4457. #: guix-git/doc/guix.texi:702 guix-git/doc/guix.texi:2214
  4458. msgid "and rerun the @code{gpg --verify} command."
  4459. msgstr ""
  4460. #. type: Plain text
  4461. #: guix-git/doc/guix.texi:705 guix-git/doc/guix.texi:2217
  4462. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4463. msgstr ""
  4464. #. type: enumerate
  4465. #: guix-git/doc/guix.texi:711
  4466. 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:"
  4467. msgstr ""
  4468. #. type: example
  4469. #: guix-git/doc/guix.texi:717
  4470. #, no-wrap
  4471. msgid ""
  4472. "# cd /tmp\n"
  4473. "# tar --warning=no-timestamp -xf \\\n"
  4474. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4475. "# mv var/guix /var/ && mv gnu /\n"
  4476. msgstr ""
  4477. #. type: enumerate
  4478. #: guix-git/doc/guix.texi:722
  4479. 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)."
  4480. msgstr ""
  4481. #. type: enumerate
  4482. #: guix-git/doc/guix.texi:725
  4483. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4484. msgstr ""
  4485. #. type: enumerate
  4486. #: guix-git/doc/guix.texi:735
  4487. 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."
  4488. msgstr ""
  4489. #. type: enumerate
  4490. #: guix-git/doc/guix.texi:739
  4491. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4492. msgstr ""
  4493. #. type: example
  4494. #: guix-git/doc/guix.texi:744
  4495. #, no-wrap
  4496. msgid ""
  4497. "# mkdir -p ~root/.config/guix\n"
  4498. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4499. " ~root/.config/guix/current\n"
  4500. msgstr ""
  4501. #. type: enumerate
  4502. #: guix-git/doc/guix.texi:748
  4503. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4504. msgstr ""
  4505. #. type: example
  4506. #: guix-git/doc/guix.texi:752
  4507. #, no-wrap
  4508. msgid ""
  4509. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4510. " source $GUIX_PROFILE/etc/profile\n"
  4511. msgstr ""
  4512. #. type: enumerate
  4513. #: guix-git/doc/guix.texi:757
  4514. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4515. msgstr ""
  4516. #. type: enumerate
  4517. #: guix-git/doc/guix.texi:760
  4518. msgid "Run the daemon, and set it to automatically start on boot."
  4519. msgstr ""
  4520. #. type: enumerate
  4521. #: guix-git/doc/guix.texi:763
  4522. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4523. msgstr ""
  4524. #. type: example
  4525. #: guix-git/doc/guix.texi:776
  4526. #, no-wrap
  4527. msgid ""
  4528. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4529. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4530. " /etc/systemd/system/\n"
  4531. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4532. msgstr ""
  4533. #. type: enumerate
  4534. #: guix-git/doc/guix.texi:779
  4535. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4536. msgstr ""
  4537. #. type: example
  4538. #: guix-git/doc/guix.texi:785
  4539. #, no-wrap
  4540. msgid ""
  4541. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4542. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4543. " /etc/systemd/system/\n"
  4544. "# systemctl enable --now guix-gc.timer\n"
  4545. msgstr ""
  4546. #. type: enumerate
  4547. #: guix-git/doc/guix.texi:789
  4548. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4549. msgstr ""
  4550. #. type: itemize
  4551. #: guix-git/doc/guix.texi:791 guix-git/doc/guix.texi:14201
  4552. msgid "If your host distro uses the Upstart init system:"
  4553. msgstr ""
  4554. #. type: example
  4555. #: guix-git/doc/guix.texi:797
  4556. #, no-wrap
  4557. msgid ""
  4558. "# initctl reload-configuration\n"
  4559. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4560. " /etc/init/\n"
  4561. "# start guix-daemon\n"
  4562. msgstr ""
  4563. #. type: enumerate
  4564. #: guix-git/doc/guix.texi:800
  4565. msgid "Otherwise, you can still start the daemon manually with:"
  4566. msgstr ""
  4567. #. type: example
  4568. #: guix-git/doc/guix.texi:804
  4569. #, no-wrap
  4570. msgid ""
  4571. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4572. " --build-users-group=guixbuild\n"
  4573. msgstr ""
  4574. #. type: enumerate
  4575. #: guix-git/doc/guix.texi:809
  4576. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4577. msgstr ""
  4578. #. type: example
  4579. #: guix-git/doc/guix.texi:814
  4580. #, no-wrap
  4581. msgid ""
  4582. "# mkdir -p /usr/local/bin\n"
  4583. "# cd /usr/local/bin\n"
  4584. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4585. msgstr ""
  4586. #. type: enumerate
  4587. #: guix-git/doc/guix.texi:818
  4588. msgid "It is also a good idea to make the Info version of this manual available there:"
  4589. msgstr ""
  4590. #. type: example
  4591. #: guix-git/doc/guix.texi:824
  4592. #, no-wrap
  4593. msgid ""
  4594. "# mkdir -p /usr/local/share/info\n"
  4595. "# cd /usr/local/share/info\n"
  4596. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4597. " do ln -s $i ; done\n"
  4598. msgstr ""
  4599. #. type: enumerate
  4600. #: guix-git/doc/guix.texi:830
  4601. 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)."
  4602. msgstr ""
  4603. #. type: cindex
  4604. #: guix-git/doc/guix.texi:832 guix-git/doc/guix.texi:3832
  4605. #: guix-git/doc/guix.texi:16976
  4606. #, no-wrap
  4607. msgid "substitutes, authorization thereof"
  4608. msgstr ""
  4609. #. type: enumerate
  4610. #: guix-git/doc/guix.texi:836
  4611. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4612. msgstr ""
  4613. #. type: example
  4614. #: guix-git/doc/guix.texi:842
  4615. #, no-wrap
  4616. msgid ""
  4617. "# guix archive --authorize < \\\n"
  4618. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4619. "# guix archive --authorize < \\\n"
  4620. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4621. msgstr ""
  4622. #. type: quotation
  4623. #: guix-git/doc/guix.texi:849
  4624. 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."
  4625. msgstr ""
  4626. #. type: enumerate
  4627. #: guix-git/doc/guix.texi:854
  4628. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4629. msgstr ""
  4630. #. type: Plain text
  4631. #: guix-git/doc/guix.texi:857
  4632. msgid "Voilà, the installation is complete!"
  4633. msgstr ""
  4634. #. type: Plain text
  4635. #: guix-git/doc/guix.texi:860
  4636. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4637. msgstr ""
  4638. #. type: example
  4639. #: guix-git/doc/guix.texi:863
  4640. #, no-wrap
  4641. msgid "# guix install hello\n"
  4642. msgstr ""
  4643. #. type: Plain text
  4644. #: guix-git/doc/guix.texi:867
  4645. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4646. msgstr ""
  4647. #. type: example
  4648. #: guix-git/doc/guix.texi:870
  4649. #, no-wrap
  4650. msgid "make guix-binary.@var{system}.tar.xz\n"
  4651. msgstr ""
  4652. #. type: Plain text
  4653. #: guix-git/doc/guix.texi:874
  4654. msgid "...@: which, in turn, runs:"
  4655. msgstr ""
  4656. #. type: example
  4657. #: guix-git/doc/guix.texi:878
  4658. #, no-wrap
  4659. msgid ""
  4660. "guix pack -s @var{system} --localstatedir \\\n"
  4661. " --profile-name=current-guix guix\n"
  4662. msgstr ""
  4663. #. type: Plain text
  4664. #: guix-git/doc/guix.texi:881
  4665. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4666. msgstr ""
  4667. #. type: Plain text
  4668. #: guix-git/doc/guix.texi:889
  4669. 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."
  4670. msgstr ""
  4671. #. type: cindex
  4672. #: guix-git/doc/guix.texi:890
  4673. #, no-wrap
  4674. msgid "official website"
  4675. msgstr ""
  4676. #. type: Plain text
  4677. #: guix-git/doc/guix.texi:893
  4678. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4679. msgstr ""
  4680. #. type: Plain text
  4681. #: guix-git/doc/guix.texi:895
  4682. msgid "GNU Guix depends on the following packages:"
  4683. msgstr ""
  4684. #. type: item
  4685. #: guix-git/doc/guix.texi:897
  4686. #, no-wrap
  4687. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x,"
  4688. msgstr ""
  4689. #. type: itemize
  4690. #: guix-git/doc/guix.texi:899
  4691. msgid "version 3.0.3 or later;"
  4692. msgstr ""
  4693. #. type: item
  4694. #: guix-git/doc/guix.texi:899
  4695. #, no-wrap
  4696. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4697. msgstr ""
  4698. #. type: itemize
  4699. #: guix-git/doc/guix.texi:901
  4700. msgid "0.1.0 or later;"
  4701. msgstr ""
  4702. #. type: itemize
  4703. #: guix-git/doc/guix.texi:905
  4704. 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});"
  4705. msgstr ""
  4706. #. type: itemize
  4707. #: guix-git/doc/guix.texi:908
  4708. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4709. msgstr ""
  4710. #. type: item
  4711. #: guix-git/doc/guix.texi:908
  4712. #, no-wrap
  4713. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4714. msgstr ""
  4715. #. type: itemize
  4716. #: guix-git/doc/guix.texi:910
  4717. msgid "version 0.1.0 or later;"
  4718. msgstr ""
  4719. #. type: item
  4720. #: guix-git/doc/guix.texi:910
  4721. #, no-wrap
  4722. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4723. msgstr ""
  4724. #. type: item
  4725. #: guix-git/doc/guix.texi:911
  4726. #, no-wrap
  4727. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4728. msgstr ""
  4729. #. type: itemize
  4730. #: guix-git/doc/guix.texi:915
  4731. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4732. msgstr ""
  4733. #. type: item
  4734. #: guix-git/doc/guix.texi:915
  4735. #, no-wrap
  4736. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4737. msgstr ""
  4738. #. type: itemize
  4739. #: guix-git/doc/guix.texi:917
  4740. msgid "4.3.0 or later;"
  4741. msgstr ""
  4742. #. type: item
  4743. #: guix-git/doc/guix.texi:917
  4744. #, no-wrap
  4745. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4746. msgstr ""
  4747. #. type: Plain text
  4748. #: guix-git/doc/guix.texi:921
  4749. msgid "The following dependencies are optional:"
  4750. msgstr ""
  4751. #. type: itemize
  4752. #: guix-git/doc/guix.texi:929
  4753. 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."
  4754. msgstr ""
  4755. #. type: itemize
  4756. #: guix-git/doc/guix.texi:934
  4757. 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})."
  4758. msgstr ""
  4759. #. type: itemize
  4760. #: guix-git/doc/guix.texi:938
  4761. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4762. msgstr ""
  4763. #. type: itemize
  4764. #: guix-git/doc/guix.texi:943
  4765. 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})."
  4766. msgstr ""
  4767. #. type: itemize
  4768. #: guix-git/doc/guix.texi:947
  4769. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4770. msgstr ""
  4771. #. type: Plain text
  4772. #: guix-git/doc/guix.texi:951
  4773. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4774. msgstr ""
  4775. #. type: item
  4776. #: guix-git/doc/guix.texi:953
  4777. #, no-wrap
  4778. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4779. msgstr ""
  4780. #. type: item
  4781. #: guix-git/doc/guix.texi:954
  4782. #, no-wrap
  4783. msgid "@url{https://sqlite.org, SQLite 3};"
  4784. msgstr ""
  4785. #. type: item
  4786. #: guix-git/doc/guix.texi:955
  4787. #, no-wrap
  4788. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4789. msgstr ""
  4790. #. type: itemize
  4791. #: guix-git/doc/guix.texi:957
  4792. msgid "C++11 standard."
  4793. msgstr ""
  4794. #. type: cindex
  4795. #: guix-git/doc/guix.texi:959
  4796. #, no-wrap
  4797. msgid "state directory"
  4798. msgstr ""
  4799. #. type: Plain text
  4800. #: guix-git/doc/guix.texi:968
  4801. 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})."
  4802. msgstr ""
  4803. #. type: cindex
  4804. #: guix-git/doc/guix.texi:972
  4805. #, no-wrap
  4806. msgid "test suite"
  4807. msgstr ""
  4808. #. type: Plain text
  4809. #: guix-git/doc/guix.texi:978
  4810. 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:"
  4811. msgstr ""
  4812. #. type: example
  4813. #: guix-git/doc/guix.texi:981
  4814. #, no-wrap
  4815. msgid "make check\n"
  4816. msgstr ""
  4817. #. type: Plain text
  4818. #: guix-git/doc/guix.texi:988
  4819. 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."
  4820. msgstr ""
  4821. #. type: Plain text
  4822. #: guix-git/doc/guix.texi:991
  4823. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4824. msgstr ""
  4825. #. type: example
  4826. #: guix-git/doc/guix.texi:994
  4827. #, no-wrap
  4828. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4829. msgstr ""
  4830. #. type: Plain text
  4831. #: guix-git/doc/guix.texi:999
  4832. 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:"
  4833. msgstr ""
  4834. #. type: example
  4835. #: guix-git/doc/guix.texi:1002
  4836. #, no-wrap
  4837. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4838. msgstr ""
  4839. #. type: Plain text
  4840. #: guix-git/doc/guix.texi:1010
  4841. 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'':"
  4842. msgstr ""
  4843. #. type: example
  4844. #: guix-git/doc/guix.texi:1014
  4845. #, no-wrap
  4846. msgid ""
  4847. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4848. "make check TESTS=\"tests/packages.scm\"\n"
  4849. msgstr ""
  4850. #. type: Plain text
  4851. #: guix-git/doc/guix.texi:1020
  4852. 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:"
  4853. msgstr ""
  4854. #. type: example
  4855. #: guix-git/doc/guix.texi:1023
  4856. #, no-wrap
  4857. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4858. msgstr ""
  4859. #. type: Plain text
  4860. #: guix-git/doc/guix.texi:1028
  4861. 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}:"
  4862. msgstr ""
  4863. #. type: example
  4864. #: guix-git/doc/guix.texi:1031
  4865. #, no-wrap
  4866. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4867. msgstr ""
  4868. #. type: Plain text
  4869. #: guix-git/doc/guix.texi:1035
  4870. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4871. msgstr ""
  4872. #. type: Plain text
  4873. #: guix-git/doc/guix.texi:1040
  4874. 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."
  4875. msgstr ""
  4876. #. type: Plain text
  4877. #: guix-git/doc/guix.texi:1044
  4878. 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:"
  4879. msgstr ""
  4880. #. type: example
  4881. #: guix-git/doc/guix.texi:1047
  4882. #, no-wrap
  4883. msgid "make check-system\n"
  4884. msgstr ""
  4885. #. type: Plain text
  4886. #: guix-git/doc/guix.texi:1051
  4887. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4888. msgstr ""
  4889. #. type: example
  4890. #: guix-git/doc/guix.texi:1054
  4891. #, no-wrap
  4892. msgid "make check-system TESTS=\"basic mcron\"\n"
  4893. msgstr ""
  4894. #. type: Plain text
  4895. #: guix-git/doc/guix.texi:1062
  4896. 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."
  4897. msgstr ""
  4898. #. type: Plain text
  4899. #: guix-git/doc/guix.texi:1065
  4900. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4901. msgstr ""
  4902. #. type: cindex
  4903. #: guix-git/doc/guix.texi:1069
  4904. #, no-wrap
  4905. msgid "daemon"
  4906. msgstr ""
  4907. #. type: Plain text
  4908. #: guix-git/doc/guix.texi:1077
  4909. 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."
  4910. msgstr ""
  4911. #. type: Plain text
  4912. #: guix-git/doc/guix.texi:1081
  4913. 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."
  4914. msgstr ""
  4915. #. type: cindex
  4916. #: guix-git/doc/guix.texi:1091 guix-git/doc/guix.texi:1559
  4917. #, no-wrap
  4918. msgid "build environment"
  4919. msgstr ""
  4920. #. type: Plain text
  4921. #: guix-git/doc/guix.texi:1099
  4922. 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."
  4923. msgstr ""
  4924. #. type: cindex
  4925. #: guix-git/doc/guix.texi:1100
  4926. #, no-wrap
  4927. msgid "build users"
  4928. msgstr ""
  4929. #. type: Plain text
  4930. #: guix-git/doc/guix.texi:1111
  4931. 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})."
  4932. msgstr ""
  4933. #. type: Plain text
  4934. #: guix-git/doc/guix.texi:1114
  4935. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4936. msgstr ""
  4937. #. type: example
  4938. #: guix-git/doc/guix.texi:1126
  4939. #, no-wrap
  4940. msgid ""
  4941. "# groupadd --system guixbuild\n"
  4942. "# for i in $(seq -w 1 10);\n"
  4943. " do\n"
  4944. " useradd -g guixbuild -G guixbuild \\\n"
  4945. " -d /var/empty -s $(which nologin) \\\n"
  4946. " -c \"Guix build user $i\" --system \\\n"
  4947. " guixbuilder$i;\n"
  4948. " done\n"
  4949. msgstr ""
  4950. #. type: Plain text
  4951. #: guix-git/doc/guix.texi:1136
  4952. 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})."
  4953. msgstr ""
  4954. #. type: Plain text
  4955. #: guix-git/doc/guix.texi:1145
  4956. 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}.}:"
  4957. msgstr ""
  4958. #. type: example
  4959. #: guix-git/doc/guix.texi:1148 guix-git/doc/guix.texi:1552
  4960. #, no-wrap
  4961. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4962. msgstr ""
  4963. #. type: cindex
  4964. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1557
  4965. #, no-wrap
  4966. msgid "chroot"
  4967. msgstr ""
  4968. #. type: Plain text
  4969. #: guix-git/doc/guix.texi:1155
  4970. 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:"
  4971. msgstr ""
  4972. #. type: itemize
  4973. #: guix-git/doc/guix.texi:1163
  4974. 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.};"
  4975. msgstr ""
  4976. #. type: itemize
  4977. #: guix-git/doc/guix.texi:1167
  4978. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4979. msgstr ""
  4980. #. type: itemize
  4981. #: guix-git/doc/guix.texi:1171
  4982. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4983. msgstr ""
  4984. #. type: itemize
  4985. #: guix-git/doc/guix.texi:1174
  4986. msgid "@file{/etc/group} with an entry for the user's group;"
  4987. msgstr ""
  4988. #. type: itemize
  4989. #: guix-git/doc/guix.texi:1178
  4990. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4991. msgstr ""
  4992. #. type: itemize
  4993. #: guix-git/doc/guix.texi:1181
  4994. msgid "a writable @file{/tmp} directory."
  4995. msgstr ""
  4996. #. type: Plain text
  4997. #: guix-git/doc/guix.texi:1187
  4998. msgid "The chroot does not contain a @file{/home} directory, and the @env{HOME} environment variable is set to the non-existent @file{/homeless-shelter}. This helps to highlight inappropriate uses of @env{HOME} in the build scripts of packages."
  4999. msgstr ""
  5000. #. type: Plain text
  5001. #: guix-git/doc/guix.texi:1195
  5002. 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."
  5003. msgstr ""
  5004. #. type: vindex
  5005. #: guix-git/doc/guix.texi:1196 guix-git/doc/guix.texi:4041
  5006. #, no-wrap
  5007. msgid "http_proxy"
  5008. msgstr ""
  5009. #. type: vindex
  5010. #: guix-git/doc/guix.texi:1197 guix-git/doc/guix.texi:4042
  5011. #, no-wrap
  5012. msgid "https_proxy"
  5013. msgstr ""
  5014. #. type: Plain text
  5015. #: guix-git/doc/guix.texi:1202
  5016. 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})."
  5017. msgstr ""
  5018. #. type: Plain text
  5019. #: guix-git/doc/guix.texi:1210
  5020. 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."
  5021. msgstr ""
  5022. #. type: subsection
  5023. #: guix-git/doc/guix.texi:1213
  5024. #, no-wrap
  5025. msgid "Using the Offload Facility"
  5026. msgstr ""
  5027. #. type: cindex
  5028. #: guix-git/doc/guix.texi:1215 guix-git/doc/guix.texi:1618
  5029. #, no-wrap
  5030. msgid "offloading"
  5031. msgstr ""
  5032. #. type: cindex
  5033. #: guix-git/doc/guix.texi:1216
  5034. #, no-wrap
  5035. msgid "build hook"
  5036. msgstr ""
  5037. #. type: Plain text
  5038. #: guix-git/doc/guix.texi:1235
  5039. 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:"
  5040. msgstr ""
  5041. #. type: enumerate
  5042. #: guix-git/doc/guix.texi:1241
  5043. 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."
  5044. msgstr ""
  5045. #. type: enumerate
  5046. #: guix-git/doc/guix.texi:1245
  5047. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  5048. msgstr ""
  5049. #. type: enumerate
  5050. #: guix-git/doc/guix.texi:1250
  5051. 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."
  5052. msgstr ""
  5053. #. type: enumerate
  5054. #: guix-git/doc/guix.texi:1253
  5055. msgid "Disk space availability. More than a 100 MiB must be available."
  5056. msgstr ""
  5057. #. type: Plain text
  5058. #: guix-git/doc/guix.texi:1256
  5059. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  5060. msgstr ""
  5061. #. type: lisp
  5062. #: guix-git/doc/guix.texi:1264
  5063. #, no-wrap
  5064. msgid ""
  5065. "(list (build-machine\n"
  5066. " (name \"eightysix.example.org\")\n"
  5067. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  5068. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  5069. " (user \"bob\")\n"
  5070. " (speed 2.)) ;incredibly fast!\n"
  5071. "\n"
  5072. msgstr ""
  5073. #. type: lisp
  5074. #: guix-git/doc/guix.texi:1270
  5075. #, no-wrap
  5076. msgid ""
  5077. " (build-machine\n"
  5078. " (name \"armeight.example.org\")\n"
  5079. " (systems (list \"aarch64-linux\"))\n"
  5080. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  5081. " (user \"alice\")\n"
  5082. "\n"
  5083. msgstr ""
  5084. #. type: lisp
  5085. #: guix-git/doc/guix.texi:1274
  5086. #, no-wrap
  5087. msgid ""
  5088. " ;; Remember 'guix offload' is spawned by\n"
  5089. " ;; 'guix-daemon' as root.\n"
  5090. " (private-key \"/root/.ssh/identity-for-guix\")))\n"
  5091. msgstr ""
  5092. #. type: Plain text
  5093. #: guix-git/doc/guix.texi:1280
  5094. 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."
  5095. msgstr ""
  5096. #. type: Plain text
  5097. #: guix-git/doc/guix.texi:1289
  5098. 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."
  5099. msgstr ""
  5100. #. type: deftp
  5101. #: guix-git/doc/guix.texi:1290
  5102. #, no-wrap
  5103. msgid "{Data Type} build-machine"
  5104. msgstr ""
  5105. #. type: deftp
  5106. #: guix-git/doc/guix.texi:1293
  5107. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  5108. msgstr ""
  5109. #. type: item
  5110. #: guix-git/doc/guix.texi:1296 guix-git/doc/guix.texi:7179
  5111. #: guix-git/doc/guix.texi:15924 guix-git/doc/guix.texi:16023
  5112. #: guix-git/doc/guix.texi:16264 guix-git/doc/guix.texi:17801
  5113. #: guix-git/doc/guix.texi:18422 guix-git/doc/guix.texi:18696
  5114. #: guix-git/doc/guix.texi:21789 guix-git/doc/guix.texi:24699
  5115. #: guix-git/doc/guix.texi:25998 guix-git/doc/guix.texi:26610
  5116. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:27005
  5117. #: guix-git/doc/guix.texi:29168 guix-git/doc/guix.texi:31537
  5118. #: guix-git/doc/guix.texi:31557 guix-git/doc/guix.texi:34317
  5119. #: guix-git/doc/guix.texi:34334 guix-git/doc/guix.texi:34873
  5120. #: guix-git/doc/guix.texi:36699 guix-git/doc/guix.texi:37026
  5121. #, no-wrap
  5122. msgid "name"
  5123. msgstr "نام"
  5124. #. type: table
  5125. #: guix-git/doc/guix.texi:1298
  5126. msgid "The host name of the remote machine."
  5127. msgstr ""
  5128. #. type: item
  5129. #: guix-git/doc/guix.texi:1299
  5130. #, no-wrap
  5131. msgid "systems"
  5132. msgstr ""
  5133. #. type: table
  5134. #: guix-git/doc/guix.texi:1302
  5135. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  5136. msgstr ""
  5137. #. type: code{#1}
  5138. #: guix-git/doc/guix.texi:1303 guix-git/doc/guix.texi:18432
  5139. #, no-wrap
  5140. msgid "user"
  5141. msgstr ""
  5142. #. type: table
  5143. #: guix-git/doc/guix.texi:1307
  5144. 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."
  5145. msgstr ""
  5146. #. type: item
  5147. #: guix-git/doc/guix.texi:1308
  5148. #, no-wrap
  5149. msgid "host-key"
  5150. msgstr ""
  5151. #. type: table
  5152. #: guix-git/doc/guix.texi:1312
  5153. 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:"
  5154. msgstr ""
  5155. #. type: example
  5156. #: guix-git/doc/guix.texi:1315
  5157. #, no-wrap
  5158. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5159. msgstr ""
  5160. #. type: table
  5161. #: guix-git/doc/guix.texi:1320
  5162. 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}."
  5163. msgstr ""
  5164. #. type: table
  5165. #: guix-git/doc/guix.texi:1325
  5166. 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}):"
  5167. msgstr ""
  5168. #. type: example
  5169. #: guix-git/doc/guix.texi:1329
  5170. #, no-wrap
  5171. msgid ""
  5172. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5173. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5174. msgstr ""
  5175. #. type: deftp
  5176. #: guix-git/doc/guix.texi:1334
  5177. msgid "A number of optional fields may be specified:"
  5178. msgstr ""
  5179. #. type: item
  5180. #: guix-git/doc/guix.texi:1337 guix-git/doc/guix.texi:36175
  5181. #, no-wrap
  5182. msgid "@code{port} (default: @code{22})"
  5183. msgstr ""
  5184. #. type: table
  5185. #: guix-git/doc/guix.texi:1339
  5186. msgid "Port number of SSH server on the machine."
  5187. msgstr ""
  5188. #. type: item
  5189. #: guix-git/doc/guix.texi:1340
  5190. #, no-wrap
  5191. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5192. msgstr ""
  5193. #. type: table
  5194. #: guix-git/doc/guix.texi:1343
  5195. 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."
  5196. msgstr ""
  5197. #. type: table
  5198. #: guix-git/doc/guix.texi:1346
  5199. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5200. msgstr ""
  5201. #. type: item
  5202. #: guix-git/doc/guix.texi:1347
  5203. #, no-wrap
  5204. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5205. msgstr ""
  5206. #. type: itemx
  5207. #: guix-git/doc/guix.texi:1348
  5208. #, no-wrap
  5209. msgid "@code{compression-level} (default: @code{3})"
  5210. msgstr ""
  5211. #. type: table
  5212. #: guix-git/doc/guix.texi:1350
  5213. msgid "The SSH-level compression methods and compression level requested."
  5214. msgstr ""
  5215. #. type: table
  5216. #: guix-git/doc/guix.texi:1353
  5217. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5218. msgstr ""
  5219. #. type: item
  5220. #: guix-git/doc/guix.texi:1354
  5221. #, no-wrap
  5222. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5223. msgstr ""
  5224. #. type: table
  5225. #: guix-git/doc/guix.texi:1357
  5226. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5227. msgstr ""
  5228. #. type: item
  5229. #: guix-git/doc/guix.texi:1358
  5230. #, no-wrap
  5231. msgid "@code{overload-threshold} (default: @code{0.6})"
  5232. msgstr ""
  5233. #. type: table
  5234. #: guix-git/doc/guix.texi:1364
  5235. 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}."
  5236. msgstr ""
  5237. #. type: item
  5238. #: guix-git/doc/guix.texi:1365
  5239. #, no-wrap
  5240. msgid "@code{parallel-builds} (default: @code{1})"
  5241. msgstr ""
  5242. #. type: table
  5243. #: guix-git/doc/guix.texi:1367
  5244. msgid "The number of builds that may run in parallel on the machine."
  5245. msgstr ""
  5246. #. type: item
  5247. #: guix-git/doc/guix.texi:1368
  5248. #, no-wrap
  5249. msgid "@code{speed} (default: @code{1.0})"
  5250. msgstr ""
  5251. #. type: table
  5252. #: guix-git/doc/guix.texi:1371
  5253. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5254. msgstr ""
  5255. #. type: item
  5256. #: guix-git/doc/guix.texi:1372
  5257. #, no-wrap
  5258. msgid "@code{features} (default: @code{'()})"
  5259. msgstr ""
  5260. #. type: table
  5261. #: guix-git/doc/guix.texi:1377
  5262. 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."
  5263. msgstr ""
  5264. #. type: Plain text
  5265. #: guix-git/doc/guix.texi:1383
  5266. 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:"
  5267. msgstr ""
  5268. #. type: example
  5269. #: guix-git/doc/guix.texi:1386
  5270. #, no-wrap
  5271. msgid "ssh build-machine guix repl --version\n"
  5272. msgstr ""
  5273. #. type: Plain text
  5274. #: guix-git/doc/guix.texi:1393
  5275. 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}):"
  5276. msgstr ""
  5277. #. type: example
  5278. #: guix-git/doc/guix.texi:1396 guix-git/doc/guix.texi:36079
  5279. #, no-wrap
  5280. msgid "# guix archive --generate-key\n"
  5281. msgstr ""
  5282. #. type: Plain text
  5283. #: guix-git/doc/guix.texi:1401
  5284. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5285. msgstr ""
  5286. #. type: example
  5287. #: guix-git/doc/guix.texi:1404
  5288. #, no-wrap
  5289. msgid "# guix archive --authorize < master-public-key.txt\n"
  5290. msgstr ""
  5291. #. type: Plain text
  5292. #: guix-git/doc/guix.texi:1408
  5293. msgid "Likewise, the master machine must authorize the key of each build machine."
  5294. msgstr ""
  5295. #. type: Plain text
  5296. #: guix-git/doc/guix.texi:1414
  5297. 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."
  5298. msgstr ""
  5299. #. type: cindex
  5300. #: guix-git/doc/guix.texi:1415
  5301. #, no-wrap
  5302. msgid "offload test"
  5303. msgstr ""
  5304. #. type: Plain text
  5305. #: guix-git/doc/guix.texi:1418
  5306. msgid "To test whether your setup is operational, run this command on the master node:"
  5307. msgstr ""
  5308. #. type: example
  5309. #: guix-git/doc/guix.texi:1421
  5310. #, no-wrap
  5311. msgid "# guix offload test\n"
  5312. msgstr ""
  5313. #. type: Plain text
  5314. #: guix-git/doc/guix.texi:1427
  5315. 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."
  5316. msgstr ""
  5317. #. type: Plain text
  5318. #: guix-git/doc/guix.texi:1430
  5319. msgid "If you want to test a different machine file, just specify it on the command line:"
  5320. msgstr ""
  5321. #. type: example
  5322. #: guix-git/doc/guix.texi:1433
  5323. #, no-wrap
  5324. msgid "# guix offload test machines-qualif.scm\n"
  5325. msgstr ""
  5326. #. type: Plain text
  5327. #: guix-git/doc/guix.texi:1437
  5328. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5329. msgstr ""
  5330. #. type: example
  5331. #: guix-git/doc/guix.texi:1440
  5332. #, no-wrap
  5333. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5334. msgstr ""
  5335. #. type: cindex
  5336. #: guix-git/doc/guix.texi:1442
  5337. #, no-wrap
  5338. msgid "offload status"
  5339. msgstr ""
  5340. #. type: Plain text
  5341. #: guix-git/doc/guix.texi:1445
  5342. msgid "To display the current load of all build hosts, run this command on the main node:"
  5343. msgstr ""
  5344. #. type: example
  5345. #: guix-git/doc/guix.texi:1448
  5346. #, no-wrap
  5347. msgid "# guix offload status\n"
  5348. msgstr ""
  5349. #. type: cindex
  5350. #: guix-git/doc/guix.texi:1454
  5351. #, no-wrap
  5352. msgid "SELinux, daemon policy"
  5353. msgstr ""
  5354. #. type: cindex
  5355. #: guix-git/doc/guix.texi:1455
  5356. #, no-wrap
  5357. msgid "mandatory access control, SELinux"
  5358. msgstr ""
  5359. #. type: cindex
  5360. #: guix-git/doc/guix.texi:1456
  5361. #, no-wrap
  5362. msgid "security, guix-daemon"
  5363. msgstr ""
  5364. #. type: Plain text
  5365. #: guix-git/doc/guix.texi:1462
  5366. 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."
  5367. msgstr ""
  5368. #. type: subsubsection
  5369. #: guix-git/doc/guix.texi:1463
  5370. #, no-wrap
  5371. msgid "Installing the SELinux policy"
  5372. msgstr ""
  5373. #. type: cindex
  5374. #: guix-git/doc/guix.texi:1464
  5375. #, no-wrap
  5376. msgid "SELinux, policy installation"
  5377. msgstr ""
  5378. #. type: Plain text
  5379. #: guix-git/doc/guix.texi:1466
  5380. msgid "To install the policy run this command as root:"
  5381. msgstr ""
  5382. #. type: example
  5383. #: guix-git/doc/guix.texi:1469
  5384. #, no-wrap
  5385. msgid "semodule -i etc/guix-daemon.cil\n"
  5386. msgstr ""
  5387. #. type: Plain text
  5388. #: guix-git/doc/guix.texi:1473
  5389. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5390. msgstr ""
  5391. #. type: Plain text
  5392. #: guix-git/doc/guix.texi:1478
  5393. 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:"
  5394. msgstr ""
  5395. #. type: example
  5396. #: guix-git/doc/guix.texi:1481
  5397. #, no-wrap
  5398. msgid "ps -Zax | grep guix-daemon\n"
  5399. msgstr ""
  5400. #. type: Plain text
  5401. #: guix-git/doc/guix.texi:1486
  5402. 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."
  5403. msgstr ""
  5404. #. type: cindex
  5405. #: guix-git/doc/guix.texi:1488
  5406. #, no-wrap
  5407. msgid "SELinux, limitations"
  5408. msgstr ""
  5409. #. type: Plain text
  5410. #: guix-git/doc/guix.texi:1493
  5411. 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."
  5412. msgstr ""
  5413. #. type: enumerate
  5414. #: guix-git/doc/guix.texi:1500
  5415. 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."
  5416. msgstr ""
  5417. #. type: enumerate
  5418. #: guix-git/doc/guix.texi:1511
  5419. 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."
  5420. msgstr ""
  5421. #. type: enumerate
  5422. #: guix-git/doc/guix.texi:1516
  5423. 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."
  5424. msgstr ""
  5425. #. type: enumerate
  5426. #: guix-git/doc/guix.texi:1527
  5427. 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."
  5428. msgstr ""
  5429. #. type: enumerate
  5430. #: guix-git/doc/guix.texi:1532
  5431. 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."
  5432. msgstr ""
  5433. #. type: enumerate
  5434. #: guix-git/doc/guix.texi:1540
  5435. 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."
  5436. msgstr ""
  5437. #. type: section
  5438. #: guix-git/doc/guix.texi:1543
  5439. #, no-wrap
  5440. msgid "Invoking @command{guix-daemon}"
  5441. msgstr ""
  5442. #. type: Plain text
  5443. #: guix-git/doc/guix.texi:1549
  5444. 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:"
  5445. msgstr ""
  5446. #. type: Plain text
  5447. #: guix-git/doc/guix.texi:1556
  5448. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5449. msgstr ""
  5450. #. type: cindex
  5451. #: guix-git/doc/guix.texi:1558
  5452. #, no-wrap
  5453. msgid "container, build environment"
  5454. msgstr ""
  5455. #. type: cindex
  5456. #: guix-git/doc/guix.texi:1560 guix-git/doc/guix.texi:3104
  5457. #: guix-git/doc/guix.texi:4022 guix-git/doc/guix.texi:14214
  5458. #, no-wrap
  5459. msgid "reproducible builds"
  5460. msgstr ""
  5461. #. type: Plain text
  5462. #: guix-git/doc/guix.texi:1572
  5463. 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})."
  5464. msgstr ""
  5465. #. type: Plain text
  5466. #: guix-git/doc/guix.texi:1578
  5467. 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}."
  5468. msgstr ""
  5469. #. type: Plain text
  5470. #: guix-git/doc/guix.texi:1582
  5471. 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}})."
  5472. msgstr ""
  5473. #. type: Plain text
  5474. #: guix-git/doc/guix.texi:1588
  5475. 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."
  5476. msgstr ""
  5477. #. type: Plain text
  5478. #: guix-git/doc/guix.texi:1590
  5479. msgid "The following command-line options are supported:"
  5480. msgstr ""
  5481. #. type: item
  5482. #: guix-git/doc/guix.texi:1592
  5483. #, no-wrap
  5484. msgid "--build-users-group=@var{group}"
  5485. msgstr ""
  5486. #. type: table
  5487. #: guix-git/doc/guix.texi:1595
  5488. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5489. msgstr ""
  5490. #. type: item
  5491. #: guix-git/doc/guix.texi:1596 guix-git/doc/guix.texi:11333
  5492. #, no-wrap
  5493. msgid "--no-substitutes"
  5494. msgstr ""
  5495. #. type: cindex
  5496. #: guix-git/doc/guix.texi:1597 guix-git/doc/guix.texi:3116
  5497. #: guix-git/doc/guix.texi:3775
  5498. #, no-wrap
  5499. msgid "substitutes"
  5500. msgstr ""
  5501. #. type: table
  5502. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:11337
  5503. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5504. msgstr ""
  5505. #. type: table
  5506. #: guix-git/doc/guix.texi:1605
  5507. 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})."
  5508. msgstr ""
  5509. #. type: anchor{#1}
  5510. #: guix-git/doc/guix.texi:1607
  5511. msgid "daemon-substitute-urls"
  5512. msgstr ""
  5513. #. type: item
  5514. #: guix-git/doc/guix.texi:1607 guix-git/doc/guix.texi:11320
  5515. #: guix-git/doc/guix.texi:13621 guix-git/doc/guix.texi:14360
  5516. #: guix-git/doc/guix.texi:14585
  5517. #, no-wrap
  5518. msgid "--substitute-urls=@var{urls}"
  5519. msgstr ""
  5520. #. type: table
  5521. #: guix-git/doc/guix.texi:1611
  5522. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5523. msgstr ""
  5524. #. type: table
  5525. #: guix-git/doc/guix.texi:1614
  5526. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5527. msgstr ""
  5528. #. type: table
  5529. #: guix-git/doc/guix.texi:1617
  5530. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5531. msgstr ""
  5532. #. type: item
  5533. #: guix-git/doc/guix.texi:1619 guix-git/doc/guix.texi:11356
  5534. #, no-wrap
  5535. msgid "--no-offload"
  5536. msgstr ""
  5537. #. type: table
  5538. #: guix-git/doc/guix.texi:1623 guix-git/doc/guix.texi:11360
  5539. 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."
  5540. msgstr ""
  5541. #. type: item
  5542. #: guix-git/doc/guix.texi:1624
  5543. #, no-wrap
  5544. msgid "--cache-failures"
  5545. msgstr ""
  5546. #. type: table
  5547. #: guix-git/doc/guix.texi:1626
  5548. msgid "Cache build failures. By default, only successful builds are cached."
  5549. msgstr ""
  5550. #. type: table
  5551. #: guix-git/doc/guix.texi:1631
  5552. 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}."
  5553. msgstr ""
  5554. #. type: item
  5555. #: guix-git/doc/guix.texi:1632 guix-git/doc/guix.texi:11386
  5556. #, no-wrap
  5557. msgid "--cores=@var{n}"
  5558. msgstr ""
  5559. #. type: itemx
  5560. #: guix-git/doc/guix.texi:1633 guix-git/doc/guix.texi:11387
  5561. #, no-wrap
  5562. msgid "-c @var{n}"
  5563. msgstr ""
  5564. #. type: table
  5565. #: guix-git/doc/guix.texi:1636
  5566. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5567. msgstr ""
  5568. #. type: table
  5569. #: guix-git/doc/guix.texi:1640
  5570. 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})."
  5571. msgstr ""
  5572. #. type: table
  5573. #: guix-git/doc/guix.texi:1644
  5574. 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}."
  5575. msgstr ""
  5576. #. type: item
  5577. #: guix-git/doc/guix.texi:1645 guix-git/doc/guix.texi:11391
  5578. #, no-wrap
  5579. msgid "--max-jobs=@var{n}"
  5580. msgstr ""
  5581. #. type: itemx
  5582. #: guix-git/doc/guix.texi:1646 guix-git/doc/guix.texi:11392
  5583. #, no-wrap
  5584. msgid "-M @var{n}"
  5585. msgstr ""
  5586. #. type: table
  5587. #: guix-git/doc/guix.texi:1651
  5588. 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."
  5589. msgstr ""
  5590. #. type: item
  5591. #: guix-git/doc/guix.texi:1652 guix-git/doc/guix.texi:11361
  5592. #, no-wrap
  5593. msgid "--max-silent-time=@var{seconds}"
  5594. msgstr ""
  5595. #. type: table
  5596. #: guix-git/doc/guix.texi:1655 guix-git/doc/guix.texi:11364
  5597. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5598. msgstr ""
  5599. #. type: table
  5600. #: guix-git/doc/guix.texi:1657 guix-git/doc/guix.texi:1666
  5601. msgid "The default value is @code{0}, which disables the timeout."
  5602. msgstr ""
  5603. #. type: table
  5604. #: guix-git/doc/guix.texi:1660
  5605. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5606. msgstr ""
  5607. #. type: item
  5608. #: guix-git/doc/guix.texi:1661 guix-git/doc/guix.texi:11368
  5609. #, no-wrap
  5610. msgid "--timeout=@var{seconds}"
  5611. msgstr ""
  5612. #. type: table
  5613. #: guix-git/doc/guix.texi:1664 guix-git/doc/guix.texi:11371
  5614. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5615. msgstr ""
  5616. #. type: table
  5617. #: guix-git/doc/guix.texi:1669
  5618. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5619. msgstr ""
  5620. #. type: item
  5621. #: guix-git/doc/guix.texi:1670
  5622. #, no-wrap
  5623. msgid "--rounds=@var{N}"
  5624. msgstr ""
  5625. #. type: table
  5626. #: guix-git/doc/guix.texi:1675
  5627. 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})."
  5628. msgstr ""
  5629. #. type: table
  5630. #: guix-git/doc/guix.texi:1679 guix-git/doc/guix.texi:11355
  5631. #: guix-git/doc/guix.texi:11979
  5632. 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."
  5633. msgstr ""
  5634. #. type: item
  5635. #: guix-git/doc/guix.texi:1680
  5636. #, no-wrap
  5637. msgid "--debug"
  5638. msgstr ""
  5639. #. type: table
  5640. #: guix-git/doc/guix.texi:1682
  5641. msgid "Produce debugging output."
  5642. msgstr ""
  5643. #. type: table
  5644. #: guix-git/doc/guix.texi:1686
  5645. 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})."
  5646. msgstr ""
  5647. #. type: item
  5648. #: guix-git/doc/guix.texi:1687
  5649. #, no-wrap
  5650. msgid "--chroot-directory=@var{dir}"
  5651. msgstr ""
  5652. #. type: table
  5653. #: guix-git/doc/guix.texi:1689
  5654. msgid "Add @var{dir} to the build chroot."
  5655. msgstr ""
  5656. #. type: table
  5657. #: guix-git/doc/guix.texi:1695
  5658. 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."
  5659. msgstr ""
  5660. #. type: item
  5661. #: guix-git/doc/guix.texi:1696
  5662. #, no-wrap
  5663. msgid "--disable-chroot"
  5664. msgstr ""
  5665. #. type: table
  5666. #: guix-git/doc/guix.texi:1698
  5667. msgid "Disable chroot builds."
  5668. msgstr ""
  5669. #. type: table
  5670. #: guix-git/doc/guix.texi:1703
  5671. 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."
  5672. msgstr ""
  5673. #. type: item
  5674. #: guix-git/doc/guix.texi:1704
  5675. #, no-wrap
  5676. msgid "--log-compression=@var{type}"
  5677. msgstr ""
  5678. #. type: table
  5679. #: guix-git/doc/guix.texi:1707
  5680. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5681. msgstr ""
  5682. #. type: table
  5683. #: guix-git/doc/guix.texi:1711
  5684. msgid "Unless @option{--lose-logs} is used, all the build logs are kept in the @var{localstatedir}. To save space, the daemon automatically compresses them with gzip by default."
  5685. msgstr ""
  5686. #. type: item
  5687. #: guix-git/doc/guix.texi:1712
  5688. #, no-wrap
  5689. msgid "--discover[=yes|no]"
  5690. msgstr ""
  5691. #. type: table
  5692. #: guix-git/doc/guix.texi:1715 guix-git/doc/guix.texi:17045
  5693. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5694. msgstr ""
  5695. #. type: table
  5696. #: guix-git/doc/guix.texi:1718
  5697. msgid "This feature is still experimental. However, here are a few considerations."
  5698. msgstr ""
  5699. #. type: enumerate
  5700. #: guix-git/doc/guix.texi:1722
  5701. msgid "It might be faster/less expensive than fetching from remote servers;"
  5702. msgstr ""
  5703. #. type: enumerate
  5704. #: guix-git/doc/guix.texi:1725
  5705. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5706. msgstr ""
  5707. #. type: enumerate
  5708. #: guix-git/doc/guix.texi:1729
  5709. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5710. msgstr ""
  5711. #. type: enumerate
  5712. #: guix-git/doc/guix.texi:1732
  5713. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5714. msgstr ""
  5715. #. type: table
  5716. #: guix-git/doc/guix.texi:1736
  5717. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5718. msgstr ""
  5719. #. type: example
  5720. #: guix-git/doc/guix.texi:1740
  5721. #, no-wrap
  5722. msgid ""
  5723. "herd discover guix-daemon on\n"
  5724. "herd discover guix-daemon off\n"
  5725. msgstr ""
  5726. #. type: item
  5727. #: guix-git/doc/guix.texi:1742
  5728. #, no-wrap
  5729. msgid "--disable-deduplication"
  5730. msgstr ""
  5731. #. type: cindex
  5732. #: guix-git/doc/guix.texi:1743 guix-git/doc/guix.texi:4360
  5733. #, no-wrap
  5734. msgid "deduplication"
  5735. msgstr ""
  5736. #. type: table
  5737. #: guix-git/doc/guix.texi:1745
  5738. msgid "Disable automatic file ``deduplication'' in the store."
  5739. msgstr ""
  5740. #. type: table
  5741. #: guix-git/doc/guix.texi:1752
  5742. 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."
  5743. msgstr ""
  5744. #. type: item
  5745. #: guix-git/doc/guix.texi:1753
  5746. #, no-wrap
  5747. msgid "--gc-keep-outputs[=yes|no]"
  5748. msgstr ""
  5749. #. type: table
  5750. #: guix-git/doc/guix.texi:1756
  5751. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5752. msgstr ""
  5753. #. type: cindex
  5754. #: guix-git/doc/guix.texi:1757 guix-git/doc/guix.texi:4173
  5755. #, no-wrap
  5756. msgid "GC roots"
  5757. msgstr ""
  5758. #. type: cindex
  5759. #: guix-git/doc/guix.texi:1758 guix-git/doc/guix.texi:4174
  5760. #, no-wrap
  5761. msgid "garbage collector roots"
  5762. msgstr ""
  5763. #. type: table
  5764. #: guix-git/doc/guix.texi:1764
  5765. 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."
  5766. msgstr ""
  5767. #. type: item
  5768. #: guix-git/doc/guix.texi:1765
  5769. #, no-wrap
  5770. msgid "--gc-keep-derivations[=yes|no]"
  5771. msgstr ""
  5772. #. type: table
  5773. #: guix-git/doc/guix.texi:1768
  5774. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5775. msgstr ""
  5776. #. type: table
  5777. #: guix-git/doc/guix.texi:1774
  5778. 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."
  5779. msgstr ""
  5780. #. type: table
  5781. #: guix-git/doc/guix.texi:1783
  5782. 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."
  5783. msgstr ""
  5784. #. type: item
  5785. #: guix-git/doc/guix.texi:1784
  5786. #, no-wrap
  5787. msgid "--impersonate-linux-2.6"
  5788. msgstr ""
  5789. #. type: table
  5790. #: guix-git/doc/guix.texi:1787
  5791. 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."
  5792. msgstr ""
  5793. #. type: table
  5794. #: guix-git/doc/guix.texi:1790
  5795. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5796. msgstr ""
  5797. #. type: item
  5798. #: guix-git/doc/guix.texi:1791
  5799. #, no-wrap
  5800. msgid "--lose-logs"
  5801. msgstr ""
  5802. #. type: table
  5803. #: guix-git/doc/guix.texi:1794
  5804. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5805. msgstr ""
  5806. #. type: item
  5807. #: guix-git/doc/guix.texi:1795 guix-git/doc/guix.texi:4605
  5808. #: guix-git/doc/guix.texi:5881 guix-git/doc/guix.texi:6294
  5809. #: guix-git/doc/guix.texi:6694 guix-git/doc/guix.texi:11923
  5810. #: guix-git/doc/guix.texi:13648 guix-git/doc/guix.texi:13913
  5811. #: guix-git/doc/guix.texi:14590 guix-git/doc/guix.texi:34995
  5812. #: guix-git/doc/guix.texi:35809
  5813. #, no-wrap
  5814. msgid "--system=@var{system}"
  5815. msgstr ""
  5816. #. type: table
  5817. #: guix-git/doc/guix.texi:1799
  5818. 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}."
  5819. msgstr ""
  5820. #. type: item
  5821. #: guix-git/doc/guix.texi:1800 guix-git/doc/guix.texi:11165
  5822. #, no-wrap
  5823. msgid "--listen=@var{endpoint}"
  5824. msgstr ""
  5825. #. type: table
  5826. #: guix-git/doc/guix.texi:1805
  5827. 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:"
  5828. msgstr ""
  5829. #. type: item
  5830. #: guix-git/doc/guix.texi:1807
  5831. #, no-wrap
  5832. msgid "--listen=/gnu/var/daemon"
  5833. msgstr ""
  5834. #. type: table
  5835. #: guix-git/doc/guix.texi:1810
  5836. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5837. msgstr ""
  5838. #. type: item
  5839. #: guix-git/doc/guix.texi:1811
  5840. #, no-wrap
  5841. msgid "--listen=localhost"
  5842. msgstr ""
  5843. #. type: cindex
  5844. #: guix-git/doc/guix.texi:1812 guix-git/doc/guix.texi:9839
  5845. #, no-wrap
  5846. msgid "daemon, remote access"
  5847. msgstr ""
  5848. #. type: cindex
  5849. #: guix-git/doc/guix.texi:1813 guix-git/doc/guix.texi:9840
  5850. #, no-wrap
  5851. msgid "remote access to the daemon"
  5852. msgstr ""
  5853. #. type: cindex
  5854. #: guix-git/doc/guix.texi:1814 guix-git/doc/guix.texi:9841
  5855. #, no-wrap
  5856. msgid "daemon, cluster setup"
  5857. msgstr ""
  5858. #. type: cindex
  5859. #: guix-git/doc/guix.texi:1815 guix-git/doc/guix.texi:9842
  5860. #, no-wrap
  5861. msgid "clusters, daemon setup"
  5862. msgstr ""
  5863. #. type: table
  5864. #: guix-git/doc/guix.texi:1818
  5865. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5866. msgstr ""
  5867. #. type: item
  5868. #: guix-git/doc/guix.texi:1819
  5869. #, no-wrap
  5870. msgid "--listen=128.0.0.42:1234"
  5871. msgstr ""
  5872. #. type: table
  5873. #: guix-git/doc/guix.texi:1822
  5874. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5875. msgstr ""
  5876. #. type: table
  5877. #: guix-git/doc/guix.texi:1829
  5878. 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}})."
  5879. msgstr ""
  5880. #. type: quotation
  5881. #: guix-git/doc/guix.texi:1836
  5882. 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."
  5883. msgstr ""
  5884. #. type: table
  5885. #: guix-git/doc/guix.texi:1841
  5886. 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}."
  5887. msgstr ""
  5888. #. type: Plain text
  5889. #: guix-git/doc/guix.texi:1851
  5890. 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."
  5891. msgstr ""
  5892. #. type: anchor{#1}
  5893. #: guix-git/doc/guix.texi:1855
  5894. msgid "locales-and-locpath"
  5895. msgstr ""
  5896. #. type: cindex
  5897. #: guix-git/doc/guix.texi:1855
  5898. #, no-wrap
  5899. msgid "locales, when not on Guix System"
  5900. msgstr ""
  5901. #. type: vindex
  5902. #: guix-git/doc/guix.texi:1856 guix-git/doc/guix.texi:16248
  5903. #, no-wrap
  5904. msgid "LOCPATH"
  5905. msgstr ""
  5906. #. type: vindex
  5907. #: guix-git/doc/guix.texi:1857
  5908. #, no-wrap
  5909. msgid "GUIX_LOCPATH"
  5910. msgstr ""
  5911. #. type: Plain text
  5912. #: guix-git/doc/guix.texi:1862
  5913. 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:"
  5914. msgstr ""
  5915. #. type: example
  5916. #: guix-git/doc/guix.texi:1866
  5917. #, no-wrap
  5918. msgid ""
  5919. "$ guix install glibc-locales\n"
  5920. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5921. msgstr ""
  5922. #. type: Plain text
  5923. #: guix-git/doc/guix.texi:1878
  5924. msgid "Note that the @code{glibc-locales} package contains data for all the locales supported by the GNU@tie{}libc and weighs in at around 930@tie{}MiB@footnote{The size of the @code{glibc-locales} package is reduced down to about 213@tie{}MiB with store deduplication and further down to about 67@tie{}MiB when using a zstd-compressed Btrfs file system.}. If you only need a few locales, you can define your custom locales package via the @code{make-glibc-utf8-locales} procedure from the @code{(gnu packages base)} module. The following example defines a package containing the various Canadian UTF-8 locales known to the GNU@tie{}libc, that weighs around 14@tie{}MiB:"
  5925. msgstr ""
  5926. #. type: lisp
  5927. #: guix-git/doc/guix.texi:1881
  5928. #, no-wrap
  5929. msgid ""
  5930. "(use-modules (gnu packages base))\n"
  5931. "\n"
  5932. msgstr ""
  5933. #. type: lisp
  5934. #: guix-git/doc/guix.texi:1887
  5935. #, no-wrap
  5936. msgid ""
  5937. "(define my-glibc-locales\n"
  5938. " (make-glibc-utf8-locales\n"
  5939. " glibc\n"
  5940. " #:locales (list \"en_CA\" \"fr_CA\" \"ik_CA\" \"iu_CA\" \"shs_CA\")\n"
  5941. " #:name \"glibc-canadian-utf8-locales\"))\n"
  5942. msgstr ""
  5943. #. type: Plain text
  5944. #: guix-git/doc/guix.texi:1892
  5945. 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:"
  5946. msgstr ""
  5947. #. type: enumerate
  5948. #: guix-git/doc/guix.texi:1899
  5949. 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."
  5950. msgstr ""
  5951. #. type: enumerate
  5952. #: guix-git/doc/guix.texi:1906
  5953. 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."
  5954. msgstr ""
  5955. #. type: Plain text
  5956. #: guix-git/doc/guix.texi:1910
  5957. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5958. msgstr ""
  5959. #. type: cindex
  5960. #: guix-git/doc/guix.texi:1913
  5961. #, no-wrap
  5962. msgid "name service switch, glibc"
  5963. msgstr ""
  5964. #. type: cindex
  5965. #: guix-git/doc/guix.texi:1914
  5966. #, no-wrap
  5967. msgid "NSS (name service switch), glibc"
  5968. msgstr ""
  5969. #. type: cindex
  5970. #: guix-git/doc/guix.texi:1915
  5971. #, no-wrap
  5972. msgid "nscd (name service caching daemon)"
  5973. msgstr ""
  5974. #. type: cindex
  5975. #: guix-git/doc/guix.texi:1916
  5976. #, no-wrap
  5977. msgid "name service caching daemon (nscd)"
  5978. msgstr ""
  5979. #. type: Plain text
  5980. #: guix-git/doc/guix.texi:1923
  5981. 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."
  5982. msgstr ""
  5983. #. type: file{#1}
  5984. #: guix-git/doc/guix.texi:1924
  5985. #, no-wrap
  5986. msgid "nsswitch.conf"
  5987. msgstr ""
  5988. #. type: Plain text
  5989. #: guix-git/doc/guix.texi:1929
  5990. 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})."
  5991. msgstr ""
  5992. #. type: cindex
  5993. #: guix-git/doc/guix.texi:1930
  5994. #, no-wrap
  5995. msgid "Network information service (NIS)"
  5996. msgstr ""
  5997. #. type: cindex
  5998. #: guix-git/doc/guix.texi:1931
  5999. #, no-wrap
  6000. msgid "NIS (Network information service)"
  6001. msgstr ""
  6002. #. type: Plain text
  6003. #: guix-git/doc/guix.texi:1940
  6004. 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})."
  6005. msgstr ""
  6006. #. type: Plain text
  6007. #: guix-git/doc/guix.texi:1950
  6008. 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)."
  6009. msgstr ""
  6010. #. type: Plain text
  6011. #: guix-git/doc/guix.texi:1955
  6012. 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."
  6013. msgstr ""
  6014. #. type: Plain text
  6015. #: guix-git/doc/guix.texi:1960
  6016. 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."
  6017. msgstr ""
  6018. #. type: subsection
  6019. #: guix-git/doc/guix.texi:1961
  6020. #, no-wrap
  6021. msgid "X11 Fonts"
  6022. msgstr ""
  6023. #. type: Plain text
  6024. #: guix-git/doc/guix.texi:1971
  6025. msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{font-ghostscript}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  6026. msgstr ""
  6027. #. type: code{#1}
  6028. #: guix-git/doc/guix.texi:1972
  6029. #, no-wrap
  6030. msgid "fc-cache"
  6031. msgstr ""
  6032. #. type: cindex
  6033. #: guix-git/doc/guix.texi:1973
  6034. #, no-wrap
  6035. msgid "font cache"
  6036. msgstr ""
  6037. #. type: Plain text
  6038. #: guix-git/doc/guix.texi:1977
  6039. 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:"
  6040. msgstr ""
  6041. #. type: example
  6042. #: guix-git/doc/guix.texi:1981
  6043. #, no-wrap
  6044. msgid ""
  6045. "guix install fontconfig\n"
  6046. "fc-cache -rv\n"
  6047. msgstr ""
  6048. #. type: Plain text
  6049. #: guix-git/doc/guix.texi:1989
  6050. 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:"
  6051. msgstr ""
  6052. #. type: example
  6053. #: guix-git/doc/guix.texi:1992
  6054. #, no-wrap
  6055. msgid "guix install font-adobe-source-han-sans:cn\n"
  6056. msgstr ""
  6057. #. type: code{#1}
  6058. #: guix-git/doc/guix.texi:1994
  6059. #, no-wrap
  6060. msgid "xterm"
  6061. msgstr ""
  6062. #. type: Plain text
  6063. #: guix-git/doc/guix.texi:1998
  6064. 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:"
  6065. msgstr ""
  6066. #. type: example
  6067. #: guix-git/doc/guix.texi:2001
  6068. #, no-wrap
  6069. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  6070. msgstr ""
  6071. #. type: Plain text
  6072. #: guix-git/doc/guix.texi:2005
  6073. 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:"
  6074. msgstr ""
  6075. #. type: example
  6076. #: guix-git/doc/guix.texi:2010
  6077. #, no-wrap
  6078. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  6079. msgstr ""
  6080. #. type: code{#1}
  6081. #: guix-git/doc/guix.texi:2012
  6082. #, no-wrap
  6083. msgid "xlsfonts"
  6084. msgstr ""
  6085. #. type: Plain text
  6086. #: guix-git/doc/guix.texi:2015
  6087. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  6088. msgstr ""
  6089. #. type: code{#1}
  6090. #: guix-git/doc/guix.texi:2019 guix-git/doc/guix.texi:34714
  6091. #, no-wrap
  6092. msgid "nss-certs"
  6093. msgstr ""
  6094. #. type: Plain text
  6095. #: guix-git/doc/guix.texi:2022
  6096. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  6097. msgstr ""
  6098. #. type: Plain text
  6099. #: guix-git/doc/guix.texi:2027
  6100. 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."
  6101. msgstr ""
  6102. #. type: code{#1}
  6103. #: guix-git/doc/guix.texi:2030
  6104. #, no-wrap
  6105. msgid "emacs"
  6106. msgstr ""
  6107. #. type: Plain text
  6108. #: guix-git/doc/guix.texi:2036
  6109. 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."
  6110. msgstr ""
  6111. #. type: Plain text
  6112. #: guix-git/doc/guix.texi:2043
  6113. 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})."
  6114. msgstr ""
  6115. #. type: cindex
  6116. #: guix-git/doc/guix.texi:2048
  6117. #, no-wrap
  6118. msgid "Upgrading Guix, on a foreign distro"
  6119. msgstr ""
  6120. #. type: Plain text
  6121. #: guix-git/doc/guix.texi:2051
  6122. msgid "To upgrade Guix, run:"
  6123. msgstr ""
  6124. #. type: example
  6125. #: guix-git/doc/guix.texi:2054 guix-git/doc/guix.texi:2912
  6126. #, no-wrap
  6127. msgid "guix pull\n"
  6128. msgstr ""
  6129. #. type: Plain text
  6130. #: guix-git/doc/guix.texi:2057
  6131. msgid "@xref{Invoking guix pull}, for more information."
  6132. msgstr ""
  6133. #. type: cindex
  6134. #: guix-git/doc/guix.texi:2058
  6135. #, no-wrap
  6136. msgid "upgrading Guix for the root user, on a foreign distro"
  6137. msgstr ""
  6138. #. type: cindex
  6139. #: guix-git/doc/guix.texi:2059
  6140. #, no-wrap
  6141. msgid "upgrading the Guix daemon, on a foreign distro"
  6142. msgstr ""
  6143. #. type: cindex
  6144. #: guix-git/doc/guix.texi:2060
  6145. #, no-wrap
  6146. msgid "@command{guix pull} for the root user, on a foreign distro"
  6147. msgstr ""
  6148. #. type: Plain text
  6149. #: guix-git/doc/guix.texi:2063
  6150. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  6151. msgstr ""
  6152. #. type: example
  6153. #: guix-git/doc/guix.texi:2066
  6154. #, no-wrap
  6155. msgid "sudo -i guix pull\n"
  6156. msgstr ""
  6157. #. type: Plain text
  6158. #: guix-git/doc/guix.texi:2071
  6159. msgid "followed by (assuming your distro uses the systemd service management tool):"
  6160. msgstr ""
  6161. #. type: example
  6162. #: guix-git/doc/guix.texi:2074
  6163. #, no-wrap
  6164. msgid "systemctl restart guix-daemon.service\n"
  6165. msgstr ""
  6166. #. type: Plain text
  6167. #: guix-git/doc/guix.texi:2078
  6168. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6169. msgstr ""
  6170. #. type: cindex
  6171. #: guix-git/doc/guix.texi:2085
  6172. #, no-wrap
  6173. msgid "installing Guix System"
  6174. msgstr ""
  6175. #. type: cindex
  6176. #: guix-git/doc/guix.texi:2086
  6177. #, no-wrap
  6178. msgid "Guix System, installation"
  6179. msgstr ""
  6180. #. type: Plain text
  6181. #: guix-git/doc/guix.texi:2091
  6182. 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}."
  6183. msgstr ""
  6184. #. type: quotation
  6185. #: guix-git/doc/guix.texi:2100
  6186. 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."
  6187. msgstr ""
  6188. #. type: quotation
  6189. #: guix-git/doc/guix.texi:2103
  6190. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6191. msgstr ""
  6192. #. type: Plain text
  6193. #: guix-git/doc/guix.texi:2124
  6194. 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."
  6195. msgstr ""
  6196. #. type: Plain text
  6197. #: guix-git/doc/guix.texi:2127
  6198. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6199. msgstr ""
  6200. #. type: itemize
  6201. #: guix-git/doc/guix.texi:2132
  6202. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6203. msgstr ""
  6204. #. type: itemize
  6205. #: guix-git/doc/guix.texi:2137
  6206. 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."
  6207. msgstr ""
  6208. #. type: Plain text
  6209. #: guix-git/doc/guix.texi:2142
  6210. 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."
  6211. msgstr ""
  6212. #. type: cindex
  6213. #: guix-git/doc/guix.texi:2147
  6214. #, no-wrap
  6215. msgid "hardware support on Guix System"
  6216. msgstr ""
  6217. #. type: Plain text
  6218. #: guix-git/doc/guix.texi:2156
  6219. 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."
  6220. msgstr ""
  6221. #. type: cindex
  6222. #: guix-git/doc/guix.texi:2157
  6223. #, no-wrap
  6224. msgid "WiFi, hardware support"
  6225. msgstr ""
  6226. #. type: Plain text
  6227. #: guix-git/doc/guix.texi:2166
  6228. 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}})."
  6229. msgstr ""
  6230. #. type: cindex
  6231. #: guix-git/doc/guix.texi:2167
  6232. #, no-wrap
  6233. msgid "RYF, Respects Your Freedom"
  6234. msgstr ""
  6235. #. type: Plain text
  6236. #: guix-git/doc/guix.texi:2173
  6237. 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."
  6238. msgstr ""
  6239. #. type: Plain text
  6240. #: guix-git/doc/guix.texi:2177
  6241. 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."
  6242. msgstr ""
  6243. #. type: Plain text
  6244. #: guix-git/doc/guix.texi:2186
  6245. 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:"
  6246. msgstr ""
  6247. #. type: table
  6248. #: guix-git/doc/guix.texi:2190
  6249. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6250. msgstr ""
  6251. #. type: table
  6252. #: guix-git/doc/guix.texi:2193
  6253. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6254. msgstr ""
  6255. #. type: Plain text
  6256. #: guix-git/doc/guix.texi:2198
  6257. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6258. msgstr ""
  6259. #. type: example
  6260. #: guix-git/doc/guix.texi:2202
  6261. #, no-wrap
  6262. msgid ""
  6263. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6264. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6265. msgstr ""
  6266. #. type: example
  6267. #: guix-git/doc/guix.texi:2210
  6268. #, no-wrap
  6269. msgid ""
  6270. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6271. " -qO - | gpg --import -\n"
  6272. msgstr ""
  6273. #. type: Plain text
  6274. #: guix-git/doc/guix.texi:2222
  6275. 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."
  6276. msgstr ""
  6277. #. type: unnumberedsubsec
  6278. #: guix-git/doc/guix.texi:2223
  6279. #, no-wrap
  6280. msgid "Copying to a USB Stick"
  6281. msgstr ""
  6282. #. type: Plain text
  6283. #: guix-git/doc/guix.texi:2228
  6284. 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:"
  6285. msgstr ""
  6286. #. type: example
  6287. #: guix-git/doc/guix.texi:2232
  6288. #, no-wrap
  6289. msgid ""
  6290. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6291. "sync\n"
  6292. msgstr ""
  6293. #. type: Plain text
  6294. #: guix-git/doc/guix.texi:2235
  6295. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6296. msgstr ""
  6297. #. type: unnumberedsubsec
  6298. #: guix-git/doc/guix.texi:2236
  6299. #, no-wrap
  6300. msgid "Burning on a DVD"
  6301. msgstr ""
  6302. #. type: Plain text
  6303. #: guix-git/doc/guix.texi:2241
  6304. 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:"
  6305. msgstr ""
  6306. #. type: example
  6307. #: guix-git/doc/guix.texi:2244
  6308. #, no-wrap
  6309. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6310. msgstr ""
  6311. #. type: Plain text
  6312. #: guix-git/doc/guix.texi:2247
  6313. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6314. msgstr ""
  6315. #. type: unnumberedsubsec
  6316. #: guix-git/doc/guix.texi:2248
  6317. #, no-wrap
  6318. msgid "Booting"
  6319. msgstr ""
  6320. #. type: Plain text
  6321. #: guix-git/doc/guix.texi:2255
  6322. 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}."
  6323. msgstr ""
  6324. #. type: Plain text
  6325. #: guix-git/doc/guix.texi:2258
  6326. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6327. msgstr ""
  6328. #. type: Plain text
  6329. #: guix-git/doc/guix.texi:2268
  6330. 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})."
  6331. msgstr ""
  6332. #. type: Plain text
  6333. #: guix-git/doc/guix.texi:2276
  6334. 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."
  6335. msgstr ""
  6336. #. type: quotation
  6337. #: guix-git/doc/guix.texi:2281
  6338. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6339. msgstr ""
  6340. #. type: Plain text
  6341. #: guix-git/doc/guix.texi:2288
  6342. 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."
  6343. msgstr ""
  6344. #. type: Plain text
  6345. #: guix-git/doc/guix.texi:2293
  6346. 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."
  6347. msgstr ""
  6348. #. type: Plain text
  6349. #: guix-git/doc/guix.texi:2295
  6350. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6351. msgstr ""
  6352. #. type: Plain text
  6353. #: guix-git/doc/guix.texi:2300
  6354. 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."
  6355. msgstr ""
  6356. #. type: Plain text
  6357. #: guix-git/doc/guix.texi:2302
  6358. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6359. msgstr ""
  6360. #. type: Plain text
  6361. #: guix-git/doc/guix.texi:2305
  6362. 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."
  6363. msgstr ""
  6364. #. type: Plain text
  6365. #: guix-git/doc/guix.texi:2307
  6366. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6367. msgstr ""
  6368. #. type: Plain text
  6369. #: guix-git/doc/guix.texi:2312
  6370. 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!"
  6371. msgstr ""
  6372. #. type: Plain text
  6373. #: guix-git/doc/guix.texi:2322
  6374. 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})."
  6375. msgstr ""
  6376. #. type: Plain text
  6377. #: guix-git/doc/guix.texi:2328
  6378. 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})."
  6379. msgstr ""
  6380. #. type: subsection
  6381. #: guix-git/doc/guix.texi:2335
  6382. #, no-wrap
  6383. msgid "Keyboard Layout, Networking, and Partitioning"
  6384. msgstr ""
  6385. #. type: Plain text
  6386. #: guix-git/doc/guix.texi:2340
  6387. 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."
  6388. msgstr ""
  6389. #. type: cindex
  6390. #: guix-git/doc/guix.texi:2343 guix-git/doc/guix.texi:16062
  6391. #, no-wrap
  6392. msgid "keyboard layout"
  6393. msgstr ""
  6394. #. type: Plain text
  6395. #: guix-git/doc/guix.texi:2347
  6396. 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:"
  6397. msgstr ""
  6398. #. type: example
  6399. #: guix-git/doc/guix.texi:2350
  6400. #, no-wrap
  6401. msgid "loadkeys dvorak\n"
  6402. msgstr ""
  6403. #. type: Plain text
  6404. #: guix-git/doc/guix.texi:2355
  6405. 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."
  6406. msgstr ""
  6407. #. type: subsubsection
  6408. #: guix-git/doc/guix.texi:2356
  6409. #, no-wrap
  6410. msgid "Networking"
  6411. msgstr ""
  6412. #. type: Plain text
  6413. #: guix-git/doc/guix.texi:2359
  6414. msgid "Run the following command to see what your network interfaces are called:"
  6415. msgstr ""
  6416. #. type: example
  6417. #: guix-git/doc/guix.texi:2362
  6418. #, no-wrap
  6419. msgid "ifconfig -a\n"
  6420. msgstr ""
  6421. #. type: table
  6422. #: guix-git/doc/guix.texi:2366 guix-git/doc/guix.texi:2388
  6423. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6424. msgstr ""
  6425. #. type: example
  6426. #: guix-git/doc/guix.texi:2369
  6427. #, no-wrap
  6428. msgid "ip address\n"
  6429. msgstr ""
  6430. #. type: Plain text
  6431. #: guix-git/doc/guix.texi:2376
  6432. 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}."
  6433. msgstr ""
  6434. #. type: item
  6435. #: guix-git/doc/guix.texi:2378
  6436. #, no-wrap
  6437. msgid "Wired connection"
  6438. msgstr ""
  6439. #. type: table
  6440. #: guix-git/doc/guix.texi:2381
  6441. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6442. msgstr ""
  6443. #. type: example
  6444. #: guix-git/doc/guix.texi:2384
  6445. #, no-wrap
  6446. msgid "ifconfig @var{interface} up\n"
  6447. msgstr ""
  6448. #. type: example
  6449. #: guix-git/doc/guix.texi:2391
  6450. #, no-wrap
  6451. msgid "ip link set @var{interface} up\n"
  6452. msgstr ""
  6453. #. type: item
  6454. #: guix-git/doc/guix.texi:2393
  6455. #, no-wrap
  6456. msgid "Wireless connection"
  6457. msgstr ""
  6458. #. type: cindex
  6459. #: guix-git/doc/guix.texi:2394 guix-git/doc/guix.texi:17971
  6460. #, no-wrap
  6461. msgid "wireless"
  6462. msgstr ""
  6463. #. type: cindex
  6464. #: guix-git/doc/guix.texi:2395 guix-git/doc/guix.texi:17972
  6465. #, no-wrap
  6466. msgid "WiFi"
  6467. msgstr ""
  6468. #. type: table
  6469. #: guix-git/doc/guix.texi:2400
  6470. 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}:"
  6471. msgstr ""
  6472. #. type: example
  6473. #: guix-git/doc/guix.texi:2403
  6474. #, no-wrap
  6475. msgid "nano wpa_supplicant.conf\n"
  6476. msgstr ""
  6477. #. type: table
  6478. #: guix-git/doc/guix.texi:2408
  6479. 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:"
  6480. msgstr ""
  6481. #. type: example
  6482. #: guix-git/doc/guix.texi:2415
  6483. #, no-wrap
  6484. msgid ""
  6485. "network=@{\n"
  6486. " ssid=\"@var{my-ssid}\"\n"
  6487. " key_mgmt=WPA-PSK\n"
  6488. " psk=\"the network's secret passphrase\"\n"
  6489. "@}\n"
  6490. msgstr ""
  6491. #. type: table
  6492. #: guix-git/doc/guix.texi:2420
  6493. 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):"
  6494. msgstr ""
  6495. #. type: example
  6496. #: guix-git/doc/guix.texi:2423
  6497. #, no-wrap
  6498. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6499. msgstr ""
  6500. #. type: table
  6501. #: guix-git/doc/guix.texi:2426
  6502. msgid "Run @command{man wpa_supplicant} for more information."
  6503. msgstr ""
  6504. #. type: cindex
  6505. #: guix-git/doc/guix.texi:2428
  6506. #, no-wrap
  6507. msgid "DHCP"
  6508. msgstr ""
  6509. #. type: Plain text
  6510. #: guix-git/doc/guix.texi:2431
  6511. 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:"
  6512. msgstr ""
  6513. #. type: example
  6514. #: guix-git/doc/guix.texi:2434
  6515. #, no-wrap
  6516. msgid "dhclient -v @var{interface}\n"
  6517. msgstr ""
  6518. #. type: Plain text
  6519. #: guix-git/doc/guix.texi:2437
  6520. msgid "Try to ping a server to see if networking is up and running:"
  6521. msgstr ""
  6522. #. type: example
  6523. #: guix-git/doc/guix.texi:2440
  6524. #, no-wrap
  6525. msgid "ping -c 3 gnu.org\n"
  6526. msgstr ""
  6527. #. type: Plain text
  6528. #: guix-git/doc/guix.texi:2444
  6529. 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."
  6530. msgstr ""
  6531. #. type: cindex
  6532. #: guix-git/doc/guix.texi:2445
  6533. #, no-wrap
  6534. msgid "proxy, during system installation"
  6535. msgstr ""
  6536. #. type: Plain text
  6537. #: guix-git/doc/guix.texi:2448
  6538. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6539. msgstr ""
  6540. #. type: example
  6541. #: guix-git/doc/guix.texi:2451
  6542. #, no-wrap
  6543. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6544. msgstr ""
  6545. #. type: Plain text
  6546. #: guix-git/doc/guix.texi:2456
  6547. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6548. msgstr ""
  6549. #. type: cindex
  6550. #: guix-git/doc/guix.texi:2457
  6551. #, no-wrap
  6552. msgid "installing over SSH"
  6553. msgstr ""
  6554. #. type: Plain text
  6555. #: guix-git/doc/guix.texi:2460
  6556. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6557. msgstr ""
  6558. #. type: example
  6559. #: guix-git/doc/guix.texi:2463
  6560. #, no-wrap
  6561. msgid "herd start ssh-daemon\n"
  6562. msgstr ""
  6563. #. type: Plain text
  6564. #: guix-git/doc/guix.texi:2467
  6565. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6566. msgstr ""
  6567. #. type: subsubsection
  6568. #: guix-git/doc/guix.texi:2468
  6569. #, no-wrap
  6570. msgid "Disk Partitioning"
  6571. msgstr ""
  6572. #. type: Plain text
  6573. #: guix-git/doc/guix.texi:2472
  6574. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6575. msgstr ""
  6576. #. type: Plain text
  6577. #: guix-git/doc/guix.texi:2477
  6578. 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:"
  6579. msgstr ""
  6580. #. type: example
  6581. #: guix-git/doc/guix.texi:2480
  6582. #, no-wrap
  6583. msgid "cfdisk\n"
  6584. msgstr ""
  6585. #. type: Plain text
  6586. #: guix-git/doc/guix.texi:2486
  6587. 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})."
  6588. msgstr ""
  6589. #. type: cindex
  6590. #: guix-git/doc/guix.texi:2487
  6591. #, no-wrap
  6592. msgid "EFI, installation"
  6593. msgstr ""
  6594. #. type: cindex
  6595. #: guix-git/doc/guix.texi:2488
  6596. #, no-wrap
  6597. msgid "UEFI, installation"
  6598. msgstr ""
  6599. #. type: cindex
  6600. #: guix-git/doc/guix.texi:2489
  6601. #, no-wrap
  6602. msgid "ESP, EFI system partition"
  6603. msgstr ""
  6604. #. type: Plain text
  6605. #: guix-git/doc/guix.texi:2493
  6606. 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}:"
  6607. msgstr ""
  6608. #. type: example
  6609. #: guix-git/doc/guix.texi:2496
  6610. #, no-wrap
  6611. msgid "parted /dev/sda set 1 esp on\n"
  6612. msgstr ""
  6613. #. type: vindex
  6614. #: guix-git/doc/guix.texi:2499 guix-git/doc/guix.texi:35133
  6615. #, no-wrap
  6616. msgid "grub-bootloader"
  6617. msgstr ""
  6618. #. type: vindex
  6619. #: guix-git/doc/guix.texi:2500 guix-git/doc/guix.texi:35127
  6620. #, no-wrap
  6621. msgid "grub-efi-bootloader"
  6622. msgstr ""
  6623. #. type: quotation
  6624. #: guix-git/doc/guix.texi:2507
  6625. 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."
  6626. msgstr ""
  6627. #. type: Plain text
  6628. #: guix-git/doc/guix.texi:2515
  6629. msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently Guix System only supports ext4, btrfs, JFS, F2FS, and XFS file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda1}, run:"
  6630. msgstr ""
  6631. #. type: example
  6632. #: guix-git/doc/guix.texi:2518
  6633. #, no-wrap
  6634. msgid "mkfs.fat -F32 /dev/sda1\n"
  6635. msgstr ""
  6636. #. type: Plain text
  6637. #: guix-git/doc/guix.texi:2525
  6638. 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})."
  6639. msgstr ""
  6640. #. type: Plain text
  6641. #: guix-git/doc/guix.texi:2532
  6642. 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:"
  6643. msgstr ""
  6644. #. type: example
  6645. #: guix-git/doc/guix.texi:2535
  6646. #, no-wrap
  6647. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6648. msgstr ""
  6649. #. type: cindex
  6650. #: guix-git/doc/guix.texi:2537 guix-git/doc/guix.texi:14936
  6651. #, no-wrap
  6652. msgid "encrypted disk"
  6653. msgstr ""
  6654. #. type: Plain text
  6655. #: guix-git/doc/guix.texi:2542
  6656. 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)."
  6657. msgstr ""
  6658. #. type: quotation
  6659. #: guix-git/doc/guix.texi:2543 guix-git/doc/guix.texi:5318
  6660. #: guix-git/doc/guix.texi:6554 guix-git/doc/guix.texi:15062
  6661. #: guix-git/doc/guix.texi:21500 guix-git/doc/guix.texi:21507
  6662. #, no-wrap
  6663. msgid "Warning"
  6664. msgstr ""
  6665. #. type: quotation
  6666. #: guix-git/doc/guix.texi:2550
  6667. msgid "Note that GRUB can unlock LUKS2 devices since version 2.06, but only supports the PBKDF2 key derivation function, which is not the default for @command{cryptsetup luksFormat}. You can check which key derivation function is being used by a device by running @command{cryptsetup luksDump @var{device}}, and looking for the PBKDF field of your keyslots."
  6668. msgstr ""
  6669. #. type: Plain text
  6670. #: guix-git/doc/guix.texi:2555
  6671. msgid "Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence to format it as a LUKS2 partition would be along these lines:"
  6672. msgstr ""
  6673. #. type: example
  6674. #: guix-git/doc/guix.texi:2560
  6675. #, no-wrap
  6676. msgid ""
  6677. "cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2\n"
  6678. "cryptsetup open /dev/sda2 my-partition\n"
  6679. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6680. msgstr ""
  6681. #. type: Plain text
  6682. #: guix-git/doc/guix.texi:2565
  6683. 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):"
  6684. msgstr ""
  6685. #. type: example
  6686. #: guix-git/doc/guix.texi:2568
  6687. #, no-wrap
  6688. msgid "mount LABEL=my-root /mnt\n"
  6689. msgstr ""
  6690. #. type: Plain text
  6691. #: guix-git/doc/guix.texi:2574
  6692. 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."
  6693. msgstr ""
  6694. #. type: Plain text
  6695. #: guix-git/doc/guix.texi:2578
  6696. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Swap Space}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  6697. msgstr ""
  6698. #. type: example
  6699. #: guix-git/doc/guix.texi:2582
  6700. #, no-wrap
  6701. msgid ""
  6702. "mkswap /dev/sda3\n"
  6703. "swapon /dev/sda3\n"
  6704. msgstr ""
  6705. #. type: Plain text
  6706. #: guix-git/doc/guix.texi:2590
  6707. 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}.}:"
  6708. msgstr ""
  6709. #. type: example
  6710. #: guix-git/doc/guix.texi:2598
  6711. #, no-wrap
  6712. msgid ""
  6713. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6714. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6715. "# For security, make the file readable and writable only by root.\n"
  6716. "chmod 600 /mnt/swapfile\n"
  6717. "mkswap /mnt/swapfile\n"
  6718. "swapon /mnt/swapfile\n"
  6719. msgstr ""
  6720. #. type: Plain text
  6721. #: guix-git/doc/guix.texi:2603
  6722. 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."
  6723. msgstr ""
  6724. #. type: Plain text
  6725. #: guix-git/doc/guix.texi:2609
  6726. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6727. msgstr ""
  6728. #. type: example
  6729. #: guix-git/doc/guix.texi:2612
  6730. #, no-wrap
  6731. msgid "herd start cow-store /mnt\n"
  6732. msgstr ""
  6733. #. type: Plain text
  6734. #: guix-git/doc/guix.texi:2619
  6735. 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."
  6736. msgstr ""
  6737. #. type: Plain text
  6738. #: guix-git/doc/guix.texi:2630
  6739. 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."
  6740. msgstr ""
  6741. #. type: Plain text
  6742. #: guix-git/doc/guix.texi:2637
  6743. 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:"
  6744. msgstr ""
  6745. #. type: example
  6746. #: guix-git/doc/guix.texi:2642
  6747. #, no-wrap
  6748. msgid ""
  6749. "# mkdir /mnt/etc\n"
  6750. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6751. "# nano /mnt/etc/config.scm\n"
  6752. msgstr ""
  6753. #. type: Plain text
  6754. #: guix-git/doc/guix.texi:2646
  6755. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6756. msgstr ""
  6757. #. type: itemize
  6758. #: guix-git/doc/guix.texi:2658
  6759. msgid "Make sure the @code{bootloader-configuration} form refers to the targets you want to install GRUB on. It should mention @code{grub-bootloader} if you are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for newer UEFI systems. For legacy systems, the @code{targets} field contain the names of the devices, like @code{(list \"/dev/sda\")}; for UEFI systems it names the paths to mounted EFI partitions, like @code{(list \"/boot/efi\")}; do make sure the paths are currently mounted and a @code{file-system} entry is specified in your configuration."
  6760. msgstr ""
  6761. #. type: itemize
  6762. #: guix-git/doc/guix.texi:2664
  6763. 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."
  6764. msgstr ""
  6765. #. type: itemize
  6766. #: guix-git/doc/guix.texi:2668
  6767. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6768. msgstr ""
  6769. #. type: Plain text
  6770. #: guix-git/doc/guix.texi:2673
  6771. 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}):"
  6772. msgstr ""
  6773. #. type: example
  6774. #: guix-git/doc/guix.texi:2676
  6775. #, no-wrap
  6776. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6777. msgstr ""
  6778. #. type: Plain text
  6779. #: guix-git/doc/guix.texi:2683
  6780. 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."
  6781. msgstr ""
  6782. #. type: Plain text
  6783. #: guix-git/doc/guix.texi:2691
  6784. 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!"
  6785. msgstr ""
  6786. #. type: Plain text
  6787. #: guix-git/doc/guix.texi:2698
  6788. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6789. msgstr ""
  6790. #. type: example
  6791. #: guix-git/doc/guix.texi:2702
  6792. #, no-wrap
  6793. msgid ""
  6794. "guix pull\n"
  6795. "sudo guix system reconfigure /etc/config.scm\n"
  6796. msgstr ""
  6797. #. type: Plain text
  6798. #: guix-git/doc/guix.texi:2708
  6799. 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})."
  6800. msgstr ""
  6801. #. type: cindex
  6802. #: guix-git/doc/guix.texi:2711
  6803. #, no-wrap
  6804. msgid "sudo vs. @command{guix pull}"
  6805. msgstr ""
  6806. #. type: quotation
  6807. #: guix-git/doc/guix.texi:2715
  6808. 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{}}."
  6809. msgstr ""
  6810. #. type: quotation
  6811. #: guix-git/doc/guix.texi:2720
  6812. 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."
  6813. msgstr ""
  6814. #. type: Plain text
  6815. #: guix-git/doc/guix.texi:2725
  6816. 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!"
  6817. msgstr ""
  6818. #. type: section
  6819. #: guix-git/doc/guix.texi:2728
  6820. #, no-wrap
  6821. msgid "Installing Guix in a Virtual Machine"
  6822. msgstr ""
  6823. #. type: cindex
  6824. #: guix-git/doc/guix.texi:2730
  6825. #, no-wrap
  6826. msgid "virtual machine, Guix System installation"
  6827. msgstr ""
  6828. #. type: cindex
  6829. #: guix-git/doc/guix.texi:2731
  6830. #, no-wrap
  6831. msgid "virtual private server (VPS)"
  6832. msgstr ""
  6833. #. type: cindex
  6834. #: guix-git/doc/guix.texi:2732
  6835. #, no-wrap
  6836. msgid "VPS (virtual private server)"
  6837. msgstr ""
  6838. #. type: Plain text
  6839. #: guix-git/doc/guix.texi:2736
  6840. 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."
  6841. msgstr ""
  6842. #. type: Plain text
  6843. #: guix-git/doc/guix.texi:2739
  6844. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6845. msgstr ""
  6846. #. type: enumerate
  6847. #: guix-git/doc/guix.texi:2744
  6848. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6849. msgstr ""
  6850. #. type: enumerate
  6851. #: guix-git/doc/guix.texi:2748
  6852. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6853. msgstr ""
  6854. #. type: example
  6855. #: guix-git/doc/guix.texi:2751
  6856. #, no-wrap
  6857. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6858. msgstr ""
  6859. #. type: enumerate
  6860. #: guix-git/doc/guix.texi:2755
  6861. 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."
  6862. msgstr ""
  6863. #. type: enumerate
  6864. #: guix-git/doc/guix.texi:2758
  6865. msgid "Boot the USB installation image in an VM:"
  6866. msgstr ""
  6867. #. type: example
  6868. #: guix-git/doc/guix.texi:2764
  6869. #, no-wrap
  6870. msgid ""
  6871. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6872. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6873. " -drive file=guix-system.img \\\n"
  6874. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6875. msgstr ""
  6876. #. type: enumerate
  6877. #: guix-git/doc/guix.texi:2768
  6878. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6879. msgstr ""
  6880. #. type: enumerate
  6881. #: guix-git/doc/guix.texi:2772
  6882. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6883. msgstr ""
  6884. #. type: Plain text
  6885. #: guix-git/doc/guix.texi:2777
  6886. 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."
  6887. msgstr ""
  6888. #. type: cindex
  6889. #: guix-git/doc/guix.texi:2781
  6890. #, no-wrap
  6891. msgid "installation image"
  6892. msgstr ""
  6893. #. type: Plain text
  6894. #: guix-git/doc/guix.texi:2784
  6895. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6896. msgstr ""
  6897. #. type: example
  6898. #: guix-git/doc/guix.texi:2787
  6899. #, no-wrap
  6900. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6901. msgstr ""
  6902. #. type: Plain text
  6903. #: guix-git/doc/guix.texi:2792
  6904. 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."
  6905. msgstr ""
  6906. #. type: section
  6907. #: guix-git/doc/guix.texi:2793
  6908. #, no-wrap
  6909. msgid "Building the Installation Image for ARM Boards"
  6910. msgstr ""
  6911. #. type: Plain text
  6912. #: guix-git/doc/guix.texi:2797
  6913. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6914. msgstr ""
  6915. #. type: Plain text
  6916. #: guix-git/doc/guix.texi:2801
  6917. 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:"
  6918. msgstr ""
  6919. #. type: example
  6920. #: guix-git/doc/guix.texi:2804
  6921. #, no-wrap
  6922. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6923. msgstr ""
  6924. #. type: Plain text
  6925. #: guix-git/doc/guix.texi:2808
  6926. 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."
  6927. msgstr ""
  6928. #. type: Plain text
  6929. #: guix-git/doc/guix.texi:2818
  6930. 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."
  6931. msgstr ""
  6932. #. type: Plain text
  6933. #: guix-git/doc/guix.texi:2822
  6934. 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:"
  6935. msgstr ""
  6936. #. type: example
  6937. #: guix-git/doc/guix.texi:2825
  6938. #, no-wrap
  6939. msgid "guix search text editor\n"
  6940. msgstr ""
  6941. #. type: Plain text
  6942. #: guix-git/doc/guix.texi:2832
  6943. 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}!):"
  6944. msgstr ""
  6945. #. type: example
  6946. #: guix-git/doc/guix.texi:2835
  6947. #, no-wrap
  6948. msgid "guix install emacs\n"
  6949. msgstr ""
  6950. #. type: cindex
  6951. #: guix-git/doc/guix.texi:2837 guix-git/doc/guix.texi:3149
  6952. #: guix-git/doc/guix.texi:3201
  6953. #, no-wrap
  6954. msgid "profile"
  6955. msgstr ""
  6956. #. type: Plain text
  6957. #: guix-git/doc/guix.texi:2845
  6958. 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)."
  6959. msgstr ""
  6960. #. type: Plain text
  6961. #: guix-git/doc/guix.texi:2848
  6962. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6963. msgstr ""
  6964. #. type: example
  6965. #: guix-git/doc/guix.texi:2851
  6966. #, no-wrap
  6967. msgid ""
  6968. "hint: Consider setting the necessary environment variables by running:\n"
  6969. "\n"
  6970. msgstr ""
  6971. #. type: example
  6972. #: guix-git/doc/guix.texi:2854
  6973. #, no-wrap
  6974. msgid ""
  6975. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6976. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6977. "\n"
  6978. msgstr ""
  6979. #. type: example
  6980. #: guix-git/doc/guix.texi:2856
  6981. #, no-wrap
  6982. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6983. msgstr ""
  6984. #. type: Plain text
  6985. #: guix-git/doc/guix.texi:2870
  6986. msgid "Indeed, you must now tell your shell where @command{emacs} and other programs installed with Guix are to be found. Pasting the two lines above will do just that: it will add @code{$HOME/.guix-profile/bin}---which is where the installed package is---to the @code{PATH} environment variable. You can paste these two lines in your shell so they take effect right away, but more importantly you should add them to @file{~/.bash_profile} (or equivalent file if you do not use Bash) so that environment variables are set next time you spawn a shell. You only need to do this once and other search paths environment variables will be taken care of similarly---e.g., if you eventually install @code{python} and Python libraries, @env{GUIX_PYTHONPATH} will be defined."
  6987. msgstr ""
  6988. #. type: Plain text
  6989. #: guix-git/doc/guix.texi:2873
  6990. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6991. msgstr ""
  6992. #. type: example
  6993. #: guix-git/doc/guix.texi:2876
  6994. #, no-wrap
  6995. msgid "guix package --list-installed\n"
  6996. msgstr ""
  6997. #. type: Plain text
  6998. #: guix-git/doc/guix.texi:2881
  6999. 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:"
  7000. msgstr ""
  7001. #. type: example
  7002. #: guix-git/doc/guix.texi:2884
  7003. #, no-wrap
  7004. msgid "guix package --roll-back\n"
  7005. msgstr ""
  7006. #. type: Plain text
  7007. #: guix-git/doc/guix.texi:2889
  7008. 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:"
  7009. msgstr ""
  7010. #. type: example
  7011. #: guix-git/doc/guix.texi:2892
  7012. #, no-wrap
  7013. msgid "guix package --list-generations\n"
  7014. msgstr ""
  7015. #. type: Plain text
  7016. #: guix-git/doc/guix.texi:2895
  7017. msgid "Now you know the basics of package management!"
  7018. msgstr ""
  7019. #. type: quotation
  7020. #: guix-git/doc/guix.texi:2896 guix-git/doc/guix.texi:2955
  7021. #, no-wrap
  7022. msgid "Going further"
  7023. msgstr ""
  7024. #. type: quotation
  7025. #: guix-git/doc/guix.texi:2904
  7026. 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."
  7027. msgstr ""
  7028. #. type: Plain text
  7029. #: guix-git/doc/guix.texi:2909
  7030. 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:"
  7031. msgstr ""
  7032. #. type: Plain text
  7033. #: guix-git/doc/guix.texi:2919
  7034. 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}:"
  7035. msgstr ""
  7036. #. type: example
  7037. #: guix-git/doc/guix.texi:2923
  7038. #, no-wrap
  7039. msgid ""
  7040. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  7041. ". \"$GUIX_PROFILE/etc/profile\"\n"
  7042. msgstr ""
  7043. #. type: Plain text
  7044. #: guix-git/doc/guix.texi:2927
  7045. msgid "You must also instruct your shell to point to this new @command{guix}:"
  7046. msgstr ""
  7047. #. type: example
  7048. #: guix-git/doc/guix.texi:2930
  7049. #, no-wrap
  7050. msgid "hash guix\n"
  7051. msgstr ""
  7052. #. type: Plain text
  7053. #: guix-git/doc/guix.texi:2934
  7054. 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:"
  7055. msgstr ""
  7056. #. type: example
  7057. #: guix-git/doc/guix.texi:2937
  7058. #, no-wrap
  7059. msgid "guix upgrade\n"
  7060. msgstr ""
  7061. #. type: Plain text
  7062. #: guix-git/doc/guix.texi:2943
  7063. 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!"
  7064. msgstr ""
  7065. #. type: Plain text
  7066. #: guix-git/doc/guix.texi:2946
  7067. msgid "You can display the exact revision of Guix you're currently using by running:"
  7068. msgstr ""
  7069. #. type: example
  7070. #: guix-git/doc/guix.texi:2949
  7071. #, no-wrap
  7072. msgid "guix describe\n"
  7073. msgstr ""
  7074. #. type: Plain text
  7075. #: guix-git/doc/guix.texi:2954
  7076. 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."
  7077. msgstr ""
  7078. #. type: quotation
  7079. #: guix-git/doc/guix.texi:2960
  7080. 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})."
  7081. msgstr ""
  7082. #. type: Plain text
  7083. #: guix-git/doc/guix.texi:2965
  7084. 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:"
  7085. msgstr ""
  7086. #. type: example
  7087. #: guix-git/doc/guix.texi:2968
  7088. #, no-wrap
  7089. msgid "sudo guix system reconfigure /etc/config.scm\n"
  7090. msgstr ""
  7091. #. type: Plain text
  7092. #: guix-git/doc/guix.texi:2977
  7093. 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}:"
  7094. msgstr ""
  7095. #. type: example
  7096. #: guix-git/doc/guix.texi:2980
  7097. #, no-wrap
  7098. msgid "sudo guix system roll-back\n"
  7099. msgstr ""
  7100. #. type: Plain text
  7101. #: guix-git/doc/guix.texi:2987
  7102. 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."
  7103. msgstr ""
  7104. #. type: Plain text
  7105. #: guix-git/doc/guix.texi:2989
  7106. msgid "Now you know enough to get started!"
  7107. msgstr ""
  7108. #. type: quotation
  7109. #: guix-git/doc/guix.texi:2990
  7110. #, no-wrap
  7111. msgid "Resources"
  7112. msgstr ""
  7113. #. type: quotation
  7114. #: guix-git/doc/guix.texi:2993
  7115. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  7116. msgstr ""
  7117. #. type: itemize
  7118. #: guix-git/doc/guix.texi:2998
  7119. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  7120. msgstr ""
  7121. #. type: itemize
  7122. #: guix-git/doc/guix.texi:3003
  7123. 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."
  7124. msgstr ""
  7125. #. type: itemize
  7126. #: guix-git/doc/guix.texi:3008
  7127. 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."
  7128. msgstr ""
  7129. #. type: itemize
  7130. #: guix-git/doc/guix.texi:3012
  7131. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  7132. msgstr ""
  7133. #. type: quotation
  7134. #: guix-git/doc/guix.texi:3015
  7135. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  7136. msgstr ""
  7137. #. type: Plain text
  7138. #: guix-git/doc/guix.texi:3026
  7139. 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."
  7140. msgstr ""
  7141. #. type: Plain text
  7142. #: guix-git/doc/guix.texi:3034
  7143. 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):"
  7144. msgstr ""
  7145. #. type: example
  7146. #: guix-git/doc/guix.texi:3037
  7147. #, no-wrap
  7148. msgid "guix install emacs-guix\n"
  7149. msgstr ""
  7150. #. type: Plain text
  7151. #: guix-git/doc/guix.texi:3058
  7152. 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."
  7153. msgstr ""
  7154. #. type: Plain text
  7155. #: guix-git/doc/guix.texi:3062
  7156. 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."
  7157. msgstr ""
  7158. #. type: Plain text
  7159. #: guix-git/doc/guix.texi:3067
  7160. 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}."
  7161. msgstr ""
  7162. #. type: Plain text
  7163. #: guix-git/doc/guix.texi:3075
  7164. 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."
  7165. msgstr ""
  7166. #. type: Plain text
  7167. #: guix-git/doc/guix.texi:3079
  7168. 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}."
  7169. msgstr ""
  7170. #. type: cindex
  7171. #: guix-git/doc/guix.texi:3080 guix-git/doc/guix.texi:3163
  7172. #, no-wrap
  7173. msgid "transactions"
  7174. msgstr ""
  7175. #. type: Plain text
  7176. #: guix-git/doc/guix.texi:3087
  7177. 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."
  7178. msgstr ""
  7179. #. type: Plain text
  7180. #: guix-git/doc/guix.texi:3095
  7181. 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})."
  7182. msgstr ""
  7183. #. type: Plain text
  7184. #: guix-git/doc/guix.texi:3102
  7185. 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."
  7186. msgstr ""
  7187. #. type: Plain text
  7188. #: guix-git/doc/guix.texi:3115
  7189. 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})."
  7190. msgstr ""
  7191. #. type: Plain text
  7192. #: guix-git/doc/guix.texi:3126
  7193. 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})."
  7194. msgstr ""
  7195. #. type: Plain text
  7196. #: guix-git/doc/guix.texi:3132
  7197. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix shell} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix shell})."
  7198. msgstr ""
  7199. #. type: cindex
  7200. #: guix-git/doc/guix.texi:3133
  7201. #, no-wrap
  7202. msgid "replication, of software environments"
  7203. msgstr ""
  7204. #. type: cindex
  7205. #: guix-git/doc/guix.texi:3134
  7206. #, no-wrap
  7207. msgid "provenance tracking, of software artifacts"
  7208. msgstr ""
  7209. #. type: Plain text
  7210. #: guix-git/doc/guix.texi:3141
  7211. 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."
  7212. msgstr ""
  7213. #. type: section
  7214. #: guix-git/doc/guix.texi:3143
  7215. #, no-wrap
  7216. msgid "Invoking @command{guix package}"
  7217. msgstr ""
  7218. #. type: cindex
  7219. #: guix-git/doc/guix.texi:3145
  7220. #, no-wrap
  7221. msgid "installing packages"
  7222. msgstr ""
  7223. #. type: cindex
  7224. #: guix-git/doc/guix.texi:3146
  7225. #, no-wrap
  7226. msgid "removing packages"
  7227. msgstr ""
  7228. #. type: cindex
  7229. #: guix-git/doc/guix.texi:3147
  7230. #, no-wrap
  7231. msgid "package installation"
  7232. msgstr ""
  7233. #. type: cindex
  7234. #: guix-git/doc/guix.texi:3148
  7235. #, no-wrap
  7236. msgid "package removal"
  7237. msgstr ""
  7238. #. type: Plain text
  7239. #: guix-git/doc/guix.texi:3158
  7240. 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:"
  7241. msgstr ""
  7242. #. type: example
  7243. #: guix-git/doc/guix.texi:3161
  7244. #, no-wrap
  7245. msgid "guix package @var{options}\n"
  7246. msgstr ""
  7247. #. type: Plain text
  7248. #: guix-git/doc/guix.texi:3168
  7249. 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."
  7250. msgstr ""
  7251. #. type: Plain text
  7252. #: guix-git/doc/guix.texi:3171
  7253. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7254. msgstr ""
  7255. #. type: example
  7256. #: guix-git/doc/guix.texi:3174
  7257. #, no-wrap
  7258. msgid "guix package -r lua -i guile guile-cairo\n"
  7259. msgstr ""
  7260. #. type: cindex
  7261. #: guix-git/doc/guix.texi:3176
  7262. #, no-wrap
  7263. msgid "aliases, for @command{guix package}"
  7264. msgstr ""
  7265. #. type: Plain text
  7266. #: guix-git/doc/guix.texi:3178
  7267. msgid "For your convenience, we also provide the following aliases:"
  7268. msgstr ""
  7269. #. type: itemize
  7270. #: guix-git/doc/guix.texi:3182
  7271. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7272. msgstr ""
  7273. #. type: itemize
  7274. #: guix-git/doc/guix.texi:3184
  7275. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7276. msgstr ""
  7277. #. type: itemize
  7278. #: guix-git/doc/guix.texi:3186
  7279. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7280. msgstr ""
  7281. #. type: itemize
  7282. #: guix-git/doc/guix.texi:3188
  7283. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7284. msgstr ""
  7285. #. type: itemize
  7286. #: guix-git/doc/guix.texi:3190
  7287. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7288. msgstr ""
  7289. #. type: Plain text
  7290. #: guix-git/doc/guix.texi:3195
  7291. 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."
  7292. msgstr ""
  7293. #. type: Plain text
  7294. #: guix-git/doc/guix.texi:3200
  7295. 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}})."
  7296. msgstr ""
  7297. #. type: Plain text
  7298. #: guix-git/doc/guix.texi:3207
  7299. 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."
  7300. msgstr ""
  7301. #. type: cindex
  7302. #: guix-git/doc/guix.texi:3207 guix-git/doc/guix.texi:3451
  7303. #, no-wrap
  7304. msgid "search paths"
  7305. msgstr ""
  7306. #. type: Plain text
  7307. #: guix-git/doc/guix.texi:3212
  7308. 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:"
  7309. msgstr ""
  7310. #. type: example
  7311. #: guix-git/doc/guix.texi:3216
  7312. #, no-wrap
  7313. msgid ""
  7314. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7315. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7316. msgstr ""
  7317. #. type: Plain text
  7318. #: guix-git/doc/guix.texi:3227
  7319. 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}."
  7320. msgstr ""
  7321. #. type: Plain text
  7322. #: guix-git/doc/guix.texi:3229
  7323. msgid "The @var{options} can be among the following:"
  7324. msgstr ""
  7325. #. type: item
  7326. #: guix-git/doc/guix.texi:3232
  7327. #, no-wrap
  7328. msgid "--install=@var{package} @dots{}"
  7329. msgstr ""
  7330. #. type: itemx
  7331. #: guix-git/doc/guix.texi:3233
  7332. #, no-wrap
  7333. msgid "-i @var{package} @dots{}"
  7334. msgstr ""
  7335. #. type: table
  7336. #: guix-git/doc/guix.texi:3235
  7337. msgid "Install the specified @var{package}s."
  7338. msgstr ""
  7339. #. type: table
  7340. #: guix-git/doc/guix.texi:3240
  7341. 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)."
  7342. msgstr ""
  7343. #. type: table
  7344. #: guix-git/doc/guix.texi:3248
  7345. 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})."
  7346. msgstr ""
  7347. #. type: cindex
  7348. #: guix-git/doc/guix.texi:3249
  7349. #, no-wrap
  7350. msgid "propagated inputs"
  7351. msgstr ""
  7352. #. type: table
  7353. #: guix-git/doc/guix.texi:3255
  7354. 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)."
  7355. msgstr ""
  7356. #. type: anchor{#1}
  7357. #: guix-git/doc/guix.texi:3262
  7358. msgid "package-cmd-propagated-inputs"
  7359. msgstr ""
  7360. #. type: table
  7361. #: guix-git/doc/guix.texi:3262
  7362. 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."
  7363. msgstr ""
  7364. #. type: table
  7365. #: guix-git/doc/guix.texi:3267
  7366. 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."
  7367. msgstr ""
  7368. #. type: item
  7369. #: guix-git/doc/guix.texi:3268
  7370. #, no-wrap
  7371. msgid "--install-from-expression=@var{exp}"
  7372. msgstr ""
  7373. #. type: itemx
  7374. #: guix-git/doc/guix.texi:3269
  7375. #, no-wrap
  7376. msgid "-e @var{exp}"
  7377. msgstr ""
  7378. #. type: table
  7379. #: guix-git/doc/guix.texi:3271
  7380. msgid "Install the package @var{exp} evaluates to."
  7381. msgstr ""
  7382. #. type: table
  7383. #: guix-git/doc/guix.texi:3276
  7384. 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)}."
  7385. msgstr ""
  7386. #. type: table
  7387. #: guix-git/doc/guix.texi:3280
  7388. 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."
  7389. msgstr ""
  7390. #. type: item
  7391. #: guix-git/doc/guix.texi:3281
  7392. #, no-wrap
  7393. msgid "--install-from-file=@var{file}"
  7394. msgstr ""
  7395. #. type: itemx
  7396. #: guix-git/doc/guix.texi:3282 guix-git/doc/guix.texi:5821
  7397. #: guix-git/doc/guix.texi:11814
  7398. #, no-wrap
  7399. msgid "-f @var{file}"
  7400. msgstr ""
  7401. #. type: table
  7402. #: guix-git/doc/guix.texi:3284
  7403. msgid "Install the package that the code within @var{file} evaluates to."
  7404. msgstr ""
  7405. #. type: table
  7406. #: guix-git/doc/guix.texi:3287 guix-git/doc/guix.texi:5827
  7407. #: guix-git/doc/guix.texi:6221
  7408. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7409. msgstr ""
  7410. #. type: include
  7411. #: guix-git/doc/guix.texi:3289 guix-git/doc/guix.texi:11822
  7412. #, no-wrap
  7413. msgid "package-hello.scm"
  7414. msgstr ""
  7415. #. type: table
  7416. #: guix-git/doc/guix.texi:3296
  7417. msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix shell})."
  7418. msgstr ""
  7419. #. type: table
  7420. #: guix-git/doc/guix.texi:3301
  7421. 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}:"
  7422. msgstr ""
  7423. #. type: example
  7424. #: guix-git/doc/guix.texi:3304 guix-git/doc/guix.texi:11832
  7425. #, no-wrap
  7426. msgid "@verbatiminclude package-hello.json\n"
  7427. msgstr ""
  7428. #. type: item
  7429. #: guix-git/doc/guix.texi:3306
  7430. #, no-wrap
  7431. msgid "--remove=@var{package} @dots{}"
  7432. msgstr ""
  7433. #. type: itemx
  7434. #: guix-git/doc/guix.texi:3307
  7435. #, no-wrap
  7436. msgid "-r @var{package} @dots{}"
  7437. msgstr ""
  7438. #. type: table
  7439. #: guix-git/doc/guix.texi:3309
  7440. msgid "Remove the specified @var{package}s."
  7441. msgstr ""
  7442. #. type: table
  7443. #: guix-git/doc/guix.texi:3314
  7444. 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}."
  7445. msgstr ""
  7446. #. type: item
  7447. #: guix-git/doc/guix.texi:3315
  7448. #, no-wrap
  7449. msgid "--upgrade[=@var{regexp} @dots{}]"
  7450. msgstr ""
  7451. #. type: itemx
  7452. #: guix-git/doc/guix.texi:3316
  7453. #, no-wrap
  7454. msgid "-u [@var{regexp} @dots{}]"
  7455. msgstr ""
  7456. #. type: cindex
  7457. #: guix-git/doc/guix.texi:3317
  7458. #, no-wrap
  7459. msgid "upgrading packages"
  7460. msgstr ""
  7461. #. type: table
  7462. #: guix-git/doc/guix.texi:3321
  7463. 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."
  7464. msgstr ""
  7465. #. type: table
  7466. #: guix-git/doc/guix.texi:3326
  7467. 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})."
  7468. msgstr ""
  7469. #. type: cindex
  7470. #: guix-git/doc/guix.texi:3327
  7471. #, no-wrap
  7472. msgid "package transformations, upgrades"
  7473. msgstr ""
  7474. #. type: table
  7475. #: guix-git/doc/guix.texi:3332
  7476. 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:"
  7477. msgstr ""
  7478. #. type: example
  7479. #: guix-git/doc/guix.texi:3335
  7480. #, no-wrap
  7481. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7482. msgstr ""
  7483. #. type: table
  7484. #: guix-git/doc/guix.texi:3340
  7485. 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."
  7486. msgstr ""
  7487. #. type: table
  7488. #: guix-git/doc/guix.texi:3345
  7489. 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:"
  7490. msgstr ""
  7491. #. type: example
  7492. #: guix-git/doc/guix.texi:3348
  7493. #, no-wrap
  7494. msgid "guix install @var{package}\n"
  7495. msgstr ""
  7496. #. type: item
  7497. #: guix-git/doc/guix.texi:3350
  7498. #, no-wrap
  7499. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7500. msgstr ""
  7501. #. type: table
  7502. #: guix-git/doc/guix.texi:3355
  7503. 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'':"
  7504. msgstr ""
  7505. #. type: example
  7506. #: guix-git/doc/guix.texi:3358
  7507. #, no-wrap
  7508. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7509. msgstr ""
  7510. #. type: anchor{#1}
  7511. #: guix-git/doc/guix.texi:3360
  7512. #, no-wrap
  7513. msgid "profile-manifest"
  7514. msgstr ""
  7515. #. type: item
  7516. #: guix-git/doc/guix.texi:3360 guix-git/doc/guix.texi:5839
  7517. #: guix-git/doc/guix.texi:6226 guix-git/doc/guix.texi:6680
  7518. #: guix-git/doc/guix.texi:12954 guix-git/doc/guix.texi:14596
  7519. #, no-wrap
  7520. msgid "--manifest=@var{file}"
  7521. msgstr ""
  7522. #. type: itemx
  7523. #: guix-git/doc/guix.texi:3361 guix-git/doc/guix.texi:5840
  7524. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:6681
  7525. #: guix-git/doc/guix.texi:12955
  7526. #, no-wrap
  7527. msgid "-m @var{file}"
  7528. msgstr ""
  7529. #. type: cindex
  7530. #: guix-git/doc/guix.texi:3362
  7531. #, no-wrap
  7532. msgid "profile declaration"
  7533. msgstr ""
  7534. #. type: cindex
  7535. #: guix-git/doc/guix.texi:3363
  7536. #, no-wrap
  7537. msgid "profile manifest"
  7538. msgstr ""
  7539. #. type: table
  7540. #: guix-git/doc/guix.texi:3367
  7541. 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."
  7542. msgstr ""
  7543. #. type: table
  7544. #: guix-git/doc/guix.texi:3373
  7545. 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."
  7546. msgstr ""
  7547. #. type: table
  7548. #: guix-git/doc/guix.texi:3377
  7549. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7550. msgstr ""
  7551. #. type: findex
  7552. #: guix-git/doc/guix.texi:3378
  7553. #, no-wrap
  7554. msgid "packages->manifest"
  7555. msgstr ""
  7556. #. type: lisp
  7557. #: guix-git/doc/guix.texi:3381
  7558. #, no-wrap
  7559. msgid ""
  7560. "(use-package-modules guile emacs)\n"
  7561. "\n"
  7562. msgstr ""
  7563. #. type: lisp
  7564. #: guix-git/doc/guix.texi:3387
  7565. #, no-wrap
  7566. msgid ""
  7567. "(packages->manifest\n"
  7568. " (list emacs\n"
  7569. " guile-2.0\n"
  7570. " ;; Use a specific package output.\n"
  7571. " (list guile-2.0 \"debug\")))\n"
  7572. msgstr ""
  7573. #. type: findex
  7574. #: guix-git/doc/guix.texi:3389
  7575. #, no-wrap
  7576. msgid "specifications->manifest"
  7577. msgstr ""
  7578. #. type: table
  7579. #: guix-git/doc/guix.texi:3396
  7580. 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:"
  7581. msgstr ""
  7582. #. type: lisp
  7583. #: guix-git/doc/guix.texi:3400
  7584. #, no-wrap
  7585. msgid ""
  7586. "(specifications->manifest\n"
  7587. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7588. msgstr ""
  7589. #. type: findex
  7590. #: guix-git/doc/guix.texi:3402
  7591. #, no-wrap
  7592. msgid "package->development-manifest"
  7593. msgstr ""
  7594. #. type: table
  7595. #: guix-git/doc/guix.texi:3405
  7596. msgid "You might also want to create a manifest for all the dependencies of a package, rather than the package itself:"
  7597. msgstr ""
  7598. #. type: lisp
  7599. #: guix-git/doc/guix.texi:3408
  7600. #, no-wrap
  7601. msgid "(package->development-manifest (specification->package \"emacs\"))\n"
  7602. msgstr ""
  7603. #. type: table
  7604. #: guix-git/doc/guix.texi:3412
  7605. msgid "The example above gives you all the software required to develop Emacs, similar to what @command{guix environment emacs} provides."
  7606. msgstr ""
  7607. #. type: table
  7608. #: guix-git/doc/guix.texi:3415
  7609. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7610. msgstr ""
  7611. #. type: item
  7612. #: guix-git/doc/guix.texi:3416 guix-git/doc/guix.texi:4530
  7613. #, no-wrap
  7614. msgid "--roll-back"
  7615. msgstr ""
  7616. #. type: cindex
  7617. #: guix-git/doc/guix.texi:3417 guix-git/doc/guix.texi:4531
  7618. #: guix-git/doc/guix.texi:35559 guix-git/doc/guix.texi:38314
  7619. #, no-wrap
  7620. msgid "rolling back"
  7621. msgstr ""
  7622. #. type: cindex
  7623. #: guix-git/doc/guix.texi:3418 guix-git/doc/guix.texi:4532
  7624. #, no-wrap
  7625. msgid "undoing transactions"
  7626. msgstr ""
  7627. #. type: cindex
  7628. #: guix-git/doc/guix.texi:3419 guix-git/doc/guix.texi:4533
  7629. #, no-wrap
  7630. msgid "transactions, undoing"
  7631. msgstr ""
  7632. #. type: table
  7633. #: guix-git/doc/guix.texi:3422
  7634. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7635. msgstr ""
  7636. #. type: table
  7637. #: guix-git/doc/guix.texi:3425
  7638. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7639. msgstr ""
  7640. #. type: table
  7641. #: guix-git/doc/guix.texi:3429
  7642. 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."
  7643. msgstr ""
  7644. #. type: table
  7645. #: guix-git/doc/guix.texi:3433
  7646. 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."
  7647. msgstr ""
  7648. #. type: item
  7649. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4537
  7650. #, no-wrap
  7651. msgid "--switch-generation=@var{pattern}"
  7652. msgstr ""
  7653. #. type: itemx
  7654. #: guix-git/doc/guix.texi:3435 guix-git/doc/guix.texi:4538
  7655. #, no-wrap
  7656. msgid "-S @var{pattern}"
  7657. msgstr ""
  7658. #. type: cindex
  7659. #: guix-git/doc/guix.texi:3436 guix-git/doc/guix.texi:3669
  7660. #: guix-git/doc/guix.texi:4539 guix-git/doc/guix.texi:35517
  7661. #, no-wrap
  7662. msgid "generations"
  7663. msgstr ""
  7664. #. type: table
  7665. #: guix-git/doc/guix.texi:3438 guix-git/doc/guix.texi:4541
  7666. msgid "Switch to a particular generation defined by @var{pattern}."
  7667. msgstr ""
  7668. #. type: table
  7669. #: guix-git/doc/guix.texi:3444 guix-git/doc/guix.texi:4547
  7670. 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}."
  7671. msgstr ""
  7672. #. type: table
  7673. #: guix-git/doc/guix.texi:3449
  7674. 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."
  7675. msgstr ""
  7676. #. type: item
  7677. #: guix-git/doc/guix.texi:3450
  7678. #, no-wrap
  7679. msgid "--search-paths[=@var{kind}]"
  7680. msgstr ""
  7681. #. type: table
  7682. #: guix-git/doc/guix.texi:3456
  7683. 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."
  7684. msgstr ""
  7685. #. type: table
  7686. #: guix-git/doc/guix.texi:3465
  7687. msgid "For example, GCC needs the @env{CPATH} and @env{LIBRARY_PATH} environment variables to be defined so it can look for headers and libraries in the user's profile (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C library are installed in the profile, then @option{--search-paths} will suggest setting these variables to @file{@var{profile}/include} and @file{@var{profile}/lib}, respectively (@pxref{Search Paths}, for info on search path specifications associated with packages.)"
  7688. msgstr ""
  7689. #. type: table
  7690. #: guix-git/doc/guix.texi:3468
  7691. msgid "The typical use case is to define these environment variables in the shell:"
  7692. msgstr ""
  7693. #. type: example
  7694. #: guix-git/doc/guix.texi:3471
  7695. #, no-wrap
  7696. msgid "$ eval `guix package --search-paths`\n"
  7697. msgstr ""
  7698. #. type: table
  7699. #: guix-git/doc/guix.texi:3477
  7700. 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}."
  7701. msgstr ""
  7702. #. type: table
  7703. #: guix-git/doc/guix.texi:3480
  7704. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7705. msgstr ""
  7706. #. type: example
  7707. #: guix-git/doc/guix.texi:3485
  7708. #, no-wrap
  7709. msgid ""
  7710. "$ guix package -p foo -i guile\n"
  7711. "$ guix package -p bar -i guile-json\n"
  7712. "$ guix package -p foo -p bar --search-paths\n"
  7713. msgstr ""
  7714. #. type: table
  7715. #: guix-git/doc/guix.texi:3490
  7716. 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."
  7717. msgstr ""
  7718. #. type: cindex
  7719. #: guix-git/doc/guix.texi:3492
  7720. #, no-wrap
  7721. msgid "profile, choosing"
  7722. msgstr ""
  7723. #. type: item
  7724. #: guix-git/doc/guix.texi:3493 guix-git/doc/guix.texi:4567
  7725. #: guix-git/doc/guix.texi:4896 guix-git/doc/guix.texi:5849
  7726. #: guix-git/doc/guix.texi:6262
  7727. #, no-wrap
  7728. msgid "--profile=@var{profile}"
  7729. msgstr ""
  7730. #. type: itemx
  7731. #: guix-git/doc/guix.texi:3494 guix-git/doc/guix.texi:4568
  7732. #: guix-git/doc/guix.texi:4897 guix-git/doc/guix.texi:5850
  7733. #: guix-git/doc/guix.texi:6263
  7734. #, no-wrap
  7735. msgid "-p @var{profile}"
  7736. msgstr ""
  7737. #. type: table
  7738. #: guix-git/doc/guix.texi:3496
  7739. msgid "Use @var{profile} instead of the user's default profile."
  7740. msgstr ""
  7741. #. type: table
  7742. #: guix-git/doc/guix.texi:3501
  7743. 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:"
  7744. msgstr ""
  7745. #. type: example
  7746. #: guix-git/doc/guix.texi:3507
  7747. #, no-wrap
  7748. msgid ""
  7749. "$ guix install hello -p ~/code/my-profile\n"
  7750. "@dots{}\n"
  7751. "$ ~/code/my-profile/bin/hello\n"
  7752. "Hello, world!\n"
  7753. msgstr ""
  7754. #. type: table
  7755. #: guix-git/doc/guix.texi:3511
  7756. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7757. msgstr ""
  7758. #. type: example
  7759. #: guix-git/doc/guix.texi:3514
  7760. #, no-wrap
  7761. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7762. msgstr ""
  7763. #. type: item
  7764. #: guix-git/doc/guix.texi:3516
  7765. #, no-wrap
  7766. msgid "--list-profiles"
  7767. msgstr ""
  7768. #. type: table
  7769. #: guix-git/doc/guix.texi:3518
  7770. msgid "List all the user's profiles:"
  7771. msgstr ""
  7772. #. type: example
  7773. #: guix-git/doc/guix.texi:3525
  7774. #, no-wrap
  7775. msgid ""
  7776. "$ guix package --list-profiles\n"
  7777. "/home/charlie/.guix-profile\n"
  7778. "/home/charlie/code/my-profile\n"
  7779. "/home/charlie/code/devel-profile\n"
  7780. "/home/charlie/tmp/test\n"
  7781. msgstr ""
  7782. #. type: table
  7783. #: guix-git/doc/guix.texi:3528
  7784. msgid "When running as root, list all the profiles of all the users."
  7785. msgstr ""
  7786. #. type: cindex
  7787. #: guix-git/doc/guix.texi:3529
  7788. #, no-wrap
  7789. msgid "collisions, in a profile"
  7790. msgstr ""
  7791. #. type: cindex
  7792. #: guix-git/doc/guix.texi:3530
  7793. #, no-wrap
  7794. msgid "colliding packages in profiles"
  7795. msgstr ""
  7796. #. type: cindex
  7797. #: guix-git/doc/guix.texi:3531
  7798. #, no-wrap
  7799. msgid "profile collisions"
  7800. msgstr ""
  7801. #. type: item
  7802. #: guix-git/doc/guix.texi:3532
  7803. #, no-wrap
  7804. msgid "--allow-collisions"
  7805. msgstr ""
  7806. #. type: table
  7807. #: guix-git/doc/guix.texi:3534
  7808. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7809. msgstr ""
  7810. #. type: table
  7811. #: guix-git/doc/guix.texi:3538
  7812. 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."
  7813. msgstr ""
  7814. #. type: item
  7815. #: guix-git/doc/guix.texi:3539 guix-git/doc/guix.texi:4610
  7816. #: guix-git/doc/guix.texi:6766
  7817. #, no-wrap
  7818. msgid "--bootstrap"
  7819. msgstr ""
  7820. #. type: table
  7821. #: guix-git/doc/guix.texi:3542
  7822. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7823. msgstr ""
  7824. #. type: Plain text
  7825. #: guix-git/doc/guix.texi:3548
  7826. 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:"
  7827. msgstr ""
  7828. #. type: item
  7829. #: guix-git/doc/guix.texi:3551
  7830. #, no-wrap
  7831. msgid "--search=@var{regexp}"
  7832. msgstr ""
  7833. #. type: itemx
  7834. #: guix-git/doc/guix.texi:3552
  7835. #, no-wrap
  7836. msgid "-s @var{regexp}"
  7837. msgstr ""
  7838. #. type: anchor{#1}
  7839. #: guix-git/doc/guix.texi:3554
  7840. msgid "guix-search"
  7841. msgstr ""
  7842. #. type: cindex
  7843. #: guix-git/doc/guix.texi:3554
  7844. #, no-wrap
  7845. msgid "searching for packages"
  7846. msgstr ""
  7847. #. type: table
  7848. #: guix-git/doc/guix.texi:3560
  7849. 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})."
  7850. msgstr ""
  7851. #. type: table
  7852. #: guix-git/doc/guix.texi:3563
  7853. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7854. msgstr ""
  7855. #. type: example
  7856. #: guix-git/doc/guix.texi:3569
  7857. #, no-wrap
  7858. msgid ""
  7859. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7860. "name: jemalloc\n"
  7861. "version: 4.5.0\n"
  7862. "relevance: 6\n"
  7863. "\n"
  7864. msgstr ""
  7865. #. type: example
  7866. #: guix-git/doc/guix.texi:3573
  7867. #, no-wrap
  7868. msgid ""
  7869. "name: glibc\n"
  7870. "version: 2.25\n"
  7871. "relevance: 1\n"
  7872. "\n"
  7873. msgstr ""
  7874. #. type: example
  7875. #: guix-git/doc/guix.texi:3577
  7876. #, no-wrap
  7877. msgid ""
  7878. "name: libgc\n"
  7879. "version: 7.6.0\n"
  7880. "relevance: 1\n"
  7881. msgstr ""
  7882. #. type: table
  7883. #: guix-git/doc/guix.texi:3581
  7884. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7885. msgstr ""
  7886. #. type: example
  7887. #: guix-git/doc/guix.texi:3585
  7888. #, no-wrap
  7889. msgid ""
  7890. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7891. "name: elfutils\n"
  7892. "\n"
  7893. msgstr ""
  7894. #. type: example
  7895. #: guix-git/doc/guix.texi:3588
  7896. #, no-wrap
  7897. msgid ""
  7898. "name: gmp\n"
  7899. "@dots{}\n"
  7900. msgstr ""
  7901. #. type: table
  7902. #: guix-git/doc/guix.texi:3594
  7903. 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):"
  7904. msgstr ""
  7905. #. type: example
  7906. #: guix-git/doc/guix.texi:3599
  7907. #, no-wrap
  7908. msgid ""
  7909. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7910. "name: gnubg\n"
  7911. "@dots{}\n"
  7912. msgstr ""
  7913. #. type: table
  7914. #: guix-git/doc/guix.texi:3605
  7915. 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."
  7916. msgstr ""
  7917. #. type: table
  7918. #: guix-git/doc/guix.texi:3609
  7919. 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:"
  7920. msgstr ""
  7921. #. type: example
  7922. #: guix-git/doc/guix.texi:3613
  7923. #, no-wrap
  7924. msgid ""
  7925. "$ guix search crypto library | \\\n"
  7926. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7927. msgstr ""
  7928. #. type: table
  7929. #: guix-git/doc/guix.texi:3618
  7930. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7931. msgstr ""
  7932. #. type: item
  7933. #: guix-git/doc/guix.texi:3619
  7934. #, no-wrap
  7935. msgid "--show=@var{package}"
  7936. msgstr ""
  7937. #. type: table
  7938. #: guix-git/doc/guix.texi:3623
  7939. 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})."
  7940. msgstr ""
  7941. #. type: example
  7942. #: guix-git/doc/guix.texi:3628
  7943. #, no-wrap
  7944. msgid ""
  7945. "$ guix package --show=guile | recsel -p name,version\n"
  7946. "name: guile\n"
  7947. "version: 3.0.5\n"
  7948. "\n"
  7949. msgstr ""
  7950. #. type: example
  7951. #: guix-git/doc/guix.texi:3631
  7952. #, no-wrap
  7953. msgid ""
  7954. "name: guile\n"
  7955. "version: 3.0.2\n"
  7956. "\n"
  7957. msgstr ""
  7958. #. type: example
  7959. #: guix-git/doc/guix.texi:3635
  7960. #, no-wrap
  7961. msgid ""
  7962. "name: guile\n"
  7963. "version: 2.2.7\n"
  7964. "@dots{}\n"
  7965. msgstr ""
  7966. #. type: table
  7967. #: guix-git/doc/guix.texi:3639
  7968. 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):"
  7969. msgstr ""
  7970. #. type: example
  7971. #: guix-git/doc/guix.texi:3643
  7972. #, no-wrap
  7973. msgid ""
  7974. "$ guix show guile@@3.0.5 | recsel -p name,version\n"
  7975. "name: guile\n"
  7976. "version: 3.0.5\n"
  7977. msgstr ""
  7978. #. type: item
  7979. #: guix-git/doc/guix.texi:3645
  7980. #, no-wrap
  7981. msgid "--list-installed[=@var{regexp}]"
  7982. msgstr ""
  7983. #. type: itemx
  7984. #: guix-git/doc/guix.texi:3646
  7985. #, no-wrap
  7986. msgid "-I [@var{regexp}]"
  7987. msgstr ""
  7988. #. type: table
  7989. #: guix-git/doc/guix.texi:3650
  7990. 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}."
  7991. msgstr ""
  7992. #. type: table
  7993. #: guix-git/doc/guix.texi:3656
  7994. 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."
  7995. msgstr ""
  7996. #. type: item
  7997. #: guix-git/doc/guix.texi:3657
  7998. #, no-wrap
  7999. msgid "--list-available[=@var{regexp}]"
  8000. msgstr ""
  8001. #. type: itemx
  8002. #: guix-git/doc/guix.texi:3658
  8003. #, no-wrap
  8004. msgid "-A [@var{regexp}]"
  8005. msgstr ""
  8006. #. type: table
  8007. #: guix-git/doc/guix.texi:3662
  8008. 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}."
  8009. msgstr ""
  8010. #. type: table
  8011. #: guix-git/doc/guix.texi:3666
  8012. 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."
  8013. msgstr ""
  8014. #. type: item
  8015. #: guix-git/doc/guix.texi:3667 guix-git/doc/guix.texi:4513
  8016. #, no-wrap
  8017. msgid "--list-generations[=@var{pattern}]"
  8018. msgstr ""
  8019. #. type: itemx
  8020. #: guix-git/doc/guix.texi:3668 guix-git/doc/guix.texi:4514
  8021. #, no-wrap
  8022. msgid "-l [@var{pattern}]"
  8023. msgstr ""
  8024. #. type: table
  8025. #: guix-git/doc/guix.texi:3674
  8026. 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."
  8027. msgstr ""
  8028. #. type: table
  8029. #: guix-git/doc/guix.texi:3679
  8030. 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."
  8031. msgstr ""
  8032. #. type: table
  8033. #: guix-git/doc/guix.texi:3682
  8034. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  8035. msgstr ""
  8036. #. type: item
  8037. #: guix-git/doc/guix.texi:3684
  8038. #, no-wrap
  8039. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  8040. msgstr ""
  8041. #. type: itemize
  8042. #: guix-git/doc/guix.texi:3687
  8043. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  8044. msgstr ""
  8045. #. type: itemize
  8046. #: guix-git/doc/guix.texi:3690
  8047. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  8048. msgstr ""
  8049. #. type: item
  8050. #: guix-git/doc/guix.texi:3691
  8051. #, no-wrap
  8052. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  8053. msgstr ""
  8054. #. type: itemize
  8055. #: guix-git/doc/guix.texi:3694
  8056. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  8057. msgstr ""
  8058. #. type: itemize
  8059. #: guix-git/doc/guix.texi:3698
  8060. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  8061. msgstr ""
  8062. #. type: item
  8063. #: guix-git/doc/guix.texi:3699
  8064. #, no-wrap
  8065. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  8066. msgstr ""
  8067. #. type: itemize
  8068. #: guix-git/doc/guix.texi:3703
  8069. 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."
  8070. msgstr ""
  8071. #. type: item
  8072. #: guix-git/doc/guix.texi:3705 guix-git/doc/guix.texi:4548
  8073. #, no-wrap
  8074. msgid "--delete-generations[=@var{pattern}]"
  8075. msgstr ""
  8076. #. type: itemx
  8077. #: guix-git/doc/guix.texi:3706 guix-git/doc/guix.texi:4549
  8078. #, no-wrap
  8079. msgid "-d [@var{pattern}]"
  8080. msgstr ""
  8081. #. type: table
  8082. #: guix-git/doc/guix.texi:3709 guix-git/doc/guix.texi:4552
  8083. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  8084. msgstr ""
  8085. #. type: table
  8086. #: guix-git/doc/guix.texi:3715 guix-git/doc/guix.texi:4558
  8087. 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."
  8088. msgstr ""
  8089. #. type: table
  8090. #: guix-git/doc/guix.texi:3718
  8091. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  8092. msgstr ""
  8093. #. type: table
  8094. #: guix-git/doc/guix.texi:3721 guix-git/doc/guix.texi:4563
  8095. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  8096. msgstr ""
  8097. #. type: cindex
  8098. #: guix-git/doc/guix.texi:3722
  8099. #, no-wrap
  8100. msgid "manifest, exporting"
  8101. msgstr ""
  8102. #. type: anchor{#1}
  8103. #: guix-git/doc/guix.texi:3724
  8104. msgid "export-manifest"
  8105. msgstr ""
  8106. #. type: item
  8107. #: guix-git/doc/guix.texi:3724
  8108. #, no-wrap
  8109. msgid "--export-manifest"
  8110. msgstr ""
  8111. #. type: table
  8112. #: guix-git/doc/guix.texi:3727
  8113. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  8114. msgstr ""
  8115. #. type: table
  8116. #: guix-git/doc/guix.texi:3731
  8117. 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."
  8118. msgstr ""
  8119. #. type: table
  8120. #: guix-git/doc/guix.texi:3736
  8121. 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."
  8122. msgstr ""
  8123. #. type: table
  8124. #: guix-git/doc/guix.texi:3741
  8125. 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."
  8126. msgstr ""
  8127. #. type: cindex
  8128. #: guix-git/doc/guix.texi:3742
  8129. #, no-wrap
  8130. msgid "pinning, channel revisions of a profile"
  8131. msgstr ""
  8132. #. type: item
  8133. #: guix-git/doc/guix.texi:3743
  8134. #, no-wrap
  8135. msgid "--export-channels"
  8136. msgstr ""
  8137. #. type: table
  8138. #: guix-git/doc/guix.texi:3747
  8139. 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})."
  8140. msgstr ""
  8141. #. type: table
  8142. #: guix-git/doc/guix.texi:3751
  8143. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  8144. msgstr ""
  8145. #. type: table
  8146. #: guix-git/doc/guix.texi:3759
  8147. 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})."
  8148. msgstr ""
  8149. #. type: table
  8150. #: guix-git/doc/guix.texi:3764
  8151. 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."
  8152. msgstr ""
  8153. #. type: Plain text
  8154. #: guix-git/doc/guix.texi:3771
  8155. 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})."
  8156. msgstr ""
  8157. #. type: cindex
  8158. #: guix-git/doc/guix.texi:3776
  8159. #, no-wrap
  8160. msgid "pre-built binaries"
  8161. msgstr ""
  8162. #. type: Plain text
  8163. #: guix-git/doc/guix.texi:3782
  8164. 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."
  8165. msgstr ""
  8166. #. type: Plain text
  8167. #: guix-git/doc/guix.texi:3787
  8168. 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."
  8169. msgstr ""
  8170. #. type: cindex
  8171. #: guix-git/doc/guix.texi:3801
  8172. #, no-wrap
  8173. msgid "build farm"
  8174. msgstr ""
  8175. #. type: Plain text
  8176. #: guix-git/doc/guix.texi:3812
  8177. 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})."
  8178. msgstr ""
  8179. #. type: Plain text
  8180. #: guix-git/doc/guix.texi:3818
  8181. 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."
  8182. msgstr ""
  8183. #. type: Plain text
  8184. #: guix-git/doc/guix.texi:3827
  8185. 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."
  8186. msgstr ""
  8187. #. type: cindex
  8188. #: guix-git/doc/guix.texi:3831
  8189. #, no-wrap
  8190. msgid "security"
  8191. msgstr ""
  8192. #. type: cindex
  8193. #: guix-git/doc/guix.texi:3833
  8194. #, no-wrap
  8195. msgid "access control list (ACL), for substitutes"
  8196. msgstr ""
  8197. #. type: cindex
  8198. #: guix-git/doc/guix.texi:3834
  8199. #, no-wrap
  8200. msgid "ACL (access control list), for substitutes"
  8201. msgstr ""
  8202. #. type: Plain text
  8203. #: guix-git/doc/guix.texi:3840
  8204. 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."
  8205. msgstr ""
  8206. #. type: quotation
  8207. #: guix-git/doc/guix.texi:3845
  8208. 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."
  8209. msgstr ""
  8210. #. type: Plain text
  8211. #: guix-git/doc/guix.texi:3853
  8212. 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:"
  8213. msgstr ""
  8214. #. type: example
  8215. #: guix-git/doc/guix.texi:3857
  8216. #, no-wrap
  8217. msgid ""
  8218. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8219. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8220. msgstr ""
  8221. #. type: Plain text
  8222. #: guix-git/doc/guix.texi:3861
  8223. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8224. msgstr ""
  8225. #. type: example
  8226. #: guix-git/doc/guix.texi:3870
  8227. #, no-wrap
  8228. msgid ""
  8229. "$ guix build emacs --dry-run\n"
  8230. "The following derivations would be built:\n"
  8231. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8232. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8233. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8234. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8235. "@dots{}\n"
  8236. msgstr ""
  8237. #. type: Plain text
  8238. #: guix-git/doc/guix.texi:3874
  8239. msgid "to something like:"
  8240. msgstr ""
  8241. #. type: example
  8242. #: guix-git/doc/guix.texi:3883
  8243. #, no-wrap
  8244. msgid ""
  8245. "$ guix build emacs --dry-run\n"
  8246. "112.3 MB would be downloaded:\n"
  8247. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8248. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8249. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8250. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8251. "@dots{}\n"
  8252. msgstr ""
  8253. #. type: Plain text
  8254. #: guix-git/doc/guix.texi:3890
  8255. 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."
  8256. msgstr ""
  8257. #. type: cindex
  8258. #: guix-git/doc/guix.texi:3891
  8259. #, no-wrap
  8260. msgid "substitutes, how to disable"
  8261. msgstr ""
  8262. #. type: Plain text
  8263. #: guix-git/doc/guix.texi:3897
  8264. 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."
  8265. msgstr ""
  8266. #. type: cindex
  8267. #: guix-git/doc/guix.texi:3901
  8268. #, no-wrap
  8269. msgid "substitute servers, adding more"
  8270. msgstr ""
  8271. #. type: Plain text
  8272. #: guix-git/doc/guix.texi:3908
  8273. 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."
  8274. msgstr ""
  8275. #. type: Plain text
  8276. #: guix-git/doc/guix.texi:3913
  8277. 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."
  8278. msgstr ""
  8279. #. type: Plain text
  8280. #: guix-git/doc/guix.texi:3920
  8281. 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}})."
  8282. msgstr ""
  8283. #. type: Plain text
  8284. #: guix-git/doc/guix.texi:3926
  8285. 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:"
  8286. msgstr ""
  8287. #. type: lisp
  8288. #: guix-git/doc/guix.texi:3943
  8289. #, no-wrap
  8290. msgid ""
  8291. "(operating-system\n"
  8292. " ;; @dots{}\n"
  8293. " (services\n"
  8294. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8295. " ;; with the list of services you're actually using.\n"
  8296. " (modify-services %desktop-services\n"
  8297. " (guix-service-type config =>\n"
  8298. " (guix-configuration\n"
  8299. " (inherit config)\n"
  8300. " (substitute-urls\n"
  8301. " (append (list \"https://guix.example.org\")\n"
  8302. " %default-substitute-urls))\n"
  8303. " (authorized-keys\n"
  8304. " (append (list (local-file \"./key.pub\"))\n"
  8305. " %default-authorized-guix-keys)))))))\n"
  8306. msgstr ""
  8307. #. type: Plain text
  8308. #: guix-git/doc/guix.texi:3950
  8309. 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:"
  8310. msgstr ""
  8311. #. type: example
  8312. #: guix-git/doc/guix.texi:3954
  8313. #, no-wrap
  8314. msgid ""
  8315. "$ sudo guix system reconfigure /etc/config.scm\n"
  8316. "$ sudo herd restart guix-daemon\n"
  8317. msgstr ""
  8318. #. type: Plain text
  8319. #: guix-git/doc/guix.texi:3958
  8320. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8321. msgstr ""
  8322. #. type: enumerate
  8323. #: guix-git/doc/guix.texi:3967
  8324. 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}}):"
  8325. msgstr ""
  8326. #. type: example
  8327. #: guix-git/doc/guix.texi:3970
  8328. #, no-wrap
  8329. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8330. msgstr ""
  8331. #. type: enumerate
  8332. #: guix-git/doc/guix.texi:3974
  8333. msgid "Restart the daemon. For systemd, it goes like this:"
  8334. msgstr ""
  8335. #. type: example
  8336. #: guix-git/doc/guix.texi:3978
  8337. #, no-wrap
  8338. msgid ""
  8339. "systemctl daemon-reload\n"
  8340. "systemctl restart guix-daemon.service\n"
  8341. msgstr ""
  8342. #. type: enumerate
  8343. #: guix-git/doc/guix.texi:3982
  8344. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8345. msgstr ""
  8346. #. type: example
  8347. #: guix-git/doc/guix.texi:3985
  8348. #, no-wrap
  8349. msgid "guix archive --authorize < key.pub\n"
  8350. msgstr ""
  8351. #. type: enumerate
  8352. #: guix-git/doc/guix.texi:3989
  8353. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8354. msgstr ""
  8355. #. type: Plain text
  8356. #: guix-git/doc/guix.texi:3998
  8357. 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."
  8358. msgstr ""
  8359. #. type: Plain text
  8360. #: guix-git/doc/guix.texi:4002
  8361. 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."
  8362. msgstr ""
  8363. #. type: cindex
  8364. #: guix-git/doc/guix.texi:4006
  8365. #, no-wrap
  8366. msgid "digital signatures"
  8367. msgstr ""
  8368. #. type: Plain text
  8369. #: guix-git/doc/guix.texi:4010
  8370. 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."
  8371. msgstr ""
  8372. #. type: Plain text
  8373. #: guix-git/doc/guix.texi:4016
  8374. 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:"
  8375. msgstr ""
  8376. #. type: example
  8377. #: guix-git/doc/guix.texi:4019
  8378. #, no-wrap
  8379. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8380. msgstr ""
  8381. #. type: Plain text
  8382. #: guix-git/doc/guix.texi:4030
  8383. 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)."
  8384. msgstr ""
  8385. #. type: Plain text
  8386. #: guix-git/doc/guix.texi:4037
  8387. 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)."
  8388. msgstr ""
  8389. #. type: Plain text
  8390. #: guix-git/doc/guix.texi:4049
  8391. 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}."
  8392. msgstr ""
  8393. #. type: Plain text
  8394. #: guix-git/doc/guix.texi:4058
  8395. 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."
  8396. msgstr ""
  8397. #. type: Plain text
  8398. #: guix-git/doc/guix.texi:4072
  8399. 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."
  8400. msgstr ""
  8401. #. type: Plain text
  8402. #: guix-git/doc/guix.texi:4077
  8403. 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."
  8404. msgstr ""
  8405. #. type: cindex
  8406. #: guix-git/doc/guix.texi:4081
  8407. #, no-wrap
  8408. msgid "trust, of pre-built binaries"
  8409. msgstr ""
  8410. #. type: Plain text
  8411. #: guix-git/doc/guix.texi:4091
  8412. 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})."
  8413. msgstr ""
  8414. #. type: Plain text
  8415. #: guix-git/doc/guix.texi:4103
  8416. 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}})."
  8417. msgstr ""
  8418. #. type: Plain text
  8419. #: guix-git/doc/guix.texi:4107
  8420. 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}."
  8421. msgstr ""
  8422. #. type: cindex
  8423. #: guix-git/doc/guix.texi:4111
  8424. #, no-wrap
  8425. msgid "multiple-output packages"
  8426. msgstr ""
  8427. #. type: cindex
  8428. #: guix-git/doc/guix.texi:4112
  8429. #, no-wrap
  8430. msgid "package outputs"
  8431. msgstr ""
  8432. #. type: cindex
  8433. #: guix-git/doc/guix.texi:4113
  8434. #, no-wrap
  8435. msgid "outputs"
  8436. msgstr ""
  8437. #. type: Plain text
  8438. #: guix-git/doc/guix.texi:4123
  8439. 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."
  8440. msgstr ""
  8441. #. type: Plain text
  8442. #: guix-git/doc/guix.texi:4131
  8443. 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:"
  8444. msgstr ""
  8445. #. type: example
  8446. #: guix-git/doc/guix.texi:4134
  8447. #, no-wrap
  8448. msgid "guix install glib\n"
  8449. msgstr ""
  8450. #. type: item
  8451. #: guix-git/doc/guix.texi:4136 guix-git/doc/guix.texi:36972
  8452. #: guix-git/doc/guix.texi:37029
  8453. #, no-wrap
  8454. msgid "documentation"
  8455. msgstr ""
  8456. #. type: Plain text
  8457. #: guix-git/doc/guix.texi:4138
  8458. msgid "The command to install its documentation is:"
  8459. msgstr ""
  8460. #. type: example
  8461. #: guix-git/doc/guix.texi:4141
  8462. #, no-wrap
  8463. msgid "guix install glib:doc\n"
  8464. msgstr ""
  8465. #. type: Plain text
  8466. #: guix-git/doc/guix.texi:4152
  8467. 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})."
  8468. msgstr ""
  8469. #. type: Plain text
  8470. #: guix-git/doc/guix.texi:4160
  8471. 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})."
  8472. msgstr ""
  8473. #. type: section
  8474. #: guix-git/doc/guix.texi:4163
  8475. #, no-wrap
  8476. msgid "Invoking @command{guix gc}"
  8477. msgstr ""
  8478. #. type: cindex
  8479. #: guix-git/doc/guix.texi:4165
  8480. #, no-wrap
  8481. msgid "garbage collector"
  8482. msgstr ""
  8483. #. type: cindex
  8484. #: guix-git/doc/guix.texi:4166
  8485. #, no-wrap
  8486. msgid "disk space"
  8487. msgstr ""
  8488. #. type: Plain text
  8489. #: guix-git/doc/guix.texi:4172
  8490. 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!"
  8491. msgstr ""
  8492. #. type: Plain text
  8493. #: guix-git/doc/guix.texi:4183
  8494. 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."
  8495. msgstr ""
  8496. #. type: Plain text
  8497. #: guix-git/doc/guix.texi:4189
  8498. 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})."
  8499. msgstr ""
  8500. #. type: Plain text
  8501. #: guix-git/doc/guix.texi:4193
  8502. 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:"
  8503. msgstr ""
  8504. #. type: example
  8505. #: guix-git/doc/guix.texi:4196
  8506. #, no-wrap
  8507. msgid "guix gc -F 5G\n"
  8508. msgstr ""
  8509. #. type: Plain text
  8510. #: guix-git/doc/guix.texi:4205
  8511. 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."
  8512. msgstr ""
  8513. #. type: Plain text
  8514. #: guix-git/doc/guix.texi:4211
  8515. 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:"
  8516. msgstr ""
  8517. #. type: item
  8518. #: guix-git/doc/guix.texi:4213
  8519. #, no-wrap
  8520. msgid "--collect-garbage[=@var{min}]"
  8521. msgstr ""
  8522. #. type: itemx
  8523. #: guix-git/doc/guix.texi:4214
  8524. #, no-wrap
  8525. msgid "-C [@var{min}]"
  8526. msgstr ""
  8527. #. type: table
  8528. #: guix-git/doc/guix.texi:4218
  8529. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8530. msgstr ""
  8531. #. type: table
  8532. #: guix-git/doc/guix.texi:4223
  8533. 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})."
  8534. msgstr ""
  8535. #. type: table
  8536. #: guix-git/doc/guix.texi:4225
  8537. msgid "When @var{min} is omitted, collect all the garbage."
  8538. msgstr ""
  8539. #. type: item
  8540. #: guix-git/doc/guix.texi:4226
  8541. #, no-wrap
  8542. msgid "--free-space=@var{free}"
  8543. msgstr ""
  8544. #. type: itemx
  8545. #: guix-git/doc/guix.texi:4227
  8546. #, no-wrap
  8547. msgid "-F @var{free}"
  8548. msgstr ""
  8549. #. type: table
  8550. #: guix-git/doc/guix.texi:4231
  8551. 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."
  8552. msgstr ""
  8553. #. type: table
  8554. #: guix-git/doc/guix.texi:4234
  8555. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8556. msgstr ""
  8557. #. type: item
  8558. #: guix-git/doc/guix.texi:4235
  8559. #, no-wrap
  8560. msgid "--delete-generations[=@var{duration}]"
  8561. msgstr ""
  8562. #. type: itemx
  8563. #: guix-git/doc/guix.texi:4236
  8564. #, no-wrap
  8565. msgid "-d [@var{duration}]"
  8566. msgstr ""
  8567. #. type: table
  8568. #: guix-git/doc/guix.texi:4240
  8569. 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}."
  8570. msgstr ""
  8571. #. type: table
  8572. #: guix-git/doc/guix.texi:4244
  8573. 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:"
  8574. msgstr ""
  8575. #. type: example
  8576. #: guix-git/doc/guix.texi:4247
  8577. #, no-wrap
  8578. msgid "guix gc -d 2m -F 10G\n"
  8579. msgstr ""
  8580. #. type: item
  8581. #: guix-git/doc/guix.texi:4249
  8582. #, no-wrap
  8583. msgid "--delete"
  8584. msgstr ""
  8585. #. type: itemx
  8586. #: guix-git/doc/guix.texi:4250 guix-git/doc/guix.texi:5780
  8587. #, no-wrap
  8588. msgid "-D"
  8589. msgstr ""
  8590. #. type: table
  8591. #: guix-git/doc/guix.texi:4254
  8592. 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."
  8593. msgstr ""
  8594. #. type: item
  8595. #: guix-git/doc/guix.texi:4255
  8596. #, no-wrap
  8597. msgid "--list-failures"
  8598. msgstr ""
  8599. #. type: table
  8600. #: guix-git/doc/guix.texi:4257
  8601. msgid "List store items corresponding to cached build failures."
  8602. msgstr ""
  8603. #. type: table
  8604. #: guix-git/doc/guix.texi:4261
  8605. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8606. msgstr ""
  8607. #. type: item
  8608. #: guix-git/doc/guix.texi:4262
  8609. #, no-wrap
  8610. msgid "--list-roots"
  8611. msgstr ""
  8612. #. type: table
  8613. #: guix-git/doc/guix.texi:4265
  8614. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8615. msgstr ""
  8616. #. type: item
  8617. #: guix-git/doc/guix.texi:4266
  8618. #, no-wrap
  8619. msgid "--list-busy"
  8620. msgstr ""
  8621. #. type: table
  8622. #: guix-git/doc/guix.texi:4269
  8623. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8624. msgstr ""
  8625. #. type: item
  8626. #: guix-git/doc/guix.texi:4270
  8627. #, no-wrap
  8628. msgid "--clear-failures"
  8629. msgstr ""
  8630. #. type: table
  8631. #: guix-git/doc/guix.texi:4272
  8632. msgid "Remove the specified store items from the failed-build cache."
  8633. msgstr ""
  8634. #. type: table
  8635. #: guix-git/doc/guix.texi:4275
  8636. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8637. msgstr ""
  8638. #. type: item
  8639. #: guix-git/doc/guix.texi:4276
  8640. #, no-wrap
  8641. msgid "--list-dead"
  8642. msgstr ""
  8643. #. type: table
  8644. #: guix-git/doc/guix.texi:4279
  8645. 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."
  8646. msgstr ""
  8647. #. type: item
  8648. #: guix-git/doc/guix.texi:4280
  8649. #, no-wrap
  8650. msgid "--list-live"
  8651. msgstr ""
  8652. #. type: table
  8653. #: guix-git/doc/guix.texi:4282
  8654. msgid "Show the list of live store files and directories."
  8655. msgstr ""
  8656. #. type: Plain text
  8657. #: guix-git/doc/guix.texi:4286
  8658. msgid "In addition, the references among existing store files can be queried:"
  8659. msgstr ""
  8660. #. type: item
  8661. #: guix-git/doc/guix.texi:4289
  8662. #, no-wrap
  8663. msgid "--references"
  8664. msgstr ""
  8665. #. type: itemx
  8666. #: guix-git/doc/guix.texi:4290
  8667. #, no-wrap
  8668. msgid "--referrers"
  8669. msgstr ""
  8670. #. type: cindex
  8671. #: guix-git/doc/guix.texi:4291 guix-git/doc/guix.texi:13666
  8672. #, no-wrap
  8673. msgid "package dependencies"
  8674. msgstr ""
  8675. #. type: table
  8676. #: guix-git/doc/guix.texi:4294
  8677. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8678. msgstr ""
  8679. #. type: item
  8680. #: guix-git/doc/guix.texi:4295
  8681. #, no-wrap
  8682. msgid "--requisites"
  8683. msgstr ""
  8684. #. type: itemx
  8685. #: guix-git/doc/guix.texi:4296 guix-git/doc/guix.texi:6566
  8686. #, no-wrap
  8687. msgid "-R"
  8688. msgstr ""
  8689. #. type: item
  8690. #: guix-git/doc/guix.texi:4297 guix-git/doc/guix.texi:13522
  8691. #: guix-git/doc/guix.texi:13550 guix-git/doc/guix.texi:13631
  8692. #, no-wrap
  8693. msgid "closure"
  8694. msgstr ""
  8695. #. type: table
  8696. #: guix-git/doc/guix.texi:4302
  8697. 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."
  8698. msgstr ""
  8699. #. type: table
  8700. #: guix-git/doc/guix.texi:4306
  8701. 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."
  8702. msgstr ""
  8703. #. type: item
  8704. #: guix-git/doc/guix.texi:4307
  8705. #, no-wrap
  8706. msgid "--derivers"
  8707. msgstr ""
  8708. #. type: item
  8709. #: guix-git/doc/guix.texi:4308 guix-git/doc/guix.texi:6880
  8710. #: guix-git/doc/guix.texi:13378 guix-git/doc/guix.texi:13775
  8711. #, no-wrap
  8712. msgid "derivation"
  8713. msgstr ""
  8714. #. type: table
  8715. #: guix-git/doc/guix.texi:4311
  8716. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8717. msgstr ""
  8718. #. type: table
  8719. #: guix-git/doc/guix.texi:4313
  8720. msgid "For example, this command:"
  8721. msgstr ""
  8722. #. type: example
  8723. #: guix-git/doc/guix.texi:4316
  8724. #, no-wrap
  8725. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8726. msgstr ""
  8727. #. type: table
  8728. #: guix-git/doc/guix.texi:4321
  8729. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8730. msgstr ""
  8731. #. type: table
  8732. #: guix-git/doc/guix.texi:4325
  8733. 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."
  8734. msgstr ""
  8735. #. type: Plain text
  8736. #: guix-git/doc/guix.texi:4329
  8737. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8738. msgstr ""
  8739. #. type: item
  8740. #: guix-git/doc/guix.texi:4332
  8741. #, no-wrap
  8742. msgid "--verify[=@var{options}]"
  8743. msgstr ""
  8744. #. type: cindex
  8745. #: guix-git/doc/guix.texi:4333
  8746. #, no-wrap
  8747. msgid "integrity, of the store"
  8748. msgstr ""
  8749. #. type: cindex
  8750. #: guix-git/doc/guix.texi:4334
  8751. #, no-wrap
  8752. msgid "integrity checking"
  8753. msgstr ""
  8754. #. type: table
  8755. #: guix-git/doc/guix.texi:4336
  8756. msgid "Verify the integrity of the store."
  8757. msgstr ""
  8758. #. type: table
  8759. #: guix-git/doc/guix.texi:4339
  8760. 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}."
  8761. msgstr ""
  8762. #. type: table
  8763. #: guix-git/doc/guix.texi:4342
  8764. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8765. msgstr ""
  8766. #. type: table
  8767. #: guix-git/doc/guix.texi:4348
  8768. 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."
  8769. msgstr ""
  8770. #. type: cindex
  8771. #: guix-git/doc/guix.texi:4349
  8772. #, no-wrap
  8773. msgid "repairing the store"
  8774. msgstr ""
  8775. #. type: cindex
  8776. #: guix-git/doc/guix.texi:4350 guix-git/doc/guix.texi:11982
  8777. #, no-wrap
  8778. msgid "corruption, recovering from"
  8779. msgstr ""
  8780. #. type: table
  8781. #: guix-git/doc/guix.texi:4358
  8782. 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})."
  8783. msgstr ""
  8784. #. type: item
  8785. #: guix-git/doc/guix.texi:4359
  8786. #, no-wrap
  8787. msgid "--optimize"
  8788. msgstr ""
  8789. #. type: table
  8790. #: guix-git/doc/guix.texi:4363
  8791. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8792. msgstr ""
  8793. #. type: table
  8794. #: guix-git/doc/guix.texi:4369
  8795. 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}."
  8796. msgstr ""
  8797. #. type: section
  8798. #: guix-git/doc/guix.texi:4373
  8799. #, no-wrap
  8800. msgid "Invoking @command{guix pull}"
  8801. msgstr ""
  8802. #. type: cindex
  8803. #: guix-git/doc/guix.texi:4375
  8804. #, no-wrap
  8805. msgid "upgrading Guix"
  8806. msgstr ""
  8807. #. type: cindex
  8808. #: guix-git/doc/guix.texi:4376
  8809. #, no-wrap
  8810. msgid "updating Guix"
  8811. msgstr ""
  8812. #. type: command{#1}
  8813. #: guix-git/doc/guix.texi:4377
  8814. #, no-wrap
  8815. msgid "guix pull"
  8816. msgstr ""
  8817. #. type: cindex
  8818. #: guix-git/doc/guix.texi:4378
  8819. #, no-wrap
  8820. msgid "pull"
  8821. msgstr ""
  8822. #. type: cindex
  8823. #: guix-git/doc/guix.texi:4379
  8824. #, no-wrap
  8825. msgid "security, @command{guix pull}"
  8826. msgstr ""
  8827. #. type: cindex
  8828. #: guix-git/doc/guix.texi:4380
  8829. #, no-wrap
  8830. msgid "authenticity, of code obtained with @command{guix pull}"
  8831. msgstr ""
  8832. #. type: Plain text
  8833. #: guix-git/doc/guix.texi:4390
  8834. 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."
  8835. msgstr ""
  8836. #. type: Plain text
  8837. #: guix-git/doc/guix.texi:4393
  8838. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8839. msgstr ""
  8840. #. type: enumerate
  8841. #: guix-git/doc/guix.texi:4397
  8842. msgid "the @option{--channels} option;"
  8843. msgstr ""
  8844. #. type: enumerate
  8845. #: guix-git/doc/guix.texi:4399
  8846. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8847. msgstr ""
  8848. #. type: enumerate
  8849. #: guix-git/doc/guix.texi:4401
  8850. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8851. msgstr ""
  8852. #. type: enumerate
  8853. #: guix-git/doc/guix.texi:4404
  8854. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8855. msgstr ""
  8856. #. type: Plain text
  8857. #: guix-git/doc/guix.texi:4411
  8858. 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."
  8859. msgstr ""
  8860. #. type: Plain text
  8861. #: guix-git/doc/guix.texi:4417
  8862. 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."
  8863. msgstr ""
  8864. #. type: Plain text
  8865. #: guix-git/doc/guix.texi:4423
  8866. 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}):"
  8867. msgstr ""
  8868. #. type: example
  8869. #: guix-git/doc/guix.texi:4427
  8870. #, no-wrap
  8871. msgid ""
  8872. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8873. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8874. msgstr ""
  8875. #. type: Plain text
  8876. #: guix-git/doc/guix.texi:4431
  8877. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8878. msgstr ""
  8879. #. type: example
  8880. #: guix-git/doc/guix.texi:4439
  8881. #, no-wrap
  8882. msgid ""
  8883. "$ guix pull -l\n"
  8884. "Generation 1\tJun 10 2018 00:18:18\n"
  8885. " guix 65956ad\n"
  8886. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8887. " branch: origin/master\n"
  8888. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8889. "\n"
  8890. msgstr ""
  8891. #. type: example
  8892. #: guix-git/doc/guix.texi:4445
  8893. #, no-wrap
  8894. msgid ""
  8895. "Generation 2\tJun 11 2018 11:02:49\n"
  8896. " guix e0cc7f6\n"
  8897. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8898. " branch: origin/master\n"
  8899. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8900. "\n"
  8901. msgstr ""
  8902. #. type: example
  8903. #: guix-git/doc/guix.texi:4451
  8904. #, no-wrap
  8905. msgid ""
  8906. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8907. " guix 844cc1c\n"
  8908. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8909. " branch: origin/master\n"
  8910. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8911. msgstr ""
  8912. #. type: Plain text
  8913. #: guix-git/doc/guix.texi:4455
  8914. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8915. msgstr ""
  8916. #. type: Plain text
  8917. #: guix-git/doc/guix.texi:4460
  8918. 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:"
  8919. msgstr ""
  8920. #. type: example
  8921. #: guix-git/doc/guix.texi:4466
  8922. #, no-wrap
  8923. msgid ""
  8924. "$ guix pull --roll-back\n"
  8925. "switched from generation 3 to 2\n"
  8926. "$ guix pull --delete-generations=1\n"
  8927. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8928. msgstr ""
  8929. #. type: Plain text
  8930. #: guix-git/doc/guix.texi:4470
  8931. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8932. msgstr ""
  8933. #. type: example
  8934. #: guix-git/doc/guix.texi:4475
  8935. #, no-wrap
  8936. msgid ""
  8937. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8938. "switched from generation 3 to 2\n"
  8939. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8940. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8941. msgstr ""
  8942. #. type: Plain text
  8943. #: guix-git/doc/guix.texi:4479
  8944. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8945. msgstr ""
  8946. #. type: item
  8947. #: guix-git/doc/guix.texi:4481 guix-git/doc/guix.texi:4649
  8948. #, no-wrap
  8949. msgid "--url=@var{url}"
  8950. msgstr ""
  8951. #. type: itemx
  8952. #: guix-git/doc/guix.texi:4482 guix-git/doc/guix.texi:4650
  8953. #, no-wrap
  8954. msgid "--commit=@var{commit}"
  8955. msgstr ""
  8956. #. type: itemx
  8957. #: guix-git/doc/guix.texi:4483 guix-git/doc/guix.texi:4651
  8958. #, no-wrap
  8959. msgid "--branch=@var{branch}"
  8960. msgstr ""
  8961. #. type: table
  8962. #: guix-git/doc/guix.texi:4487
  8963. 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}."
  8964. msgstr ""
  8965. #. type: cindex
  8966. #: guix-git/doc/guix.texi:4488 guix-git/doc/guix.texi:5095
  8967. #, no-wrap
  8968. msgid "@file{channels.scm}, configuration file"
  8969. msgstr ""
  8970. #. type: cindex
  8971. #: guix-git/doc/guix.texi:4489 guix-git/doc/guix.texi:5096
  8972. #, no-wrap
  8973. msgid "configuration file for channels"
  8974. msgstr ""
  8975. #. type: table
  8976. #: guix-git/doc/guix.texi:4493
  8977. 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)."
  8978. msgstr ""
  8979. #. type: item
  8980. #: guix-git/doc/guix.texi:4494 guix-git/doc/guix.texi:4656
  8981. #, no-wrap
  8982. msgid "--channels=@var{file}"
  8983. msgstr ""
  8984. #. type: itemx
  8985. #: guix-git/doc/guix.texi:4495 guix-git/doc/guix.texi:4657
  8986. #, no-wrap
  8987. msgid "-C @var{file}"
  8988. msgstr ""
  8989. #. type: table
  8990. #: guix-git/doc/guix.texi:4501
  8991. 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."
  8992. msgstr ""
  8993. #. type: cindex
  8994. #: guix-git/doc/guix.texi:4502
  8995. #, no-wrap
  8996. msgid "channel news"
  8997. msgstr ""
  8998. #. type: item
  8999. #: guix-git/doc/guix.texi:4503
  9000. #, no-wrap
  9001. msgid "--news"
  9002. msgstr ""
  9003. #. type: itemx
  9004. #: guix-git/doc/guix.texi:4504 guix-git/doc/guix.texi:5899
  9005. #: guix-git/doc/guix.texi:6312 guix-git/doc/guix.texi:35862
  9006. #, no-wrap
  9007. msgid "-N"
  9008. msgstr ""
  9009. #. type: table
  9010. #: guix-git/doc/guix.texi:4509
  9011. msgid "Display news written by channel authors for their users for changes made since the previous generation (@pxref{Channels, Writing Channel News}). When @option{--details} is passed, additionally display new and upgraded packages."
  9012. msgstr ""
  9013. #. type: table
  9014. #: guix-git/doc/guix.texi:4512
  9015. msgid "You can view that information for previous generations with @command{guix pull -l}."
  9016. msgstr ""
  9017. #. type: table
  9018. #: guix-git/doc/guix.texi:4519
  9019. 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})."
  9020. msgstr ""
  9021. #. type: table
  9022. #: guix-git/doc/guix.texi:4524
  9023. msgid "By default, this prints information about the channels used in each revision as well as the corresponding news entries. If you pass @option{--details}, it will also print the list of packages added and upgraded in each generation compared to the previous one."
  9024. msgstr ""
  9025. #. type: item
  9026. #: guix-git/doc/guix.texi:4525
  9027. #, no-wrap
  9028. msgid "--details"
  9029. msgstr ""
  9030. #. type: table
  9031. #: guix-git/doc/guix.texi:4529
  9032. msgid "Instruct @option{--list-generations} or @option{--news} to display more information about the differences between subsequent generations---see above."
  9033. msgstr ""
  9034. #. type: table
  9035. #: guix-git/doc/guix.texi:4536
  9036. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  9037. msgstr ""
  9038. #. type: table
  9039. #: guix-git/doc/guix.texi:4560
  9040. msgid "If the current generation matches, it is @emph{not} deleted."
  9041. msgstr ""
  9042. #. type: table
  9043. #: guix-git/doc/guix.texi:4566
  9044. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  9045. msgstr ""
  9046. #. type: table
  9047. #: guix-git/doc/guix.texi:4570
  9048. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  9049. msgstr ""
  9050. #. type: item
  9051. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:11311
  9052. #: guix-git/doc/guix.texi:13266
  9053. #, no-wrap
  9054. msgid "--dry-run"
  9055. msgstr ""
  9056. #. type: itemx
  9057. #: guix-git/doc/guix.texi:4572 guix-git/doc/guix.texi:11312
  9058. #: guix-git/doc/guix.texi:13267 guix-git/doc/guix.texi:13504
  9059. #, no-wrap
  9060. msgid "-n"
  9061. msgstr ""
  9062. #. type: table
  9063. #: guix-git/doc/guix.texi:4575
  9064. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  9065. msgstr ""
  9066. #. type: item
  9067. #: guix-git/doc/guix.texi:4576 guix-git/doc/guix.texi:35881
  9068. #: guix-git/doc/guix.texi:38392
  9069. #, no-wrap
  9070. msgid "--allow-downgrades"
  9071. msgstr ""
  9072. #. type: table
  9073. #: guix-git/doc/guix.texi:4579
  9074. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  9075. msgstr ""
  9076. #. type: cindex
  9077. #: guix-git/doc/guix.texi:4580
  9078. #, no-wrap
  9079. msgid "downgrade attacks, protection against"
  9080. msgstr ""
  9081. #. type: table
  9082. #: guix-git/doc/guix.texi:4585
  9083. 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."
  9084. msgstr ""
  9085. #. type: quotation
  9086. #: guix-git/doc/guix.texi:4589 guix-git/doc/guix.texi:35895
  9087. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  9088. msgstr ""
  9089. #. type: item
  9090. #: guix-git/doc/guix.texi:4591
  9091. #, no-wrap
  9092. msgid "--disable-authentication"
  9093. msgstr ""
  9094. #. type: table
  9095. #: guix-git/doc/guix.texi:4593
  9096. msgid "Allow pulling channel code without authenticating it."
  9097. msgstr ""
  9098. #. type: cindex
  9099. #: guix-git/doc/guix.texi:4594 guix-git/doc/guix.texi:5241
  9100. #, no-wrap
  9101. msgid "authentication, of channel code"
  9102. msgstr ""
  9103. #. type: table
  9104. #: guix-git/doc/guix.texi:4599
  9105. 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."
  9106. msgstr ""
  9107. #. type: quotation
  9108. #: guix-git/doc/guix.texi:4603
  9109. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  9110. msgstr ""
  9111. #. type: itemx
  9112. #: guix-git/doc/guix.texi:4606 guix-git/doc/guix.texi:5882
  9113. #: guix-git/doc/guix.texi:6295 guix-git/doc/guix.texi:6695
  9114. #: guix-git/doc/guix.texi:11924 guix-git/doc/guix.texi:13649
  9115. #: guix-git/doc/guix.texi:13914 guix-git/doc/guix.texi:14591
  9116. #: guix-git/doc/guix.texi:35810
  9117. #, no-wrap
  9118. msgid "-s @var{system}"
  9119. msgstr ""
  9120. #. type: table
  9121. #: guix-git/doc/guix.texi:4609 guix-git/doc/guix.texi:6698
  9122. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  9123. msgstr ""
  9124. #. type: table
  9125. #: guix-git/doc/guix.texi:4613
  9126. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  9127. msgstr ""
  9128. #. type: Plain text
  9129. #: guix-git/doc/guix.texi:4619
  9130. 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."
  9131. msgstr ""
  9132. #. type: Plain text
  9133. #: guix-git/doc/guix.texi:4622
  9134. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  9135. msgstr ""
  9136. #. type: section
  9137. #: guix-git/doc/guix.texi:4624
  9138. #, no-wrap
  9139. msgid "Invoking @command{guix time-machine}"
  9140. msgstr ""
  9141. #. type: command{#1}
  9142. #: guix-git/doc/guix.texi:4626
  9143. #, no-wrap
  9144. msgid "guix time-machine"
  9145. msgstr ""
  9146. #. type: cindex
  9147. #: guix-git/doc/guix.texi:4627 guix-git/doc/guix.texi:5199
  9148. #, no-wrap
  9149. msgid "pinning, channels"
  9150. msgstr ""
  9151. #. type: cindex
  9152. #: guix-git/doc/guix.texi:4628 guix-git/doc/guix.texi:4810
  9153. #: guix-git/doc/guix.texi:5200
  9154. #, no-wrap
  9155. msgid "replicating Guix"
  9156. msgstr ""
  9157. #. type: cindex
  9158. #: guix-git/doc/guix.texi:4629 guix-git/doc/guix.texi:5201
  9159. #, no-wrap
  9160. msgid "reproducibility, of Guix"
  9161. msgstr ""
  9162. #. type: Plain text
  9163. #: guix-git/doc/guix.texi:4637
  9164. 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})."
  9165. msgstr ""
  9166. #. type: Plain text
  9167. #: guix-git/doc/guix.texi:4639 guix-git/doc/guix.texi:5663
  9168. #: guix-git/doc/guix.texi:6033 guix-git/doc/guix.texi:6818
  9169. #: guix-git/doc/guix.texi:11107 guix-git/doc/guix.texi:11231
  9170. #: guix-git/doc/guix.texi:12215 guix-git/doc/guix.texi:12311
  9171. #: guix-git/doc/guix.texi:13252 guix-git/doc/guix.texi:13479
  9172. #: guix-git/doc/guix.texi:13972 guix-git/doc/guix.texi:14345
  9173. #: guix-git/doc/guix.texi:14434 guix-git/doc/guix.texi:14473
  9174. #: guix-git/doc/guix.texi:14570
  9175. msgid "The general syntax is:"
  9176. msgstr ""
  9177. #. type: example
  9178. #: guix-git/doc/guix.texi:4642
  9179. #, no-wrap
  9180. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  9181. msgstr ""
  9182. #. type: Plain text
  9183. #: guix-git/doc/guix.texi:4647
  9184. 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}):"
  9185. msgstr ""
  9186. #. type: table
  9187. #: guix-git/doc/guix.texi:4655
  9188. 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}."
  9189. msgstr ""
  9190. #. type: table
  9191. #: guix-git/doc/guix.texi:4661
  9192. 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."
  9193. msgstr ""
  9194. #. type: Plain text
  9195. #: guix-git/doc/guix.texi:4665
  9196. 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"
  9197. msgstr ""
  9198. #. type: example
  9199. #: guix-git/doc/guix.texi:4668
  9200. #, no-wrap
  9201. msgid "guix time-machine -- build hello\n"
  9202. msgstr ""
  9203. #. type: Plain text
  9204. #: guix-git/doc/guix.texi:4673
  9205. 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!"
  9206. msgstr ""
  9207. #. type: Plain text
  9208. #: guix-git/doc/guix.texi:4677
  9209. 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})."
  9210. msgstr ""
  9211. #. type: quotation
  9212. #: guix-git/doc/guix.texi:4685
  9213. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  9214. msgstr ""
  9215. #. type: cindex
  9216. #: guix-git/doc/guix.texi:4687 guix-git/doc/guix.texi:11144
  9217. #, no-wrap
  9218. msgid "inferiors"
  9219. msgstr ""
  9220. #. type: cindex
  9221. #: guix-git/doc/guix.texi:4688
  9222. #, no-wrap
  9223. msgid "composition of Guix revisions"
  9224. msgstr ""
  9225. #. type: Plain text
  9226. #: guix-git/doc/guix.texi:4693
  9227. 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."
  9228. msgstr ""
  9229. #. type: cindex
  9230. #: guix-git/doc/guix.texi:4694 guix-git/doc/guix.texi:4759
  9231. #, no-wrap
  9232. msgid "inferior packages"
  9233. msgstr ""
  9234. #. type: Plain text
  9235. #: guix-git/doc/guix.texi:4700
  9236. 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}."
  9237. msgstr ""
  9238. #. type: Plain text
  9239. #: guix-git/doc/guix.texi:4710
  9240. 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:"
  9241. msgstr ""
  9242. #. type: lisp
  9243. #: guix-git/doc/guix.texi:4714
  9244. #, no-wrap
  9245. msgid ""
  9246. "(use-modules (guix inferior) (guix channels)\n"
  9247. " (srfi srfi-1)) ;for 'first'\n"
  9248. "\n"
  9249. msgstr ""
  9250. #. type: lisp
  9251. #: guix-git/doc/guix.texi:4723
  9252. #, no-wrap
  9253. msgid ""
  9254. "(define channels\n"
  9255. " ;; This is the old revision from which we want to\n"
  9256. " ;; extract guile-json.\n"
  9257. " (list (channel\n"
  9258. " (name 'guix)\n"
  9259. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9260. " (commit\n"
  9261. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9262. "\n"
  9263. msgstr ""
  9264. #. type: lisp
  9265. #: guix-git/doc/guix.texi:4727
  9266. #, no-wrap
  9267. msgid ""
  9268. "(define inferior\n"
  9269. " ;; An inferior representing the above revision.\n"
  9270. " (inferior-for-channels channels))\n"
  9271. "\n"
  9272. msgstr ""
  9273. #. type: lisp
  9274. #: guix-git/doc/guix.texi:4733
  9275. #, no-wrap
  9276. msgid ""
  9277. ";; Now create a manifest with the current \"guile\" package\n"
  9278. ";; and the old \"guile-json\" package.\n"
  9279. "(packages->manifest\n"
  9280. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9281. " (specification->package \"guile\")))\n"
  9282. msgstr ""
  9283. #. type: Plain text
  9284. #: guix-git/doc/guix.texi:4738
  9285. 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."
  9286. msgstr ""
  9287. #. type: Plain text
  9288. #: guix-git/doc/guix.texi:4741
  9289. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9290. msgstr ""
  9291. #. type: deffn
  9292. #: guix-git/doc/guix.texi:4742
  9293. #, no-wrap
  9294. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9295. msgstr ""
  9296. #. type: deffn
  9297. #: guix-git/doc/guix.texi:4747
  9298. 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."
  9299. msgstr ""
  9300. #. type: deffn
  9301. #: guix-git/doc/guix.texi:4750
  9302. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9303. msgstr ""
  9304. #. type: deffn
  9305. #: guix-git/doc/guix.texi:4752
  9306. #, no-wrap
  9307. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9308. msgstr ""
  9309. #. type: deffn
  9310. #: guix-git/doc/guix.texi:4757
  9311. 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."
  9312. msgstr ""
  9313. #. type: Plain text
  9314. #: guix-git/doc/guix.texi:4762
  9315. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9316. msgstr ""
  9317. #. type: deffn
  9318. #: guix-git/doc/guix.texi:4763
  9319. #, no-wrap
  9320. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9321. msgstr ""
  9322. #. type: deffn
  9323. #: guix-git/doc/guix.texi:4765
  9324. msgid "Return the list of packages known to @var{inferior}."
  9325. msgstr ""
  9326. #. type: deffn
  9327. #: guix-git/doc/guix.texi:4767
  9328. #, no-wrap
  9329. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9330. msgstr ""
  9331. #. type: deffn
  9332. #: guix-git/doc/guix.texi:4772
  9333. 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}."
  9334. msgstr ""
  9335. #. type: deffn
  9336. #: guix-git/doc/guix.texi:4774
  9337. #, no-wrap
  9338. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9339. msgstr ""
  9340. #. type: deffn
  9341. #: guix-git/doc/guix.texi:4776
  9342. msgid "Return true if @var{obj} is an inferior package."
  9343. msgstr ""
  9344. #. type: deffn
  9345. #: guix-git/doc/guix.texi:4778
  9346. #, no-wrap
  9347. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9348. msgstr ""
  9349. #. type: deffnx
  9350. #: guix-git/doc/guix.texi:4779
  9351. #, no-wrap
  9352. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9353. msgstr ""
  9354. #. type: deffnx
  9355. #: guix-git/doc/guix.texi:4780
  9356. #, no-wrap
  9357. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9358. msgstr ""
  9359. #. type: deffnx
  9360. #: guix-git/doc/guix.texi:4781
  9361. #, no-wrap
  9362. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9363. msgstr ""
  9364. #. type: deffnx
  9365. #: guix-git/doc/guix.texi:4782
  9366. #, no-wrap
  9367. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9368. msgstr ""
  9369. #. type: deffnx
  9370. #: guix-git/doc/guix.texi:4783
  9371. #, no-wrap
  9372. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9373. msgstr ""
  9374. #. type: deffnx
  9375. #: guix-git/doc/guix.texi:4784
  9376. #, no-wrap
  9377. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9378. msgstr ""
  9379. #. type: deffnx
  9380. #: guix-git/doc/guix.texi:4785
  9381. #, no-wrap
  9382. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9383. msgstr ""
  9384. #. type: deffnx
  9385. #: guix-git/doc/guix.texi:4786
  9386. #, no-wrap
  9387. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9388. msgstr ""
  9389. #. type: deffnx
  9390. #: guix-git/doc/guix.texi:4787
  9391. #, no-wrap
  9392. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9393. msgstr ""
  9394. #. type: deffnx
  9395. #: guix-git/doc/guix.texi:4788
  9396. #, no-wrap
  9397. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9398. msgstr ""
  9399. #. type: deffnx
  9400. #: guix-git/doc/guix.texi:4789
  9401. #, no-wrap
  9402. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9403. msgstr ""
  9404. #. type: deffnx
  9405. #: guix-git/doc/guix.texi:4790
  9406. #, no-wrap
  9407. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9408. msgstr ""
  9409. #. type: deffn
  9410. #: guix-git/doc/guix.texi:4795
  9411. 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."
  9412. msgstr ""
  9413. #. type: Plain text
  9414. #: guix-git/doc/guix.texi:4805
  9415. 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."
  9416. msgstr ""
  9417. #. type: section
  9418. #: guix-git/doc/guix.texi:4807
  9419. #, no-wrap
  9420. msgid "Invoking @command{guix describe}"
  9421. msgstr ""
  9422. #. type: Plain text
  9423. #: guix-git/doc/guix.texi:4818
  9424. 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."
  9425. msgstr ""
  9426. #. type: Plain text
  9427. #: guix-git/doc/guix.texi:4822
  9428. 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}):"
  9429. msgstr ""
  9430. #. type: example
  9431. #: guix-git/doc/guix.texi:4830
  9432. #, no-wrap
  9433. msgid ""
  9434. "$ guix describe\n"
  9435. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9436. " guix e0fa68c\n"
  9437. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9438. " branch: master\n"
  9439. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9440. msgstr ""
  9441. #. type: Plain text
  9442. #: guix-git/doc/guix.texi:4839
  9443. 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."
  9444. msgstr ""
  9445. #. type: Plain text
  9446. #: guix-git/doc/guix.texi:4842
  9447. 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:"
  9448. msgstr ""
  9449. #. type: example
  9450. #: guix-git/doc/guix.texi:4855
  9451. #, no-wrap
  9452. msgid ""
  9453. "$ guix describe -f channels\n"
  9454. "(list (channel\n"
  9455. " (name 'guix)\n"
  9456. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9457. " (commit\n"
  9458. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9459. " (introduction\n"
  9460. " (make-channel-introduction\n"
  9461. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9462. " (openpgp-fingerprint\n"
  9463. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9464. msgstr ""
  9465. #. type: Plain text
  9466. #: guix-git/doc/guix.texi:4864
  9467. 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!"
  9468. msgstr ""
  9469. #. type: Plain text
  9470. #: guix-git/doc/guix.texi:4867
  9471. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9472. msgstr ""
  9473. #. type: item
  9474. #: guix-git/doc/guix.texi:4869 guix-git/doc/guix.texi:6496
  9475. #: guix-git/doc/guix.texi:14703
  9476. #, no-wrap
  9477. msgid "--format=@var{format}"
  9478. msgstr ""
  9479. #. type: itemx
  9480. #: guix-git/doc/guix.texi:4870 guix-git/doc/guix.texi:6497
  9481. #: guix-git/doc/guix.texi:14704
  9482. #, no-wrap
  9483. msgid "-f @var{format}"
  9484. msgstr ""
  9485. #. type: table
  9486. #: guix-git/doc/guix.texi:4872 guix-git/doc/guix.texi:14706
  9487. msgid "Produce output in the specified @var{format}, one of:"
  9488. msgstr ""
  9489. #. type: item
  9490. #: guix-git/doc/guix.texi:4874
  9491. #, no-wrap
  9492. msgid "human"
  9493. msgstr ""
  9494. #. type: table
  9495. #: guix-git/doc/guix.texi:4876
  9496. msgid "produce human-readable output;"
  9497. msgstr ""
  9498. #. type: cindex
  9499. #: guix-git/doc/guix.texi:4876 guix-git/doc/guix.texi:5094
  9500. #, no-wrap
  9501. msgid "channels"
  9502. msgstr ""
  9503. #. type: table
  9504. #: guix-git/doc/guix.texi:4880
  9505. 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});"
  9506. msgstr ""
  9507. #. type: item
  9508. #: guix-git/doc/guix.texi:4880
  9509. #, no-wrap
  9510. msgid "channels-sans-intro"
  9511. msgstr ""
  9512. #. type: table
  9513. #: guix-git/doc/guix.texi:4886
  9514. 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;"
  9515. msgstr ""
  9516. #. type: item
  9517. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:12528
  9518. #, no-wrap
  9519. msgid "json"
  9520. msgstr ""
  9521. #. type: cindex
  9522. #: guix-git/doc/guix.texi:4887
  9523. #, no-wrap
  9524. msgid "JSON"
  9525. msgstr ""
  9526. #. type: table
  9527. #: guix-git/doc/guix.texi:4889
  9528. msgid "produce a list of channel specifications in JSON format;"
  9529. msgstr ""
  9530. #. type: item
  9531. #: guix-git/doc/guix.texi:4889 guix-git/doc/guix.texi:14708
  9532. #, no-wrap
  9533. msgid "recutils"
  9534. msgstr ""
  9535. #. type: table
  9536. #: guix-git/doc/guix.texi:4891
  9537. msgid "produce a list of channel specifications in Recutils format."
  9538. msgstr ""
  9539. #. type: item
  9540. #: guix-git/doc/guix.texi:4893
  9541. #, no-wrap
  9542. msgid "--list-formats"
  9543. msgstr ""
  9544. #. type: table
  9545. #: guix-git/doc/guix.texi:4895
  9546. msgid "Display available formats for @option{--format} option."
  9547. msgstr ""
  9548. #. type: table
  9549. #: guix-git/doc/guix.texi:4899
  9550. msgid "Display information about @var{profile}."
  9551. msgstr ""
  9552. #. type: section
  9553. #: guix-git/doc/guix.texi:4902
  9554. #, no-wrap
  9555. msgid "Invoking @command{guix archive}"
  9556. msgstr ""
  9557. #. type: command{#1}
  9558. #: guix-git/doc/guix.texi:4904
  9559. #, no-wrap
  9560. msgid "guix archive"
  9561. msgstr ""
  9562. #. type: cindex
  9563. #: guix-git/doc/guix.texi:4905
  9564. #, no-wrap
  9565. msgid "archive"
  9566. msgstr "بایگانی"
  9567. #. type: Plain text
  9568. #: guix-git/doc/guix.texi:4911
  9569. 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."
  9570. msgstr ""
  9571. #. type: quotation
  9572. #: guix-git/doc/guix.texi:4915
  9573. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9574. msgstr ""
  9575. #. type: cindex
  9576. #: guix-git/doc/guix.texi:4917
  9577. #, no-wrap
  9578. msgid "exporting store items"
  9579. msgstr ""
  9580. #. type: Plain text
  9581. #: guix-git/doc/guix.texi:4919
  9582. msgid "To export store files as an archive to standard output, run:"
  9583. msgstr ""
  9584. #. type: example
  9585. #: guix-git/doc/guix.texi:4922
  9586. #, no-wrap
  9587. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9588. msgstr ""
  9589. #. type: Plain text
  9590. #: guix-git/doc/guix.texi:4929
  9591. 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}:"
  9592. msgstr ""
  9593. #. type: example
  9594. #: guix-git/doc/guix.texi:4932
  9595. #, no-wrap
  9596. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9597. msgstr ""
  9598. #. type: Plain text
  9599. #: guix-git/doc/guix.texi:4937
  9600. 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})."
  9601. msgstr ""
  9602. #. type: Plain text
  9603. #: guix-git/doc/guix.texi:4940
  9604. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9605. msgstr ""
  9606. #. type: example
  9607. #: guix-git/doc/guix.texi:4943
  9608. #, no-wrap
  9609. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9610. msgstr ""
  9611. #. type: Plain text
  9612. #: guix-git/doc/guix.texi:4948
  9613. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9614. msgstr ""
  9615. #. type: example
  9616. #: guix-git/doc/guix.texi:4952
  9617. #, no-wrap
  9618. msgid ""
  9619. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9620. " ssh the-machine guix archive --import\n"
  9621. msgstr ""
  9622. #. type: Plain text
  9623. #: guix-git/doc/guix.texi:4962
  9624. 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})."
  9625. msgstr ""
  9626. #. type: cindex
  9627. #: guix-git/doc/guix.texi:4963
  9628. #, no-wrap
  9629. msgid "nar, archive format"
  9630. msgstr ""
  9631. #. type: cindex
  9632. #: guix-git/doc/guix.texi:4964
  9633. #, no-wrap
  9634. msgid "normalized archive (nar)"
  9635. msgstr ""
  9636. #. type: cindex
  9637. #: guix-git/doc/guix.texi:4965
  9638. #, no-wrap
  9639. msgid "nar bundle, archive format"
  9640. msgstr ""
  9641. #. type: Plain text
  9642. #: guix-git/doc/guix.texi:4970
  9643. 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}."
  9644. msgstr ""
  9645. #. type: Plain text
  9646. #: guix-git/doc/guix.texi:4980
  9647. 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."
  9648. msgstr ""
  9649. #. type: Plain text
  9650. #: guix-git/doc/guix.texi:4984
  9651. 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."
  9652. msgstr ""
  9653. #. type: Plain text
  9654. #: guix-git/doc/guix.texi:4990
  9655. 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."
  9656. msgstr ""
  9657. #. type: Plain text
  9658. #: guix-git/doc/guix.texi:4992
  9659. msgid "The main options are:"
  9660. msgstr ""
  9661. #. type: item
  9662. #: guix-git/doc/guix.texi:4994
  9663. #, no-wrap
  9664. msgid "--export"
  9665. msgstr ""
  9666. #. type: table
  9667. #: guix-git/doc/guix.texi:4997
  9668. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9669. msgstr ""
  9670. #. type: table
  9671. #: guix-git/doc/guix.texi:5000
  9672. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9673. msgstr ""
  9674. #. type: itemx
  9675. #: guix-git/doc/guix.texi:5001 guix-git/doc/guix.texi:12248
  9676. #: guix-git/doc/guix.texi:12375 guix-git/doc/guix.texi:12400
  9677. #: guix-git/doc/guix.texi:12432 guix-git/doc/guix.texi:12603
  9678. #: guix-git/doc/guix.texi:12644 guix-git/doc/guix.texi:12695
  9679. #: guix-git/doc/guix.texi:12720 guix-git/doc/guix.texi:12736
  9680. #: guix-git/doc/guix.texi:12784 guix-git/doc/guix.texi:12820
  9681. #, no-wrap
  9682. msgid "-r"
  9683. msgstr ""
  9684. #. type: item
  9685. #: guix-git/doc/guix.texi:5002 guix-git/doc/guix.texi:12247
  9686. #: guix-git/doc/guix.texi:12374 guix-git/doc/guix.texi:12399
  9687. #: guix-git/doc/guix.texi:12431 guix-git/doc/guix.texi:12602
  9688. #: guix-git/doc/guix.texi:12643 guix-git/doc/guix.texi:12694
  9689. #: guix-git/doc/guix.texi:12719 guix-git/doc/guix.texi:12735
  9690. #: guix-git/doc/guix.texi:12783 guix-git/doc/guix.texi:12819
  9691. #: guix-git/doc/guix.texi:12868
  9692. #, no-wrap
  9693. msgid "--recursive"
  9694. msgstr ""
  9695. #. type: table
  9696. #: guix-git/doc/guix.texi:5007
  9697. 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."
  9698. msgstr ""
  9699. #. type: item
  9700. #: guix-git/doc/guix.texi:5008
  9701. #, no-wrap
  9702. msgid "--import"
  9703. msgstr ""
  9704. #. type: table
  9705. #: guix-git/doc/guix.texi:5013
  9706. 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)."
  9707. msgstr ""
  9708. #. type: item
  9709. #: guix-git/doc/guix.texi:5014
  9710. #, no-wrap
  9711. msgid "--missing"
  9712. msgstr ""
  9713. #. type: table
  9714. #: guix-git/doc/guix.texi:5018
  9715. 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."
  9716. msgstr ""
  9717. #. type: item
  9718. #: guix-git/doc/guix.texi:5019
  9719. #, no-wrap
  9720. msgid "--generate-key[=@var{parameters}]"
  9721. msgstr ""
  9722. #. type: cindex
  9723. #: guix-git/doc/guix.texi:5020
  9724. #, no-wrap
  9725. msgid "signing, archives"
  9726. msgstr ""
  9727. #. type: table
  9728. #: guix-git/doc/guix.texi:5027
  9729. 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."
  9730. msgstr ""
  9731. #. type: table
  9732. #: guix-git/doc/guix.texi:5037
  9733. 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})."
  9734. msgstr ""
  9735. #. type: item
  9736. #: guix-git/doc/guix.texi:5038
  9737. #, no-wrap
  9738. msgid "--authorize"
  9739. msgstr ""
  9740. #. type: cindex
  9741. #: guix-git/doc/guix.texi:5039
  9742. #, no-wrap
  9743. msgid "authorizing, archives"
  9744. msgstr ""
  9745. #. type: table
  9746. #: guix-git/doc/guix.texi:5043
  9747. 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."
  9748. msgstr ""
  9749. #. type: table
  9750. #: guix-git/doc/guix.texi:5050
  9751. 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)}."
  9752. msgstr ""
  9753. #. type: item
  9754. #: guix-git/doc/guix.texi:5051
  9755. #, no-wrap
  9756. msgid "--extract=@var{directory}"
  9757. msgstr ""
  9758. #. type: itemx
  9759. #: guix-git/doc/guix.texi:5052
  9760. #, no-wrap
  9761. msgid "-x @var{directory}"
  9762. msgstr ""
  9763. #. type: table
  9764. #: guix-git/doc/guix.texi:5056
  9765. 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."
  9766. msgstr ""
  9767. #. type: table
  9768. #: guix-git/doc/guix.texi:5059
  9769. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9770. msgstr ""
  9771. #. type: example
  9772. #: guix-git/doc/guix.texi:5064
  9773. #, no-wrap
  9774. msgid ""
  9775. "$ wget -O - \\\n"
  9776. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9777. " | gunzip | guix archive -x /tmp/emacs\n"
  9778. msgstr ""
  9779. #. type: table
  9780. #: guix-git/doc/guix.texi:5071
  9781. 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."
  9782. msgstr ""
  9783. #. type: table
  9784. #: guix-git/doc/guix.texi:5075
  9785. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9786. msgstr ""
  9787. #. type: item
  9788. #: guix-git/doc/guix.texi:5076
  9789. #, no-wrap
  9790. msgid "--list"
  9791. msgstr ""
  9792. #. type: itemx
  9793. #: guix-git/doc/guix.texi:5077 guix-git/doc/guix.texi:12590
  9794. #: guix-git/doc/guix.texi:12637
  9795. #, no-wrap
  9796. msgid "-t"
  9797. msgstr ""
  9798. #. type: table
  9799. #: guix-git/doc/guix.texi:5081
  9800. 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:"
  9801. msgstr ""
  9802. #. type: example
  9803. #: guix-git/doc/guix.texi:5086
  9804. #, no-wrap
  9805. msgid ""
  9806. "$ wget -O - \\\n"
  9807. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9808. " | lzip -d | guix archive -t\n"
  9809. msgstr ""
  9810. #. type: cindex
  9811. #: guix-git/doc/guix.texi:5097
  9812. #, no-wrap
  9813. msgid "@command{guix pull}, configuration file"
  9814. msgstr ""
  9815. #. type: cindex
  9816. #: guix-git/doc/guix.texi:5098
  9817. #, no-wrap
  9818. msgid "configuration of @command{guix pull}"
  9819. msgstr ""
  9820. #. type: Plain text
  9821. #: guix-git/doc/guix.texi:5109
  9822. 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."
  9823. msgstr ""
  9824. #. type: cindex
  9825. #: guix-git/doc/guix.texi:5127
  9826. #, no-wrap
  9827. msgid "extending the package collection (channels)"
  9828. msgstr ""
  9829. #. type: cindex
  9830. #: guix-git/doc/guix.texi:5128
  9831. #, no-wrap
  9832. msgid "variant packages (channels)"
  9833. msgstr ""
  9834. #. type: Plain text
  9835. #: guix-git/doc/guix.texi:5132
  9836. 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):"
  9837. msgstr ""
  9838. #. type: vindex
  9839. #: guix-git/doc/guix.texi:5133
  9840. #, no-wrap
  9841. msgid "%default-channels"
  9842. msgstr ""
  9843. #. type: lisp
  9844. #: guix-git/doc/guix.texi:5140
  9845. #, no-wrap
  9846. msgid ""
  9847. ";; Add variant packages to those Guix provides.\n"
  9848. "(cons (channel\n"
  9849. " (name 'variant-packages)\n"
  9850. " (url \"https://example.org/variant-packages.git\"))\n"
  9851. " %default-channels)\n"
  9852. msgstr ""
  9853. #. type: Plain text
  9854. #: guix-git/doc/guix.texi:5150
  9855. 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:"
  9856. msgstr ""
  9857. #. type: example
  9858. #: guix-git/doc/guix.texi:5165
  9859. #, no-wrap
  9860. msgid ""
  9861. "$ guix pull --list-generations\n"
  9862. "@dots{}\n"
  9863. "Generation 19\tAug 27 2018 16:20:48\n"
  9864. " guix d894ab8\n"
  9865. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9866. " branch: master\n"
  9867. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9868. " variant-packages dd3df5e\n"
  9869. " repository URL: https://example.org/variant-packages.git\n"
  9870. " branch: master\n"
  9871. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9872. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9873. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9874. msgstr ""
  9875. #. type: Plain text
  9876. #: guix-git/doc/guix.texi:5173
  9877. 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."
  9878. msgstr ""
  9879. #. type: Plain text
  9880. #: guix-git/doc/guix.texi:5182
  9881. 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:"
  9882. msgstr ""
  9883. #. type: lisp
  9884. #: guix-git/doc/guix.texi:5189
  9885. #, no-wrap
  9886. msgid ""
  9887. ";; Tell 'guix pull' to use another repo.\n"
  9888. "(list (channel\n"
  9889. " (name 'guix)\n"
  9890. " (url \"https://example.org/another-guix.git\")\n"
  9891. " (branch \"super-hacks\")))\n"
  9892. msgstr ""
  9893. #. type: Plain text
  9894. #: guix-git/doc/guix.texi:5195
  9895. 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})."
  9896. msgstr ""
  9897. #. type: Plain text
  9898. #: guix-git/doc/guix.texi:5206
  9899. 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:"
  9900. msgstr ""
  9901. #. type: lisp
  9902. #: guix-git/doc/guix.texi:5217
  9903. #, no-wrap
  9904. msgid ""
  9905. ";; Deploy specific commits of my channels of interest.\n"
  9906. "(list (channel\n"
  9907. " (name 'guix)\n"
  9908. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9909. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9910. " (channel\n"
  9911. " (name 'variant-packages)\n"
  9912. " (url \"https://example.org/variant-packages.git\")\n"
  9913. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9914. msgstr ""
  9915. #. type: Plain text
  9916. #: guix-git/doc/guix.texi:5224
  9917. 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})."
  9918. msgstr ""
  9919. #. type: Plain text
  9920. #: guix-git/doc/guix.texi:5231
  9921. 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."
  9922. msgstr ""
  9923. #. type: Plain text
  9924. #: guix-git/doc/guix.texi:5236
  9925. 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."
  9926. msgstr ""
  9927. #. type: anchor{#1}
  9928. #: guix-git/doc/guix.texi:5241
  9929. msgid "channel-authentication"
  9930. msgstr ""
  9931. #. type: Plain text
  9932. #: guix-git/doc/guix.texi:5247
  9933. 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."
  9934. msgstr ""
  9935. #. type: Plain text
  9936. #: guix-git/doc/guix.texi:5252
  9937. 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:"
  9938. msgstr ""
  9939. #. type: lisp
  9940. #: guix-git/doc/guix.texi:5262
  9941. #, no-wrap
  9942. msgid ""
  9943. "(channel\n"
  9944. " (name 'some-channel)\n"
  9945. " (url \"https://example.org/some-channel.git\")\n"
  9946. " (introduction\n"
  9947. " (make-channel-introduction\n"
  9948. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9949. " (openpgp-fingerprint\n"
  9950. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9951. msgstr ""
  9952. #. type: Plain text
  9953. #: guix-git/doc/guix.texi:5268
  9954. 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{}}."
  9955. msgstr ""
  9956. #. type: Plain text
  9957. #: guix-git/doc/guix.texi:5274
  9958. 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."
  9959. msgstr ""
  9960. #. type: Plain text
  9961. #: guix-git/doc/guix.texi:5276
  9962. msgid "If you're curious about the authentication mechanics, read on!"
  9963. msgstr ""
  9964. #. type: Plain text
  9965. #: guix-git/doc/guix.texi:5287
  9966. 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}."
  9967. msgstr ""
  9968. #. type: lisp
  9969. #: guix-git/doc/guix.texi:5290
  9970. #, no-wrap
  9971. msgid ""
  9972. "(use-modules (guix ci))\n"
  9973. "\n"
  9974. msgstr ""
  9975. #. type: lisp
  9976. #: guix-git/doc/guix.texi:5294
  9977. #, no-wrap
  9978. msgid ""
  9979. "(list (channel-with-substitutes-available\n"
  9980. " %default-guix-channel\n"
  9981. " \"https://ci.guix.gnu.org\"))\n"
  9982. msgstr ""
  9983. #. type: Plain text
  9984. #: guix-git/doc/guix.texi:5301
  9985. 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."
  9986. msgstr ""
  9987. #. type: cindex
  9988. #: guix-git/doc/guix.texi:5305
  9989. #, no-wrap
  9990. msgid "personal packages (channels)"
  9991. msgstr ""
  9992. #. type: cindex
  9993. #: guix-git/doc/guix.texi:5306
  9994. #, no-wrap
  9995. msgid "channels, for personal packages"
  9996. msgstr ""
  9997. #. type: Plain text
  9998. #: guix-git/doc/guix.texi:5314
  9999. 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?"
  10000. msgstr ""
  10001. #. type: quotation
  10002. #: guix-git/doc/guix.texi:5322
  10003. 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:"
  10004. msgstr ""
  10005. #. type: itemize
  10006. #: guix-git/doc/guix.texi:5330
  10007. 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."
  10008. msgstr ""
  10009. #. type: itemize
  10010. #: guix-git/doc/guix.texi:5339
  10011. 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."
  10012. msgstr ""
  10013. #. type: itemize
  10014. #: guix-git/doc/guix.texi:5343
  10015. 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."
  10016. msgstr ""
  10017. #. type: quotation
  10018. #: guix-git/doc/guix.texi:5350
  10019. 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."
  10020. msgstr ""
  10021. #. type: Plain text
  10022. #: guix-git/doc/guix.texi:5362
  10023. 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})."
  10024. msgstr ""
  10025. #. type: Plain text
  10026. #: guix-git/doc/guix.texi:5367
  10027. 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."
  10028. msgstr ""
  10029. #. type: cindex
  10030. #: guix-git/doc/guix.texi:5372
  10031. #, no-wrap
  10032. msgid "subdirectory, channels"
  10033. msgstr ""
  10034. #. type: Plain text
  10035. #: guix-git/doc/guix.texi:5376
  10036. 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:"
  10037. msgstr ""
  10038. #. type: lisp
  10039. #: guix-git/doc/guix.texi:5381
  10040. #, no-wrap
  10041. msgid ""
  10042. "(channel\n"
  10043. " (version 0)\n"
  10044. " (directory \"guix\"))\n"
  10045. msgstr ""
  10046. #. type: cindex
  10047. #: guix-git/doc/guix.texi:5386
  10048. #, no-wrap
  10049. msgid "dependencies, channels"
  10050. msgstr ""
  10051. #. type: cindex
  10052. #: guix-git/doc/guix.texi:5387
  10053. #, no-wrap
  10054. msgid "meta-data, channels"
  10055. msgstr ""
  10056. #. type: Plain text
  10057. #: guix-git/doc/guix.texi:5392
  10058. 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."
  10059. msgstr ""
  10060. #. type: Plain text
  10061. #: guix-git/doc/guix.texi:5394
  10062. msgid "The meta-data file should contain a simple S-expression like this:"
  10063. msgstr ""
  10064. #. type: lisp
  10065. #: guix-git/doc/guix.texi:5402
  10066. #, no-wrap
  10067. msgid ""
  10068. "(channel\n"
  10069. " (version 0)\n"
  10070. " (dependencies\n"
  10071. " (channel\n"
  10072. " (name some-collection)\n"
  10073. " (url \"https://example.org/first-collection.git\")\n"
  10074. "\n"
  10075. msgstr ""
  10076. #. type: lisp
  10077. #: guix-git/doc/guix.texi:5414
  10078. #, no-wrap
  10079. msgid ""
  10080. " ;; The 'introduction' bit below is optional: you would\n"
  10081. " ;; provide it for dependencies that can be authenticated.\n"
  10082. " (introduction\n"
  10083. " (channel-introduction\n"
  10084. " (version 0)\n"
  10085. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  10086. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  10087. " (channel\n"
  10088. " (name some-other-collection)\n"
  10089. " (url \"https://example.org/second-collection.git\")\n"
  10090. " (branch \"testing\"))))\n"
  10091. msgstr ""
  10092. #. type: Plain text
  10093. #: guix-git/doc/guix.texi:5420
  10094. 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."
  10095. msgstr ""
  10096. #. type: Plain text
  10097. #: guix-git/doc/guix.texi:5424
  10098. 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."
  10099. msgstr ""
  10100. #. type: cindex
  10101. #: guix-git/doc/guix.texi:5428
  10102. #, no-wrap
  10103. msgid "channel authorizations"
  10104. msgstr ""
  10105. #. type: anchor{#1}
  10106. #: guix-git/doc/guix.texi:5442
  10107. msgid "channel-authorizations"
  10108. msgstr ""
  10109. #. type: Plain text
  10110. #: guix-git/doc/guix.texi:5442
  10111. 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:"
  10112. msgstr ""
  10113. #. type: lisp
  10114. #: guix-git/doc/guix.texi:5445
  10115. #, no-wrap
  10116. msgid ""
  10117. ";; Example '.guix-authorizations' file.\n"
  10118. "\n"
  10119. msgstr ""
  10120. #. type: lisp
  10121. #: guix-git/doc/guix.texi:5448
  10122. #, no-wrap
  10123. msgid ""
  10124. "(authorizations\n"
  10125. " (version 0) ;current file format version\n"
  10126. "\n"
  10127. msgstr ""
  10128. #. type: lisp
  10129. #: guix-git/doc/guix.texi:5455
  10130. #, no-wrap
  10131. msgid ""
  10132. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  10133. " (name \"alice\"))\n"
  10134. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  10135. " (name \"bob\"))\n"
  10136. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  10137. " (name \"charlie\"))))\n"
  10138. msgstr ""
  10139. #. type: Plain text
  10140. #: guix-git/doc/guix.texi:5459
  10141. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  10142. msgstr ""
  10143. #. type: Plain text
  10144. #: guix-git/doc/guix.texi:5464
  10145. 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?"
  10146. msgstr ""
  10147. #. type: cindex
  10148. #: guix-git/doc/guix.texi:5465
  10149. #, no-wrap
  10150. msgid "channel introduction"
  10151. msgstr ""
  10152. #. type: Plain text
  10153. #: guix-git/doc/guix.texi:5474
  10154. msgid "Channel introductions answer these questions by describing the first commit of a channel that should be authenticated. The first time a channel is fetched with @command{guix pull} or @command{guix time-machine}, the command looks up the introductory commit and verifies that it is signed by the specified OpenPGP key. From then on, it authenticates commits according to the rule above. Authentication fails if the target commit is neither a descendant nor an ancestor of the introductory commit."
  10155. msgstr ""
  10156. #. type: Plain text
  10157. #: guix-git/doc/guix.texi:5481
  10158. 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:"
  10159. msgstr ""
  10160. #. type: lisp
  10161. #: guix-git/doc/guix.texi:5486
  10162. #, no-wrap
  10163. msgid ""
  10164. "(channel\n"
  10165. " (version 0)\n"
  10166. " (keyring-reference \"my-keyring-branch\"))\n"
  10167. msgstr ""
  10168. #. type: Plain text
  10169. #: guix-git/doc/guix.texi:5490
  10170. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  10171. msgstr ""
  10172. #. type: enumerate
  10173. #: guix-git/doc/guix.texi:5496
  10174. 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})."
  10175. msgstr ""
  10176. #. type: enumerate
  10177. #: guix-git/doc/guix.texi:5501
  10178. 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.)"
  10179. msgstr ""
  10180. #. type: enumerate
  10181. #: guix-git/doc/guix.texi:5507
  10182. 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."
  10183. msgstr ""
  10184. #. type: Plain text
  10185. #: guix-git/doc/guix.texi:5512
  10186. 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:"
  10187. msgstr ""
  10188. #. type: example
  10189. #: guix-git/doc/guix.texi:5515
  10190. #, no-wrap
  10191. msgid "guix git authenticate @var{commit} @var{signer}\n"
  10192. msgstr ""
  10193. #. type: Plain text
  10194. #: guix-git/doc/guix.texi:5520
  10195. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  10196. msgstr ""
  10197. #. type: Plain text
  10198. #: guix-git/doc/guix.texi:5527
  10199. 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."
  10200. msgstr ""
  10201. #. type: cindex
  10202. #: guix-git/doc/guix.texi:5531
  10203. #, no-wrap
  10204. msgid "primary URL, channels"
  10205. msgstr ""
  10206. #. type: Plain text
  10207. #: guix-git/doc/guix.texi:5534
  10208. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  10209. msgstr ""
  10210. #. type: lisp
  10211. #: guix-git/doc/guix.texi:5539
  10212. #, no-wrap
  10213. msgid ""
  10214. "(channel\n"
  10215. " (version 0)\n"
  10216. " (url \"https://example.org/guix.git\"))\n"
  10217. msgstr ""
  10218. #. type: Plain text
  10219. #: guix-git/doc/guix.texi:5546
  10220. 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."
  10221. msgstr ""
  10222. #. type: Plain text
  10223. #: guix-git/doc/guix.texi:5550
  10224. 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."
  10225. msgstr ""
  10226. #. type: cindex
  10227. #: guix-git/doc/guix.texi:5554
  10228. #, no-wrap
  10229. msgid "news, for channels"
  10230. msgstr ""
  10231. #. type: Plain text
  10232. #: guix-git/doc/guix.texi:5558
  10233. 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."
  10234. msgstr ""
  10235. #. type: Plain text
  10236. #: guix-git/doc/guix.texi:5563
  10237. 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."
  10238. msgstr ""
  10239. #. type: Plain text
  10240. #: guix-git/doc/guix.texi:5566
  10241. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10242. msgstr ""
  10243. #. type: lisp
  10244. #: guix-git/doc/guix.texi:5571
  10245. #, no-wrap
  10246. msgid ""
  10247. "(channel\n"
  10248. " (version 0)\n"
  10249. " (news-file \"etc/news.txt\"))\n"
  10250. msgstr ""
  10251. #. type: Plain text
  10252. #: guix-git/doc/guix.texi:5575
  10253. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10254. msgstr ""
  10255. #. type: lisp
  10256. #: guix-git/doc/guix.texi:5588
  10257. #, no-wrap
  10258. msgid ""
  10259. "(channel-news\n"
  10260. " (version 0)\n"
  10261. " (entry (tag \"the-bug-fix\")\n"
  10262. " (title (en \"Fixed terrible bug\")\n"
  10263. " (fr \"Oh la la\"))\n"
  10264. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10265. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10266. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10267. " (title (en \"Added a great package\")\n"
  10268. " (ca \"Què vol dir guix?\"))\n"
  10269. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10270. msgstr ""
  10271. #. type: Plain text
  10272. #: guix-git/doc/guix.texi:5595
  10273. 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."
  10274. msgstr ""
  10275. #. type: Plain text
  10276. #: guix-git/doc/guix.texi:5600
  10277. 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."
  10278. msgstr ""
  10279. #. type: Plain text
  10280. #: guix-git/doc/guix.texi:5606
  10281. 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."
  10282. msgstr ""
  10283. #. type: Plain text
  10284. #: guix-git/doc/guix.texi:5612
  10285. 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:"
  10286. msgstr ""
  10287. #. type: example
  10288. #: guix-git/doc/guix.texi:5615
  10289. #, no-wrap
  10290. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10291. msgstr ""
  10292. #. type: Plain text
  10293. #: guix-git/doc/guix.texi:5619
  10294. 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."
  10295. msgstr ""
  10296. #. type: cindex
  10297. #: guix-git/doc/guix.texi:5624
  10298. #, no-wrap
  10299. msgid "software development"
  10300. msgstr ""
  10301. #. type: Plain text
  10302. #: guix-git/doc/guix.texi:5628
  10303. 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."
  10304. msgstr ""
  10305. #. type: Plain text
  10306. #: guix-git/doc/guix.texi:5634
  10307. msgid "The @command{guix shell} command provides a convenient way to set up one-off software environments, be it for development purposes or to run a command without installing it in your profile. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  10308. msgstr ""
  10309. #. type: section
  10310. #: guix-git/doc/guix.texi:5644
  10311. #, no-wrap
  10312. msgid "Invoking @command{guix shell}"
  10313. msgstr ""
  10314. #. type: cindex
  10315. #: guix-git/doc/guix.texi:5646
  10316. #, no-wrap
  10317. msgid "reproducible build environments"
  10318. msgstr ""
  10319. #. type: cindex
  10320. #: guix-git/doc/guix.texi:5647
  10321. #, no-wrap
  10322. msgid "development environments"
  10323. msgstr ""
  10324. #. type: command{#1}
  10325. #: guix-git/doc/guix.texi:5648
  10326. #, no-wrap
  10327. msgid "guix environment"
  10328. msgstr ""
  10329. #. type: cindex
  10330. #: guix-git/doc/guix.texi:5649
  10331. #, no-wrap
  10332. msgid "environment, package build environment"
  10333. msgstr ""
  10334. #. type: Plain text
  10335. #: guix-git/doc/guix.texi:5654
  10336. msgid "The purpose of @command{guix shell} is to make it easy to create one-off software environments, without changing one's profile. It is typically used to create development environments; it is also a convenient way to run applications without ``polluting'' your profile."
  10337. msgstr ""
  10338. #. type: quotation
  10339. #: guix-git/doc/guix.texi:5660
  10340. msgid "The @command{guix shell} command was recently introduced to supersede @command{guix environment} (@pxref{Invoking guix environment}). If you are familiar with @command{guix environment}, you will notice that it is similar but also---we hope!---more convenient."
  10341. msgstr ""
  10342. #. type: example
  10343. #: guix-git/doc/guix.texi:5666
  10344. #, no-wrap
  10345. msgid "guix shell [@var{options}] [@var{package}@dots{}]\n"
  10346. msgstr ""
  10347. #. type: Plain text
  10348. #: guix-git/doc/guix.texi:5671
  10349. msgid "The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment:"
  10350. msgstr ""
  10351. #. type: example
  10352. #: guix-git/doc/guix.texi:5674
  10353. #, no-wrap
  10354. msgid "guix shell python python-numpy -- python3\n"
  10355. msgstr ""
  10356. #. type: Plain text
  10357. #: guix-git/doc/guix.texi:5679
  10358. msgid "Development environments can be created as in the example below, which spawns an interactive shell containing all the dependencies and environment variables needed to work on Inkscape:"
  10359. msgstr ""
  10360. #. type: example
  10361. #: guix-git/doc/guix.texi:5682
  10362. #, no-wrap
  10363. msgid "guix shell --development inkscape\n"
  10364. msgstr ""
  10365. #. type: Plain text
  10366. #: guix-git/doc/guix.texi:5688
  10367. msgid "Exiting the shell places the user back in the original environment before @command{guix shell} was invoked. The next garbage collection (@pxref{Invoking guix gc}) may clean up packages that were installed in the environment and that are no longer used outside of it."
  10368. msgstr ""
  10369. #. type: Plain text
  10370. #: guix-git/doc/guix.texi:5695
  10371. msgid "As an added convenience, when running from a directory that contains a @file{manifest.scm} or a @file{guix.scm} file (in this order), possibly in a parent directory, @command{guix shell} automatically loads the file---provided the directory is listed in @file{~/.config/guix/shell-authorized-directories}, and only for interactive use:"
  10372. msgstr ""
  10373. #. type: example
  10374. #: guix-git/doc/guix.texi:5698
  10375. #, no-wrap
  10376. msgid "guix shell\n"
  10377. msgstr ""
  10378. #. type: Plain text
  10379. #: guix-git/doc/guix.texi:5702
  10380. msgid "This provides an easy way to define, share, and enter development environments."
  10381. msgstr ""
  10382. #. type: Plain text
  10383. #: guix-git/doc/guix.texi:5713
  10384. msgid "By default, the shell session or command runs in an @emph{augmented} environment, where the new packages are added to search path environment variables such as @code{PATH}. You can, instead, choose to create an @emph{isolated} environment containing nothing but the packages you asked for. Passing the @option{--pure} option clears environment variable definitions found in the parent environment@footnote{Be sure to use the @option{--check} option the first time you use @command{guix shell} interactively to make sure the shell does not undo the effect of @option{--pure}.}; passing @option{--container} goes one step further by spawning a @dfn{container} isolated from the rest of the system:"
  10385. msgstr ""
  10386. #. type: example
  10387. #: guix-git/doc/guix.texi:5716
  10388. #, no-wrap
  10389. msgid "guix shell --container emacs gcc-toolchain\n"
  10390. msgstr ""
  10391. #. type: Plain text
  10392. #: guix-git/doc/guix.texi:5724
  10393. msgid "The command above spawns an interactive shell in a container where nothing but @code{emacs}, @code{gcc-toolchain}, and their dependencies is available. The container lacks network access and shares no files other than the current working directory with the surrounding environment. This is useful to prevent access to system-wide resources such as @file{/usr/bin} on foreign distros."
  10394. msgstr ""
  10395. #. type: Plain text
  10396. #: guix-git/doc/guix.texi:5731
  10397. msgid "This @option{--container} option can also prove useful if you wish to run a security-sensitive application, such as a web browser, in an isolated environment. For example, the command below launches Ungoogled-Chromium in an isolated environment, this time sharing network access with the host and preserving its @code{DISPLAY} environment variable, but without even sharing the current directory:"
  10398. msgstr ""
  10399. #. type: example
  10400. #: guix-git/doc/guix.texi:5735
  10401. #, no-wrap
  10402. msgid ""
  10403. "guix shell --container --network --no-cwd ungoogled-chromium \\\n"
  10404. " --preserve='^DISPLAY$' -- chromium\n"
  10405. msgstr ""
  10406. #. type: vindex
  10407. #: guix-git/doc/guix.texi:5737 guix-git/doc/guix.texi:6067
  10408. #, no-wrap
  10409. msgid "GUIX_ENVIRONMENT"
  10410. msgstr ""
  10411. #. type: Plain text
  10412. #: guix-git/doc/guix.texi:5743
  10413. msgid "@command{guix shell} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  10414. msgstr ""
  10415. #. type: example
  10416. #: guix-git/doc/guix.texi:5749 guix-git/doc/guix.texi:6079
  10417. #, no-wrap
  10418. msgid ""
  10419. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10420. "then\n"
  10421. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10422. "fi\n"
  10423. msgstr ""
  10424. #. type: Plain text
  10425. #: guix-git/doc/guix.texi:5753 guix-git/doc/guix.texi:6083
  10426. msgid "...@: or to browse the profile:"
  10427. msgstr ""
  10428. #. type: example
  10429. #: guix-git/doc/guix.texi:5756 guix-git/doc/guix.texi:6086
  10430. #, no-wrap
  10431. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10432. msgstr ""
  10433. #. type: Plain text
  10434. #: guix-git/doc/guix.texi:5759 guix-git/doc/guix.texi:6162
  10435. msgid "The available options are summarized below."
  10436. msgstr ""
  10437. #. type: item
  10438. #: guix-git/doc/guix.texi:5761 guix-git/doc/guix.texi:6164
  10439. #: guix-git/doc/guix.texi:11964
  10440. #, no-wrap
  10441. msgid "--check"
  10442. msgstr ""
  10443. #. type: table
  10444. #: guix-git/doc/guix.texi:5766
  10445. msgid "Set up the environment and check whether the shell would clobber environment variables. It's a good idea to use this option the first time you run @command{guix shell} for an interactive session to make sure your setup is correct."
  10446. msgstr ""
  10447. #. type: table
  10448. #: guix-git/doc/guix.texi:5770
  10449. msgid "For example, if the shell modifies the @env{PATH} environment variable, report it since you would get a different environment than what you asked for."
  10450. msgstr ""
  10451. #. type: table
  10452. #: guix-git/doc/guix.texi:5778
  10453. msgid "Such problems usually indicate that the shell startup files are unexpectedly modifying those environment variables. For example, if you are using Bash, make sure that environment variables are set or modified in @file{~/.bash_profile} and @emph{not} in @file{~/.bashrc}---the former is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files."
  10454. msgstr ""
  10455. #. type: item
  10456. #: guix-git/doc/guix.texi:5779
  10457. #, no-wrap
  10458. msgid "--development"
  10459. msgstr ""
  10460. #. type: table
  10461. #: guix-git/doc/guix.texi:5786
  10462. msgid "Cause @command{guix shell} to include in the environment the dependencies of the following package rather than the package itself. This can be combined with other packages. For instance, the command below starts an interactive shell containing the build-time dependencies of GNU@tie{}Guile, plus Autoconf, Automake, and Libtool:"
  10463. msgstr ""
  10464. #. type: example
  10465. #: guix-git/doc/guix.texi:5789
  10466. #, no-wrap
  10467. msgid "guix shell -D guile autoconf automake libtool\n"
  10468. msgstr ""
  10469. #. type: item
  10470. #: guix-git/doc/guix.texi:5791 guix-git/doc/guix.texi:6185
  10471. #: guix-git/doc/guix.texi:6672 guix-git/doc/guix.texi:11839
  10472. #: guix-git/doc/guix.texi:12913 guix-git/doc/guix.texi:13305
  10473. #: guix-git/doc/guix.texi:13903 guix-git/doc/guix.texi:35801
  10474. #: guix-git/doc/guix.texi:38386
  10475. #, no-wrap
  10476. msgid "--expression=@var{expr}"
  10477. msgstr ""
  10478. #. type: itemx
  10479. #: guix-git/doc/guix.texi:5792 guix-git/doc/guix.texi:6186
  10480. #: guix-git/doc/guix.texi:6673 guix-git/doc/guix.texi:11840
  10481. #: guix-git/doc/guix.texi:12914 guix-git/doc/guix.texi:13306
  10482. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:35802
  10483. #: guix-git/doc/guix.texi:38387
  10484. #, no-wrap
  10485. msgid "-e @var{expr}"
  10486. msgstr ""
  10487. #. type: table
  10488. #: guix-git/doc/guix.texi:5795 guix-git/doc/guix.texi:6189
  10489. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10490. msgstr ""
  10491. #. type: table
  10492. #: guix-git/doc/guix.texi:5797 guix-git/doc/guix.texi:6191
  10493. #: guix-git/doc/guix.texi:13310
  10494. msgid "For example, running:"
  10495. msgstr ""
  10496. #. type: example
  10497. #: guix-git/doc/guix.texi:5800
  10498. #, no-wrap
  10499. msgid "guix shell -D -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10500. msgstr ""
  10501. #. type: table
  10502. #: guix-git/doc/guix.texi:5804 guix-git/doc/guix.texi:6198
  10503. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10504. msgstr ""
  10505. #. type: table
  10506. #: guix-git/doc/guix.texi:5806 guix-git/doc/guix.texi:6200
  10507. msgid "Running:"
  10508. msgstr ""
  10509. #. type: example
  10510. #: guix-git/doc/guix.texi:5809
  10511. #, no-wrap
  10512. msgid "guix shell -e '(@@ (gnu) %base-packages)'\n"
  10513. msgstr ""
  10514. #. type: table
  10515. #: guix-git/doc/guix.texi:5812 guix-git/doc/guix.texi:6206
  10516. msgid "starts a shell with all the base system packages available."
  10517. msgstr ""
  10518. #. type: table
  10519. #: guix-git/doc/guix.texi:5815 guix-git/doc/guix.texi:6209
  10520. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10521. msgstr ""
  10522. #. type: example
  10523. #: guix-git/doc/guix.texi:5818
  10524. #, no-wrap
  10525. msgid "guix shell -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10526. msgstr ""
  10527. #. type: item
  10528. #: guix-git/doc/guix.texi:5820 guix-git/doc/guix.texi:11813
  10529. #, no-wrap
  10530. msgid "--file=@var{file}"
  10531. msgstr ""
  10532. #. type: table
  10533. #: guix-git/doc/guix.texi:5824
  10534. msgid "Create an environment containing the package or list of packages that the code within @var{file} evaluates to."
  10535. msgstr ""
  10536. #. type: lisp
  10537. #: guix-git/doc/guix.texi:5830 guix-git/doc/guix.texi:6224
  10538. #, no-wrap
  10539. msgid "@verbatiminclude environment-gdb.scm\n"
  10540. msgstr ""
  10541. #. type: table
  10542. #: guix-git/doc/guix.texi:5834
  10543. msgid "With the file above, you can enter a development environment for GDB by running:"
  10544. msgstr ""
  10545. #. type: example
  10546. #: guix-git/doc/guix.texi:5837
  10547. #, no-wrap
  10548. msgid "guix shell -D -f gdb-devel.scm\n"
  10549. msgstr ""
  10550. #. type: table
  10551. #: guix-git/doc/guix.texi:5844 guix-git/doc/guix.texi:6231
  10552. 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."
  10553. msgstr ""
  10554. #. type: table
  10555. #: guix-git/doc/guix.texi:5848 guix-git/doc/guix.texi:6235
  10556. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10557. msgstr ""
  10558. #. type: table
  10559. #: guix-git/doc/guix.texi:5854 guix-git/doc/guix.texi:6267
  10560. msgid "Create an environment containing the packages installed in @var{profile}. Use @command{guix package} (@pxref{Invoking guix package}) to create and manage profiles."
  10561. msgstr ""
  10562. #. type: item
  10563. #: guix-git/doc/guix.texi:5855 guix-git/doc/guix.texi:6268
  10564. #, no-wrap
  10565. msgid "--pure"
  10566. msgstr ""
  10567. #. type: table
  10568. #: guix-git/doc/guix.texi:5859 guix-git/doc/guix.texi:6272
  10569. 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."
  10570. msgstr ""
  10571. #. type: item
  10572. #: guix-git/doc/guix.texi:5860 guix-git/doc/guix.texi:6273
  10573. #, no-wrap
  10574. msgid "--preserve=@var{regexp}"
  10575. msgstr ""
  10576. #. type: itemx
  10577. #: guix-git/doc/guix.texi:5861 guix-git/doc/guix.texi:6274
  10578. #, no-wrap
  10579. msgid "-E @var{regexp}"
  10580. msgstr ""
  10581. #. type: table
  10582. #: guix-git/doc/guix.texi:5866 guix-git/doc/guix.texi:6279
  10583. 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."
  10584. msgstr ""
  10585. #. type: example
  10586. #: guix-git/doc/guix.texi:5870
  10587. #, no-wrap
  10588. msgid ""
  10589. "guix shell --pure --preserve=^SLURM openmpi @dots{} \\\n"
  10590. " -- mpirun @dots{}\n"
  10591. msgstr ""
  10592. #. type: table
  10593. #: guix-git/doc/guix.texi:5876 guix-git/doc/guix.texi:6289
  10594. 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.)."
  10595. msgstr ""
  10596. #. type: item
  10597. #: guix-git/doc/guix.texi:5877 guix-git/doc/guix.texi:6290
  10598. #, no-wrap
  10599. msgid "--search-paths"
  10600. msgstr ""
  10601. #. type: table
  10602. #: guix-git/doc/guix.texi:5880 guix-git/doc/guix.texi:6293
  10603. msgid "Display the environment variable definitions that make up the environment."
  10604. msgstr ""
  10605. #. type: table
  10606. #: guix-git/doc/guix.texi:5884 guix-git/doc/guix.texi:6297
  10607. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10608. msgstr ""
  10609. #. type: item
  10610. #: guix-git/doc/guix.texi:5885 guix-git/doc/guix.texi:6298
  10611. #, no-wrap
  10612. msgid "--container"
  10613. msgstr ""
  10614. #. type: itemx
  10615. #: guix-git/doc/guix.texi:5886 guix-git/doc/guix.texi:6299
  10616. #, no-wrap
  10617. msgid "-C"
  10618. msgstr ""
  10619. #. type: item
  10620. #: guix-git/doc/guix.texi:5887 guix-git/doc/guix.texi:6128
  10621. #: guix-git/doc/guix.texi:6300 guix-git/doc/guix.texi:14459
  10622. #: guix-git/doc/guix.texi:35769
  10623. #, no-wrap
  10624. msgid "container"
  10625. msgstr ""
  10626. #. type: table
  10627. #: guix-git/doc/guix.texi:5893 guix-git/doc/guix.texi:6306
  10628. 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."
  10629. msgstr ""
  10630. #. type: table
  10631. #: guix-git/doc/guix.texi:5897 guix-git/doc/guix.texi:6310
  10632. 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)."
  10633. msgstr ""
  10634. #. type: item
  10635. #: guix-git/doc/guix.texi:5898 guix-git/doc/guix.texi:6311
  10636. #: guix-git/doc/guix.texi:35861
  10637. #, no-wrap
  10638. msgid "--network"
  10639. msgstr ""
  10640. #. type: table
  10641. #: guix-git/doc/guix.texi:5903 guix-git/doc/guix.texi:6316
  10642. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10643. msgstr ""
  10644. #. type: item
  10645. #: guix-git/doc/guix.texi:5904 guix-git/doc/guix.texi:6317
  10646. #, no-wrap
  10647. msgid "--link-profile"
  10648. msgstr ""
  10649. #. type: itemx
  10650. #: guix-git/doc/guix.texi:5905 guix-git/doc/guix.texi:6318
  10651. #, no-wrap
  10652. msgid "-P"
  10653. msgstr ""
  10654. #. type: table
  10655. #: guix-git/doc/guix.texi:5913
  10656. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix shell} was invoked in the user's home directory."
  10657. msgstr ""
  10658. #. type: table
  10659. #: guix-git/doc/guix.texi:5919 guix-git/doc/guix.texi:6332
  10660. 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."
  10661. msgstr ""
  10662. #. type: item
  10663. #: guix-git/doc/guix.texi:5920 guix-git/doc/guix.texi:6333
  10664. #: guix-git/doc/guix.texi:14036
  10665. #, no-wrap
  10666. msgid "--user=@var{user}"
  10667. msgstr ""
  10668. #. type: itemx
  10669. #: guix-git/doc/guix.texi:5921 guix-git/doc/guix.texi:6334
  10670. #: guix-git/doc/guix.texi:14037
  10671. #, no-wrap
  10672. msgid "-u @var{user}"
  10673. msgstr ""
  10674. #. type: table
  10675. #: guix-git/doc/guix.texi:5928 guix-git/doc/guix.texi:6341
  10676. 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."
  10677. msgstr ""
  10678. #. type: table
  10679. #: guix-git/doc/guix.texi:5933 guix-git/doc/guix.texi:6346
  10680. 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."
  10681. msgstr ""
  10682. #. type: example
  10683. #: guix-git/doc/guix.texi:5940
  10684. #, no-wrap
  10685. msgid ""
  10686. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10687. "cd $HOME/wd\n"
  10688. "guix shell --container --user=foo \\\n"
  10689. " --expose=$HOME/test \\\n"
  10690. " --expose=/tmp/target=$HOME/target\n"
  10691. msgstr ""
  10692. #. type: table
  10693. #: guix-git/doc/guix.texi:5945 guix-git/doc/guix.texi:6358
  10694. 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."
  10695. msgstr ""
  10696. #. type: item
  10697. #: guix-git/doc/guix.texi:5946 guix-git/doc/guix.texi:6359
  10698. #, no-wrap
  10699. msgid "--no-cwd"
  10700. msgstr ""
  10701. #. type: table
  10702. #: guix-git/doc/guix.texi:5953 guix-git/doc/guix.texi:6366
  10703. 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}."
  10704. msgstr ""
  10705. #. type: item
  10706. #: guix-git/doc/guix.texi:5954 guix-git/doc/guix.texi:6367
  10707. #, no-wrap
  10708. msgid "--expose=@var{source}[=@var{target}]"
  10709. msgstr ""
  10710. #. type: itemx
  10711. #: guix-git/doc/guix.texi:5955 guix-git/doc/guix.texi:6368
  10712. #, no-wrap
  10713. msgid "--share=@var{source}[=@var{target}]"
  10714. msgstr ""
  10715. #. type: table
  10716. #: guix-git/doc/guix.texi:5961 guix-git/doc/guix.texi:6374
  10717. 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."
  10718. msgstr ""
  10719. #. type: table
  10720. #: guix-git/doc/guix.texi:5965 guix-git/doc/guix.texi:6378
  10721. 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:"
  10722. msgstr ""
  10723. #. type: example
  10724. #: guix-git/doc/guix.texi:5968
  10725. #, no-wrap
  10726. msgid "guix shell --container --expose=$HOME=/exchange guile -- guile\n"
  10727. msgstr ""
  10728. #. type: item
  10729. #: guix-git/doc/guix.texi:5970
  10730. #, no-wrap
  10731. msgid "--rebuild-cache"
  10732. msgstr ""
  10733. #. type: cindex
  10734. #: guix-git/doc/guix.texi:5971
  10735. #, no-wrap
  10736. msgid "caching, of profiles"
  10737. msgstr ""
  10738. #. type: cindex
  10739. #: guix-git/doc/guix.texi:5972
  10740. #, no-wrap
  10741. msgid "caching, in @command{guix shell}"
  10742. msgstr ""
  10743. #. type: table
  10744. #: guix-git/doc/guix.texi:5978
  10745. msgid "In most cases, @command{guix shell} caches the environment so that subsequent uses are instantaneous. Least-recently used cache entries are periodically removed. The cache is also invalidated, when using @option{--file} or @option{--manifest}, anytime the corresponding file is modified."
  10746. msgstr ""
  10747. #. type: table
  10748. #: guix-git/doc/guix.texi:5984
  10749. msgid "The @option{--rebuild-cache} forces the cached environment to be refreshed. This is useful when using @option{--file} or @option{--manifest} and the @command{guix.scm} or @command{manifest.scm} file has external dependencies, or if its behavior depends, say, on environment variables."
  10750. msgstr ""
  10751. #. type: item
  10752. #: guix-git/doc/guix.texi:5985 guix-git/doc/guix.texi:6169
  10753. #: guix-git/doc/guix.texi:6740 guix-git/doc/guix.texi:11993
  10754. #: guix-git/doc/guix.texi:35866
  10755. #, no-wrap
  10756. msgid "--root=@var{file}"
  10757. msgstr ""
  10758. #. type: itemx
  10759. #: guix-git/doc/guix.texi:5986 guix-git/doc/guix.texi:6170
  10760. #: guix-git/doc/guix.texi:6741 guix-git/doc/guix.texi:11994
  10761. #: guix-git/doc/guix.texi:35867
  10762. #, no-wrap
  10763. msgid "-r @var{file}"
  10764. msgstr ""
  10765. #. type: cindex
  10766. #: guix-git/doc/guix.texi:5987 guix-git/doc/guix.texi:6171
  10767. #, no-wrap
  10768. msgid "persistent environment"
  10769. msgstr ""
  10770. #. type: cindex
  10771. #: guix-git/doc/guix.texi:5988 guix-git/doc/guix.texi:6172
  10772. #, no-wrap
  10773. msgid "garbage collector root, for environments"
  10774. msgstr ""
  10775. #. type: table
  10776. #: guix-git/doc/guix.texi:5991 guix-git/doc/guix.texi:6175
  10777. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10778. msgstr ""
  10779. #. type: table
  10780. #: guix-git/doc/guix.texi:5994 guix-git/doc/guix.texi:6178
  10781. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10782. msgstr ""
  10783. #. type: table
  10784. #: guix-git/doc/guix.texi:6000
  10785. msgid "When this option is omitted, @command{guix shell} caches profiles so that subsequent uses of the same environment are instantaneous---this is comparable to using @option{--root} except that @command{guix shell} takes care of periodically removing the least-recently used garbage collector roots."
  10786. msgstr ""
  10787. #. type: table
  10788. #: guix-git/doc/guix.texi:6007
  10789. msgid "In some cases, @command{guix shell} does not cache profiles---e.g., if transformation options such as @option{--with-latest} are used. In those cases, the environment is protected from garbage collection only for the duration of the @command{guix shell} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages."
  10790. msgstr ""
  10791. #. type: table
  10792. #: guix-git/doc/guix.texi:6009
  10793. msgid "@xref{Invoking guix gc}, for more on GC roots."
  10794. msgstr ""
  10795. #. type: Plain text
  10796. #: guix-git/doc/guix.texi:6014
  10797. msgid "@command{guix shell} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  10798. msgstr ""
  10799. #. type: section
  10800. #: guix-git/doc/guix.texi:6016
  10801. #, no-wrap
  10802. msgid "Invoking @command{guix environment}"
  10803. msgstr ""
  10804. #. type: Plain text
  10805. #: guix-git/doc/guix.texi:6020
  10806. msgid "The purpose of @command{guix environment} is to assist in creating development environments."
  10807. msgstr ""
  10808. #. type: quotation
  10809. #: guix-git/doc/guix.texi:6021
  10810. #, no-wrap
  10811. msgid "Deprecation warning"
  10812. msgstr ""
  10813. #. type: quotation
  10814. #: guix-git/doc/guix.texi:6025
  10815. msgid "The @command{guix environment} command is deprecated in favor of @command{guix shell}, which performs similar functions but is more convenient to use. @xref{Invoking guix shell}."
  10816. msgstr ""
  10817. #. type: quotation
  10818. #: guix-git/doc/guix.texi:6030
  10819. msgid "Being deprecated, @command{guix environment} is slated for eventual removal, but the Guix project is committed to keeping it until May 1st, 2023. Please get in touch with us at @email{guix-devel@@gnu.org} if you would like to discuss it."
  10820. msgstr ""
  10821. #. type: example
  10822. #: guix-git/doc/guix.texi:6036
  10823. #, no-wrap
  10824. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10825. msgstr ""
  10826. #. type: Plain text
  10827. #: guix-git/doc/guix.texi:6040
  10828. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10829. msgstr ""
  10830. #. type: example
  10831. #: guix-git/doc/guix.texi:6043
  10832. #, no-wrap
  10833. msgid "guix environment guile\n"
  10834. msgstr ""
  10835. #. type: Plain text
  10836. #: guix-git/doc/guix.texi:6060
  10837. 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.}."
  10838. msgstr ""
  10839. #. type: Plain text
  10840. #: guix-git/doc/guix.texi:6066
  10841. 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."
  10842. msgstr ""
  10843. #. type: Plain text
  10844. #: guix-git/doc/guix.texi:6073
  10845. 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}):"
  10846. msgstr ""
  10847. #. type: Plain text
  10848. #: guix-git/doc/guix.texi:6092
  10849. 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:"
  10850. msgstr ""
  10851. #. type: example
  10852. #: guix-git/doc/guix.texi:6095
  10853. #, no-wrap
  10854. msgid "guix environment guile emacs\n"
  10855. msgstr ""
  10856. #. type: Plain text
  10857. #: guix-git/doc/guix.texi:6100
  10858. 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:"
  10859. msgstr ""
  10860. #. type: example
  10861. #: guix-git/doc/guix.texi:6103
  10862. #, no-wrap
  10863. msgid "guix environment guile -- make -j4\n"
  10864. msgstr ""
  10865. #. type: Plain text
  10866. #: guix-git/doc/guix.texi:6109
  10867. msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}3 and NumPy:"
  10868. msgstr ""
  10869. #. type: example
  10870. #: guix-git/doc/guix.texi:6112
  10871. #, no-wrap
  10872. msgid "guix environment --ad-hoc python-numpy python -- python3\n"
  10873. msgstr ""
  10874. #. type: Plain text
  10875. #: guix-git/doc/guix.texi:6123
  10876. 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:"
  10877. msgstr ""
  10878. #. type: example
  10879. #: guix-git/doc/guix.texi:6126
  10880. #, no-wrap
  10881. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10882. msgstr ""
  10883. #. type: Plain text
  10884. #: guix-git/doc/guix.texi:6136
  10885. 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:"
  10886. msgstr ""
  10887. #. type: example
  10888. #: guix-git/doc/guix.texi:6139
  10889. #, no-wrap
  10890. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10891. msgstr ""
  10892. #. type: quotation
  10893. #: guix-git/doc/guix.texi:6143
  10894. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10895. msgstr ""
  10896. #. type: cindex
  10897. #: guix-git/doc/guix.texi:6145
  10898. #, no-wrap
  10899. msgid "certificates"
  10900. msgstr ""
  10901. #. type: Plain text
  10902. #: guix-git/doc/guix.texi:6152
  10903. 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."
  10904. msgstr ""
  10905. #. type: example
  10906. #: guix-git/doc/guix.texi:6159
  10907. #, no-wrap
  10908. msgid ""
  10909. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10910. " --expose=/etc/machine-id \\\n"
  10911. " --expose=/etc/ssl/certs/ \\\n"
  10912. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10913. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10914. msgstr ""
  10915. #. type: table
  10916. #: guix-git/doc/guix.texi:6168
  10917. msgid "Set up the environment and check whether the shell would clobber environment variables. @xref{Invoking guix shell, @option{--check}}, for more info."
  10918. msgstr ""
  10919. #. type: table
  10920. #: guix-git/doc/guix.texi:6184
  10921. 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."
  10922. msgstr ""
  10923. #. type: example
  10924. #: guix-git/doc/guix.texi:6194
  10925. #, no-wrap
  10926. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10927. msgstr ""
  10928. #. type: example
  10929. #: guix-git/doc/guix.texi:6203
  10930. #, no-wrap
  10931. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10932. msgstr ""
  10933. #. type: example
  10934. #: guix-git/doc/guix.texi:6212
  10935. #, no-wrap
  10936. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10937. msgstr ""
  10938. #. type: item
  10939. #: guix-git/doc/guix.texi:6214
  10940. #, no-wrap
  10941. msgid "--load=@var{file}"
  10942. msgstr ""
  10943. #. type: itemx
  10944. #: guix-git/doc/guix.texi:6215
  10945. #, no-wrap
  10946. msgid "-l @var{file}"
  10947. msgstr ""
  10948. #. type: table
  10949. #: guix-git/doc/guix.texi:6218
  10950. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10951. msgstr ""
  10952. #. type: item
  10953. #: guix-git/doc/guix.texi:6236
  10954. #, no-wrap
  10955. msgid "--ad-hoc"
  10956. msgstr ""
  10957. #. type: table
  10958. #: guix-git/doc/guix.texi:6241
  10959. 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."
  10960. msgstr ""
  10961. #. type: table
  10962. #: guix-git/doc/guix.texi:6243
  10963. msgid "For instance, the command:"
  10964. msgstr ""
  10965. #. type: example
  10966. #: guix-git/doc/guix.texi:6246
  10967. #, no-wrap
  10968. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10969. msgstr ""
  10970. #. type: table
  10971. #: guix-git/doc/guix.texi:6250
  10972. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10973. msgstr ""
  10974. #. type: table
  10975. #: guix-git/doc/guix.texi:6255
  10976. 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})."
  10977. msgstr ""
  10978. #. type: table
  10979. #: guix-git/doc/guix.texi:6261
  10980. 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."
  10981. msgstr ""
  10982. #. type: example
  10983. #: guix-git/doc/guix.texi:6283
  10984. #, no-wrap
  10985. msgid ""
  10986. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10987. " -- mpirun @dots{}\n"
  10988. msgstr ""
  10989. #. type: table
  10990. #: guix-git/doc/guix.texi:6326
  10991. 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."
  10992. msgstr ""
  10993. #. type: example
  10994. #: guix-git/doc/guix.texi:6353
  10995. #, no-wrap
  10996. msgid ""
  10997. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10998. "cd $HOME/wd\n"
  10999. "guix environment --container --user=foo \\\n"
  11000. " --expose=$HOME/test \\\n"
  11001. " --expose=/tmp/target=$HOME/target\n"
  11002. msgstr ""
  11003. #. type: example
  11004. #: guix-git/doc/guix.texi:6381
  11005. #, no-wrap
  11006. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  11007. msgstr ""
  11008. #. type: Plain text
  11009. #: guix-git/doc/guix.texi:6389
  11010. 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})."
  11011. msgstr ""
  11012. #. type: section
  11013. #: guix-git/doc/guix.texi:6391
  11014. #, no-wrap
  11015. msgid "Invoking @command{guix pack}"
  11016. msgstr ""
  11017. #. type: Plain text
  11018. #: guix-git/doc/guix.texi:6397
  11019. 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."
  11020. msgstr ""
  11021. #. type: quotation
  11022. #: guix-git/doc/guix.texi:6402
  11023. 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}."
  11024. msgstr ""
  11025. #. type: cindex
  11026. #: guix-git/doc/guix.texi:6404
  11027. #, no-wrap
  11028. msgid "pack"
  11029. msgstr ""
  11030. #. type: cindex
  11031. #: guix-git/doc/guix.texi:6405
  11032. #, no-wrap
  11033. msgid "bundle"
  11034. msgstr ""
  11035. #. type: cindex
  11036. #: guix-git/doc/guix.texi:6406
  11037. #, no-wrap
  11038. msgid "application bundle"
  11039. msgstr ""
  11040. #. type: cindex
  11041. #: guix-git/doc/guix.texi:6407
  11042. #, no-wrap
  11043. msgid "software bundle"
  11044. msgstr ""
  11045. #. type: Plain text
  11046. #: guix-git/doc/guix.texi:6416
  11047. 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."
  11048. msgstr ""
  11049. #. type: Plain text
  11050. #: guix-git/doc/guix.texi:6419
  11051. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  11052. msgstr ""
  11053. #. type: example
  11054. #: guix-git/doc/guix.texi:6424
  11055. #, no-wrap
  11056. msgid ""
  11057. "$ guix pack guile emacs emacs-geiser\n"
  11058. "@dots{}\n"
  11059. "/gnu/store/@dots{}-pack.tar.gz\n"
  11060. msgstr ""
  11061. #. type: Plain text
  11062. #: guix-git/doc/guix.texi:6432
  11063. 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})."
  11064. msgstr ""
  11065. #. type: Plain text
  11066. #: guix-git/doc/guix.texi:6437
  11067. 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:"
  11068. msgstr ""
  11069. #. type: example
  11070. #: guix-git/doc/guix.texi:6440
  11071. #, no-wrap
  11072. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  11073. msgstr ""
  11074. #. type: Plain text
  11075. #: guix-git/doc/guix.texi:6444
  11076. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  11077. msgstr ""
  11078. #. type: cindex
  11079. #: guix-git/doc/guix.texi:6445
  11080. #, no-wrap
  11081. msgid "relocatable binaries, with @command{guix pack}"
  11082. msgstr ""
  11083. #. type: Plain text
  11084. #: guix-git/doc/guix.texi:6453
  11085. 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}."
  11086. msgstr ""
  11087. #. type: cindex
  11088. #: guix-git/doc/guix.texi:6454
  11089. #, no-wrap
  11090. msgid "Docker, build an image with guix pack"
  11091. msgstr ""
  11092. #. type: Plain text
  11093. #: guix-git/doc/guix.texi:6457
  11094. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  11095. msgstr ""
  11096. #. type: example
  11097. #: guix-git/doc/guix.texi:6460
  11098. #, no-wrap
  11099. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  11100. msgstr ""
  11101. #. type: Plain text
  11102. #: guix-git/doc/guix.texi:6465
  11103. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  11104. msgstr ""
  11105. #. type: example
  11106. #: guix-git/doc/guix.texi:6469
  11107. #, no-wrap
  11108. msgid ""
  11109. "docker load < @var{file}\n"
  11110. "docker run -ti guile-guile-readline /bin/guile\n"
  11111. msgstr ""
  11112. #. type: Plain text
  11113. #: guix-git/doc/guix.texi:6476
  11114. 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."
  11115. msgstr ""
  11116. #. type: cindex
  11117. #: guix-git/doc/guix.texi:6477
  11118. #, no-wrap
  11119. msgid "Singularity, build an image with guix pack"
  11120. msgstr ""
  11121. #. type: cindex
  11122. #: guix-git/doc/guix.texi:6478
  11123. #, no-wrap
  11124. msgid "SquashFS, build an image with guix pack"
  11125. msgstr ""
  11126. #. type: Plain text
  11127. #: guix-git/doc/guix.texi:6481
  11128. msgid "Yet another option is to produce a SquashFS image with the following command:"
  11129. msgstr ""
  11130. #. type: example
  11131. #: guix-git/doc/guix.texi:6484
  11132. #, no-wrap
  11133. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  11134. msgstr ""
  11135. #. type: Plain text
  11136. #: guix-git/doc/guix.texi:6492
  11137. 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}."
  11138. msgstr ""
  11139. #. type: Plain text
  11140. #: guix-git/doc/guix.texi:6494
  11141. msgid "Several command-line options allow you to customize your pack:"
  11142. msgstr ""
  11143. #. type: table
  11144. #: guix-git/doc/guix.texi:6499
  11145. msgid "Produce a pack in the given @var{format}."
  11146. msgstr ""
  11147. #. type: table
  11148. #: guix-git/doc/guix.texi:6501
  11149. msgid "The available formats are:"
  11150. msgstr ""
  11151. #. type: item
  11152. #: guix-git/doc/guix.texi:6503
  11153. #, no-wrap
  11154. msgid "tarball"
  11155. msgstr ""
  11156. #. type: table
  11157. #: guix-git/doc/guix.texi:6506
  11158. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  11159. msgstr ""
  11160. #. type: item
  11161. #: guix-git/doc/guix.texi:6507
  11162. #, no-wrap
  11163. msgid "docker"
  11164. msgstr ""
  11165. #. type: table
  11166. #: guix-git/doc/guix.texi:6513
  11167. 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."
  11168. msgstr ""
  11169. #. type: item
  11170. #: guix-git/doc/guix.texi:6514
  11171. #, no-wrap
  11172. msgid "squashfs"
  11173. msgstr ""
  11174. #. type: table
  11175. #: guix-git/doc/guix.texi:6518
  11176. 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."
  11177. msgstr ""
  11178. #. type: quotation
  11179. #: guix-git/doc/guix.texi:6524
  11180. 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:"
  11181. msgstr ""
  11182. #. type: example
  11183. #: guix-git/doc/guix.texi:6527
  11184. #, no-wrap
  11185. msgid "guix pack -f squashfs bash @dots{}\n"
  11186. msgstr ""
  11187. #. type: quotation
  11188. #: guix-git/doc/guix.texi:6532
  11189. 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."
  11190. msgstr ""
  11191. #. type: item
  11192. #: guix-git/doc/guix.texi:6534
  11193. #, no-wrap
  11194. msgid "deb"
  11195. msgstr ""
  11196. #. type: table
  11197. #: guix-git/doc/guix.texi:6542
  11198. 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."
  11199. msgstr ""
  11200. #. type: example
  11201. #: guix-git/doc/guix.texi:6545
  11202. #, no-wrap
  11203. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  11204. msgstr ""
  11205. #. type: quotation
  11206. #: guix-git/doc/guix.texi:6552
  11207. 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."
  11208. msgstr ""
  11209. #. type: quotation
  11210. #: guix-git/doc/guix.texi:6560
  11211. 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."
  11212. msgstr ""
  11213. #. type: cindex
  11214. #: guix-git/doc/guix.texi:6564
  11215. #, no-wrap
  11216. msgid "relocatable binaries"
  11217. msgstr ""
  11218. #. type: item
  11219. #: guix-git/doc/guix.texi:6565
  11220. #, no-wrap
  11221. msgid "--relocatable"
  11222. msgstr ""
  11223. #. type: table
  11224. #: guix-git/doc/guix.texi:6569
  11225. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  11226. msgstr ""
  11227. #. type: table
  11228. #: guix-git/doc/guix.texi:6577
  11229. 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."
  11230. msgstr ""
  11231. #. type: table
  11232. #: guix-git/doc/guix.texi:6579
  11233. msgid "For example, if you create a pack containing Bash with:"
  11234. msgstr ""
  11235. #. type: example
  11236. #: guix-git/doc/guix.texi:6582
  11237. #, no-wrap
  11238. msgid "guix pack -RR -S /mybin=bin bash\n"
  11239. msgstr ""
  11240. #. type: table
  11241. #: guix-git/doc/guix.texi:6587
  11242. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  11243. msgstr ""
  11244. #. type: example
  11245. #: guix-git/doc/guix.texi:6591
  11246. #, no-wrap
  11247. msgid ""
  11248. "tar xf pack.tar.gz\n"
  11249. "./mybin/sh\n"
  11250. msgstr ""
  11251. #. type: table
  11252. #: guix-git/doc/guix.texi:6599
  11253. 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."
  11254. msgstr ""
  11255. #. type: quotation
  11256. #: guix-git/doc/guix.texi:6605
  11257. 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."
  11258. msgstr ""
  11259. #. type: quotation
  11260. #: guix-git/doc/guix.texi:6611
  11261. 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:"
  11262. msgstr ""
  11263. #. type: item
  11264. #: guix-git/doc/guix.texi:6613 guix-git/doc/guix.texi:17858
  11265. #, no-wrap
  11266. msgid "default"
  11267. msgstr ""
  11268. #. type: table
  11269. #: guix-git/doc/guix.texi:6616
  11270. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  11271. msgstr ""
  11272. #. type: item
  11273. #: guix-git/doc/guix.texi:6617
  11274. #, no-wrap
  11275. msgid "performance"
  11276. msgstr ""
  11277. #. type: table
  11278. #: guix-git/doc/guix.texi:6620
  11279. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  11280. msgstr ""
  11281. #. type: item
  11282. #: guix-git/doc/guix.texi:6621
  11283. #, no-wrap
  11284. msgid "userns"
  11285. msgstr ""
  11286. #. type: table
  11287. #: guix-git/doc/guix.texi:6624
  11288. msgid "Run the program through user namespaces and abort if they are not supported."
  11289. msgstr ""
  11290. #. type: item
  11291. #: guix-git/doc/guix.texi:6625
  11292. #, no-wrap
  11293. msgid "proot"
  11294. msgstr ""
  11295. #. type: table
  11296. #: guix-git/doc/guix.texi:6632
  11297. 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."
  11298. msgstr ""
  11299. #. type: item
  11300. #: guix-git/doc/guix.texi:6633
  11301. #, no-wrap
  11302. msgid "fakechroot"
  11303. msgstr ""
  11304. #. type: table
  11305. #: guix-git/doc/guix.texi:6641
  11306. 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."
  11307. msgstr ""
  11308. #. type: vindex
  11309. #: guix-git/doc/guix.texi:6643
  11310. #, no-wrap
  11311. msgid "GUIX_EXECUTION_ENGINE"
  11312. msgstr ""
  11313. #. type: quotation
  11314. #: guix-git/doc/guix.texi:6647
  11315. 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."
  11316. msgstr ""
  11317. #. type: cindex
  11318. #: guix-git/doc/guix.texi:6649
  11319. #, no-wrap
  11320. msgid "entry point, for Docker images"
  11321. msgstr ""
  11322. #. type: item
  11323. #: guix-git/doc/guix.texi:6650
  11324. #, no-wrap
  11325. msgid "--entry-point=@var{command}"
  11326. msgstr ""
  11327. #. type: table
  11328. #: guix-git/doc/guix.texi:6655
  11329. 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."
  11330. msgstr ""
  11331. #. type: table
  11332. #: guix-git/doc/guix.texi:6659
  11333. 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:"
  11334. msgstr ""
  11335. #. type: example
  11336. #: guix-git/doc/guix.texi:6662
  11337. #, no-wrap
  11338. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  11339. msgstr ""
  11340. #. type: table
  11341. #: guix-git/doc/guix.texi:6666
  11342. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  11343. msgstr ""
  11344. #. type: example
  11345. #: guix-git/doc/guix.texi:6670
  11346. #, no-wrap
  11347. msgid ""
  11348. "docker load -i pack.tar.gz\n"
  11349. "docker run @var{image-id}\n"
  11350. msgstr ""
  11351. #. type: table
  11352. #: guix-git/doc/guix.texi:6675 guix-git/doc/guix.texi:12916
  11353. #: guix-git/doc/guix.texi:13906
  11354. msgid "Consider the package @var{expr} evaluates to."
  11355. msgstr ""
  11356. #. type: table
  11357. #: guix-git/doc/guix.texi:6679
  11358. 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}})."
  11359. msgstr ""
  11360. #. type: table
  11361. #: guix-git/doc/guix.texi:6685
  11362. 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."
  11363. msgstr ""
  11364. #. type: table
  11365. #: guix-git/doc/guix.texi:6693
  11366. 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."
  11367. msgstr ""
  11368. #. type: item
  11369. #: guix-git/doc/guix.texi:6699 guix-git/doc/guix.texi:11957
  11370. #, no-wrap
  11371. msgid "--target=@var{triplet}"
  11372. msgstr ""
  11373. #. type: cindex
  11374. #: guix-git/doc/guix.texi:6700 guix-git/doc/guix.texi:7146
  11375. #: guix-git/doc/guix.texi:11958
  11376. #, no-wrap
  11377. msgid "cross-compilation"
  11378. msgstr ""
  11379. #. type: table
  11380. #: guix-git/doc/guix.texi:6704
  11381. 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})."
  11382. msgstr ""
  11383. #. type: item
  11384. #: guix-git/doc/guix.texi:6705
  11385. #, no-wrap
  11386. msgid "--compression=@var{tool}"
  11387. msgstr ""
  11388. #. type: itemx
  11389. #: guix-git/doc/guix.texi:6706
  11390. #, no-wrap
  11391. msgid "-C @var{tool}"
  11392. msgstr ""
  11393. #. type: table
  11394. #: guix-git/doc/guix.texi:6710
  11395. 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."
  11396. msgstr ""
  11397. #. type: item
  11398. #: guix-git/doc/guix.texi:6711
  11399. #, no-wrap
  11400. msgid "--symlink=@var{spec}"
  11401. msgstr ""
  11402. #. type: itemx
  11403. #: guix-git/doc/guix.texi:6712
  11404. #, no-wrap
  11405. msgid "-S @var{spec}"
  11406. msgstr ""
  11407. #. type: table
  11408. #: guix-git/doc/guix.texi:6715
  11409. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  11410. msgstr ""
  11411. #. type: table
  11412. #: guix-git/doc/guix.texi:6719
  11413. 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."
  11414. msgstr ""
  11415. #. type: table
  11416. #: guix-git/doc/guix.texi:6722
  11417. 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."
  11418. msgstr ""
  11419. #. type: item
  11420. #: guix-git/doc/guix.texi:6723 guix-git/doc/guix.texi:35820
  11421. #, no-wrap
  11422. msgid "--save-provenance"
  11423. msgstr ""
  11424. #. type: table
  11425. #: guix-git/doc/guix.texi:6727
  11426. 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})."
  11427. msgstr ""
  11428. #. type: table
  11429. #: guix-git/doc/guix.texi:6733
  11430. 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."
  11431. msgstr ""
  11432. #. type: table
  11433. #: guix-git/doc/guix.texi:6739
  11434. 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."
  11435. msgstr ""
  11436. #. type: cindex
  11437. #: guix-git/doc/guix.texi:6742
  11438. #, no-wrap
  11439. msgid "garbage collector root, for packs"
  11440. msgstr ""
  11441. #. type: table
  11442. #: guix-git/doc/guix.texi:6745
  11443. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  11444. msgstr ""
  11445. #. type: item
  11446. #: guix-git/doc/guix.texi:6746
  11447. #, no-wrap
  11448. msgid "--localstatedir"
  11449. msgstr ""
  11450. #. type: itemx
  11451. #: guix-git/doc/guix.texi:6747
  11452. #, no-wrap
  11453. msgid "--profile-name=@var{name}"
  11454. msgstr ""
  11455. #. type: table
  11456. #: guix-git/doc/guix.texi:6752
  11457. 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}."
  11458. msgstr ""
  11459. #. type: table
  11460. #: guix-git/doc/guix.texi:6758
  11461. 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."
  11462. msgstr ""
  11463. #. type: table
  11464. #: guix-git/doc/guix.texi:6761
  11465. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11466. msgstr ""
  11467. #. type: item
  11468. #: guix-git/doc/guix.texi:6762 guix-git/doc/guix.texi:35814
  11469. #, no-wrap
  11470. msgid "--derivation"
  11471. msgstr ""
  11472. #. type: itemx
  11473. #: guix-git/doc/guix.texi:6763 guix-git/doc/guix.texi:11989
  11474. #: guix-git/doc/guix.texi:35815
  11475. #, no-wrap
  11476. msgid "-d"
  11477. msgstr ""
  11478. #. type: table
  11479. #: guix-git/doc/guix.texi:6765
  11480. msgid "Print the name of the derivation that builds the pack."
  11481. msgstr ""
  11482. #. type: table
  11483. #: guix-git/doc/guix.texi:6769
  11484. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11485. msgstr ""
  11486. #. type: Plain text
  11487. #: guix-git/doc/guix.texi:6774
  11488. 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})."
  11489. msgstr ""
  11490. #. type: cindex
  11491. #: guix-git/doc/guix.texi:6779
  11492. #, no-wrap
  11493. msgid "GCC"
  11494. msgstr ""
  11495. #. type: cindex
  11496. #: guix-git/doc/guix.texi:6780
  11497. #, no-wrap
  11498. msgid "ld-wrapper"
  11499. msgstr ""
  11500. #. type: cindex
  11501. #: guix-git/doc/guix.texi:6781
  11502. #, no-wrap
  11503. msgid "linker wrapper"
  11504. msgstr ""
  11505. #. type: cindex
  11506. #: guix-git/doc/guix.texi:6782
  11507. #, no-wrap
  11508. msgid "toolchain, for C development"
  11509. msgstr ""
  11510. #. type: cindex
  11511. #: guix-git/doc/guix.texi:6783
  11512. #, no-wrap
  11513. msgid "toolchain, for Fortran development"
  11514. msgstr ""
  11515. #. type: Plain text
  11516. #: guix-git/doc/guix.texi:6790
  11517. 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."
  11518. msgstr ""
  11519. #. type: Plain text
  11520. #: guix-git/doc/guix.texi:6796
  11521. 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}."
  11522. msgstr ""
  11523. #. type: Plain text
  11524. #: guix-git/doc/guix.texi:6800
  11525. 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})."
  11526. msgstr ""
  11527. #. type: section
  11528. #: guix-git/doc/guix.texi:6803
  11529. #, no-wrap
  11530. msgid "Invoking @command{guix git authenticate}"
  11531. msgstr ""
  11532. #. type: Plain text
  11533. #: guix-git/doc/guix.texi:6811
  11534. 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)."
  11535. msgstr ""
  11536. #. type: Plain text
  11537. #: guix-git/doc/guix.texi:6816
  11538. 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."
  11539. msgstr ""
  11540. #. type: example
  11541. #: guix-git/doc/guix.texi:6821
  11542. #, no-wrap
  11543. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11544. msgstr ""
  11545. #. type: Plain text
  11546. #: guix-git/doc/guix.texi:6830
  11547. 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."
  11548. msgstr ""
  11549. #. type: item
  11550. #: guix-git/doc/guix.texi:6832
  11551. #, no-wrap
  11552. msgid "--repository=@var{directory}"
  11553. msgstr ""
  11554. #. type: itemx
  11555. #: guix-git/doc/guix.texi:6833
  11556. #, no-wrap
  11557. msgid "-r @var{directory}"
  11558. msgstr ""
  11559. #. type: table
  11560. #: guix-git/doc/guix.texi:6836
  11561. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11562. msgstr ""
  11563. #. type: item
  11564. #: guix-git/doc/guix.texi:6837
  11565. #, no-wrap
  11566. msgid "--keyring=@var{reference}"
  11567. msgstr ""
  11568. #. type: itemx
  11569. #: guix-git/doc/guix.texi:6838
  11570. #, no-wrap
  11571. msgid "-k @var{reference}"
  11572. msgstr ""
  11573. #. type: table
  11574. #: guix-git/doc/guix.texi:6844
  11575. 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}."
  11576. msgstr ""
  11577. #. type: item
  11578. #: guix-git/doc/guix.texi:6845
  11579. #, no-wrap
  11580. msgid "--stats"
  11581. msgstr ""
  11582. #. type: table
  11583. #: guix-git/doc/guix.texi:6847
  11584. msgid "Display commit signing statistics upon completion."
  11585. msgstr ""
  11586. #. type: item
  11587. #: guix-git/doc/guix.texi:6848
  11588. #, no-wrap
  11589. msgid "--cache-key=@var{key}"
  11590. msgstr ""
  11591. #. type: table
  11592. #: guix-git/doc/guix.texi:6852
  11593. 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."
  11594. msgstr ""
  11595. #. type: item
  11596. #: guix-git/doc/guix.texi:6853
  11597. #, no-wrap
  11598. msgid "--historical-authorizations=@var{file}"
  11599. msgstr ""
  11600. #. type: table
  11601. #: guix-git/doc/guix.texi:6860
  11602. 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})."
  11603. msgstr ""
  11604. #. type: Plain text
  11605. #: guix-git/doc/guix.texi:6873
  11606. 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."
  11607. msgstr ""
  11608. #. type: Plain text
  11609. #: guix-git/doc/guix.texi:6879
  11610. 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."
  11611. msgstr ""
  11612. #. type: Plain text
  11613. #: guix-git/doc/guix.texi:6888
  11614. 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."
  11615. msgstr ""
  11616. #. type: Plain text
  11617. #: guix-git/doc/guix.texi:6891
  11618. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11619. msgstr ""
  11620. #. type: menuentry
  11621. #: guix-git/doc/guix.texi:6905
  11622. msgid "Programming Guix in Guile"
  11623. msgstr ""
  11624. #. type: Plain text
  11625. #: guix-git/doc/guix.texi:6921
  11626. 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})."
  11627. msgstr ""
  11628. #. type: Plain text
  11629. #: guix-git/doc/guix.texi:6928
  11630. 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."
  11631. msgstr ""
  11632. #. type: cindex
  11633. #: guix-git/doc/guix.texi:6930
  11634. #, no-wrap
  11635. msgid "package module search path"
  11636. msgstr ""
  11637. #. type: Plain text
  11638. #: guix-git/doc/guix.texi:6939
  11639. 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:"
  11640. msgstr ""
  11641. #. type: enumerate
  11642. #: guix-git/doc/guix.texi:6946
  11643. 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."
  11644. msgstr ""
  11645. #. type: enumerate
  11646. #: guix-git/doc/guix.texi:6952
  11647. 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."
  11648. msgstr ""
  11649. #. type: Plain text
  11650. #: guix-git/doc/guix.texi:6955
  11651. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11652. msgstr ""
  11653. #. type: defvr
  11654. #: guix-git/doc/guix.texi:6956
  11655. #, no-wrap
  11656. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11657. msgstr ""
  11658. #. type: defvr
  11659. #: guix-git/doc/guix.texi:6960
  11660. 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."
  11661. msgstr ""
  11662. #. type: Plain text
  11663. #: guix-git/doc/guix.texi:6968
  11664. 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}."
  11665. msgstr ""
  11666. #. type: Plain text
  11667. #: guix-git/doc/guix.texi:6976
  11668. 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:"
  11669. msgstr ""
  11670. #. type: lisp
  11671. #: guix-git/doc/guix.texi:6984
  11672. #, no-wrap
  11673. msgid ""
  11674. "(define-module (gnu packages hello)\n"
  11675. " #:use-module (guix packages)\n"
  11676. " #:use-module (guix download)\n"
  11677. " #:use-module (guix build-system gnu)\n"
  11678. " #:use-module (guix licenses)\n"
  11679. " #:use-module (gnu packages gawk))\n"
  11680. "\n"
  11681. msgstr ""
  11682. #. type: lisp
  11683. #: guix-git/doc/guix.texi:7003
  11684. #, no-wrap
  11685. msgid ""
  11686. "(define-public hello\n"
  11687. " (package\n"
  11688. " (name \"hello\")\n"
  11689. " (version \"2.10\")\n"
  11690. " (source (origin\n"
  11691. " (method url-fetch)\n"
  11692. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11693. " \".tar.gz\"))\n"
  11694. " (sha256\n"
  11695. " (base32\n"
  11696. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11697. " (build-system gnu-build-system)\n"
  11698. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11699. " (inputs (list gawk))\n"
  11700. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11701. " (description \"Guess what GNU Hello prints!\")\n"
  11702. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11703. " (license gpl3+)))\n"
  11704. msgstr ""
  11705. #. type: Plain text
  11706. #: guix-git/doc/guix.texi:7013
  11707. 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\"}."
  11708. msgstr ""
  11709. #. type: Plain text
  11710. #: guix-git/doc/guix.texi:7017
  11711. 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})."
  11712. msgstr ""
  11713. #. type: Plain text
  11714. #: guix-git/doc/guix.texi:7023
  11715. 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})."
  11716. msgstr ""
  11717. #. type: Plain text
  11718. #: guix-git/doc/guix.texi:7025
  11719. msgid "There are a few points worth noting in the above package definition:"
  11720. msgstr ""
  11721. #. type: itemize
  11722. #: guix-git/doc/guix.texi:7032
  11723. 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."
  11724. msgstr ""
  11725. #. type: itemize
  11726. #: guix-git/doc/guix.texi:7035
  11727. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11728. msgstr ""
  11729. #. type: itemize
  11730. #: guix-git/doc/guix.texi:7042
  11731. 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})."
  11732. msgstr ""
  11733. #. type: cindex
  11734. #: guix-git/doc/guix.texi:7043
  11735. #, no-wrap
  11736. msgid "patches"
  11737. msgstr ""
  11738. #. type: itemize
  11739. #: guix-git/doc/guix.texi:7047
  11740. 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."
  11741. msgstr ""
  11742. #. type: cindex
  11743. #: guix-git/doc/guix.texi:7049
  11744. #, no-wrap
  11745. msgid "GNU Build System"
  11746. msgstr ""
  11747. #. type: itemize
  11748. #: guix-git/doc/guix.texi:7055
  11749. 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."
  11750. msgstr ""
  11751. #. type: itemize
  11752. #: guix-git/doc/guix.texi:7059
  11753. 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."
  11754. msgstr ""
  11755. #. type: itemize
  11756. #: guix-git/doc/guix.texi:7065
  11757. 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."
  11758. msgstr ""
  11759. #. type: findex
  11760. #: guix-git/doc/guix.texi:7066 guix-git/doc/guix.texi:7069
  11761. #, no-wrap
  11762. msgid "quote"
  11763. msgstr ""
  11764. #. type: cindex
  11765. #: guix-git/doc/guix.texi:7067
  11766. #, no-wrap
  11767. msgid "quoting"
  11768. msgstr ""
  11769. #. type: findex
  11770. #: guix-git/doc/guix.texi:7068
  11771. #, no-wrap
  11772. msgid "'"
  11773. msgstr ""
  11774. #. type: cindex
  11775. #: guix-git/doc/guix.texi:7070
  11776. #, no-wrap
  11777. msgid "backquote (quasiquote)"
  11778. msgstr ""
  11779. #. type: findex
  11780. #: guix-git/doc/guix.texi:7071
  11781. #, no-wrap
  11782. msgid "`"
  11783. msgstr ""
  11784. #. type: findex
  11785. #: guix-git/doc/guix.texi:7072
  11786. #, no-wrap
  11787. msgid "quasiquote"
  11788. msgstr ""
  11789. #. type: cindex
  11790. #: guix-git/doc/guix.texi:7073
  11791. #, no-wrap
  11792. msgid "comma (unquote)"
  11793. msgstr ""
  11794. #. type: findex
  11795. #: guix-git/doc/guix.texi:7074
  11796. #, no-wrap
  11797. msgid ","
  11798. msgstr ""
  11799. #. type: findex
  11800. #: guix-git/doc/guix.texi:7075
  11801. #, no-wrap
  11802. msgid "unquote"
  11803. msgstr ""
  11804. #. type: itemize
  11805. #: guix-git/doc/guix.texi:7085
  11806. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. Sometimes you'll also see @code{`} (a backquote, synonymous with @code{quasiquote}) and @code{,} (a comma, synonymous with @code{unquote}). @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})."
  11807. msgstr ""
  11808. #. type: itemize
  11809. #: guix-git/doc/guix.texi:7091
  11810. 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})."
  11811. msgstr ""
  11812. #. type: itemize
  11813. #: guix-git/doc/guix.texi:7097
  11814. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we add an input, a reference to the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  11815. msgstr ""
  11816. #. type: itemize
  11817. #: guix-git/doc/guix.texi:7101
  11818. 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})."
  11819. msgstr ""
  11820. #. type: itemize
  11821. #: guix-git/doc/guix.texi:7105
  11822. 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."
  11823. msgstr ""
  11824. #. type: Plain text
  11825. #: guix-git/doc/guix.texi:7108
  11826. msgid "@xref{package Reference}, for a full description of possible fields."
  11827. msgstr ""
  11828. #. type: Plain text
  11829. #: guix-git/doc/guix.texi:7119
  11830. 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."
  11831. msgstr ""
  11832. #. type: vindex
  11833. #: guix-git/doc/guix.texi:7119
  11834. #, no-wrap
  11835. msgid "GUIX_PACKAGE_PATH"
  11836. msgstr ""
  11837. #. type: Plain text
  11838. #: guix-git/doc/guix.texi:7123
  11839. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11840. msgstr ""
  11841. #. type: Plain text
  11842. #: guix-git/doc/guix.texi:7127
  11843. 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})."
  11844. msgstr ""
  11845. #. type: Plain text
  11846. #: guix-git/doc/guix.texi:7133
  11847. 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})."
  11848. msgstr ""
  11849. #. type: deffn
  11850. #: guix-git/doc/guix.texi:7134
  11851. #, no-wrap
  11852. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11853. msgstr ""
  11854. #. type: deffn
  11855. #: guix-git/doc/guix.texi:7137
  11856. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11857. msgstr ""
  11858. #. type: deffn
  11859. #: guix-git/doc/guix.texi:7143
  11860. 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})."
  11861. msgstr ""
  11862. #. type: Plain text
  11863. #: guix-git/doc/guix.texi:7149
  11864. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11865. msgstr ""
  11866. #. type: deffn
  11867. #: guix-git/doc/guix.texi:7150
  11868. #, no-wrap
  11869. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11870. msgstr ""
  11871. #. type: deffn
  11872. #: guix-git/doc/guix.texi:7154
  11873. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11874. msgstr ""
  11875. #. type: deffn
  11876. #: guix-git/doc/guix.texi:7158
  11877. 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})."
  11878. msgstr ""
  11879. #. type: Plain text
  11880. #: guix-git/doc/guix.texi:7162
  11881. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11882. msgstr ""
  11883. #. type: subsection
  11884. #: guix-git/doc/guix.texi:7170
  11885. #, no-wrap
  11886. msgid "@code{package} Reference"
  11887. msgstr ""
  11888. #. type: Plain text
  11889. #: guix-git/doc/guix.texi:7174
  11890. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11891. msgstr ""
  11892. #. type: deftp
  11893. #: guix-git/doc/guix.texi:7175
  11894. #, no-wrap
  11895. msgid "{Data Type} package"
  11896. msgstr ""
  11897. #. type: deftp
  11898. #: guix-git/doc/guix.texi:7177
  11899. msgid "This is the data type representing a package recipe."
  11900. msgstr ""
  11901. #. type: table
  11902. #: guix-git/doc/guix.texi:7181
  11903. msgid "The name of the package, as a string."
  11904. msgstr ""
  11905. #. type: code{#1}
  11906. #: guix-git/doc/guix.texi:7182
  11907. #, no-wrap
  11908. msgid "version"
  11909. msgstr ""
  11910. #. type: table
  11911. #: guix-git/doc/guix.texi:7185
  11912. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11913. msgstr ""
  11914. #. type: code{#1}
  11915. #: guix-git/doc/guix.texi:7186 guix-git/doc/guix.texi:13361
  11916. #: guix-git/doc/guix.texi:15642 guix-git/doc/guix.texi:16268
  11917. #, no-wrap
  11918. msgid "source"
  11919. msgstr "منبع"
  11920. #. type: table
  11921. #: guix-git/doc/guix.texi:7193
  11922. 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}})."
  11923. msgstr ""
  11924. #. type: code{#1}
  11925. #: guix-git/doc/guix.texi:7194
  11926. #, no-wrap
  11927. msgid "build-system"
  11928. msgstr ""
  11929. #. type: table
  11930. #: guix-git/doc/guix.texi:7197
  11931. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11932. msgstr ""
  11933. #. type: item
  11934. #: guix-git/doc/guix.texi:7198 guix-git/doc/guix.texi:18440
  11935. #, no-wrap
  11936. msgid "@code{arguments} (default: @code{'()})"
  11937. msgstr ""
  11938. #. type: table
  11939. #: guix-git/doc/guix.texi:7201
  11940. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11941. msgstr ""
  11942. #. type: item
  11943. #: guix-git/doc/guix.texi:7202
  11944. #, no-wrap
  11945. msgid "@code{inputs} (default: @code{'()})"
  11946. msgstr ""
  11947. #. type: itemx
  11948. #: guix-git/doc/guix.texi:7203
  11949. #, no-wrap
  11950. msgid "@code{native-inputs} (default: @code{'()})"
  11951. msgstr ""
  11952. #. type: itemx
  11953. #: guix-git/doc/guix.texi:7204
  11954. #, no-wrap
  11955. msgid "@code{propagated-inputs} (default: @code{'()})"
  11956. msgstr ""
  11957. #. type: cindex
  11958. #: guix-git/doc/guix.texi:7205
  11959. #, no-wrap
  11960. msgid "inputs, of packages"
  11961. msgstr ""
  11962. #. type: table
  11963. #: guix-git/doc/guix.texi:7212
  11964. msgid "These fields list dependencies of the package. Each element of these lists is either a package, origin, or other ``file-like object'' (@pxref{G-Expressions}); to specify the output of that file-like object that should be used, pass a two-element list where the second element is the output (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  11965. msgstr ""
  11966. #. type: lisp
  11967. #: guix-git/doc/guix.texi:7216
  11968. #, no-wrap
  11969. msgid ""
  11970. "(list libffi libunistring\n"
  11971. " `(,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11972. msgstr ""
  11973. #. type: table
  11974. #: guix-git/doc/guix.texi:7220
  11975. msgid "In the example above, the @code{\"out\"} output of @code{libffi} and @code{libunistring} is used."
  11976. msgstr ""
  11977. #. type: quotation
  11978. #: guix-git/doc/guix.texi:7221
  11979. #, no-wrap
  11980. msgid "Compatibility Note"
  11981. msgstr ""
  11982. #. type: quotation
  11983. #: guix-git/doc/guix.texi:7228
  11984. msgid "Until version 1.3.0, input lists were a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"}. For example, the list below is equivalent to the one above, but using the @dfn{old input style}:"
  11985. msgstr ""
  11986. #. type: lisp
  11987. #: guix-git/doc/guix.texi:7234
  11988. #, no-wrap
  11989. msgid ""
  11990. ";; Old input style (deprecated).\n"
  11991. "`((\"libffi\" ,libffi)\n"
  11992. " (\"libunistring\" ,libunistring)\n"
  11993. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11994. msgstr ""
  11995. #. type: quotation
  11996. #: guix-git/doc/guix.texi:7240
  11997. msgid "This style is now deprecated; it is still supported but support will be removed in a future version. It should not be used for new package definitions. @xref{Invoking guix style}, on how to migrate to the new style."
  11998. msgstr ""
  11999. #. type: cindex
  12000. #: guix-git/doc/guix.texi:7242
  12001. #, no-wrap
  12002. msgid "cross compilation, package dependencies"
  12003. msgstr ""
  12004. #. type: table
  12005. #: guix-git/doc/guix.texi:7248
  12006. 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."
  12007. msgstr ""
  12008. #. type: table
  12009. #: guix-git/doc/guix.texi:7253
  12010. 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})."
  12011. msgstr ""
  12012. #. type: anchor{#1}
  12013. #: guix-git/doc/guix.texi:7261
  12014. msgid "package-propagated-inputs"
  12015. msgstr ""
  12016. #. type: table
  12017. #: guix-git/doc/guix.texi:7261
  12018. 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)."
  12019. msgstr ""
  12020. #. type: table
  12021. #: guix-git/doc/guix.texi:7265
  12022. 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."
  12023. msgstr ""
  12024. #. type: table
  12025. #: guix-git/doc/guix.texi:7272
  12026. 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}."
  12027. msgstr ""
  12028. #. type: item
  12029. #: guix-git/doc/guix.texi:7273
  12030. #, no-wrap
  12031. msgid "@code{outputs} (default: @code{'(\"out\")})"
  12032. msgstr ""
  12033. #. type: table
  12034. #: guix-git/doc/guix.texi:7276
  12035. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  12036. msgstr ""
  12037. #. type: item
  12038. #: guix-git/doc/guix.texi:7277
  12039. #, no-wrap
  12040. msgid "@code{native-search-paths} (default: @code{'()})"
  12041. msgstr ""
  12042. #. type: itemx
  12043. #: guix-git/doc/guix.texi:7278
  12044. #, no-wrap
  12045. msgid "@code{search-paths} (default: @code{'()})"
  12046. msgstr ""
  12047. #. type: table
  12048. #: guix-git/doc/guix.texi:7282
  12049. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package. @xref{Search Paths}, for more on search path specifications."
  12050. msgstr ""
  12051. #. type: table
  12052. #: guix-git/doc/guix.texi:7288
  12053. msgid "As for inputs, the distinction between @code{native-search-paths} and @code{search-paths} only matters when cross-compiling. In a cross-compilation context, @code{native-search-paths} applies exclusively to native inputs whereas @code{search-paths} applies only to host inputs."
  12054. msgstr ""
  12055. #. type: table
  12056. #: guix-git/doc/guix.texi:7295
  12057. msgid "Packages such as cross-compilers care about target inputs---for instance, our (modified) GCC cross-compiler has @env{CROSS_C_INCLUDE_PATH} in @code{search-paths}, which allows it to pick @file{.h} files for the target system and @emph{not} those of native inputs. For the majority of packages though, only @code{native-search-paths} makes sense."
  12058. msgstr ""
  12059. #. type: item
  12060. #: guix-git/doc/guix.texi:7296
  12061. #, no-wrap
  12062. msgid "@code{replacement} (default: @code{#f})"
  12063. msgstr ""
  12064. #. type: table
  12065. #: guix-git/doc/guix.texi:7300
  12066. 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."
  12067. msgstr ""
  12068. #. type: item
  12069. #: guix-git/doc/guix.texi:7301 guix-git/doc/guix.texi:13353
  12070. #, no-wrap
  12071. msgid "synopsis"
  12072. msgstr ""
  12073. #. type: table
  12074. #: guix-git/doc/guix.texi:7303
  12075. msgid "A one-line description of the package."
  12076. msgstr ""
  12077. #. type: code{#1}
  12078. #: guix-git/doc/guix.texi:7304 guix-git/doc/guix.texi:13354
  12079. #: guix-git/doc/guix.texi:36563 guix-git/doc/guix.texi:36723
  12080. #, no-wrap
  12081. msgid "description"
  12082. msgstr ""
  12083. #. type: table
  12084. #: guix-git/doc/guix.texi:7306
  12085. msgid "A more elaborate description of the package."
  12086. msgstr ""
  12087. #. type: code{#1}
  12088. #: guix-git/doc/guix.texi:7307
  12089. #, no-wrap
  12090. msgid "license"
  12091. msgstr ""
  12092. #. type: cindex
  12093. #: guix-git/doc/guix.texi:7308
  12094. #, no-wrap
  12095. msgid "license, of packages"
  12096. msgstr ""
  12097. #. type: table
  12098. #: guix-git/doc/guix.texi:7311
  12099. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  12100. msgstr ""
  12101. #. type: itemx
  12102. #: guix-git/doc/guix.texi:7312 guix-git/doc/guix.texi:13362
  12103. #, no-wrap
  12104. msgid "home-page"
  12105. msgstr ""
  12106. #. type: table
  12107. #: guix-git/doc/guix.texi:7314
  12108. msgid "The URL to the home-page of the package, as a string."
  12109. msgstr ""
  12110. #. type: item
  12111. #: guix-git/doc/guix.texi:7315
  12112. #, no-wrap
  12113. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  12114. msgstr ""
  12115. #. type: table
  12116. #: guix-git/doc/guix.texi:7318
  12117. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  12118. msgstr ""
  12119. #. type: item
  12120. #: guix-git/doc/guix.texi:7319
  12121. #, no-wrap
  12122. msgid "@code{location} (default: source location of the @code{package} form)"
  12123. msgstr ""
  12124. #. type: table
  12125. #: guix-git/doc/guix.texi:7323
  12126. 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."
  12127. msgstr ""
  12128. #. type: deffn
  12129. #: guix-git/doc/guix.texi:7326
  12130. #, no-wrap
  12131. msgid "{Scheme Syntax} this-package"
  12132. msgstr ""
  12133. #. type: deffn
  12134. #: guix-git/doc/guix.texi:7329
  12135. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  12136. msgstr ""
  12137. #. type: deffn
  12138. #: guix-git/doc/guix.texi:7332
  12139. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  12140. msgstr ""
  12141. #. type: lisp
  12142. #: guix-git/doc/guix.texi:7337
  12143. #, no-wrap
  12144. msgid ""
  12145. "(package\n"
  12146. " (name \"guile\")\n"
  12147. " ;; ...\n"
  12148. "\n"
  12149. msgstr ""
  12150. #. type: lisp
  12151. #: guix-git/doc/guix.texi:7343
  12152. #, no-wrap
  12153. msgid ""
  12154. " ;; When cross-compiled, Guile, for example, depends on\n"
  12155. " ;; a native version of itself. Add it here.\n"
  12156. " (native-inputs (if (%current-target-system)\n"
  12157. " (list this-package)\n"
  12158. " '())))\n"
  12159. msgstr ""
  12160. #. type: deffn
  12161. #: guix-git/doc/guix.texi:7346
  12162. msgid "It is an error to refer to @code{this-package} outside a package definition."
  12163. msgstr ""
  12164. #. type: Plain text
  12165. #: guix-git/doc/guix.texi:7350
  12166. msgid "The following helper procedures are provided to help deal with package inputs."
  12167. msgstr ""
  12168. #. type: deffn
  12169. #: guix-git/doc/guix.texi:7351
  12170. #, no-wrap
  12171. msgid "{Scheme Procedure} lookup-package-input @var{package} @var{name}"
  12172. msgstr ""
  12173. #. type: deffnx
  12174. #: guix-git/doc/guix.texi:7352
  12175. #, no-wrap
  12176. msgid "{Scheme Procedure} lookup-package-native-input @var{package} @var{name}"
  12177. msgstr ""
  12178. #. type: deffnx
  12179. #: guix-git/doc/guix.texi:7353
  12180. #, no-wrap
  12181. msgid "{Scheme Procedure} lookup-package-propagated-input @var{package} @var{name}"
  12182. msgstr ""
  12183. #. type: deffnx
  12184. #: guix-git/doc/guix.texi:7354
  12185. #, no-wrap
  12186. msgid "{Scheme Procedure} lookup-package-direct-input @var{package} @var{name}"
  12187. msgstr ""
  12188. #. type: deffn
  12189. #: guix-git/doc/guix.texi:7357
  12190. msgid "Look up @var{name} among @var{package}'s inputs (or native, propagated, or direct inputs). Return it if found, @code{#f} otherwise."
  12191. msgstr ""
  12192. #. type: deffn
  12193. #: guix-git/doc/guix.texi:7360
  12194. msgid "@var{name} is the name of a package depended on. Here's how you might use it:"
  12195. msgstr ""
  12196. #. type: lisp
  12197. #: guix-git/doc/guix.texi:7363
  12198. #, no-wrap
  12199. msgid ""
  12200. "(use-modules (guix packages) (gnu packages base))\n"
  12201. "\n"
  12202. msgstr ""
  12203. #. type: lisp
  12204. #: guix-git/doc/guix.texi:7366
  12205. #, no-wrap
  12206. msgid ""
  12207. "(lookup-package-direct-input coreutils \"gmp\")\n"
  12208. "@result{} #<package gmp@@6.2.1 @dots{}>\n"
  12209. msgstr ""
  12210. #. type: deffn
  12211. #: guix-git/doc/guix.texi:7370
  12212. msgid "In this example we obtain the @code{gmp} package that is among the direct inputs of @code{coreutils}."
  12213. msgstr ""
  12214. #. type: cindex
  12215. #: guix-git/doc/guix.texi:7372
  12216. #, no-wrap
  12217. msgid "development inputs, of a package"
  12218. msgstr ""
  12219. #. type: cindex
  12220. #: guix-git/doc/guix.texi:7373
  12221. #, no-wrap
  12222. msgid "implicit inputs, of a package"
  12223. msgstr ""
  12224. #. type: Plain text
  12225. #: guix-git/doc/guix.texi:7378
  12226. msgid "Sometimes you will want to obtain the list of inputs needed to @emph{develop} a package---all the inputs that are visible when the package is compiled. This is what the @code{package-development-inputs} procedure returns."
  12227. msgstr ""
  12228. #. type: deffn
  12229. #: guix-git/doc/guix.texi:7379
  12230. #, no-wrap
  12231. msgid "{Scheme Procedure} package-development-inputs @var{package} @"
  12232. msgstr ""
  12233. #. type: deffn
  12234. #: guix-git/doc/guix.texi:7386
  12235. msgid "[@var{system}] [#:target #f] Return the list of inputs required by @var{package} for development purposes on @var{system}. When @var{target} is true, return the inputs needed to cross-compile @var{package} from @var{system} to @var{triplet}, where @var{triplet} is a triplet such as @code{\"aarch64-linux-gnu\"}."
  12236. msgstr ""
  12237. #. type: deffn
  12238. #: guix-git/doc/guix.texi:7390
  12239. msgid "Note that the result includes both explicit inputs and implicit inputs---inputs automatically added by the build system (@pxref{Build Systems}). Let us take the @code{hello} package to illustrate that:"
  12240. msgstr ""
  12241. #. type: lisp
  12242. #: guix-git/doc/guix.texi:7393
  12243. #, no-wrap
  12244. msgid ""
  12245. "(use-modules (gnu packages base) (guix packages))\n"
  12246. "\n"
  12247. msgstr ""
  12248. #. type: lisp
  12249. #: guix-git/doc/guix.texi:7396
  12250. #, no-wrap
  12251. msgid ""
  12252. "hello\n"
  12253. "@result{} #<package hello@@2.10 gnu/packages/base.scm:79 7f585d4f6790>\n"
  12254. "\n"
  12255. msgstr ""
  12256. #. type: lisp
  12257. #: guix-git/doc/guix.texi:7399
  12258. #, no-wrap
  12259. msgid ""
  12260. "(package-direct-inputs hello)\n"
  12261. "@result{} ()\n"
  12262. "\n"
  12263. msgstr ""
  12264. #. type: lisp
  12265. #: guix-git/doc/guix.texi:7402
  12266. #, no-wrap
  12267. msgid ""
  12268. "(package-development-inputs hello)\n"
  12269. "@result{} ((\"source\" @dots{}) (\"tar\" #<package tar@@1.32 @dots{}>) @dots{})\n"
  12270. msgstr ""
  12271. #. type: deffn
  12272. #: guix-git/doc/guix.texi:7411
  12273. msgid "In this example, @code{package-direct-inputs} returns the empty list, because @code{hello} has zero explicit dependencies. Conversely, @code{package-development-inputs} includes inputs implicitly added by @code{gnu-build-system} that are required to build @code{hello}: tar, gzip, GCC, libc, Bash, and more. To visualize it, @command{guix graph hello} would show you explicit inputs, whereas @command{guix graph -t bag hello} would include implicit inputs (@pxref{Invoking guix graph})."
  12274. msgstr ""
  12275. #. type: Plain text
  12276. #: guix-git/doc/guix.texi:7417
  12277. 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."
  12278. msgstr ""
  12279. #. type: cindex
  12280. #: guix-git/doc/guix.texi:7418
  12281. #, no-wrap
  12282. msgid "tool chain, choosing a package's tool chain"
  12283. msgstr ""
  12284. #. type: deffn
  12285. #: guix-git/doc/guix.texi:7419
  12286. #, no-wrap
  12287. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  12288. msgstr ""
  12289. #. type: deffn
  12290. #: guix-git/doc/guix.texi:7424
  12291. 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."
  12292. msgstr ""
  12293. #. type: deffn
  12294. #: guix-git/doc/guix.texi:7428
  12295. 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:"
  12296. msgstr ""
  12297. #. type: lisp
  12298. #: guix-git/doc/guix.texi:7432
  12299. #, no-wrap
  12300. msgid ""
  12301. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  12302. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  12303. msgstr ""
  12304. #. type: deffn
  12305. #: guix-git/doc/guix.texi:7440
  12306. 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."
  12307. msgstr ""
  12308. #. type: subsection
  12309. #: guix-git/doc/guix.texi:7443
  12310. #, no-wrap
  12311. msgid "@code{origin} Reference"
  12312. msgstr ""
  12313. #. type: Plain text
  12314. #: guix-git/doc/guix.texi:7451
  12315. 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."
  12316. msgstr ""
  12317. #. type: deftp
  12318. #: guix-git/doc/guix.texi:7452
  12319. #, no-wrap
  12320. msgid "{Data Type} origin"
  12321. msgstr ""
  12322. #. type: deftp
  12323. #: guix-git/doc/guix.texi:7454
  12324. msgid "This is the data type representing a source code origin."
  12325. msgstr ""
  12326. #. type: code{#1}
  12327. #: guix-git/doc/guix.texi:7456 guix-git/doc/guix.texi:26983
  12328. #, no-wrap
  12329. msgid "uri"
  12330. msgstr ""
  12331. #. type: table
  12332. #: guix-git/doc/guix.texi:7461
  12333. 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."
  12334. msgstr ""
  12335. #. type: cindex
  12336. #: guix-git/doc/guix.texi:7462
  12337. #, no-wrap
  12338. msgid "fixed-output derivations, for download"
  12339. msgstr ""
  12340. #. type: code{#1}
  12341. #: guix-git/doc/guix.texi:7463
  12342. #, no-wrap
  12343. msgid "method"
  12344. msgstr ""
  12345. #. type: table
  12346. #: guix-git/doc/guix.texi:7470
  12347. 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})."
  12348. msgstr ""
  12349. #. type: table
  12350. #: guix-git/doc/guix.texi:7474
  12351. 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)."
  12352. msgstr ""
  12353. #. type: code{#1}
  12354. #: guix-git/doc/guix.texi:7475
  12355. #, no-wrap
  12356. msgid "sha256"
  12357. msgstr ""
  12358. #. type: table
  12359. #: guix-git/doc/guix.texi:7479
  12360. 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."
  12361. msgstr ""
  12362. #. type: code{#1}
  12363. #: guix-git/doc/guix.texi:7480
  12364. #, no-wrap
  12365. msgid "hash"
  12366. msgstr ""
  12367. #. type: table
  12368. #: guix-git/doc/guix.texi:7483
  12369. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  12370. msgstr ""
  12371. #. type: table
  12372. #: guix-git/doc/guix.texi:7487
  12373. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  12374. msgstr ""
  12375. #. type: item
  12376. #: guix-git/doc/guix.texi:7488
  12377. #, no-wrap
  12378. msgid "@code{file-name} (default: @code{#f})"
  12379. msgstr ""
  12380. #. type: table
  12381. #: guix-git/doc/guix.texi:7494
  12382. 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."
  12383. msgstr ""
  12384. #. type: item
  12385. #: guix-git/doc/guix.texi:7495
  12386. #, no-wrap
  12387. msgid "@code{patches} (default: @code{'()})"
  12388. msgstr ""
  12389. #. type: table
  12390. #: guix-git/doc/guix.texi:7498
  12391. 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."
  12392. msgstr ""
  12393. #. type: table
  12394. #: guix-git/doc/guix.texi:7502
  12395. 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}."
  12396. msgstr ""
  12397. #. type: item
  12398. #: guix-git/doc/guix.texi:7503
  12399. #, no-wrap
  12400. msgid "@code{snippet} (default: @code{#f})"
  12401. msgstr ""
  12402. #. type: table
  12403. #: guix-git/doc/guix.texi:7507
  12404. 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."
  12405. msgstr ""
  12406. #. type: item
  12407. #: guix-git/doc/guix.texi:7508
  12408. #, no-wrap
  12409. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  12410. msgstr ""
  12411. #. type: table
  12412. #: guix-git/doc/guix.texi:7511
  12413. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  12414. msgstr ""
  12415. #. type: item
  12416. #: guix-git/doc/guix.texi:7512
  12417. #, no-wrap
  12418. msgid "@code{patch-inputs} (default: @code{#f})"
  12419. msgstr ""
  12420. #. type: table
  12421. #: guix-git/doc/guix.texi:7516
  12422. 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."
  12423. msgstr ""
  12424. #. type: item
  12425. #: guix-git/doc/guix.texi:7517 guix-git/doc/guix.texi:26855
  12426. #, no-wrap
  12427. msgid "@code{modules} (default: @code{'()})"
  12428. msgstr ""
  12429. #. type: table
  12430. #: guix-git/doc/guix.texi:7520
  12431. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  12432. msgstr ""
  12433. #. type: item
  12434. #: guix-git/doc/guix.texi:7521
  12435. #, no-wrap
  12436. msgid "@code{patch-guile} (default: @code{#f})"
  12437. msgstr ""
  12438. #. type: table
  12439. #: guix-git/doc/guix.texi:7524
  12440. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  12441. msgstr ""
  12442. #. type: deftp
  12443. #: guix-git/doc/guix.texi:7527
  12444. #, no-wrap
  12445. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  12446. msgstr ""
  12447. #. type: deftp
  12448. #: guix-git/doc/guix.texi:7531
  12449. 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}."
  12450. msgstr ""
  12451. #. type: deftp
  12452. #: guix-git/doc/guix.texi:7534
  12453. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  12454. msgstr ""
  12455. #. type: deftp
  12456. #: guix-git/doc/guix.texi:7536
  12457. msgid "The following forms are all equivalent:"
  12458. msgstr ""
  12459. #. type: lisp
  12460. #: guix-git/doc/guix.texi:7545
  12461. #, no-wrap
  12462. msgid ""
  12463. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  12464. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  12465. " sha256)\n"
  12466. "(content-hash (base32\n"
  12467. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  12468. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  12469. " sha256)\n"
  12470. msgstr ""
  12471. #. type: deftp
  12472. #: guix-git/doc/guix.texi:7550
  12473. 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}."
  12474. msgstr ""
  12475. #. type: Plain text
  12476. #: guix-git/doc/guix.texi:7556
  12477. 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."
  12478. msgstr ""
  12479. #. type: deffn
  12480. #: guix-git/doc/guix.texi:7557
  12481. #, no-wrap
  12482. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  12483. msgstr ""
  12484. #. type: deffn
  12485. #: guix-git/doc/guix.texi:7565
  12486. 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."
  12487. msgstr ""
  12488. #. type: deffn
  12489. #: guix-git/doc/guix.texi:7568
  12490. 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}."
  12491. msgstr ""
  12492. #. type: deffn
  12493. #: guix-git/doc/guix.texi:7571
  12494. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  12495. msgstr ""
  12496. #. type: Plain text
  12497. #: guix-git/doc/guix.texi:7577
  12498. 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."
  12499. msgstr ""
  12500. #. type: deffn
  12501. #: guix-git/doc/guix.texi:7578
  12502. #, no-wrap
  12503. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  12504. msgstr ""
  12505. #. type: deffn
  12506. #: guix-git/doc/guix.texi:7583
  12507. 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}."
  12508. msgstr ""
  12509. #. type: deftp
  12510. #: guix-git/doc/guix.texi:7585
  12511. #, no-wrap
  12512. msgid "{Data Type} git-reference"
  12513. msgstr ""
  12514. #. type: deftp
  12515. #: guix-git/doc/guix.texi:7588
  12516. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  12517. msgstr ""
  12518. #. type: code{#1}
  12519. #: guix-git/doc/guix.texi:7590 guix-git/doc/guix.texi:24706
  12520. #, no-wrap
  12521. msgid "url"
  12522. msgstr ""
  12523. #. type: table
  12524. #: guix-git/doc/guix.texi:7592
  12525. msgid "The URL of the Git repository to clone."
  12526. msgstr ""
  12527. #. type: code{#1}
  12528. #: guix-git/doc/guix.texi:7593
  12529. #, no-wrap
  12530. msgid "commit"
  12531. msgstr ""
  12532. #. type: table
  12533. #: guix-git/doc/guix.texi:7598
  12534. msgid "This string denotes either the commit to fetch (a hexadecimal string), or the tag to fetch. You can also use a ``short'' commit ID or a @command{git describe} style identifier such as @code{v1.0.1-10-g58d7909c97}."
  12535. msgstr ""
  12536. #. type: item
  12537. #: guix-git/doc/guix.texi:7599
  12538. #, no-wrap
  12539. msgid "@code{recursive?} (default: @code{#f})"
  12540. msgstr ""
  12541. #. type: table
  12542. #: guix-git/doc/guix.texi:7601
  12543. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  12544. msgstr ""
  12545. #. type: deftp
  12546. #: guix-git/doc/guix.texi:7605
  12547. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  12548. msgstr ""
  12549. #. type: lisp
  12550. #: guix-git/doc/guix.texi:7610
  12551. #, no-wrap
  12552. msgid ""
  12553. "(git-reference\n"
  12554. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12555. " (commit \"v2.10\"))\n"
  12556. msgstr ""
  12557. #. type: deftp
  12558. #: guix-git/doc/guix.texi:7614
  12559. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  12560. msgstr ""
  12561. #. type: lisp
  12562. #: guix-git/doc/guix.texi:7619
  12563. #, no-wrap
  12564. msgid ""
  12565. "(git-reference\n"
  12566. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12567. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  12568. msgstr ""
  12569. #. type: Plain text
  12570. #: guix-git/doc/guix.texi:7625
  12571. 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."
  12572. msgstr ""
  12573. #. type: deffn
  12574. #: guix-git/doc/guix.texi:7626
  12575. #, no-wrap
  12576. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  12577. msgstr ""
  12578. #. type: deffn
  12579. #: guix-git/doc/guix.texi:7632
  12580. 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}."
  12581. msgstr ""
  12582. #. type: cindex
  12583. #: guix-git/doc/guix.texi:7637
  12584. #, no-wrap
  12585. msgid "customizing packages"
  12586. msgstr ""
  12587. #. type: cindex
  12588. #: guix-git/doc/guix.texi:7638
  12589. #, no-wrap
  12590. msgid "variants, of packages"
  12591. msgstr ""
  12592. #. type: Plain text
  12593. #: guix-git/doc/guix.texi:7648
  12594. 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!"
  12595. msgstr ""
  12596. #. type: cindex
  12597. #: guix-git/doc/guix.texi:7649
  12598. #, no-wrap
  12599. msgid "inherit, for package definitions"
  12600. msgstr ""
  12601. #. type: Plain text
  12602. #: guix-git/doc/guix.texi:7656
  12603. 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."
  12604. msgstr ""
  12605. #. type: Plain text
  12606. #: guix-git/doc/guix.texi:7661
  12607. 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!):"
  12608. msgstr ""
  12609. #. type: lisp
  12610. #: guix-git/doc/guix.texi:7664
  12611. #, no-wrap
  12612. msgid ""
  12613. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12614. "\n"
  12615. msgstr ""
  12616. #. type: lisp
  12617. #: guix-git/doc/guix.texi:7676
  12618. #, no-wrap
  12619. msgid ""
  12620. "(define hello-2.2\n"
  12621. " (package\n"
  12622. " (inherit hello)\n"
  12623. " (version \"2.2\")\n"
  12624. " (source (origin\n"
  12625. " (method url-fetch)\n"
  12626. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12627. " \".tar.gz\"))\n"
  12628. " (sha256\n"
  12629. " (base32\n"
  12630. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12631. msgstr ""
  12632. #. type: Plain text
  12633. #: guix-git/doc/guix.texi:7685
  12634. 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."
  12635. msgstr ""
  12636. #. type: Plain text
  12637. #: guix-git/doc/guix.texi:7691
  12638. 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:"
  12639. msgstr ""
  12640. #. type: lisp
  12641. #: guix-git/doc/guix.texi:7694
  12642. #, no-wrap
  12643. msgid ""
  12644. "(use-modules (gnu packages gdb)) ;for 'gdb'\n"
  12645. "\n"
  12646. msgstr ""
  12647. #. type: lisp
  12648. #: guix-git/doc/guix.texi:7700
  12649. #, no-wrap
  12650. msgid ""
  12651. "(define gdb-sans-guile\n"
  12652. " (package\n"
  12653. " (inherit gdb)\n"
  12654. " (inputs (modify-inputs (package-inputs gdb)\n"
  12655. " (delete \"guile\")))))\n"
  12656. msgstr ""
  12657. #. type: Plain text
  12658. #: guix-git/doc/guix.texi:7706
  12659. msgid "The @code{modify-inputs} form above removes the @code{\"guile\"} package from the @code{inputs} field of @code{gdb}. The @code{modify-inputs} macro is a helper that can prove useful anytime you want to remove, add, or replace package inputs."
  12660. msgstr ""
  12661. #. type: deffn
  12662. #: guix-git/doc/guix.texi:7707
  12663. #, no-wrap
  12664. msgid "{Scheme Syntax} modify-inputs @var{inputs} @var{clauses}"
  12665. msgstr ""
  12666. #. type: deffn
  12667. #: guix-git/doc/guix.texi:7711
  12668. msgid "Modify the given package inputs, as returned by @code{package-inputs} & co., according to the given clauses. Each clause must have one of the following forms:"
  12669. msgstr ""
  12670. #. type: item
  12671. #: guix-git/doc/guix.texi:7713
  12672. #, no-wrap
  12673. msgid "(delete @var{name}@dots{})"
  12674. msgstr ""
  12675. #. type: table
  12676. #: guix-git/doc/guix.texi:7715
  12677. msgid "Delete from the inputs packages with the given @var{name}s (strings)."
  12678. msgstr ""
  12679. #. type: item
  12680. #: guix-git/doc/guix.texi:7716
  12681. #, no-wrap
  12682. msgid "(append @var{package}@dots{})"
  12683. msgstr ""
  12684. #. type: table
  12685. #: guix-git/doc/guix.texi:7718
  12686. msgid "Add @var{package}s to the end of the input list."
  12687. msgstr ""
  12688. #. type: item
  12689. #: guix-git/doc/guix.texi:7719
  12690. #, no-wrap
  12691. msgid "(prepend @var{package}@dots{})"
  12692. msgstr ""
  12693. #. type: table
  12694. #: guix-git/doc/guix.texi:7721
  12695. msgid "Add @var{package}s to the front of the input list."
  12696. msgstr ""
  12697. #. type: deffn
  12698. #: guix-git/doc/guix.texi:7725
  12699. msgid "The example below removes the GMP and ACL inputs of Coreutils and adds libcap to the back of the input list:"
  12700. msgstr ""
  12701. #. type: lisp
  12702. #: guix-git/doc/guix.texi:7730
  12703. #, no-wrap
  12704. msgid ""
  12705. "(modify-inputs (package-inputs coreutils)\n"
  12706. " (delete \"gmp\" \"acl\")\n"
  12707. " (append libcap))\n"
  12708. msgstr ""
  12709. #. type: deffn
  12710. #: guix-git/doc/guix.texi:7734
  12711. msgid "The example below replaces the @code{guile} package from the inputs of @code{guile-redis} with @code{guile-2.2}:"
  12712. msgstr ""
  12713. #. type: lisp
  12714. #: guix-git/doc/guix.texi:7738
  12715. #, no-wrap
  12716. msgid ""
  12717. "(modify-inputs (package-inputs guile-redis)\n"
  12718. " (replace \"guile\" guile-2.2))\n"
  12719. msgstr ""
  12720. #. type: deffn
  12721. #: guix-git/doc/guix.texi:7742
  12722. msgid "The last type of clause is @code{prepend}, to add inputs to the front of the list."
  12723. msgstr ""
  12724. #. type: Plain text
  12725. #: guix-git/doc/guix.texi:7751
  12726. 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:"
  12727. msgstr ""
  12728. #. type: lisp
  12729. #: guix-git/doc/guix.texi:7761
  12730. #, no-wrap
  12731. msgid ""
  12732. "(define (make-lua-socket name lua)\n"
  12733. " ;; Return a luasocket package built with LUA.\n"
  12734. " (package\n"
  12735. " (name name)\n"
  12736. " (version \"3.0\")\n"
  12737. " ;; several fields omitted\n"
  12738. " (inputs (list lua))\n"
  12739. " (synopsis \"Socket library for Lua\")))\n"
  12740. "\n"
  12741. msgstr ""
  12742. #. type: lisp
  12743. #: guix-git/doc/guix.texi:7764
  12744. #, no-wrap
  12745. msgid ""
  12746. "(define-public lua5.1-socket\n"
  12747. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12748. "\n"
  12749. msgstr ""
  12750. #. type: lisp
  12751. #: guix-git/doc/guix.texi:7767
  12752. #, no-wrap
  12753. msgid ""
  12754. "(define-public lua5.2-socket\n"
  12755. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12756. msgstr ""
  12757. #. type: Plain text
  12758. #: guix-git/doc/guix.texi:7775
  12759. 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})."
  12760. msgstr ""
  12761. #. type: cindex
  12762. #: guix-git/doc/guix.texi:7776
  12763. #, no-wrap
  12764. msgid "package transformations"
  12765. msgstr ""
  12766. #. type: Plain text
  12767. #: guix-git/doc/guix.texi:7781
  12768. 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}):"
  12769. msgstr ""
  12770. #. type: deffn
  12771. #: guix-git/doc/guix.texi:7782
  12772. #, no-wrap
  12773. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12774. msgstr ""
  12775. #. type: deffn
  12776. #: guix-git/doc/guix.texi:7786
  12777. 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:"
  12778. msgstr ""
  12779. #. type: lisp
  12780. #: guix-git/doc/guix.texi:7790
  12781. #, no-wrap
  12782. msgid ""
  12783. "((with-branch . \"guile-gcrypt=master\")\n"
  12784. " (without-tests . \"libgcrypt\"))\n"
  12785. msgstr ""
  12786. #. type: deffn
  12787. #: guix-git/doc/guix.texi:7794
  12788. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12789. msgstr ""
  12790. #. type: Plain text
  12791. #: guix-git/doc/guix.texi:7797
  12792. msgid "For instance, a manifest equivalent to this command:"
  12793. msgstr ""
  12794. #. type: example
  12795. #: guix-git/doc/guix.texi:7802
  12796. #, no-wrap
  12797. msgid ""
  12798. "guix build guix \\\n"
  12799. " --with-branch=guile-gcrypt=master \\\n"
  12800. " --with-debug-info=zlib\n"
  12801. msgstr ""
  12802. #. type: Plain text
  12803. #: guix-git/doc/guix.texi:7806
  12804. msgid "... would look like this:"
  12805. msgstr ""
  12806. #. type: lisp
  12807. #: guix-git/doc/guix.texi:7809
  12808. #, no-wrap
  12809. msgid ""
  12810. "(use-modules (guix transformations))\n"
  12811. "\n"
  12812. msgstr ""
  12813. #. type: lisp
  12814. #: guix-git/doc/guix.texi:7815
  12815. #, no-wrap
  12816. msgid ""
  12817. "(define transform\n"
  12818. " ;; The package transformation procedure.\n"
  12819. " (options->transformation\n"
  12820. " '((with-branch . \"guile-gcrypt=master\")\n"
  12821. " (with-debug-info . \"zlib\"))))\n"
  12822. "\n"
  12823. msgstr ""
  12824. #. type: lisp
  12825. #: guix-git/doc/guix.texi:7818
  12826. #, no-wrap
  12827. msgid ""
  12828. "(packages->manifest\n"
  12829. " (list (transform (specification->package \"guix\"))))\n"
  12830. msgstr ""
  12831. #. type: cindex
  12832. #: guix-git/doc/guix.texi:7820
  12833. #, no-wrap
  12834. msgid "input rewriting"
  12835. msgstr ""
  12836. #. type: cindex
  12837. #: guix-git/doc/guix.texi:7821
  12838. #, no-wrap
  12839. msgid "dependency graph rewriting"
  12840. msgstr ""
  12841. #. type: Plain text
  12842. #: guix-git/doc/guix.texi:7828
  12843. 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."
  12844. msgstr ""
  12845. #. type: Plain text
  12846. #: guix-git/doc/guix.texi:7832
  12847. 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."
  12848. msgstr ""
  12849. #. type: deffn
  12850. #: guix-git/doc/guix.texi:7833
  12851. #, no-wrap
  12852. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12853. msgstr ""
  12854. #. type: deffn
  12855. #: guix-git/doc/guix.texi:7840
  12856. 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."
  12857. msgstr ""
  12858. #. type: deffn
  12859. #: guix-git/doc/guix.texi:7843
  12860. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12861. msgstr ""
  12862. #. type: table
  12863. #: guix-git/doc/guix.texi:7847 guix-git/doc/guix.texi:11634
  12864. msgid "Consider this example:"
  12865. msgstr ""
  12866. #. type: lisp
  12867. #: guix-git/doc/guix.texi:7853
  12868. #, no-wrap
  12869. msgid ""
  12870. "(define libressl-instead-of-openssl\n"
  12871. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12872. " ;; recursively.\n"
  12873. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12874. "\n"
  12875. msgstr ""
  12876. #. type: lisp
  12877. #: guix-git/doc/guix.texi:7856
  12878. #, no-wrap
  12879. msgid ""
  12880. "(define git-with-libressl\n"
  12881. " (libressl-instead-of-openssl git))\n"
  12882. msgstr ""
  12883. #. type: Plain text
  12884. #: guix-git/doc/guix.texi:7864
  12885. 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}})."
  12886. msgstr ""
  12887. #. type: Plain text
  12888. #: guix-git/doc/guix.texi:7867
  12889. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12890. msgstr ""
  12891. #. type: deffn
  12892. #: guix-git/doc/guix.texi:7868
  12893. #, no-wrap
  12894. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12895. msgstr ""
  12896. #. type: deffn
  12897. #: guix-git/doc/guix.texi:7875
  12898. 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."
  12899. msgstr ""
  12900. #. type: Plain text
  12901. #: guix-git/doc/guix.texi:7878
  12902. msgid "The example above could be rewritten this way:"
  12903. msgstr ""
  12904. #. type: lisp
  12905. #: guix-git/doc/guix.texi:7883
  12906. #, no-wrap
  12907. msgid ""
  12908. "(define libressl-instead-of-openssl\n"
  12909. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12910. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12911. msgstr ""
  12912. #. type: Plain text
  12913. #: guix-git/doc/guix.texi:7888
  12914. 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."
  12915. msgstr ""
  12916. #. type: Plain text
  12917. #: guix-git/doc/guix.texi:7892
  12918. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12919. msgstr ""
  12920. #. type: deffn
  12921. #: guix-git/doc/guix.texi:7893
  12922. #, no-wrap
  12923. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12924. msgstr ""
  12925. #. type: deffn
  12926. #: guix-git/doc/guix.texi:7898
  12927. 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."
  12928. msgstr ""
  12929. #. type: cindex
  12930. #: guix-git/doc/guix.texi:7904
  12931. #, no-wrap
  12932. msgid "build system"
  12933. msgstr ""
  12934. #. type: Plain text
  12935. #: guix-git/doc/guix.texi:7909
  12936. 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."
  12937. msgstr ""
  12938. #. type: Plain text
  12939. #: guix-git/doc/guix.texi:7913
  12940. 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."
  12941. msgstr ""
  12942. #. type: cindex
  12943. #: guix-git/doc/guix.texi:7914
  12944. #, no-wrap
  12945. msgid "bag (low-level package representation)"
  12946. msgstr ""
  12947. #. type: Plain text
  12948. #: guix-git/doc/guix.texi:7924
  12949. 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}})."
  12950. msgstr ""
  12951. #. type: Plain text
  12952. #: guix-git/doc/guix.texi:7932
  12953. 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})."
  12954. msgstr ""
  12955. #. type: Plain text
  12956. #: guix-git/doc/guix.texi:7936
  12957. 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."
  12958. msgstr ""
  12959. #. type: defvr
  12960. #: guix-git/doc/guix.texi:7937
  12961. #, no-wrap
  12962. msgid "{Scheme Variable} gnu-build-system"
  12963. msgstr ""
  12964. #. type: defvr
  12965. #: guix-git/doc/guix.texi:7941
  12966. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12967. msgstr ""
  12968. #. type: cindex
  12969. #: guix-git/doc/guix.texi:7942 guix-git/doc/guix.texi:8891
  12970. #: guix-git/doc/guix.texi:9451
  12971. #, no-wrap
  12972. msgid "build phases"
  12973. msgstr ""
  12974. #. type: defvr
  12975. #: guix-git/doc/guix.texi:7949
  12976. 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."
  12977. msgstr ""
  12978. #. type: defvr
  12979. #: guix-git/doc/guix.texi:7956
  12980. 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."
  12981. msgstr ""
  12982. #. type: defvr
  12983. #: guix-git/doc/guix.texi:7960
  12984. 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:"
  12985. msgstr ""
  12986. #. type: item
  12987. #: guix-git/doc/guix.texi:7962
  12988. #, no-wrap
  12989. msgid "#:phases"
  12990. msgstr ""
  12991. #. type: table
  12992. #: guix-git/doc/guix.texi:7965
  12993. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12994. msgstr ""
  12995. #. type: item
  12996. #: guix-git/doc/guix.texi:7966
  12997. #, no-wrap
  12998. msgid "#:configure-flags"
  12999. msgstr ""
  13000. #. type: table
  13001. #: guix-git/doc/guix.texi:7969
  13002. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  13003. msgstr ""
  13004. #. type: item
  13005. #: guix-git/doc/guix.texi:7970
  13006. #, no-wrap
  13007. msgid "#:make-flags"
  13008. msgstr ""
  13009. #. type: table
  13010. #: guix-git/doc/guix.texi:7974
  13011. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  13012. msgstr ""
  13013. #. type: item
  13014. #: guix-git/doc/guix.texi:7975
  13015. #, no-wrap
  13016. msgid "#:out-of-source?"
  13017. msgstr ""
  13018. #. type: table
  13019. #: guix-git/doc/guix.texi:7978
  13020. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  13021. msgstr ""
  13022. #. type: table
  13023. #: guix-git/doc/guix.texi:7983
  13024. 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}."
  13025. msgstr ""
  13026. #. type: item
  13027. #: guix-git/doc/guix.texi:7984
  13028. #, no-wrap
  13029. msgid "#:tests?"
  13030. msgstr ""
  13031. #. type: table
  13032. #: guix-git/doc/guix.texi:7987
  13033. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  13034. msgstr ""
  13035. #. type: item
  13036. #: guix-git/doc/guix.texi:7988
  13037. #, no-wrap
  13038. msgid "#:test-target"
  13039. msgstr ""
  13040. #. type: table
  13041. #: guix-git/doc/guix.texi:7991
  13042. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  13043. msgstr ""
  13044. #. type: item
  13045. #: guix-git/doc/guix.texi:7992
  13046. #, no-wrap
  13047. msgid "#:parallel-build?"
  13048. msgstr ""
  13049. #. type: itemx
  13050. #: guix-git/doc/guix.texi:7993
  13051. #, no-wrap
  13052. msgid "#:parallel-tests?"
  13053. msgstr ""
  13054. #. type: table
  13055. #: guix-git/doc/guix.texi:8000
  13056. 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}})."
  13057. msgstr ""
  13058. #. type: cindex
  13059. #: guix-git/doc/guix.texi:8001
  13060. #, no-wrap
  13061. msgid "RUNPATH, validation"
  13062. msgstr ""
  13063. #. type: item
  13064. #: guix-git/doc/guix.texi:8002
  13065. #, no-wrap
  13066. msgid "#:validate-runpath?"
  13067. msgstr ""
  13068. #. type: table
  13069. #: guix-git/doc/guix.texi:8006
  13070. 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."
  13071. msgstr ""
  13072. #. type: table
  13073. #: guix-git/doc/guix.texi:8014
  13074. 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}."
  13075. msgstr ""
  13076. #. type: item
  13077. #: guix-git/doc/guix.texi:8015
  13078. #, no-wrap
  13079. msgid "#:substitutable?"
  13080. msgstr ""
  13081. #. type: table
  13082. #: guix-git/doc/guix.texi:8019
  13083. 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})."
  13084. msgstr ""
  13085. #. type: item
  13086. #: guix-git/doc/guix.texi:8020
  13087. #, no-wrap
  13088. msgid "#:allowed-references"
  13089. msgstr ""
  13090. #. type: itemx
  13091. #: guix-git/doc/guix.texi:8021
  13092. #, no-wrap
  13093. msgid "#:disallowed-references"
  13094. msgstr ""
  13095. #. type: table
  13096. #: guix-git/doc/guix.texi:8026
  13097. 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."
  13098. msgstr ""
  13099. #. type: table
  13100. #: guix-git/doc/guix.texi:8031
  13101. 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})."
  13102. msgstr ""
  13103. #. type: defvr
  13104. #: guix-git/doc/guix.texi:8034
  13105. msgid "Most other build systems support these keyword arguments."
  13106. msgstr ""
  13107. #. type: Plain text
  13108. #: guix-git/doc/guix.texi:8041
  13109. 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."
  13110. msgstr ""
  13111. #. type: defvr
  13112. #: guix-git/doc/guix.texi:8042
  13113. #, no-wrap
  13114. msgid "{Scheme Variable} ant-build-system"
  13115. msgstr ""
  13116. #. type: defvr
  13117. #: guix-git/doc/guix.texi:8046
  13118. 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}."
  13119. msgstr ""
  13120. #. type: defvr
  13121. #: guix-git/doc/guix.texi:8051
  13122. 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."
  13123. msgstr ""
  13124. #. type: defvr
  13125. #: guix-git/doc/guix.texi:8057
  13126. 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''."
  13127. msgstr ""
  13128. #. type: defvr
  13129. #: guix-git/doc/guix.texi:8065
  13130. 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."
  13131. msgstr ""
  13132. #. type: defvr
  13133. #: guix-git/doc/guix.texi:8069
  13134. 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."
  13135. msgstr ""
  13136. #. type: defvr
  13137. #: guix-git/doc/guix.texi:8072
  13138. #, no-wrap
  13139. msgid "{Scheme Variable} android-ndk-build-system"
  13140. msgstr ""
  13141. #. type: cindex
  13142. #: guix-git/doc/guix.texi:8073
  13143. #, no-wrap
  13144. msgid "Android distribution"
  13145. msgstr ""
  13146. #. type: cindex
  13147. #: guix-git/doc/guix.texi:8074
  13148. #, no-wrap
  13149. msgid "Android NDK build system"
  13150. msgstr ""
  13151. #. type: defvr
  13152. #: guix-git/doc/guix.texi:8078
  13153. 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."
  13154. msgstr ""
  13155. #. type: defvr
  13156. #: guix-git/doc/guix.texi:8082
  13157. 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."
  13158. msgstr ""
  13159. #. type: defvr
  13160. #: guix-git/doc/guix.texi:8085
  13161. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  13162. msgstr ""
  13163. #. type: defvr
  13164. #: guix-git/doc/guix.texi:8088
  13165. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  13166. msgstr ""
  13167. #. type: defvr
  13168. #: guix-git/doc/guix.texi:8091
  13169. #, no-wrap
  13170. msgid "{Scheme Variable} asdf-build-system/source"
  13171. msgstr ""
  13172. #. type: defvrx
  13173. #: guix-git/doc/guix.texi:8092
  13174. #, no-wrap
  13175. msgid "{Scheme Variable} asdf-build-system/sbcl"
  13176. msgstr ""
  13177. #. type: defvrx
  13178. #: guix-git/doc/guix.texi:8093
  13179. #, no-wrap
  13180. msgid "{Scheme Variable} asdf-build-system/ecl"
  13181. msgstr ""
  13182. #. type: defvr
  13183. #: guix-git/doc/guix.texi:8099
  13184. 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."
  13185. msgstr ""
  13186. #. type: defvr
  13187. #: guix-git/doc/guix.texi:8106
  13188. 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."
  13189. msgstr ""
  13190. #. type: defvr
  13191. #: guix-git/doc/guix.texi:8110
  13192. 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}."
  13193. msgstr ""
  13194. #. type: defvr
  13195. #: guix-git/doc/guix.texi:8114
  13196. 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."
  13197. msgstr ""
  13198. #. type: defvr
  13199. #: guix-git/doc/guix.texi:8122
  13200. 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."
  13201. msgstr ""
  13202. #. type: defvr
  13203. #: guix-git/doc/guix.texi:8131
  13204. 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."
  13205. msgstr ""
  13206. #. type: defvr
  13207. #: guix-git/doc/guix.texi:8136
  13208. 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."
  13209. msgstr ""
  13210. #. type: defvr
  13211. #: guix-git/doc/guix.texi:8139
  13212. #, no-wrap
  13213. msgid "{Scheme Variable} cargo-build-system"
  13214. msgstr ""
  13215. #. type: cindex
  13216. #: guix-git/doc/guix.texi:8140
  13217. #, no-wrap
  13218. msgid "Rust programming language"
  13219. msgstr ""
  13220. #. type: cindex
  13221. #: guix-git/doc/guix.texi:8141
  13222. #, no-wrap
  13223. msgid "Cargo (Rust build system)"
  13224. msgstr ""
  13225. #. type: defvr
  13226. #: guix-git/doc/guix.texi:8145
  13227. 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}."
  13228. msgstr ""
  13229. #. type: defvr
  13230. #: guix-git/doc/guix.texi:8148
  13231. 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."
  13232. msgstr ""
  13233. #. type: defvr
  13234. #: guix-git/doc/guix.texi:8158
  13235. 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."
  13236. msgstr ""
  13237. #. type: defvr
  13238. #: guix-git/doc/guix.texi:8168
  13239. 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."
  13240. msgstr ""
  13241. #. type: defvr
  13242. #: guix-git/doc/guix.texi:8170
  13243. #, no-wrap
  13244. msgid "{Scheme Variable} chicken-build-system"
  13245. msgstr ""
  13246. #. type: defvr
  13247. #: guix-git/doc/guix.texi:8175
  13248. 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."
  13249. msgstr ""
  13250. #. type: defvr
  13251. #: guix-git/doc/guix.texi:8178
  13252. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  13253. msgstr ""
  13254. #. type: defvr
  13255. #: guix-git/doc/guix.texi:8182
  13256. 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."
  13257. msgstr ""
  13258. #. type: defvr
  13259. #: guix-git/doc/guix.texi:8184
  13260. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  13261. msgstr ""
  13262. #. type: lisp
  13263. #: guix-git/doc/guix.texi:8187
  13264. #, no-wrap
  13265. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  13266. msgstr ""
  13267. #. type: defvr
  13268. #: guix-git/doc/guix.texi:8192
  13269. 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."
  13270. msgstr ""
  13271. #. type: defvr
  13272. #: guix-git/doc/guix.texi:8194
  13273. #, no-wrap
  13274. msgid "{Scheme Variable} copy-build-system"
  13275. msgstr ""
  13276. #. type: defvr
  13277. #: guix-git/doc/guix.texi:8198
  13278. 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."
  13279. msgstr ""
  13280. #. type: defvr
  13281. #: guix-git/doc/guix.texi:8203
  13282. 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}."
  13283. msgstr ""
  13284. #. type: defvr
  13285. #: guix-git/doc/guix.texi:8208
  13286. 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."
  13287. msgstr ""
  13288. #. type: item
  13289. #: guix-git/doc/guix.texi:8210
  13290. #, no-wrap
  13291. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  13292. msgstr ""
  13293. #. type: item
  13294. #: guix-git/doc/guix.texi:8212
  13295. #, no-wrap
  13296. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  13297. msgstr ""
  13298. #. type: item
  13299. #: guix-git/doc/guix.texi:8213
  13300. #, no-wrap
  13301. msgid "Otherwise install @var{source} as @var{target}."
  13302. msgstr ""
  13303. #. type: item
  13304. #: guix-git/doc/guix.texi:8216
  13305. #, no-wrap
  13306. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  13307. msgstr ""
  13308. #. type: itemize
  13309. #: guix-git/doc/guix.texi:8219
  13310. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  13311. msgstr ""
  13312. #. type: item
  13313. #: guix-git/doc/guix.texi:8220
  13314. #, no-wrap
  13315. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  13316. msgstr ""
  13317. #. type: item
  13318. #: guix-git/doc/guix.texi:8221
  13319. #, no-wrap
  13320. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  13321. msgstr ""
  13322. #. type: itemize
  13323. #: guix-git/doc/guix.texi:8224
  13324. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  13325. msgstr ""
  13326. #. type: item
  13327. #: guix-git/doc/guix.texi:8225
  13328. #, no-wrap
  13329. msgid "With @code{#:include}, install all the files which the path suffix matches"
  13330. msgstr ""
  13331. #. type: itemize
  13332. #: guix-git/doc/guix.texi:8227
  13333. msgid "at least one of the elements in the given list."
  13334. msgstr ""
  13335. #. type: item
  13336. #: guix-git/doc/guix.texi:8227
  13337. #, no-wrap
  13338. msgid "With @code{#:include-regexp}, install all the files which the"
  13339. msgstr ""
  13340. #. type: itemize
  13341. #: guix-git/doc/guix.texi:8230
  13342. msgid "subpaths match at least one of the regular expressions in the given list."
  13343. msgstr ""
  13344. #. type: item
  13345. #: guix-git/doc/guix.texi:8230
  13346. #, no-wrap
  13347. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  13348. msgstr ""
  13349. #. type: itemize
  13350. #: guix-git/doc/guix.texi:8235
  13351. 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."
  13352. msgstr ""
  13353. #. type: itemize
  13354. #: guix-git/doc/guix.texi:8239
  13355. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  13356. msgstr ""
  13357. #. type: defvr
  13358. #: guix-git/doc/guix.texi:8242
  13359. msgid "Examples:"
  13360. msgstr ""
  13361. #. type: item
  13362. #: guix-git/doc/guix.texi:8244
  13363. #, no-wrap
  13364. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  13365. msgstr ""
  13366. #. type: item
  13367. #: guix-git/doc/guix.texi:8245
  13368. #, no-wrap
  13369. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  13370. msgstr ""
  13371. #. type: item
  13372. #: guix-git/doc/guix.texi:8246
  13373. #, no-wrap
  13374. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  13375. msgstr ""
  13376. #. type: itemize
  13377. #: guix-git/doc/guix.texi:8248
  13378. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  13379. msgstr ""
  13380. #. type: item
  13381. #: guix-git/doc/guix.texi:8248
  13382. #, no-wrap
  13383. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  13384. msgstr ""
  13385. #. type: itemize
  13386. #: guix-git/doc/guix.texi:8250
  13387. msgid "@file{share/my-app/sub/file}."
  13388. msgstr ""
  13389. #. type: item
  13390. #: guix-git/doc/guix.texi:8250
  13391. #, no-wrap
  13392. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  13393. msgstr ""
  13394. #. type: itemize
  13395. #: guix-git/doc/guix.texi:8252
  13396. msgid "@file{share/my-app/file}."
  13397. msgstr ""
  13398. #. type: cindex
  13399. #: guix-git/doc/guix.texi:8256
  13400. #, no-wrap
  13401. msgid "Clojure (programming language)"
  13402. msgstr ""
  13403. #. type: cindex
  13404. #: guix-git/doc/guix.texi:8257
  13405. #, no-wrap
  13406. msgid "simple Clojure build system"
  13407. msgstr ""
  13408. #. type: defvr
  13409. #: guix-git/doc/guix.texi:8258
  13410. #, no-wrap
  13411. msgid "{Scheme Variable} clojure-build-system"
  13412. msgstr ""
  13413. #. type: defvr
  13414. #: guix-git/doc/guix.texi:8263
  13415. 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."
  13416. msgstr ""
  13417. #. type: defvr
  13418. #: guix-git/doc/guix.texi:8267
  13419. 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."
  13420. msgstr ""
  13421. #. type: defvr
  13422. #: guix-git/doc/guix.texi:8273
  13423. 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."
  13424. msgstr ""
  13425. #. type: defvr
  13426. #: guix-git/doc/guix.texi:8276
  13427. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  13428. msgstr ""
  13429. #. type: item
  13430. #: guix-git/doc/guix.texi:8279 guix-git/doc/guix.texi:8852
  13431. #: guix-git/doc/guix.texi:8901 guix-git/doc/guix.texi:8974
  13432. #: guix-git/doc/guix.texi:35595 guix-git/doc/guix.texi:38341
  13433. #, no-wrap
  13434. msgid "build"
  13435. msgstr ""
  13436. #. type: table
  13437. #: guix-git/doc/guix.texi:8288
  13438. 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."
  13439. msgstr ""
  13440. #. type: item
  13441. #: guix-git/doc/guix.texi:8289 guix-git/doc/guix.texi:8856
  13442. #: guix-git/doc/guix.texi:8979
  13443. #, no-wrap
  13444. msgid "check"
  13445. msgstr ""
  13446. #. type: table
  13447. #: guix-git/doc/guix.texi:8296
  13448. 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."
  13449. msgstr ""
  13450. #. type: item
  13451. #: guix-git/doc/guix.texi:8297 guix-git/doc/guix.texi:8862
  13452. #: guix-git/doc/guix.texi:8905 guix-git/doc/guix.texi:8985
  13453. #, no-wrap
  13454. msgid "install"
  13455. msgstr ""
  13456. #. type: table
  13457. #: guix-git/doc/guix.texi:8299
  13458. msgid "This phase installs all jars built previously."
  13459. msgstr ""
  13460. #. type: defvr
  13461. #: guix-git/doc/guix.texi:8302
  13462. msgid "Apart from the above, this build system also contains an additional phase:"
  13463. msgstr ""
  13464. #. type: item
  13465. #: guix-git/doc/guix.texi:8305
  13466. #, no-wrap
  13467. msgid "install-doc"
  13468. msgstr ""
  13469. #. type: table
  13470. #: guix-git/doc/guix.texi:8310
  13471. 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."
  13472. msgstr ""
  13473. #. type: defvr
  13474. #: guix-git/doc/guix.texi:8313
  13475. #, no-wrap
  13476. msgid "{Scheme Variable} cmake-build-system"
  13477. msgstr ""
  13478. #. type: defvr
  13479. #: guix-git/doc/guix.texi:8317
  13480. 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}."
  13481. msgstr ""
  13482. #. type: defvr
  13483. #: guix-git/doc/guix.texi:8321
  13484. 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."
  13485. msgstr ""
  13486. #. type: defvr
  13487. #: guix-git/doc/guix.texi:8328
  13488. 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."
  13489. msgstr ""
  13490. #. type: defvr
  13491. #: guix-git/doc/guix.texi:8330
  13492. #, no-wrap
  13493. msgid "{Scheme Variable} dune-build-system"
  13494. msgstr ""
  13495. #. type: defvr
  13496. #: guix-git/doc/guix.texi:8337
  13497. 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."
  13498. msgstr ""
  13499. #. type: defvr
  13500. #: guix-git/doc/guix.texi:8341
  13501. 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."
  13502. msgstr ""
  13503. #. type: defvr
  13504. #: guix-git/doc/guix.texi:8345
  13505. 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."
  13506. msgstr ""
  13507. #. type: defvr
  13508. #: guix-git/doc/guix.texi:8349
  13509. 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}."
  13510. msgstr ""
  13511. #. type: defvr
  13512. #: guix-git/doc/guix.texi:8354
  13513. 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}."
  13514. msgstr ""
  13515. #. type: defvr
  13516. #: guix-git/doc/guix.texi:8357
  13517. #, no-wrap
  13518. msgid "{Scheme Variable} go-build-system"
  13519. msgstr ""
  13520. #. type: defvr
  13521. #: guix-git/doc/guix.texi:8362
  13522. 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}."
  13523. msgstr ""
  13524. #. type: defvr
  13525. #: guix-git/doc/guix.texi:8373
  13526. 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."
  13527. msgstr ""
  13528. #. type: defvr
  13529. #: guix-git/doc/guix.texi:8378
  13530. 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."
  13531. msgstr ""
  13532. #. type: defvr
  13533. #: guix-git/doc/guix.texi:8385
  13534. msgid "Packages can be cross-built, and if a specific architecture or operating system is desired then the keywords @code{#:goarch} and @code{#:goos} can be used to force the package to be built for that architecture and operating system. The combinations known to Go can be found @url{\"https://golang.org/doc/install/source#environment\", in their documentation}."
  13535. msgstr ""
  13536. #. type: defvr
  13537. #: guix-git/doc/guix.texi:8387
  13538. #, no-wrap
  13539. msgid "{Scheme Variable} glib-or-gtk-build-system"
  13540. msgstr ""
  13541. #. type: defvr
  13542. #: guix-git/doc/guix.texi:8390
  13543. 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+."
  13544. msgstr ""
  13545. #. type: defvr
  13546. #: guix-git/doc/guix.texi:8393
  13547. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  13548. msgstr ""
  13549. #. type: item
  13550. #: guix-git/doc/guix.texi:8395 guix-git/doc/guix.texi:8878
  13551. #, no-wrap
  13552. msgid "glib-or-gtk-wrap"
  13553. msgstr ""
  13554. #. type: table
  13555. #: guix-git/doc/guix.texi:8402
  13556. 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."
  13557. msgstr ""
  13558. #. type: table
  13559. #: guix-git/doc/guix.texi:8409
  13560. 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+."
  13561. msgstr ""
  13562. #. type: item
  13563. #: guix-git/doc/guix.texi:8410 guix-git/doc/guix.texi:8882
  13564. #, no-wrap
  13565. msgid "glib-or-gtk-compile-schemas"
  13566. msgstr ""
  13567. #. type: table
  13568. #: guix-git/doc/guix.texi:8418
  13569. 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."
  13570. msgstr ""
  13571. #. type: defvr
  13572. #: guix-git/doc/guix.texi:8421
  13573. msgid "Both phases are executed after the @code{install} phase."
  13574. msgstr ""
  13575. #. type: defvr
  13576. #: guix-git/doc/guix.texi:8423
  13577. #, no-wrap
  13578. msgid "{Scheme Variable} guile-build-system"
  13579. msgstr ""
  13580. #. type: defvr
  13581. #: guix-git/doc/guix.texi:8430
  13582. 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."
  13583. msgstr ""
  13584. #. type: defvr
  13585. #: guix-git/doc/guix.texi:8433
  13586. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  13587. msgstr ""
  13588. #. type: defvr
  13589. #: guix-git/doc/guix.texi:8436
  13590. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  13591. msgstr ""
  13592. #. type: defvr
  13593. #: guix-git/doc/guix.texi:8438
  13594. #, no-wrap
  13595. msgid "{Scheme Variable} julia-build-system"
  13596. msgstr ""
  13597. #. type: defvr
  13598. #: guix-git/doc/guix.texi:8445
  13599. 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}."
  13600. msgstr ""
  13601. #. type: defvr
  13602. #: guix-git/doc/guix.texi:8450
  13603. msgid "The Julia package name and uuid is read from the file @file{Project.toml}. These values can be overridden by passing the argument @code{#:julia-package-name} (which must be correctly capitalized) or @code{#:julia-package-uuid}."
  13604. msgstr ""
  13605. #. type: defvr
  13606. #: guix-git/doc/guix.texi:8454
  13607. 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}."
  13608. msgstr ""
  13609. #. type: defvr
  13610. #: guix-git/doc/guix.texi:8459
  13611. 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."
  13612. msgstr ""
  13613. #. type: defvr
  13614. #: guix-git/doc/guix.texi:8463
  13615. 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:"
  13616. msgstr ""
  13617. #. type: lisp
  13618. #: guix-git/doc/guix.texi:8475
  13619. #, no-wrap
  13620. msgid ""
  13621. "(add-after 'unpack 'override-binary-path\n"
  13622. " (lambda* (#:key inputs #:allow-other-keys)\n"
  13623. " (for-each (lambda (wrapper)\n"
  13624. " (substitute* wrapper\n"
  13625. " ((\"generate_wrapper_header.*\")\n"
  13626. " (string-append\n"
  13627. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  13628. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  13629. " ;; There's a Julia file for each platform, override them all.\n"
  13630. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  13631. msgstr ""
  13632. #. type: defvr
  13633. #: guix-git/doc/guix.texi:8481
  13634. msgid "Some older packages that aren't using @file{Project.toml} yet, will require this file to be created, too. It is internally done if the arguments @code{#:julia-package-name} and @code{#:julia-package-uuid} are provided."
  13635. msgstr ""
  13636. #. type: defvr
  13637. #: guix-git/doc/guix.texi:8483
  13638. #, no-wrap
  13639. msgid "{Scheme Variable} maven-build-system"
  13640. msgstr ""
  13641. #. type: defvr
  13642. #: guix-git/doc/guix.texi:8490
  13643. 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."
  13644. msgstr ""
  13645. #. type: defvr
  13646. #: guix-git/doc/guix.texi:8500
  13647. 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."
  13648. msgstr ""
  13649. #. type: defvr
  13650. #: guix-git/doc/guix.texi:8503
  13651. 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."
  13652. msgstr ""
  13653. #. type: defvr
  13654. #: guix-git/doc/guix.texi:8509
  13655. 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}."
  13656. msgstr ""
  13657. #. type: defvr
  13658. #: guix-git/doc/guix.texi:8515
  13659. 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."
  13660. msgstr ""
  13661. #. type: defvr
  13662. #: guix-git/doc/guix.texi:8518
  13663. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13664. msgstr ""
  13665. #. type: defvr
  13666. #: guix-git/doc/guix.texi:8523
  13667. 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."
  13668. msgstr ""
  13669. #. type: defvr
  13670. #: guix-git/doc/guix.texi:8525
  13671. #, no-wrap
  13672. msgid "{Scheme Variable} minetest-mod-build-system"
  13673. msgstr ""
  13674. #. type: defvr
  13675. #: guix-git/doc/guix.texi:8531
  13676. 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."
  13677. msgstr ""
  13678. #. type: defvr
  13679. #: guix-git/doc/guix.texi:8533
  13680. #, no-wrap
  13681. msgid "{Scheme Variable} minify-build-system"
  13682. msgstr ""
  13683. #. type: defvr
  13684. #: guix-git/doc/guix.texi:8536
  13685. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13686. msgstr ""
  13687. #. type: defvr
  13688. #: guix-git/doc/guix.texi:8542
  13689. 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."
  13690. msgstr ""
  13691. #. type: defvr
  13692. #: guix-git/doc/guix.texi:8546
  13693. 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."
  13694. msgstr ""
  13695. #. type: defvr
  13696. #: guix-git/doc/guix.texi:8548
  13697. #, no-wrap
  13698. msgid "{Scheme Variable} ocaml-build-system"
  13699. msgstr ""
  13700. #. type: defvr
  13701. #: guix-git/doc/guix.texi:8554
  13702. 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."
  13703. msgstr ""
  13704. #. type: defvr
  13705. #: guix-git/doc/guix.texi:8564
  13706. 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."
  13707. msgstr ""
  13708. #. type: defvr
  13709. #: guix-git/doc/guix.texi:8569
  13710. 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."
  13711. msgstr ""
  13712. #. type: defvr
  13713. #: guix-git/doc/guix.texi:8573
  13714. 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."
  13715. msgstr ""
  13716. #. type: defvr
  13717. #: guix-git/doc/guix.texi:8581
  13718. 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."
  13719. msgstr ""
  13720. #. type: defvr
  13721. #: guix-git/doc/guix.texi:8589
  13722. 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."
  13723. msgstr ""
  13724. #. type: defvr
  13725. #: guix-git/doc/guix.texi:8591
  13726. #, no-wrap
  13727. msgid "{Scheme Variable} python-build-system"
  13728. msgstr ""
  13729. #. type: defvr
  13730. #: guix-git/doc/guix.texi:8596
  13731. 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{}}."
  13732. msgstr ""
  13733. #. type: defvr
  13734. #: guix-git/doc/guix.texi:8601
  13735. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{GUIX_PYTHONPATH} environment variable points to all the Python libraries they depend on."
  13736. msgstr ""
  13737. #. type: defvr
  13738. #: guix-git/doc/guix.texi:8607
  13739. 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."
  13740. msgstr ""
  13741. #. type: defvr
  13742. #: guix-git/doc/guix.texi:8612
  13743. 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}."
  13744. msgstr ""
  13745. #. type: defvr
  13746. #: guix-git/doc/guix.texi:8618
  13747. msgid "If a @code{\"python\"} output is available, the package is installed into it instead of the default @code{\"out\"} output. This is useful for packages that include a Python package as only a part of the software, and thus want to combine the phases of @code{python-build-system} with another build system. Python bindings are a common usecase."
  13748. msgstr ""
  13749. #. type: defvr
  13750. #: guix-git/doc/guix.texi:8621
  13751. #, no-wrap
  13752. msgid "{Scheme Variable} perl-build-system"
  13753. msgstr ""
  13754. #. type: defvr
  13755. #: guix-git/doc/guix.texi:8633
  13756. 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."
  13757. msgstr ""
  13758. #. type: defvr
  13759. #: guix-git/doc/guix.texi:8637
  13760. 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."
  13761. msgstr ""
  13762. #. type: defvr
  13763. #: guix-git/doc/guix.texi:8639
  13764. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13765. msgstr ""
  13766. #. type: defvr
  13767. #: guix-git/doc/guix.texi:8641
  13768. #, no-wrap
  13769. msgid "{Scheme Variable} renpy-build-system"
  13770. msgstr ""
  13771. #. type: defvr
  13772. #: guix-git/doc/guix.texi:8645
  13773. 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."
  13774. msgstr ""
  13775. #. type: defvr
  13776. #: guix-git/doc/guix.texi:8648
  13777. 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."
  13778. msgstr ""
  13779. #. type: defvr
  13780. #: guix-git/doc/guix.texi:8652
  13781. 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}."
  13782. msgstr ""
  13783. #. type: defvr
  13784. #: guix-git/doc/guix.texi:8654
  13785. #, no-wrap
  13786. msgid "{Scheme Variable} qt-build-system"
  13787. msgstr ""
  13788. #. type: defvr
  13789. #: guix-git/doc/guix.texi:8657
  13790. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13791. msgstr ""
  13792. #. type: defvr
  13793. #: guix-git/doc/guix.texi:8660
  13794. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13795. msgstr ""
  13796. #. type: item
  13797. #: guix-git/doc/guix.texi:8662
  13798. #, no-wrap
  13799. msgid "check-setup"
  13800. msgstr ""
  13801. #. type: table
  13802. #: guix-git/doc/guix.texi:8669
  13803. 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}."
  13804. msgstr ""
  13805. #. type: table
  13806. #: guix-git/doc/guix.texi:8672
  13807. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13808. msgstr ""
  13809. #. type: item
  13810. #: guix-git/doc/guix.texi:8673
  13811. #, no-wrap
  13812. msgid "qt-wrap"
  13813. msgstr ""
  13814. #. type: table
  13815. #: guix-git/doc/guix.texi:8679
  13816. 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."
  13817. msgstr ""
  13818. #. type: table
  13819. #: guix-git/doc/guix.texi:8685
  13820. 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."
  13821. msgstr ""
  13822. #. type: table
  13823. #: guix-git/doc/guix.texi:8687
  13824. msgid "This phase is added after the @code{install} phase."
  13825. msgstr ""
  13826. #. type: defvr
  13827. #: guix-git/doc/guix.texi:8690
  13828. #, no-wrap
  13829. msgid "{Scheme Variable} r-build-system"
  13830. msgstr ""
  13831. #. type: defvr
  13832. #: guix-git/doc/guix.texi:8698
  13833. 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}."
  13834. msgstr ""
  13835. #. type: defvr
  13836. #: guix-git/doc/guix.texi:8700
  13837. #, no-wrap
  13838. msgid "{Scheme Variable} rakudo-build-system"
  13839. msgstr ""
  13840. #. type: defvr
  13841. #: guix-git/doc/guix.texi:8708
  13842. 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."
  13843. msgstr ""
  13844. #. type: defvr
  13845. #: guix-git/doc/guix.texi:8716
  13846. 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."
  13847. msgstr ""
  13848. #. type: defvr
  13849. #: guix-git/doc/guix.texi:8718
  13850. #, no-wrap
  13851. msgid "{Scheme Variable} texlive-build-system"
  13852. msgstr ""
  13853. #. type: defvr
  13854. #: guix-git/doc/guix.texi:8723
  13855. 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."
  13856. msgstr ""
  13857. #. type: defvr
  13858. #: guix-git/doc/guix.texi:8732
  13859. 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."
  13860. msgstr ""
  13861. #. type: defvr
  13862. #: guix-git/doc/guix.texi:8735
  13863. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13864. msgstr ""
  13865. #. type: defvr
  13866. #: guix-git/doc/guix.texi:8737
  13867. #, no-wrap
  13868. msgid "{Scheme Variable} ruby-build-system"
  13869. msgstr ""
  13870. #. type: defvr
  13871. #: guix-git/doc/guix.texi:8741
  13872. 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}."
  13873. msgstr ""
  13874. #. type: defvr
  13875. #: guix-git/doc/guix.texi:8749
  13876. 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."
  13877. msgstr ""
  13878. #. type: defvr
  13879. #: guix-git/doc/guix.texi:8753
  13880. 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."
  13881. msgstr ""
  13882. #. type: defvr
  13883. #: guix-git/doc/guix.texi:8755
  13884. #, no-wrap
  13885. msgid "{Scheme Variable} waf-build-system"
  13886. msgstr ""
  13887. #. type: defvr
  13888. #: guix-git/doc/guix.texi:8761
  13889. 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."
  13890. msgstr ""
  13891. #. type: defvr
  13892. #: guix-git/doc/guix.texi:8765
  13893. 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."
  13894. msgstr ""
  13895. #. type: defvr
  13896. #: guix-git/doc/guix.texi:8767
  13897. #, no-wrap
  13898. msgid "{Scheme Variable} scons-build-system"
  13899. msgstr ""
  13900. #. type: defvr
  13901. #: guix-git/doc/guix.texi:8773
  13902. 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."
  13903. msgstr ""
  13904. #. type: defvr
  13905. #: guix-git/doc/guix.texi:8780
  13906. 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."
  13907. msgstr ""
  13908. #. type: defvr
  13909. #: guix-git/doc/guix.texi:8782
  13910. #, no-wrap
  13911. msgid "{Scheme Variable} haskell-build-system"
  13912. msgstr ""
  13913. #. type: defvr
  13914. #: guix-git/doc/guix.texi:8796
  13915. 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."
  13916. msgstr ""
  13917. #. type: defvr
  13918. #: guix-git/doc/guix.texi:8799
  13919. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13920. msgstr ""
  13921. #. type: defvr
  13922. #: guix-git/doc/guix.texi:8801
  13923. #, no-wrap
  13924. msgid "{Scheme Variable} dub-build-system"
  13925. msgstr ""
  13926. #. type: defvr
  13927. #: guix-git/doc/guix.texi:8806
  13928. 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."
  13929. msgstr ""
  13930. #. type: defvr
  13931. #: guix-git/doc/guix.texi:8809
  13932. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13933. msgstr ""
  13934. #. type: anchor{#1}
  13935. #: guix-git/doc/guix.texi:8812
  13936. msgid "emacs-build-system"
  13937. msgstr ""
  13938. #. type: defvr
  13939. #: guix-git/doc/guix.texi:8812
  13940. #, no-wrap
  13941. msgid "{Scheme Variable} emacs-build-system"
  13942. msgstr ""
  13943. #. type: defvr
  13944. #: guix-git/doc/guix.texi:8816
  13945. 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})."
  13946. msgstr ""
  13947. #. type: defvr
  13948. #: guix-git/doc/guix.texi:8822
  13949. 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}."
  13950. msgstr ""
  13951. #. type: defvr
  13952. #: guix-git/doc/guix.texi:8824
  13953. #, no-wrap
  13954. msgid "{Scheme Variable} font-build-system"
  13955. msgstr ""
  13956. #. type: defvr
  13957. #: guix-git/doc/guix.texi:8830
  13958. 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."
  13959. msgstr ""
  13960. #. type: defvr
  13961. #: guix-git/doc/guix.texi:8832
  13962. #, no-wrap
  13963. msgid "{Scheme Variable} meson-build-system"
  13964. msgstr ""
  13965. #. type: defvr
  13966. #: guix-git/doc/guix.texi:8836
  13967. 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."
  13968. msgstr ""
  13969. #. type: defvr
  13970. #: guix-git/doc/guix.texi:8840
  13971. 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."
  13972. msgstr ""
  13973. #. type: defvr
  13974. #: guix-git/doc/guix.texi:8843
  13975. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13976. msgstr ""
  13977. #. type: item
  13978. #: guix-git/doc/guix.texi:8846 guix-git/doc/guix.texi:8897
  13979. #: guix-git/doc/guix.texi:8969
  13980. #, no-wrap
  13981. msgid "configure"
  13982. msgstr ""
  13983. #. type: table
  13984. #: guix-git/doc/guix.texi:8851
  13985. 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}."
  13986. msgstr ""
  13987. #. type: table
  13988. #: guix-git/doc/guix.texi:8855
  13989. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13990. msgstr ""
  13991. #. type: table
  13992. #: guix-git/doc/guix.texi:8861
  13993. msgid "The phase runs @samp{meson test} with a base set of options that cannot be overridden. This base set of options can be extended via the @code{#:test-options} argument, for example to select or skip a specific test suite."
  13994. msgstr ""
  13995. #. type: table
  13996. #: guix-git/doc/guix.texi:8864
  13997. msgid "The phase runs @code{ninja install} and can not be changed."
  13998. msgstr ""
  13999. #. type: defvr
  14000. #: guix-git/doc/guix.texi:8867
  14001. msgid "Apart from that, the build system also adds the following phases:"
  14002. msgstr ""
  14003. #. type: item
  14004. #: guix-git/doc/guix.texi:8870
  14005. #, no-wrap
  14006. msgid "fix-runpath"
  14007. msgstr ""
  14008. #. type: table
  14009. #: guix-git/doc/guix.texi:8877
  14010. msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson}, such as test dependencies, that aren't actually required for the program to run."
  14011. msgstr ""
  14012. #. type: table
  14013. #: guix-git/doc/guix.texi:8881 guix-git/doc/guix.texi:8885
  14014. 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?}."
  14015. msgstr ""
  14016. #. type: defvr
  14017. #: guix-git/doc/guix.texi:8888
  14018. #, no-wrap
  14019. msgid "{Scheme Variable} linux-module-build-system"
  14020. msgstr ""
  14021. #. type: defvr
  14022. #: guix-git/doc/guix.texi:8890
  14023. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  14024. msgstr ""
  14025. #. type: defvr
  14026. #: guix-git/doc/guix.texi:8894
  14027. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  14028. msgstr ""
  14029. #. type: table
  14030. #: guix-git/doc/guix.texi:8900
  14031. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  14032. msgstr ""
  14033. #. type: table
  14034. #: guix-git/doc/guix.texi:8904
  14035. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  14036. msgstr ""
  14037. #. type: table
  14038. #: guix-git/doc/guix.texi:8908
  14039. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  14040. msgstr ""
  14041. #. type: defvr
  14042. #: guix-git/doc/guix.texi:8913
  14043. 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)."
  14044. msgstr ""
  14045. #. type: defvr
  14046. #: guix-git/doc/guix.texi:8915
  14047. #, no-wrap
  14048. msgid "{Scheme Variable} node-build-system"
  14049. msgstr ""
  14050. #. type: defvr
  14051. #: guix-git/doc/guix.texi:8920
  14052. 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."
  14053. msgstr ""
  14054. #. type: defvr
  14055. #: guix-git/doc/guix.texi:8924
  14056. 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}."
  14057. msgstr ""
  14058. #. type: Plain text
  14059. #: guix-git/doc/guix.texi:8930
  14060. 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."
  14061. msgstr ""
  14062. #. type: defvr
  14063. #: guix-git/doc/guix.texi:8931
  14064. #, no-wrap
  14065. msgid "{Scheme Variable} trivial-build-system"
  14066. msgstr ""
  14067. #. type: defvr
  14068. #: guix-git/doc/guix.texi:8933
  14069. msgid "This variable is exported by @code{(guix build-system trivial)}."
  14070. msgstr ""
  14071. #. type: defvr
  14072. #: guix-git/doc/guix.texi:8938
  14073. 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}})."
  14074. msgstr ""
  14075. #. type: cindex
  14076. #: guix-git/doc/guix.texi:8943
  14077. #, no-wrap
  14078. msgid "build phases, for packages"
  14079. msgstr ""
  14080. #. type: Plain text
  14081. #: guix-git/doc/guix.texi:8949
  14082. 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})."
  14083. msgstr ""
  14084. #. type: Plain text
  14085. #: guix-git/doc/guix.texi:8953
  14086. 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:"
  14087. msgstr ""
  14088. #. type: item
  14089. #: guix-git/doc/guix.texi:8955
  14090. #, no-wrap
  14091. msgid "set-paths"
  14092. msgstr ""
  14093. #. type: table
  14094. #: guix-git/doc/guix.texi:8958
  14095. msgid "Define search path environment variables for all the input packages, including @env{PATH} (@pxref{Search Paths})."
  14096. msgstr ""
  14097. #. type: item
  14098. #: guix-git/doc/guix.texi:8959
  14099. #, no-wrap
  14100. msgid "unpack"
  14101. msgstr ""
  14102. #. type: table
  14103. #: guix-git/doc/guix.texi:8963
  14104. 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."
  14105. msgstr ""
  14106. #. type: item
  14107. #: guix-git/doc/guix.texi:8964
  14108. #, no-wrap
  14109. msgid "patch-source-shebangs"
  14110. msgstr ""
  14111. #. type: table
  14112. #: guix-git/doc/guix.texi:8968
  14113. 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}."
  14114. msgstr ""
  14115. #. type: table
  14116. #: guix-git/doc/guix.texi:8973
  14117. 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."
  14118. msgstr ""
  14119. #. type: table
  14120. #: guix-git/doc/guix.texi:8978
  14121. 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}."
  14122. msgstr ""
  14123. #. type: table
  14124. #: guix-git/doc/guix.texi:8984
  14125. 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}."
  14126. msgstr ""
  14127. #. type: table
  14128. #: guix-git/doc/guix.texi:8987
  14129. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  14130. msgstr ""
  14131. #. type: item
  14132. #: guix-git/doc/guix.texi:8988
  14133. #, no-wrap
  14134. msgid "patch-shebangs"
  14135. msgstr ""
  14136. #. type: table
  14137. #: guix-git/doc/guix.texi:8990
  14138. msgid "Patch shebangs on the installed executable files."
  14139. msgstr ""
  14140. #. type: item
  14141. #: guix-git/doc/guix.texi:8991
  14142. #, no-wrap
  14143. msgid "strip"
  14144. msgstr ""
  14145. #. type: table
  14146. #: guix-git/doc/guix.texi:8995
  14147. 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})."
  14148. msgstr ""
  14149. #. type: Plain text
  14150. #: guix-git/doc/guix.texi:9004
  14151. 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})."
  14152. msgstr ""
  14153. #. type: Plain text
  14154. #: guix-git/doc/guix.texi:9011
  14155. 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."
  14156. msgstr ""
  14157. #. type: vindex
  14158. #: guix-git/doc/guix.texi:9012
  14159. #, no-wrap
  14160. msgid "%standard-phases"
  14161. msgstr ""
  14162. #. type: Plain text
  14163. #: guix-git/doc/guix.texi:9018
  14164. 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!}:"
  14165. msgstr ""
  14166. #. type: lisp
  14167. #: guix-git/doc/guix.texi:9021
  14168. #, no-wrap
  14169. msgid ""
  14170. ";; The build phases of 'gnu-build-system'.\n"
  14171. "\n"
  14172. msgstr ""
  14173. #. type: lisp
  14174. #: guix-git/doc/guix.texi:9025
  14175. #, no-wrap
  14176. msgid ""
  14177. "(define* (unpack #:key source #:allow-other-keys)\n"
  14178. " ;; Extract the source tarball.\n"
  14179. " (invoke \"tar\" \"xvf\" source))\n"
  14180. "\n"
  14181. msgstr ""
  14182. #. type: lisp
  14183. #: guix-git/doc/guix.texi:9031
  14184. #, no-wrap
  14185. msgid ""
  14186. "(define* (configure #:key outputs #:allow-other-keys)\n"
  14187. " ;; Run the 'configure' script. Install to output \"out\".\n"
  14188. " (let ((out (assoc-ref outputs \"out\")))\n"
  14189. " (invoke \"./configure\"\n"
  14190. " (string-append \"--prefix=\" out))))\n"
  14191. "\n"
  14192. msgstr ""
  14193. #. type: lisp
  14194. #: guix-git/doc/guix.texi:9035
  14195. #, no-wrap
  14196. msgid ""
  14197. "(define* (build #:allow-other-keys)\n"
  14198. " ;; Compile.\n"
  14199. " (invoke \"make\"))\n"
  14200. "\n"
  14201. msgstr ""
  14202. #. type: lisp
  14203. #: guix-git/doc/guix.texi:9042
  14204. #, no-wrap
  14205. msgid ""
  14206. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  14207. " #:allow-other-keys)\n"
  14208. " ;; Run the test suite.\n"
  14209. " (if tests?\n"
  14210. " (invoke \"make\" test-target)\n"
  14211. " (display \"test suite not run\\n\")))\n"
  14212. "\n"
  14213. msgstr ""
  14214. #. type: lisp
  14215. #: guix-git/doc/guix.texi:9046
  14216. #, no-wrap
  14217. msgid ""
  14218. "(define* (install #:allow-other-keys)\n"
  14219. " ;; Install files to the prefix 'configure' specified.\n"
  14220. " (invoke \"make\" \"install\"))\n"
  14221. "\n"
  14222. msgstr ""
  14223. #. type: lisp
  14224. #: guix-git/doc/guix.texi:9055
  14225. #, no-wrap
  14226. msgid ""
  14227. "(define %standard-phases\n"
  14228. " ;; The list of standard phases (quite a few are omitted\n"
  14229. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  14230. " (list (cons 'unpack unpack)\n"
  14231. " (cons 'configure configure)\n"
  14232. " (cons 'build build)\n"
  14233. " (cons 'check check)\n"
  14234. " (cons 'install install)))\n"
  14235. msgstr ""
  14236. #. type: Plain text
  14237. #: guix-git/doc/guix.texi:9065
  14238. 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."
  14239. msgstr ""
  14240. #. type: Plain text
  14241. #: guix-git/doc/guix.texi:9071
  14242. 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})."
  14243. msgstr ""
  14244. #. type: Plain text
  14245. #: guix-git/doc/guix.texi:9087
  14246. 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."
  14247. msgstr ""
  14248. #. type: cindex
  14249. #: guix-git/doc/guix.texi:9088
  14250. #, no-wrap
  14251. msgid "build phases, customizing"
  14252. msgstr ""
  14253. #. type: Plain text
  14254. #: guix-git/doc/guix.texi:9097
  14255. 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}})."
  14256. msgstr ""
  14257. #. type: Plain text
  14258. #: guix-git/doc/guix.texi:9102
  14259. 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}:"
  14260. msgstr ""
  14261. #. type: lisp
  14262. #: guix-git/doc/guix.texi:9122
  14263. #, no-wrap
  14264. msgid ""
  14265. "(define-public example\n"
  14266. " (package\n"
  14267. " (name \"example\")\n"
  14268. " ;; other fields omitted\n"
  14269. " (build-system gnu-build-system)\n"
  14270. " (arguments\n"
  14271. " '(#:phases (modify-phases %standard-phases\n"
  14272. " (delete 'configure)\n"
  14273. " (add-before 'build 'set-prefix-in-makefile\n"
  14274. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14275. " ;; Modify the makefile so that its\n"
  14276. " ;; 'PREFIX' variable points to \"out\".\n"
  14277. " (let ((out (assoc-ref outputs \"out\")))\n"
  14278. " (substitute* \"Makefile\"\n"
  14279. " ((\"PREFIX =.*\")\n"
  14280. " (string-append \"PREFIX = \"\n"
  14281. " out \"\\n\")))\n"
  14282. " #true))))))))\n"
  14283. msgstr ""
  14284. #. type: Plain text
  14285. #: guix-git/doc/guix.texi:9128
  14286. 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}."
  14287. msgstr ""
  14288. #. type: cindex
  14289. #: guix-git/doc/guix.texi:9129 guix-git/doc/guix.texi:10464
  14290. #, no-wrap
  14291. msgid "code staging"
  14292. msgstr ""
  14293. #. type: cindex
  14294. #: guix-git/doc/guix.texi:9130 guix-git/doc/guix.texi:10465
  14295. #, no-wrap
  14296. msgid "staging, of code"
  14297. msgstr ""
  14298. #. type: Plain text
  14299. #: guix-git/doc/guix.texi:9137
  14300. 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."
  14301. msgstr ""
  14302. #. type: Plain text
  14303. #: guix-git/doc/guix.texi:9147
  14304. 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."
  14305. msgstr ""
  14306. #. type: Plain text
  14307. #: guix-git/doc/guix.texi:9151
  14308. 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."
  14309. msgstr ""
  14310. #. type: Plain text
  14311. #: guix-git/doc/guix.texi:9156
  14312. 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}):"
  14313. msgstr ""
  14314. #. type: lisp
  14315. #: guix-git/doc/guix.texi:9163
  14316. #, no-wrap
  14317. msgid ""
  14318. "(with-imported-modules '((guix build utils)) ;import it\n"
  14319. " (computed-file \"empty-tree\"\n"
  14320. " #~(begin\n"
  14321. " ;; Put it in scope.\n"
  14322. " (use-modules (guix build utils))\n"
  14323. "\n"
  14324. msgstr ""
  14325. #. type: lisp
  14326. #: guix-git/doc/guix.texi:9166
  14327. #, no-wrap
  14328. msgid ""
  14329. " ;; Happily use its 'mkdir-p' procedure.\n"
  14330. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  14331. msgstr ""
  14332. #. type: Plain text
  14333. #: guix-git/doc/guix.texi:9170
  14334. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  14335. msgstr ""
  14336. #. type: subsection
  14337. #: guix-git/doc/guix.texi:9173
  14338. #, no-wrap
  14339. msgid "Dealing with Store File Names"
  14340. msgstr ""
  14341. #. type: Plain text
  14342. #: guix-git/doc/guix.texi:9176
  14343. msgid "This section documents procedures that deal with store file names."
  14344. msgstr ""
  14345. #. type: deffn
  14346. #: guix-git/doc/guix.texi:9177
  14347. #, no-wrap
  14348. msgid "{Scheme Procedure} %store-directory"
  14349. msgstr ""
  14350. #. type: deffn
  14351. #: guix-git/doc/guix.texi:9179
  14352. msgid "Return the directory name of the store."
  14353. msgstr ""
  14354. #. type: deffn
  14355. #: guix-git/doc/guix.texi:9181
  14356. #, no-wrap
  14357. msgid "{Scheme Procedure} store-file-name? @var{file}"
  14358. msgstr ""
  14359. #. type: deffn
  14360. #: guix-git/doc/guix.texi:9183
  14361. msgid "Return true if @var{file} is in the store."
  14362. msgstr ""
  14363. #. type: deffn
  14364. #: guix-git/doc/guix.texi:9185
  14365. #, no-wrap
  14366. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  14367. msgstr ""
  14368. #. type: deffn
  14369. #: guix-git/doc/guix.texi:9188
  14370. 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."
  14371. msgstr ""
  14372. #. type: deffn
  14373. #: guix-git/doc/guix.texi:9190
  14374. #, no-wrap
  14375. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  14376. msgstr ""
  14377. #. type: deffn
  14378. #: guix-git/doc/guix.texi:9195
  14379. 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."
  14380. msgstr ""
  14381. #. type: subsection
  14382. #: guix-git/doc/guix.texi:9197
  14383. #, no-wrap
  14384. msgid "File Types"
  14385. msgstr ""
  14386. #. type: Plain text
  14387. #: guix-git/doc/guix.texi:9200
  14388. msgid "The procedures below deal with files and file types."
  14389. msgstr ""
  14390. #. type: deffn
  14391. #: guix-git/doc/guix.texi:9201
  14392. #, no-wrap
  14393. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  14394. msgstr ""
  14395. #. type: deffn
  14396. #: guix-git/doc/guix.texi:9203
  14397. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  14398. msgstr ""
  14399. #. type: deffn
  14400. #: guix-git/doc/guix.texi:9205
  14401. #, no-wrap
  14402. msgid "{Scheme Procedure} executable-file? @var{file}"
  14403. msgstr ""
  14404. #. type: deffn
  14405. #: guix-git/doc/guix.texi:9207
  14406. msgid "Return @code{#t} if @var{file} exists and is executable."
  14407. msgstr ""
  14408. #. type: deffn
  14409. #: guix-git/doc/guix.texi:9209
  14410. #, no-wrap
  14411. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  14412. msgstr ""
  14413. #. type: deffn
  14414. #: guix-git/doc/guix.texi:9211
  14415. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  14416. msgstr ""
  14417. #. type: deffn
  14418. #: guix-git/doc/guix.texi:9213
  14419. #, no-wrap
  14420. msgid "{Scheme Procedure} elf-file? @var{file}"
  14421. msgstr ""
  14422. #. type: deffnx
  14423. #: guix-git/doc/guix.texi:9214
  14424. #, no-wrap
  14425. msgid "{Scheme Procedure} ar-file? @var{file}"
  14426. msgstr ""
  14427. #. type: deffnx
  14428. #: guix-git/doc/guix.texi:9215
  14429. #, no-wrap
  14430. msgid "{Scheme Procedure} gzip-file? @var{file}"
  14431. msgstr ""
  14432. #. type: deffn
  14433. #: guix-git/doc/guix.texi:9218
  14434. 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."
  14435. msgstr ""
  14436. #. type: deffn
  14437. #: guix-git/doc/guix.texi:9220
  14438. #, no-wrap
  14439. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  14440. msgstr ""
  14441. #. type: deffn
  14442. #: guix-git/doc/guix.texi:9224
  14443. 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."
  14444. msgstr ""
  14445. #. type: subsection
  14446. #: guix-git/doc/guix.texi:9226
  14447. #, no-wrap
  14448. msgid "File Manipulation"
  14449. msgstr ""
  14450. #. type: Plain text
  14451. #: guix-git/doc/guix.texi:9233
  14452. 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})."
  14453. msgstr ""
  14454. #. type: deffn
  14455. #: guix-git/doc/guix.texi:9234
  14456. #, no-wrap
  14457. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  14458. msgstr ""
  14459. #. type: deffn
  14460. #: guix-git/doc/guix.texi:9236
  14461. msgid "Run @var{body} with @var{directory} as the process's current directory."
  14462. msgstr ""
  14463. #. type: deffn
  14464. #: guix-git/doc/guix.texi:9243
  14465. 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."
  14466. msgstr ""
  14467. #. type: deffn
  14468. #: guix-git/doc/guix.texi:9245
  14469. #, no-wrap
  14470. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  14471. msgstr ""
  14472. #. type: deffn
  14473. #: guix-git/doc/guix.texi:9247
  14474. msgid "Create directory @var{dir} and all its ancestors."
  14475. msgstr ""
  14476. #. type: deffn
  14477. #: guix-git/doc/guix.texi:9249
  14478. #, no-wrap
  14479. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  14480. msgstr ""
  14481. #. type: deffn
  14482. #: guix-git/doc/guix.texi:9252
  14483. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  14484. msgstr ""
  14485. #. type: deffn
  14486. #: guix-git/doc/guix.texi:9254
  14487. #, no-wrap
  14488. msgid "{Scheme Procedure} make-file-writable @var{file}"
  14489. msgstr ""
  14490. #. type: deffn
  14491. #: guix-git/doc/guix.texi:9256
  14492. msgid "Make @var{file} writable for its owner."
  14493. msgstr ""
  14494. #. type: deffn
  14495. #: guix-git/doc/guix.texi:9258
  14496. #, no-wrap
  14497. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  14498. msgstr ""
  14499. #. type: deffn
  14500. #: guix-git/doc/guix.texi:9267
  14501. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] @ [#:copy-file copy-file] [#:keep-mtime? #f] [#:keep-permissions? #t] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. Call @var{copy-file} to copy regular files. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. When @var{keep-permissions?} is true, preserve file permissions. Write verbose output to the @var{log} port."
  14502. msgstr ""
  14503. #. type: deffn
  14504. #: guix-git/doc/guix.texi:9269
  14505. #, no-wrap
  14506. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  14507. msgstr ""
  14508. #. type: deffn
  14509. #: guix-git/doc/guix.texi:9274
  14510. 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."
  14511. msgstr ""
  14512. #. type: deffn
  14513. #: guix-git/doc/guix.texi:9276
  14514. #, no-wrap
  14515. msgid "{Scheme Syntax} substitute* @var{file} @"
  14516. msgstr ""
  14517. #. type: deffn
  14518. #: guix-git/doc/guix.texi:9281
  14519. 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:"
  14520. msgstr ""
  14521. #. type: lisp
  14522. #: guix-git/doc/guix.texi:9288
  14523. #, no-wrap
  14524. msgid ""
  14525. "(substitute* file\n"
  14526. " ((\"hello\")\n"
  14527. " \"good morning\\n\")\n"
  14528. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  14529. " (string-append \"baz\" letters end)))\n"
  14530. msgstr ""
  14531. #. type: deffn
  14532. #: guix-git/doc/guix.texi:9294
  14533. 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."
  14534. msgstr ""
  14535. #. type: deffn
  14536. #: guix-git/doc/guix.texi:9297
  14537. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  14538. msgstr ""
  14539. #. type: deffn
  14540. #: guix-git/doc/guix.texi:9300
  14541. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  14542. msgstr ""
  14543. #. type: deffn
  14544. #: guix-git/doc/guix.texi:9303
  14545. 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."
  14546. msgstr ""
  14547. #. type: subsection
  14548. #: guix-git/doc/guix.texi:9305
  14549. #, no-wrap
  14550. msgid "File Search"
  14551. msgstr ""
  14552. #. type: cindex
  14553. #: guix-git/doc/guix.texi:9307
  14554. #, no-wrap
  14555. msgid "file, searching"
  14556. msgstr ""
  14557. #. type: Plain text
  14558. #: guix-git/doc/guix.texi:9309
  14559. msgid "This section documents procedures to search and filter files."
  14560. msgstr ""
  14561. #. type: deffn
  14562. #: guix-git/doc/guix.texi:9310
  14563. #, no-wrap
  14564. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  14565. msgstr ""
  14566. #. type: deffn
  14567. #: guix-git/doc/guix.texi:9313
  14568. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  14569. msgstr ""
  14570. #. type: deffn
  14571. #: guix-git/doc/guix.texi:9315
  14572. #, no-wrap
  14573. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  14574. msgstr ""
  14575. #. type: deffn
  14576. #: guix-git/doc/guix.texi:9326
  14577. 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."
  14578. msgstr ""
  14579. #. type: Plain text
  14580. #: guix-git/doc/guix.texi:9330
  14581. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  14582. msgstr ""
  14583. #. type: lisp
  14584. #: guix-git/doc/guix.texi:9335
  14585. #, no-wrap
  14586. msgid ""
  14587. ";; List all the regular files in the current directory.\n"
  14588. "(find-files \".\")\n"
  14589. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  14590. "\n"
  14591. msgstr ""
  14592. #. type: lisp
  14593. #: guix-git/doc/guix.texi:9339
  14594. #, no-wrap
  14595. msgid ""
  14596. ";; List all the .scm files under gnu/services.\n"
  14597. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  14598. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  14599. "\n"
  14600. msgstr ""
  14601. #. type: lisp
  14602. #: guix-git/doc/guix.texi:9343
  14603. #, no-wrap
  14604. msgid ""
  14605. ";; List ar files in the current directory.\n"
  14606. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  14607. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  14608. msgstr ""
  14609. #. type: deffn
  14610. #: guix-git/doc/guix.texi:9345
  14611. #, no-wrap
  14612. msgid "{Scheme Procedure} which @var{program}"
  14613. msgstr ""
  14614. #. type: deffn
  14615. #: guix-git/doc/guix.texi:9348
  14616. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  14617. msgstr ""
  14618. #. type: deffn
  14619. #: guix-git/doc/guix.texi:9350
  14620. #, no-wrap
  14621. msgid "{Scheme Procedure} search-input-file @var{inputs} @var{name}"
  14622. msgstr ""
  14623. #. type: deffnx
  14624. #: guix-git/doc/guix.texi:9351
  14625. #, no-wrap
  14626. msgid "{Scheme Procedure} search-input-directory @var{inputs} @var{name}"
  14627. msgstr ""
  14628. #. type: deffn
  14629. #: guix-git/doc/guix.texi:9356
  14630. msgid "Return the complete file name for @var{name} as found in @var{inputs}; @code{search-input-file} searches for a regular file and @code{search-input-directory} searches for a directory. If @var{name} could not be found, an exception is raised."
  14631. msgstr ""
  14632. #. type: deffn
  14633. #: guix-git/doc/guix.texi:9360
  14634. msgid "Here, @var{inputs} must be an association list like @code{inputs} and @code{native-inputs} as available to build phases (@pxref{Build Phases})."
  14635. msgstr ""
  14636. #. type: Plain text
  14637. #: guix-git/doc/guix.texi:9364
  14638. msgid "Here is a (simplified) example of how @code{search-input-file} is used in a build phase of the @code{wireguard-tools} package:"
  14639. msgstr ""
  14640. #. type: lisp
  14641. #: guix-git/doc/guix.texi:9373
  14642. #, no-wrap
  14643. msgid ""
  14644. "(add-after 'install 'wrap-wg-quick\n"
  14645. " (lambda* (#:key inputs outputs #:allow-other-keys)\n"
  14646. " (let ((coreutils (string-append (assoc-ref inputs \"coreutils\")\n"
  14647. " \"/bin\")))\n"
  14648. " (wrap-program (search-input-file outputs \"bin/wg-quick\")\n"
  14649. " #:sh (search-input-file inputs \"bin/bash\")\n"
  14650. " `(\"PATH\" \":\" prefix ,(list coreutils))))))\n"
  14651. msgstr ""
  14652. #. type: subsection
  14653. #: guix-git/doc/guix.texi:9375
  14654. #, no-wrap
  14655. msgid "Program Invocation"
  14656. msgstr ""
  14657. #. type: cindex
  14658. #: guix-git/doc/guix.texi:9377
  14659. #, no-wrap
  14660. msgid "program invocation, from Scheme"
  14661. msgstr ""
  14662. #. type: cindex
  14663. #: guix-git/doc/guix.texi:9378
  14664. #, no-wrap
  14665. msgid "invoking programs, from Scheme"
  14666. msgstr ""
  14667. #. type: Plain text
  14668. #: guix-git/doc/guix.texi:9382
  14669. msgid "You'll find handy procedures to spawn processes in this module, essentially convenient wrappers around Guile's @code{system*} (@pxref{Processes, @code{system*},, guile, GNU Guile Reference Manual})."
  14670. msgstr ""
  14671. #. type: deffn
  14672. #: guix-git/doc/guix.texi:9383
  14673. #, no-wrap
  14674. msgid "{Scheme Procedure} invoke @var{program} @var{args}@dots{}"
  14675. msgstr ""
  14676. #. type: deffn
  14677. #: guix-git/doc/guix.texi:9387
  14678. msgid "Invoke @var{program} with the given @var{args}. Raise an @code{&invoke-error} exception if the exit code is non-zero; otherwise return @code{#t}."
  14679. msgstr ""
  14680. #. type: deffn
  14681. #: guix-git/doc/guix.texi:9391
  14682. msgid "The advantage compared to @code{system*} is that you do not need to check the return value. This reduces boilerplate in shell-script-like snippets for instance in package build phases."
  14683. msgstr ""
  14684. #. type: deffn
  14685. #: guix-git/doc/guix.texi:9393
  14686. #, no-wrap
  14687. msgid "{Scheme Procedure} invoke-error? @var{c}"
  14688. msgstr ""
  14689. #. type: deffn
  14690. #: guix-git/doc/guix.texi:9395
  14691. msgid "Return true if @var{c} is an @code{&invoke-error} condition."
  14692. msgstr ""
  14693. #. type: deffn
  14694. #: guix-git/doc/guix.texi:9397
  14695. #, no-wrap
  14696. msgid "{Scheme Procedure} invoke-error-program @var{c}"
  14697. msgstr ""
  14698. #. type: deffnx
  14699. #: guix-git/doc/guix.texi:9398
  14700. #, no-wrap
  14701. msgid "{Scheme Procedure} invoke-error-arguments @var{c}"
  14702. msgstr ""
  14703. #. type: deffnx
  14704. #: guix-git/doc/guix.texi:9399
  14705. #, no-wrap
  14706. msgid "{Scheme Procedure} invoke-error-exit-status @var{c}"
  14707. msgstr ""
  14708. #. type: deffnx
  14709. #: guix-git/doc/guix.texi:9400
  14710. #, no-wrap
  14711. msgid "{Scheme Procedure} invoke-error-term-signal @var{c}"
  14712. msgstr ""
  14713. #. type: deffnx
  14714. #: guix-git/doc/guix.texi:9401
  14715. #, no-wrap
  14716. msgid "{Scheme Procedure} invoke-error-stop-signal @var{c}"
  14717. msgstr ""
  14718. #. type: deffn
  14719. #: guix-git/doc/guix.texi:9403
  14720. msgid "Access specific fields of @var{c}, an @code{&invoke-error} condition."
  14721. msgstr ""
  14722. #. type: deffn
  14723. #: guix-git/doc/guix.texi:9405
  14724. #, no-wrap
  14725. msgid "{Scheme Procedure} report-invoke-error @var{c} [@var{port}]"
  14726. msgstr ""
  14727. #. type: deffn
  14728. #: guix-git/doc/guix.texi:9408
  14729. msgid "Report to @var{port} (by default the current error port) about @var{c}, an @code{&invoke-error} condition, in a human-friendly way."
  14730. msgstr ""
  14731. #. type: deffn
  14732. #: guix-git/doc/guix.texi:9410
  14733. msgid "Typical usage would look like this:"
  14734. msgstr ""
  14735. #. type: lisp
  14736. #: guix-git/doc/guix.texi:9414
  14737. #, no-wrap
  14738. msgid ""
  14739. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14740. " (guix build utils))\n"
  14741. "\n"
  14742. msgstr ""
  14743. #. type: lisp
  14744. #: guix-git/doc/guix.texi:9418
  14745. #, no-wrap
  14746. msgid ""
  14747. "(guard (c ((invoke-error? c)\n"
  14748. " (report-invoke-error c)))\n"
  14749. " (invoke \"date\" \"--imaginary-option\"))\n"
  14750. "\n"
  14751. msgstr ""
  14752. #. type: lisp
  14753. #: guix-git/doc/guix.texi:9420
  14754. #, no-wrap
  14755. msgid "@print{} command \"date\" \"--imaginary-option\" failed with status 1\n"
  14756. msgstr ""
  14757. #. type: deffn
  14758. #: guix-git/doc/guix.texi:9423
  14759. #, no-wrap
  14760. msgid "{Scheme Procedure} invoke/quiet @var{program} @var{args}@dots{}"
  14761. msgstr ""
  14762. #. type: deffn
  14763. #: guix-git/doc/guix.texi:9429
  14764. msgid "Invoke @var{program} with @var{args} and capture @var{program}'s standard output and standard error. If @var{program} succeeds, print nothing and return the unspecified value; otherwise, raise a @code{&message} error condition that includes the status code and the output of @var{program}."
  14765. msgstr ""
  14766. #. type: deffn
  14767. #: guix-git/doc/guix.texi:9431
  14768. msgid "Here's an example:"
  14769. msgstr ""
  14770. #. type: lisp
  14771. #: guix-git/doc/guix.texi:9436
  14772. #, no-wrap
  14773. msgid ""
  14774. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14775. " (srfi srfi-35) ;for 'message-condition?'\n"
  14776. " (guix build utils))\n"
  14777. "\n"
  14778. msgstr ""
  14779. #. type: lisp
  14780. #: guix-git/doc/guix.texi:9441
  14781. #, no-wrap
  14782. msgid ""
  14783. "(guard (c ((message-condition? c)\n"
  14784. " (display (condition-message c))))\n"
  14785. " (invoke/quiet \"date\") ;all is fine\n"
  14786. " (invoke/quiet \"date\" \"--imaginary-option\"))\n"
  14787. "\n"
  14788. msgstr ""
  14789. #. type: lisp
  14790. #: guix-git/doc/guix.texi:9443
  14791. #, no-wrap
  14792. msgid ""
  14793. "@print{} 'date --imaginary-option' exited with status 1; output follows:\n"
  14794. "\n"
  14795. msgstr ""
  14796. #. type: lisp
  14797. #: guix-git/doc/guix.texi:9446
  14798. #, no-wrap
  14799. msgid ""
  14800. " date: unrecognized option '--imaginary-option'\n"
  14801. " Try 'date --help' for more information.\n"
  14802. msgstr ""
  14803. #. type: Plain text
  14804. #: guix-git/doc/guix.texi:9458
  14805. 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})."
  14806. msgstr ""
  14807. #. type: Plain text
  14808. #: guix-git/doc/guix.texi:9462
  14809. 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."
  14810. msgstr ""
  14811. #. type: cindex
  14812. #: guix-git/doc/guix.texi:9463
  14813. #, no-wrap
  14814. msgid "build phases, modifying"
  14815. msgstr ""
  14816. #. type: deffn
  14817. #: guix-git/doc/guix.texi:9464
  14818. #, no-wrap
  14819. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  14820. msgstr ""
  14821. #. type: deffn
  14822. #: guix-git/doc/guix.texi:9467
  14823. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  14824. msgstr ""
  14825. #. type: lisp
  14826. #: guix-git/doc/guix.texi:9473
  14827. #, no-wrap
  14828. msgid ""
  14829. "(delete @var{old-phase-name})\n"
  14830. "(replace @var{old-phase-name} @var{new-phase})\n"
  14831. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14832. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14833. msgstr ""
  14834. #. type: deffn
  14835. #: guix-git/doc/guix.texi:9477
  14836. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  14837. msgstr ""
  14838. #. type: Plain text
  14839. #: guix-git/doc/guix.texi:9488
  14840. 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:"
  14841. msgstr ""
  14842. #. type: lisp
  14843. #: guix-git/doc/guix.texi:9501
  14844. #, no-wrap
  14845. msgid ""
  14846. "(modify-phases %standard-phases\n"
  14847. " (add-after 'install 'fix-egrep-and-fgrep\n"
  14848. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  14849. " ;; absolute file name instead of searching for it in $PATH.\n"
  14850. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14851. " (let* ((out (assoc-ref outputs \"out\"))\n"
  14852. " (bin (string-append out \"/bin\")))\n"
  14853. " (substitute* (list (string-append bin \"/egrep\")\n"
  14854. " (string-append bin \"/fgrep\"))\n"
  14855. " ((\"^exec grep\")\n"
  14856. " (string-append \"exec \" bin \"/grep\")))))))\n"
  14857. msgstr ""
  14858. #. type: Plain text
  14859. #: guix-git/doc/guix.texi:9508
  14860. 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:"
  14861. msgstr ""
  14862. #. type: lisp
  14863. #: guix-git/doc/guix.texi:9520
  14864. #, no-wrap
  14865. msgid ""
  14866. "(modify-phases %standard-phases\n"
  14867. " (delete 'configure) ;no 'configure' script\n"
  14868. " (replace 'install\n"
  14869. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14870. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14871. " ;; rule so do it by ourselves.\n"
  14872. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14873. " \"/bin\")))\n"
  14874. " (install-file \"footswitch\" bin)\n"
  14875. " (install-file \"scythe\" bin)))))\n"
  14876. msgstr ""
  14877. #. type: subsection
  14878. #: guix-git/doc/guix.texi:9524
  14879. #, no-wrap
  14880. msgid "Wrappers"
  14881. msgstr ""
  14882. #. type: cindex
  14883. #: guix-git/doc/guix.texi:9526
  14884. #, no-wrap
  14885. msgid "program wrappers"
  14886. msgstr ""
  14887. #. type: cindex
  14888. #: guix-git/doc/guix.texi:9527
  14889. #, no-wrap
  14890. msgid "wrapping programs"
  14891. msgstr ""
  14892. #. type: Plain text
  14893. #: guix-git/doc/guix.texi:9533
  14894. msgid "It is not unusual for a command to require certain environment variables to be set for proper functioning, typically search paths (@pxref{Search Paths}). Failing to do that, the command might fail to find files or other commands it relies on, or it might pick the ``wrong'' ones---depending on the environment in which it runs. Examples include:"
  14895. msgstr ""
  14896. #. type: itemize
  14897. #: guix-git/doc/guix.texi:9537
  14898. msgid "a shell script that assumes all the commands it uses are in @env{PATH};"
  14899. msgstr ""
  14900. #. type: itemize
  14901. #: guix-git/doc/guix.texi:9541
  14902. msgid "a Guile program that assumes all its modules are in @env{GUILE_LOAD_PATH} and @env{GUILE_LOAD_COMPILED_PATH};"
  14903. msgstr ""
  14904. #. type: itemize
  14905. #: guix-git/doc/guix.texi:9545
  14906. msgid "a Qt application that expects to find certain plugins in @env{QT_PLUGIN_PATH}."
  14907. msgstr ""
  14908. #. type: Plain text
  14909. #: guix-git/doc/guix.texi:9553
  14910. msgid "For a package writer, the goal is to make sure commands always work the same rather than depend on some external settings. One way to achieve that is to @dfn{wrap} commands in a thin script that sets those environment variables, thereby ensuring that those run-time dependencies are always found. The wrapper would be used to set @env{PATH}, @env{GUILE_LOAD_PATH}, or @env{QT_PLUGIN_PATH} in the examples above."
  14911. msgstr ""
  14912. #. type: Plain text
  14913. #: guix-git/doc/guix.texi:9556
  14914. msgid "To ease that task, the @code{(guix build utils)} module provides a couple of helpers to wrap commands."
  14915. msgstr ""
  14916. #. type: deffn
  14917. #: guix-git/doc/guix.texi:9557
  14918. #, no-wrap
  14919. msgid "{Scheme Procedure} wrap-program @var{program} @"
  14920. msgstr ""
  14921. #. type: deffn
  14922. #: guix-git/doc/guix.texi:9560
  14923. msgid "[#:sh @var{sh}] [#:rest @var{variables}] Make a wrapper for @var{program}. @var{variables} should look like this:"
  14924. msgstr ""
  14925. #. type: lisp
  14926. #: guix-git/doc/guix.texi:9563
  14927. #, no-wrap
  14928. msgid "'(@var{variable} @var{delimiter} @var{position} @var{list-of-directories})\n"
  14929. msgstr ""
  14930. #. type: deffn
  14931. #: guix-git/doc/guix.texi:9567
  14932. msgid "where @var{delimiter} is optional. @code{:} will be used if @var{delimiter} is not given."
  14933. msgstr ""
  14934. #. type: deffn
  14935. #: guix-git/doc/guix.texi:9569
  14936. msgid "For example, this call:"
  14937. msgstr ""
  14938. #. type: lisp
  14939. #: guix-git/doc/guix.texi:9575
  14940. #, no-wrap
  14941. msgid ""
  14942. "(wrap-program \"foo\"\n"
  14943. " '(\"PATH\" \":\" = (\"/gnu/.../bar/bin\"))\n"
  14944. " '(\"CERT_PATH\" suffix (\"/gnu/.../baz/certs\"\n"
  14945. " \"/qux/certs\")))\n"
  14946. msgstr ""
  14947. #. type: deffn
  14948. #: guix-git/doc/guix.texi:9579
  14949. msgid "will copy @file{foo} to @file{.foo-real} and create the file @file{foo} with the following contents:"
  14950. msgstr ""
  14951. #. type: example
  14952. #: guix-git/doc/guix.texi:9585
  14953. #, no-wrap
  14954. msgid ""
  14955. "#!location/of/bin/bash\n"
  14956. "export PATH=\"/gnu/.../bar/bin\"\n"
  14957. "export CERT_PATH=\"$CERT_PATH$@{CERT_PATH:+:@}/gnu/.../baz/certs:/qux/certs\"\n"
  14958. "exec -a $0 location/of/.foo-real \"$@@\"\n"
  14959. msgstr ""
  14960. #. type: deffn
  14961. #: guix-git/doc/guix.texi:9590
  14962. msgid "If @var{program} has previously been wrapped by @code{wrap-program}, the wrapper is extended with definitions for @var{variables}. If it is not, @var{sh} will be used as the interpreter."
  14963. msgstr ""
  14964. #. type: deffn
  14965. #: guix-git/doc/guix.texi:9592
  14966. #, no-wrap
  14967. msgid "{Scheme Procedure} wrap-script @var{program} @"
  14968. msgstr ""
  14969. #. type: deffn
  14970. #: guix-git/doc/guix.texi:9600
  14971. msgid "[#:guile @var{guile}] [#:rest @var{variables}] Wrap the script @var{program} such that @var{variables} are set first. The format of @var{variables} is the same as in the @code{wrap-program} procedure. This procedure differs from @code{wrap-program} in that it does not create a separate shell script. Instead, @var{program} is modified directly by prepending a Guile script, which is interpreted as a comment in the script's language."
  14972. msgstr ""
  14973. #. type: deffn
  14974. #: guix-git/doc/guix.texi:9603
  14975. msgid "Special encoding comments as supported by Python are recreated on the second line."
  14976. msgstr ""
  14977. #. type: deffn
  14978. #: guix-git/doc/guix.texi:9606
  14979. msgid "Note that this procedure can only be used once per file as Guile scripts are not supported."
  14980. msgstr ""
  14981. #. type: cindex
  14982. #: guix-git/doc/guix.texi:9611
  14983. #, no-wrap
  14984. msgid "search path"
  14985. msgstr ""
  14986. #. type: Plain text
  14987. #: guix-git/doc/guix.texi:9618
  14988. msgid "Many programs and libraries look for input data in a @dfn{search path}, a list of directories: shells like Bash look for executables in the command search path, a C compiler looks for @file{.h} files in its header search path, the Python interpreter looks for @file{.py} files in its search path, the spell checker has a search path for dictionaries, and so on."
  14989. msgstr ""
  14990. #. type: Plain text
  14991. #: guix-git/doc/guix.texi:9626
  14992. msgid "Search paths can usually be defined or overridden @i{via} environment variables (@pxref{Environment Variables,,, libc, The GNU C Library Reference Manual}). For example, the search paths mentioned above can be changed by defining the @env{PATH}, @env{C_INCLUDE_PATH}, @env{PYTHONPATH} (or @env{GUIX_PYTHONPATH}), and @env{DICPATH} environment variables---you know, all these something-PATH variables that you need to get right or things ``won't be found''."
  14993. msgstr ""
  14994. #. type: Plain text
  14995. #: guix-git/doc/guix.texi:9636
  14996. msgid "You may have noticed from the command line that Guix ``knows'' which search path environment variables should be defined, and how. When you install packages in your default profile, the file @file{~/.guix-profile/etc/profile} is created, which you can ``source'' from the shell to set those variables. Likewise, if you ask @command{guix shell} to create an environment containing Python and NumPy, a Python library, and if you pass it the @option{--search-paths} option, it will tell you about @env{PATH} and @env{GUIX_PYTHONPATH} (@pxref{Invoking guix shell}):"
  14997. msgstr ""
  14998. #. type: example
  14999. #: guix-git/doc/guix.texi:9641
  15000. #, no-wrap
  15001. msgid ""
  15002. "$ guix shell python python-numpy --pure --search-paths\n"
  15003. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15004. "export GUIX_PYTHONPATH=\"/gnu/store/@dots{}-profile/lib/python3.9/site-packages\"\n"
  15005. msgstr ""
  15006. #. type: Plain text
  15007. #: guix-git/doc/guix.texi:9645
  15008. msgid "When you omit @option{--search-paths}, it defines these environment variables right away, such that Python can readily find NumPy:"
  15009. msgstr ""
  15010. #. type: example
  15011. #: guix-git/doc/guix.texi:9654
  15012. #, no-wrap
  15013. msgid ""
  15014. "$ guix shell python python-numpy -- python3\n"
  15015. "Python 3.9.6 (default, Jan 1 1970, 00:00:01)\n"
  15016. "[GCC 10.3.0] on linux\n"
  15017. "Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
  15018. ">>> import numpy\n"
  15019. ">>> numpy.version.version\n"
  15020. "'1.20.3'\n"
  15021. msgstr ""
  15022. #. type: Plain text
  15023. #: guix-git/doc/guix.texi:9659
  15024. msgid "For this to work, the definition of the @code{python} package @emph{declares} the search path it cares about and its associated environment variable, @env{GUIX_PYTHONPATH}. It looks like this:"
  15025. msgstr ""
  15026. #. type: lisp
  15027. #: guix-git/doc/guix.texi:9669
  15028. #, no-wrap
  15029. msgid ""
  15030. "(package\n"
  15031. " (name \"python\")\n"
  15032. " (version \"3.9.9\")\n"
  15033. " ;; some fields omitted...\n"
  15034. " (native-search-paths\n"
  15035. " (list (search-path-specification\n"
  15036. " (variable \"GUIX_PYTHONPATH\")\n"
  15037. " (files (list \"lib/python/3.9/site-packages\"))))))\n"
  15038. msgstr ""
  15039. #. type: Plain text
  15040. #: guix-git/doc/guix.texi:9684
  15041. msgid "What this @code{native-search-paths} field says is that, when the @code{python} package is used, the @env{GUIX_PYTHONPATH} environment variable must be defined to include all the @file{lib/python/3.9/site-packages} sub-directories encountered in its environment. (The @code{native-} bit means that, if we are in a cross-compilation environment, only native inputs may be added to the search path; @pxref{package Reference, @code{search-paths}}.) In the NumPy example above, the profile where @code{python} appears contains exactly one such sub-directory, and @env{GUIX_PYTHONPATH} is set to that. When there are several @file{lib/python/3.9/site-packages}---this is the case in package build environments---they are all added to @env{GUIX_PYTHONPATH}, separated by colons (@code{:})."
  15042. msgstr ""
  15043. #. type: quotation
  15044. #: guix-git/doc/guix.texi:9691
  15045. msgid "Notice that @env{GUIX_PYTHONPATH} is specified as part of the definition of the @code{python} package, and @emph{not} as part of that of @code{python-numpy}. This is because this environment variable ``belongs'' to Python, not NumPy: Python actually reads the value of that variable and honors it."
  15046. msgstr ""
  15047. #. type: quotation
  15048. #: guix-git/doc/guix.texi:9695
  15049. msgid "Corollary: if you create a profile that does not contain @code{python}, @code{GUIX_PYTHONPATH} will @emph{not} be defined, even if it contains packages that provide @file{.py} files:"
  15050. msgstr ""
  15051. #. type: example
  15052. #: guix-git/doc/guix.texi:9699
  15053. #, no-wrap
  15054. msgid ""
  15055. "$ guix shell python-numpy --search-paths --pure\n"
  15056. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15057. msgstr ""
  15058. #. type: quotation
  15059. #: guix-git/doc/guix.texi:9703
  15060. msgid "This makes a lot of sense if we look at this profile in isolation: no software in this profile would read @env{GUIX_PYTHONPATH}."
  15061. msgstr ""
  15062. #. type: Plain text
  15063. #: guix-git/doc/guix.texi:9713
  15064. msgid "Of course, there are many variations on that theme: some packages honor more than one search path, some use separators other than colon, some accumulate several directories in their search path, and so on. A more complex example is the search path of libxml2: the value of the @env{XML_CATALOG_FILES} environment variable is space-separated, it must contain a list of @file{catalog.xml} files (not directories), which are to be found in @file{xml} sub-directories---nothing less. The search path specification looks like this:"
  15065. msgstr ""
  15066. #. type: lisp
  15067. #: guix-git/doc/guix.texi:9725
  15068. #, no-wrap
  15069. msgid ""
  15070. "(package\n"
  15071. " (name \"libxml2\")\n"
  15072. " ;; some fields omitted\n"
  15073. " (native-search-paths\n"
  15074. " (list (search-path-specification\n"
  15075. " (variable \"XML_CATALOG_FILES\")\n"
  15076. " (separator \" \")\n"
  15077. " (files '(\"xml\"))\n"
  15078. " (file-pattern \"^catalog\\\\.xml$\")\n"
  15079. " (file-type 'regular)))))\n"
  15080. msgstr ""
  15081. #. type: Plain text
  15082. #: guix-git/doc/guix.texi:9728
  15083. msgid "Worry not, search path specifications are usually not this tricky."
  15084. msgstr ""
  15085. #. type: Plain text
  15086. #: guix-git/doc/guix.texi:9732
  15087. msgid "The @code{(guix search-paths)} module defines the data type of search path specifications and a number of helper procedures. Below is the reference of search path specifications."
  15088. msgstr ""
  15089. #. type: deftp
  15090. #: guix-git/doc/guix.texi:9733
  15091. #, no-wrap
  15092. msgid "{Data Type} search-path-specification"
  15093. msgstr ""
  15094. #. type: deftp
  15095. #: guix-git/doc/guix.texi:9735
  15096. msgid "The data type for search path specifications."
  15097. msgstr ""
  15098. #. type: code{#1}
  15099. #: guix-git/doc/guix.texi:9737
  15100. #, no-wrap
  15101. msgid "variable"
  15102. msgstr ""
  15103. #. type: table
  15104. #: guix-git/doc/guix.texi:9739
  15105. msgid "The name of the environment variable for this search path (a string)."
  15106. msgstr ""
  15107. #. type: code{#1}
  15108. #: guix-git/doc/guix.texi:9740 guix-git/doc/guix.texi:17607
  15109. #, no-wrap
  15110. msgid "files"
  15111. msgstr ""
  15112. #. type: table
  15113. #: guix-git/doc/guix.texi:9743
  15114. msgid "The list of sub-directories (strings) that should be added to the search path."
  15115. msgstr ""
  15116. #. type: item
  15117. #: guix-git/doc/guix.texi:9744
  15118. #, no-wrap
  15119. msgid "@code{separator} (default: @code{\":\"})"
  15120. msgstr ""
  15121. #. type: table
  15122. #: guix-git/doc/guix.texi:9746
  15123. msgid "The string used to separate search path components."
  15124. msgstr ""
  15125. #. type: table
  15126. #: guix-git/doc/guix.texi:9754
  15127. msgid "As a special case, a @code{separator} value of @code{#f} specifies a ``single-component search path''---in other words, a search path that cannot contain more than one element. This is useful in some cases, such as the @code{SSL_CERT_DIR} variable (honored by OpenSSL, cURL, and a few other packages) or the @code{ASPELL_DICT_DIR} variable (honored by the GNU Aspell spell checker), both of which must point to a single directory."
  15128. msgstr ""
  15129. #. type: item
  15130. #: guix-git/doc/guix.texi:9755
  15131. #, no-wrap
  15132. msgid "@code{file-type} (default: @code{'directory})"
  15133. msgstr ""
  15134. #. type: table
  15135. #: guix-git/doc/guix.texi:9759
  15136. msgid "The type of file being matched---@code{'directory} or @code{'regular}, though it can be any symbol returned by @code{stat:type} (@pxref{File System, @code{stat},, guile, GNU Guile Reference Manual})."
  15137. msgstr ""
  15138. #. type: table
  15139. #: guix-git/doc/guix.texi:9762
  15140. msgid "In the libxml2 example above, we would match regular files; in the Python example, we would match directories."
  15141. msgstr ""
  15142. #. type: item
  15143. #: guix-git/doc/guix.texi:9763
  15144. #, no-wrap
  15145. msgid "@code{file-pattern} (default: @code{#f})"
  15146. msgstr ""
  15147. #. type: table
  15148. #: guix-git/doc/guix.texi:9767
  15149. msgid "This must be either @code{#f} or a regular expression specifying files to be matched @emph{within} the sub-directories specified by the @code{files} field."
  15150. msgstr ""
  15151. #. type: table
  15152. #: guix-git/doc/guix.texi:9769
  15153. msgid "Again, the libxml2 example shows a situation where this is needed."
  15154. msgstr ""
  15155. #. type: Plain text
  15156. #: guix-git/doc/guix.texi:9775
  15157. msgid "How do you turn search path specifications on one hand and a bunch of directories on the other hand in a set of environment variable definitions? That's the job of @code{evaluate-search-paths}."
  15158. msgstr ""
  15159. #. type: deffn
  15160. #: guix-git/doc/guix.texi:9776
  15161. #, no-wrap
  15162. msgid "{Scheme Procedure} evaluate-search-paths @var{search-paths} @"
  15163. msgstr ""
  15164. #. type: deffn
  15165. #: guix-git/doc/guix.texi:9782
  15166. msgid "@var{directories} [@var{getenv}] Evaluate @var{search-paths}, a list of search-path specifications, for @var{directories}, a list of directory names, and return a list of specification/value pairs. Use @var{getenv} to determine the current settings and report only settings not already effective."
  15167. msgstr ""
  15168. #. type: Plain text
  15169. #: guix-git/doc/guix.texi:9786
  15170. msgid "The @code{(guix profiles)} provides a higher-level helper procedure, @code{load-profile}, that sets the environment variables of a profile."
  15171. msgstr ""
  15172. #. type: cindex
  15173. #: guix-git/doc/guix.texi:9791
  15174. #, no-wrap
  15175. msgid "store items"
  15176. msgstr ""
  15177. #. type: cindex
  15178. #: guix-git/doc/guix.texi:9792
  15179. #, no-wrap
  15180. msgid "store paths"
  15181. msgstr ""
  15182. #. type: Plain text
  15183. #: guix-git/doc/guix.texi:9803
  15184. 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}."
  15185. msgstr ""
  15186. #. type: Plain text
  15187. #: guix-git/doc/guix.texi:9808
  15188. 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."
  15189. msgstr ""
  15190. #. type: quotation
  15191. #: guix-git/doc/guix.texi:9813
  15192. 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})."
  15193. msgstr ""
  15194. #. type: quotation
  15195. #: guix-git/doc/guix.texi:9817
  15196. 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."
  15197. msgstr ""
  15198. #. type: Plain text
  15199. #: guix-git/doc/guix.texi:9824
  15200. 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."
  15201. msgstr ""
  15202. #. type: defvr
  15203. #: guix-git/doc/guix.texi:9825
  15204. #, no-wrap
  15205. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  15206. msgstr ""
  15207. #. type: defvr
  15208. #: guix-git/doc/guix.texi:9830
  15209. 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:"
  15210. msgstr ""
  15211. #. type: code{#1}
  15212. #: guix-git/doc/guix.texi:9832 guix-git/doc/guix.texi:26613
  15213. #, no-wrap
  15214. msgid "file"
  15215. msgstr ""
  15216. #. type: itemx
  15217. #: guix-git/doc/guix.texi:9833
  15218. #, no-wrap
  15219. msgid "unix"
  15220. msgstr ""
  15221. #. type: table
  15222. #: guix-git/doc/guix.texi:9837
  15223. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  15224. msgstr ""
  15225. #. type: table
  15226. #: guix-git/doc/guix.texi:9846
  15227. 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):"
  15228. msgstr ""
  15229. #. type: example
  15230. #: guix-git/doc/guix.texi:9849
  15231. #, no-wrap
  15232. msgid "guix://master.guix.example.org:1234\n"
  15233. msgstr ""
  15234. #. type: table
  15235. #: guix-git/doc/guix.texi:9854
  15236. 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}."
  15237. msgstr ""
  15238. #. type: table
  15239. #: guix-git/doc/guix.texi:9858
  15240. 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}})."
  15241. msgstr ""
  15242. #. type: item
  15243. #: guix-git/doc/guix.texi:9859
  15244. #, no-wrap
  15245. msgid "ssh"
  15246. msgstr ""
  15247. #. type: cindex
  15248. #: guix-git/doc/guix.texi:9860
  15249. #, no-wrap
  15250. msgid "SSH access to build daemons"
  15251. msgstr ""
  15252. #. type: table
  15253. #: guix-git/doc/guix.texi:9866
  15254. 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:"
  15255. msgstr ""
  15256. #. type: example
  15257. #: guix-git/doc/guix.texi:9869
  15258. #, no-wrap
  15259. msgid "ssh://charlie@@guix.example.org:22\n"
  15260. msgstr ""
  15261. #. type: table
  15262. #: guix-git/doc/guix.texi:9873
  15263. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  15264. msgstr ""
  15265. #. type: defvr
  15266. #: guix-git/doc/guix.texi:9876
  15267. msgid "Additional URI schemes may be supported in the future."
  15268. msgstr ""
  15269. #. type: quotation
  15270. #: guix-git/doc/guix.texi:9883
  15271. 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})."
  15272. msgstr ""
  15273. #. type: deffn
  15274. #: guix-git/doc/guix.texi:9886
  15275. #, no-wrap
  15276. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  15277. msgstr ""
  15278. #. type: deffn
  15279. #: guix-git/doc/guix.texi:9891
  15280. 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."
  15281. msgstr ""
  15282. #. type: deffn
  15283. #: guix-git/doc/guix.texi:9894
  15284. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  15285. msgstr ""
  15286. #. type: deffn
  15287. #: guix-git/doc/guix.texi:9896
  15288. #, no-wrap
  15289. msgid "{Scheme Procedure} close-connection @var{server}"
  15290. msgstr ""
  15291. #. type: deffn
  15292. #: guix-git/doc/guix.texi:9898
  15293. msgid "Close the connection to @var{server}."
  15294. msgstr ""
  15295. #. type: defvr
  15296. #: guix-git/doc/guix.texi:9900
  15297. #, no-wrap
  15298. msgid "{Scheme Variable} current-build-output-port"
  15299. msgstr ""
  15300. #. type: defvr
  15301. #: guix-git/doc/guix.texi:9903
  15302. 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."
  15303. msgstr ""
  15304. #. type: Plain text
  15305. #: guix-git/doc/guix.texi:9907
  15306. msgid "Procedures that make RPCs all take a server object as their first argument."
  15307. msgstr ""
  15308. #. type: deffn
  15309. #: guix-git/doc/guix.texi:9908
  15310. #, no-wrap
  15311. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  15312. msgstr ""
  15313. #. type: cindex
  15314. #: guix-git/doc/guix.texi:9909
  15315. #, no-wrap
  15316. msgid "invalid store items"
  15317. msgstr ""
  15318. #. type: deffn
  15319. #: guix-git/doc/guix.texi:9914
  15320. 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)."
  15321. msgstr ""
  15322. #. type: deffn
  15323. #: guix-git/doc/guix.texi:9917
  15324. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  15325. msgstr ""
  15326. #. type: deffn
  15327. #: guix-git/doc/guix.texi:9919
  15328. #, no-wrap
  15329. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  15330. msgstr ""
  15331. #. type: deffn
  15332. #: guix-git/doc/guix.texi:9923
  15333. 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."
  15334. msgstr ""
  15335. #. type: deffn
  15336. #: guix-git/doc/guix.texi:9925
  15337. #, no-wrap
  15338. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  15339. msgstr ""
  15340. #. type: deffn
  15341. #: guix-git/doc/guix.texi:9930
  15342. 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."
  15343. msgstr ""
  15344. #. type: Plain text
  15345. #: guix-git/doc/guix.texi:9936
  15346. 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})."
  15347. msgstr ""
  15348. #. type: i{#1}
  15349. #: guix-git/doc/guix.texi:9939
  15350. msgid "This section is currently incomplete."
  15351. msgstr ""
  15352. #. type: cindex
  15353. #: guix-git/doc/guix.texi:9943
  15354. #, no-wrap
  15355. msgid "derivations"
  15356. msgstr ""
  15357. #. type: Plain text
  15358. #: guix-git/doc/guix.texi:9947
  15359. 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:"
  15360. msgstr ""
  15361. #. type: itemize
  15362. #: guix-git/doc/guix.texi:9952
  15363. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  15364. msgstr ""
  15365. #. type: cindex
  15366. #: guix-git/doc/guix.texi:9954
  15367. #, no-wrap
  15368. msgid "build-time dependencies"
  15369. msgstr ""
  15370. #. type: cindex
  15371. #: guix-git/doc/guix.texi:9955
  15372. #, no-wrap
  15373. msgid "dependencies, build-time"
  15374. msgstr ""
  15375. #. type: itemize
  15376. #: guix-git/doc/guix.texi:9959
  15377. 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.)."
  15378. msgstr ""
  15379. #. type: itemize
  15380. #: guix-git/doc/guix.texi:9962
  15381. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  15382. msgstr ""
  15383. #. type: itemize
  15384. #: guix-git/doc/guix.texi:9966
  15385. msgid "The file name of a build script in the store, along with the arguments to be passed."
  15386. msgstr ""
  15387. #. type: itemize
  15388. #: guix-git/doc/guix.texi:9969
  15389. msgid "A list of environment variables to be defined."
  15390. msgstr ""
  15391. #. type: cindex
  15392. #: guix-git/doc/guix.texi:9972
  15393. #, no-wrap
  15394. msgid "derivation path"
  15395. msgstr ""
  15396. #. type: Plain text
  15397. #: guix-git/doc/guix.texi:9980
  15398. 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})."
  15399. msgstr ""
  15400. #. type: cindex
  15401. #: guix-git/doc/guix.texi:9981
  15402. #, no-wrap
  15403. msgid "fixed-output derivations"
  15404. msgstr ""
  15405. #. type: Plain text
  15406. #: guix-git/doc/guix.texi:9988
  15407. 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."
  15408. msgstr ""
  15409. #. type: item
  15410. #: guix-git/doc/guix.texi:9989 guix-git/doc/guix.texi:13802
  15411. #, no-wrap
  15412. msgid "references"
  15413. msgstr ""
  15414. #. type: cindex
  15415. #: guix-git/doc/guix.texi:9990
  15416. #, no-wrap
  15417. msgid "run-time dependencies"
  15418. msgstr ""
  15419. #. type: cindex
  15420. #: guix-git/doc/guix.texi:9991
  15421. #, no-wrap
  15422. msgid "dependencies, run-time"
  15423. msgstr ""
  15424. #. type: Plain text
  15425. #: guix-git/doc/guix.texi:9998
  15426. 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."
  15427. msgstr ""
  15428. #. type: Plain text
  15429. #: guix-git/doc/guix.texi:10003
  15430. 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:"
  15431. msgstr ""
  15432. #. type: deffn
  15433. #: guix-git/doc/guix.texi:10004
  15434. #, no-wrap
  15435. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  15436. msgstr ""
  15437. #. type: deffn
  15438. #: guix-git/doc/guix.texi:10013
  15439. 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."
  15440. msgstr ""
  15441. #. type: deffn
  15442. #: guix-git/doc/guix.texi:10020
  15443. 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."
  15444. msgstr ""
  15445. #. type: deffn
  15446. #: guix-git/doc/guix.texi:10025
  15447. 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."
  15448. msgstr ""
  15449. #. type: deffn
  15450. #: guix-git/doc/guix.texi:10030
  15451. 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."
  15452. msgstr ""
  15453. #. type: deffn
  15454. #: guix-git/doc/guix.texi:10037
  15455. 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."
  15456. msgstr ""
  15457. #. type: deffn
  15458. #: guix-git/doc/guix.texi:10042
  15459. 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."
  15460. msgstr ""
  15461. #. type: deffn
  15462. #: guix-git/doc/guix.texi:10047
  15463. 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."
  15464. msgstr ""
  15465. #. type: deffn
  15466. #: guix-git/doc/guix.texi:10050
  15467. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  15468. msgstr ""
  15469. #. type: Plain text
  15470. #: guix-git/doc/guix.texi:10056
  15471. 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:"
  15472. msgstr ""
  15473. #. type: lisp
  15474. #: guix-git/doc/guix.texi:10061
  15475. #, no-wrap
  15476. msgid ""
  15477. "(use-modules (guix utils)\n"
  15478. " (guix store)\n"
  15479. " (guix derivations))\n"
  15480. "\n"
  15481. msgstr ""
  15482. #. type: lisp
  15483. #: guix-git/doc/guix.texi:10070
  15484. #, no-wrap
  15485. msgid ""
  15486. "(let ((builder ; add the Bash script to the store\n"
  15487. " (add-text-to-store store \"my-builder.sh\"\n"
  15488. " \"echo hello world > $out\\n\" '())))\n"
  15489. " (derivation store \"foo\"\n"
  15490. " bash `(\"-e\" ,builder)\n"
  15491. " #:inputs `((,bash) (,builder))\n"
  15492. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  15493. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  15494. msgstr ""
  15495. #. type: Plain text
  15496. #: guix-git/doc/guix.texi:10077
  15497. 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}."
  15498. msgstr ""
  15499. #. type: Plain text
  15500. #: guix-git/doc/guix.texi:10082
  15501. 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}."
  15502. msgstr ""
  15503. #. type: deffn
  15504. #: guix-git/doc/guix.texi:10083
  15505. #, no-wrap
  15506. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  15507. msgstr ""
  15508. #. type: deffn
  15509. #: guix-git/doc/guix.texi:10099
  15510. 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))}."
  15511. msgstr ""
  15512. #. type: deffn
  15513. #: guix-git/doc/guix.texi:10107
  15514. 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."
  15515. msgstr ""
  15516. #. type: deffn
  15517. #: guix-git/doc/guix.texi:10111
  15518. 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."
  15519. msgstr ""
  15520. #. type: deffn
  15521. #: guix-git/doc/guix.texi:10116
  15522. 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?}."
  15523. msgstr ""
  15524. #. type: Plain text
  15525. #: guix-git/doc/guix.texi:10121
  15526. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  15527. msgstr ""
  15528. #. type: lisp
  15529. #: guix-git/doc/guix.texi:10129
  15530. #, no-wrap
  15531. msgid ""
  15532. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  15533. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  15534. " (call-with-output-file (string-append out \"/test\")\n"
  15535. " (lambda (p)\n"
  15536. " (display '(hello guix) p))))))\n"
  15537. " (build-expression->derivation store \"goo\" builder))\n"
  15538. "\n"
  15539. msgstr ""
  15540. #. type: lisp
  15541. #: guix-git/doc/guix.texi:10131
  15542. #, no-wrap
  15543. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  15544. msgstr ""
  15545. #. type: cindex
  15546. #: guix-git/doc/guix.texi:10137
  15547. #, no-wrap
  15548. msgid "monad"
  15549. msgstr ""
  15550. #. type: Plain text
  15551. #: guix-git/doc/guix.texi:10143
  15552. 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."
  15553. msgstr ""
  15554. #. type: Plain text
  15555. #: guix-git/doc/guix.texi:10149
  15556. 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."
  15557. msgstr ""
  15558. #. type: cindex
  15559. #: guix-git/doc/guix.texi:10150
  15560. #, no-wrap
  15561. msgid "monadic values"
  15562. msgstr ""
  15563. #. type: cindex
  15564. #: guix-git/doc/guix.texi:10151
  15565. #, no-wrap
  15566. msgid "monadic functions"
  15567. msgstr ""
  15568. #. type: Plain text
  15569. #: guix-git/doc/guix.texi:10161
  15570. 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}."
  15571. msgstr ""
  15572. #. type: Plain text
  15573. #: guix-git/doc/guix.texi:10163
  15574. msgid "Consider this ``normal'' procedure:"
  15575. msgstr ""
  15576. #. type: lisp
  15577. #: guix-git/doc/guix.texi:10172
  15578. #, no-wrap
  15579. msgid ""
  15580. "(define (sh-symlink store)\n"
  15581. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  15582. " (let* ((drv (package-derivation store bash))\n"
  15583. " (out (derivation->output-path drv))\n"
  15584. " (sh (string-append out \"/bin/bash\")))\n"
  15585. " (build-expression->derivation store \"sh\"\n"
  15586. " `(symlink ,sh %output))))\n"
  15587. msgstr ""
  15588. #. type: Plain text
  15589. #: guix-git/doc/guix.texi:10176
  15590. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  15591. msgstr ""
  15592. #. type: lisp
  15593. #: guix-git/doc/guix.texi:10184
  15594. #, no-wrap
  15595. msgid ""
  15596. "(define (sh-symlink)\n"
  15597. " ;; Same, but return a monadic value.\n"
  15598. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  15599. " (gexp->derivation \"sh\"\n"
  15600. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  15601. " #$output))))\n"
  15602. msgstr ""
  15603. #. type: Plain text
  15604. #: guix-git/doc/guix.texi:10191
  15605. 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}."
  15606. msgstr ""
  15607. #. type: Plain text
  15608. #: guix-git/doc/guix.texi:10195
  15609. 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}):"
  15610. msgstr ""
  15611. #. type: lisp
  15612. #: guix-git/doc/guix.texi:10201
  15613. #, no-wrap
  15614. msgid ""
  15615. "(define (sh-symlink)\n"
  15616. " (gexp->derivation \"sh\"\n"
  15617. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  15618. " #$output)))\n"
  15619. msgstr ""
  15620. #. type: Plain text
  15621. #: guix-git/doc/guix.texi:10210
  15622. 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}:"
  15623. msgstr ""
  15624. #. type: lisp
  15625. #: guix-git/doc/guix.texi:10214
  15626. #, no-wrap
  15627. msgid ""
  15628. "(run-with-store (open-connection) (sh-symlink))\n"
  15629. "@result{} /gnu/store/...-sh-symlink\n"
  15630. msgstr ""
  15631. #. type: Plain text
  15632. #: guix-git/doc/guix.texi:10220
  15633. 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:"
  15634. msgstr ""
  15635. #. type: example
  15636. #: guix-git/doc/guix.texi:10224
  15637. #, no-wrap
  15638. msgid ""
  15639. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  15640. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15641. msgstr ""
  15642. #. type: Plain text
  15643. #: guix-git/doc/guix.texi:10228
  15644. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  15645. msgstr ""
  15646. #. type: example
  15647. #: guix-git/doc/guix.texi:10237
  15648. #, no-wrap
  15649. msgid ""
  15650. "scheme@@(guile-user)> ,enter-store-monad\n"
  15651. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  15652. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15653. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  15654. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  15655. "store-monad@@(guile-user) [1]> ,q\n"
  15656. "scheme@@(guile-user)>\n"
  15657. msgstr ""
  15658. #. type: Plain text
  15659. #: guix-git/doc/guix.texi:10242
  15660. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  15661. msgstr ""
  15662. #. type: Plain text
  15663. #: guix-git/doc/guix.texi:10245
  15664. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  15665. msgstr ""
  15666. #. type: deffn
  15667. #: guix-git/doc/guix.texi:10246
  15668. #, no-wrap
  15669. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  15670. msgstr ""
  15671. #. type: deffn
  15672. #: guix-git/doc/guix.texi:10249
  15673. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  15674. msgstr ""
  15675. #. type: deffn
  15676. #: guix-git/doc/guix.texi:10251
  15677. #, no-wrap
  15678. msgid "{Scheme Syntax} return @var{val}"
  15679. msgstr ""
  15680. #. type: deffn
  15681. #: guix-git/doc/guix.texi:10253
  15682. msgid "Return a monadic value that encapsulates @var{val}."
  15683. msgstr ""
  15684. #. type: deffn
  15685. #: guix-git/doc/guix.texi:10255
  15686. #, no-wrap
  15687. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  15688. msgstr ""
  15689. #. type: deffn
  15690. #: guix-git/doc/guix.texi:10262
  15691. 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:"
  15692. msgstr ""
  15693. #. type: lisp
  15694. #: guix-git/doc/guix.texi:10270
  15695. #, no-wrap
  15696. msgid ""
  15697. "(run-with-state\n"
  15698. " (with-monad %state-monad\n"
  15699. " (>>= (return 1)\n"
  15700. " (lambda (x) (return (+ 1 x)))\n"
  15701. " (lambda (x) (return (* 2 x)))))\n"
  15702. " 'some-state)\n"
  15703. "\n"
  15704. msgstr ""
  15705. #. type: lisp
  15706. #: guix-git/doc/guix.texi:10273
  15707. #, no-wrap
  15708. msgid ""
  15709. "@result{} 4\n"
  15710. "@result{} some-state\n"
  15711. msgstr ""
  15712. #. type: deffn
  15713. #: guix-git/doc/guix.texi:10276
  15714. #, no-wrap
  15715. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  15716. msgstr ""
  15717. #. type: deffn
  15718. #: guix-git/doc/guix.texi:10278
  15719. msgid "@var{body} ..."
  15720. msgstr ""
  15721. #. type: deffnx
  15722. #: guix-git/doc/guix.texi:10278
  15723. #, no-wrap
  15724. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  15725. msgstr ""
  15726. #. type: deffn
  15727. #: guix-git/doc/guix.texi:10290
  15728. 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}."
  15729. msgstr ""
  15730. #. type: deffn
  15731. #: guix-git/doc/guix.texi:10293
  15732. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  15733. msgstr ""
  15734. #. type: deffn
  15735. #: guix-git/doc/guix.texi:10295
  15736. #, no-wrap
  15737. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  15738. msgstr ""
  15739. #. type: deffn
  15740. #: guix-git/doc/guix.texi:10299
  15741. 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."
  15742. msgstr ""
  15743. #. type: deffn
  15744. #: guix-git/doc/guix.texi:10303
  15745. 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."
  15746. msgstr ""
  15747. #. type: deffn
  15748. #: guix-git/doc/guix.texi:10305
  15749. #, no-wrap
  15750. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  15751. msgstr ""
  15752. #. type: deffn
  15753. #: guix-git/doc/guix.texi:10310
  15754. 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."
  15755. msgstr ""
  15756. #. type: deffn
  15757. #: guix-git/doc/guix.texi:10312
  15758. #, no-wrap
  15759. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  15760. msgstr ""
  15761. #. type: deffn
  15762. #: guix-git/doc/guix.texi:10317
  15763. 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."
  15764. msgstr ""
  15765. #. type: cindex
  15766. #: guix-git/doc/guix.texi:10319
  15767. #, no-wrap
  15768. msgid "state monad"
  15769. msgstr ""
  15770. #. type: Plain text
  15771. #: guix-git/doc/guix.texi:10323
  15772. 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."
  15773. msgstr ""
  15774. #. type: defvr
  15775. #: guix-git/doc/guix.texi:10324
  15776. #, no-wrap
  15777. msgid "{Scheme Variable} %state-monad"
  15778. msgstr ""
  15779. #. type: defvr
  15780. #: guix-git/doc/guix.texi:10327
  15781. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  15782. msgstr ""
  15783. #. type: defvr
  15784. #: guix-git/doc/guix.texi:10331
  15785. 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:"
  15786. msgstr ""
  15787. #. type: lisp
  15788. #: guix-git/doc/guix.texi:10338
  15789. #, no-wrap
  15790. msgid ""
  15791. "(define (square x)\n"
  15792. " (mlet %state-monad ((count (current-state)))\n"
  15793. " (mbegin %state-monad\n"
  15794. " (set-current-state (+ 1 count))\n"
  15795. " (return (* x x)))))\n"
  15796. "\n"
  15797. msgstr ""
  15798. #. type: lisp
  15799. #: guix-git/doc/guix.texi:10342
  15800. #, no-wrap
  15801. msgid ""
  15802. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  15803. "@result{} (0 1 4)\n"
  15804. "@result{} 3\n"
  15805. msgstr ""
  15806. #. type: defvr
  15807. #: guix-git/doc/guix.texi:10346
  15808. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  15809. msgstr ""
  15810. #. type: deffn
  15811. #: guix-git/doc/guix.texi:10348
  15812. #, no-wrap
  15813. msgid "{Monadic Procedure} current-state"
  15814. msgstr ""
  15815. #. type: deffn
  15816. #: guix-git/doc/guix.texi:10350
  15817. msgid "Return the current state as a monadic value."
  15818. msgstr ""
  15819. #. type: deffn
  15820. #: guix-git/doc/guix.texi:10352
  15821. #, no-wrap
  15822. msgid "{Monadic Procedure} set-current-state @var{value}"
  15823. msgstr ""
  15824. #. type: deffn
  15825. #: guix-git/doc/guix.texi:10355
  15826. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  15827. msgstr ""
  15828. #. type: deffn
  15829. #: guix-git/doc/guix.texi:10357
  15830. #, no-wrap
  15831. msgid "{Monadic Procedure} state-push @var{value}"
  15832. msgstr ""
  15833. #. type: deffn
  15834. #: guix-git/doc/guix.texi:10360
  15835. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  15836. msgstr ""
  15837. #. type: deffn
  15838. #: guix-git/doc/guix.texi:10362
  15839. #, no-wrap
  15840. msgid "{Monadic Procedure} state-pop"
  15841. msgstr ""
  15842. #. type: deffn
  15843. #: guix-git/doc/guix.texi:10365
  15844. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  15845. msgstr ""
  15846. #. type: deffn
  15847. #: guix-git/doc/guix.texi:10367
  15848. #, no-wrap
  15849. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  15850. msgstr ""
  15851. #. type: deffn
  15852. #: guix-git/doc/guix.texi:10370
  15853. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  15854. msgstr ""
  15855. #. type: Plain text
  15856. #: guix-git/doc/guix.texi:10374
  15857. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  15858. msgstr ""
  15859. #. type: defvr
  15860. #: guix-git/doc/guix.texi:10375
  15861. #, no-wrap
  15862. msgid "{Scheme Variable} %store-monad"
  15863. msgstr ""
  15864. #. type: defvr
  15865. #: guix-git/doc/guix.texi:10377
  15866. msgid "The store monad---an alias for @code{%state-monad}."
  15867. msgstr ""
  15868. #. type: defvr
  15869. #: guix-git/doc/guix.texi:10381
  15870. 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)."
  15871. msgstr ""
  15872. #. type: deffn
  15873. #: guix-git/doc/guix.texi:10383
  15874. #, no-wrap
  15875. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  15876. msgstr ""
  15877. #. type: deffn
  15878. #: guix-git/doc/guix.texi:10386
  15879. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  15880. msgstr ""
  15881. #. type: deffn
  15882. #: guix-git/doc/guix.texi:10388
  15883. #, no-wrap
  15884. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  15885. msgstr ""
  15886. #. type: deffn
  15887. #: guix-git/doc/guix.texi:10392
  15888. 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."
  15889. msgstr ""
  15890. #. type: deffn
  15891. #: guix-git/doc/guix.texi:10394
  15892. #, no-wrap
  15893. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  15894. msgstr ""
  15895. #. type: deffn
  15896. #: guix-git/doc/guix.texi:10398
  15897. 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."
  15898. msgstr ""
  15899. #. type: deffn
  15900. #: guix-git/doc/guix.texi:10400
  15901. #, no-wrap
  15902. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  15903. msgstr ""
  15904. #. type: deffn
  15905. #: guix-git/doc/guix.texi:10405
  15906. 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."
  15907. msgstr ""
  15908. #. type: deffn
  15909. #: guix-git/doc/guix.texi:10409 guix-git/doc/guix.texi:10832
  15910. 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."
  15911. msgstr ""
  15912. #. type: deffn
  15913. #: guix-git/doc/guix.texi:10414 guix-git/doc/guix.texi:10837
  15914. 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."
  15915. msgstr ""
  15916. #. type: deffn
  15917. #: guix-git/doc/guix.texi:10416
  15918. msgid "The example below adds a file to the store, under two different names:"
  15919. msgstr ""
  15920. #. type: lisp
  15921. #: guix-git/doc/guix.texi:10422
  15922. #, no-wrap
  15923. msgid ""
  15924. "(run-with-store (open-connection)\n"
  15925. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  15926. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  15927. " (return (list a b))))\n"
  15928. "\n"
  15929. msgstr ""
  15930. #. type: lisp
  15931. #: guix-git/doc/guix.texi:10424
  15932. #, no-wrap
  15933. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  15934. msgstr ""
  15935. #. type: Plain text
  15936. #: guix-git/doc/guix.texi:10430
  15937. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  15938. msgstr ""
  15939. #. type: deffn
  15940. #: guix-git/doc/guix.texi:10431
  15941. #, no-wrap
  15942. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  15943. msgstr ""
  15944. #. type: deffn
  15945. #: guix-git/doc/guix.texi:10439
  15946. 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."
  15947. msgstr ""
  15948. #. type: deffn
  15949. #: guix-git/doc/guix.texi:10443
  15950. 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."
  15951. msgstr ""
  15952. #. type: deffn
  15953. #: guix-git/doc/guix.texi:10445
  15954. #, no-wrap
  15955. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  15956. msgstr ""
  15957. #. type: deffnx
  15958. #: guix-git/doc/guix.texi:10446
  15959. #, no-wrap
  15960. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  15961. msgstr ""
  15962. #. type: deffn
  15963. #: guix-git/doc/guix.texi:10450
  15964. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  15965. msgstr ""
  15966. #. type: cindex
  15967. #: guix-git/doc/guix.texi:10456
  15968. #, no-wrap
  15969. msgid "G-expression"
  15970. msgstr ""
  15971. #. type: cindex
  15972. #: guix-git/doc/guix.texi:10457
  15973. #, no-wrap
  15974. msgid "build code quoting"
  15975. msgstr ""
  15976. #. type: Plain text
  15977. #: guix-git/doc/guix.texi:10463
  15978. 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})."
  15979. msgstr ""
  15980. #. type: cindex
  15981. #: guix-git/doc/guix.texi:10466
  15982. #, no-wrap
  15983. msgid "strata of code"
  15984. msgstr ""
  15985. #. type: Plain text
  15986. #: guix-git/doc/guix.texi:10478
  15987. 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})."
  15988. msgstr ""
  15989. #. type: Plain text
  15990. #: guix-git/doc/guix.texi:10485
  15991. 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."
  15992. msgstr ""
  15993. #. type: Plain text
  15994. #: guix-git/doc/guix.texi:10494
  15995. 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:"
  15996. msgstr ""
  15997. #. type: itemize
  15998. #: guix-git/doc/guix.texi:10499
  15999. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  16000. msgstr ""
  16001. #. type: itemize
  16002. #: guix-git/doc/guix.texi:10504
  16003. 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."
  16004. msgstr ""
  16005. #. type: itemize
  16006. #: guix-git/doc/guix.texi:10509
  16007. 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."
  16008. msgstr ""
  16009. #. type: cindex
  16010. #: guix-git/doc/guix.texi:10511 guix-git/doc/guix.texi:11068
  16011. #, no-wrap
  16012. msgid "lowering, of high-level objects in gexps"
  16013. msgstr ""
  16014. #. type: Plain text
  16015. #: guix-git/doc/guix.texi:10521
  16016. 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)."
  16017. msgstr ""
  16018. #. type: Plain text
  16019. #: guix-git/doc/guix.texi:10523
  16020. msgid "To illustrate the idea, here is an example of a gexp:"
  16021. msgstr ""
  16022. #. type: lisp
  16023. #: guix-git/doc/guix.texi:10531
  16024. #, no-wrap
  16025. msgid ""
  16026. "(define build-exp\n"
  16027. " #~(begin\n"
  16028. " (mkdir #$output)\n"
  16029. " (chdir #$output)\n"
  16030. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  16031. " \"list-files\")))\n"
  16032. msgstr ""
  16033. #. type: Plain text
  16034. #: guix-git/doc/guix.texi:10536
  16035. 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}:"
  16036. msgstr ""
  16037. #. type: lisp
  16038. #: guix-git/doc/guix.texi:10539
  16039. #, no-wrap
  16040. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  16041. msgstr ""
  16042. #. type: Plain text
  16043. #: guix-git/doc/guix.texi:10547
  16044. 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."
  16045. msgstr ""
  16046. #. type: cindex
  16047. #: guix-git/doc/guix.texi:10548
  16048. #, no-wrap
  16049. msgid "cross compilation"
  16050. msgstr ""
  16051. #. type: Plain text
  16052. #: guix-git/doc/guix.texi:10554
  16053. 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:"
  16054. msgstr ""
  16055. #. type: lisp
  16056. #: guix-git/doc/guix.texi:10565
  16057. #, no-wrap
  16058. msgid ""
  16059. "(gexp->derivation \"vi\"\n"
  16060. " #~(begin\n"
  16061. " (mkdir #$output)\n"
  16062. " (mkdir (string-append #$output \"/bin\"))\n"
  16063. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  16064. " \"-s\"\n"
  16065. " (string-append #$emacs \"/bin/emacs\")\n"
  16066. " (string-append #$output \"/bin/vi\")))\n"
  16067. " #:target \"aarch64-linux-gnu\")\n"
  16068. msgstr ""
  16069. #. type: Plain text
  16070. #: guix-git/doc/guix.texi:10571
  16071. 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."
  16072. msgstr ""
  16073. #. type: cindex
  16074. #: guix-git/doc/guix.texi:10572
  16075. #, no-wrap
  16076. msgid "imported modules, for gexps"
  16077. msgstr ""
  16078. #. type: findex
  16079. #: guix-git/doc/guix.texi:10573
  16080. #, no-wrap
  16081. msgid "with-imported-modules"
  16082. msgstr ""
  16083. #. type: Plain text
  16084. #: guix-git/doc/guix.texi:10578
  16085. 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:"
  16086. msgstr ""
  16087. #. type: lisp
  16088. #: guix-git/doc/guix.texi:10589
  16089. #, no-wrap
  16090. msgid ""
  16091. "(let ((build (with-imported-modules '((guix build utils))\n"
  16092. " #~(begin\n"
  16093. " (use-modules (guix build utils))\n"
  16094. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  16095. " (gexp->derivation \"empty-dir\"\n"
  16096. " #~(begin\n"
  16097. " #$build\n"
  16098. " (display \"success!\\n\")\n"
  16099. " #t)))\n"
  16100. msgstr ""
  16101. #. type: Plain text
  16102. #: guix-git/doc/guix.texi:10595
  16103. 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."
  16104. msgstr ""
  16105. #. type: cindex
  16106. #: guix-git/doc/guix.texi:10596
  16107. #, no-wrap
  16108. msgid "module closure"
  16109. msgstr ""
  16110. #. type: findex
  16111. #: guix-git/doc/guix.texi:10597
  16112. #, no-wrap
  16113. msgid "source-module-closure"
  16114. msgstr ""
  16115. #. type: Plain text
  16116. #: guix-git/doc/guix.texi:10604
  16117. 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:"
  16118. msgstr ""
  16119. #. type: lisp
  16120. #: guix-git/doc/guix.texi:10607
  16121. #, no-wrap
  16122. msgid ""
  16123. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  16124. "\n"
  16125. msgstr ""
  16126. #. type: lisp
  16127. #: guix-git/doc/guix.texi:10616
  16128. #, no-wrap
  16129. msgid ""
  16130. "(with-imported-modules (source-module-closure\n"
  16131. " '((guix build utils)\n"
  16132. " (gnu build image)))\n"
  16133. " (gexp->derivation \"something-with-vms\"\n"
  16134. " #~(begin\n"
  16135. " (use-modules (guix build utils)\n"
  16136. " (gnu build image))\n"
  16137. " @dots{})))\n"
  16138. msgstr ""
  16139. #. type: cindex
  16140. #: guix-git/doc/guix.texi:10618
  16141. #, no-wrap
  16142. msgid "extensions, for gexps"
  16143. msgstr ""
  16144. #. type: findex
  16145. #: guix-git/doc/guix.texi:10619
  16146. #, no-wrap
  16147. msgid "with-extensions"
  16148. msgstr ""
  16149. #. type: Plain text
  16150. #: guix-git/doc/guix.texi:10624
  16151. 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:"
  16152. msgstr ""
  16153. #. type: lisp
  16154. #: guix-git/doc/guix.texi:10627
  16155. #, no-wrap
  16156. msgid ""
  16157. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  16158. "\n"
  16159. msgstr ""
  16160. #. type: lisp
  16161. #: guix-git/doc/guix.texi:10633
  16162. #, no-wrap
  16163. msgid ""
  16164. "(with-extensions (list guile-json)\n"
  16165. " (gexp->derivation \"something-with-json\"\n"
  16166. " #~(begin\n"
  16167. " (use-modules (json))\n"
  16168. " @dots{})))\n"
  16169. msgstr ""
  16170. #. type: Plain text
  16171. #: guix-git/doc/guix.texi:10636
  16172. msgid "The syntactic form to construct gexps is summarized below."
  16173. msgstr ""
  16174. #. type: deffn
  16175. #: guix-git/doc/guix.texi:10637
  16176. #, no-wrap
  16177. msgid "{Scheme Syntax} #~@var{exp}"
  16178. msgstr ""
  16179. #. type: deffnx
  16180. #: guix-git/doc/guix.texi:10638
  16181. #, no-wrap
  16182. msgid "{Scheme Syntax} (gexp @var{exp})"
  16183. msgstr ""
  16184. #. type: deffn
  16185. #: guix-git/doc/guix.texi:10641
  16186. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  16187. msgstr ""
  16188. #. type: item
  16189. #: guix-git/doc/guix.texi:10643
  16190. #, no-wrap
  16191. msgid "#$@var{obj}"
  16192. msgstr ""
  16193. #. type: itemx
  16194. #: guix-git/doc/guix.texi:10644
  16195. #, no-wrap
  16196. msgid "(ungexp @var{obj})"
  16197. msgstr ""
  16198. #. type: table
  16199. #: guix-git/doc/guix.texi:10649
  16200. 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}."
  16201. msgstr ""
  16202. #. type: table
  16203. #: guix-git/doc/guix.texi:10652
  16204. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  16205. msgstr ""
  16206. #. type: table
  16207. #: guix-git/doc/guix.texi:10655
  16208. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  16209. msgstr ""
  16210. #. type: table
  16211. #: guix-git/doc/guix.texi:10657
  16212. msgid "If @var{obj} is another kind of object, it is inserted as is."
  16213. msgstr ""
  16214. #. type: item
  16215. #: guix-git/doc/guix.texi:10658
  16216. #, no-wrap
  16217. msgid "#$@var{obj}:@var{output}"
  16218. msgstr ""
  16219. #. type: itemx
  16220. #: guix-git/doc/guix.texi:10659
  16221. #, no-wrap
  16222. msgid "(ungexp @var{obj} @var{output})"
  16223. msgstr ""
  16224. #. type: table
  16225. #: guix-git/doc/guix.texi:10663
  16226. 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})."
  16227. msgstr ""
  16228. #. type: item
  16229. #: guix-git/doc/guix.texi:10664
  16230. #, no-wrap
  16231. msgid "#+@var{obj}"
  16232. msgstr ""
  16233. #. type: itemx
  16234. #: guix-git/doc/guix.texi:10665
  16235. #, no-wrap
  16236. msgid "#+@var{obj}:output"
  16237. msgstr ""
  16238. #. type: itemx
  16239. #: guix-git/doc/guix.texi:10666
  16240. #, no-wrap
  16241. msgid "(ungexp-native @var{obj})"
  16242. msgstr ""
  16243. #. type: itemx
  16244. #: guix-git/doc/guix.texi:10667
  16245. #, no-wrap
  16246. msgid "(ungexp-native @var{obj} @var{output})"
  16247. msgstr ""
  16248. #. type: table
  16249. #: guix-git/doc/guix.texi:10670
  16250. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  16251. msgstr ""
  16252. #. type: item
  16253. #: guix-git/doc/guix.texi:10671
  16254. #, no-wrap
  16255. msgid "#$output[:@var{output}]"
  16256. msgstr ""
  16257. #. type: itemx
  16258. #: guix-git/doc/guix.texi:10672
  16259. #, no-wrap
  16260. msgid "(ungexp output [@var{output}])"
  16261. msgstr ""
  16262. #. type: table
  16263. #: guix-git/doc/guix.texi:10675
  16264. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  16265. msgstr ""
  16266. #. type: table
  16267. #: guix-git/doc/guix.texi:10677
  16268. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  16269. msgstr ""
  16270. #. type: item
  16271. #: guix-git/doc/guix.texi:10678
  16272. #, no-wrap
  16273. msgid "#$@@@var{lst}"
  16274. msgstr ""
  16275. #. type: itemx
  16276. #: guix-git/doc/guix.texi:10679
  16277. #, no-wrap
  16278. msgid "(ungexp-splicing @var{lst})"
  16279. msgstr ""
  16280. #. type: table
  16281. #: guix-git/doc/guix.texi:10682
  16282. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  16283. msgstr ""
  16284. #. type: item
  16285. #: guix-git/doc/guix.texi:10683
  16286. #, no-wrap
  16287. msgid "#+@@@var{lst}"
  16288. msgstr ""
  16289. #. type: itemx
  16290. #: guix-git/doc/guix.texi:10684
  16291. #, no-wrap
  16292. msgid "(ungexp-native-splicing @var{lst})"
  16293. msgstr ""
  16294. #. type: table
  16295. #: guix-git/doc/guix.texi:10687
  16296. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  16297. msgstr ""
  16298. #. type: deffn
  16299. #: guix-git/doc/guix.texi:10692
  16300. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  16301. msgstr ""
  16302. #. type: deffn
  16303. #: guix-git/doc/guix.texi:10694
  16304. #, no-wrap
  16305. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  16306. msgstr ""
  16307. #. type: deffn
  16308. #: guix-git/doc/guix.texi:10697
  16309. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  16310. msgstr ""
  16311. #. type: deffn
  16312. #: guix-git/doc/guix.texi:10701
  16313. 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:"
  16314. msgstr ""
  16315. #. type: lisp
  16316. #: guix-git/doc/guix.texi:10707
  16317. #, no-wrap
  16318. msgid ""
  16319. "`((guix build utils)\n"
  16320. " (guix gcrypt)\n"
  16321. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  16322. " #~(define-module @dots{}))))\n"
  16323. msgstr ""
  16324. #. type: deffn
  16325. #: guix-git/doc/guix.texi:10712
  16326. 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."
  16327. msgstr ""
  16328. #. type: deffn
  16329. #: guix-git/doc/guix.texi:10716
  16330. 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{}."
  16331. msgstr ""
  16332. #. type: deffn
  16333. #: guix-git/doc/guix.texi:10718
  16334. #, no-wrap
  16335. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  16336. msgstr ""
  16337. #. type: deffn
  16338. #: guix-git/doc/guix.texi:10723
  16339. 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."
  16340. msgstr ""
  16341. #. type: deffn
  16342. #: guix-git/doc/guix.texi:10728
  16343. 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{}."
  16344. msgstr ""
  16345. #. type: deffn
  16346. #: guix-git/doc/guix.texi:10730
  16347. #, no-wrap
  16348. msgid "{Scheme Procedure} gexp? @var{obj}"
  16349. msgstr ""
  16350. #. type: deffn
  16351. #: guix-git/doc/guix.texi:10732
  16352. msgid "Return @code{#t} if @var{obj} is a G-expression."
  16353. msgstr ""
  16354. #. type: Plain text
  16355. #: guix-git/doc/guix.texi:10738
  16356. 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)."
  16357. msgstr ""
  16358. #. type: deffn
  16359. #: guix-git/doc/guix.texi:10739
  16360. #, no-wrap
  16361. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  16362. msgstr ""
  16363. #. type: deffn
  16364. #: guix-git/doc/guix.texi:10757
  16365. 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}."
  16366. msgstr ""
  16367. #. type: deffn
  16368. #: guix-git/doc/guix.texi:10765
  16369. 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))}."
  16370. msgstr ""
  16371. #. type: deffn
  16372. #: guix-git/doc/guix.texi:10768
  16373. 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\"}."
  16374. msgstr ""
  16375. #. type: deffn
  16376. #: guix-git/doc/guix.texi:10771
  16377. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  16378. msgstr ""
  16379. #. type: deffn
  16380. #: guix-git/doc/guix.texi:10774
  16381. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  16382. msgstr ""
  16383. #. type: example
  16384. #: guix-git/doc/guix.texi:10781
  16385. #, no-wrap
  16386. msgid ""
  16387. "(@var{file-name} @var{package})\n"
  16388. "(@var{file-name} @var{package} @var{output})\n"
  16389. "(@var{file-name} @var{derivation})\n"
  16390. "(@var{file-name} @var{derivation} @var{output})\n"
  16391. "(@var{file-name} @var{store-item})\n"
  16392. msgstr ""
  16393. #. type: deffn
  16394. #: guix-git/doc/guix.texi:10787
  16395. 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."
  16396. msgstr ""
  16397. #. type: deffn
  16398. #: guix-git/doc/guix.texi:10793
  16399. 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."
  16400. msgstr ""
  16401. #. type: deffn
  16402. #: guix-git/doc/guix.texi:10796
  16403. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  16404. msgstr ""
  16405. #. type: deffn
  16406. #: guix-git/doc/guix.texi:10798
  16407. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  16408. msgstr ""
  16409. #. type: cindex
  16410. #: guix-git/doc/guix.texi:10800
  16411. #, no-wrap
  16412. msgid "file-like objects"
  16413. msgstr ""
  16414. #. type: Plain text
  16415. #: guix-git/doc/guix.texi:10805
  16416. 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:"
  16417. msgstr ""
  16418. #. type: lisp
  16419. #: guix-git/doc/guix.texi:10809
  16420. #, no-wrap
  16421. msgid ""
  16422. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  16423. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  16424. msgstr ""
  16425. #. type: Plain text
  16426. #: guix-git/doc/guix.texi:10818
  16427. 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."
  16428. msgstr ""
  16429. #. type: deffn
  16430. #: guix-git/doc/guix.texi:10819
  16431. #, no-wrap
  16432. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  16433. msgstr ""
  16434. #. type: deffn
  16435. #: guix-git/doc/guix.texi:10828
  16436. 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}."
  16437. msgstr ""
  16438. #. type: deffn
  16439. #: guix-git/doc/guix.texi:10840
  16440. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  16441. msgstr ""
  16442. #. type: deffn
  16443. #: guix-git/doc/guix.texi:10842
  16444. #, no-wrap
  16445. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  16446. msgstr ""
  16447. #. type: deffn
  16448. #: guix-git/doc/guix.texi:10845
  16449. 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."
  16450. msgstr ""
  16451. #. type: deffn
  16452. #: guix-git/doc/guix.texi:10847
  16453. msgid "This is the declarative counterpart of @code{text-file}."
  16454. msgstr ""
  16455. #. type: deffn
  16456. #: guix-git/doc/guix.texi:10849
  16457. #, no-wrap
  16458. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  16459. msgstr ""
  16460. #. type: deffn
  16461. #: guix-git/doc/guix.texi:10856
  16462. 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}."
  16463. msgstr ""
  16464. #. type: deffn
  16465. #: guix-git/doc/guix.texi:10858
  16466. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  16467. msgstr ""
  16468. #. type: deffn
  16469. #: guix-git/doc/guix.texi:10860
  16470. #, no-wrap
  16471. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  16472. msgstr ""
  16473. #. type: deffn
  16474. #: guix-git/doc/guix.texi:10866
  16475. 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}."
  16476. msgstr ""
  16477. #. type: deffn
  16478. #: guix-git/doc/guix.texi:10869
  16479. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  16480. msgstr ""
  16481. #. type: lisp
  16482. #: guix-git/doc/guix.texi:10872
  16483. #, no-wrap
  16484. msgid ""
  16485. "(use-modules (guix gexp) (gnu packages base))\n"
  16486. "\n"
  16487. msgstr ""
  16488. #. type: lisp
  16489. #: guix-git/doc/guix.texi:10876
  16490. #, no-wrap
  16491. msgid ""
  16492. "(gexp->script \"list-files\"\n"
  16493. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  16494. " \"ls\"))\n"
  16495. msgstr ""
  16496. #. type: deffn
  16497. #: guix-git/doc/guix.texi:10881
  16498. 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:"
  16499. msgstr ""
  16500. #. type: example
  16501. #: guix-git/doc/guix.texi:10886
  16502. #, no-wrap
  16503. msgid ""
  16504. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  16505. "!#\n"
  16506. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  16507. msgstr ""
  16508. #. type: deffn
  16509. #: guix-git/doc/guix.texi:10889
  16510. #, no-wrap
  16511. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  16512. msgstr ""
  16513. #. type: deffn
  16514. #: guix-git/doc/guix.texi:10894
  16515. 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}."
  16516. msgstr ""
  16517. #. type: deffn
  16518. #: guix-git/doc/guix.texi:10896
  16519. msgid "This is the declarative counterpart of @code{gexp->script}."
  16520. msgstr ""
  16521. #. type: deffn
  16522. #: guix-git/doc/guix.texi:10898
  16523. #, no-wrap
  16524. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  16525. msgstr ""
  16526. #. type: deffn
  16527. #: guix-git/doc/guix.texi:10905
  16528. 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."
  16529. msgstr ""
  16530. #. type: deffn
  16531. #: guix-git/doc/guix.texi:10910
  16532. 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}."
  16533. msgstr ""
  16534. #. type: deffn
  16535. #: guix-git/doc/guix.texi:10913
  16536. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  16537. msgstr ""
  16538. #. type: deffn
  16539. #: guix-git/doc/guix.texi:10915
  16540. #, no-wrap
  16541. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  16542. msgstr ""
  16543. #. type: deffn
  16544. #: guix-git/doc/guix.texi:10919
  16545. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  16546. msgstr ""
  16547. #. type: deffn
  16548. #: guix-git/doc/guix.texi:10921
  16549. msgid "This is the declarative counterpart of @code{gexp->file}."
  16550. msgstr ""
  16551. #. type: deffn
  16552. #: guix-git/doc/guix.texi:10923
  16553. #, no-wrap
  16554. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  16555. msgstr ""
  16556. #. type: deffn
  16557. #: guix-git/doc/guix.texi:10929
  16558. 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."
  16559. msgstr ""
  16560. #. type: deffn
  16561. #: guix-git/doc/guix.texi:10934
  16562. 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:"
  16563. msgstr ""
  16564. #. type: lisp
  16565. #: guix-git/doc/guix.texi:10942
  16566. #, no-wrap
  16567. msgid ""
  16568. "(define (profile.sh)\n"
  16569. " ;; Return the name of a shell script in the store that\n"
  16570. " ;; initializes the 'PATH' environment variable.\n"
  16571. " (text-file* \"profile.sh\"\n"
  16572. " \"export PATH=\" coreutils \"/bin:\"\n"
  16573. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  16574. msgstr ""
  16575. #. type: deffn
  16576. #: guix-git/doc/guix.texi:10947
  16577. 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."
  16578. msgstr ""
  16579. #. type: deffn
  16580. #: guix-git/doc/guix.texi:10949
  16581. #, no-wrap
  16582. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  16583. msgstr ""
  16584. #. type: deffn
  16585. #: guix-git/doc/guix.texi:10953
  16586. 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:"
  16587. msgstr ""
  16588. #. type: lisp
  16589. #: guix-git/doc/guix.texi:10957
  16590. #, no-wrap
  16591. msgid ""
  16592. "(mixed-text-file \"profile\"\n"
  16593. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  16594. msgstr ""
  16595. #. type: deffn
  16596. #: guix-git/doc/guix.texi:10960
  16597. msgid "This is the declarative counterpart of @code{text-file*}."
  16598. msgstr ""
  16599. #. type: deffn
  16600. #: guix-git/doc/guix.texi:10962
  16601. #, no-wrap
  16602. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  16603. msgstr ""
  16604. #. type: deffn
  16605. #: guix-git/doc/guix.texi:10967
  16606. 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:"
  16607. msgstr ""
  16608. #. type: lisp
  16609. #: guix-git/doc/guix.texi:10974
  16610. #, no-wrap
  16611. msgid ""
  16612. "(file-union \"etc\"\n"
  16613. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  16614. " \"127.0.0.1 localhost\"))\n"
  16615. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  16616. " \"alias ls='ls --color=auto'\"))))\n"
  16617. msgstr ""
  16618. #. type: deffn
  16619. #: guix-git/doc/guix.texi:10977
  16620. msgid "This yields an @code{etc} directory containing these two files."
  16621. msgstr ""
  16622. #. type: deffn
  16623. #: guix-git/doc/guix.texi:10979
  16624. #, no-wrap
  16625. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  16626. msgstr ""
  16627. #. type: deffn
  16628. #: guix-git/doc/guix.texi:10982
  16629. 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:"
  16630. msgstr ""
  16631. #. type: lisp
  16632. #: guix-git/doc/guix.texi:10985
  16633. #, no-wrap
  16634. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  16635. msgstr ""
  16636. #. type: deffn
  16637. #: guix-git/doc/guix.texi:10988
  16638. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  16639. msgstr ""
  16640. #. type: deffn
  16641. #: guix-git/doc/guix.texi:10990
  16642. #, no-wrap
  16643. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  16644. msgstr ""
  16645. #. type: deffn
  16646. #: guix-git/doc/guix.texi:10994
  16647. 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."
  16648. msgstr ""
  16649. #. type: deffn
  16650. #: guix-git/doc/guix.texi:10996
  16651. msgid "As an example, consider this gexp:"
  16652. msgstr ""
  16653. #. type: lisp
  16654. #: guix-git/doc/guix.texi:11001
  16655. #, no-wrap
  16656. msgid ""
  16657. "(gexp->script \"run-uname\"\n"
  16658. " #~(system* #$(file-append coreutils\n"
  16659. " \"/bin/uname\")))\n"
  16660. msgstr ""
  16661. #. type: deffn
  16662. #: guix-git/doc/guix.texi:11004
  16663. msgid "The same effect could be achieved with:"
  16664. msgstr ""
  16665. #. type: lisp
  16666. #: guix-git/doc/guix.texi:11009
  16667. #, no-wrap
  16668. msgid ""
  16669. "(gexp->script \"run-uname\"\n"
  16670. " #~(system* (string-append #$coreutils\n"
  16671. " \"/bin/uname\")))\n"
  16672. msgstr ""
  16673. #. type: deffn
  16674. #: guix-git/doc/guix.texi:11015
  16675. 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}."
  16676. msgstr ""
  16677. #. type: deffn
  16678. #: guix-git/doc/guix.texi:11017
  16679. #, no-wrap
  16680. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  16681. msgstr ""
  16682. #. type: deffnx
  16683. #: guix-git/doc/guix.texi:11018
  16684. #, no-wrap
  16685. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  16686. msgstr ""
  16687. #. type: deffn
  16688. #: guix-git/doc/guix.texi:11021
  16689. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  16690. msgstr ""
  16691. #. type: deffn
  16692. #: guix-git/doc/guix.texi:11026
  16693. 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."
  16694. msgstr ""
  16695. #. type: deffn
  16696. #: guix-git/doc/guix.texi:11029
  16697. 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:"
  16698. msgstr ""
  16699. #. type: lisp
  16700. #: guix-git/doc/guix.texi:11040
  16701. #, no-wrap
  16702. msgid ""
  16703. "#~(system*\n"
  16704. " #+(let-system system\n"
  16705. " (cond ((string-prefix? \"armhf-\" system)\n"
  16706. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  16707. " ((string-prefix? \"x86_64-\" system)\n"
  16708. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  16709. " (else\n"
  16710. " (error \"dunno!\"))))\n"
  16711. " \"-net\" \"user\" #$image)\n"
  16712. msgstr ""
  16713. #. type: deffn
  16714. #: guix-git/doc/guix.texi:11043
  16715. #, no-wrap
  16716. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  16717. msgstr ""
  16718. #. type: deffn
  16719. #: guix-git/doc/guix.texi:11049
  16720. 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."
  16721. msgstr ""
  16722. #. type: deffn
  16723. #: guix-git/doc/guix.texi:11052
  16724. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  16725. msgstr ""
  16726. #. type: lisp
  16727. #: guix-git/doc/guix.texi:11056
  16728. #, no-wrap
  16729. msgid ""
  16730. "(with-parameters ((%current-system \"i686-linux\"))\n"
  16731. " coreutils)\n"
  16732. msgstr ""
  16733. #. type: deffn
  16734. #: guix-git/doc/guix.texi:11060
  16735. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  16736. msgstr ""
  16737. #. type: Plain text
  16738. #: guix-git/doc/guix.texi:11067
  16739. 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."
  16740. msgstr ""
  16741. #. type: Plain text
  16742. #: guix-git/doc/guix.texi:11073
  16743. 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."
  16744. msgstr ""
  16745. #. type: deffn
  16746. #: guix-git/doc/guix.texi:11074
  16747. #, no-wrap
  16748. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  16749. msgstr ""
  16750. #. type: deffn
  16751. #: guix-git/doc/guix.texi:11080
  16752. 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>}."
  16753. msgstr ""
  16754. #. type: deffn
  16755. #: guix-git/doc/guix.texi:11082
  16756. #, no-wrap
  16757. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  16758. msgstr ""
  16759. #. type: deffn
  16760. #: guix-git/doc/guix.texi:11090
  16761. 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."
  16762. msgstr ""
  16763. #. type: section
  16764. #: guix-git/doc/guix.texi:11093
  16765. #, no-wrap
  16766. msgid "Invoking @command{guix repl}"
  16767. msgstr ""
  16768. #. type: cindex
  16769. #: guix-git/doc/guix.texi:11095
  16770. #, no-wrap
  16771. msgid "REPL, read-eval-print loop, script"
  16772. msgstr ""
  16773. #. type: Plain text
  16774. #: guix-git/doc/guix.texi:11105
  16775. 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."
  16776. msgstr ""
  16777. #. type: example
  16778. #: guix-git/doc/guix.texi:11110
  16779. #, no-wrap
  16780. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  16781. msgstr ""
  16782. #. type: Plain text
  16783. #: guix-git/doc/guix.texi:11114
  16784. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  16785. msgstr ""
  16786. #. type: example
  16787. #: guix-git/doc/guix.texi:11117
  16788. #, no-wrap
  16789. msgid "guix repl my-script.scm\n"
  16790. msgstr ""
  16791. #. type: Plain text
  16792. #: guix-git/doc/guix.texi:11121
  16793. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  16794. msgstr ""
  16795. #. type: example
  16796. #: guix-git/doc/guix.texi:11124
  16797. #, no-wrap
  16798. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  16799. msgstr ""
  16800. #. type: Plain text
  16801. #: guix-git/doc/guix.texi:11129
  16802. 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:"
  16803. msgstr ""
  16804. #. type: example
  16805. #: guix-git/doc/guix.texi:11133
  16806. #, no-wrap
  16807. msgid ""
  16808. "@code{#!/usr/bin/env -S guix repl --}\n"
  16809. "@code{!#}\n"
  16810. msgstr ""
  16811. #. type: Plain text
  16812. #: guix-git/doc/guix.texi:11136
  16813. msgid "Without a file name argument, a Guile REPL is started:"
  16814. msgstr ""
  16815. #. type: example
  16816. #: guix-git/doc/guix.texi:11142
  16817. #, no-wrap
  16818. msgid ""
  16819. "$ guix repl\n"
  16820. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  16821. "scheme@@(guile-user)> coreutils\n"
  16822. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  16823. msgstr ""
  16824. #. type: Plain text
  16825. #: guix-git/doc/guix.texi:11149
  16826. 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."
  16827. msgstr ""
  16828. #. type: Plain text
  16829. #: guix-git/doc/guix.texi:11151
  16830. msgid "The available options are as follows:"
  16831. msgstr ""
  16832. #. type: item
  16833. #: guix-git/doc/guix.texi:11153 guix-git/doc/guix.texi:13872
  16834. #, no-wrap
  16835. msgid "--type=@var{type}"
  16836. msgstr ""
  16837. #. type: itemx
  16838. #: guix-git/doc/guix.texi:11154 guix-git/doc/guix.texi:13873
  16839. #: guix-git/doc/guix.texi:35839
  16840. #, no-wrap
  16841. msgid "-t @var{type}"
  16842. msgstr ""
  16843. #. type: table
  16844. #: guix-git/doc/guix.texi:11156
  16845. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  16846. msgstr ""
  16847. #. type: item
  16848. #: guix-git/doc/guix.texi:11158
  16849. #, no-wrap
  16850. msgid "guile"
  16851. msgstr ""
  16852. #. type: table
  16853. #: guix-git/doc/guix.texi:11160
  16854. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  16855. msgstr ""
  16856. #. type: item
  16857. #: guix-git/doc/guix.texi:11160
  16858. #, no-wrap
  16859. msgid "machine"
  16860. msgstr ""
  16861. #. type: table
  16862. #: guix-git/doc/guix.texi:11163
  16863. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  16864. msgstr ""
  16865. #. type: table
  16866. #: guix-git/doc/guix.texi:11169
  16867. 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:"
  16868. msgstr ""
  16869. #. type: item
  16870. #: guix-git/doc/guix.texi:11171
  16871. #, no-wrap
  16872. msgid "--listen=tcp:37146"
  16873. msgstr ""
  16874. #. type: table
  16875. #: guix-git/doc/guix.texi:11173
  16876. msgid "Accept connections on localhost on port 37146."
  16877. msgstr ""
  16878. #. type: item
  16879. #: guix-git/doc/guix.texi:11174
  16880. #, no-wrap
  16881. msgid "--listen=unix:/tmp/socket"
  16882. msgstr ""
  16883. #. type: table
  16884. #: guix-git/doc/guix.texi:11176
  16885. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  16886. msgstr ""
  16887. #. type: item
  16888. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11283
  16889. #: guix-git/doc/guix.texi:13182 guix-git/doc/guix.texi:13300
  16890. #: guix-git/doc/guix.texi:13507 guix-git/doc/guix.texi:13652
  16891. #: guix-git/doc/guix.texi:13920
  16892. #, no-wrap
  16893. msgid "--load-path=@var{directory}"
  16894. msgstr ""
  16895. #. type: itemx
  16896. #: guix-git/doc/guix.texi:11179 guix-git/doc/guix.texi:11284
  16897. #: guix-git/doc/guix.texi:13301 guix-git/doc/guix.texi:13508
  16898. #: guix-git/doc/guix.texi:13653 guix-git/doc/guix.texi:13921
  16899. #, no-wrap
  16900. msgid "-L @var{directory}"
  16901. msgstr ""
  16902. #. type: table
  16903. #: guix-git/doc/guix.texi:11182 guix-git/doc/guix.texi:11287
  16904. #: guix-git/doc/guix.texi:13185 guix-git/doc/guix.texi:13304
  16905. #: guix-git/doc/guix.texi:13511 guix-git/doc/guix.texi:13656
  16906. #: guix-git/doc/guix.texi:13924
  16907. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  16908. msgstr ""
  16909. #. type: table
  16910. #: guix-git/doc/guix.texi:11185
  16911. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  16912. msgstr ""
  16913. #. type: itemx
  16914. #: guix-git/doc/guix.texi:11186 guix-git/doc/guix.texi:11808
  16915. #, no-wrap
  16916. msgid "-q"
  16917. msgstr ""
  16918. #. type: table
  16919. #: guix-git/doc/guix.texi:11189
  16920. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  16921. msgstr ""
  16922. #. type: Plain text
  16923. #: guix-git/doc/guix.texi:11199
  16924. 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."
  16925. msgstr ""
  16926. #. type: cindex
  16927. #: guix-git/doc/guix.texi:11222
  16928. #, no-wrap
  16929. msgid "package building"
  16930. msgstr ""
  16931. #. type: command{#1}
  16932. #: guix-git/doc/guix.texi:11223
  16933. #, no-wrap
  16934. msgid "guix build"
  16935. msgstr ""
  16936. #. type: Plain text
  16937. #: guix-git/doc/guix.texi:11229
  16938. 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."
  16939. msgstr ""
  16940. #. type: example
  16941. #: guix-git/doc/guix.texi:11234
  16942. #, no-wrap
  16943. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  16944. msgstr ""
  16945. #. type: Plain text
  16946. #: guix-git/doc/guix.texi:11239
  16947. 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:"
  16948. msgstr ""
  16949. #. type: example
  16950. #: guix-git/doc/guix.texi:11242
  16951. #, no-wrap
  16952. msgid "guix build emacs guile\n"
  16953. msgstr ""
  16954. #. type: Plain text
  16955. #: guix-git/doc/guix.texi:11245
  16956. msgid "Similarly, the following command builds all the available packages:"
  16957. msgstr ""
  16958. #. type: example
  16959. #: guix-git/doc/guix.texi:11249
  16960. #, no-wrap
  16961. msgid ""
  16962. "guix build --quiet --keep-going \\\n"
  16963. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  16964. msgstr ""
  16965. #. type: Plain text
  16966. #: guix-git/doc/guix.texi:11257
  16967. 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})."
  16968. msgstr ""
  16969. #. type: Plain text
  16970. #: guix-git/doc/guix.texi:11262
  16971. 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."
  16972. msgstr ""
  16973. #. type: Plain text
  16974. #: guix-git/doc/guix.texi:11265
  16975. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  16976. msgstr ""
  16977. #. type: Plain text
  16978. #: guix-git/doc/guix.texi:11280
  16979. 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:"
  16980. msgstr ""
  16981. #. type: table
  16982. #: guix-git/doc/guix.texi:11290 guix-git/doc/guix.texi:13188
  16983. #: guix-git/doc/guix.texi:13514 guix-git/doc/guix.texi:13659
  16984. #: guix-git/doc/guix.texi:13927
  16985. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  16986. msgstr ""
  16987. #. type: item
  16988. #: guix-git/doc/guix.texi:11291
  16989. #, no-wrap
  16990. msgid "--keep-failed"
  16991. msgstr ""
  16992. #. type: itemx
  16993. #: guix-git/doc/guix.texi:11292
  16994. #, no-wrap
  16995. msgid "-K"
  16996. msgstr ""
  16997. #. type: table
  16998. #: guix-git/doc/guix.texi:11298
  16999. 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."
  17000. msgstr ""
  17001. #. type: table
  17002. #: guix-git/doc/guix.texi:11302
  17003. 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})."
  17004. msgstr ""
  17005. #. type: item
  17006. #: guix-git/doc/guix.texi:11303
  17007. #, no-wrap
  17008. msgid "--keep-going"
  17009. msgstr ""
  17010. #. type: itemx
  17011. #: guix-git/doc/guix.texi:11304
  17012. #, no-wrap
  17013. msgid "-k"
  17014. msgstr ""
  17015. #. type: table
  17016. #: guix-git/doc/guix.texi:11307
  17017. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  17018. msgstr ""
  17019. #. type: table
  17020. #: guix-git/doc/guix.texi:11310
  17021. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  17022. msgstr ""
  17023. #. type: table
  17024. #: guix-git/doc/guix.texi:11314
  17025. msgid "Do not build the derivations."
  17026. msgstr ""
  17027. #. type: anchor{#1}
  17028. #: guix-git/doc/guix.texi:11316
  17029. msgid "fallback-option"
  17030. msgstr ""
  17031. #. type: item
  17032. #: guix-git/doc/guix.texi:11316
  17033. #, no-wrap
  17034. msgid "--fallback"
  17035. msgstr ""
  17036. #. type: table
  17037. #: guix-git/doc/guix.texi:11319
  17038. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  17039. msgstr ""
  17040. #. type: anchor{#1}
  17041. #: guix-git/doc/guix.texi:11325
  17042. msgid "client-substitute-urls"
  17043. msgstr ""
  17044. #. type: table
  17045. #: guix-git/doc/guix.texi:11325
  17046. 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})."
  17047. msgstr ""
  17048. #. type: table
  17049. #: guix-git/doc/guix.texi:11329
  17050. 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})."
  17051. msgstr ""
  17052. #. type: table
  17053. #: guix-git/doc/guix.texi:11332
  17054. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  17055. msgstr ""
  17056. #. type: item
  17057. #: guix-git/doc/guix.texi:11338
  17058. #, no-wrap
  17059. msgid "--no-grafts"
  17060. msgstr ""
  17061. #. type: table
  17062. #: guix-git/doc/guix.texi:11342
  17063. 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."
  17064. msgstr ""
  17065. #. type: item
  17066. #: guix-git/doc/guix.texi:11343
  17067. #, no-wrap
  17068. msgid "--rounds=@var{n}"
  17069. msgstr ""
  17070. #. type: table
  17071. #: guix-git/doc/guix.texi:11346
  17072. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  17073. msgstr ""
  17074. #. type: table
  17075. #: guix-git/doc/guix.texi:11351
  17076. 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."
  17077. msgstr ""
  17078. #. type: table
  17079. #: guix-git/doc/guix.texi:11367
  17080. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  17081. msgstr ""
  17082. #. type: table
  17083. #: guix-git/doc/guix.texi:11374
  17084. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  17085. msgstr ""
  17086. #. type: cindex
  17087. #: guix-git/doc/guix.texi:11377
  17088. #, no-wrap
  17089. msgid "verbosity, of the command-line tools"
  17090. msgstr ""
  17091. #. type: cindex
  17092. #: guix-git/doc/guix.texi:11378
  17093. #, no-wrap
  17094. msgid "build logs, verbosity"
  17095. msgstr ""
  17096. #. type: item
  17097. #: guix-git/doc/guix.texi:11379
  17098. #, no-wrap
  17099. msgid "-v @var{level}"
  17100. msgstr ""
  17101. #. type: itemx
  17102. #: guix-git/doc/guix.texi:11380
  17103. #, no-wrap
  17104. msgid "--verbosity=@var{level}"
  17105. msgstr ""
  17106. #. type: table
  17107. #: guix-git/doc/guix.texi:11385
  17108. 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."
  17109. msgstr ""
  17110. #. type: table
  17111. #: guix-git/doc/guix.texi:11390
  17112. 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."
  17113. msgstr ""
  17114. #. type: table
  17115. #: guix-git/doc/guix.texi:11396
  17116. 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."
  17117. msgstr ""
  17118. #. type: item
  17119. #: guix-git/doc/guix.texi:11397
  17120. #, no-wrap
  17121. msgid "--debug=@var{level}"
  17122. msgstr ""
  17123. #. type: table
  17124. #: guix-git/doc/guix.texi:11401
  17125. 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."
  17126. msgstr ""
  17127. #. type: Plain text
  17128. #: guix-git/doc/guix.texi:11408
  17129. 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."
  17130. msgstr ""
  17131. #. type: Plain text
  17132. #: guix-git/doc/guix.texi:11412
  17133. 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."
  17134. msgstr ""
  17135. #. type: defvr
  17136. #: guix-git/doc/guix.texi:11413
  17137. #, no-wrap
  17138. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  17139. msgstr ""
  17140. #. type: defvr
  17141. #: guix-git/doc/guix.texi:11418
  17142. 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:"
  17143. msgstr ""
  17144. #. type: example
  17145. #: guix-git/doc/guix.texi:11421
  17146. #, no-wrap
  17147. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  17148. msgstr ""
  17149. #. type: defvr
  17150. #: guix-git/doc/guix.texi:11425
  17151. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  17152. msgstr ""
  17153. #. type: cindex
  17154. #: guix-git/doc/guix.texi:11431
  17155. #, no-wrap
  17156. msgid "package variants"
  17157. msgstr ""
  17158. #. type: Plain text
  17159. #: guix-git/doc/guix.texi:11439
  17160. 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})."
  17161. msgstr ""
  17162. #. type: Plain text
  17163. #: guix-git/doc/guix.texi:11443
  17164. 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."
  17165. msgstr ""
  17166. #. type: Plain text
  17167. #: guix-git/doc/guix.texi:11448
  17168. 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)."
  17169. msgstr ""
  17170. #. type: cindex
  17171. #: guix-git/doc/guix.texi:11451
  17172. #, no-wrap
  17173. msgid "performance, tuning code"
  17174. msgstr ""
  17175. #. type: cindex
  17176. #: guix-git/doc/guix.texi:11452
  17177. #, no-wrap
  17178. msgid "optimization, of package code"
  17179. msgstr ""
  17180. #. type: cindex
  17181. #: guix-git/doc/guix.texi:11453
  17182. #, no-wrap
  17183. msgid "tuning, of package code"
  17184. msgstr ""
  17185. #. type: cindex
  17186. #: guix-git/doc/guix.texi:11454
  17187. #, no-wrap
  17188. msgid "SIMD support"
  17189. msgstr ""
  17190. #. type: cindex
  17191. #: guix-git/doc/guix.texi:11455
  17192. #, fuzzy, no-wrap
  17193. #| msgid "Java Packages"
  17194. msgid "tunable packages"
  17195. msgstr "بسته‌های جاوا"
  17196. #. type: cindex
  17197. #: guix-git/doc/guix.texi:11456
  17198. #, no-wrap
  17199. msgid "package multi-versioning"
  17200. msgstr ""
  17201. #. type: item
  17202. #: guix-git/doc/guix.texi:11457
  17203. #, no-wrap
  17204. msgid "--tune[=@var{cpu}]"
  17205. msgstr ""
  17206. #. type: table
  17207. #: guix-git/doc/guix.texi:11461
  17208. msgid "Use versions of the packages marked as ``tunable'' optimized for @var{cpu}. When @var{cpu} is @code{native}, or when it is omitted, tune for the CPU on which the @command{guix} command is running."
  17209. msgstr ""
  17210. #. type: table
  17211. #: guix-git/doc/guix.texi:11467
  17212. msgid "Valid @var{cpu} names are those recognized by the underlying compiler, by default the GNU Compiler Collection. On x86_64 processors, this includes CPU names such as @code{nehalem}, @code{haswell}, and @code{skylake} (@pxref{x86 Options, @code{-march},, gcc, Using the GNU Compiler Collection (GCC)})."
  17213. msgstr ""
  17214. #. type: table
  17215. #: guix-git/doc/guix.texi:11474
  17216. msgid "As new generations of CPUs come out, they augment the standard instruction set architecture (ISA) with additional instructions, in particular instructions for single-instruction/multiple-data (SIMD) parallel processing. For example, while Core2 and Skylake CPUs both implement the x86_64 ISA, only the latter supports AVX2 SIMD instructions."
  17217. msgstr ""
  17218. #. type: table
  17219. #: guix-git/doc/guix.texi:11481
  17220. msgid "The primary gain one can expect from @option{--tune} is for programs that can make use of those SIMD capabilities @emph{and} that do not already have a mechanism to select the right optimized code at run time. Packages that have the @code{tunable?} property set are considered @dfn{tunable packages} by the @option{--tune} option; a package definition with the property set looks like this:"
  17221. msgstr ""
  17222. #. type: lisp
  17223. #: guix-git/doc/guix.texi:11486
  17224. #, no-wrap
  17225. msgid ""
  17226. "(package\n"
  17227. " (name \"hello-simd\")\n"
  17228. " ;; ...\n"
  17229. "\n"
  17230. msgstr ""
  17231. #. type: lisp
  17232. #: guix-git/doc/guix.texi:11490
  17233. #, no-wrap
  17234. msgid ""
  17235. " ;; This package may benefit from SIMD extensions so\n"
  17236. " ;; mark it as \"tunable\".\n"
  17237. " (properties '((tunable? . #t))))\n"
  17238. msgstr ""
  17239. #. type: table
  17240. #: guix-git/doc/guix.texi:11495
  17241. msgid "Other packages are not considered tunable. This allows Guix to use generic binaries in the cases where tuning for a specific CPU is unlikely to provide any gain."
  17242. msgstr ""
  17243. #. type: table
  17244. #: guix-git/doc/guix.texi:11501
  17245. msgid "Tuned packages are built with @code{-march=@var{CPU}}; under the hood, the @option{-march} option is passed to the actual wrapper by a compiler wrapper. Since the build machine may not be able to run code for the target CPU micro-architecture, the test suite is not run when building a tuned package."
  17246. msgstr ""
  17247. #. type: table
  17248. #: guix-git/doc/guix.texi:11505
  17249. msgid "To reduce rebuilds to the minimum, tuned packages are @emph{grafted} onto packages that depend on them (@pxref{Security Updates, grafts}). Thus, using @option{--no-grafts} cancels the effect of @option{--tune}."
  17250. msgstr ""
  17251. #. type: table
  17252. #: guix-git/doc/guix.texi:11511
  17253. msgid "We call this technique @dfn{package multi-versioning}: several variants of tunable packages may be built, one for each CPU variant. It is the coarse-grain counterpart of @dfn{function multi-versioning} as implemented by the GNU tool chain (@pxref{Function Multiversioning,,, gcc, Using the GNU Compiler Collection (GCC)})."
  17254. msgstr ""
  17255. #. type: item
  17256. #: guix-git/doc/guix.texi:11512
  17257. #, no-wrap
  17258. msgid "--with-source=@var{source}"
  17259. msgstr ""
  17260. #. type: itemx
  17261. #: guix-git/doc/guix.texi:11513
  17262. #, no-wrap
  17263. msgid "--with-source=@var{package}=@var{source}"
  17264. msgstr ""
  17265. #. type: itemx
  17266. #: guix-git/doc/guix.texi:11514
  17267. #, no-wrap
  17268. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  17269. msgstr ""
  17270. #. type: table
  17271. #: guix-git/doc/guix.texi:11519
  17272. 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})."
  17273. msgstr ""
  17274. #. type: table
  17275. #: guix-git/doc/guix.texi:11525
  17276. 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}."
  17277. msgstr ""
  17278. #. type: table
  17279. #: guix-git/doc/guix.texi:11528
  17280. 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}."
  17281. msgstr ""
  17282. #. type: table
  17283. #: guix-git/doc/guix.texi:11533
  17284. 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:"
  17285. msgstr ""
  17286. #. type: example
  17287. #: guix-git/doc/guix.texi:11536
  17288. #, no-wrap
  17289. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  17290. msgstr ""
  17291. #. type: table
  17292. #: guix-git/doc/guix.texi:11540
  17293. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  17294. msgstr ""
  17295. #. type: example
  17296. #: guix-git/doc/guix.texi:11543
  17297. #, no-wrap
  17298. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  17299. msgstr ""
  17300. #. type: table
  17301. #: guix-git/doc/guix.texi:11546
  17302. msgid "@dots{} or to build from a checkout in a pristine environment:"
  17303. msgstr ""
  17304. #. type: example
  17305. #: guix-git/doc/guix.texi:11550
  17306. #, no-wrap
  17307. msgid ""
  17308. "$ git clone git://git.sv.gnu.org/guix.git\n"
  17309. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  17310. msgstr ""
  17311. #. type: item
  17312. #: guix-git/doc/guix.texi:11552
  17313. #, no-wrap
  17314. msgid "--with-input=@var{package}=@var{replacement}"
  17315. msgstr ""
  17316. #. type: table
  17317. #: guix-git/doc/guix.texi:11557
  17318. 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}."
  17319. msgstr ""
  17320. #. type: table
  17321. #: guix-git/doc/guix.texi:11561
  17322. 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}:"
  17323. msgstr ""
  17324. #. type: example
  17325. #: guix-git/doc/guix.texi:11564
  17326. #, no-wrap
  17327. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  17328. msgstr ""
  17329. #. type: table
  17330. #: guix-git/doc/guix.texi:11569
  17331. 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}."
  17332. msgstr ""
  17333. #. type: table
  17334. #: guix-git/doc/guix.texi:11572
  17335. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  17336. msgstr ""
  17337. #. type: item
  17338. #: guix-git/doc/guix.texi:11573
  17339. #, no-wrap
  17340. msgid "--with-graft=@var{package}=@var{replacement}"
  17341. msgstr ""
  17342. #. type: table
  17343. #: guix-git/doc/guix.texi:11579
  17344. 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."
  17345. msgstr ""
  17346. #. type: table
  17347. #: guix-git/doc/guix.texi:11583
  17348. 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:"
  17349. msgstr ""
  17350. #. type: example
  17351. #: guix-git/doc/guix.texi:11586
  17352. #, no-wrap
  17353. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  17354. msgstr ""
  17355. #. type: table
  17356. #: guix-git/doc/guix.texi:11595
  17357. 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!"
  17358. msgstr ""
  17359. #. type: cindex
  17360. #: guix-git/doc/guix.texi:11596 guix-git/doc/guix.texi:38565
  17361. #, no-wrap
  17362. msgid "debugging info, rebuilding"
  17363. msgstr ""
  17364. #. type: item
  17365. #: guix-git/doc/guix.texi:11597
  17366. #, no-wrap
  17367. msgid "--with-debug-info=@var{package}"
  17368. msgstr ""
  17369. #. type: table
  17370. #: guix-git/doc/guix.texi:11602
  17371. 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})."
  17372. msgstr ""
  17373. #. type: table
  17374. #: guix-git/doc/guix.texi:11608
  17375. 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:"
  17376. msgstr ""
  17377. #. type: example
  17378. #: guix-git/doc/guix.texi:11611 guix-git/doc/guix.texi:38596
  17379. #, no-wrap
  17380. msgid "guix install inkscape --with-debug-info=glib\n"
  17381. msgstr ""
  17382. #. type: table
  17383. #: guix-git/doc/guix.texi:11615
  17384. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  17385. msgstr ""
  17386. #. type: quotation
  17387. #: guix-git/doc/guix.texi:11621
  17388. 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."
  17389. msgstr ""
  17390. #. type: quotation
  17391. #: guix-git/doc/guix.texi:11625
  17392. 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."
  17393. msgstr ""
  17394. #. type: cindex
  17395. #: guix-git/doc/guix.texi:11627
  17396. #, no-wrap
  17397. msgid "tool chain, changing the build tool chain of a package"
  17398. msgstr ""
  17399. #. type: item
  17400. #: guix-git/doc/guix.texi:11628
  17401. #, no-wrap
  17402. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  17403. msgstr ""
  17404. #. type: table
  17405. #: guix-git/doc/guix.texi:11632
  17406. 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++."
  17407. msgstr ""
  17408. #. type: example
  17409. #: guix-git/doc/guix.texi:11639
  17410. #, no-wrap
  17411. msgid ""
  17412. "guix build octave-cli \\\n"
  17413. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  17414. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  17415. msgstr ""
  17416. #. type: table
  17417. #: guix-git/doc/guix.texi:11646
  17418. 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}."
  17419. msgstr ""
  17420. #. type: table
  17421. #: guix-git/doc/guix.texi:11650
  17422. 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:"
  17423. msgstr ""
  17424. #. type: example
  17425. #: guix-git/doc/guix.texi:11654
  17426. #, no-wrap
  17427. msgid ""
  17428. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  17429. " intel-mpi-benchmarks\n"
  17430. msgstr ""
  17431. #. type: quotation
  17432. #: guix-git/doc/guix.texi:11663
  17433. 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."
  17434. msgstr ""
  17435. #. type: item
  17436. #: guix-git/doc/guix.texi:11665
  17437. #, no-wrap
  17438. msgid "--with-git-url=@var{package}=@var{url}"
  17439. msgstr ""
  17440. #. type: cindex
  17441. #: guix-git/doc/guix.texi:11666
  17442. #, no-wrap
  17443. msgid "Git, using the latest commit"
  17444. msgstr ""
  17445. #. type: cindex
  17446. #: guix-git/doc/guix.texi:11667
  17447. #, no-wrap
  17448. msgid "latest commit, building"
  17449. msgstr ""
  17450. #. type: table
  17451. #: guix-git/doc/guix.texi:11671
  17452. 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."
  17453. msgstr ""
  17454. #. type: table
  17455. #: guix-git/doc/guix.texi:11674
  17456. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  17457. msgstr ""
  17458. #. type: example
  17459. #: guix-git/doc/guix.texi:11678
  17460. #, no-wrap
  17461. msgid ""
  17462. "guix build python-numpy \\\n"
  17463. " --with-git-url=python=https://github.com/python/cpython\n"
  17464. msgstr ""
  17465. #. type: table
  17466. #: guix-git/doc/guix.texi:11682
  17467. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  17468. msgstr ""
  17469. #. type: cindex
  17470. #: guix-git/doc/guix.texi:11683 guix-git/doc/guix.texi:29390
  17471. #, no-wrap
  17472. msgid "continuous integration"
  17473. msgstr ""
  17474. #. type: table
  17475. #: guix-git/doc/guix.texi:11689
  17476. 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)."
  17477. msgstr ""
  17478. #. type: table
  17479. #: guix-git/doc/guix.texi:11693
  17480. 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."
  17481. msgstr ""
  17482. #. type: item
  17483. #: guix-git/doc/guix.texi:11694
  17484. #, no-wrap
  17485. msgid "--with-branch=@var{package}=@var{branch}"
  17486. msgstr ""
  17487. #. type: table
  17488. #: guix-git/doc/guix.texi:11700
  17489. 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."
  17490. msgstr ""
  17491. #. type: table
  17492. #: guix-git/doc/guix.texi:11705
  17493. 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:"
  17494. msgstr ""
  17495. #. type: example
  17496. #: guix-git/doc/guix.texi:11708
  17497. #, no-wrap
  17498. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  17499. msgstr ""
  17500. #. type: item
  17501. #: guix-git/doc/guix.texi:11710
  17502. #, no-wrap
  17503. msgid "--with-commit=@var{package}=@var{commit}"
  17504. msgstr ""
  17505. #. type: table
  17506. #: guix-git/doc/guix.texi:11715
  17507. msgid "This is similar to @option{--with-branch}, except that it builds from @var{commit} rather than the tip of a branch. @var{commit} must be a valid Git commit SHA1 identifier, a tag, or a @command{git describe} style identifier such as @code{1.0-3-gabc123}."
  17508. msgstr ""
  17509. #. type: item
  17510. #: guix-git/doc/guix.texi:11716
  17511. #, no-wrap
  17512. msgid "--with-patch=@var{package}=@var{file}"
  17513. msgstr ""
  17514. #. type: table
  17515. #: guix-git/doc/guix.texi:11723
  17516. 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})."
  17517. msgstr ""
  17518. #. type: table
  17519. #: guix-git/doc/guix.texi:11726
  17520. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  17521. msgstr ""
  17522. #. type: example
  17523. #: guix-git/doc/guix.texi:11729
  17524. #, no-wrap
  17525. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  17526. msgstr ""
  17527. #. type: table
  17528. #: guix-git/doc/guix.texi:11733
  17529. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  17530. msgstr ""
  17531. #. type: cindex
  17532. #: guix-git/doc/guix.texi:11734
  17533. #, no-wrap
  17534. msgid "upstream, latest version"
  17535. msgstr ""
  17536. #. type: item
  17537. #: guix-git/doc/guix.texi:11735
  17538. #, no-wrap
  17539. msgid "--with-latest=@var{package}"
  17540. msgstr ""
  17541. #. type: table
  17542. #: guix-git/doc/guix.texi:11740
  17543. 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})."
  17544. msgstr ""
  17545. #. type: table
  17546. #: guix-git/doc/guix.texi:11744
  17547. 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."
  17548. msgstr ""
  17549. #. type: table
  17550. #: guix-git/doc/guix.texi:11747
  17551. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  17552. msgstr ""
  17553. #. type: example
  17554. #: guix-git/doc/guix.texi:11750
  17555. #, no-wrap
  17556. msgid "guix build guix --with-latest=guile-json\n"
  17557. msgstr ""
  17558. #. type: table
  17559. #: guix-git/doc/guix.texi:11759
  17560. 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."
  17561. msgstr ""
  17562. #. type: table
  17563. #: guix-git/doc/guix.texi:11764
  17564. 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})."
  17565. msgstr ""
  17566. #. type: cindex
  17567. #: guix-git/doc/guix.texi:11765
  17568. #, no-wrap
  17569. msgid "test suite, skipping"
  17570. msgstr ""
  17571. #. type: item
  17572. #: guix-git/doc/guix.texi:11766
  17573. #, no-wrap
  17574. msgid "--without-tests=@var{package}"
  17575. msgstr ""
  17576. #. type: table
  17577. #: guix-git/doc/guix.texi:11772
  17578. 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."
  17579. msgstr ""
  17580. #. type: table
  17581. #: guix-git/doc/guix.texi:11776
  17582. 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:"
  17583. msgstr ""
  17584. #. type: example
  17585. #: guix-git/doc/guix.texi:11779
  17586. #, no-wrap
  17587. msgid "guix install --without-tests=python python-notebook\n"
  17588. msgstr ""
  17589. #. type: table
  17590. #: guix-git/doc/guix.texi:11785
  17591. 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."
  17592. msgstr ""
  17593. #. type: table
  17594. #: guix-git/doc/guix.texi:11791
  17595. 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."
  17596. msgstr ""
  17597. #. type: Plain text
  17598. #: guix-git/doc/guix.texi:11798
  17599. 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."
  17600. msgstr ""
  17601. #. type: Plain text
  17602. #: guix-git/doc/guix.texi:11804
  17603. msgid "The command-line options presented below are specific to @command{guix build}."
  17604. msgstr ""
  17605. #. type: item
  17606. #: guix-git/doc/guix.texi:11807
  17607. #, no-wrap
  17608. msgid "--quiet"
  17609. msgstr ""
  17610. #. type: table
  17611. #: guix-git/doc/guix.texi:11812
  17612. 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."
  17613. msgstr ""
  17614. #. type: table
  17615. #: guix-git/doc/guix.texi:11817
  17616. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  17617. msgstr ""
  17618. #. type: table
  17619. #: guix-git/doc/guix.texi:11820
  17620. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  17621. msgstr ""
  17622. #. type: table
  17623. #: guix-git/doc/guix.texi:11829
  17624. 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}:"
  17625. msgstr ""
  17626. #. type: item
  17627. #: guix-git/doc/guix.texi:11834
  17628. #, no-wrap
  17629. msgid "--manifest=@var{manifest}"
  17630. msgstr ""
  17631. #. type: itemx
  17632. #: guix-git/doc/guix.texi:11835
  17633. #, no-wrap
  17634. msgid "-m @var{manifest}"
  17635. msgstr ""
  17636. #. type: table
  17637. #: guix-git/doc/guix.texi:11838
  17638. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  17639. msgstr ""
  17640. #. type: table
  17641. #: guix-git/doc/guix.texi:11842
  17642. msgid "Build the package or derivation @var{expr} evaluates to."
  17643. msgstr ""
  17644. #. type: table
  17645. #: guix-git/doc/guix.texi:11846
  17646. 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."
  17647. msgstr ""
  17648. #. type: table
  17649. #: guix-git/doc/guix.texi:11850
  17650. 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})."
  17651. msgstr ""
  17652. #. type: table
  17653. #: guix-git/doc/guix.texi:11854
  17654. 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}."
  17655. msgstr ""
  17656. #. type: item
  17657. #: guix-git/doc/guix.texi:11855
  17658. #, no-wrap
  17659. msgid "--source"
  17660. msgstr ""
  17661. #. type: itemx
  17662. #: guix-git/doc/guix.texi:11856
  17663. #, no-wrap
  17664. msgid "-S"
  17665. msgstr ""
  17666. #. type: table
  17667. #: guix-git/doc/guix.texi:11859
  17668. msgid "Build the source derivations of the packages, rather than the packages themselves."
  17669. msgstr ""
  17670. #. type: table
  17671. #: guix-git/doc/guix.texi:11863
  17672. 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."
  17673. msgstr ""
  17674. #. type: table
  17675. #: guix-git/doc/guix.texi:11867
  17676. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  17677. msgstr ""
  17678. #. type: cindex
  17679. #: guix-git/doc/guix.texi:11868
  17680. #, no-wrap
  17681. msgid "source, verification"
  17682. msgstr ""
  17683. #. type: table
  17684. #: guix-git/doc/guix.texi:11874
  17685. 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."
  17686. msgstr ""
  17687. #. type: table
  17688. #: guix-git/doc/guix.texi:11879
  17689. 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."
  17690. msgstr ""
  17691. #. type: item
  17692. #: guix-git/doc/guix.texi:11880
  17693. #, no-wrap
  17694. msgid "--sources"
  17695. msgstr ""
  17696. #. type: table
  17697. #: guix-git/doc/guix.texi:11887
  17698. 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:"
  17699. msgstr ""
  17700. #. type: item
  17701. #: guix-git/doc/guix.texi:11889 guix-git/doc/guix.texi:13713
  17702. #, no-wrap
  17703. msgid "package"
  17704. msgstr ""
  17705. #. type: table
  17706. #: guix-git/doc/guix.texi:11892
  17707. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  17708. msgstr ""
  17709. #. type: item
  17710. #: guix-git/doc/guix.texi:11893 guix-git/doc/guix.texi:20169
  17711. #, no-wrap
  17712. msgid "all"
  17713. msgstr ""
  17714. #. type: table
  17715. #: guix-git/doc/guix.texi:11896
  17716. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  17717. msgstr ""
  17718. #. type: example
  17719. #: guix-git/doc/guix.texi:11902
  17720. #, no-wrap
  17721. msgid ""
  17722. "$ guix build --sources tzdata\n"
  17723. "The following derivations will be built:\n"
  17724. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  17725. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17726. msgstr ""
  17727. #. type: item
  17728. #: guix-git/doc/guix.texi:11904
  17729. #, no-wrap
  17730. msgid "transitive"
  17731. msgstr ""
  17732. #. type: table
  17733. #: guix-git/doc/guix.texi:11908
  17734. 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."
  17735. msgstr ""
  17736. #. type: example
  17737. #: guix-git/doc/guix.texi:11919
  17738. #, no-wrap
  17739. msgid ""
  17740. "$ guix build --sources=transitive tzdata\n"
  17741. "The following derivations will be built:\n"
  17742. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17743. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  17744. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  17745. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  17746. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  17747. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  17748. "@dots{}\n"
  17749. msgstr ""
  17750. #. type: table
  17751. #: guix-git/doc/guix.texi:11929
  17752. 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."
  17753. msgstr ""
  17754. #. type: quotation
  17755. #: guix-git/doc/guix.texi:11934
  17756. 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."
  17757. msgstr ""
  17758. #. type: table
  17759. #: guix-git/doc/guix.texi:11941
  17760. 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."
  17761. msgstr ""
  17762. #. type: quotation
  17763. #: guix-git/doc/guix.texi:11946
  17764. 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."
  17765. msgstr ""
  17766. #. type: table
  17767. #: guix-git/doc/guix.texi:11952
  17768. 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."
  17769. msgstr ""
  17770. #. type: table
  17771. #: guix-git/doc/guix.texi:11956
  17772. 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."
  17773. msgstr ""
  17774. #. type: table
  17775. #: guix-git/doc/guix.texi:11962
  17776. 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})."
  17777. msgstr ""
  17778. #. type: anchor{#1}
  17779. #: guix-git/doc/guix.texi:11964
  17780. msgid "build-check"
  17781. msgstr ""
  17782. #. type: cindex
  17783. #: guix-git/doc/guix.texi:11965
  17784. #, no-wrap
  17785. msgid "determinism, checking"
  17786. msgstr ""
  17787. #. type: cindex
  17788. #: guix-git/doc/guix.texi:11966
  17789. #, no-wrap
  17790. msgid "reproducibility, checking"
  17791. msgstr ""
  17792. #. type: table
  17793. #: guix-git/doc/guix.texi:11970
  17794. 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."
  17795. msgstr ""
  17796. #. type: table
  17797. #: guix-git/doc/guix.texi:11975
  17798. 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."
  17799. msgstr ""
  17800. #. type: item
  17801. #: guix-git/doc/guix.texi:11980
  17802. #, no-wrap
  17803. msgid "--repair"
  17804. msgstr ""
  17805. #. type: cindex
  17806. #: guix-git/doc/guix.texi:11981
  17807. #, no-wrap
  17808. msgid "repairing store items"
  17809. msgstr ""
  17810. #. type: table
  17811. #: guix-git/doc/guix.texi:11985
  17812. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  17813. msgstr ""
  17814. #. type: table
  17815. #: guix-git/doc/guix.texi:11987
  17816. msgid "This operation is not atomic and thus restricted to @code{root}."
  17817. msgstr ""
  17818. #. type: item
  17819. #: guix-git/doc/guix.texi:11988
  17820. #, no-wrap
  17821. msgid "--derivations"
  17822. msgstr ""
  17823. #. type: table
  17824. #: guix-git/doc/guix.texi:11992
  17825. msgid "Return the derivation paths, not the output paths, of the given packages."
  17826. msgstr ""
  17827. #. type: cindex
  17828. #: guix-git/doc/guix.texi:11995
  17829. #, no-wrap
  17830. msgid "GC roots, adding"
  17831. msgstr ""
  17832. #. type: cindex
  17833. #: guix-git/doc/guix.texi:11996
  17834. #, no-wrap
  17835. msgid "garbage collector roots, adding"
  17836. msgstr ""
  17837. #. type: table
  17838. #: guix-git/doc/guix.texi:11999 guix-git/doc/guix.texi:35870
  17839. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  17840. msgstr ""
  17841. #. type: table
  17842. #: guix-git/doc/guix.texi:12005
  17843. 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."
  17844. msgstr ""
  17845. #. type: item
  17846. #: guix-git/doc/guix.texi:12006
  17847. #, no-wrap
  17848. msgid "--log-file"
  17849. msgstr ""
  17850. #. type: cindex
  17851. #: guix-git/doc/guix.texi:12007
  17852. #, no-wrap
  17853. msgid "build logs, access"
  17854. msgstr ""
  17855. #. type: table
  17856. #: guix-git/doc/guix.texi:12011
  17857. 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."
  17858. msgstr ""
  17859. #. type: table
  17860. #: guix-git/doc/guix.texi:12014
  17861. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  17862. msgstr ""
  17863. #. type: example
  17864. #: guix-git/doc/guix.texi:12020
  17865. #, no-wrap
  17866. msgid ""
  17867. "guix build --log-file $(guix build -d guile)\n"
  17868. "guix build --log-file $(guix build guile)\n"
  17869. "guix build --log-file guile\n"
  17870. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  17871. msgstr ""
  17872. #. type: table
  17873. #: guix-git/doc/guix.texi:12025
  17874. 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})."
  17875. msgstr ""
  17876. #. type: table
  17877. #: guix-git/doc/guix.texi:12028
  17878. 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:"
  17879. msgstr ""
  17880. #. type: example
  17881. #: guix-git/doc/guix.texi:12032
  17882. #, no-wrap
  17883. msgid ""
  17884. "$ guix build --log-file gdb -s aarch64-linux\n"
  17885. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  17886. msgstr ""
  17887. #. type: table
  17888. #: guix-git/doc/guix.texi:12035
  17889. msgid "You can freely access a huge library of build logs!"
  17890. msgstr ""
  17891. #. type: cindex
  17892. #: guix-git/doc/guix.texi:12040
  17893. #, no-wrap
  17894. msgid "build failures, debugging"
  17895. msgstr ""
  17896. #. type: Plain text
  17897. #: guix-git/doc/guix.texi:12046
  17898. 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."
  17899. msgstr ""
  17900. #. type: Plain text
  17901. #: guix-git/doc/guix.texi:12051
  17902. 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}})."
  17903. msgstr ""
  17904. #. type: Plain text
  17905. #: guix-git/doc/guix.texi:12057
  17906. 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:"
  17907. msgstr ""
  17908. #. type: example
  17909. #: guix-git/doc/guix.texi:12064
  17910. #, no-wrap
  17911. msgid ""
  17912. "$ guix build foo -K\n"
  17913. "@dots{} @i{build fails}\n"
  17914. "$ cd /tmp/guix-build-foo.drv-0\n"
  17915. "$ source ./environment-variables\n"
  17916. "$ cd foo-1.2\n"
  17917. msgstr ""
  17918. #. type: Plain text
  17919. #: guix-git/doc/guix.texi:12068
  17920. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  17921. msgstr ""
  17922. #. type: Plain text
  17923. #: guix-git/doc/guix.texi:12074
  17924. 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})."
  17925. msgstr ""
  17926. #. type: Plain text
  17927. #: guix-git/doc/guix.texi:12077
  17928. 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:"
  17929. msgstr ""
  17930. #. type: example
  17931. #: guix-git/doc/guix.texi:12085
  17932. #, no-wrap
  17933. msgid ""
  17934. "$ guix build -K foo\n"
  17935. "@dots{}\n"
  17936. "$ cd /tmp/guix-build-foo.drv-0\n"
  17937. "$ guix shell --no-grafts -C -D foo strace gdb\n"
  17938. "[env]# source ./environment-variables\n"
  17939. "[env]# cd foo-1.2\n"
  17940. msgstr ""
  17941. #. type: Plain text
  17942. #: guix-git/doc/guix.texi:12094
  17943. msgid "Here, @command{guix shell -C} creates a container and spawns a new shell in it (@pxref{Invoking guix shell}). The @command{strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)."
  17944. msgstr ""
  17945. #. type: Plain text
  17946. #: guix-git/doc/guix.texi:12097
  17947. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  17948. msgstr ""
  17949. #. type: example
  17950. #: guix-git/doc/guix.texi:12100
  17951. #, no-wrap
  17952. msgid "[env]# rm /bin/sh\n"
  17953. msgstr ""
  17954. #. type: Plain text
  17955. #: guix-git/doc/guix.texi:12104
  17956. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix shell}.)"
  17957. msgstr ""
  17958. #. type: Plain text
  17959. #: guix-git/doc/guix.texi:12107
  17960. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  17961. msgstr ""
  17962. #. type: example
  17963. #: guix-git/doc/guix.texi:12110
  17964. #, no-wrap
  17965. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  17966. msgstr ""
  17967. #. type: Plain text
  17968. #: guix-git/doc/guix.texi:12115
  17969. 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."
  17970. msgstr ""
  17971. #. type: section
  17972. #: guix-git/doc/guix.texi:12118
  17973. #, no-wrap
  17974. msgid "Invoking @command{guix edit}"
  17975. msgstr ""
  17976. #. type: command{#1}
  17977. #: guix-git/doc/guix.texi:12120
  17978. #, no-wrap
  17979. msgid "guix edit"
  17980. msgstr ""
  17981. #. type: cindex
  17982. #: guix-git/doc/guix.texi:12121
  17983. #, no-wrap
  17984. msgid "package definition, editing"
  17985. msgstr ""
  17986. #. type: Plain text
  17987. #: guix-git/doc/guix.texi:12126
  17988. 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:"
  17989. msgstr ""
  17990. #. type: example
  17991. #: guix-git/doc/guix.texi:12129
  17992. #, no-wrap
  17993. msgid "guix edit gcc@@4.9 vim\n"
  17994. msgstr ""
  17995. #. type: Plain text
  17996. #: guix-git/doc/guix.texi:12135
  17997. 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."
  17998. msgstr ""
  17999. #. type: Plain text
  18000. #: guix-git/doc/guix.texi:12141
  18001. 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."
  18002. msgstr ""
  18003. #. type: Plain text
  18004. #: guix-git/doc/guix.texi:12146
  18005. 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."
  18006. msgstr ""
  18007. #. type: section
  18008. #: guix-git/doc/guix.texi:12148
  18009. #, no-wrap
  18010. msgid "Invoking @command{guix download}"
  18011. msgstr ""
  18012. #. type: command{#1}
  18013. #: guix-git/doc/guix.texi:12150
  18014. #, no-wrap
  18015. msgid "guix download"
  18016. msgstr ""
  18017. #. type: cindex
  18018. #: guix-git/doc/guix.texi:12151
  18019. #, no-wrap
  18020. msgid "downloading package sources"
  18021. msgstr ""
  18022. #. type: Plain text
  18023. #: guix-git/doc/guix.texi:12158
  18024. 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."
  18025. msgstr ""
  18026. #. type: Plain text
  18027. #: guix-git/doc/guix.texi:12165
  18028. 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})."
  18029. msgstr ""
  18030. #. type: Plain text
  18031. #: guix-git/doc/guix.texi:12173
  18032. 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."
  18033. msgstr ""
  18034. #. type: Plain text
  18035. #: guix-git/doc/guix.texi:12178
  18036. 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."
  18037. msgstr ""
  18038. #. type: Plain text
  18039. #: guix-git/doc/guix.texi:12180 guix-git/doc/guix.texi:14026
  18040. msgid "The following options are available:"
  18041. msgstr ""
  18042. #. type: item
  18043. #: guix-git/doc/guix.texi:12182 guix-git/doc/guix.texi:12226
  18044. #, no-wrap
  18045. msgid "--hash=@var{algorithm}"
  18046. msgstr ""
  18047. #. type: itemx
  18048. #: guix-git/doc/guix.texi:12183 guix-git/doc/guix.texi:12227
  18049. #, no-wrap
  18050. msgid "-H @var{algorithm}"
  18051. msgstr ""
  18052. #. type: table
  18053. #: guix-git/doc/guix.texi:12186
  18054. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  18055. msgstr ""
  18056. #. type: item
  18057. #: guix-git/doc/guix.texi:12187 guix-git/doc/guix.texi:12236
  18058. #, no-wrap
  18059. msgid "--format=@var{fmt}"
  18060. msgstr ""
  18061. #. type: itemx
  18062. #: guix-git/doc/guix.texi:12188 guix-git/doc/guix.texi:12237
  18063. #, no-wrap
  18064. msgid "-f @var{fmt}"
  18065. msgstr ""
  18066. #. type: table
  18067. #: guix-git/doc/guix.texi:12191
  18068. 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}."
  18069. msgstr ""
  18070. #. type: item
  18071. #: guix-git/doc/guix.texi:12192
  18072. #, no-wrap
  18073. msgid "--no-check-certificate"
  18074. msgstr ""
  18075. #. type: table
  18076. #: guix-git/doc/guix.texi:12194
  18077. msgid "Do not validate the X.509 certificates of HTTPS servers."
  18078. msgstr ""
  18079. #. type: table
  18080. #: guix-git/doc/guix.texi:12198
  18081. 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."
  18082. msgstr ""
  18083. #. type: item
  18084. #: guix-git/doc/guix.texi:12199
  18085. #, no-wrap
  18086. msgid "--output=@var{file}"
  18087. msgstr ""
  18088. #. type: itemx
  18089. #: guix-git/doc/guix.texi:12200
  18090. #, no-wrap
  18091. msgid "-o @var{file}"
  18092. msgstr ""
  18093. #. type: table
  18094. #: guix-git/doc/guix.texi:12203
  18095. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  18096. msgstr ""
  18097. #. type: section
  18098. #: guix-git/doc/guix.texi:12206
  18099. #, no-wrap
  18100. msgid "Invoking @command{guix hash}"
  18101. msgstr ""
  18102. #. type: command{#1}
  18103. #: guix-git/doc/guix.texi:12208
  18104. #, no-wrap
  18105. msgid "guix hash"
  18106. msgstr ""
  18107. #. type: Plain text
  18108. #: guix-git/doc/guix.texi:12213
  18109. msgid "The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of one or more files, which can be used in the definition of a package (@pxref{Defining Packages})."
  18110. msgstr ""
  18111. #. type: example
  18112. #: guix-git/doc/guix.texi:12218
  18113. #, no-wrap
  18114. msgid "guix hash @var{option} @var{file} ...\n"
  18115. msgstr ""
  18116. #. type: Plain text
  18117. #: guix-git/doc/guix.texi:12223
  18118. 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:"
  18119. msgstr ""
  18120. #. type: table
  18121. #: guix-git/doc/guix.texi:12230
  18122. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  18123. msgstr ""
  18124. #. type: table
  18125. #: guix-git/doc/guix.texi:12235
  18126. msgid "@var{algorithm} must be the name of a cryptographic hash algorithm supported by Libgcrypt @i{via} Guile-Gcrypt---e.g., @code{sha512} or @code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt Reference Manual})."
  18127. msgstr ""
  18128. #. type: table
  18129. #: guix-git/doc/guix.texi:12239
  18130. msgid "Write the hash in the format specified by @var{fmt}."
  18131. msgstr ""
  18132. #. type: table
  18133. #: guix-git/doc/guix.texi:12242
  18134. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  18135. msgstr ""
  18136. #. type: table
  18137. #: guix-git/doc/guix.texi:12246
  18138. 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."
  18139. msgstr ""
  18140. #. type: table
  18141. #: guix-git/doc/guix.texi:12252
  18142. msgid "The @option{--recursive} option is deprecated in favor of @option{--serializer=nar} (see below); @option{-r} remains accepted as a convenient shorthand."
  18143. msgstr ""
  18144. #. type: item
  18145. #: guix-git/doc/guix.texi:12253
  18146. #, no-wrap
  18147. msgid "--serializer=@var{type}"
  18148. msgstr ""
  18149. #. type: itemx
  18150. #: guix-git/doc/guix.texi:12254
  18151. #, no-wrap
  18152. msgid "-S @var{type}"
  18153. msgstr ""
  18154. #. type: table
  18155. #: guix-git/doc/guix.texi:12256
  18156. msgid "Compute the hash on @var{file} using @var{type} serialization."
  18157. msgstr ""
  18158. #. type: table
  18159. #: guix-git/doc/guix.texi:12258
  18160. msgid "@var{type} may be one of the following:"
  18161. msgstr ""
  18162. #. type: item
  18163. #: guix-git/doc/guix.texi:12260 guix-git/doc/guix.texi:14379
  18164. #: guix-git/doc/guix.texi:17892 guix-git/doc/guix.texi:20166
  18165. #, no-wrap
  18166. msgid "none"
  18167. msgstr ""
  18168. #. type: table
  18169. #: guix-git/doc/guix.texi:12262
  18170. msgid "This is the default: it computes the hash of a file's contents."
  18171. msgstr ""
  18172. #. type: item
  18173. #: guix-git/doc/guix.texi:12263
  18174. #, no-wrap
  18175. msgid "nar"
  18176. msgstr ""
  18177. #. type: table
  18178. #: guix-git/doc/guix.texi:12273
  18179. msgid "Compute the hash of a ``normalized archive'' (or ``nar'') containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps have no impact on the hash (@pxref{Invoking guix archive}, for more info on the nar format)."
  18180. msgstr ""
  18181. #. type: item
  18182. #: guix-git/doc/guix.texi:12274
  18183. #, no-wrap
  18184. msgid "git"
  18185. msgstr ""
  18186. #. type: table
  18187. #: guix-git/doc/guix.texi:12277
  18188. msgid "Compute the hash of the file or directory as a Git ``tree'', following the same method as the Git version control system."
  18189. msgstr ""
  18190. #. type: item
  18191. #: guix-git/doc/guix.texi:12279
  18192. #, no-wrap
  18193. msgid "--exclude-vcs"
  18194. msgstr ""
  18195. #. type: itemx
  18196. #: guix-git/doc/guix.texi:12280 guix-git/doc/guix.texi:13499
  18197. #, no-wrap
  18198. msgid "-x"
  18199. msgstr ""
  18200. #. type: table
  18201. #: guix-git/doc/guix.texi:12283
  18202. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  18203. msgstr ""
  18204. #. type: vindex
  18205. #: guix-git/doc/guix.texi:12284
  18206. #, no-wrap
  18207. msgid "git-fetch"
  18208. msgstr ""
  18209. #. type: table
  18210. #: guix-git/doc/guix.texi:12288
  18211. 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}):"
  18212. msgstr ""
  18213. #. type: example
  18214. #: guix-git/doc/guix.texi:12293
  18215. #, no-wrap
  18216. msgid ""
  18217. "$ git clone http://example.org/foo.git\n"
  18218. "$ cd foo\n"
  18219. "$ guix hash -x --serializer=nar .\n"
  18220. msgstr ""
  18221. #. type: cindex
  18222. #: guix-git/doc/guix.texi:12297 guix-git/doc/guix.texi:12302
  18223. #, no-wrap
  18224. msgid "Invoking @command{guix import}"
  18225. msgstr ""
  18226. #. type: cindex
  18227. #: guix-git/doc/guix.texi:12299
  18228. #, no-wrap
  18229. msgid "importing packages"
  18230. msgstr ""
  18231. #. type: cindex
  18232. #: guix-git/doc/guix.texi:12300
  18233. #, no-wrap
  18234. msgid "package import"
  18235. msgstr ""
  18236. #. type: cindex
  18237. #: guix-git/doc/guix.texi:12301
  18238. #, no-wrap
  18239. msgid "package conversion"
  18240. msgstr ""
  18241. #. type: Plain text
  18242. #: guix-git/doc/guix.texi:12309
  18243. 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})."
  18244. msgstr ""
  18245. #. type: example
  18246. #: guix-git/doc/guix.texi:12314
  18247. #, no-wrap
  18248. msgid "guix import @var{importer} @var{options}@dots{}\n"
  18249. msgstr ""
  18250. #. type: Plain text
  18251. #: guix-git/doc/guix.texi:12319
  18252. 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}."
  18253. msgstr ""
  18254. #. type: Plain text
  18255. #: guix-git/doc/guix.texi:12323
  18256. 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."
  18257. msgstr ""
  18258. #. type: Plain text
  18259. #: guix-git/doc/guix.texi:12325
  18260. msgid "Currently, the available ``importers'' are:"
  18261. msgstr ""
  18262. #. type: item
  18263. #: guix-git/doc/guix.texi:12327 guix-git/doc/guix.texi:12965
  18264. #, no-wrap
  18265. msgid "gnu"
  18266. msgstr ""
  18267. #. type: table
  18268. #: guix-git/doc/guix.texi:12331
  18269. 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."
  18270. msgstr ""
  18271. #. type: table
  18272. #: guix-git/doc/guix.texi:12334
  18273. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  18274. msgstr ""
  18275. #. type: table
  18276. #: guix-git/doc/guix.texi:12337
  18277. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  18278. msgstr ""
  18279. #. type: example
  18280. #: guix-git/doc/guix.texi:12340
  18281. #, no-wrap
  18282. msgid "guix import gnu hello\n"
  18283. msgstr ""
  18284. #. type: table
  18285. #: guix-git/doc/guix.texi:12343 guix-git/doc/guix.texi:12584
  18286. #: guix-git/doc/guix.texi:12634 guix-git/doc/guix.texi:12663
  18287. msgid "Specific command-line options are:"
  18288. msgstr ""
  18289. #. type: item
  18290. #: guix-git/doc/guix.texi:12345 guix-git/doc/guix.texi:13162
  18291. #, no-wrap
  18292. msgid "--key-download=@var{policy}"
  18293. msgstr ""
  18294. #. type: table
  18295. #: guix-git/doc/guix.texi:12349
  18296. 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}}."
  18297. msgstr ""
  18298. #. type: item
  18299. #: guix-git/doc/guix.texi:12351 guix-git/doc/guix.texi:12352
  18300. #: guix-git/doc/guix.texi:12989
  18301. #, no-wrap
  18302. msgid "pypi"
  18303. msgstr ""
  18304. #. type: table
  18305. #: guix-git/doc/guix.texi:12359
  18306. 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."
  18307. msgstr ""
  18308. #. type: table
  18309. #: guix-git/doc/guix.texi:12362
  18310. msgid "The command below imports metadata for the latest version of the @code{itsdangerous} Python package:"
  18311. msgstr ""
  18312. #. type: example
  18313. #: guix-git/doc/guix.texi:12365
  18314. #, no-wrap
  18315. msgid "guix import pypi itsdangerous\n"
  18316. msgstr ""
  18317. #. type: table
  18318. #: guix-git/doc/guix.texi:12368 guix-git/doc/guix.texi:12471
  18319. #: guix-git/doc/guix.texi:12812
  18320. msgid "You can also ask for a specific version:"
  18321. msgstr ""
  18322. #. type: example
  18323. #: guix-git/doc/guix.texi:12371
  18324. #, no-wrap
  18325. msgid "guix import pypi itsdangerous@@1.1.0\n"
  18326. msgstr ""
  18327. #. type: table
  18328. #: guix-git/doc/guix.texi:12379 guix-git/doc/guix.texi:12404
  18329. #: guix-git/doc/guix.texi:12436 guix-git/doc/guix.texi:12607
  18330. #: guix-git/doc/guix.texi:12648 guix-git/doc/guix.texi:12699
  18331. #: guix-git/doc/guix.texi:12724 guix-git/doc/guix.texi:12740
  18332. #: guix-git/doc/guix.texi:12788 guix-git/doc/guix.texi:12824
  18333. 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."
  18334. msgstr ""
  18335. #. type: item
  18336. #: guix-git/doc/guix.texi:12381 guix-git/doc/guix.texi:12382
  18337. #: guix-git/doc/guix.texi:12991
  18338. #, no-wrap
  18339. msgid "gem"
  18340. msgstr ""
  18341. #. type: table
  18342. #: guix-git/doc/guix.texi:12391
  18343. 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."
  18344. msgstr ""
  18345. #. type: table
  18346. #: guix-git/doc/guix.texi:12393
  18347. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  18348. msgstr ""
  18349. #. type: example
  18350. #: guix-git/doc/guix.texi:12396
  18351. #, no-wrap
  18352. msgid "guix import gem rails\n"
  18353. msgstr ""
  18354. #. type: cindex
  18355. #: guix-git/doc/guix.texi:12406 guix-git/doc/guix.texi:12407
  18356. #, no-wrap
  18357. msgid "minetest"
  18358. msgstr ""
  18359. #. type: cindex
  18360. #: guix-git/doc/guix.texi:12408
  18361. #, no-wrap
  18362. msgid "ContentDB"
  18363. msgstr ""
  18364. #. type: table
  18365. #: guix-git/doc/guix.texi:12417
  18366. 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."
  18367. msgstr ""
  18368. #. type: table
  18369. #: guix-git/doc/guix.texi:12419
  18370. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  18371. msgstr ""
  18372. #. type: example
  18373. #: guix-git/doc/guix.texi:12422
  18374. #, no-wrap
  18375. msgid "guix import minetest Jeija/mesecons\n"
  18376. msgstr ""
  18377. #. type: table
  18378. #: guix-git/doc/guix.texi:12425
  18379. msgid "The author name can also be left out:"
  18380. msgstr ""
  18381. #. type: example
  18382. #: guix-git/doc/guix.texi:12428
  18383. #, no-wrap
  18384. msgid "guix import minetest mesecons\n"
  18385. msgstr ""
  18386. #. type: item
  18387. #: guix-git/doc/guix.texi:12438 guix-git/doc/guix.texi:12987
  18388. #, no-wrap
  18389. msgid "cpan"
  18390. msgstr ""
  18391. #. type: cindex
  18392. #: guix-git/doc/guix.texi:12439
  18393. #, no-wrap
  18394. msgid "CPAN"
  18395. msgstr ""
  18396. #. type: table
  18397. #: guix-git/doc/guix.texi:12447
  18398. 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."
  18399. msgstr ""
  18400. #. type: table
  18401. #: guix-git/doc/guix.texi:12450
  18402. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  18403. msgstr ""
  18404. #. type: example
  18405. #: guix-git/doc/guix.texi:12453
  18406. #, no-wrap
  18407. msgid "guix import cpan Acme::Boolean\n"
  18408. msgstr ""
  18409. #. type: item
  18410. #: guix-git/doc/guix.texi:12455 guix-git/doc/guix.texi:12983
  18411. #, no-wrap
  18412. msgid "cran"
  18413. msgstr ""
  18414. #. type: cindex
  18415. #: guix-git/doc/guix.texi:12456
  18416. #, no-wrap
  18417. msgid "CRAN"
  18418. msgstr ""
  18419. #. type: cindex
  18420. #: guix-git/doc/guix.texi:12457
  18421. #, no-wrap
  18422. msgid "Bioconductor"
  18423. msgstr ""
  18424. #. type: table
  18425. #: guix-git/doc/guix.texi:12461
  18426. 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}."
  18427. msgstr ""
  18428. #. type: table
  18429. #: guix-git/doc/guix.texi:12463
  18430. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  18431. msgstr ""
  18432. #. type: table
  18433. #: guix-git/doc/guix.texi:12465
  18434. msgid "The command command below imports metadata for the Cairo R package:"
  18435. msgstr ""
  18436. #. type: example
  18437. #: guix-git/doc/guix.texi:12468
  18438. #, no-wrap
  18439. msgid "guix import cran Cairo\n"
  18440. msgstr ""
  18441. #. type: example
  18442. #: guix-git/doc/guix.texi:12474
  18443. #, no-wrap
  18444. msgid "guix import cran rasterVis@@0.50.3\n"
  18445. msgstr ""
  18446. #. type: table
  18447. #: guix-git/doc/guix.texi:12479
  18448. 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."
  18449. msgstr ""
  18450. #. type: table
  18451. #: guix-git/doc/guix.texi:12486
  18452. 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}."
  18453. msgstr ""
  18454. #. type: table
  18455. #: guix-git/doc/guix.texi:12491
  18456. 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."
  18457. msgstr ""
  18458. #. type: table
  18459. #: guix-git/doc/guix.texi:12494
  18460. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  18461. msgstr ""
  18462. #. type: table
  18463. #: guix-git/doc/guix.texi:12496
  18464. msgid "The command below imports metadata for the GenomicRanges R package:"
  18465. msgstr ""
  18466. #. type: example
  18467. #: guix-git/doc/guix.texi:12499
  18468. #, no-wrap
  18469. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  18470. msgstr ""
  18471. #. type: table
  18472. #: guix-git/doc/guix.texi:12504
  18473. 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:"
  18474. msgstr ""
  18475. #. type: example
  18476. #: guix-git/doc/guix.texi:12507
  18477. #, no-wrap
  18478. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  18479. msgstr ""
  18480. #. type: item
  18481. #: guix-git/doc/guix.texi:12509
  18482. #, no-wrap
  18483. msgid "texlive"
  18484. msgstr ""
  18485. #. type: cindex
  18486. #: guix-git/doc/guix.texi:12510
  18487. #, no-wrap
  18488. msgid "TeX Live"
  18489. msgstr ""
  18490. #. type: cindex
  18491. #: guix-git/doc/guix.texi:12511
  18492. #, no-wrap
  18493. msgid "CTAN"
  18494. msgstr ""
  18495. #. type: table
  18496. #: guix-git/doc/guix.texi:12515
  18497. msgid "Import TeX package information from the TeX Live package database for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  18498. msgstr ""
  18499. #. type: table
  18500. #: guix-git/doc/guix.texi:12520
  18501. msgid "Information about the package is obtained from the TeX Live package database, a plain text file that is included in the @code{texlive-bin} package. The source code is downloaded from possibly multiple locations in the SVN repository of the Tex Live project."
  18502. msgstr ""
  18503. #. type: table
  18504. #: guix-git/doc/guix.texi:12523
  18505. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  18506. msgstr ""
  18507. #. type: example
  18508. #: guix-git/doc/guix.texi:12526
  18509. #, no-wrap
  18510. msgid "guix import texlive fontspec\n"
  18511. msgstr ""
  18512. #. type: cindex
  18513. #: guix-git/doc/guix.texi:12529
  18514. #, no-wrap
  18515. msgid "JSON, import"
  18516. msgstr ""
  18517. #. type: table
  18518. #: guix-git/doc/guix.texi:12532
  18519. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  18520. msgstr ""
  18521. #. type: example
  18522. #: guix-git/doc/guix.texi:12545
  18523. #, no-wrap
  18524. msgid ""
  18525. "@{\n"
  18526. " \"name\": \"hello\",\n"
  18527. " \"version\": \"2.10\",\n"
  18528. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18529. " \"build-system\": \"gnu\",\n"
  18530. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  18531. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  18532. " \"description\": \"GNU Hello prints a greeting.\",\n"
  18533. " \"license\": \"GPL-3.0+\",\n"
  18534. " \"native-inputs\": [\"gettext\"]\n"
  18535. "@}\n"
  18536. msgstr ""
  18537. #. type: table
  18538. #: guix-git/doc/guix.texi:12551
  18539. 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}."
  18540. msgstr ""
  18541. #. type: table
  18542. #: guix-git/doc/guix.texi:12554
  18543. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  18544. msgstr ""
  18545. #. type: example
  18546. #: guix-git/doc/guix.texi:12567
  18547. #, no-wrap
  18548. msgid ""
  18549. "@{\n"
  18550. " @dots{}\n"
  18551. " \"source\": @{\n"
  18552. " \"method\": \"url-fetch\",\n"
  18553. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18554. " \"sha256\": @{\n"
  18555. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  18556. " @}\n"
  18557. " @}\n"
  18558. " @dots{}\n"
  18559. "@}\n"
  18560. msgstr ""
  18561. #. type: table
  18562. #: guix-git/doc/guix.texi:12571
  18563. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  18564. msgstr ""
  18565. #. type: example
  18566. #: guix-git/doc/guix.texi:12574
  18567. #, no-wrap
  18568. msgid "guix import json hello.json\n"
  18569. msgstr ""
  18570. #. type: item
  18571. #: guix-git/doc/guix.texi:12576 guix-git/doc/guix.texi:12577
  18572. #: guix-git/doc/guix.texi:12995
  18573. #, no-wrap
  18574. msgid "hackage"
  18575. msgstr ""
  18576. #. type: table
  18577. #: guix-git/doc/guix.texi:12582
  18578. 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."
  18579. msgstr ""
  18580. #. type: item
  18581. #: guix-git/doc/guix.texi:12586
  18582. #, no-wrap
  18583. msgid "--stdin"
  18584. msgstr ""
  18585. #. type: itemx
  18586. #: guix-git/doc/guix.texi:12587
  18587. #, no-wrap
  18588. msgid "-s"
  18589. msgstr ""
  18590. #. type: table
  18591. #: guix-git/doc/guix.texi:12589
  18592. msgid "Read a Cabal file from standard input."
  18593. msgstr ""
  18594. #. type: item
  18595. #: guix-git/doc/guix.texi:12589 guix-git/doc/guix.texi:12636
  18596. #, no-wrap
  18597. msgid "--no-test-dependencies"
  18598. msgstr ""
  18599. #. type: table
  18600. #: guix-git/doc/guix.texi:12592 guix-git/doc/guix.texi:12639
  18601. msgid "Do not include dependencies required only by the test suites."
  18602. msgstr ""
  18603. #. type: item
  18604. #: guix-git/doc/guix.texi:12592
  18605. #, no-wrap
  18606. msgid "--cabal-environment=@var{alist}"
  18607. msgstr ""
  18608. #. type: itemx
  18609. #: guix-git/doc/guix.texi:12593
  18610. #, no-wrap
  18611. msgid "-e @var{alist}"
  18612. msgstr ""
  18613. #. type: table
  18614. #: guix-git/doc/guix.texi:12602
  18615. 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."
  18616. msgstr ""
  18617. #. type: table
  18618. #: guix-git/doc/guix.texi:12612
  18619. 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}:"
  18620. msgstr ""
  18621. #. type: example
  18622. #: guix-git/doc/guix.texi:12615
  18623. #, no-wrap
  18624. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  18625. msgstr ""
  18626. #. type: table
  18627. #: guix-git/doc/guix.texi:12619
  18628. 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:"
  18629. msgstr ""
  18630. #. type: example
  18631. #: guix-git/doc/guix.texi:12622
  18632. #, no-wrap
  18633. msgid "guix import hackage mtl@@2.1.3.1\n"
  18634. msgstr ""
  18635. #. type: item
  18636. #: guix-git/doc/guix.texi:12624 guix-git/doc/guix.texi:12625
  18637. #: guix-git/doc/guix.texi:12997
  18638. #, no-wrap
  18639. msgid "stackage"
  18640. msgstr ""
  18641. #. type: table
  18642. #: guix-git/doc/guix.texi:12632
  18643. 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."
  18644. msgstr ""
  18645. #. type: item
  18646. #: guix-git/doc/guix.texi:12639
  18647. #, no-wrap
  18648. msgid "--lts-version=@var{version}"
  18649. msgstr ""
  18650. #. type: itemx
  18651. #: guix-git/doc/guix.texi:12640
  18652. #, no-wrap
  18653. msgid "-l @var{version}"
  18654. msgstr ""
  18655. #. type: table
  18656. #: guix-git/doc/guix.texi:12643
  18657. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  18658. msgstr ""
  18659. #. type: table
  18660. #: guix-git/doc/guix.texi:12652
  18661. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  18662. msgstr ""
  18663. #. type: example
  18664. #: guix-git/doc/guix.texi:12655
  18665. #, no-wrap
  18666. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  18667. msgstr ""
  18668. #. type: item
  18669. #: guix-git/doc/guix.texi:12657 guix-git/doc/guix.texi:12658
  18670. #: guix-git/doc/guix.texi:12981
  18671. #, no-wrap
  18672. msgid "elpa"
  18673. msgstr ""
  18674. #. type: table
  18675. #: guix-git/doc/guix.texi:12661
  18676. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  18677. msgstr ""
  18678. #. type: item
  18679. #: guix-git/doc/guix.texi:12665
  18680. #, no-wrap
  18681. msgid "--archive=@var{repo}"
  18682. msgstr ""
  18683. #. type: itemx
  18684. #: guix-git/doc/guix.texi:12666
  18685. #, no-wrap
  18686. msgid "-a @var{repo}"
  18687. msgstr ""
  18688. #. type: table
  18689. #: guix-git/doc/guix.texi:12670
  18690. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  18691. msgstr ""
  18692. #. type: itemize
  18693. #: guix-git/doc/guix.texi:12674
  18694. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  18695. msgstr ""
  18696. #. type: itemize
  18697. #: guix-git/doc/guix.texi:12680
  18698. 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})."
  18699. msgstr ""
  18700. #. type: itemize
  18701. #: guix-git/doc/guix.texi:12684
  18702. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  18703. msgstr ""
  18704. #. type: itemize
  18705. #: guix-git/doc/guix.texi:12688
  18706. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  18707. msgstr ""
  18708. #. type: itemize
  18709. #: guix-git/doc/guix.texi:12692
  18710. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  18711. msgstr ""
  18712. #. type: item
  18713. #: guix-git/doc/guix.texi:12701 guix-git/doc/guix.texi:12702
  18714. #: guix-git/doc/guix.texi:12999
  18715. #, no-wrap
  18716. msgid "crate"
  18717. msgstr ""
  18718. #. type: table
  18719. #: guix-git/doc/guix.texi:12705
  18720. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  18721. msgstr ""
  18722. #. type: example
  18723. #: guix-git/doc/guix.texi:12708
  18724. #, no-wrap
  18725. msgid "guix import crate blake2-rfc\n"
  18726. msgstr ""
  18727. #. type: table
  18728. #: guix-git/doc/guix.texi:12711
  18729. msgid "The crate importer also allows you to specify a version string:"
  18730. msgstr ""
  18731. #. type: example
  18732. #: guix-git/doc/guix.texi:12714
  18733. #, no-wrap
  18734. msgid "guix import crate constant-time-eq@@0.1.0\n"
  18735. msgstr ""
  18736. #. type: table
  18737. #: guix-git/doc/guix.texi:12717 guix-git/doc/guix.texi:12733
  18738. #: guix-git/doc/guix.texi:12781 guix-git/doc/guix.texi:12818
  18739. msgid "Additional options include:"
  18740. msgstr ""
  18741. #. type: item
  18742. #: guix-git/doc/guix.texi:12726
  18743. #, no-wrap
  18744. msgid "opam"
  18745. msgstr ""
  18746. #. type: cindex
  18747. #: guix-git/doc/guix.texi:12727
  18748. #, no-wrap
  18749. msgid "OPAM"
  18750. msgstr ""
  18751. #. type: cindex
  18752. #: guix-git/doc/guix.texi:12728
  18753. #, no-wrap
  18754. msgid "OCaml"
  18755. msgstr ""
  18756. #. type: table
  18757. #: guix-git/doc/guix.texi:12731
  18758. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  18759. msgstr ""
  18760. #. type: item
  18761. #: guix-git/doc/guix.texi:12740
  18762. #, no-wrap
  18763. msgid "--repo"
  18764. msgstr ""
  18765. #. type: table
  18766. #: guix-git/doc/guix.texi:12744
  18767. 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:"
  18768. msgstr ""
  18769. #. type: item
  18770. #: guix-git/doc/guix.texi:12746
  18771. #, no-wrap
  18772. msgid "the name of a known repository - can be one of @code{opam},"
  18773. msgstr ""
  18774. #. type: itemize
  18775. #: guix-git/doc/guix.texi:12749
  18776. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  18777. msgstr ""
  18778. #. type: item
  18779. #: guix-git/doc/guix.texi:12749
  18780. #, no-wrap
  18781. msgid "the URL of a repository as expected by the"
  18782. msgstr ""
  18783. #. type: itemize
  18784. #: guix-git/doc/guix.texi:12753
  18785. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  18786. msgstr ""
  18787. #. type: item
  18788. #: guix-git/doc/guix.texi:12753
  18789. #, no-wrap
  18790. msgid "the path to a local copy of a repository (a directory containing a"
  18791. msgstr ""
  18792. #. type: itemize
  18793. #: guix-git/doc/guix.texi:12755
  18794. msgid "@file{packages/} sub-directory)."
  18795. msgstr ""
  18796. #. type: table
  18797. #: guix-git/doc/guix.texi:12760
  18798. 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."
  18799. msgstr ""
  18800. #. type: table
  18801. #: guix-git/doc/guix.texi:12765
  18802. msgid "Also, please note that versions are not compared across repositories. The first repository (from left to right) that has at least one version of a given package will prevail over any others, and the version imported will be the latest one found @emph{in this repository only}."
  18803. msgstr ""
  18804. #. type: cindex
  18805. #: guix-git/doc/guix.texi:12768 guix-git/doc/guix.texi:12769
  18806. #, no-wrap
  18807. msgid "go"
  18808. msgstr ""
  18809. #. type: table
  18810. #: guix-git/doc/guix.texi:12772
  18811. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  18812. msgstr ""
  18813. #. type: example
  18814. #: guix-git/doc/guix.texi:12775
  18815. #, no-wrap
  18816. msgid "guix import go gopkg.in/yaml.v2\n"
  18817. msgstr ""
  18818. #. type: table
  18819. #: guix-git/doc/guix.texi:12779
  18820. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  18821. msgstr ""
  18822. #. type: item
  18823. #: guix-git/doc/guix.texi:12788
  18824. #, no-wrap
  18825. msgid "--pin-versions"
  18826. msgstr ""
  18827. #. type: table
  18828. #: guix-git/doc/guix.texi:12796
  18829. 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."
  18830. msgstr ""
  18831. #. type: item
  18832. #: guix-git/doc/guix.texi:12798 guix-git/doc/guix.texi:12799
  18833. #: guix-git/doc/guix.texi:12979
  18834. #, no-wrap
  18835. msgid "egg"
  18836. msgstr ""
  18837. #. type: table
  18838. #: guix-git/doc/guix.texi:12806
  18839. msgid "Import metadata for @uref{https://wiki.call-cc.org/eggs, CHICKEN eggs}. The information is taken from @file{PACKAGE.egg} files found in the @uref{git://code.call-cc.org/eggs-5-all, eggs-5-all} Git repository. However, it does not provide all the information that we need, there is no ``description'' field, and the licenses used are not always precise (BSD is often used instead of BSD-N)."
  18840. msgstr ""
  18841. #. type: example
  18842. #: guix-git/doc/guix.texi:12809
  18843. #, no-wrap
  18844. msgid "guix import egg sourcehut\n"
  18845. msgstr ""
  18846. #. type: example
  18847. #: guix-git/doc/guix.texi:12815
  18848. #, no-wrap
  18849. msgid "guix import egg arrays@@1.0\n"
  18850. msgstr ""
  18851. #. type: Plain text
  18852. #: guix-git/doc/guix.texi:12830
  18853. 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})."
  18854. msgstr ""
  18855. #. type: section
  18856. #: guix-git/doc/guix.texi:12832
  18857. #, no-wrap
  18858. msgid "Invoking @command{guix refresh}"
  18859. msgstr ""
  18860. #. type: command{#1}
  18861. #: guix-git/doc/guix.texi:12834
  18862. #, no-wrap
  18863. msgid "guix refresh"
  18864. msgstr ""
  18865. #. type: Plain text
  18866. #: guix-git/doc/guix.texi:12842
  18867. 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:"
  18868. msgstr ""
  18869. #. type: example
  18870. #: guix-git/doc/guix.texi:12847
  18871. #, no-wrap
  18872. msgid ""
  18873. "$ guix refresh\n"
  18874. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  18875. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  18876. msgstr ""
  18877. #. type: Plain text
  18878. #: guix-git/doc/guix.texi:12851
  18879. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  18880. msgstr ""
  18881. #. type: example
  18882. #: guix-git/doc/guix.texi:12856
  18883. #, no-wrap
  18884. msgid ""
  18885. "$ guix refresh coreutils guile guile-ssh\n"
  18886. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  18887. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  18888. msgstr ""
  18889. #. type: Plain text
  18890. #: guix-git/doc/guix.texi:12865
  18891. 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!"
  18892. msgstr ""
  18893. #. type: table
  18894. #: guix-git/doc/guix.texi:12870
  18895. msgid "Consider the packages specified, and all the packages upon which they depend."
  18896. msgstr ""
  18897. #. type: example
  18898. #: guix-git/doc/guix.texi:12878
  18899. #, no-wrap
  18900. msgid ""
  18901. "$ guix refresh --recursive coreutils\n"
  18902. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  18903. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  18904. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  18905. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  18906. "@dots{}\n"
  18907. msgstr ""
  18908. #. type: Plain text
  18909. #: guix-git/doc/guix.texi:12886
  18910. 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:"
  18911. msgstr ""
  18912. #. type: lisp
  18913. #: guix-git/doc/guix.texi:12893
  18914. #, no-wrap
  18915. msgid ""
  18916. "(define-public network-manager\n"
  18917. " (package\n"
  18918. " (name \"network-manager\")\n"
  18919. " ;; @dots{}\n"
  18920. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  18921. msgstr ""
  18922. #. type: Plain text
  18923. #: guix-git/doc/guix.texi:12902
  18924. 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."
  18925. msgstr ""
  18926. #. type: Plain text
  18927. #: guix-git/doc/guix.texi:12908
  18928. 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."
  18929. msgstr ""
  18930. #. type: Plain text
  18931. #: guix-git/doc/guix.texi:12910
  18932. msgid "The following options are supported:"
  18933. msgstr ""
  18934. #. type: table
  18935. #: guix-git/doc/guix.texi:12918 guix-git/doc/guix.texi:13908
  18936. msgid "This is useful to precisely refer to a package, as in this example:"
  18937. msgstr ""
  18938. #. type: example
  18939. #: guix-git/doc/guix.texi:12921
  18940. #, no-wrap
  18941. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  18942. msgstr ""
  18943. #. type: table
  18944. #: guix-git/doc/guix.texi:12925
  18945. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  18946. msgstr ""
  18947. #. type: item
  18948. #: guix-git/doc/guix.texi:12926
  18949. #, no-wrap
  18950. msgid "--update"
  18951. msgstr ""
  18952. #. type: itemx
  18953. #: guix-git/doc/guix.texi:12927
  18954. #, no-wrap
  18955. msgid "-u"
  18956. msgstr ""
  18957. #. type: table
  18958. #: guix-git/doc/guix.texi:12931
  18959. 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}):"
  18960. msgstr ""
  18961. #. type: example
  18962. #: guix-git/doc/guix.texi:12934
  18963. #, no-wrap
  18964. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  18965. msgstr ""
  18966. #. type: table
  18967. #: guix-git/doc/guix.texi:12937
  18968. msgid "@xref{Defining Packages}, for more information on package definitions."
  18969. msgstr ""
  18970. #. type: item
  18971. #: guix-git/doc/guix.texi:12938
  18972. #, no-wrap
  18973. msgid "--select=[@var{subset}]"
  18974. msgstr ""
  18975. #. type: itemx
  18976. #: guix-git/doc/guix.texi:12939
  18977. #, no-wrap
  18978. msgid "-s @var{subset}"
  18979. msgstr ""
  18980. #. type: table
  18981. #: guix-git/doc/guix.texi:12942
  18982. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  18983. msgstr ""
  18984. #. type: table
  18985. #: guix-git/doc/guix.texi:12949
  18986. 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."
  18987. msgstr ""
  18988. #. type: table
  18989. #: guix-git/doc/guix.texi:12953
  18990. 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."
  18991. msgstr ""
  18992. #. type: table
  18993. #: guix-git/doc/guix.texi:12958
  18994. 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."
  18995. msgstr ""
  18996. #. type: item
  18997. #: guix-git/doc/guix.texi:12959
  18998. #, no-wrap
  18999. msgid "--type=@var{updater}"
  19000. msgstr ""
  19001. #. type: itemx
  19002. #: guix-git/doc/guix.texi:12960
  19003. #, no-wrap
  19004. msgid "-t @var{updater}"
  19005. msgstr ""
  19006. #. type: table
  19007. #: guix-git/doc/guix.texi:12963
  19008. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  19009. msgstr ""
  19010. #. type: table
  19011. #: guix-git/doc/guix.texi:12967
  19012. msgid "the updater for GNU packages;"
  19013. msgstr ""
  19014. #. type: item
  19015. #: guix-git/doc/guix.texi:12967
  19016. #, no-wrap
  19017. msgid "savannah"
  19018. msgstr ""
  19019. #. type: table
  19020. #: guix-git/doc/guix.texi:12969
  19021. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  19022. msgstr ""
  19023. #. type: item
  19024. #: guix-git/doc/guix.texi:12969
  19025. #, no-wrap
  19026. msgid "sourceforge"
  19027. msgstr ""
  19028. #. type: table
  19029. #: guix-git/doc/guix.texi:12971
  19030. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  19031. msgstr ""
  19032. #. type: item
  19033. #: guix-git/doc/guix.texi:12971
  19034. #, no-wrap
  19035. msgid "gnome"
  19036. msgstr ""
  19037. #. type: table
  19038. #: guix-git/doc/guix.texi:12973
  19039. msgid "the updater for GNOME packages;"
  19040. msgstr ""
  19041. #. type: item
  19042. #: guix-git/doc/guix.texi:12973
  19043. #, no-wrap
  19044. msgid "kde"
  19045. msgstr ""
  19046. #. type: table
  19047. #: guix-git/doc/guix.texi:12975
  19048. msgid "the updater for KDE packages;"
  19049. msgstr ""
  19050. #. type: item
  19051. #: guix-git/doc/guix.texi:12975
  19052. #, no-wrap
  19053. msgid "xorg"
  19054. msgstr ""
  19055. #. type: table
  19056. #: guix-git/doc/guix.texi:12977
  19057. msgid "the updater for X.org packages;"
  19058. msgstr ""
  19059. #. type: item
  19060. #: guix-git/doc/guix.texi:12977
  19061. #, no-wrap
  19062. msgid "kernel.org"
  19063. msgstr ""
  19064. #. type: table
  19065. #: guix-git/doc/guix.texi:12979
  19066. msgid "the updater for packages hosted on kernel.org;"
  19067. msgstr ""
  19068. #. type: table
  19069. #: guix-git/doc/guix.texi:12981
  19070. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  19071. msgstr ""
  19072. #. type: table
  19073. #: guix-git/doc/guix.texi:12983
  19074. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  19075. msgstr ""
  19076. #. type: table
  19077. #: guix-git/doc/guix.texi:12985
  19078. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  19079. msgstr ""
  19080. #. type: item
  19081. #: guix-git/doc/guix.texi:12985
  19082. #, no-wrap
  19083. msgid "bioconductor"
  19084. msgstr ""
  19085. #. type: table
  19086. #: guix-git/doc/guix.texi:12987
  19087. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  19088. msgstr ""
  19089. #. type: table
  19090. #: guix-git/doc/guix.texi:12989
  19091. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  19092. msgstr ""
  19093. #. type: table
  19094. #: guix-git/doc/guix.texi:12991
  19095. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  19096. msgstr ""
  19097. #. type: table
  19098. #: guix-git/doc/guix.texi:12993
  19099. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  19100. msgstr ""
  19101. #. type: item
  19102. #: guix-git/doc/guix.texi:12993
  19103. #, no-wrap
  19104. msgid "github"
  19105. msgstr ""
  19106. #. type: table
  19107. #: guix-git/doc/guix.texi:12995
  19108. msgid "the updater for @uref{https://github.com, GitHub} packages."
  19109. msgstr ""
  19110. #. type: table
  19111. #: guix-git/doc/guix.texi:12997
  19112. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  19113. msgstr ""
  19114. #. type: table
  19115. #: guix-git/doc/guix.texi:12999
  19116. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  19117. msgstr ""
  19118. #. type: table
  19119. #: guix-git/doc/guix.texi:13001
  19120. msgid "the updater for @uref{https://crates.io, Crates} packages."
  19121. msgstr ""
  19122. #. type: item
  19123. #: guix-git/doc/guix.texi:13001
  19124. #, no-wrap
  19125. msgid "launchpad"
  19126. msgstr ""
  19127. #. type: table
  19128. #: guix-git/doc/guix.texi:13003
  19129. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  19130. msgstr ""
  19131. #. type: item
  19132. #: guix-git/doc/guix.texi:13003
  19133. #, no-wrap
  19134. msgid "generic-html"
  19135. msgstr ""
  19136. #. type: table
  19137. #: guix-git/doc/guix.texi:13006
  19138. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  19139. msgstr ""
  19140. #. type: item
  19141. #: guix-git/doc/guix.texi:13007
  19142. #, no-wrap
  19143. msgid "generic-git"
  19144. msgstr ""
  19145. #. type: table
  19146. #: guix-git/doc/guix.texi:13012
  19147. msgid "a generic updater for packages hosted on Git repositories. It tries to be smart about parsing Git tag names, but if it is not able to parse the tag name and compare tags correctly, users can define the following properties for a package."
  19148. msgstr ""
  19149. #. type: item
  19150. #: guix-git/doc/guix.texi:13014
  19151. #, no-wrap
  19152. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  19153. msgstr ""
  19154. #. type: itemize
  19155. #: guix-git/doc/guix.texi:13016 guix-git/doc/guix.texi:13019
  19156. msgid "the tag name."
  19157. msgstr ""
  19158. #. type: item
  19159. #: guix-git/doc/guix.texi:13017
  19160. #, no-wrap
  19161. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  19162. msgstr ""
  19163. #. type: item
  19164. #: guix-git/doc/guix.texi:13020
  19165. #, no-wrap
  19166. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  19167. msgstr ""
  19168. #. type: itemize
  19169. #: guix-git/doc/guix.texi:13022
  19170. msgid "the tag name for separating the numbers of the version."
  19171. msgstr ""
  19172. #. type: item
  19173. #: guix-git/doc/guix.texi:13023
  19174. #, no-wrap
  19175. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  19176. msgstr ""
  19177. #. type: itemize
  19178. #: guix-git/doc/guix.texi:13026
  19179. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  19180. msgstr ""
  19181. #. type: lisp
  19182. #: guix-git/doc/guix.texi:13037
  19183. #, no-wrap
  19184. msgid ""
  19185. "(package\n"
  19186. " (name \"foo\")\n"
  19187. " ;; ...\n"
  19188. " (properties\n"
  19189. " '((release-tag-prefix . \"^release0-\")\n"
  19190. " (release-tag-suffix . \"[a-z]?$\")\n"
  19191. " (release-tag-version-delimiter . \":\"))))\n"
  19192. msgstr ""
  19193. #. type: table
  19194. #: guix-git/doc/guix.texi:13044
  19195. 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:"
  19196. msgstr ""
  19197. #. type: example
  19198. #: guix-git/doc/guix.texi:13049
  19199. #, no-wrap
  19200. msgid ""
  19201. "$ guix refresh --type=elpa,cran\n"
  19202. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  19203. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  19204. msgstr ""
  19205. #. type: item
  19206. #: guix-git/doc/guix.texi:13051
  19207. #, no-wrap
  19208. msgid "--list-updaters"
  19209. msgstr ""
  19210. #. type: itemx
  19211. #: guix-git/doc/guix.texi:13052
  19212. #, no-wrap
  19213. msgid "-L"
  19214. msgstr ""
  19215. #. type: table
  19216. #: guix-git/doc/guix.texi:13054
  19217. msgid "List available updaters and exit (see @option{--type} above)."
  19218. msgstr ""
  19219. #. type: table
  19220. #: guix-git/doc/guix.texi:13057
  19221. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  19222. msgstr ""
  19223. #. type: Plain text
  19224. #: guix-git/doc/guix.texi:13061
  19225. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  19226. msgstr ""
  19227. #. type: example
  19228. #: guix-git/doc/guix.texi:13064
  19229. #, no-wrap
  19230. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  19231. msgstr ""
  19232. #. type: Plain text
  19233. #: guix-git/doc/guix.texi:13071
  19234. 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:"
  19235. msgstr ""
  19236. #. type: example
  19237. #: guix-git/doc/guix.texi:13075
  19238. #, no-wrap
  19239. msgid ""
  19240. "$ ./pre-inst-env guix refresh -u \\\n"
  19241. " $(guix package --list-installed | cut -f1)\n"
  19242. msgstr ""
  19243. #. type: Plain text
  19244. #: guix-git/doc/guix.texi:13081
  19245. 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:"
  19246. msgstr ""
  19247. #. type: item
  19248. #: guix-git/doc/guix.texi:13084
  19249. #, no-wrap
  19250. msgid "--list-dependent"
  19251. msgstr ""
  19252. #. type: itemx
  19253. #: guix-git/doc/guix.texi:13085 guix-git/doc/guix.texi:13489
  19254. #, no-wrap
  19255. msgid "-l"
  19256. msgstr ""
  19257. #. type: table
  19258. #: guix-git/doc/guix.texi:13088
  19259. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  19260. msgstr ""
  19261. #. type: table
  19262. #: guix-git/doc/guix.texi:13092
  19263. 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."
  19264. msgstr ""
  19265. #. type: Plain text
  19266. #: guix-git/doc/guix.texi:13098
  19267. 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."
  19268. msgstr ""
  19269. #. type: example
  19270. #: guix-git/doc/guix.texi:13103
  19271. #, no-wrap
  19272. msgid ""
  19273. "$ guix refresh --list-dependent flex\n"
  19274. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  19275. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  19276. msgstr ""
  19277. #. type: Plain text
  19278. #: guix-git/doc/guix.texi:13107
  19279. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  19280. msgstr ""
  19281. #. type: item
  19282. #: guix-git/doc/guix.texi:13110
  19283. #, no-wrap
  19284. msgid "--list-transitive"
  19285. msgstr ""
  19286. #. type: table
  19287. #: guix-git/doc/guix.texi:13112
  19288. msgid "List all the packages which one or more packages depend upon."
  19289. msgstr ""
  19290. #. type: example
  19291. #: guix-git/doc/guix.texi:13117
  19292. #, no-wrap
  19293. msgid ""
  19294. "$ guix refresh --list-transitive flex\n"
  19295. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  19296. "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"
  19297. msgstr ""
  19298. #. type: Plain text
  19299. #: guix-git/doc/guix.texi:13123
  19300. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  19301. msgstr ""
  19302. #. type: Plain text
  19303. #: guix-git/doc/guix.texi:13125
  19304. msgid "The following options can be used to customize GnuPG operation:"
  19305. msgstr ""
  19306. #. type: item
  19307. #: guix-git/doc/guix.texi:13128
  19308. #, no-wrap
  19309. msgid "--gpg=@var{command}"
  19310. msgstr ""
  19311. #. type: table
  19312. #: guix-git/doc/guix.texi:13131
  19313. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  19314. msgstr ""
  19315. #. type: item
  19316. #: guix-git/doc/guix.texi:13132
  19317. #, no-wrap
  19318. msgid "--keyring=@var{file}"
  19319. msgstr ""
  19320. #. type: table
  19321. #: guix-git/doc/guix.texi:13138
  19322. 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)."
  19323. msgstr ""
  19324. #. type: table
  19325. #: guix-git/doc/guix.texi:13144
  19326. 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)."
  19327. msgstr ""
  19328. #. type: table
  19329. #: guix-git/doc/guix.texi:13147
  19330. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  19331. msgstr ""
  19332. #. type: example
  19333. #: guix-git/doc/guix.texi:13150
  19334. #, no-wrap
  19335. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  19336. msgstr ""
  19337. #. type: table
  19338. #: guix-git/doc/guix.texi:13153
  19339. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  19340. msgstr ""
  19341. #. type: example
  19342. #: guix-git/doc/guix.texi:13157
  19343. #, no-wrap
  19344. msgid ""
  19345. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  19346. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  19347. msgstr ""
  19348. #. type: table
  19349. #: guix-git/doc/guix.texi:13161
  19350. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  19351. msgstr ""
  19352. #. type: table
  19353. #: guix-git/doc/guix.texi:13165
  19354. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  19355. msgstr ""
  19356. #. type: item
  19357. #: guix-git/doc/guix.texi:13167 guix-git/doc/guix.texi:13332
  19358. #: guix-git/doc/guix.texi:22769
  19359. #, no-wrap
  19360. msgid "always"
  19361. msgstr ""
  19362. #. type: table
  19363. #: guix-git/doc/guix.texi:13170
  19364. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  19365. msgstr ""
  19366. #. type: item
  19367. #: guix-git/doc/guix.texi:13171 guix-git/doc/guix.texi:22771
  19368. #, no-wrap
  19369. msgid "never"
  19370. msgstr ""
  19371. #. type: table
  19372. #: guix-git/doc/guix.texi:13173
  19373. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  19374. msgstr ""
  19375. #. type: item
  19376. #: guix-git/doc/guix.texi:13174
  19377. #, no-wrap
  19378. msgid "interactive"
  19379. msgstr ""
  19380. #. type: table
  19381. #: guix-git/doc/guix.texi:13177
  19382. 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."
  19383. msgstr ""
  19384. #. type: item
  19385. #: guix-git/doc/guix.texi:13179
  19386. #, no-wrap
  19387. msgid "--key-server=@var{host}"
  19388. msgstr ""
  19389. #. type: table
  19390. #: guix-git/doc/guix.texi:13181
  19391. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  19392. msgstr ""
  19393. #. type: Plain text
  19394. #: guix-git/doc/guix.texi:13201
  19395. 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."
  19396. msgstr ""
  19397. #. type: section
  19398. #: guix-git/doc/guix.texi:13204
  19399. #, no-wrap
  19400. msgid "Invoking @command{guix style}"
  19401. msgstr ""
  19402. #. type: Plain text
  19403. #: guix-git/doc/guix.texi:13209
  19404. msgid "The @command{guix style} command helps packagers style their package definitions according to the latest fashionable trends. The command currently provides the following styling rules:"
  19405. msgstr ""
  19406. #. type: itemize
  19407. #: guix-git/doc/guix.texi:13214
  19408. msgid "formatting package definitions according to the project's conventions (@pxref{Formatting Code});"
  19409. msgstr ""
  19410. #. type: itemize
  19411. #: guix-git/doc/guix.texi:13217
  19412. msgid "rewriting package inputs to the ``new style'', as explained below."
  19413. msgstr ""
  19414. #. type: Plain text
  19415. #: guix-git/doc/guix.texi:13223
  19416. msgid "The way package inputs are written is going through a transition (@pxref{package Reference}, for more on package inputs). Until version 1.3.0, package inputs were written using the ``old style'', where each input was given an explicit label, most of the time the package name:"
  19417. msgstr ""
  19418. #. type: lisp
  19419. #: guix-git/doc/guix.texi:13230
  19420. #, no-wrap
  19421. msgid ""
  19422. "(package\n"
  19423. " ;; @dots{}\n"
  19424. " ;; The \"old style\" (deprecated).\n"
  19425. " (inputs `((\"libunistring\" ,libunistring)\n"
  19426. " (\"libffi\" ,libffi))))\n"
  19427. msgstr ""
  19428. #. type: Plain text
  19429. #: guix-git/doc/guix.texi:13234
  19430. msgid "Today, the old style is deprecated and the preferred style looks like this:"
  19431. msgstr ""
  19432. #. type: lisp
  19433. #: guix-git/doc/guix.texi:13240
  19434. #, no-wrap
  19435. msgid ""
  19436. "(package\n"
  19437. " ;; @dots{}\n"
  19438. " ;; The \"new style\".\n"
  19439. " (inputs (list libunistring libffi)))\n"
  19440. msgstr ""
  19441. #. type: Plain text
  19442. #: guix-git/doc/guix.texi:13245
  19443. msgid "Likewise, uses of @code{alist-delete} and friends to manipulate inputs is now deprecated in favor of @code{modify-inputs} (@pxref{Defining Package Variants}, for more info on @code{modify-inputs})."
  19444. msgstr ""
  19445. #. type: Plain text
  19446. #: guix-git/doc/guix.texi:13250
  19447. msgid "In the vast majority of cases, this is a purely mechanical change on the surface syntax that does not even incur a package rebuild. Running @command{guix style -S inputs} can do that for you, whether you're working on packages in Guix proper or in an external channel."
  19448. msgstr ""
  19449. #. type: example
  19450. #: guix-git/doc/guix.texi:13255
  19451. #, no-wrap
  19452. msgid "guix style [@var{options}] @var{package}@dots{}\n"
  19453. msgstr ""
  19454. #. type: Plain text
  19455. #: guix-git/doc/guix.texi:13262
  19456. msgid "This causes @command{guix style} to analyze and rewrite the definition of @var{package}@dots{} or, when @var{package} is omitted, of @emph{all} the packages. The @option{--styling} or @option{-S} option allows you to select the style rule, the default rule being @code{format}---see below."
  19457. msgstr ""
  19458. #. type: Plain text
  19459. #: guix-git/doc/guix.texi:13264 guix-git/doc/guix.texi:14583
  19460. msgid "The available options are listed below."
  19461. msgstr ""
  19462. #. type: table
  19463. #: guix-git/doc/guix.texi:13269
  19464. msgid "Show source file locations that would be edited but do not modify them."
  19465. msgstr ""
  19466. #. type: item
  19467. #: guix-git/doc/guix.texi:13270
  19468. #, no-wrap
  19469. msgid "--styling=@var{rule}"
  19470. msgstr ""
  19471. #. type: itemx
  19472. #: guix-git/doc/guix.texi:13271
  19473. #, no-wrap
  19474. msgid "-S @var{rule}"
  19475. msgstr ""
  19476. #. type: table
  19477. #: guix-git/doc/guix.texi:13273
  19478. msgid "Apply @var{rule}, one of the following styling rules:"
  19479. msgstr ""
  19480. #. type: item
  19481. #: guix-git/doc/guix.texi:13275
  19482. #, no-wrap
  19483. msgid "format"
  19484. msgstr ""
  19485. #. type: table
  19486. #: guix-git/doc/guix.texi:13280
  19487. msgid "Format the given package definition(s)---this is the default styling rule. For example, a packager running Guix on a checkout (@pxref{Running Guix Before It Is Installed}) might want to reformat the definition of the Coreutils package like so:"
  19488. msgstr ""
  19489. #. type: example
  19490. #: guix-git/doc/guix.texi:13283
  19491. #, no-wrap
  19492. msgid "./pre-inst-env guix style coreutils\n"
  19493. msgstr ""
  19494. #. type: item
  19495. #: guix-git/doc/guix.texi:13285
  19496. #, no-wrap
  19497. msgid "inputs"
  19498. msgstr ""
  19499. #. type: table
  19500. #: guix-git/doc/guix.texi:13289
  19501. msgid "Rewrite package inputs to the ``new style'', as described above. This is how you would rewrite inputs of package @code{whatnot} in your own channel:"
  19502. msgstr ""
  19503. #. type: example
  19504. #: guix-git/doc/guix.texi:13292
  19505. #, no-wrap
  19506. msgid "guix style -L ~/my/channel -S inputs whatnot\n"
  19507. msgstr ""
  19508. #. type: table
  19509. #: guix-git/doc/guix.texi:13298
  19510. msgid "Rewriting is done in a conservative way: preserving comments and bailing out if it cannot make sense of the code that appears in an inputs field. The @option{--input-simplification} option described below provides fine-grain control over when inputs should be simplified."
  19511. msgstr ""
  19512. #. type: table
  19513. #: guix-git/doc/guix.texi:13308
  19514. msgid "Style the package @var{expr} evaluates to."
  19515. msgstr ""
  19516. #. type: example
  19517. #: guix-git/doc/guix.texi:13313
  19518. #, no-wrap
  19519. msgid "guix style -e '(@@ (gnu packages gcc) gcc-5)'\n"
  19520. msgstr ""
  19521. #. type: table
  19522. #: guix-git/doc/guix.texi:13316
  19523. msgid "styles the @code{gcc-5} package definition."
  19524. msgstr ""
  19525. #. type: item
  19526. #: guix-git/doc/guix.texi:13317
  19527. #, no-wrap
  19528. msgid "--input-simplification=@var{policy}"
  19529. msgstr ""
  19530. #. type: table
  19531. #: guix-git/doc/guix.texi:13322
  19532. msgid "When using the @code{inputs} styling rule, with @samp{-S inputs}, this option specifies the package input simplification policy for cases where an input label does not match the corresponding package name. @var{policy} may be one of the following:"
  19533. msgstr ""
  19534. #. type: item
  19535. #: guix-git/doc/guix.texi:13324
  19536. #, no-wrap
  19537. msgid "silent"
  19538. msgstr ""
  19539. #. type: table
  19540. #: guix-git/doc/guix.texi:13327
  19541. msgid "Simplify inputs only when the change is ``silent'', meaning that the package does not need to be rebuilt (its derivation is unchanged)."
  19542. msgstr ""
  19543. #. type: item
  19544. #: guix-git/doc/guix.texi:13328
  19545. #, no-wrap
  19546. msgid "safe"
  19547. msgstr ""
  19548. #. type: table
  19549. #: guix-git/doc/guix.texi:13331
  19550. msgid "Simplify inputs only when that is ``safe'' to do: the package might need to be rebuilt, but the change is known to have no observable effect."
  19551. msgstr ""
  19552. #. type: table
  19553. #: guix-git/doc/guix.texi:13335
  19554. msgid "Simplify inputs even when input labels do not match package names, and even if that might have an observable effect."
  19555. msgstr ""
  19556. #. type: table
  19557. #: guix-git/doc/guix.texi:13339
  19558. msgid "The default is @code{silent}, meaning that input simplifications do not trigger any package rebuild."
  19559. msgstr ""
  19560. #. type: section
  19561. #: guix-git/doc/guix.texi:13342
  19562. #, no-wrap
  19563. msgid "Invoking @command{guix lint}"
  19564. msgstr ""
  19565. #. type: command{#1}
  19566. #: guix-git/doc/guix.texi:13344
  19567. #, no-wrap
  19568. msgid "guix lint"
  19569. msgstr ""
  19570. #. type: cindex
  19571. #: guix-git/doc/guix.texi:13345
  19572. #, no-wrap
  19573. msgid "package, checking for errors"
  19574. msgstr ""
  19575. #. type: Plain text
  19576. #: guix-git/doc/guix.texi:13351
  19577. 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):"
  19578. msgstr ""
  19579. #. type: table
  19580. #: guix-git/doc/guix.texi:13357
  19581. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  19582. msgstr ""
  19583. #. type: item
  19584. #: guix-git/doc/guix.texi:13358
  19585. #, no-wrap
  19586. msgid "inputs-should-be-native"
  19587. msgstr ""
  19588. #. type: table
  19589. #: guix-git/doc/guix.texi:13360
  19590. msgid "Identify inputs that should most likely be native inputs."
  19591. msgstr ""
  19592. #. type: itemx
  19593. #: guix-git/doc/guix.texi:13363
  19594. #, no-wrap
  19595. msgid "mirror-url"
  19596. msgstr ""
  19597. #. type: itemx
  19598. #: guix-git/doc/guix.texi:13364
  19599. #, no-wrap
  19600. msgid "github-url"
  19601. msgstr ""
  19602. #. type: itemx
  19603. #: guix-git/doc/guix.texi:13365
  19604. #, no-wrap
  19605. msgid "source-file-name"
  19606. msgstr ""
  19607. #. type: table
  19608. #: guix-git/doc/guix.texi:13372
  19609. 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})."
  19610. msgstr ""
  19611. #. type: item
  19612. #: guix-git/doc/guix.texi:13373
  19613. #, no-wrap
  19614. msgid "source-unstable-tarball"
  19615. msgstr ""
  19616. #. type: table
  19617. #: guix-git/doc/guix.texi:13377
  19618. 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."
  19619. msgstr ""
  19620. #. type: table
  19621. #: guix-git/doc/guix.texi:13381
  19622. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  19623. msgstr ""
  19624. #. type: item
  19625. #: guix-git/doc/guix.texi:13382
  19626. #, no-wrap
  19627. msgid "profile-collisions"
  19628. msgstr ""
  19629. #. type: table
  19630. #: guix-git/doc/guix.texi:13388
  19631. 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."
  19632. msgstr ""
  19633. #. type: item
  19634. #: guix-git/doc/guix.texi:13389
  19635. #, no-wrap
  19636. msgid "archival"
  19637. msgstr ""
  19638. #. type: cindex
  19639. #: guix-git/doc/guix.texi:13390
  19640. #, no-wrap
  19641. msgid "Software Heritage, source code archive"
  19642. msgstr ""
  19643. #. type: cindex
  19644. #: guix-git/doc/guix.texi:13391
  19645. #, no-wrap
  19646. msgid "archival of source code, Software Heritage"
  19647. msgstr ""
  19648. #. type: table
  19649. #: guix-git/doc/guix.texi:13394
  19650. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  19651. msgstr ""
  19652. #. type: table
  19653. #: guix-git/doc/guix.texi:13402
  19654. 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}."
  19655. msgstr ""
  19656. #. type: table
  19657. #: guix-git/doc/guix.texi:13407
  19658. 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."
  19659. msgstr ""
  19660. #. type: table
  19661. #: guix-git/doc/guix.texi:13413
  19662. 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."
  19663. msgstr ""
  19664. #. type: item
  19665. #: guix-git/doc/guix.texi:13414
  19666. #, no-wrap
  19667. msgid "cve"
  19668. msgstr ""
  19669. #. type: cindex
  19670. #: guix-git/doc/guix.texi:13415 guix-git/doc/guix.texi:38629
  19671. #, no-wrap
  19672. msgid "security vulnerabilities"
  19673. msgstr ""
  19674. #. type: cindex
  19675. #: guix-git/doc/guix.texi:13416
  19676. #, no-wrap
  19677. msgid "CVE, Common Vulnerabilities and Exposures"
  19678. msgstr ""
  19679. #. type: table
  19680. #: guix-git/doc/guix.texi:13421
  19681. 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}."
  19682. msgstr ""
  19683. #. type: table
  19684. #: guix-git/doc/guix.texi:13423
  19685. msgid "To view information about a particular vulnerability, visit pages such as:"
  19686. msgstr ""
  19687. #. type: indicateurl{#1}
  19688. #: guix-git/doc/guix.texi:13427
  19689. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  19690. msgstr ""
  19691. #. type: indicateurl{#1}
  19692. #: guix-git/doc/guix.texi:13429
  19693. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  19694. msgstr ""
  19695. #. type: table
  19696. #: guix-git/doc/guix.texi:13434
  19697. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  19698. msgstr ""
  19699. #. type: table
  19700. #: guix-git/doc/guix.texi:13439
  19701. 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:"
  19702. msgstr ""
  19703. #. type: lisp
  19704. #: guix-git/doc/guix.texi:13447
  19705. #, no-wrap
  19706. msgid ""
  19707. "(package\n"
  19708. " (name \"grub\")\n"
  19709. " ;; @dots{}\n"
  19710. " ;; CPE calls this package \"grub2\".\n"
  19711. " (properties '((cpe-name . \"grub2\")\n"
  19712. " (cpe-version . \"2.3\"))))\n"
  19713. msgstr ""
  19714. #. type: table
  19715. #: guix-git/doc/guix.texi:13454
  19716. 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:"
  19717. msgstr ""
  19718. #. type: lisp
  19719. #: guix-git/doc/guix.texi:13464
  19720. #, no-wrap
  19721. msgid ""
  19722. "(package\n"
  19723. " (name \"t1lib\")\n"
  19724. " ;; @dots{}\n"
  19725. " ;; These CVEs no longer apply and can be safely ignored.\n"
  19726. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  19727. " \"CVE-2011-1553\"\n"
  19728. " \"CVE-2011-1554\"\n"
  19729. " \"CVE-2011-5244\")))))\n"
  19730. msgstr ""
  19731. #. type: item
  19732. #: guix-git/doc/guix.texi:13466
  19733. #, no-wrap
  19734. msgid "formatting"
  19735. msgstr ""
  19736. #. type: table
  19737. #: guix-git/doc/guix.texi:13469
  19738. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  19739. msgstr ""
  19740. #. type: item
  19741. #: guix-git/doc/guix.texi:13470
  19742. #, no-wrap
  19743. msgid "input-labels"
  19744. msgstr ""
  19745. #. type: table
  19746. #: guix-git/doc/guix.texi:13476
  19747. msgid "Report old-style input labels that do not match the name of the corresponding package. This aims to help migrate from the ``old input style''. @xref{package Reference}, for more information on package inputs and input styles. @xref{Invoking guix style}, on how to migrate to the new style."
  19748. msgstr ""
  19749. #. type: example
  19750. #: guix-git/doc/guix.texi:13482
  19751. #, no-wrap
  19752. msgid "guix lint @var{options} @var{package}@dots{}\n"
  19753. msgstr ""
  19754. #. type: Plain text
  19755. #: guix-git/doc/guix.texi:13486
  19756. 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:"
  19757. msgstr ""
  19758. #. type: item
  19759. #: guix-git/doc/guix.texi:13488
  19760. #, no-wrap
  19761. msgid "--list-checkers"
  19762. msgstr ""
  19763. #. type: table
  19764. #: guix-git/doc/guix.texi:13492
  19765. msgid "List and describe all the available checkers that will be run on packages and exit."
  19766. msgstr ""
  19767. #. type: item
  19768. #: guix-git/doc/guix.texi:13493
  19769. #, no-wrap
  19770. msgid "--checkers"
  19771. msgstr ""
  19772. #. type: itemx
  19773. #: guix-git/doc/guix.texi:13494
  19774. #, no-wrap
  19775. msgid "-c"
  19776. msgstr ""
  19777. #. type: table
  19778. #: guix-git/doc/guix.texi:13497
  19779. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19780. msgstr ""
  19781. #. type: item
  19782. #: guix-git/doc/guix.texi:13498
  19783. #, no-wrap
  19784. msgid "--exclude"
  19785. msgstr ""
  19786. #. type: table
  19787. #: guix-git/doc/guix.texi:13502
  19788. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19789. msgstr ""
  19790. #. type: item
  19791. #: guix-git/doc/guix.texi:13503
  19792. #, no-wrap
  19793. msgid "--no-network"
  19794. msgstr ""
  19795. #. type: table
  19796. #: guix-git/doc/guix.texi:13506
  19797. msgid "Only enable the checkers that do not depend on Internet access."
  19798. msgstr ""
  19799. #. type: section
  19800. #: guix-git/doc/guix.texi:13518
  19801. #, no-wrap
  19802. msgid "Invoking @command{guix size}"
  19803. msgstr ""
  19804. #. type: code{#1}
  19805. #: guix-git/doc/guix.texi:13520 guix-git/doc/guix.texi:36228
  19806. #, no-wrap
  19807. msgid "size"
  19808. msgstr ""
  19809. #. type: cindex
  19810. #: guix-git/doc/guix.texi:13521
  19811. #, no-wrap
  19812. msgid "package size"
  19813. msgstr ""
  19814. #. type: command{#1}
  19815. #: guix-git/doc/guix.texi:13523
  19816. #, no-wrap
  19817. msgid "guix size"
  19818. msgstr ""
  19819. #. type: Plain text
  19820. #: guix-git/doc/guix.texi:13530
  19821. 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."
  19822. msgstr ""
  19823. #. type: Plain text
  19824. #: guix-git/doc/guix.texi:13535
  19825. 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:"
  19826. msgstr ""
  19827. #. type: example
  19828. #: guix-git/doc/guix.texi:13548
  19829. #, no-wrap
  19830. msgid ""
  19831. "$ guix size coreutils\n"
  19832. "store item total self\n"
  19833. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  19834. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  19835. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  19836. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  19837. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  19838. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  19839. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  19840. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  19841. "total: 78.9 MiB\n"
  19842. msgstr ""
  19843. #. type: Plain text
  19844. #: guix-git/doc/guix.texi:13554
  19845. 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:"
  19846. msgstr ""
  19847. #. type: example
  19848. #: guix-git/doc/guix.texi:13557
  19849. #, no-wrap
  19850. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  19851. msgstr ""
  19852. #. type: Plain text
  19853. #: guix-git/doc/guix.texi:13565
  19854. 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."
  19855. msgstr ""
  19856. #. type: Plain text
  19857. #: guix-git/doc/guix.texi:13571
  19858. 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.)"
  19859. msgstr ""
  19860. #. type: Plain text
  19861. #: guix-git/doc/guix.texi:13574
  19862. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  19863. msgstr ""
  19864. #. type: example
  19865. #: guix-git/doc/guix.texi:13577
  19866. #, no-wrap
  19867. msgid "guix size $(guix system build config.scm)\n"
  19868. msgstr ""
  19869. #. type: Plain text
  19870. #: guix-git/doc/guix.texi:13587
  19871. 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})."
  19872. msgstr ""
  19873. #. type: Plain text
  19874. #: guix-git/doc/guix.texi:13592
  19875. 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."
  19876. msgstr ""
  19877. #. type: Plain text
  19878. #: guix-git/doc/guix.texi:13594
  19879. msgid "You can also specify several package names:"
  19880. msgstr ""
  19881. #. type: example
  19882. #: guix-git/doc/guix.texi:13604
  19883. #, no-wrap
  19884. msgid ""
  19885. "$ guix size coreutils grep sed bash\n"
  19886. "store item total self\n"
  19887. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  19888. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  19889. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  19890. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  19891. "@dots{}\n"
  19892. "total: 102.3 MiB\n"
  19893. msgstr ""
  19894. #. type: Plain text
  19895. #: guix-git/doc/guix.texi:13610
  19896. 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."
  19897. msgstr ""
  19898. #. type: Plain text
  19899. #: guix-git/doc/guix.texi:13616
  19900. 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})."
  19901. msgstr ""
  19902. #. type: Plain text
  19903. #: guix-git/doc/guix.texi:13618
  19904. msgid "The available options are:"
  19905. msgstr ""
  19906. #. type: table
  19907. #: guix-git/doc/guix.texi:13624
  19908. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  19909. msgstr ""
  19910. #. type: item
  19911. #: guix-git/doc/guix.texi:13625
  19912. #, no-wrap
  19913. msgid "--sort=@var{key}"
  19914. msgstr ""
  19915. #. type: table
  19916. #: guix-git/doc/guix.texi:13627
  19917. msgid "Sort lines according to @var{key}, one of the following options:"
  19918. msgstr ""
  19919. #. type: item
  19920. #: guix-git/doc/guix.texi:13629
  19921. #, no-wrap
  19922. msgid "self"
  19923. msgstr ""
  19924. #. type: table
  19925. #: guix-git/doc/guix.texi:13631
  19926. msgid "the size of each item (the default);"
  19927. msgstr ""
  19928. #. type: table
  19929. #: guix-git/doc/guix.texi:13633
  19930. msgid "the total size of the item's closure."
  19931. msgstr ""
  19932. #. type: item
  19933. #: guix-git/doc/guix.texi:13635
  19934. #, no-wrap
  19935. msgid "--map-file=@var{file}"
  19936. msgstr ""
  19937. #. type: table
  19938. #: guix-git/doc/guix.texi:13637
  19939. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  19940. msgstr ""
  19941. #. type: table
  19942. #: guix-git/doc/guix.texi:13639
  19943. msgid "For the example above, the map looks like this:"
  19944. msgstr ""
  19945. #. type: table
  19946. #: guix-git/doc/guix.texi:13642
  19947. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  19948. msgstr ""
  19949. #. type: table
  19950. #: guix-git/doc/guix.texi:13647
  19951. 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."
  19952. msgstr ""
  19953. #. type: table
  19954. #: guix-git/doc/guix.texi:13651
  19955. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  19956. msgstr ""
  19957. #. type: section
  19958. #: guix-git/doc/guix.texi:13662
  19959. #, no-wrap
  19960. msgid "Invoking @command{guix graph}"
  19961. msgstr ""
  19962. #. type: cindex
  19963. #: guix-git/doc/guix.texi:13664
  19964. #, no-wrap
  19965. msgid "DAG"
  19966. msgstr ""
  19967. #. type: command{#1}
  19968. #: guix-git/doc/guix.texi:13665
  19969. #, no-wrap
  19970. msgid "guix graph"
  19971. msgstr ""
  19972. #. type: Plain text
  19973. #: guix-git/doc/guix.texi:13680
  19974. 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:"
  19975. msgstr ""
  19976. #. type: example
  19977. #: guix-git/doc/guix.texi:13683
  19978. #, no-wrap
  19979. msgid "guix graph @var{options} @var{package}@dots{}\n"
  19980. msgstr ""
  19981. #. type: Plain text
  19982. #: guix-git/doc/guix.texi:13688
  19983. 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:"
  19984. msgstr ""
  19985. #. type: example
  19986. #: guix-git/doc/guix.texi:13691
  19987. #, no-wrap
  19988. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  19989. msgstr ""
  19990. #. type: Plain text
  19991. #: guix-git/doc/guix.texi:13694
  19992. msgid "The output looks like this:"
  19993. msgstr ""
  19994. #. type: Plain text
  19995. #: guix-git/doc/guix.texi:13696
  19996. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  19997. msgstr ""
  19998. #. type: Plain text
  19999. #: guix-git/doc/guix.texi:13698
  20000. msgid "Nice little graph, no?"
  20001. msgstr ""
  20002. #. type: Plain text
  20003. #: guix-git/doc/guix.texi:13701
  20004. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  20005. msgstr ""
  20006. #. type: example
  20007. #: guix-git/doc/guix.texi:13704
  20008. #, no-wrap
  20009. msgid "guix graph coreutils | xdot -\n"
  20010. msgstr ""
  20011. #. type: Plain text
  20012. #: guix-git/doc/guix.texi:13711
  20013. 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:"
  20014. msgstr ""
  20015. #. type: table
  20016. #: guix-git/doc/guix.texi:13717
  20017. 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."
  20018. msgstr ""
  20019. #. type: item
  20020. #: guix-git/doc/guix.texi:13718
  20021. #, no-wrap
  20022. msgid "reverse-package"
  20023. msgstr ""
  20024. #. type: table
  20025. #: guix-git/doc/guix.texi:13720
  20026. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  20027. msgstr ""
  20028. #. type: example
  20029. #: guix-git/doc/guix.texi:13723
  20030. #, no-wrap
  20031. msgid "guix graph --type=reverse-package ocaml\n"
  20032. msgstr ""
  20033. #. type: table
  20034. #: guix-git/doc/guix.texi:13728
  20035. 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)."
  20036. msgstr ""
  20037. #. type: table
  20038. #: guix-git/doc/guix.texi:13733
  20039. 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}})."
  20040. msgstr ""
  20041. #. type: item
  20042. #: guix-git/doc/guix.texi:13734
  20043. #, no-wrap
  20044. msgid "bag-emerged"
  20045. msgstr ""
  20046. #. type: table
  20047. #: guix-git/doc/guix.texi:13736
  20048. msgid "This is the package DAG, @emph{including} implicit inputs."
  20049. msgstr ""
  20050. #. type: table
  20051. #: guix-git/doc/guix.texi:13738
  20052. msgid "For instance, the following command:"
  20053. msgstr ""
  20054. #. type: example
  20055. #: guix-git/doc/guix.texi:13741
  20056. #, no-wrap
  20057. msgid "guix graph --type=bag-emerged coreutils\n"
  20058. msgstr ""
  20059. #. type: table
  20060. #: guix-git/doc/guix.texi:13744
  20061. msgid "...@: yields this bigger graph:"
  20062. msgstr ""
  20063. #. type: table
  20064. #: guix-git/doc/guix.texi:13746
  20065. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  20066. msgstr ""
  20067. #. type: table
  20068. #: guix-git/doc/guix.texi:13749
  20069. 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}})."
  20070. msgstr ""
  20071. #. type: table
  20072. #: guix-git/doc/guix.texi:13753
  20073. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  20074. msgstr ""
  20075. #. type: item
  20076. #: guix-git/doc/guix.texi:13754
  20077. #, no-wrap
  20078. msgid "bag"
  20079. msgstr ""
  20080. #. type: table
  20081. #: guix-git/doc/guix.texi:13757
  20082. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  20083. msgstr ""
  20084. #. type: item
  20085. #: guix-git/doc/guix.texi:13758
  20086. #, no-wrap
  20087. msgid "bag-with-origins"
  20088. msgstr ""
  20089. #. type: table
  20090. #: guix-git/doc/guix.texi:13760
  20091. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  20092. msgstr ""
  20093. #. type: item
  20094. #: guix-git/doc/guix.texi:13761
  20095. #, no-wrap
  20096. msgid "reverse-bag"
  20097. msgstr ""
  20098. #. type: table
  20099. #: guix-git/doc/guix.texi:13764
  20100. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  20101. msgstr ""
  20102. #. type: example
  20103. #: guix-git/doc/guix.texi:13767
  20104. #, no-wrap
  20105. msgid "guix graph -t reverse-bag dune\n"
  20106. msgstr ""
  20107. #. type: table
  20108. #: guix-git/doc/guix.texi:13774
  20109. 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."
  20110. msgstr ""
  20111. #. type: table
  20112. #: guix-git/doc/guix.texi:13780
  20113. 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."
  20114. msgstr ""
  20115. #. type: table
  20116. #: guix-git/doc/guix.texi:13783
  20117. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  20118. msgstr ""
  20119. #. type: example
  20120. #: guix-git/doc/guix.texi:13786
  20121. #, no-wrap
  20122. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  20123. msgstr ""
  20124. #. type: item
  20125. #: guix-git/doc/guix.texi:13788
  20126. #, no-wrap
  20127. msgid "module"
  20128. msgstr "پیمانه"
  20129. #. type: table
  20130. #: guix-git/doc/guix.texi:13792
  20131. 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:"
  20132. msgstr ""
  20133. #. type: example
  20134. #: guix-git/doc/guix.texi:13795
  20135. #, no-wrap
  20136. msgid "guix graph -t module guile | xdot -\n"
  20137. msgstr ""
  20138. #. type: Plain text
  20139. #: guix-git/doc/guix.texi:13800
  20140. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  20141. msgstr ""
  20142. #. type: table
  20143. #: guix-git/doc/guix.texi:13805
  20144. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  20145. msgstr ""
  20146. #. type: table
  20147. #: guix-git/doc/guix.texi:13808
  20148. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  20149. msgstr ""
  20150. #. type: table
  20151. #: guix-git/doc/guix.texi:13812
  20152. 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!):"
  20153. msgstr ""
  20154. #. type: example
  20155. #: guix-git/doc/guix.texi:13815
  20156. #, no-wrap
  20157. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  20158. msgstr ""
  20159. #. type: item
  20160. #: guix-git/doc/guix.texi:13817
  20161. #, no-wrap
  20162. msgid "referrers"
  20163. msgstr ""
  20164. #. type: table
  20165. #: guix-git/doc/guix.texi:13820
  20166. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  20167. msgstr ""
  20168. #. type: table
  20169. #: guix-git/doc/guix.texi:13826
  20170. 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."
  20171. msgstr ""
  20172. #. type: table
  20173. #: guix-git/doc/guix.texi:13829
  20174. msgid "It can help determine what is preventing a store item from being garbage collected."
  20175. msgstr ""
  20176. #. type: cindex
  20177. #: guix-git/doc/guix.texi:13832
  20178. #, no-wrap
  20179. msgid "shortest path, between packages"
  20180. msgstr ""
  20181. #. type: Plain text
  20182. #: guix-git/doc/guix.texi:13839
  20183. 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.):"
  20184. msgstr ""
  20185. #. type: example
  20186. #: guix-git/doc/guix.texi:13853
  20187. #, no-wrap
  20188. msgid ""
  20189. "$ guix graph --path emacs libunistring\n"
  20190. "emacs@@26.3\n"
  20191. "mailutils@@3.9\n"
  20192. "libunistring@@0.9.10\n"
  20193. "$ guix graph --path -t derivation emacs libunistring\n"
  20194. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  20195. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  20196. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  20197. "$ guix graph --path -t references emacs libunistring\n"
  20198. "/gnu/store/@dots{}-emacs-26.3\n"
  20199. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  20200. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  20201. msgstr ""
  20202. #. type: Plain text
  20203. #: guix-git/doc/guix.texi:13861
  20204. msgid "Sometimes you still want to visualize the graph but would like to trim it so it can actually be displayed. One way to do it is via the @option{--max-depth} (or @option{-M}) option, which lets you specify the maximum depth of the graph. In the example below, we visualize only @code{libreoffice} and the nodes whose distance to @code{libreoffice} is at most 2:"
  20205. msgstr ""
  20206. #. type: example
  20207. #: guix-git/doc/guix.texi:13864
  20208. #, no-wrap
  20209. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  20210. msgstr ""
  20211. #. type: Plain text
  20212. #: guix-git/doc/guix.texi:13868
  20213. msgid "Mind you, that's still a big ball of spaghetti, but at least @command{dot} can render it quickly and it can be browsed somewhat."
  20214. msgstr ""
  20215. #. type: Plain text
  20216. #: guix-git/doc/guix.texi:13870
  20217. msgid "The available options are the following:"
  20218. msgstr ""
  20219. #. type: table
  20220. #: guix-git/doc/guix.texi:13876
  20221. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  20222. msgstr ""
  20223. #. type: item
  20224. #: guix-git/doc/guix.texi:13877
  20225. #, no-wrap
  20226. msgid "--list-types"
  20227. msgstr ""
  20228. #. type: table
  20229. #: guix-git/doc/guix.texi:13879
  20230. msgid "List the supported graph types."
  20231. msgstr ""
  20232. #. type: item
  20233. #: guix-git/doc/guix.texi:13880
  20234. #, no-wrap
  20235. msgid "--backend=@var{backend}"
  20236. msgstr ""
  20237. #. type: itemx
  20238. #: guix-git/doc/guix.texi:13881
  20239. #, no-wrap
  20240. msgid "-b @var{backend}"
  20241. msgstr ""
  20242. #. type: table
  20243. #: guix-git/doc/guix.texi:13883
  20244. msgid "Produce a graph using the selected @var{backend}."
  20245. msgstr ""
  20246. #. type: item
  20247. #: guix-git/doc/guix.texi:13884
  20248. #, no-wrap
  20249. msgid "--list-backends"
  20250. msgstr ""
  20251. #. type: table
  20252. #: guix-git/doc/guix.texi:13886
  20253. msgid "List the supported graph backends."
  20254. msgstr ""
  20255. #. type: table
  20256. #: guix-git/doc/guix.texi:13888
  20257. msgid "Currently, the available backends are Graphviz and d3.js."
  20258. msgstr ""
  20259. #. type: item
  20260. #: guix-git/doc/guix.texi:13889
  20261. #, no-wrap
  20262. msgid "--path"
  20263. msgstr ""
  20264. #. type: table
  20265. #: guix-git/doc/guix.texi:13894
  20266. 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}:"
  20267. msgstr ""
  20268. #. type: example
  20269. #: guix-git/doc/guix.texi:13901
  20270. #, no-wrap
  20271. msgid ""
  20272. "$ guix graph --path -t references libreoffice llvm\n"
  20273. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  20274. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  20275. "/gnu/store/@dots{}-mesa-19.3.4\n"
  20276. "/gnu/store/@dots{}-llvm-9.0.1\n"
  20277. msgstr ""
  20278. #. type: example
  20279. #: guix-git/doc/guix.texi:13911
  20280. #, no-wrap
  20281. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  20282. msgstr ""
  20283. #. type: table
  20284. #: guix-git/doc/guix.texi:13916
  20285. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  20286. msgstr ""
  20287. #. type: table
  20288. #: guix-git/doc/guix.texi:13919
  20289. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  20290. msgstr ""
  20291. #. type: Plain text
  20292. #: guix-git/doc/guix.texi:13935
  20293. 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:"
  20294. msgstr ""
  20295. #. type: example
  20296. #: guix-git/doc/guix.texi:13938
  20297. #, no-wrap
  20298. msgid "guix graph git --with-input=openssl=libressl\n"
  20299. msgstr ""
  20300. #. type: Plain text
  20301. #: guix-git/doc/guix.texi:13941
  20302. msgid "So many possibilities, so much fun!"
  20303. msgstr ""
  20304. #. type: section
  20305. #: guix-git/doc/guix.texi:13943
  20306. #, no-wrap
  20307. msgid "Invoking @command{guix publish}"
  20308. msgstr ""
  20309. #. type: command{#1}
  20310. #: guix-git/doc/guix.texi:13945
  20311. #, no-wrap
  20312. msgid "guix publish"
  20313. msgstr ""
  20314. #. type: Plain text
  20315. #: guix-git/doc/guix.texi:13949
  20316. 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})."
  20317. msgstr ""
  20318. #. type: Plain text
  20319. #: guix-git/doc/guix.texi:13955
  20320. 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."
  20321. msgstr ""
  20322. #. type: Plain text
  20323. #: guix-git/doc/guix.texi:13961
  20324. 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."
  20325. msgstr ""
  20326. #. type: Plain text
  20327. #: guix-git/doc/guix.texi:13965
  20328. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  20329. msgstr ""
  20330. #. type: Plain text
  20331. #: guix-git/doc/guix.texi:13970
  20332. 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})."
  20333. msgstr ""
  20334. #. type: example
  20335. #: guix-git/doc/guix.texi:13975
  20336. #, no-wrap
  20337. msgid "guix publish @var{options}@dots{}\n"
  20338. msgstr ""
  20339. #. type: Plain text
  20340. #: guix-git/doc/guix.texi:13979
  20341. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  20342. msgstr ""
  20343. #. type: example
  20344. #: guix-git/doc/guix.texi:13982
  20345. #, no-wrap
  20346. msgid "guix publish\n"
  20347. msgstr ""
  20348. #. type: Plain text
  20349. #: guix-git/doc/guix.texi:13986
  20350. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  20351. msgstr ""
  20352. #. type: Plain text
  20353. #: guix-git/doc/guix.texi:13994
  20354. 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})."
  20355. msgstr ""
  20356. #. type: Plain text
  20357. #: guix-git/doc/guix.texi:14001
  20358. 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}):"
  20359. msgstr ""
  20360. #. type: example
  20361. #: guix-git/doc/guix.texi:14004
  20362. #, no-wrap
  20363. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  20364. msgstr ""
  20365. #. type: Plain text
  20366. #: guix-git/doc/guix.texi:14008
  20367. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  20368. msgstr ""
  20369. #. type: cindex
  20370. #: guix-git/doc/guix.texi:14009
  20371. #, no-wrap
  20372. msgid "build logs, publication"
  20373. msgstr ""
  20374. #. type: Plain text
  20375. #: guix-git/doc/guix.texi:14011
  20376. msgid "Build logs are available from @code{/log} URLs like:"
  20377. msgstr ""
  20378. #. type: example
  20379. #: guix-git/doc/guix.texi:14014
  20380. #, no-wrap
  20381. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  20382. msgstr ""
  20383. #. type: Plain text
  20384. #: guix-git/doc/guix.texi:14024
  20385. 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."
  20386. msgstr ""
  20387. #. type: item
  20388. #: guix-git/doc/guix.texi:14028
  20389. #, no-wrap
  20390. msgid "--port=@var{port}"
  20391. msgstr ""
  20392. #. type: itemx
  20393. #: guix-git/doc/guix.texi:14029
  20394. #, no-wrap
  20395. msgid "-p @var{port}"
  20396. msgstr ""
  20397. #. type: table
  20398. #: guix-git/doc/guix.texi:14031
  20399. msgid "Listen for HTTP requests on @var{port}."
  20400. msgstr ""
  20401. #. type: item
  20402. #: guix-git/doc/guix.texi:14032
  20403. #, no-wrap
  20404. msgid "--listen=@var{host}"
  20405. msgstr ""
  20406. #. type: table
  20407. #: guix-git/doc/guix.texi:14035
  20408. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  20409. msgstr ""
  20410. #. type: table
  20411. #: guix-git/doc/guix.texi:14040
  20412. 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."
  20413. msgstr ""
  20414. #. type: item
  20415. #: guix-git/doc/guix.texi:14041
  20416. #, no-wrap
  20417. msgid "--compression[=@var{method}[:@var{level}]]"
  20418. msgstr ""
  20419. #. type: itemx
  20420. #: guix-git/doc/guix.texi:14042
  20421. #, no-wrap
  20422. msgid "-C [@var{method}[:@var{level}]]"
  20423. msgstr ""
  20424. #. type: table
  20425. #: guix-git/doc/guix.texi:14046
  20426. 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."
  20427. msgstr ""
  20428. #. type: table
  20429. #: guix-git/doc/guix.texi:14050
  20430. 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."
  20431. msgstr ""
  20432. #. type: table
  20433. #: guix-git/doc/guix.texi:14057
  20434. 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."
  20435. msgstr ""
  20436. #. type: table
  20437. #: guix-git/doc/guix.texi:14061
  20438. 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}."
  20439. msgstr ""
  20440. #. type: table
  20441. #: guix-git/doc/guix.texi:14070
  20442. 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."
  20443. msgstr ""
  20444. #. type: table
  20445. #: guix-git/doc/guix.texi:14075
  20446. 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."
  20447. msgstr ""
  20448. #. type: item
  20449. #: guix-git/doc/guix.texi:14076
  20450. #, no-wrap
  20451. msgid "--cache=@var{directory}"
  20452. msgstr ""
  20453. #. type: itemx
  20454. #: guix-git/doc/guix.texi:14077
  20455. #, no-wrap
  20456. msgid "-c @var{directory}"
  20457. msgstr ""
  20458. #. type: table
  20459. #: guix-git/doc/guix.texi:14080
  20460. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  20461. msgstr ""
  20462. #. type: table
  20463. #: guix-git/doc/guix.texi:14088
  20464. 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."
  20465. msgstr ""
  20466. #. type: table
  20467. #: guix-git/doc/guix.texi:14096
  20468. 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."
  20469. msgstr ""
  20470. #. type: table
  20471. #: guix-git/doc/guix.texi:14103
  20472. 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."
  20473. msgstr ""
  20474. #. type: table
  20475. #: guix-git/doc/guix.texi:14107
  20476. 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."
  20477. msgstr ""
  20478. #. type: table
  20479. #: guix-git/doc/guix.texi:14110
  20480. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  20481. msgstr ""
  20482. #. type: item
  20483. #: guix-git/doc/guix.texi:14111
  20484. #, no-wrap
  20485. msgid "--workers=@var{N}"
  20486. msgstr ""
  20487. #. type: table
  20488. #: guix-git/doc/guix.texi:14114
  20489. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  20490. msgstr ""
  20491. #. type: item
  20492. #: guix-git/doc/guix.texi:14115
  20493. #, no-wrap
  20494. msgid "--ttl=@var{ttl}"
  20495. msgstr ""
  20496. #. type: table
  20497. #: guix-git/doc/guix.texi:14119 guix-git/doc/guix.texi:33828
  20498. 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."
  20499. msgstr ""
  20500. #. type: table
  20501. #: guix-git/doc/guix.texi:14124
  20502. 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}."
  20503. msgstr ""
  20504. #. type: table
  20505. #: guix-git/doc/guix.texi:14128
  20506. 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."
  20507. msgstr ""
  20508. #. type: item
  20509. #: guix-git/doc/guix.texi:14129
  20510. #, no-wrap
  20511. msgid "--negative-ttl=@var{ttl}"
  20512. msgstr ""
  20513. #. type: table
  20514. #: guix-git/doc/guix.texi:14134 guix-git/doc/guix.texi:33837
  20515. 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."
  20516. msgstr ""
  20517. #. type: table
  20518. #: guix-git/doc/guix.texi:14138
  20519. 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."
  20520. msgstr ""
  20521. #. type: item
  20522. #: guix-git/doc/guix.texi:14139
  20523. #, no-wrap
  20524. msgid "--cache-bypass-threshold=@var{size}"
  20525. msgstr ""
  20526. #. type: table
  20527. #: guix-git/doc/guix.texi:14144
  20528. 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}."
  20529. msgstr ""
  20530. #. type: table
  20531. #: guix-git/doc/guix.texi:14149
  20532. 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."
  20533. msgstr ""
  20534. #. type: table
  20535. #: guix-git/doc/guix.texi:14153
  20536. 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."
  20537. msgstr ""
  20538. #. type: item
  20539. #: guix-git/doc/guix.texi:14154
  20540. #, no-wrap
  20541. msgid "--nar-path=@var{path}"
  20542. msgstr ""
  20543. #. type: table
  20544. #: guix-git/doc/guix.texi:14157
  20545. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  20546. msgstr ""
  20547. #. type: table
  20548. #: guix-git/doc/guix.texi:14161
  20549. 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}."
  20550. msgstr ""
  20551. #. type: item
  20552. #: guix-git/doc/guix.texi:14162
  20553. #, no-wrap
  20554. msgid "--public-key=@var{file}"
  20555. msgstr ""
  20556. #. type: itemx
  20557. #: guix-git/doc/guix.texi:14163
  20558. #, no-wrap
  20559. msgid "--private-key=@var{file}"
  20560. msgstr ""
  20561. #. type: table
  20562. #: guix-git/doc/guix.texi:14166 guix-git/doc/guix.texi:29574
  20563. #: guix-git/doc/guix.texi:29611
  20564. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  20565. msgstr ""
  20566. #. type: table
  20567. #: guix-git/doc/guix.texi:14173
  20568. 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."
  20569. msgstr ""
  20570. #. type: item
  20571. #: guix-git/doc/guix.texi:14174
  20572. #, no-wrap
  20573. msgid "--repl[=@var{port}]"
  20574. msgstr ""
  20575. #. type: itemx
  20576. #: guix-git/doc/guix.texi:14175
  20577. #, no-wrap
  20578. msgid "-r [@var{port}]"
  20579. msgstr ""
  20580. #. type: table
  20581. #: guix-git/doc/guix.texi:14179
  20582. 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."
  20583. msgstr ""
  20584. #. type: Plain text
  20585. #: guix-git/doc/guix.texi:14185
  20586. 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}})."
  20587. msgstr ""
  20588. #. type: Plain text
  20589. #: guix-git/doc/guix.texi:14188
  20590. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  20591. msgstr ""
  20592. #. type: itemize
  20593. #: guix-git/doc/guix.texi:14192
  20594. msgid "If your host distro uses the systemd init system:"
  20595. msgstr ""
  20596. #. type: example
  20597. #: guix-git/doc/guix.texi:14197
  20598. #, no-wrap
  20599. msgid ""
  20600. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  20601. " /etc/systemd/system/\n"
  20602. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  20603. msgstr ""
  20604. #. type: example
  20605. #: guix-git/doc/guix.texi:14205
  20606. #, no-wrap
  20607. msgid ""
  20608. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  20609. "# start guix-publish\n"
  20610. msgstr ""
  20611. #. type: itemize
  20612. #: guix-git/doc/guix.texi:14209
  20613. msgid "Otherwise, proceed similarly with your distro's init system."
  20614. msgstr ""
  20615. #. type: section
  20616. #: guix-git/doc/guix.texi:14212
  20617. #, no-wrap
  20618. msgid "Invoking @command{guix challenge}"
  20619. msgstr ""
  20620. #. type: cindex
  20621. #: guix-git/doc/guix.texi:14215
  20622. #, no-wrap
  20623. msgid "verifiable builds"
  20624. msgstr ""
  20625. #. type: command{#1}
  20626. #: guix-git/doc/guix.texi:14216
  20627. #, no-wrap
  20628. msgid "guix challenge"
  20629. msgstr ""
  20630. #. type: cindex
  20631. #: guix-git/doc/guix.texi:14217
  20632. #, no-wrap
  20633. msgid "challenge"
  20634. msgstr ""
  20635. #. type: Plain text
  20636. #: guix-git/doc/guix.texi:14222
  20637. 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."
  20638. msgstr ""
  20639. #. type: Plain text
  20640. #: guix-git/doc/guix.texi:14230
  20641. 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."
  20642. msgstr ""
  20643. #. type: Plain text
  20644. #: guix-git/doc/guix.texi:14239
  20645. 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."
  20646. msgstr ""
  20647. #. type: Plain text
  20648. #: guix-git/doc/guix.texi:14241
  20649. msgid "The command output looks like this:"
  20650. msgstr ""
  20651. #. type: smallexample
  20652. #: guix-git/doc/guix.texi:14253
  20653. #, no-wrap
  20654. msgid ""
  20655. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20656. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  20657. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  20658. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  20659. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20660. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20661. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  20662. " differing files:\n"
  20663. " /lib/libcrypto.so.1.1\n"
  20664. " /lib/libssl.so.1.1\n"
  20665. "\n"
  20666. msgstr ""
  20667. #. type: smallexample
  20668. #: guix-git/doc/guix.texi:14260
  20669. #, no-wrap
  20670. msgid ""
  20671. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  20672. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  20673. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  20674. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  20675. " differing file:\n"
  20676. " /libexec/git-core/git-fsck\n"
  20677. "\n"
  20678. msgstr ""
  20679. #. type: smallexample
  20680. #: guix-git/doc/guix.texi:14267
  20681. #, no-wrap
  20682. msgid ""
  20683. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  20684. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20685. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20686. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  20687. " differing file:\n"
  20688. " /share/man/man1/pius.1.gz\n"
  20689. "\n"
  20690. msgstr ""
  20691. #. type: smallexample
  20692. #: guix-git/doc/guix.texi:14269
  20693. #, no-wrap
  20694. msgid ""
  20695. "@dots{}\n"
  20696. "\n"
  20697. msgstr ""
  20698. #. type: smallexample
  20699. #: guix-git/doc/guix.texi:14274
  20700. #, no-wrap
  20701. msgid ""
  20702. "6,406 store items were analyzed:\n"
  20703. " - 4,749 (74.1%) were identical\n"
  20704. " - 525 (8.2%) differed\n"
  20705. " - 1,132 (17.7%) were inconclusive\n"
  20706. msgstr ""
  20707. #. type: Plain text
  20708. #: guix-git/doc/guix.texi:14282
  20709. 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."
  20710. msgstr ""
  20711. #. type: cindex
  20712. #: guix-git/doc/guix.texi:14283
  20713. #, no-wrap
  20714. msgid "non-determinism, in package builds"
  20715. msgstr ""
  20716. #. type: Plain text
  20717. #: guix-git/doc/guix.texi:14294
  20718. 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."
  20719. msgstr ""
  20720. #. type: Plain text
  20721. #: guix-git/doc/guix.texi:14297
  20722. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  20723. msgstr ""
  20724. #. type: example
  20725. #: guix-git/doc/guix.texi:14302
  20726. #, no-wrap
  20727. msgid ""
  20728. "guix challenge git \\\n"
  20729. " --diff=diffoscope \\\n"
  20730. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20731. msgstr ""
  20732. #. type: Plain text
  20733. #: guix-git/doc/guix.texi:14306
  20734. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  20735. msgstr ""
  20736. #. type: Plain text
  20737. #: guix-git/doc/guix.texi:14309
  20738. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  20739. msgstr ""
  20740. #. type: example
  20741. #: guix-git/doc/guix.texi:14314
  20742. #, no-wrap
  20743. msgid ""
  20744. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  20745. " | lzip -d | guix archive -x /tmp/git\n"
  20746. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  20747. msgstr ""
  20748. #. type: Plain text
  20749. #: guix-git/doc/guix.texi:14323
  20750. 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."
  20751. msgstr ""
  20752. #. type: Plain text
  20753. #: guix-git/doc/guix.texi:14331
  20754. 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."
  20755. msgstr ""
  20756. #. type: Plain text
  20757. #: guix-git/doc/guix.texi:14335
  20758. 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:"
  20759. msgstr ""
  20760. #. type: example
  20761. #: guix-git/doc/guix.texi:14338
  20762. #, no-wrap
  20763. msgid "$ guix challenge @var{package}\n"
  20764. msgstr ""
  20765. #. type: Plain text
  20766. #: guix-git/doc/guix.texi:14343
  20767. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  20768. msgstr ""
  20769. #. type: example
  20770. #: guix-git/doc/guix.texi:14348
  20771. #, no-wrap
  20772. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  20773. msgstr ""
  20774. #. type: Plain text
  20775. #: guix-git/doc/guix.texi:14355
  20776. 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)."
  20777. msgstr ""
  20778. #. type: Plain text
  20779. #: guix-git/doc/guix.texi:14357
  20780. msgid "The one option that matters is:"
  20781. msgstr ""
  20782. #. type: table
  20783. #: guix-git/doc/guix.texi:14363
  20784. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  20785. msgstr ""
  20786. #. type: item
  20787. #: guix-git/doc/guix.texi:14364
  20788. #, no-wrap
  20789. msgid "--diff=@var{mode}"
  20790. msgstr ""
  20791. #. type: table
  20792. #: guix-git/doc/guix.texi:14366
  20793. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  20794. msgstr ""
  20795. #. type: item
  20796. #: guix-git/doc/guix.texi:14368
  20797. #, no-wrap
  20798. msgid "@code{simple} (the default)"
  20799. msgstr ""
  20800. #. type: table
  20801. #: guix-git/doc/guix.texi:14370
  20802. msgid "Show the list of files that differ."
  20803. msgstr ""
  20804. #. type: code{#1}
  20805. #: guix-git/doc/guix.texi:14371
  20806. #, no-wrap
  20807. msgid "diffoscope"
  20808. msgstr ""
  20809. #. type: var{#1}
  20810. #: guix-git/doc/guix.texi:14372
  20811. #, no-wrap
  20812. msgid "command"
  20813. msgstr ""
  20814. #. type: table
  20815. #: guix-git/doc/guix.texi:14375
  20816. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  20817. msgstr ""
  20818. #. type: table
  20819. #: guix-git/doc/guix.texi:14378
  20820. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  20821. msgstr ""
  20822. #. type: table
  20823. #: guix-git/doc/guix.texi:14381
  20824. msgid "Do not show further details about the differences."
  20825. msgstr ""
  20826. #. type: table
  20827. #: guix-git/doc/guix.texi:14386
  20828. 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."
  20829. msgstr ""
  20830. #. type: item
  20831. #: guix-git/doc/guix.texi:14387
  20832. #, no-wrap
  20833. msgid "--verbose"
  20834. msgstr ""
  20835. #. type: itemx
  20836. #: guix-git/doc/guix.texi:14388
  20837. #, no-wrap
  20838. msgid "-v"
  20839. msgstr ""
  20840. #. type: table
  20841. #: guix-git/doc/guix.texi:14391
  20842. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  20843. msgstr ""
  20844. #. type: section
  20845. #: guix-git/doc/guix.texi:14395
  20846. #, no-wrap
  20847. msgid "Invoking @command{guix copy}"
  20848. msgstr ""
  20849. #. type: cindex
  20850. #: guix-git/doc/guix.texi:14397
  20851. #, no-wrap
  20852. msgid "copy, of store items, over SSH"
  20853. msgstr ""
  20854. #. type: cindex
  20855. #: guix-git/doc/guix.texi:14398
  20856. #, no-wrap
  20857. msgid "SSH, copy of store items"
  20858. msgstr ""
  20859. #. type: cindex
  20860. #: guix-git/doc/guix.texi:14399
  20861. #, no-wrap
  20862. msgid "sharing store items across machines"
  20863. msgstr ""
  20864. #. type: cindex
  20865. #: guix-git/doc/guix.texi:14400
  20866. #, no-wrap
  20867. msgid "transferring store items across machines"
  20868. msgstr ""
  20869. #. type: Plain text
  20870. #: guix-git/doc/guix.texi:14407
  20871. 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}:"
  20872. msgstr ""
  20873. #. type: example
  20874. #: guix-git/doc/guix.texi:14411
  20875. #, no-wrap
  20876. msgid ""
  20877. "guix copy --to=@var{user}@@@var{host} \\\n"
  20878. " coreutils $(readlink -f ~/.guix-profile)\n"
  20879. msgstr ""
  20880. #. type: Plain text
  20881. #: guix-git/doc/guix.texi:14415
  20882. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  20883. msgstr ""
  20884. #. type: Plain text
  20885. #: guix-git/doc/guix.texi:14418
  20886. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  20887. msgstr ""
  20888. #. type: example
  20889. #: guix-git/doc/guix.texi:14421
  20890. #, no-wrap
  20891. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  20892. msgstr ""
  20893. #. type: Plain text
  20894. #: guix-git/doc/guix.texi:14426
  20895. 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."
  20896. msgstr ""
  20897. #. type: Plain text
  20898. #: guix-git/doc/guix.texi:14432
  20899. 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."
  20900. msgstr ""
  20901. #. type: example
  20902. #: guix-git/doc/guix.texi:14437
  20903. #, no-wrap
  20904. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  20905. msgstr ""
  20906. #. type: Plain text
  20907. #: guix-git/doc/guix.texi:14440
  20908. msgid "You must always specify one of the following options:"
  20909. msgstr ""
  20910. #. type: item
  20911. #: guix-git/doc/guix.texi:14442
  20912. #, no-wrap
  20913. msgid "--to=@var{spec}"
  20914. msgstr ""
  20915. #. type: itemx
  20916. #: guix-git/doc/guix.texi:14443
  20917. #, no-wrap
  20918. msgid "--from=@var{spec}"
  20919. msgstr ""
  20920. #. type: table
  20921. #: guix-git/doc/guix.texi:14447
  20922. 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}."
  20923. msgstr ""
  20924. #. type: Plain text
  20925. #: guix-git/doc/guix.texi:14451
  20926. 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}."
  20927. msgstr ""
  20928. #. type: Plain text
  20929. #: guix-git/doc/guix.texi:14455
  20930. 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})."
  20931. msgstr ""
  20932. #. type: section
  20933. #: guix-git/doc/guix.texi:14458
  20934. #, no-wrap
  20935. msgid "Invoking @command{guix container}"
  20936. msgstr ""
  20937. #. type: command{#1}
  20938. #: guix-git/doc/guix.texi:14460
  20939. #, no-wrap
  20940. msgid "guix container"
  20941. msgstr ""
  20942. #. type: quotation
  20943. #: guix-git/doc/guix.texi:14464
  20944. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  20945. msgstr ""
  20946. #. type: Plain text
  20947. #: guix-git/doc/guix.texi:14471
  20948. msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix shell} (@pxref{Invoking guix shell}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  20949. msgstr ""
  20950. #. type: example
  20951. #: guix-git/doc/guix.texi:14476
  20952. #, no-wrap
  20953. msgid "guix container @var{action} @var{options}@dots{}\n"
  20954. msgstr ""
  20955. #. type: Plain text
  20956. #: guix-git/doc/guix.texi:14480
  20957. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  20958. msgstr ""
  20959. #. type: Plain text
  20960. #: guix-git/doc/guix.texi:14482
  20961. msgid "The following actions are available:"
  20962. msgstr ""
  20963. #. type: item
  20964. #: guix-git/doc/guix.texi:14484
  20965. #, no-wrap
  20966. msgid "exec"
  20967. msgstr ""
  20968. #. type: table
  20969. #: guix-git/doc/guix.texi:14486
  20970. msgid "Execute a command within the context of a running container."
  20971. msgstr ""
  20972. #. type: table
  20973. #: guix-git/doc/guix.texi:14488
  20974. msgid "The syntax is:"
  20975. msgstr ""
  20976. #. type: example
  20977. #: guix-git/doc/guix.texi:14491
  20978. #, no-wrap
  20979. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  20980. msgstr ""
  20981. #. type: table
  20982. #: guix-git/doc/guix.texi:14497
  20983. 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}."
  20984. msgstr ""
  20985. #. type: table
  20986. #: guix-git/doc/guix.texi:14501
  20987. 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:"
  20988. msgstr ""
  20989. #. type: example
  20990. #: guix-git/doc/guix.texi:14504
  20991. #, no-wrap
  20992. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  20993. msgstr ""
  20994. #. type: table
  20995. #: guix-git/doc/guix.texi:14508
  20996. 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."
  20997. msgstr ""
  20998. #. type: section
  20999. #: guix-git/doc/guix.texi:14512
  21000. #, no-wrap
  21001. msgid "Invoking @command{guix weather}"
  21002. msgstr ""
  21003. #. type: Plain text
  21004. #: guix-git/doc/guix.texi:14521
  21005. 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})."
  21006. msgstr ""
  21007. #. type: cindex
  21008. #: guix-git/doc/guix.texi:14522
  21009. #, no-wrap
  21010. msgid "statistics, for substitutes"
  21011. msgstr ""
  21012. #. type: cindex
  21013. #: guix-git/doc/guix.texi:14523
  21014. #, no-wrap
  21015. msgid "availability of substitutes"
  21016. msgstr ""
  21017. #. type: cindex
  21018. #: guix-git/doc/guix.texi:14524
  21019. #, no-wrap
  21020. msgid "substitute availability"
  21021. msgstr ""
  21022. #. type: cindex
  21023. #: guix-git/doc/guix.texi:14525
  21024. #, no-wrap
  21025. msgid "weather, substitute availability"
  21026. msgstr ""
  21027. #. type: Plain text
  21028. #: guix-git/doc/guix.texi:14527
  21029. msgid "Here's a sample run:"
  21030. msgstr ""
  21031. #. type: example
  21032. #: guix-git/doc/guix.texi:14539
  21033. #, no-wrap
  21034. msgid ""
  21035. "$ guix weather --substitute-urls=https://guix.example.org\n"
  21036. "computing 5,872 package derivations for x86_64-linux...\n"
  21037. "looking for 6,128 store items on https://guix.example.org..\n"
  21038. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  21039. "https://guix.example.org\n"
  21040. " 43.4% substitutes available (2,658 out of 6,128)\n"
  21041. " 7,032.5 MiB of nars (compressed)\n"
  21042. " 19,824.2 MiB on disk (uncompressed)\n"
  21043. " 0.030 seconds per request (182.9 seconds in total)\n"
  21044. " 33.5 requests per second\n"
  21045. "\n"
  21046. msgstr ""
  21047. #. type: example
  21048. #: guix-git/doc/guix.texi:14549
  21049. #, no-wrap
  21050. msgid ""
  21051. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  21052. " 867 queued builds\n"
  21053. " x86_64-linux: 518 (59.7%)\n"
  21054. " i686-linux: 221 (25.5%)\n"
  21055. " aarch64-linux: 128 (14.8%)\n"
  21056. " build rate: 23.41 builds per hour\n"
  21057. " x86_64-linux: 11.16 builds per hour\n"
  21058. " i686-linux: 6.03 builds per hour\n"
  21059. " aarch64-linux: 6.41 builds per hour\n"
  21060. msgstr ""
  21061. #. type: cindex
  21062. #: guix-git/doc/guix.texi:14551
  21063. #, no-wrap
  21064. msgid "continuous integration, statistics"
  21065. msgstr ""
  21066. #. type: Plain text
  21067. #: guix-git/doc/guix.texi:14562
  21068. 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)."
  21069. msgstr ""
  21070. #. type: Plain text
  21071. #: guix-git/doc/guix.texi:14568
  21072. 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."
  21073. msgstr ""
  21074. #. type: example
  21075. #: guix-git/doc/guix.texi:14573
  21076. #, no-wrap
  21077. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  21078. msgstr ""
  21079. #. type: Plain text
  21080. #: guix-git/doc/guix.texi:14581
  21081. 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%."
  21082. msgstr ""
  21083. #. type: table
  21084. #: guix-git/doc/guix.texi:14589
  21085. 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."
  21086. msgstr ""
  21087. #. type: table
  21088. #: guix-git/doc/guix.texi:14595
  21089. 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."
  21090. msgstr ""
  21091. #. type: table
  21092. #: guix-git/doc/guix.texi:14601
  21093. 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})."
  21094. msgstr ""
  21095. #. type: table
  21096. #: guix-git/doc/guix.texi:14604
  21097. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  21098. msgstr ""
  21099. #. type: item
  21100. #: guix-git/doc/guix.texi:14605
  21101. #, no-wrap
  21102. msgid "--coverage[=@var{count}]"
  21103. msgstr ""
  21104. #. type: itemx
  21105. #: guix-git/doc/guix.texi:14606
  21106. #, no-wrap
  21107. msgid "-c [@var{count}]"
  21108. msgstr ""
  21109. #. type: table
  21110. #: guix-git/doc/guix.texi:14612
  21111. 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:"
  21112. msgstr ""
  21113. #. type: example
  21114. #: guix-git/doc/guix.texi:14626
  21115. #, no-wrap
  21116. msgid ""
  21117. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  21118. "computing 8,983 package derivations for x86_64-linux...\n"
  21119. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  21120. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  21121. "@value{SUBSTITUTE-URLS}\n"
  21122. " 64.7% substitutes available (6,047 out of 9,343)\n"
  21123. "@dots{}\n"
  21124. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  21125. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  21126. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  21127. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  21128. " @dots{}\n"
  21129. msgstr ""
  21130. #. type: table
  21131. #: guix-git/doc/guix.texi:14632
  21132. 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."
  21133. msgstr ""
  21134. #. type: table
  21135. #: guix-git/doc/guix.texi:14636
  21136. 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."
  21137. msgstr ""
  21138. #. type: item
  21139. #: guix-git/doc/guix.texi:14637
  21140. #, no-wrap
  21141. msgid "--display-missing"
  21142. msgstr ""
  21143. #. type: table
  21144. #: guix-git/doc/guix.texi:14639
  21145. msgid "Display the list of store items for which substitutes are missing."
  21146. msgstr ""
  21147. #. type: section
  21148. #: guix-git/doc/guix.texi:14642
  21149. #, no-wrap
  21150. msgid "Invoking @command{guix processes}"
  21151. msgstr ""
  21152. #. type: Plain text
  21153. #: guix-git/doc/guix.texi:14650
  21154. 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:"
  21155. msgstr ""
  21156. #. type: example
  21157. #: guix-git/doc/guix.texi:14656
  21158. #, no-wrap
  21159. msgid ""
  21160. "$ sudo guix processes\n"
  21161. "SessionPID: 19002\n"
  21162. "ClientPID: 19090\n"
  21163. "ClientCommand: guix shell python\n"
  21164. "\n"
  21165. msgstr ""
  21166. #. type: example
  21167. #: guix-git/doc/guix.texi:14660
  21168. #, no-wrap
  21169. msgid ""
  21170. "SessionPID: 19402\n"
  21171. "ClientPID: 19367\n"
  21172. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  21173. "\n"
  21174. msgstr ""
  21175. #. type: example
  21176. #: guix-git/doc/guix.texi:14673
  21177. #, no-wrap
  21178. msgid ""
  21179. "SessionPID: 19444\n"
  21180. "ClientPID: 19419\n"
  21181. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21182. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  21183. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  21184. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  21185. "ChildPID: 20495\n"
  21186. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21187. "ChildPID: 27733\n"
  21188. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21189. "ChildPID: 27793\n"
  21190. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21191. msgstr ""
  21192. #. type: Plain text
  21193. #: guix-git/doc/guix.texi:14680
  21194. 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."
  21195. msgstr ""
  21196. #. type: Plain text
  21197. #: guix-git/doc/guix.texi:14687
  21198. 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})."
  21199. msgstr ""
  21200. #. type: Plain text
  21201. #: guix-git/doc/guix.texi:14692
  21202. 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:"
  21203. msgstr ""
  21204. #. type: example
  21205. #: guix-git/doc/guix.texi:14698
  21206. #, no-wrap
  21207. msgid ""
  21208. "$ sudo guix processes | \\\n"
  21209. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  21210. "ClientPID: 19419\n"
  21211. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21212. msgstr ""
  21213. #. type: Plain text
  21214. #: guix-git/doc/guix.texi:14701
  21215. msgid "Additional options are listed below."
  21216. msgstr ""
  21217. #. type: table
  21218. #: guix-git/doc/guix.texi:14711
  21219. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  21220. msgstr ""
  21221. #. type: item
  21222. #: guix-git/doc/guix.texi:14712
  21223. #, no-wrap
  21224. msgid "normalized"
  21225. msgstr ""
  21226. #. type: table
  21227. #: guix-git/doc/guix.texi:14719
  21228. 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}."
  21229. msgstr ""
  21230. #. type: example
  21231. #: guix-git/doc/guix.texi:14729
  21232. #, no-wrap
  21233. msgid ""
  21234. "$ guix processes --format=normalized | \\\n"
  21235. " recsel \\\n"
  21236. " -j Session \\\n"
  21237. " -t ChildProcess \\\n"
  21238. " -p Session.PID,PID \\\n"
  21239. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  21240. "PID: 4435\n"
  21241. "Session_PID: 4278\n"
  21242. "\n"
  21243. msgstr ""
  21244. #. type: example
  21245. #: guix-git/doc/guix.texi:14732
  21246. #, no-wrap
  21247. msgid ""
  21248. "PID: 4554\n"
  21249. "Session_PID: 4278\n"
  21250. "\n"
  21251. msgstr ""
  21252. #. type: example
  21253. #: guix-git/doc/guix.texi:14735
  21254. #, no-wrap
  21255. msgid ""
  21256. "PID: 4646\n"
  21257. "Session_PID: 4278\n"
  21258. msgstr ""
  21259. #. type: cindex
  21260. #: guix-git/doc/guix.texi:14742
  21261. #, no-wrap
  21262. msgid "system configuration"
  21263. msgstr ""
  21264. #. type: Plain text
  21265. #: guix-git/doc/guix.texi:14748
  21266. 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."
  21267. msgstr ""
  21268. #. type: Plain text
  21269. #: guix-git/doc/guix.texi:14758
  21270. 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."
  21271. msgstr ""
  21272. #. type: Plain text
  21273. #: guix-git/doc/guix.texi:14763
  21274. 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."
  21275. msgstr ""
  21276. #. type: Plain text
  21277. #: guix-git/doc/guix.texi:14793
  21278. 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:"
  21279. msgstr ""
  21280. #. type: code{#1}
  21281. #: guix-git/doc/guix.texi:14794 guix-git/doc/guix.texi:36147
  21282. #, no-wrap
  21283. msgid "operating-system"
  21284. msgstr ""
  21285. #. type: include
  21286. #: guix-git/doc/guix.texi:14796
  21287. #, no-wrap
  21288. msgid "os-config-bare-bones.texi"
  21289. msgstr ""
  21290. #. type: Plain text
  21291. #: guix-git/doc/guix.texi:14803
  21292. 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."
  21293. msgstr ""
  21294. #. type: Plain text
  21295. #: guix-git/doc/guix.texi:14808
  21296. 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}."
  21297. msgstr ""
  21298. #. type: unnumberedsubsec
  21299. #: guix-git/doc/guix.texi:14809
  21300. #, no-wrap
  21301. msgid "Bootloader"
  21302. msgstr ""
  21303. #. type: cindex
  21304. #: guix-git/doc/guix.texi:14811
  21305. #, no-wrap
  21306. msgid "legacy boot, on Intel machines"
  21307. msgstr ""
  21308. #. type: cindex
  21309. #: guix-git/doc/guix.texi:14812
  21310. #, no-wrap
  21311. msgid "BIOS boot, on Intel machines"
  21312. msgstr ""
  21313. #. type: cindex
  21314. #: guix-git/doc/guix.texi:14813
  21315. #, no-wrap
  21316. msgid "UEFI boot"
  21317. msgstr ""
  21318. #. type: cindex
  21319. #: guix-git/doc/guix.texi:14814
  21320. #, no-wrap
  21321. msgid "EFI boot"
  21322. msgstr ""
  21323. #. type: Plain text
  21324. #: guix-git/doc/guix.texi:14820
  21325. 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:"
  21326. msgstr ""
  21327. #. type: lisp
  21328. #: guix-git/doc/guix.texi:14825
  21329. #, no-wrap
  21330. msgid ""
  21331. "(bootloader-configuration\n"
  21332. " (bootloader grub-efi-bootloader)\n"
  21333. " (targets '(\"/boot/efi\")))\n"
  21334. msgstr ""
  21335. #. type: Plain text
  21336. #: guix-git/doc/guix.texi:14829
  21337. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  21338. msgstr ""
  21339. #. type: unnumberedsubsec
  21340. #: guix-git/doc/guix.texi:14830
  21341. #, no-wrap
  21342. msgid "Globally-Visible Packages"
  21343. msgstr ""
  21344. #. type: vindex
  21345. #: guix-git/doc/guix.texi:14832
  21346. #, no-wrap
  21347. msgid "%base-packages"
  21348. msgstr ""
  21349. #. type: Plain text
  21350. #: guix-git/doc/guix.texi:14845
  21351. 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:"
  21352. msgstr ""
  21353. #. type: lisp
  21354. #: guix-git/doc/guix.texi:14849
  21355. #, no-wrap
  21356. msgid ""
  21357. "(use-modules (gnu packages))\n"
  21358. "(use-modules (gnu packages dns))\n"
  21359. "\n"
  21360. msgstr ""
  21361. #. type: lisp
  21362. #: guix-git/doc/guix.texi:14854
  21363. #, no-wrap
  21364. msgid ""
  21365. "(operating-system\n"
  21366. " ;; ...\n"
  21367. " (packages (cons (list isc-bind \"utils\")\n"
  21368. " %base-packages)))\n"
  21369. msgstr ""
  21370. #. type: findex
  21371. #: guix-git/doc/guix.texi:14856
  21372. #, no-wrap
  21373. msgid "specification->package"
  21374. msgstr ""
  21375. #. type: Plain text
  21376. #: guix-git/doc/guix.texi:14865
  21377. 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:"
  21378. msgstr ""
  21379. #. type: lisp
  21380. #: guix-git/doc/guix.texi:14868
  21381. #, no-wrap
  21382. msgid ""
  21383. "(use-modules (gnu packages))\n"
  21384. "\n"
  21385. msgstr ""
  21386. #. type: lisp
  21387. #: guix-git/doc/guix.texi:14874
  21388. #, no-wrap
  21389. msgid ""
  21390. "(operating-system\n"
  21391. " ;; ...\n"
  21392. " (packages (append (map specification->package\n"
  21393. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  21394. " %base-packages)))\n"
  21395. msgstr ""
  21396. #. type: unnumberedsubsec
  21397. #: guix-git/doc/guix.texi:14876
  21398. #, no-wrap
  21399. msgid "System Services"
  21400. msgstr ""
  21401. #. type: cindex
  21402. #: guix-git/doc/guix.texi:14878 guix-git/doc/guix.texi:34860
  21403. #: guix-git/doc/guix.texi:36387
  21404. #, no-wrap
  21405. msgid "services"
  21406. msgstr ""
  21407. #. type: vindex
  21408. #: guix-git/doc/guix.texi:14879
  21409. #, no-wrap
  21410. msgid "%base-services"
  21411. msgstr ""
  21412. #. type: Plain text
  21413. #: guix-git/doc/guix.texi:14889
  21414. 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})."
  21415. msgstr ""
  21416. #. type: cindex
  21417. #: guix-git/doc/guix.texi:14890
  21418. #, no-wrap
  21419. msgid "customization, of services"
  21420. msgstr ""
  21421. #. type: findex
  21422. #: guix-git/doc/guix.texi:14891
  21423. #, no-wrap
  21424. msgid "modify-services"
  21425. msgstr ""
  21426. #. type: Plain text
  21427. #: guix-git/doc/guix.texi:14895
  21428. 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."
  21429. msgstr ""
  21430. #. type: anchor{#1}
  21431. #: guix-git/doc/guix.texi:14901
  21432. msgid "auto-login to TTY"
  21433. msgstr ""
  21434. #. type: Plain text
  21435. #: guix-git/doc/guix.texi:14901
  21436. 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:"
  21437. msgstr ""
  21438. #. type: lisp
  21439. #: guix-git/doc/guix.texi:14918
  21440. #, no-wrap
  21441. msgid ""
  21442. "(define %my-services\n"
  21443. " ;; My very own list of services.\n"
  21444. " (modify-services %base-services\n"
  21445. " (guix-service-type config =>\n"
  21446. " (guix-configuration\n"
  21447. " (inherit config)\n"
  21448. " ;; Fetch substitutes from example.org.\n"
  21449. " (substitute-urls\n"
  21450. " (list \"https://example.org/guix\"\n"
  21451. " \"https://ci.guix.gnu.org\"))))\n"
  21452. " (mingetty-service-type config =>\n"
  21453. " (mingetty-configuration\n"
  21454. " (inherit config)\n"
  21455. " ;; Automatically log in as \"guest\".\n"
  21456. " (auto-login \"guest\")))))\n"
  21457. "\n"
  21458. msgstr ""
  21459. #. type: lisp
  21460. #: guix-git/doc/guix.texi:14922
  21461. #, no-wrap
  21462. msgid ""
  21463. "(operating-system\n"
  21464. " ;; @dots{}\n"
  21465. " (services %my-services))\n"
  21466. msgstr ""
  21467. #. type: Plain text
  21468. #: guix-git/doc/guix.texi:14935
  21469. 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."
  21470. msgstr ""
  21471. #. type: Plain text
  21472. #: guix-git/doc/guix.texi:14942
  21473. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, a swap file on the root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:"
  21474. msgstr ""
  21475. #. type: include
  21476. #: guix-git/doc/guix.texi:14944
  21477. #, no-wrap
  21478. msgid "os-config-desktop.texi"
  21479. msgstr ""
  21480. #. type: Plain text
  21481. #: guix-git/doc/guix.texi:14949
  21482. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  21483. msgstr ""
  21484. #. type: include
  21485. #: guix-git/doc/guix.texi:14951
  21486. #, no-wrap
  21487. msgid "os-config-lightweight-desktop.texi"
  21488. msgstr ""
  21489. #. type: Plain text
  21490. #: guix-git/doc/guix.texi:14957
  21491. 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."
  21492. msgstr ""
  21493. #. type: Plain text
  21494. #: guix-git/doc/guix.texi:14961
  21495. 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."
  21496. msgstr ""
  21497. #. type: Plain text
  21498. #: guix-git/doc/guix.texi:14968
  21499. 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:"
  21500. msgstr ""
  21501. #. type: lisp
  21502. #: guix-git/doc/guix.texi:14973
  21503. #, no-wrap
  21504. msgid ""
  21505. "(remove (lambda (service)\n"
  21506. " (eq? (service-kind service) avahi-service-type))\n"
  21507. " %desktop-services)\n"
  21508. msgstr ""
  21509. #. type: Plain text
  21510. #: guix-git/doc/guix.texi:14976
  21511. msgid "Alternatively, the @code{modify-services} macro can be used:"
  21512. msgstr ""
  21513. #. type: lisp
  21514. #: guix-git/doc/guix.texi:14980
  21515. #, no-wrap
  21516. msgid ""
  21517. "(modify-services %desktop-services\n"
  21518. " (delete avahi-service-type))\n"
  21519. msgstr ""
  21520. #. type: unnumberedsubsec
  21521. #: guix-git/doc/guix.texi:14983
  21522. #, no-wrap
  21523. msgid "Instantiating the System"
  21524. msgstr ""
  21525. #. type: Plain text
  21526. #: guix-git/doc/guix.texi:14990
  21527. 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})."
  21528. msgstr ""
  21529. #. type: Plain text
  21530. #: guix-git/doc/guix.texi:14998
  21531. 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."
  21532. msgstr ""
  21533. #. type: cindex
  21534. #: guix-git/doc/guix.texi:14999
  21535. #, no-wrap
  21536. msgid "roll-back, of the operating system"
  21537. msgstr ""
  21538. #. type: Plain text
  21539. #: guix-git/doc/guix.texi:15009
  21540. 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}."
  21541. msgstr ""
  21542. #. type: Plain text
  21543. #: guix-git/doc/guix.texi:15015
  21544. 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})."
  21545. msgstr ""
  21546. #. type: unnumberedsubsec
  21547. #: guix-git/doc/guix.texi:15016
  21548. #, no-wrap
  21549. msgid "The Programming Interface"
  21550. msgstr ""
  21551. #. type: Plain text
  21552. #: guix-git/doc/guix.texi:15021
  21553. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  21554. msgstr ""
  21555. #. type: deffn
  21556. #: guix-git/doc/guix.texi:15022
  21557. #, no-wrap
  21558. msgid "{Monadic Procedure} operating-system-derivation os"
  21559. msgstr ""
  21560. #. type: deffn
  21561. #: guix-git/doc/guix.texi:15025
  21562. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  21563. msgstr ""
  21564. #. type: deffn
  21565. #: guix-git/doc/guix.texi:15029
  21566. 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}."
  21567. msgstr ""
  21568. #. type: Plain text
  21569. #: guix-git/doc/guix.texi:15034
  21570. 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!"
  21571. msgstr ""
  21572. #. type: section
  21573. #: guix-git/doc/guix.texi:15037
  21574. #, no-wrap
  21575. msgid "@code{operating-system} Reference"
  21576. msgstr ""
  21577. #. type: Plain text
  21578. #: guix-git/doc/guix.texi:15042
  21579. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  21580. msgstr ""
  21581. #. type: deftp
  21582. #: guix-git/doc/guix.texi:15043
  21583. #, no-wrap
  21584. msgid "{Data Type} operating-system"
  21585. msgstr ""
  21586. #. type: deftp
  21587. #: guix-git/doc/guix.texi:15047
  21588. 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})."
  21589. msgstr ""
  21590. #. type: item
  21591. #: guix-git/doc/guix.texi:15049
  21592. #, no-wrap
  21593. msgid "@code{kernel} (default: @code{linux-libre})"
  21594. msgstr ""
  21595. #. type: table
  21596. #: guix-git/doc/guix.texi:15054
  21597. 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.}."
  21598. msgstr ""
  21599. #. type: code{#1}
  21600. #: guix-git/doc/guix.texi:15055 guix-git/doc/guix.texi:31198
  21601. #, no-wrap
  21602. msgid "hurd"
  21603. msgstr ""
  21604. #. type: item
  21605. #: guix-git/doc/guix.texi:15056
  21606. #, no-wrap
  21607. msgid "@code{hurd} (default: @code{#f})"
  21608. msgstr ""
  21609. #. type: table
  21610. #: guix-git/doc/guix.texi:15061
  21611. 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."
  21612. msgstr ""
  21613. #. type: quotation
  21614. #: guix-git/doc/guix.texi:15064
  21615. msgid "This feature is experimental and only supported for disk images."
  21616. msgstr ""
  21617. #. type: item
  21618. #: guix-git/doc/guix.texi:15066
  21619. #, no-wrap
  21620. msgid "@code{kernel-loadable-modules} (default: '())"
  21621. msgstr ""
  21622. #. type: table
  21623. #: guix-git/doc/guix.texi:15069
  21624. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  21625. msgstr ""
  21626. #. type: item
  21627. #: guix-git/doc/guix.texi:15070
  21628. #, no-wrap
  21629. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  21630. msgstr ""
  21631. #. type: table
  21632. #: guix-git/doc/guix.texi:15073
  21633. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  21634. msgstr ""
  21635. #. type: code{#1}
  21636. #: guix-git/doc/guix.texi:15074 guix-git/doc/guix.texi:35092
  21637. #: guix-git/doc/guix.texi:35111
  21638. #, no-wrap
  21639. msgid "bootloader"
  21640. msgstr ""
  21641. #. type: table
  21642. #: guix-git/doc/guix.texi:15076
  21643. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  21644. msgstr ""
  21645. #. type: code{#1}
  21646. #: guix-git/doc/guix.texi:15077 guix-git/doc/guix.texi:35285
  21647. #, no-wrap
  21648. msgid "label"
  21649. msgstr ""
  21650. #. type: table
  21651. #: guix-git/doc/guix.texi:15080
  21652. 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."
  21653. msgstr ""
  21654. #. type: item
  21655. #: guix-git/doc/guix.texi:15081 guix-git/doc/guix.texi:16800
  21656. #: guix-git/doc/guix.texi:19990 guix-git/doc/guix.texi:35215
  21657. #, no-wrap
  21658. msgid "@code{keyboard-layout} (default: @code{#f})"
  21659. msgstr ""
  21660. #. type: table
  21661. #: guix-git/doc/guix.texi:15086
  21662. 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."
  21663. msgstr ""
  21664. #. type: table
  21665. #: guix-git/doc/guix.texi:15091
  21666. 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})."
  21667. msgstr ""
  21668. #. type: quotation
  21669. #: guix-git/doc/guix.texi:15098
  21670. 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."
  21671. msgstr ""
  21672. #. type: item
  21673. #: guix-git/doc/guix.texi:15100
  21674. #, no-wrap
  21675. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  21676. msgstr ""
  21677. #. type: cindex
  21678. #: guix-git/doc/guix.texi:15101 guix-git/doc/guix.texi:34897
  21679. #: guix-git/doc/guix.texi:35020
  21680. #, no-wrap
  21681. msgid "initrd"
  21682. msgstr ""
  21683. #. type: cindex
  21684. #: guix-git/doc/guix.texi:15102 guix-git/doc/guix.texi:34898
  21685. #: guix-git/doc/guix.texi:35021
  21686. #, no-wrap
  21687. msgid "initial RAM disk"
  21688. msgstr ""
  21689. #. type: table
  21690. #: guix-git/doc/guix.texi:15105
  21691. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  21692. msgstr ""
  21693. #. type: item
  21694. #: guix-git/doc/guix.texi:15106
  21695. #, no-wrap
  21696. msgid "@code{initrd} (default: @code{base-initrd})"
  21697. msgstr ""
  21698. #. type: table
  21699. #: guix-git/doc/guix.texi:15110
  21700. 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}."
  21701. msgstr ""
  21702. #. type: item
  21703. #: guix-git/doc/guix.texi:15111
  21704. #, no-wrap
  21705. msgid "@code{firmware} (default: @code{%base-firmware})"
  21706. msgstr ""
  21707. #. type: cindex
  21708. #: guix-git/doc/guix.texi:15112
  21709. #, no-wrap
  21710. msgid "firmware"
  21711. msgstr ""
  21712. #. type: table
  21713. #: guix-git/doc/guix.texi:15114
  21714. msgid "List of firmware packages loadable by the operating system kernel."
  21715. msgstr ""
  21716. #. type: table
  21717. #: guix-git/doc/guix.texi:15119
  21718. 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."
  21719. msgstr ""
  21720. #. type: code{#1}
  21721. #: guix-git/doc/guix.texi:15120 guix-git/doc/guix.texi:36166
  21722. #, no-wrap
  21723. msgid "host-name"
  21724. msgstr ""
  21725. #. type: table
  21726. #: guix-git/doc/guix.texi:15122
  21727. msgid "The host name."
  21728. msgstr ""
  21729. #. type: code{#1}
  21730. #: guix-git/doc/guix.texi:15123
  21731. #, no-wrap
  21732. msgid "hosts-file"
  21733. msgstr ""
  21734. #. type: cindex
  21735. #: guix-git/doc/guix.texi:15124
  21736. #, no-wrap
  21737. msgid "hosts file"
  21738. msgstr ""
  21739. #. type: table
  21740. #: guix-git/doc/guix.texi:15129
  21741. 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}."
  21742. msgstr ""
  21743. #. type: item
  21744. #: guix-git/doc/guix.texi:15130
  21745. #, no-wrap
  21746. msgid "@code{mapped-devices} (default: @code{'()})"
  21747. msgstr ""
  21748. #. type: table
  21749. #: guix-git/doc/guix.texi:15132
  21750. msgid "A list of mapped devices. @xref{Mapped Devices}."
  21751. msgstr ""
  21752. #. type: code{#1}
  21753. #: guix-git/doc/guix.texi:15133
  21754. #, no-wrap
  21755. msgid "file-systems"
  21756. msgstr ""
  21757. #. type: table
  21758. #: guix-git/doc/guix.texi:15135
  21759. msgid "A list of file systems. @xref{File Systems}."
  21760. msgstr ""
  21761. #. type: item
  21762. #: guix-git/doc/guix.texi:15136
  21763. #, no-wrap
  21764. msgid "@code{swap-devices} (default: @code{'()})"
  21765. msgstr ""
  21766. #. type: cindex
  21767. #: guix-git/doc/guix.texi:15137
  21768. #, no-wrap
  21769. msgid "swap devices"
  21770. msgstr ""
  21771. #. type: table
  21772. #: guix-git/doc/guix.texi:15139
  21773. msgid "A list of swap spaces. @xref{Swap Space}."
  21774. msgstr ""
  21775. #. type: item
  21776. #: guix-git/doc/guix.texi:15140
  21777. #, no-wrap
  21778. msgid "@code{users} (default: @code{%base-user-accounts})"
  21779. msgstr ""
  21780. #. type: itemx
  21781. #: guix-git/doc/guix.texi:15141
  21782. #, no-wrap
  21783. msgid "@code{groups} (default: @code{%base-groups})"
  21784. msgstr ""
  21785. #. type: table
  21786. #: guix-git/doc/guix.texi:15143
  21787. msgid "List of user accounts and groups. @xref{User Accounts}."
  21788. msgstr ""
  21789. #. type: table
  21790. #: guix-git/doc/guix.texi:15146
  21791. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  21792. msgstr ""
  21793. #. type: item
  21794. #: guix-git/doc/guix.texi:15147
  21795. #, no-wrap
  21796. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  21797. msgstr ""
  21798. #. type: table
  21799. #: guix-git/doc/guix.texi:15151
  21800. 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."
  21801. msgstr ""
  21802. #. type: table
  21803. #: guix-git/doc/guix.texi:15153
  21804. msgid "For instance, a valid value may look like this:"
  21805. msgstr ""
  21806. #. type: lisp
  21807. #: guix-git/doc/guix.texi:15159
  21808. #, no-wrap
  21809. msgid ""
  21810. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  21811. " (\".guile\" ,(plain-file \"guile\"\n"
  21812. " \"(use-modules (ice-9 readline))\n"
  21813. " (activate-readline)\")))\n"
  21814. msgstr ""
  21815. #. type: item
  21816. #: guix-git/doc/guix.texi:15161
  21817. #, no-wrap
  21818. msgid "@code{issue} (default: @code{%default-issue})"
  21819. msgstr ""
  21820. #. type: table
  21821. #: guix-git/doc/guix.texi:15164
  21822. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  21823. msgstr ""
  21824. #. type: item
  21825. #: guix-git/doc/guix.texi:15165
  21826. #, no-wrap
  21827. msgid "@code{packages} (default: @code{%base-packages})"
  21828. msgstr ""
  21829. #. type: table
  21830. #: guix-git/doc/guix.texi:15169
  21831. 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:"
  21832. msgstr ""
  21833. #. type: lisp
  21834. #: guix-git/doc/guix.texi:15174
  21835. #, no-wrap
  21836. msgid ""
  21837. "(cons* git ; the default \"out\" output\n"
  21838. " (list git \"send-email\") ; another output of git\n"
  21839. " %base-packages) ; the default set\n"
  21840. msgstr ""
  21841. #. type: table
  21842. #: guix-git/doc/guix.texi:15179
  21843. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  21844. msgstr ""
  21845. #. type: code{#1}
  21846. #: guix-git/doc/guix.texi:15180
  21847. #, no-wrap
  21848. msgid "timezone"
  21849. msgstr ""
  21850. #. type: table
  21851. #: guix-git/doc/guix.texi:15182
  21852. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  21853. msgstr ""
  21854. #. type: table
  21855. #: guix-git/doc/guix.texi:15186
  21856. 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."
  21857. msgstr ""
  21858. #. type: item
  21859. #: guix-git/doc/guix.texi:15187 guix-git/doc/guix.texi:21635
  21860. #, no-wrap
  21861. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  21862. msgstr ""
  21863. #. type: table
  21864. #: guix-git/doc/guix.texi:15190
  21865. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  21866. msgstr ""
  21867. #. type: item
  21868. #: guix-git/doc/guix.texi:15191
  21869. #, no-wrap
  21870. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  21871. msgstr ""
  21872. #. type: table
  21873. #: guix-git/doc/guix.texi:15194
  21874. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  21875. msgstr ""
  21876. #. type: item
  21877. #: guix-git/doc/guix.texi:15195
  21878. #, no-wrap
  21879. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  21880. msgstr ""
  21881. #. type: table
  21882. #: guix-git/doc/guix.texi:15199
  21883. 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."
  21884. msgstr ""
  21885. #. type: item
  21886. #: guix-git/doc/guix.texi:15200
  21887. #, no-wrap
  21888. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  21889. msgstr ""
  21890. #. type: table
  21891. #: guix-git/doc/guix.texi:15204
  21892. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  21893. msgstr ""
  21894. #. type: item
  21895. #: guix-git/doc/guix.texi:15205
  21896. #, no-wrap
  21897. msgid "@code{services} (default: @code{%base-services})"
  21898. msgstr ""
  21899. #. type: table
  21900. #: guix-git/doc/guix.texi:15207
  21901. msgid "A list of service objects denoting system services. @xref{Services}."
  21902. msgstr ""
  21903. #. type: cindex
  21904. #: guix-git/doc/guix.texi:15208
  21905. #, no-wrap
  21906. msgid "essential services"
  21907. msgstr ""
  21908. #. type: item
  21909. #: guix-git/doc/guix.texi:15209
  21910. #, no-wrap
  21911. msgid "@code{essential-services} (default: ...)"
  21912. msgstr ""
  21913. #. type: table
  21914. #: guix-git/doc/guix.texi:15214
  21915. 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."
  21916. msgstr ""
  21917. #. type: item
  21918. #: guix-git/doc/guix.texi:15215
  21919. #, no-wrap
  21920. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  21921. msgstr ""
  21922. #. type: cindex
  21923. #: guix-git/doc/guix.texi:15216
  21924. #, no-wrap
  21925. msgid "PAM"
  21926. msgstr ""
  21927. #. type: cindex
  21928. #: guix-git/doc/guix.texi:15217
  21929. #, no-wrap
  21930. msgid "pluggable authentication modules"
  21931. msgstr ""
  21932. #. type: table
  21933. #: guix-git/doc/guix.texi:15220
  21934. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  21935. msgstr ""
  21936. #. type: item
  21937. #: guix-git/doc/guix.texi:15221
  21938. #, no-wrap
  21939. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  21940. msgstr ""
  21941. #. type: table
  21942. #: guix-git/doc/guix.texi:15224
  21943. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  21944. msgstr ""
  21945. #. type: item
  21946. #: guix-git/doc/guix.texi:15225
  21947. #, no-wrap
  21948. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  21949. msgstr ""
  21950. #. type: cindex
  21951. #: guix-git/doc/guix.texi:15226
  21952. #, no-wrap
  21953. msgid "sudoers file"
  21954. msgstr ""
  21955. #. type: table
  21956. #: guix-git/doc/guix.texi:15229
  21957. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  21958. msgstr ""
  21959. #. type: table
  21960. #: guix-git/doc/guix.texi:15234
  21961. 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}."
  21962. msgstr ""
  21963. #. type: deffn
  21964. #: guix-git/doc/guix.texi:15237
  21965. #, no-wrap
  21966. msgid "{Scheme Syntax} this-operating-system"
  21967. msgstr ""
  21968. #. type: deffn
  21969. #: guix-git/doc/guix.texi:15240
  21970. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  21971. msgstr ""
  21972. #. type: deffn
  21973. #: guix-git/doc/guix.texi:15243
  21974. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  21975. msgstr ""
  21976. #. type: lisp
  21977. #: guix-git/doc/guix.texi:15246 guix-git/doc/guix.texi:19198
  21978. #, no-wrap
  21979. msgid ""
  21980. "(use-modules (gnu) (guix))\n"
  21981. "\n"
  21982. msgstr ""
  21983. #. type: lisp
  21984. #: guix-git/doc/guix.texi:15251
  21985. #, no-wrap
  21986. msgid ""
  21987. "(operating-system\n"
  21988. " ;; ...\n"
  21989. " (label (package-full-name\n"
  21990. " (operating-system-kernel this-operating-system))))\n"
  21991. msgstr ""
  21992. #. type: deffn
  21993. #: guix-git/doc/guix.texi:15255
  21994. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  21995. msgstr ""
  21996. #. type: Plain text
  21997. #: guix-git/doc/guix.texi:15266
  21998. 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:"
  21999. msgstr ""
  22000. #. type: lisp
  22001. #: guix-git/doc/guix.texi:15272
  22002. #, no-wrap
  22003. msgid ""
  22004. "(file-system\n"
  22005. " (mount-point \"/home\")\n"
  22006. " (device \"/dev/sda3\")\n"
  22007. " (type \"ext4\"))\n"
  22008. msgstr ""
  22009. #. type: Plain text
  22010. #: guix-git/doc/guix.texi:15276
  22011. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  22012. msgstr ""
  22013. #. type: deftp
  22014. #: guix-git/doc/guix.texi:15277
  22015. #, no-wrap
  22016. msgid "{Data Type} file-system"
  22017. msgstr ""
  22018. #. type: deftp
  22019. #: guix-git/doc/guix.texi:15280
  22020. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  22021. msgstr ""
  22022. #. type: item
  22023. #: guix-git/doc/guix.texi:15282 guix-git/doc/guix.texi:15662
  22024. #: guix-git/doc/guix.texi:17804
  22025. #, no-wrap
  22026. msgid "type"
  22027. msgstr ""
  22028. #. type: table
  22029. #: guix-git/doc/guix.texi:15285
  22030. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  22031. msgstr ""
  22032. #. type: code{#1}
  22033. #: guix-git/doc/guix.texi:15286
  22034. #, no-wrap
  22035. msgid "mount-point"
  22036. msgstr ""
  22037. #. type: table
  22038. #: guix-git/doc/guix.texi:15288
  22039. msgid "This designates the place where the file system is to be mounted."
  22040. msgstr ""
  22041. #. type: item
  22042. #: guix-git/doc/guix.texi:15289 guix-git/doc/guix.texi:17754
  22043. #, no-wrap
  22044. msgid "device"
  22045. msgstr ""
  22046. #. type: table
  22047. #: guix-git/doc/guix.texi:15299
  22048. 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.}."
  22049. msgstr ""
  22050. #. type: findex
  22051. #: guix-git/doc/guix.texi:15300
  22052. #, no-wrap
  22053. msgid "file-system-label"
  22054. msgstr ""
  22055. #. type: table
  22056. #: guix-git/doc/guix.texi:15305
  22057. 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:"
  22058. msgstr ""
  22059. #. type: lisp
  22060. #: guix-git/doc/guix.texi:15311
  22061. #, no-wrap
  22062. msgid ""
  22063. "(file-system\n"
  22064. " (mount-point \"/home\")\n"
  22065. " (type \"ext4\")\n"
  22066. " (device (file-system-label \"my-home\")))\n"
  22067. msgstr ""
  22068. #. type: code{#1}
  22069. #: guix-git/doc/guix.texi:15313 guix-git/doc/guix.texi:33595
  22070. #: guix-git/doc/guix.texi:33611
  22071. #, no-wrap
  22072. msgid "uuid"
  22073. msgstr ""
  22074. #. type: table
  22075. #: guix-git/doc/guix.texi:15321
  22076. 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:"
  22077. msgstr ""
  22078. #. type: lisp
  22079. #: guix-git/doc/guix.texi:15327
  22080. #, no-wrap
  22081. msgid ""
  22082. "(file-system\n"
  22083. " (mount-point \"/home\")\n"
  22084. " (type \"ext4\")\n"
  22085. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22086. msgstr ""
  22087. #. type: table
  22088. #: guix-git/doc/guix.texi:15335
  22089. 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."
  22090. msgstr ""
  22091. #. type: item
  22092. #: guix-git/doc/guix.texi:15336
  22093. #, no-wrap
  22094. msgid "@code{flags} (default: @code{'()})"
  22095. msgstr ""
  22096. #. type: table
  22097. #: guix-git/doc/guix.texi:15346
  22098. 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."
  22099. msgstr ""
  22100. #. type: item
  22101. #: guix-git/doc/guix.texi:15347
  22102. #, no-wrap
  22103. msgid "@code{options} (default: @code{#f})"
  22104. msgstr ""
  22105. #. type: table
  22106. #: guix-git/doc/guix.texi:15356
  22107. 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."
  22108. msgstr ""
  22109. #. type: item
  22110. #: guix-git/doc/guix.texi:15357
  22111. #, no-wrap
  22112. msgid "@code{mount?} (default: @code{#t})"
  22113. msgstr ""
  22114. #. type: table
  22115. #: guix-git/doc/guix.texi:15362
  22116. 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."
  22117. msgstr ""
  22118. #. type: item
  22119. #: guix-git/doc/guix.texi:15363
  22120. #, no-wrap
  22121. msgid "@code{needed-for-boot?} (default: @code{#f})"
  22122. msgstr ""
  22123. #. type: table
  22124. #: guix-git/doc/guix.texi:15368
  22125. 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."
  22126. msgstr ""
  22127. #. type: item
  22128. #: guix-git/doc/guix.texi:15369
  22129. #, no-wrap
  22130. msgid "@code{check?} (default: @code{#t})"
  22131. msgstr ""
  22132. #. type: table
  22133. #: guix-git/doc/guix.texi:15373
  22134. msgid "This Boolean indicates whether the file system should be checked for errors before being mounted. How and when this happens can be further adjusted with the following options."
  22135. msgstr ""
  22136. #. type: item
  22137. #: guix-git/doc/guix.texi:15374
  22138. #, no-wrap
  22139. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  22140. msgstr ""
  22141. #. type: table
  22142. #: guix-git/doc/guix.texi:15379
  22143. msgid "When true, this Boolean indicates that a file system check triggered by @code{check?} may exit early if the file system is marked as ``clean'', meaning that it was previously correctly unmounted and should not contain errors."
  22144. msgstr ""
  22145. #. type: table
  22146. #: guix-git/doc/guix.texi:15383
  22147. msgid "Setting this to false will always force a full consistency check when @code{check?} is true. This may take a very long time and is not recommended on healthy systems---in fact, it may reduce reliability!"
  22148. msgstr ""
  22149. #. type: table
  22150. #: guix-git/doc/guix.texi:15387
  22151. msgid "Conversely, some primitive file systems like @code{fat} do not keep track of clean shutdowns and will perform a full scan regardless of the value of this option."
  22152. msgstr ""
  22153. #. type: item
  22154. #: guix-git/doc/guix.texi:15388
  22155. #, no-wrap
  22156. msgid "@code{repair} (default: @code{'preen})"
  22157. msgstr ""
  22158. #. type: table
  22159. #: guix-git/doc/guix.texi:15391
  22160. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  22161. msgstr ""
  22162. #. type: table
  22163. #: guix-git/doc/guix.texi:15395
  22164. msgid "If false, try not to modify the file system at all. Checking certain file systems like @code{jfs} may still write to the device to replay the journal. No repairs will be attempted."
  22165. msgstr ""
  22166. #. type: table
  22167. #: guix-git/doc/guix.texi:15398
  22168. msgid "If @code{#t}, try to repair any errors found and assume ``yes'' to all questions. This will fix the most errors, but may be risky."
  22169. msgstr ""
  22170. #. type: table
  22171. #: guix-git/doc/guix.texi:15402
  22172. msgid "If @code{'preen}, repair only errors that are safe to fix without human interaction. What that means is left up to the developers of each file system and may be equivalent to ``none'' or ``all''."
  22173. msgstr ""
  22174. #. type: item
  22175. #: guix-git/doc/guix.texi:15403
  22176. #, no-wrap
  22177. msgid "@code{create-mount-point?} (default: @code{#f})"
  22178. msgstr ""
  22179. #. type: table
  22180. #: guix-git/doc/guix.texi:15405
  22181. msgid "When true, the mount point is created if it does not exist yet."
  22182. msgstr ""
  22183. #. type: item
  22184. #: guix-git/doc/guix.texi:15406
  22185. #, no-wrap
  22186. msgid "@code{mount-may-fail?} (default: @code{#f})"
  22187. msgstr ""
  22188. #. type: table
  22189. #: guix-git/doc/guix.texi:15411
  22190. 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."
  22191. msgstr ""
  22192. #. type: item
  22193. #: guix-git/doc/guix.texi:15412 guix-git/doc/guix.texi:15808
  22194. #, no-wrap
  22195. msgid "@code{dependencies} (default: @code{'()})"
  22196. msgstr ""
  22197. #. type: table
  22198. #: guix-git/doc/guix.texi:15416
  22199. 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."
  22200. msgstr ""
  22201. #. type: table
  22202. #: guix-git/doc/guix.texi:15420
  22203. 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}."
  22204. msgstr ""
  22205. #. type: table
  22206. #: guix-git/doc/guix.texi:15423
  22207. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  22208. msgstr ""
  22209. #. type: deffn
  22210. #: guix-git/doc/guix.texi:15426
  22211. #, no-wrap
  22212. msgid "{Scheme Procedure} file-system-label @var{str}"
  22213. msgstr ""
  22214. #. type: deffn
  22215. #: guix-git/doc/guix.texi:15429
  22216. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  22217. msgstr ""
  22218. #. type: lisp
  22219. #: guix-git/doc/guix.texi:15433
  22220. #, no-wrap
  22221. msgid ""
  22222. "(file-system-label \"home\")\n"
  22223. "@result{} #<file-system-label \"home\">\n"
  22224. msgstr ""
  22225. #. type: deffn
  22226. #: guix-git/doc/guix.texi:15437
  22227. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  22228. msgstr ""
  22229. #. type: Plain text
  22230. #: guix-git/doc/guix.texi:15441
  22231. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  22232. msgstr ""
  22233. #. type: defvr
  22234. #: guix-git/doc/guix.texi:15442
  22235. #, no-wrap
  22236. msgid "{Scheme Variable} %base-file-systems"
  22237. msgstr ""
  22238. #. type: defvr
  22239. #: guix-git/doc/guix.texi:15447
  22240. 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."
  22241. msgstr ""
  22242. #. type: defvr
  22243. #: guix-git/doc/guix.texi:15449
  22244. #, no-wrap
  22245. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  22246. msgstr ""
  22247. #. type: defvr
  22248. #: guix-git/doc/guix.texi:15455
  22249. 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}."
  22250. msgstr ""
  22251. #. type: defvr
  22252. #: guix-git/doc/guix.texi:15457
  22253. #, no-wrap
  22254. msgid "{Scheme Variable} %shared-memory-file-system"
  22255. msgstr ""
  22256. #. type: defvr
  22257. #: guix-git/doc/guix.texi:15461
  22258. 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})."
  22259. msgstr ""
  22260. #. type: defvr
  22261. #: guix-git/doc/guix.texi:15463
  22262. #, no-wrap
  22263. msgid "{Scheme Variable} %immutable-store"
  22264. msgstr ""
  22265. #. type: defvr
  22266. #: guix-git/doc/guix.texi:15468
  22267. 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."
  22268. msgstr ""
  22269. #. type: defvr
  22270. #: guix-git/doc/guix.texi:15471
  22271. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  22272. msgstr ""
  22273. #. type: defvr
  22274. #: guix-git/doc/guix.texi:15473
  22275. #, no-wrap
  22276. msgid "{Scheme Variable} %binary-format-file-system"
  22277. msgstr ""
  22278. #. type: defvr
  22279. #: guix-git/doc/guix.texi:15477
  22280. 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."
  22281. msgstr ""
  22282. #. type: defvr
  22283. #: guix-git/doc/guix.texi:15479
  22284. #, no-wrap
  22285. msgid "{Scheme Variable} %fuse-control-file-system"
  22286. msgstr ""
  22287. #. type: defvr
  22288. #: guix-git/doc/guix.texi:15483
  22289. 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."
  22290. msgstr ""
  22291. #. type: Plain text
  22292. #: guix-git/doc/guix.texi:15487
  22293. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  22294. msgstr ""
  22295. #. type: deffn
  22296. #: guix-git/doc/guix.texi:15488
  22297. #, no-wrap
  22298. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  22299. msgstr ""
  22300. #. type: deffn
  22301. #: guix-git/doc/guix.texi:15491
  22302. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  22303. msgstr ""
  22304. #. type: lisp
  22305. #: guix-git/doc/guix.texi:15495
  22306. #, no-wrap
  22307. msgid ""
  22308. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  22309. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  22310. "\n"
  22311. msgstr ""
  22312. #. type: lisp
  22313. #: guix-git/doc/guix.texi:15498
  22314. #, no-wrap
  22315. msgid ""
  22316. "(uuid \"1234-ABCD\" 'fat)\n"
  22317. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  22318. msgstr ""
  22319. #. type: deffn
  22320. #: guix-git/doc/guix.texi:15502
  22321. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  22322. msgstr ""
  22323. #. type: deffn
  22324. #: guix-git/doc/guix.texi:15505
  22325. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  22326. msgstr ""
  22327. #. type: subsection
  22328. #: guix-git/doc/guix.texi:15508 guix-git/doc/guix.texi:15509
  22329. #, no-wrap
  22330. msgid "Btrfs file system"
  22331. msgstr ""
  22332. #. type: Plain text
  22333. #: guix-git/doc/guix.texi:15515
  22334. 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."
  22335. msgstr ""
  22336. #. type: Plain text
  22337. #: guix-git/doc/guix.texi:15518
  22338. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  22339. msgstr ""
  22340. #. type: lisp
  22341. #: guix-git/doc/guix.texi:15524
  22342. #, no-wrap
  22343. msgid ""
  22344. "(file-system\n"
  22345. " (mount-point \"/home\")\n"
  22346. " (type \"btrfs\")\n"
  22347. " (device (file-system-label \"my-home\")))\n"
  22348. msgstr ""
  22349. #. type: Plain text
  22350. #: guix-git/doc/guix.texi:15530
  22351. 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}):"
  22352. msgstr ""
  22353. #. type: lisp
  22354. #: guix-git/doc/guix.texi:15538
  22355. #, no-wrap
  22356. msgid ""
  22357. "(file-system\n"
  22358. " (device (file-system-label \"my-btrfs-pool\"))\n"
  22359. " (mount-point \"/\")\n"
  22360. " (type \"btrfs\")\n"
  22361. " (options \"subvol=rootfs\")\n"
  22362. " (dependencies mapped-devices))\n"
  22363. msgstr ""
  22364. #. type: Plain text
  22365. #: guix-git/doc/guix.texi:15549
  22366. 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."
  22367. msgstr ""
  22368. #. type: Plain text
  22369. #: guix-git/doc/guix.texi:15557
  22370. 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.:"
  22371. msgstr ""
  22372. #. type: example
  22373. #: guix-git/doc/guix.texi:15564
  22374. #, no-wrap
  22375. msgid ""
  22376. "/ (top level)\n"
  22377. "├── rootfs (subvolume directory)\n"
  22378. " ├── gnu (normal directory)\n"
  22379. " ├── store (normal directory)\n"
  22380. "[...]\n"
  22381. msgstr ""
  22382. #. type: Plain text
  22383. #: guix-git/doc/guix.texi:15569
  22384. 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."
  22385. msgstr ""
  22386. #. type: Plain text
  22387. #: guix-git/doc/guix.texi:15572
  22388. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  22389. msgstr ""
  22390. #. type: example
  22391. #: guix-git/doc/guix.texi:15579
  22392. #, no-wrap
  22393. msgid ""
  22394. "/ (top level)\n"
  22395. "├── rootfs (subvolume)\n"
  22396. " ├── gnu (normal directory)\n"
  22397. " ├── store (subvolume)\n"
  22398. "[...]\n"
  22399. msgstr ""
  22400. #. type: Plain text
  22401. #: guix-git/doc/guix.texi:15586
  22402. 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}."
  22403. msgstr ""
  22404. #. type: Plain text
  22405. #: guix-git/doc/guix.texi:15588
  22406. msgid "Finally, a more contrived example of nested subvolumes:"
  22407. msgstr ""
  22408. #. type: example
  22409. #: guix-git/doc/guix.texi:15595
  22410. #, no-wrap
  22411. msgid ""
  22412. "/ (top level)\n"
  22413. "├── root-snapshots (subvolume)\n"
  22414. " ├── root-current (subvolume)\n"
  22415. " ├── guix-store (subvolume)\n"
  22416. "[...]\n"
  22417. msgstr ""
  22418. #. type: Plain text
  22419. #: guix-git/doc/guix.texi:15602
  22420. 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:"
  22421. msgstr ""
  22422. #. type: lisp
  22423. #: guix-git/doc/guix.texi:15610
  22424. #, no-wrap
  22425. msgid ""
  22426. "(file-system\n"
  22427. " (device (file-system-label \"btrfs-pool-1\"))\n"
  22428. " (mount-point \"/gnu/store\")\n"
  22429. " (type \"btrfs\")\n"
  22430. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  22431. "compress-force=zstd,space_cache=v2\"))\n"
  22432. msgstr ""
  22433. #. type: cindex
  22434. #: guix-git/doc/guix.texi:15615
  22435. #, no-wrap
  22436. msgid "device mapping"
  22437. msgstr ""
  22438. #. type: cindex
  22439. #: guix-git/doc/guix.texi:15616
  22440. #, no-wrap
  22441. msgid "mapped devices"
  22442. msgstr ""
  22443. #. type: Plain text
  22444. #: guix-git/doc/guix.texi:15633
  22445. 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."
  22446. msgstr ""
  22447. #. type: Plain text
  22448. #: guix-git/doc/guix.texi:15636
  22449. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  22450. msgstr ""
  22451. #. type: deftp
  22452. #: guix-git/doc/guix.texi:15637
  22453. #, no-wrap
  22454. msgid "{Data Type} mapped-device"
  22455. msgstr ""
  22456. #. type: deftp
  22457. #: guix-git/doc/guix.texi:15640
  22458. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  22459. msgstr ""
  22460. #. type: table
  22461. #: guix-git/doc/guix.texi:15647
  22462. 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."
  22463. msgstr ""
  22464. #. type: code{#1}
  22465. #: guix-git/doc/guix.texi:15648 guix-git/doc/guix.texi:15803
  22466. #, no-wrap
  22467. msgid "target"
  22468. msgstr ""
  22469. #. type: table
  22470. #: guix-git/doc/guix.texi:15657
  22471. 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\"}."
  22472. msgstr ""
  22473. #. type: code{#1}
  22474. #: guix-git/doc/guix.texi:15658 guix-git/doc/guix.texi:35187
  22475. #, no-wrap
  22476. msgid "targets"
  22477. msgstr ""
  22478. #. type: table
  22479. #: guix-git/doc/guix.texi:15661
  22480. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  22481. msgstr ""
  22482. #. type: table
  22483. #: guix-git/doc/guix.texi:15665
  22484. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  22485. msgstr ""
  22486. #. type: defvr
  22487. #: guix-git/doc/guix.texi:15668
  22488. #, no-wrap
  22489. msgid "{Scheme Variable} luks-device-mapping"
  22490. msgstr ""
  22491. #. type: defvr
  22492. #: guix-git/doc/guix.texi:15672
  22493. 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."
  22494. msgstr ""
  22495. #. type: defvr
  22496. #: guix-git/doc/guix.texi:15674
  22497. #, no-wrap
  22498. msgid "{Scheme Variable} raid-device-mapping"
  22499. msgstr ""
  22500. #. type: defvr
  22501. #: guix-git/doc/guix.texi:15679
  22502. 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."
  22503. msgstr ""
  22504. #. type: cindex
  22505. #: guix-git/doc/guix.texi:15681
  22506. #, no-wrap
  22507. msgid "LVM, logical volume manager"
  22508. msgstr ""
  22509. #. type: defvr
  22510. #: guix-git/doc/guix.texi:15682
  22511. #, no-wrap
  22512. msgid "{Scheme Variable} lvm-device-mapping"
  22513. msgstr ""
  22514. #. type: defvr
  22515. #: guix-git/doc/guix.texi:15687
  22516. 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."
  22517. msgstr ""
  22518. #. type: cindex
  22519. #: guix-git/doc/guix.texi:15689
  22520. #, no-wrap
  22521. msgid "disk encryption"
  22522. msgstr ""
  22523. #. type: cindex
  22524. #: guix-git/doc/guix.texi:15690
  22525. #, no-wrap
  22526. msgid "LUKS"
  22527. msgstr ""
  22528. #. type: Plain text
  22529. #: guix-git/doc/guix.texi:15698
  22530. 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})."
  22531. msgstr ""
  22532. #. type: lisp
  22533. #: guix-git/doc/guix.texi:15704
  22534. #, no-wrap
  22535. msgid ""
  22536. "(mapped-device\n"
  22537. " (source \"/dev/sda3\")\n"
  22538. " (target \"home\")\n"
  22539. " (type luks-device-mapping))\n"
  22540. msgstr ""
  22541. #. type: Plain text
  22542. #: guix-git/doc/guix.texi:15709
  22543. 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:"
  22544. msgstr ""
  22545. #. type: example
  22546. #: guix-git/doc/guix.texi:15712
  22547. #, no-wrap
  22548. msgid "cryptsetup luksUUID /dev/sda3\n"
  22549. msgstr ""
  22550. #. type: Plain text
  22551. #: guix-git/doc/guix.texi:15715
  22552. msgid "and use it as follows:"
  22553. msgstr ""
  22554. #. type: lisp
  22555. #: guix-git/doc/guix.texi:15721
  22556. #, no-wrap
  22557. msgid ""
  22558. "(mapped-device\n"
  22559. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  22560. " (target \"home\")\n"
  22561. " (type luks-device-mapping))\n"
  22562. msgstr ""
  22563. #. type: cindex
  22564. #: guix-git/doc/guix.texi:15723
  22565. #, no-wrap
  22566. msgid "swap encryption"
  22567. msgstr ""
  22568. #. type: Plain text
  22569. #: guix-git/doc/guix.texi:15730
  22570. msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Swap Space}, or @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  22571. msgstr ""
  22572. #. type: Plain text
  22573. #: guix-git/doc/guix.texi:15733
  22574. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  22575. msgstr ""
  22576. #. type: lisp
  22577. #: guix-git/doc/guix.texi:15739
  22578. #, no-wrap
  22579. msgid ""
  22580. "(mapped-device\n"
  22581. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  22582. " (target \"/dev/md0\")\n"
  22583. " (type raid-device-mapping))\n"
  22584. msgstr ""
  22585. #. type: Plain text
  22586. #: guix-git/doc/guix.texi:15746
  22587. 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."
  22588. msgstr ""
  22589. #. type: Plain text
  22590. #: guix-git/doc/guix.texi:15749
  22591. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  22592. msgstr ""
  22593. #. type: lisp
  22594. #: guix-git/doc/guix.texi:15755
  22595. #, no-wrap
  22596. msgid ""
  22597. "(mapped-device\n"
  22598. " (source \"vg0\")\n"
  22599. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  22600. " (type lvm-device-mapping))\n"
  22601. msgstr ""
  22602. #. type: Plain text
  22603. #: guix-git/doc/guix.texi:15760
  22604. 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})."
  22605. msgstr ""
  22606. #. type: cindex
  22607. #: guix-git/doc/guix.texi:15763
  22608. #, no-wrap
  22609. msgid "swap space"
  22610. msgstr ""
  22611. #. type: Plain text
  22612. #: guix-git/doc/guix.texi:15773
  22613. msgid "Swap space, as it is commonly called, is a disk area specifically designated for paging: the process in charge of memory management (the Linux kernel or Hurd's default pager) can decide that some memory pages stored in RAM which belong to a running program but are unused should be stored on disk instead. It unloads those from the RAM, freeing up precious fast memory, and writes them to the swap space. If the program tries to access that very page, the memory management process loads it back into memory for the program to use."
  22614. msgstr ""
  22615. #. type: Plain text
  22616. #: guix-git/doc/guix.texi:15779
  22617. msgid "A common misconception about swap is that it is only useful when small amounts of RAM are available to the system. However, it should be noted that kernels often use all available RAM for disk access caching to make I/O faster, and thus paging out unused portions of program memory will expand the RAM available for such caching."
  22618. msgstr ""
  22619. #. type: Plain text
  22620. #: guix-git/doc/guix.texi:15783
  22621. msgid "For a more detailed description of how memory is managed from the viewpoint of a monolithic kernel, @xref{Memory Concepts,,, libc, The GNU C Library Reference Manual}."
  22622. msgstr ""
  22623. #. type: Plain text
  22624. #: guix-git/doc/guix.texi:15792
  22625. msgid "The Linux kernel has support for swap partitions and swap files: the former uses a whole disk partition for paging, whereas the second uses a file on a file system for that (the file system driver needs to support it). On a comparable setup, both have the same performance, so one should consider ease of use when deciding between them. Partitions are ``simpler'' and do not need file system support, but need to be allocated at disk formatting time (logical volumes notwithstanding), whereas files can be allocated and deallocated at any time."
  22626. msgstr ""
  22627. #. type: Plain text
  22628. #: guix-git/doc/guix.texi:15797
  22629. msgid "Note that swap space is not zeroed on shutdown, so sensitive data (such as passwords) may linger on it if it was paged out. As such, you should consider having your swap reside on an encrypted device (@pxref{Mapped Devices})."
  22630. msgstr ""
  22631. #. type: deftp
  22632. #: guix-git/doc/guix.texi:15798
  22633. #, no-wrap
  22634. msgid "{Data Type} swap-space"
  22635. msgstr ""
  22636. #. type: deftp
  22637. #: guix-git/doc/guix.texi:15801
  22638. msgid "Objects of this type represent swap spaces. They contain the following members:"
  22639. msgstr ""
  22640. #. type: table
  22641. #: guix-git/doc/guix.texi:15807
  22642. msgid "The device or file to use, either a UUID, a @code{file-system-label} or a string, as in the definition of a @code{file-system} (@pxref{File Systems})."
  22643. msgstr ""
  22644. #. type: table
  22645. #: guix-git/doc/guix.texi:15814
  22646. msgid "A list of @code{file-system} or @code{mapped-device} objects, upon which the availability of the space depends. Note that just like for @code{file-system} objects, dependencies which are needed for boot and mounted in early userspace are not managed by the Shepherd, and so automatically filtered out for you."
  22647. msgstr ""
  22648. #. type: item
  22649. #: guix-git/doc/guix.texi:15815
  22650. #, no-wrap
  22651. msgid "@code{priority} (default: @code{#f})"
  22652. msgstr ""
  22653. #. type: table
  22654. #: guix-git/doc/guix.texi:15822
  22655. msgid "Only supported by the Linux kernel. Either @code{#f} to disable swap priority, or an integer between 0 and 32767. The kernel will first use swap spaces of higher priority when paging, and use same priority spaces on a round-robin basis. The kernel will use swap spaces without a set priority after prioritized spaces, and in the order that they appeared in (not round-robin)."
  22656. msgstr ""
  22657. #. type: item
  22658. #: guix-git/doc/guix.texi:15823
  22659. #, no-wrap
  22660. msgid "@code{discard?} (default: @code{#f})"
  22661. msgstr ""
  22662. #. type: table
  22663. #: guix-git/doc/guix.texi:15827
  22664. msgid "Only supported by the Linux kernel. When true, the kernel will notify the disk controller of discarded pages, for example with the TRIM operation on Solid State Drives."
  22665. msgstr ""
  22666. #. type: Plain text
  22667. #: guix-git/doc/guix.texi:15832
  22668. msgid "Here are some examples:"
  22669. msgstr ""
  22670. #. type: lisp
  22671. #: guix-git/doc/guix.texi:15835
  22672. #, no-wrap
  22673. msgid "(swap-space (target (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22674. msgstr ""
  22675. #. type: Plain text
  22676. #: guix-git/doc/guix.texi:15840
  22677. 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."
  22678. msgstr ""
  22679. #. type: lisp
  22680. #: guix-git/doc/guix.texi:15845
  22681. #, no-wrap
  22682. msgid ""
  22683. "(swap-space\n"
  22684. " (target (file-system-label \"swap\"))\n"
  22685. " (dependencies mapped-devices))\n"
  22686. msgstr ""
  22687. #. type: Plain text
  22688. #: guix-git/doc/guix.texi:15851
  22689. msgid "Use the partition with label @code{swap}, which can be found after all the @var{mapped-devices} mapped devices have been opened. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  22690. msgstr ""
  22691. #. type: Plain text
  22692. #: guix-git/doc/guix.texi:15854
  22693. msgid "Here's a more involved example with the corresponding @code{file-systems} part of an @code{operating-system} declaration."
  22694. msgstr ""
  22695. #. type: lisp
  22696. #: guix-git/doc/guix.texi:15865
  22697. #, no-wrap
  22698. msgid ""
  22699. "(file-systems\n"
  22700. " (list (file-system\n"
  22701. " (device (file-system-label \"root\"))\n"
  22702. " (mount-point \"/\")\n"
  22703. " (type \"ext4\"))\n"
  22704. " (file-system\n"
  22705. " (device (file-system-label \"btrfs\"))\n"
  22706. " (mount-point \"/btrfs\")\n"
  22707. " (type \"btrfs\"))))\n"
  22708. "\n"
  22709. msgstr ""
  22710. #. type: lisp
  22711. #: guix-git/doc/guix.texi:15872
  22712. #, no-wrap
  22713. msgid ""
  22714. "(swap-devices\n"
  22715. " (list\n"
  22716. " (swap-space\n"
  22717. " (target \"/btrfs/swapfile\")\n"
  22718. " (dependencies (filter (file-system-mount-point-predicate \"/btrfs\")\n"
  22719. " file-systems)))))\n"
  22720. msgstr ""
  22721. #. type: Plain text
  22722. #: guix-git/doc/guix.texi:15877
  22723. msgid "Use the file @file{/btrfs/swapfile} as swap space, which depends on the file system mounted at @file{/btrfs}. Note how we use Guile's filter to select the file system in an elegant fashion!"
  22724. msgstr ""
  22725. #. type: cindex
  22726. #: guix-git/doc/guix.texi:15881
  22727. #, no-wrap
  22728. msgid "users"
  22729. msgstr ""
  22730. #. type: cindex
  22731. #: guix-git/doc/guix.texi:15882
  22732. #, no-wrap
  22733. msgid "accounts"
  22734. msgstr ""
  22735. #. type: cindex
  22736. #: guix-git/doc/guix.texi:15883
  22737. #, no-wrap
  22738. msgid "user accounts"
  22739. msgstr ""
  22740. #. type: Plain text
  22741. #: guix-git/doc/guix.texi:15887
  22742. 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:"
  22743. msgstr ""
  22744. #. type: lisp
  22745. #: guix-git/doc/guix.texi:15897
  22746. #, no-wrap
  22747. msgid ""
  22748. "(user-account\n"
  22749. " (name \"alice\")\n"
  22750. " (group \"users\")\n"
  22751. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  22752. " \"audio\" ;sound card\n"
  22753. " \"video\" ;video devices such as webcams\n"
  22754. " \"cdrom\")) ;the good ol' CD-ROM\n"
  22755. " (comment \"Bob's sister\"))\n"
  22756. msgstr ""
  22757. #. type: Plain text
  22758. #: guix-git/doc/guix.texi:15901
  22759. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  22760. msgstr ""
  22761. #. type: lisp
  22762. #: guix-git/doc/guix.texi:15909
  22763. #, no-wrap
  22764. msgid ""
  22765. "(user-account\n"
  22766. " (name \"bob\")\n"
  22767. " (group \"users\")\n"
  22768. " (comment \"Alice's bro\")\n"
  22769. " (shell (file-append zsh \"/bin/zsh\"))\n"
  22770. " (home-directory \"/home/robert\"))\n"
  22771. msgstr ""
  22772. #. type: Plain text
  22773. #: guix-git/doc/guix.texi:15918
  22774. 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."
  22775. msgstr ""
  22776. #. type: deftp
  22777. #: guix-git/doc/guix.texi:15919
  22778. #, no-wrap
  22779. msgid "{Data Type} user-account"
  22780. msgstr ""
  22781. #. type: deftp
  22782. #: guix-git/doc/guix.texi:15922
  22783. msgid "Objects of this type represent user accounts. The following members may be specified:"
  22784. msgstr ""
  22785. #. type: table
  22786. #: guix-git/doc/guix.texi:15926
  22787. msgid "The name of the user account."
  22788. msgstr ""
  22789. #. type: itemx
  22790. #: guix-git/doc/guix.texi:15927 guix-git/doc/guix.texi:34851
  22791. #, no-wrap
  22792. msgid "group"
  22793. msgstr ""
  22794. #. type: cindex
  22795. #: guix-git/doc/guix.texi:15928 guix-git/doc/guix.texi:16012
  22796. #, no-wrap
  22797. msgid "groups"
  22798. msgstr ""
  22799. #. type: table
  22800. #: guix-git/doc/guix.texi:15931
  22801. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  22802. msgstr ""
  22803. #. type: item
  22804. #: guix-git/doc/guix.texi:15932
  22805. #, no-wrap
  22806. msgid "@code{supplementary-groups} (default: @code{'()})"
  22807. msgstr ""
  22808. #. type: table
  22809. #: guix-git/doc/guix.texi:15935
  22810. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  22811. msgstr ""
  22812. #. type: item
  22813. #: guix-git/doc/guix.texi:15936
  22814. #, no-wrap
  22815. msgid "@code{uid} (default: @code{#f})"
  22816. msgstr ""
  22817. #. type: table
  22818. #: guix-git/doc/guix.texi:15940
  22819. 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."
  22820. msgstr ""
  22821. #. type: item
  22822. #: guix-git/doc/guix.texi:15941 guix-git/doc/guix.texi:18704
  22823. #, no-wrap
  22824. msgid "@code{comment} (default: @code{\"\"})"
  22825. msgstr ""
  22826. #. type: table
  22827. #: guix-git/doc/guix.texi:15943
  22828. msgid "A comment about the account, such as the account owner's full name."
  22829. msgstr ""
  22830. #. type: table
  22831. #: guix-git/doc/guix.texi:15948
  22832. msgid "Note that, for non-system accounts, users are free to change their real name as it appears in @file{/etc/passwd} using the @command{chfn} command. When they do, their choice prevails over the system administrator's choice; reconfiguring does @emph{not} change their name."
  22833. msgstr ""
  22834. #. type: code{#1}
  22835. #: guix-git/doc/guix.texi:15949
  22836. #, no-wrap
  22837. msgid "home-directory"
  22838. msgstr ""
  22839. #. type: table
  22840. #: guix-git/doc/guix.texi:15951
  22841. msgid "This is the name of the home directory for the account."
  22842. msgstr ""
  22843. #. type: item
  22844. #: guix-git/doc/guix.texi:15952
  22845. #, no-wrap
  22846. msgid "@code{create-home-directory?} (default: @code{#t})"
  22847. msgstr ""
  22848. #. type: table
  22849. #: guix-git/doc/guix.texi:15955
  22850. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  22851. msgstr ""
  22852. #. type: item
  22853. #: guix-git/doc/guix.texi:15956
  22854. #, no-wrap
  22855. msgid "@code{shell} (default: Bash)"
  22856. msgstr ""
  22857. #. type: table
  22858. #: guix-git/doc/guix.texi:15960
  22859. 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:"
  22860. msgstr ""
  22861. #. type: lisp
  22862. #: guix-git/doc/guix.texi:15963
  22863. #, no-wrap
  22864. msgid "(file-append bash \"/bin/bash\")\n"
  22865. msgstr ""
  22866. #. type: table
  22867. #: guix-git/doc/guix.texi:15967
  22868. msgid "... and to the Zsh executable like that:"
  22869. msgstr ""
  22870. #. type: lisp
  22871. #: guix-git/doc/guix.texi:15970
  22872. #, no-wrap
  22873. msgid "(file-append zsh \"/bin/zsh\")\n"
  22874. msgstr ""
  22875. #. type: item
  22876. #: guix-git/doc/guix.texi:15972 guix-git/doc/guix.texi:16030
  22877. #, no-wrap
  22878. msgid "@code{system?} (default: @code{#f})"
  22879. msgstr ""
  22880. #. type: table
  22881. #: guix-git/doc/guix.texi:15976
  22882. 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."
  22883. msgstr ""
  22884. #. type: anchor{#1}
  22885. #: guix-git/doc/guix.texi:15978
  22886. msgid "user-account-password"
  22887. msgstr ""
  22888. #. type: cindex
  22889. #: guix-git/doc/guix.texi:15978
  22890. #, no-wrap
  22891. msgid "password, for user accounts"
  22892. msgstr ""
  22893. #. type: item
  22894. #: guix-git/doc/guix.texi:15979 guix-git/doc/guix.texi:16034
  22895. #, no-wrap
  22896. msgid "@code{password} (default: @code{#f})"
  22897. msgstr ""
  22898. #. type: table
  22899. #: guix-git/doc/guix.texi:15985
  22900. 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."
  22901. msgstr ""
  22902. #. type: table
  22903. #: guix-git/doc/guix.texi:15989
  22904. 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:"
  22905. msgstr ""
  22906. #. type: lisp
  22907. #: guix-git/doc/guix.texi:15994
  22908. #, no-wrap
  22909. msgid ""
  22910. "(user-account\n"
  22911. " (name \"charlie\")\n"
  22912. " (group \"users\")\n"
  22913. "\n"
  22914. msgstr ""
  22915. #. type: lisp
  22916. #: guix-git/doc/guix.texi:15997
  22917. #, no-wrap
  22918. msgid ""
  22919. " ;; Specify a SHA-512-hashed initial password.\n"
  22920. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  22921. msgstr ""
  22922. #. type: quotation
  22923. #: guix-git/doc/guix.texi:16003
  22924. 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."
  22925. msgstr ""
  22926. #. type: table
  22927. #: guix-git/doc/guix.texi:16008
  22928. 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."
  22929. msgstr ""
  22930. #. type: Plain text
  22931. #: guix-git/doc/guix.texi:16014
  22932. msgid "User group declarations are even simpler:"
  22933. msgstr ""
  22934. #. type: lisp
  22935. #: guix-git/doc/guix.texi:16017
  22936. #, no-wrap
  22937. msgid "(user-group (name \"students\"))\n"
  22938. msgstr ""
  22939. #. type: deftp
  22940. #: guix-git/doc/guix.texi:16019
  22941. #, no-wrap
  22942. msgid "{Data Type} user-group"
  22943. msgstr ""
  22944. #. type: deftp
  22945. #: guix-git/doc/guix.texi:16021
  22946. msgid "This type is for, well, user groups. There are just a few fields:"
  22947. msgstr ""
  22948. #. type: table
  22949. #: guix-git/doc/guix.texi:16025
  22950. msgid "The name of the group."
  22951. msgstr ""
  22952. #. type: item
  22953. #: guix-git/doc/guix.texi:16026 guix-git/doc/guix.texi:31284
  22954. #, no-wrap
  22955. msgid "@code{id} (default: @code{#f})"
  22956. msgstr ""
  22957. #. type: table
  22958. #: guix-git/doc/guix.texi:16029
  22959. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  22960. msgstr ""
  22961. #. type: table
  22962. #: guix-git/doc/guix.texi:16033
  22963. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  22964. msgstr ""
  22965. #. type: table
  22966. #: guix-git/doc/guix.texi:16037
  22967. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  22968. msgstr ""
  22969. #. type: Plain text
  22970. #: guix-git/doc/guix.texi:16043
  22971. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  22972. msgstr ""
  22973. #. type: defvr
  22974. #: guix-git/doc/guix.texi:16044
  22975. #, no-wrap
  22976. msgid "{Scheme Variable} %base-groups"
  22977. msgstr ""
  22978. #. type: defvr
  22979. #: guix-git/doc/guix.texi:16049
  22980. 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''."
  22981. msgstr ""
  22982. #. type: defvr
  22983. #: guix-git/doc/guix.texi:16051
  22984. #, no-wrap
  22985. msgid "{Scheme Variable} %base-user-accounts"
  22986. msgstr ""
  22987. #. type: defvr
  22988. #: guix-git/doc/guix.texi:16054
  22989. 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."
  22990. msgstr ""
  22991. #. type: defvr
  22992. #: guix-git/doc/guix.texi:16057
  22993. 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."
  22994. msgstr ""
  22995. #. type: cindex
  22996. #: guix-git/doc/guix.texi:16063
  22997. #, no-wrap
  22998. msgid "keymap"
  22999. msgstr ""
  23000. #. type: Plain text
  23001. #: guix-git/doc/guix.texi:16071
  23002. 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."
  23003. msgstr ""
  23004. #. type: cindex
  23005. #: guix-git/doc/guix.texi:16072
  23006. #, no-wrap
  23007. msgid "keyboard layout, definition"
  23008. msgstr ""
  23009. #. type: Plain text
  23010. #: guix-git/doc/guix.texi:16074
  23011. msgid "There are three components that will want to know about your keyboard layout:"
  23012. msgstr ""
  23013. #. type: itemize
  23014. #: guix-git/doc/guix.texi:16081
  23015. 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."
  23016. msgstr ""
  23017. #. type: itemize
  23018. #: guix-git/doc/guix.texi:16086
  23019. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  23020. msgstr ""
  23021. #. type: itemize
  23022. #: guix-git/doc/guix.texi:16090
  23023. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  23024. msgstr ""
  23025. #. type: Plain text
  23026. #: guix-git/doc/guix.texi:16094
  23027. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  23028. msgstr ""
  23029. #. type: cindex
  23030. #: guix-git/doc/guix.texi:16095
  23031. #, no-wrap
  23032. msgid "XKB, keyboard layouts"
  23033. msgstr ""
  23034. #. type: Plain text
  23035. #: guix-git/doc/guix.texi:16103
  23036. 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."
  23037. msgstr ""
  23038. #. type: deffn
  23039. #: guix-git/doc/guix.texi:16104
  23040. #, no-wrap
  23041. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  23042. msgstr ""
  23043. #. type: deffn
  23044. #: guix-git/doc/guix.texi:16107
  23045. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  23046. msgstr ""
  23047. #. type: deffn
  23048. #: guix-git/doc/guix.texi:16111
  23049. 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."
  23050. msgstr ""
  23051. #. type: Plain text
  23052. #: guix-git/doc/guix.texi:16114
  23053. msgid "Here are a few examples:"
  23054. msgstr ""
  23055. #. type: lisp
  23056. #: guix-git/doc/guix.texi:16119
  23057. #, no-wrap
  23058. msgid ""
  23059. ";; The German QWERTZ layout. Here we assume a standard\n"
  23060. ";; \"pc105\" keyboard model.\n"
  23061. "(keyboard-layout \"de\")\n"
  23062. "\n"
  23063. msgstr ""
  23064. #. type: lisp
  23065. #: guix-git/doc/guix.texi:16122
  23066. #, no-wrap
  23067. msgid ""
  23068. ";; The bépo variant of the French layout.\n"
  23069. "(keyboard-layout \"fr\" \"bepo\")\n"
  23070. "\n"
  23071. msgstr ""
  23072. #. type: lisp
  23073. #: guix-git/doc/guix.texi:16125
  23074. #, no-wrap
  23075. msgid ""
  23076. ";; The Catalan layout.\n"
  23077. "(keyboard-layout \"es\" \"cat\")\n"
  23078. "\n"
  23079. msgstr ""
  23080. #. type: lisp
  23081. #: guix-git/doc/guix.texi:16128
  23082. #, no-wrap
  23083. msgid ""
  23084. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  23085. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  23086. "\n"
  23087. msgstr ""
  23088. #. type: lisp
  23089. #: guix-git/doc/guix.texi:16135
  23090. #, no-wrap
  23091. msgid ""
  23092. ";; The Latin American Spanish layout. In addition, the\n"
  23093. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  23094. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  23095. ";; accented letters.\n"
  23096. "(keyboard-layout \"latam\"\n"
  23097. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  23098. "\n"
  23099. msgstr ""
  23100. #. type: lisp
  23101. #: guix-git/doc/guix.texi:16138
  23102. #, no-wrap
  23103. msgid ""
  23104. ";; The Russian layout for a ThinkPad keyboard.\n"
  23105. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  23106. "\n"
  23107. msgstr ""
  23108. #. type: lisp
  23109. #: guix-git/doc/guix.texi:16143
  23110. #, no-wrap
  23111. msgid ""
  23112. ";; The \"US international\" layout, which is the US layout plus\n"
  23113. ";; dead keys to enter accented characters. This is for an\n"
  23114. ";; Apple MacBook keyboard.\n"
  23115. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  23116. msgstr ""
  23117. #. type: Plain text
  23118. #: guix-git/doc/guix.texi:16147
  23119. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  23120. msgstr ""
  23121. #. type: cindex
  23122. #: guix-git/doc/guix.texi:16148
  23123. #, no-wrap
  23124. msgid "keyboard layout, configuration"
  23125. msgstr ""
  23126. #. type: Plain text
  23127. #: guix-git/doc/guix.texi:16152
  23128. 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:"
  23129. msgstr ""
  23130. #. type: findex
  23131. #: guix-git/doc/guix.texi:16153
  23132. #, no-wrap
  23133. msgid "set-xorg-configuration"
  23134. msgstr ""
  23135. #. type: lisp
  23136. #: guix-git/doc/guix.texi:16157
  23137. #, no-wrap
  23138. msgid ""
  23139. ";; Using the Turkish layout for the bootloader, the console,\n"
  23140. ";; and for Xorg.\n"
  23141. "\n"
  23142. msgstr ""
  23143. #. type: lisp
  23144. #: guix-git/doc/guix.texi:16169
  23145. #, no-wrap
  23146. msgid ""
  23147. "(operating-system\n"
  23148. " ;; ...\n"
  23149. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  23150. " (bootloader (bootloader-configuration\n"
  23151. " (bootloader grub-efi-bootloader)\n"
  23152. " (targets '(\"/boot/efi\"))\n"
  23153. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  23154. " (services (cons (set-xorg-configuration\n"
  23155. " (xorg-configuration ;for Xorg\n"
  23156. " (keyboard-layout keyboard-layout)))\n"
  23157. " %desktop-services)))\n"
  23158. msgstr ""
  23159. #. type: Plain text
  23160. #: guix-git/doc/guix.texi:16176
  23161. 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."
  23162. msgstr ""
  23163. #. type: Plain text
  23164. #: guix-git/doc/guix.texi:16179
  23165. 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:"
  23166. msgstr ""
  23167. #. type: itemize
  23168. #: guix-git/doc/guix.texi:16184
  23169. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  23170. msgstr ""
  23171. #. type: itemize
  23172. #: guix-git/doc/guix.texi:16189
  23173. 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:"
  23174. msgstr ""
  23175. #. type: example
  23176. #: guix-git/doc/guix.texi:16192
  23177. #, no-wrap
  23178. msgid "setxkbmap us dvorak\n"
  23179. msgstr ""
  23180. #. type: itemize
  23181. #: guix-git/doc/guix.texi:16199
  23182. 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:"
  23183. msgstr ""
  23184. #. type: example
  23185. #: guix-git/doc/guix.texi:16202
  23186. #, no-wrap
  23187. msgid "loadkeys fr-bepo\n"
  23188. msgstr ""
  23189. #. type: cindex
  23190. #: guix-git/doc/guix.texi:16208
  23191. #, no-wrap
  23192. msgid "locale"
  23193. msgstr ""
  23194. #. type: Plain text
  23195. #: guix-git/doc/guix.texi:16215
  23196. 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."
  23197. msgstr ""
  23198. #. type: cindex
  23199. #: guix-git/doc/guix.texi:16216
  23200. #, no-wrap
  23201. msgid "locale definition"
  23202. msgstr ""
  23203. #. type: Plain text
  23204. #: guix-git/doc/guix.texi:16220
  23205. 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}})."
  23206. msgstr ""
  23207. #. type: Plain text
  23208. #: guix-git/doc/guix.texi:16229
  23209. 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."
  23210. msgstr ""
  23211. #. type: Plain text
  23212. #: guix-git/doc/guix.texi:16232
  23213. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  23214. msgstr ""
  23215. #. type: lisp
  23216. #: guix-git/doc/guix.texi:16237
  23217. #, no-wrap
  23218. msgid ""
  23219. "(cons (locale-definition\n"
  23220. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  23221. " %default-locale-definitions)\n"
  23222. msgstr ""
  23223. #. type: Plain text
  23224. #: guix-git/doc/guix.texi:16241
  23225. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  23226. msgstr ""
  23227. #. type: lisp
  23228. #: guix-git/doc/guix.texi:16246
  23229. #, no-wrap
  23230. msgid ""
  23231. "(list (locale-definition\n"
  23232. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  23233. " (charset \"EUC-JP\")))\n"
  23234. msgstr ""
  23235. #. type: Plain text
  23236. #: guix-git/doc/guix.texi:16255
  23237. 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})."
  23238. msgstr ""
  23239. #. type: Plain text
  23240. #: guix-git/doc/guix.texi:16258
  23241. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  23242. msgstr ""
  23243. #. type: deftp
  23244. #: guix-git/doc/guix.texi:16259
  23245. #, no-wrap
  23246. msgid "{Data Type} locale-definition"
  23247. msgstr ""
  23248. #. type: deftp
  23249. #: guix-git/doc/guix.texi:16261
  23250. msgid "This is the data type of a locale definition."
  23251. msgstr ""
  23252. #. type: table
  23253. #: guix-git/doc/guix.texi:16267
  23254. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  23255. msgstr ""
  23256. #. type: table
  23257. #: guix-git/doc/guix.texi:16271
  23258. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  23259. msgstr ""
  23260. #. type: item
  23261. #: guix-git/doc/guix.texi:16272
  23262. #, no-wrap
  23263. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  23264. msgstr ""
  23265. #. type: table
  23266. #: guix-git/doc/guix.texi:16276
  23267. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  23268. msgstr ""
  23269. #. type: defvr
  23270. #: guix-git/doc/guix.texi:16280
  23271. #, no-wrap
  23272. msgid "{Scheme Variable} %default-locale-definitions"
  23273. msgstr ""
  23274. #. type: defvr
  23275. #: guix-git/doc/guix.texi:16284
  23276. 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."
  23277. msgstr ""
  23278. #. type: cindex
  23279. #: guix-git/doc/guix.texi:16285
  23280. #, no-wrap
  23281. msgid "locale name"
  23282. msgstr ""
  23283. #. type: cindex
  23284. #: guix-git/doc/guix.texi:16286
  23285. #, no-wrap
  23286. msgid "normalized codeset in locale names"
  23287. msgstr ""
  23288. #. type: defvr
  23289. #: guix-git/doc/guix.texi:16292
  23290. 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}."
  23291. msgstr ""
  23292. #. type: subsection
  23293. #: guix-git/doc/guix.texi:16294
  23294. #, no-wrap
  23295. msgid "Locale Data Compatibility Considerations"
  23296. msgstr ""
  23297. #. type: cindex
  23298. #: guix-git/doc/guix.texi:16296
  23299. #, no-wrap
  23300. msgid "incompatibility, of locale data"
  23301. msgstr ""
  23302. #. type: Plain text
  23303. #: guix-git/doc/guix.texi:16303
  23304. 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."
  23305. msgstr ""
  23306. #. type: Plain text
  23307. #: guix-git/doc/guix.texi:16315
  23308. 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."
  23309. msgstr ""
  23310. #. type: Plain text
  23311. #: guix-git/doc/guix.texi:16320
  23312. 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."
  23313. msgstr ""
  23314. #. type: Plain text
  23315. #: guix-git/doc/guix.texi:16324
  23316. 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})."
  23317. msgstr ""
  23318. #. type: Plain text
  23319. #: guix-git/doc/guix.texi:16331
  23320. 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}:"
  23321. msgstr ""
  23322. #. type: lisp
  23323. #: guix-git/doc/guix.texi:16334
  23324. #, no-wrap
  23325. msgid ""
  23326. "(use-package-modules base)\n"
  23327. "\n"
  23328. msgstr ""
  23329. #. type: lisp
  23330. #: guix-git/doc/guix.texi:16338
  23331. #, no-wrap
  23332. msgid ""
  23333. "(operating-system\n"
  23334. " ;; @dots{}\n"
  23335. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  23336. msgstr ""
  23337. #. type: Plain text
  23338. #: guix-git/doc/guix.texi:16343
  23339. 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}."
  23340. msgstr ""
  23341. #. type: cindex
  23342. #: guix-git/doc/guix.texi:16348
  23343. #, no-wrap
  23344. msgid "system services"
  23345. msgstr ""
  23346. #. type: Plain text
  23347. #: guix-git/doc/guix.texi:16354
  23348. 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."
  23349. msgstr ""
  23350. #. type: Plain text
  23351. #: guix-git/doc/guix.texi:16361
  23352. 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:"
  23353. msgstr ""
  23354. #. type: example
  23355. #: guix-git/doc/guix.texi:16364
  23356. #, no-wrap
  23357. msgid "# herd status\n"
  23358. msgstr ""
  23359. #. type: Plain text
  23360. #: guix-git/doc/guix.texi:16369
  23361. 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:"
  23362. msgstr ""
  23363. #. type: example
  23364. #: guix-git/doc/guix.texi:16373
  23365. #, no-wrap
  23366. msgid ""
  23367. "# herd doc nscd\n"
  23368. "Run libc's name service cache daemon (nscd).\n"
  23369. "\n"
  23370. msgstr ""
  23371. #. type: example
  23372. #: guix-git/doc/guix.texi:16376
  23373. #, no-wrap
  23374. msgid ""
  23375. "# herd doc nscd action invalidate\n"
  23376. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  23377. msgstr ""
  23378. #. type: Plain text
  23379. #: guix-git/doc/guix.texi:16381
  23380. 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:"
  23381. msgstr ""
  23382. #. type: example
  23383. #: guix-git/doc/guix.texi:16388
  23384. #, no-wrap
  23385. msgid ""
  23386. "# herd stop nscd\n"
  23387. "Service nscd has been stopped.\n"
  23388. "# herd restart xorg-server\n"
  23389. "Service xorg-server has been stopped.\n"
  23390. "Service xorg-server has been started.\n"
  23391. msgstr ""
  23392. #. type: Plain text
  23393. #: guix-git/doc/guix.texi:16393
  23394. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  23395. msgstr ""
  23396. #. type: subsection
  23397. #: guix-git/doc/guix.texi:16429 guix-git/doc/guix.texi:24718
  23398. #: guix-git/doc/guix.texi:24719
  23399. #, no-wrap
  23400. msgid "File-Sharing Services"
  23401. msgstr ""
  23402. #. type: menuentry
  23403. #: guix-git/doc/guix.texi:16429
  23404. msgid "File-sharing services."
  23405. msgstr ""
  23406. #. type: Plain text
  23407. #: guix-git/doc/guix.texi:16437
  23408. 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."
  23409. msgstr ""
  23410. #. type: defvr
  23411. #: guix-git/doc/guix.texi:16438
  23412. #, no-wrap
  23413. msgid "{Scheme Variable} %base-services"
  23414. msgstr ""
  23415. #. type: defvr
  23416. #: guix-git/doc/guix.texi:16444
  23417. 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."
  23418. msgstr ""
  23419. #. type: defvr
  23420. #: guix-git/doc/guix.texi:16449
  23421. 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:"
  23422. msgstr ""
  23423. #. type: lisp
  23424. #: guix-git/doc/guix.texi:16454
  23425. #, no-wrap
  23426. msgid ""
  23427. "(append (list (service avahi-service-type)\n"
  23428. " (service openssh-service-type))\n"
  23429. " %base-services)\n"
  23430. msgstr ""
  23431. #. type: defvr
  23432. #: guix-git/doc/guix.texi:16457
  23433. #, no-wrap
  23434. msgid "{Scheme Variable} special-files-service-type"
  23435. msgstr ""
  23436. #. type: defvr
  23437. #: guix-git/doc/guix.texi:16460
  23438. 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}."
  23439. msgstr ""
  23440. #. type: defvr
  23441. #: guix-git/doc/guix.texi:16464
  23442. 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:"
  23443. msgstr ""
  23444. #. type: file{#1}
  23445. #: guix-git/doc/guix.texi:16465
  23446. #, no-wrap
  23447. msgid "/bin/sh"
  23448. msgstr ""
  23449. #. type: cindex
  23450. #: guix-git/doc/guix.texi:16466
  23451. #, no-wrap
  23452. msgid "@file{sh}, in @file{/bin}"
  23453. msgstr ""
  23454. #. type: lisp
  23455. #: guix-git/doc/guix.texi:16469
  23456. #, no-wrap
  23457. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  23458. msgstr ""
  23459. #. type: file{#1}
  23460. #: guix-git/doc/guix.texi:16471
  23461. #, no-wrap
  23462. msgid "/usr/bin/env"
  23463. msgstr ""
  23464. #. type: cindex
  23465. #: guix-git/doc/guix.texi:16472
  23466. #, no-wrap
  23467. msgid "@file{env}, in @file{/usr/bin}"
  23468. msgstr ""
  23469. #. type: defvr
  23470. #: guix-git/doc/guix.texi:16475
  23471. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  23472. msgstr ""
  23473. #. type: lisp
  23474. #: guix-git/doc/guix.texi:16479
  23475. #, no-wrap
  23476. msgid ""
  23477. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  23478. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  23479. msgstr ""
  23480. #. type: defvr
  23481. #: guix-git/doc/guix.texi:16486
  23482. 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)."
  23483. msgstr ""
  23484. #. type: deffn
  23485. #: guix-git/doc/guix.texi:16488
  23486. #, no-wrap
  23487. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  23488. msgstr ""
  23489. #. type: deffn
  23490. #: guix-git/doc/guix.texi:16490
  23491. msgid "Use @var{target} as the ``special file'' @var{file}."
  23492. msgstr ""
  23493. #. type: deffn
  23494. #: guix-git/doc/guix.texi:16494
  23495. 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:"
  23496. msgstr ""
  23497. #. type: lisp
  23498. #: guix-git/doc/guix.texi:16498
  23499. #, no-wrap
  23500. msgid ""
  23501. "(extra-special-file \"/usr/bin/env\"\n"
  23502. " (file-append coreutils \"/bin/env\"))\n"
  23503. msgstr ""
  23504. #. type: deffn
  23505. #: guix-git/doc/guix.texi:16501
  23506. #, no-wrap
  23507. msgid "{Scheme Procedure} host-name-service @var{name}"
  23508. msgstr ""
  23509. #. type: deffn
  23510. #: guix-git/doc/guix.texi:16503
  23511. msgid "Return a service that sets the host name to @var{name}."
  23512. msgstr ""
  23513. #. type: defvr
  23514. #: guix-git/doc/guix.texi:16505
  23515. #, no-wrap
  23516. msgid "{Scheme Variable} console-font-service-type"
  23517. msgstr ""
  23518. #. type: defvr
  23519. #: guix-git/doc/guix.texi:16510
  23520. 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:"
  23521. msgstr ""
  23522. #. type: lisp
  23523. #: guix-git/doc/guix.texi:16519
  23524. #, no-wrap
  23525. msgid ""
  23526. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  23527. " (\"tty2\" . ,(file-append\n"
  23528. " font-tamzen\n"
  23529. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  23530. " (\"tty3\" . ,(file-append\n"
  23531. " font-terminus\n"
  23532. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  23533. msgstr ""
  23534. #. type: deffn
  23535. #: guix-git/doc/guix.texi:16522
  23536. #, no-wrap
  23537. msgid "{Scheme Procedure} login-service @var{config}"
  23538. msgstr ""
  23539. #. type: deffn
  23540. #: guix-git/doc/guix.texi:16526
  23541. 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."
  23542. msgstr ""
  23543. #. type: deftp
  23544. #: guix-git/doc/guix.texi:16528
  23545. #, no-wrap
  23546. msgid "{Data Type} login-configuration"
  23547. msgstr ""
  23548. #. type: deftp
  23549. #: guix-git/doc/guix.texi:16530
  23550. msgid "This is the data type representing the configuration of login."
  23551. msgstr ""
  23552. #. type: code{#1}
  23553. #: guix-git/doc/guix.texi:16533
  23554. #, no-wrap
  23555. msgid "motd"
  23556. msgstr ""
  23557. #. type: cindex
  23558. #: guix-git/doc/guix.texi:16534
  23559. #, no-wrap
  23560. msgid "message of the day"
  23561. msgstr ""
  23562. #. type: table
  23563. #: guix-git/doc/guix.texi:16536
  23564. msgid "A file-like object containing the ``message of the day''."
  23565. msgstr ""
  23566. #. type: item
  23567. #: guix-git/doc/guix.texi:16537 guix-git/doc/guix.texi:19767
  23568. #, no-wrap
  23569. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  23570. msgstr ""
  23571. #. type: table
  23572. #: guix-git/doc/guix.texi:16540
  23573. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  23574. msgstr ""
  23575. #. type: deffn
  23576. #: guix-git/doc/guix.texi:16544
  23577. #, no-wrap
  23578. msgid "{Scheme Procedure} mingetty-service @var{config}"
  23579. msgstr ""
  23580. #. type: deffn
  23581. #: guix-git/doc/guix.texi:16548
  23582. 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."
  23583. msgstr ""
  23584. #. type: deftp
  23585. #: guix-git/doc/guix.texi:16550
  23586. #, no-wrap
  23587. msgid "{Data Type} mingetty-configuration"
  23588. msgstr ""
  23589. #. type: deftp
  23590. #: guix-git/doc/guix.texi:16553
  23591. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  23592. msgstr ""
  23593. #. type: code{#1}
  23594. #: guix-git/doc/guix.texi:16556 guix-git/doc/guix.texi:16595
  23595. #: guix-git/doc/guix.texi:34101
  23596. #, no-wrap
  23597. msgid "tty"
  23598. msgstr ""
  23599. #. type: table
  23600. #: guix-git/doc/guix.texi:16558
  23601. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  23602. msgstr ""
  23603. #. type: item
  23604. #: guix-git/doc/guix.texi:16559 guix-git/doc/guix.texi:16624
  23605. #: guix-git/doc/guix.texi:16787
  23606. #, no-wrap
  23607. msgid "@code{auto-login} (default: @code{#f})"
  23608. msgstr ""
  23609. #. type: table
  23610. #: guix-git/doc/guix.texi:16563
  23611. 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."
  23612. msgstr ""
  23613. #. type: item
  23614. #: guix-git/doc/guix.texi:16564
  23615. #, no-wrap
  23616. msgid "@code{login-program} (default: @code{#f})"
  23617. msgstr ""
  23618. #. type: table
  23619. #: guix-git/doc/guix.texi:16568
  23620. 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."
  23621. msgstr ""
  23622. #. type: item
  23623. #: guix-git/doc/guix.texi:16569
  23624. #, no-wrap
  23625. msgid "@code{login-pause?} (default: @code{#f})"
  23626. msgstr ""
  23627. #. type: table
  23628. #: guix-git/doc/guix.texi:16572
  23629. 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."
  23630. msgstr ""
  23631. #. type: item
  23632. #: guix-git/doc/guix.texi:16573
  23633. #, no-wrap
  23634. msgid "@code{clear-on-logout?} (default: @code{#t})"
  23635. msgstr ""
  23636. #. type: table
  23637. #: guix-git/doc/guix.texi:16575
  23638. msgid "When set to @code{#t}, the screen will be cleared after logout."
  23639. msgstr ""
  23640. #. type: item
  23641. #: guix-git/doc/guix.texi:16576
  23642. #, no-wrap
  23643. msgid "@code{mingetty} (default: @var{mingetty})"
  23644. msgstr ""
  23645. #. type: table
  23646. #: guix-git/doc/guix.texi:16578
  23647. msgid "The Mingetty package to use."
  23648. msgstr ""
  23649. #. type: deffn
  23650. #: guix-git/doc/guix.texi:16582
  23651. #, no-wrap
  23652. msgid "{Scheme Procedure} agetty-service @var{config}"
  23653. msgstr ""
  23654. #. type: deffn
  23655. #: guix-git/doc/guix.texi:16586
  23656. 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."
  23657. msgstr ""
  23658. #. type: deftp
  23659. #: guix-git/doc/guix.texi:16588
  23660. #, no-wrap
  23661. msgid "{Data Type} agetty-configuration"
  23662. msgstr ""
  23663. #. type: deftp
  23664. #: guix-git/doc/guix.texi:16592
  23665. 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."
  23666. msgstr ""
  23667. #. type: table
  23668. #: guix-git/doc/guix.texi:16599
  23669. 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."
  23670. msgstr ""
  23671. #. type: table
  23672. #: guix-git/doc/guix.texi:16603
  23673. 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."
  23674. msgstr ""
  23675. #. type: table
  23676. #: guix-git/doc/guix.texi:16607
  23677. 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."
  23678. msgstr ""
  23679. #. type: table
  23680. #: guix-git/doc/guix.texi:16611
  23681. 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."
  23682. msgstr ""
  23683. #. type: item
  23684. #: guix-git/doc/guix.texi:16612 guix-git/doc/guix.texi:34262
  23685. #, no-wrap
  23686. msgid "@code{baud-rate} (default: @code{#f})"
  23687. msgstr ""
  23688. #. type: table
  23689. #: guix-git/doc/guix.texi:16615
  23690. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  23691. msgstr ""
  23692. #. type: item
  23693. #: guix-git/doc/guix.texi:16616
  23694. #, no-wrap
  23695. msgid "@code{term} (default: @code{#f})"
  23696. msgstr ""
  23697. #. type: table
  23698. #: guix-git/doc/guix.texi:16619
  23699. msgid "A string containing the value used for the @env{TERM} environment variable."
  23700. msgstr ""
  23701. #. type: item
  23702. #: guix-git/doc/guix.texi:16620
  23703. #, no-wrap
  23704. msgid "@code{eight-bits?} (default: @code{#f})"
  23705. msgstr ""
  23706. #. type: table
  23707. #: guix-git/doc/guix.texi:16623
  23708. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  23709. msgstr ""
  23710. #. type: table
  23711. #: guix-git/doc/guix.texi:16627 guix-git/doc/guix.texi:16790
  23712. 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."
  23713. msgstr ""
  23714. #. type: item
  23715. #: guix-git/doc/guix.texi:16628
  23716. #, no-wrap
  23717. msgid "@code{no-reset?} (default: @code{#f})"
  23718. msgstr ""
  23719. #. type: table
  23720. #: guix-git/doc/guix.texi:16630
  23721. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  23722. msgstr ""
  23723. #. type: item
  23724. #: guix-git/doc/guix.texi:16631
  23725. #, no-wrap
  23726. msgid "@code{host} (default: @code{#f})"
  23727. msgstr ""
  23728. #. type: table
  23729. #: guix-git/doc/guix.texi:16634
  23730. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  23731. msgstr ""
  23732. #. type: item
  23733. #: guix-git/doc/guix.texi:16635
  23734. #, no-wrap
  23735. msgid "@code{remote?} (default: @code{#f})"
  23736. msgstr ""
  23737. #. type: table
  23738. #: guix-git/doc/guix.texi:16639
  23739. 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}."
  23740. msgstr ""
  23741. #. type: item
  23742. #: guix-git/doc/guix.texi:16640
  23743. #, no-wrap
  23744. msgid "@code{flow-control?} (default: @code{#f})"
  23745. msgstr ""
  23746. #. type: table
  23747. #: guix-git/doc/guix.texi:16642
  23748. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  23749. msgstr ""
  23750. #. type: item
  23751. #: guix-git/doc/guix.texi:16643
  23752. #, no-wrap
  23753. msgid "@code{no-issue?} (default: @code{#f})"
  23754. msgstr ""
  23755. #. type: table
  23756. #: guix-git/doc/guix.texi:16646
  23757. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  23758. msgstr ""
  23759. #. type: item
  23760. #: guix-git/doc/guix.texi:16647
  23761. #, no-wrap
  23762. msgid "@code{init-string} (default: @code{#f})"
  23763. msgstr ""
  23764. #. type: table
  23765. #: guix-git/doc/guix.texi:16650
  23766. 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."
  23767. msgstr ""
  23768. #. type: item
  23769. #: guix-git/doc/guix.texi:16651
  23770. #, no-wrap
  23771. msgid "@code{no-clear?} (default: @code{#f})"
  23772. msgstr ""
  23773. #. type: table
  23774. #: guix-git/doc/guix.texi:16654
  23775. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  23776. msgstr ""
  23777. #. type: item
  23778. #: guix-git/doc/guix.texi:16655
  23779. #, no-wrap
  23780. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  23781. msgstr ""
  23782. #. type: table
  23783. #: guix-git/doc/guix.texi:16659
  23784. 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."
  23785. msgstr ""
  23786. #. type: item
  23787. #: guix-git/doc/guix.texi:16660
  23788. #, no-wrap
  23789. msgid "@code{local-line} (default: @code{#f})"
  23790. msgstr ""
  23791. #. type: table
  23792. #: guix-git/doc/guix.texi:16664
  23793. 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}."
  23794. msgstr ""
  23795. #. type: item
  23796. #: guix-git/doc/guix.texi:16665
  23797. #, no-wrap
  23798. msgid "@code{extract-baud?} (default: @code{#f})"
  23799. msgstr ""
  23800. #. type: table
  23801. #: guix-git/doc/guix.texi:16668
  23802. 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."
  23803. msgstr ""
  23804. #. type: item
  23805. #: guix-git/doc/guix.texi:16669
  23806. #, no-wrap
  23807. msgid "@code{skip-login?} (default: @code{#f})"
  23808. msgstr ""
  23809. #. type: table
  23810. #: guix-git/doc/guix.texi:16673
  23811. 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."
  23812. msgstr ""
  23813. #. type: item
  23814. #: guix-git/doc/guix.texi:16674
  23815. #, no-wrap
  23816. msgid "@code{no-newline?} (default: @code{#f})"
  23817. msgstr ""
  23818. #. type: table
  23819. #: guix-git/doc/guix.texi:16677
  23820. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  23821. msgstr ""
  23822. #. type: item
  23823. #: guix-git/doc/guix.texi:16679
  23824. #, no-wrap
  23825. msgid "@code{login-options} (default: @code{#f})"
  23826. msgstr ""
  23827. #. type: table
  23828. #: guix-git/doc/guix.texi:16684
  23829. 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."
  23830. msgstr ""
  23831. #. type: item
  23832. #: guix-git/doc/guix.texi:16685
  23833. #, no-wrap
  23834. msgid "@code{login-pause} (default: @code{#f})"
  23835. msgstr ""
  23836. #. type: table
  23837. #: guix-git/doc/guix.texi:16689
  23838. 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."
  23839. msgstr ""
  23840. #. type: item
  23841. #: guix-git/doc/guix.texi:16690
  23842. #, no-wrap
  23843. msgid "@code{chroot} (default: @code{#f})"
  23844. msgstr ""
  23845. #. type: table
  23846. #: guix-git/doc/guix.texi:16693
  23847. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  23848. msgstr ""
  23849. #. type: item
  23850. #: guix-git/doc/guix.texi:16694
  23851. #, no-wrap
  23852. msgid "@code{hangup?} (default: @code{#f})"
  23853. msgstr ""
  23854. #. type: table
  23855. #: guix-git/doc/guix.texi:16697
  23856. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  23857. msgstr ""
  23858. #. type: item
  23859. #: guix-git/doc/guix.texi:16698
  23860. #, no-wrap
  23861. msgid "@code{keep-baud?} (default: @code{#f})"
  23862. msgstr ""
  23863. #. type: table
  23864. #: guix-git/doc/guix.texi:16702
  23865. 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."
  23866. msgstr ""
  23867. #. type: item
  23868. #: guix-git/doc/guix.texi:16703
  23869. #, no-wrap
  23870. msgid "@code{timeout} (default: @code{#f})"
  23871. msgstr ""
  23872. #. type: table
  23873. #: guix-git/doc/guix.texi:16706
  23874. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  23875. msgstr ""
  23876. #. type: item
  23877. #: guix-git/doc/guix.texi:16707
  23878. #, no-wrap
  23879. msgid "@code{detect-case?} (default: @code{#f})"
  23880. msgstr ""
  23881. #. type: table
  23882. #: guix-git/doc/guix.texi:16713
  23883. 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."
  23884. msgstr ""
  23885. #. type: item
  23886. #: guix-git/doc/guix.texi:16714
  23887. #, no-wrap
  23888. msgid "@code{wait-cr?} (default: @code{#f})"
  23889. msgstr ""
  23890. #. type: table
  23891. #: guix-git/doc/guix.texi:16719
  23892. 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."
  23893. msgstr ""
  23894. #. type: item
  23895. #: guix-git/doc/guix.texi:16720
  23896. #, no-wrap
  23897. msgid "@code{no-hints?} (default: @code{#f})"
  23898. msgstr ""
  23899. #. type: table
  23900. #: guix-git/doc/guix.texi:16723
  23901. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  23902. msgstr ""
  23903. #. type: item
  23904. #: guix-git/doc/guix.texi:16724
  23905. #, no-wrap
  23906. msgid "@code{no-hostname?} (default: @code{#f})"
  23907. msgstr ""
  23908. #. type: table
  23909. #: guix-git/doc/guix.texi:16727
  23910. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  23911. msgstr ""
  23912. #. type: item
  23913. #: guix-git/doc/guix.texi:16728
  23914. #, no-wrap
  23915. msgid "@code{long-hostname?} (default: @code{#f})"
  23916. msgstr ""
  23917. #. type: table
  23918. #: guix-git/doc/guix.texi:16732
  23919. 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."
  23920. msgstr ""
  23921. #. type: item
  23922. #: guix-git/doc/guix.texi:16733
  23923. #, no-wrap
  23924. msgid "@code{erase-characters} (default: @code{#f})"
  23925. msgstr ""
  23926. #. type: table
  23927. #: guix-git/doc/guix.texi:16736
  23928. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  23929. msgstr ""
  23930. #. type: item
  23931. #: guix-git/doc/guix.texi:16737
  23932. #, no-wrap
  23933. msgid "@code{kill-characters} (default: @code{#f})"
  23934. msgstr ""
  23935. #. type: table
  23936. #: guix-git/doc/guix.texi:16741
  23937. 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."
  23938. msgstr ""
  23939. #. type: item
  23940. #: guix-git/doc/guix.texi:16742
  23941. #, no-wrap
  23942. msgid "@code{chdir} (default: @code{#f})"
  23943. msgstr ""
  23944. #. type: table
  23945. #: guix-git/doc/guix.texi:16745
  23946. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  23947. msgstr ""
  23948. #. type: item
  23949. #: guix-git/doc/guix.texi:16746
  23950. #, no-wrap
  23951. msgid "@code{delay} (default: @code{#f})"
  23952. msgstr ""
  23953. #. type: table
  23954. #: guix-git/doc/guix.texi:16749
  23955. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  23956. msgstr ""
  23957. #. type: item
  23958. #: guix-git/doc/guix.texi:16750
  23959. #, no-wrap
  23960. msgid "@code{nice} (default: @code{#f})"
  23961. msgstr ""
  23962. #. type: table
  23963. #: guix-git/doc/guix.texi:16753
  23964. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  23965. msgstr ""
  23966. #. type: item
  23967. #: guix-git/doc/guix.texi:16754 guix-git/doc/guix.texi:17046
  23968. #: guix-git/doc/guix.texi:17965 guix-git/doc/guix.texi:25702
  23969. #: guix-git/doc/guix.texi:27089 guix-git/doc/guix.texi:29507
  23970. #: guix-git/doc/guix.texi:30330 guix-git/doc/guix.texi:32087
  23971. #: guix-git/doc/guix.texi:34602
  23972. #, no-wrap
  23973. msgid "@code{extra-options} (default: @code{'()})"
  23974. msgstr ""
  23975. #. type: table
  23976. #: guix-git/doc/guix.texi:16757
  23977. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  23978. msgstr ""
  23979. #. type: item
  23980. #: guix-git/doc/guix.texi:16758
  23981. #, no-wrap
  23982. msgid "@code{shepherd-requirement} (default: @code{'()})"
  23983. msgstr ""
  23984. #. type: table
  23985. #: guix-git/doc/guix.texi:16761
  23986. msgid "The option can be used to provides extra shepherd requirements (for example @code{'syslogd}) to the respective @code{'term-}* shepherd service."
  23987. msgstr ""
  23988. #. type: deffn
  23989. #: guix-git/doc/guix.texi:16765
  23990. #, no-wrap
  23991. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  23992. msgstr ""
  23993. #. type: deffn
  23994. #: guix-git/doc/guix.texi:16769
  23995. 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."
  23996. msgstr ""
  23997. #. type: deftp
  23998. #: guix-git/doc/guix.texi:16771
  23999. #, no-wrap
  24000. msgid "{Data Type} kmscon-configuration"
  24001. msgstr ""
  24002. #. type: deftp
  24003. #: guix-git/doc/guix.texi:16774
  24004. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  24005. msgstr ""
  24006. #. type: code{#1}
  24007. #: guix-git/doc/guix.texi:16777
  24008. #, no-wrap
  24009. msgid "virtual-terminal"
  24010. msgstr ""
  24011. #. type: table
  24012. #: guix-git/doc/guix.texi:16779
  24013. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  24014. msgstr ""
  24015. #. type: item
  24016. #: guix-git/doc/guix.texi:16780
  24017. #, no-wrap
  24018. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  24019. msgstr ""
  24020. #. type: table
  24021. #: guix-git/doc/guix.texi:16783
  24022. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  24023. msgstr ""
  24024. #. type: item
  24025. #: guix-git/doc/guix.texi:16784
  24026. #, no-wrap
  24027. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  24028. msgstr ""
  24029. #. type: table
  24030. #: guix-git/doc/guix.texi:16786
  24031. msgid "A list of arguments to pass to @command{login}."
  24032. msgstr ""
  24033. #. type: item
  24034. #: guix-git/doc/guix.texi:16791
  24035. #, no-wrap
  24036. msgid "@code{hardware-acceleration?} (default: #f)"
  24037. msgstr ""
  24038. #. type: table
  24039. #: guix-git/doc/guix.texi:16793
  24040. msgid "Whether to use hardware acceleration."
  24041. msgstr ""
  24042. #. type: item
  24043. #: guix-git/doc/guix.texi:16794
  24044. #, no-wrap
  24045. msgid "@code{font-engine} (default: @code{\"pango\"})"
  24046. msgstr ""
  24047. #. type: table
  24048. #: guix-git/doc/guix.texi:16796
  24049. msgid "Font engine used in Kmscon."
  24050. msgstr ""
  24051. #. type: item
  24052. #: guix-git/doc/guix.texi:16797
  24053. #, no-wrap
  24054. msgid "@code{font-size} (default: @code{12})"
  24055. msgstr ""
  24056. #. type: table
  24057. #: guix-git/doc/guix.texi:16799
  24058. msgid "Font size used in Kmscon."
  24059. msgstr ""
  24060. #. type: table
  24061. #: guix-git/doc/guix.texi:16803
  24062. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  24063. msgstr ""
  24064. #. type: table
  24065. #: guix-git/doc/guix.texi:16807
  24066. 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."
  24067. msgstr ""
  24068. #. type: item
  24069. #: guix-git/doc/guix.texi:16808
  24070. #, no-wrap
  24071. msgid "@code{kmscon} (default: @var{kmscon})"
  24072. msgstr ""
  24073. #. type: table
  24074. #: guix-git/doc/guix.texi:16810
  24075. msgid "The Kmscon package to use."
  24076. msgstr ""
  24077. #. type: cindex
  24078. #: guix-git/doc/guix.texi:16814
  24079. #, no-wrap
  24080. msgid "name service cache daemon"
  24081. msgstr ""
  24082. #. type: cindex
  24083. #: guix-git/doc/guix.texi:16815
  24084. #, no-wrap
  24085. msgid "nscd"
  24086. msgstr ""
  24087. #. type: deffn
  24088. #: guix-git/doc/guix.texi:16816
  24089. #, no-wrap
  24090. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  24091. msgstr ""
  24092. #. type: deffn
  24093. #: guix-git/doc/guix.texi:16821
  24094. 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."
  24095. msgstr ""
  24096. #. type: deffn
  24097. #: guix-git/doc/guix.texi:16823
  24098. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  24099. msgstr ""
  24100. #. type: item
  24101. #: guix-git/doc/guix.texi:16825
  24102. #, no-wrap
  24103. msgid "invalidate"
  24104. msgstr ""
  24105. #. type: cindex
  24106. #: guix-git/doc/guix.texi:16826
  24107. #, no-wrap
  24108. msgid "cache invalidation, nscd"
  24109. msgstr ""
  24110. #. type: cindex
  24111. #: guix-git/doc/guix.texi:16827
  24112. #, no-wrap
  24113. msgid "nscd, cache invalidation"
  24114. msgstr ""
  24115. #. type: table
  24116. #: guix-git/doc/guix.texi:16829
  24117. msgid "This invalidate the given cache. For instance, running:"
  24118. msgstr ""
  24119. #. type: example
  24120. #: guix-git/doc/guix.texi:16832
  24121. #, no-wrap
  24122. msgid "herd invalidate nscd hosts\n"
  24123. msgstr ""
  24124. #. type: table
  24125. #: guix-git/doc/guix.texi:16836
  24126. msgid "invalidates the host name lookup cache of nscd."
  24127. msgstr ""
  24128. #. type: item
  24129. #: guix-git/doc/guix.texi:16837
  24130. #, no-wrap
  24131. msgid "statistics"
  24132. msgstr ""
  24133. #. type: table
  24134. #: guix-git/doc/guix.texi:16840
  24135. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  24136. msgstr ""
  24137. #. type: defvr
  24138. #: guix-git/doc/guix.texi:16844
  24139. #, no-wrap
  24140. msgid "{Scheme Variable} %nscd-default-configuration"
  24141. msgstr ""
  24142. #. type: defvr
  24143. #: guix-git/doc/guix.texi:16848
  24144. 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."
  24145. msgstr ""
  24146. #. type: deftp
  24147. #: guix-git/doc/guix.texi:16850
  24148. #, no-wrap
  24149. msgid "{Data Type} nscd-configuration"
  24150. msgstr ""
  24151. #. type: deftp
  24152. #: guix-git/doc/guix.texi:16853
  24153. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  24154. msgstr ""
  24155. #. type: item
  24156. #: guix-git/doc/guix.texi:16856
  24157. #, no-wrap
  24158. msgid "@code{name-services} (default: @code{'()})"
  24159. msgstr ""
  24160. #. type: table
  24161. #: guix-git/doc/guix.texi:16859
  24162. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  24163. msgstr ""
  24164. #. type: item
  24165. #: guix-git/doc/guix.texi:16860
  24166. #, no-wrap
  24167. msgid "@code{glibc} (default: @var{glibc})"
  24168. msgstr ""
  24169. #. type: table
  24170. #: guix-git/doc/guix.texi:16863
  24171. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  24172. msgstr ""
  24173. #. type: item
  24174. #: guix-git/doc/guix.texi:16864
  24175. #, no-wrap
  24176. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  24177. msgstr ""
  24178. #. type: table
  24179. #: guix-git/doc/guix.texi:16867
  24180. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  24181. msgstr ""
  24182. #. type: item
  24183. #: guix-git/doc/guix.texi:16868
  24184. #, no-wrap
  24185. msgid "@code{debug-level} (default: @code{0})"
  24186. msgstr ""
  24187. #. type: table
  24188. #: guix-git/doc/guix.texi:16871
  24189. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  24190. msgstr ""
  24191. #. type: item
  24192. #: guix-git/doc/guix.texi:16872
  24193. #, no-wrap
  24194. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  24195. msgstr ""
  24196. #. type: table
  24197. #: guix-git/doc/guix.texi:16875
  24198. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  24199. msgstr ""
  24200. #. type: deftp
  24201. #: guix-git/doc/guix.texi:16879
  24202. #, no-wrap
  24203. msgid "{Data Type} nscd-cache"
  24204. msgstr ""
  24205. #. type: deftp
  24206. #: guix-git/doc/guix.texi:16881
  24207. msgid "Data type representing a cache database of nscd and its parameters."
  24208. msgstr ""
  24209. #. type: cindex
  24210. #: guix-git/doc/guix.texi:16884 guix-git/doc/guix.texi:21591
  24211. #, no-wrap
  24212. msgid "database"
  24213. msgstr ""
  24214. #. type: table
  24215. #: guix-git/doc/guix.texi:16889
  24216. 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})."
  24217. msgstr ""
  24218. #. type: code{#1}
  24219. #: guix-git/doc/guix.texi:16890
  24220. #, no-wrap
  24221. msgid "positive-time-to-live"
  24222. msgstr ""
  24223. #. type: itemx
  24224. #: guix-git/doc/guix.texi:16891
  24225. #, no-wrap
  24226. msgid "@code{negative-time-to-live} (default: @code{20})"
  24227. msgstr ""
  24228. #. type: table
  24229. #: guix-git/doc/guix.texi:16894
  24230. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  24231. msgstr ""
  24232. #. type: item
  24233. #: guix-git/doc/guix.texi:16895
  24234. #, no-wrap
  24235. msgid "@code{check-files?} (default: @code{#t})"
  24236. msgstr ""
  24237. #. type: table
  24238. #: guix-git/doc/guix.texi:16898
  24239. msgid "Whether to check for updates of the files corresponding to @var{database}."
  24240. msgstr ""
  24241. #. type: table
  24242. #: guix-git/doc/guix.texi:16902
  24243. 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."
  24244. msgstr ""
  24245. #. type: item
  24246. #: guix-git/doc/guix.texi:16903
  24247. #, no-wrap
  24248. msgid "@code{persistent?} (default: @code{#t})"
  24249. msgstr ""
  24250. #. type: table
  24251. #: guix-git/doc/guix.texi:16905
  24252. msgid "Whether the cache should be stored persistently on disk."
  24253. msgstr ""
  24254. #. type: item
  24255. #: guix-git/doc/guix.texi:16906
  24256. #, no-wrap
  24257. msgid "@code{shared?} (default: @code{#t})"
  24258. msgstr ""
  24259. #. type: table
  24260. #: guix-git/doc/guix.texi:16908
  24261. msgid "Whether the cache should be shared among users."
  24262. msgstr ""
  24263. #. type: item
  24264. #: guix-git/doc/guix.texi:16909
  24265. #, no-wrap
  24266. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  24267. msgstr ""
  24268. #. type: table
  24269. #: guix-git/doc/guix.texi:16911
  24270. msgid "Maximum size in bytes of the database cache."
  24271. msgstr ""
  24272. #. type: defvr
  24273. #: guix-git/doc/guix.texi:16918
  24274. #, no-wrap
  24275. msgid "{Scheme Variable} %nscd-default-caches"
  24276. msgstr ""
  24277. #. type: defvr
  24278. #: guix-git/doc/guix.texi:16921
  24279. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  24280. msgstr ""
  24281. #. type: defvr
  24282. #: guix-git/doc/guix.texi:16927
  24283. 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."
  24284. msgstr ""
  24285. #. type: anchor{#1}
  24286. #: guix-git/doc/guix.texi:16930
  24287. msgid "syslog-configuration-type"
  24288. msgstr ""
  24289. #. type: cindex
  24290. #: guix-git/doc/guix.texi:16930 guix-git/doc/guix.texi:16946
  24291. #, no-wrap
  24292. msgid "syslog"
  24293. msgstr ""
  24294. #. type: cindex
  24295. #: guix-git/doc/guix.texi:16931 guix-git/doc/guix.texi:17522
  24296. #, no-wrap
  24297. msgid "logging"
  24298. msgstr ""
  24299. #. type: deftp
  24300. #: guix-git/doc/guix.texi:16932
  24301. #, no-wrap
  24302. msgid "{Data Type} syslog-configuration"
  24303. msgstr ""
  24304. #. type: deftp
  24305. #: guix-git/doc/guix.texi:16934
  24306. msgid "This data type represents the configuration of the syslog daemon."
  24307. msgstr ""
  24308. #. type: item
  24309. #: guix-git/doc/guix.texi:16936
  24310. #, no-wrap
  24311. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  24312. msgstr ""
  24313. #. type: table
  24314. #: guix-git/doc/guix.texi:16938
  24315. msgid "The syslog daemon to use."
  24316. msgstr ""
  24317. #. type: item
  24318. #: guix-git/doc/guix.texi:16939
  24319. #, no-wrap
  24320. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  24321. msgstr ""
  24322. #. type: table
  24323. #: guix-git/doc/guix.texi:16941
  24324. msgid "The syslog configuration file to use."
  24325. msgstr ""
  24326. #. type: anchor{#1}
  24327. #: guix-git/doc/guix.texi:16946
  24328. msgid "syslog-service"
  24329. msgstr ""
  24330. #. type: deffn
  24331. #: guix-git/doc/guix.texi:16947
  24332. #, no-wrap
  24333. msgid "{Scheme Procedure} syslog-service @var{config}"
  24334. msgstr ""
  24335. #. type: deffn
  24336. #: guix-git/doc/guix.texi:16949
  24337. msgid "Return a service that runs a syslog daemon according to @var{config}."
  24338. msgstr ""
  24339. #. type: deffn
  24340. #: guix-git/doc/guix.texi:16952
  24341. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  24342. msgstr ""
  24343. #. type: defvr
  24344. #: guix-git/doc/guix.texi:16954
  24345. #, no-wrap
  24346. msgid "{Scheme Variable} guix-service-type"
  24347. msgstr ""
  24348. #. type: defvr
  24349. #: guix-git/doc/guix.texi:16958
  24350. 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."
  24351. msgstr ""
  24352. #. type: anchor{#1}
  24353. #: guix-git/doc/guix.texi:16961
  24354. msgid "guix-configuration-type"
  24355. msgstr ""
  24356. #. type: deftp
  24357. #: guix-git/doc/guix.texi:16961
  24358. #, no-wrap
  24359. msgid "{Data Type} guix-configuration"
  24360. msgstr ""
  24361. #. type: deftp
  24362. #: guix-git/doc/guix.texi:16964
  24363. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  24364. msgstr ""
  24365. #. type: item
  24366. #: guix-git/doc/guix.texi:16966
  24367. #, no-wrap
  24368. msgid "@code{guix} (default: @var{guix})"
  24369. msgstr ""
  24370. #. type: table
  24371. #: guix-git/doc/guix.texi:16968 guix-git/doc/guix.texi:17245
  24372. msgid "The Guix package to use."
  24373. msgstr ""
  24374. #. type: item
  24375. #: guix-git/doc/guix.texi:16969
  24376. #, no-wrap
  24377. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  24378. msgstr ""
  24379. #. type: table
  24380. #: guix-git/doc/guix.texi:16971
  24381. msgid "Name of the group for build user accounts."
  24382. msgstr ""
  24383. #. type: item
  24384. #: guix-git/doc/guix.texi:16972
  24385. #, no-wrap
  24386. msgid "@code{build-accounts} (default: @code{10})"
  24387. msgstr ""
  24388. #. type: table
  24389. #: guix-git/doc/guix.texi:16974
  24390. msgid "Number of build user accounts to create."
  24391. msgstr ""
  24392. #. type: item
  24393. #: guix-git/doc/guix.texi:16975
  24394. #, no-wrap
  24395. msgid "@code{authorize-key?} (default: @code{#t})"
  24396. msgstr ""
  24397. #. type: table
  24398. #: guix-git/doc/guix.texi:16982
  24399. 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})."
  24400. msgstr ""
  24401. #. type: table
  24402. #: guix-git/doc/guix.texi:16988
  24403. 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."
  24404. msgstr ""
  24405. #. type: quotation
  24406. #: guix-git/doc/guix.texi:16995
  24407. 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}."
  24408. msgstr ""
  24409. #. type: vindex
  24410. #: guix-git/doc/guix.texi:16997
  24411. #, no-wrap
  24412. msgid "%default-authorized-guix-keys"
  24413. msgstr ""
  24414. #. type: item
  24415. #: guix-git/doc/guix.texi:16998
  24416. #, no-wrap
  24417. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  24418. msgstr ""
  24419. #. type: table
  24420. #: guix-git/doc/guix.texi:17004
  24421. 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."
  24422. msgstr ""
  24423. #. type: item
  24424. #: guix-git/doc/guix.texi:17005
  24425. #, no-wrap
  24426. msgid "@code{use-substitutes?} (default: @code{#t})"
  24427. msgstr ""
  24428. #. type: table
  24429. #: guix-git/doc/guix.texi:17007
  24430. msgid "Whether to use substitutes."
  24431. msgstr ""
  24432. #. type: item
  24433. #: guix-git/doc/guix.texi:17008 guix-git/doc/guix.texi:29604
  24434. #, no-wrap
  24435. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  24436. msgstr ""
  24437. #. type: table
  24438. #: guix-git/doc/guix.texi:17010 guix-git/doc/guix.texi:29606
  24439. msgid "The list of URLs where to look for substitutes by default."
  24440. msgstr ""
  24441. #. type: table
  24442. #: guix-git/doc/guix.texi:17017
  24443. 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:"
  24444. msgstr ""
  24445. #. type: lisp
  24446. #: guix-git/doc/guix.texi:17026
  24447. #, no-wrap
  24448. msgid ""
  24449. "(guix-configuration\n"
  24450. " (substitute-urls\n"
  24451. " (append (list \"https://guix.example.org\")\n"
  24452. " %default-substitute-urls))\n"
  24453. " (authorized-keys\n"
  24454. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  24455. " %default-authorized-guix-keys)))\n"
  24456. msgstr ""
  24457. #. type: table
  24458. #: guix-git/doc/guix.texi:17031
  24459. 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."
  24460. msgstr ""
  24461. #. type: item
  24462. #: guix-git/doc/guix.texi:17032
  24463. #, no-wrap
  24464. msgid "@code{max-silent-time} (default: @code{0})"
  24465. msgstr ""
  24466. #. type: itemx
  24467. #: guix-git/doc/guix.texi:17033
  24468. #, no-wrap
  24469. msgid "@code{timeout} (default: @code{0})"
  24470. msgstr ""
  24471. #. type: table
  24472. #: guix-git/doc/guix.texi:17037
  24473. 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."
  24474. msgstr ""
  24475. #. type: item
  24476. #: guix-git/doc/guix.texi:17038
  24477. #, no-wrap
  24478. msgid "@code{log-compression} (default: @code{'gzip})"
  24479. msgstr ""
  24480. #. type: table
  24481. #: guix-git/doc/guix.texi:17041
  24482. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  24483. msgstr ""
  24484. #. type: item
  24485. #: guix-git/doc/guix.texi:17042
  24486. #, no-wrap
  24487. msgid "@code{discover?} (default: @code{#f})"
  24488. msgstr ""
  24489. #. type: table
  24490. #: guix-git/doc/guix.texi:17048
  24491. msgid "List of extra command-line options for @command{guix-daemon}."
  24492. msgstr ""
  24493. #. type: item
  24494. #: guix-git/doc/guix.texi:17049
  24495. #, no-wrap
  24496. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  24497. msgstr ""
  24498. #. type: table
  24499. #: guix-git/doc/guix.texi:17052
  24500. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  24501. msgstr ""
  24502. #. type: cindex
  24503. #: guix-git/doc/guix.texi:17053
  24504. #, no-wrap
  24505. msgid "HTTP proxy, for @code{guix-daemon}"
  24506. msgstr ""
  24507. #. type: cindex
  24508. #: guix-git/doc/guix.texi:17054
  24509. #, no-wrap
  24510. msgid "proxy, for @code{guix-daemon} HTTP access"
  24511. msgstr ""
  24512. #. type: item
  24513. #: guix-git/doc/guix.texi:17055
  24514. #, no-wrap
  24515. msgid "@code{http-proxy} (default: @code{#f})"
  24516. msgstr ""
  24517. #. type: table
  24518. #: guix-git/doc/guix.texi:17058
  24519. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  24520. msgstr ""
  24521. #. type: table
  24522. #: guix-git/doc/guix.texi:17061
  24523. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  24524. msgstr ""
  24525. #. type: example
  24526. #: guix-git/doc/guix.texi:17064
  24527. #, no-wrap
  24528. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  24529. msgstr ""
  24530. #. type: table
  24531. #: guix-git/doc/guix.texi:17067
  24532. msgid "To clear the proxy settings, run:"
  24533. msgstr ""
  24534. #. type: example
  24535. #: guix-git/doc/guix.texi:17070
  24536. #, no-wrap
  24537. msgid "herd set-http-proxy guix-daemon\n"
  24538. msgstr ""
  24539. #. type: item
  24540. #: guix-git/doc/guix.texi:17072
  24541. #, no-wrap
  24542. msgid "@code{tmpdir} (default: @code{#f})"
  24543. msgstr ""
  24544. #. type: table
  24545. #: guix-git/doc/guix.texi:17074
  24546. msgid "A directory path where the @command{guix-daemon} will perform builds."
  24547. msgstr ""
  24548. #. type: deffn
  24549. #: guix-git/doc/guix.texi:17078
  24550. #, no-wrap
  24551. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  24552. msgstr ""
  24553. #. type: deffn
  24554. #: guix-git/doc/guix.texi:17084
  24555. 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."
  24556. msgstr ""
  24557. #. type: deffn
  24558. #: guix-git/doc/guix.texi:17087
  24559. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  24560. msgstr ""
  24561. #. type: deffn
  24562. #: guix-git/doc/guix.texi:17089
  24563. #, no-wrap
  24564. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  24565. msgstr ""
  24566. #. type: deffn
  24567. #: guix-git/doc/guix.texi:17092
  24568. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  24569. msgstr ""
  24570. #. type: deffn
  24571. #: guix-git/doc/guix.texi:17096
  24572. 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."
  24573. msgstr ""
  24574. #. type: lisp
  24575. #: guix-git/doc/guix.texi:17104
  24576. #, no-wrap
  24577. msgid ""
  24578. "(define %example-udev-rule\n"
  24579. " (udev-rule\n"
  24580. " \"90-usb-thing.rules\"\n"
  24581. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  24582. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  24583. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  24584. msgstr ""
  24585. #. type: deffn
  24586. #: guix-git/doc/guix.texi:17107
  24587. #, no-wrap
  24588. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  24589. msgstr ""
  24590. #. type: deffn
  24591. #: guix-git/doc/guix.texi:17114
  24592. 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."
  24593. msgstr ""
  24594. #. type: deffn
  24595. #: guix-git/doc/guix.texi:17117
  24596. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  24597. msgstr ""
  24598. #. type: lisp
  24599. #: guix-git/doc/guix.texi:17124
  24600. #, no-wrap
  24601. msgid ""
  24602. "(operating-system\n"
  24603. " ;; @dots{}\n"
  24604. " (services\n"
  24605. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  24606. " %desktop-services)))\n"
  24607. msgstr ""
  24608. #. type: deffn
  24609. #: guix-git/doc/guix.texi:17127
  24610. #, no-wrap
  24611. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  24612. msgstr ""
  24613. #. type: deffn
  24614. #: guix-git/doc/guix.texi:17130
  24615. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  24616. msgstr ""
  24617. #. type: deffn
  24618. #: guix-git/doc/guix.texi:17132
  24619. msgid "The following example showcases how we can use an existing rule file."
  24620. msgstr ""
  24621. #. type: lisp
  24622. #: guix-git/doc/guix.texi:17137
  24623. #, no-wrap
  24624. msgid ""
  24625. "(use-modules (guix download) ;for url-fetch\n"
  24626. " (guix packages) ;for origin\n"
  24627. " @dots{})\n"
  24628. "\n"
  24629. msgstr ""
  24630. #. type: lisp
  24631. #: guix-git/doc/guix.texi:17148
  24632. #, no-wrap
  24633. msgid ""
  24634. "(define %android-udev-rules\n"
  24635. " (file->udev-rule\n"
  24636. " \"51-android-udev.rules\"\n"
  24637. " (let ((version \"20170910\"))\n"
  24638. " (origin\n"
  24639. " (method url-fetch)\n"
  24640. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  24641. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  24642. " (sha256\n"
  24643. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  24644. msgstr ""
  24645. #. type: Plain text
  24646. #: guix-git/doc/guix.texi:17157
  24647. 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."
  24648. msgstr ""
  24649. #. type: Plain text
  24650. #: guix-git/doc/guix.texi:17166
  24651. 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."
  24652. msgstr ""
  24653. #. type: lisp
  24654. #: guix-git/doc/guix.texi:17171
  24655. #, no-wrap
  24656. msgid ""
  24657. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  24658. " (gnu system shadow) ;for user-group\n"
  24659. " @dots{})\n"
  24660. "\n"
  24661. msgstr ""
  24662. #. type: lisp
  24663. #: guix-git/doc/guix.texi:17184
  24664. #, no-wrap
  24665. msgid ""
  24666. "(operating-system\n"
  24667. " ;; @dots{}\n"
  24668. " (users (cons (user-account\n"
  24669. " ;; @dots{}\n"
  24670. " (supplementary-groups\n"
  24671. " '(\"adbusers\" ;for adb\n"
  24672. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  24673. " ;; @dots{}\n"
  24674. " (services\n"
  24675. " (cons (udev-rules-service 'android android-udev-rules\n"
  24676. " #:groups '(\"adbusers\"))\n"
  24677. " %desktop-services)))\n"
  24678. msgstr ""
  24679. #. type: defvr
  24680. #: guix-git/doc/guix.texi:17186
  24681. #, no-wrap
  24682. msgid "{Scheme Variable} urandom-seed-service-type"
  24683. msgstr ""
  24684. #. type: defvr
  24685. #: guix-git/doc/guix.texi:17191
  24686. 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."
  24687. msgstr ""
  24688. #. type: defvr
  24689. #: guix-git/doc/guix.texi:17193
  24690. #, no-wrap
  24691. msgid "{Scheme Variable} %random-seed-file"
  24692. msgstr ""
  24693. #. type: defvr
  24694. #: guix-git/doc/guix.texi:17197
  24695. 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}."
  24696. msgstr ""
  24697. #. type: cindex
  24698. #: guix-git/doc/guix.texi:17199
  24699. #, no-wrap
  24700. msgid "mouse"
  24701. msgstr ""
  24702. #. type: cindex
  24703. #: guix-git/doc/guix.texi:17200
  24704. #, no-wrap
  24705. msgid "gpm"
  24706. msgstr ""
  24707. #. type: defvr
  24708. #: guix-git/doc/guix.texi:17201
  24709. #, no-wrap
  24710. msgid "{Scheme Variable} gpm-service-type"
  24711. msgstr ""
  24712. #. type: defvr
  24713. #: guix-git/doc/guix.texi:17206
  24714. 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."
  24715. msgstr ""
  24716. #. type: defvr
  24717. #: guix-git/doc/guix.texi:17209
  24718. 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}."
  24719. msgstr ""
  24720. #. type: deftp
  24721. #: guix-git/doc/guix.texi:17211
  24722. #, no-wrap
  24723. msgid "{Data Type} gpm-configuration"
  24724. msgstr ""
  24725. #. type: deftp
  24726. #: guix-git/doc/guix.texi:17213
  24727. msgid "Data type representing the configuration of GPM."
  24728. msgstr ""
  24729. #. type: item
  24730. #: guix-git/doc/guix.texi:17215
  24731. #, no-wrap
  24732. msgid "@code{options} (default: @code{%default-gpm-options})"
  24733. msgstr ""
  24734. #. type: table
  24735. #: guix-git/doc/guix.texi:17220
  24736. 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."
  24737. msgstr ""
  24738. #. type: item
  24739. #: guix-git/doc/guix.texi:17221
  24740. #, no-wrap
  24741. msgid "@code{gpm} (default: @code{gpm})"
  24742. msgstr ""
  24743. #. type: table
  24744. #: guix-git/doc/guix.texi:17223
  24745. msgid "The GPM package to use."
  24746. msgstr ""
  24747. #. type: anchor{#1}
  24748. #: guix-git/doc/guix.texi:17228
  24749. msgid "guix-publish-service-type"
  24750. msgstr ""
  24751. #. type: deffn
  24752. #: guix-git/doc/guix.texi:17228
  24753. #, no-wrap
  24754. msgid "{Scheme Variable} guix-publish-service-type"
  24755. msgstr ""
  24756. #. type: deffn
  24757. #: guix-git/doc/guix.texi:17232
  24758. 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."
  24759. msgstr ""
  24760. #. type: deffn
  24761. #: guix-git/doc/guix.texi:17236
  24762. 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."
  24763. msgstr ""
  24764. #. type: deftp
  24765. #: guix-git/doc/guix.texi:17238
  24766. #, no-wrap
  24767. msgid "{Data Type} guix-publish-configuration"
  24768. msgstr ""
  24769. #. type: deftp
  24770. #: guix-git/doc/guix.texi:17241
  24771. msgid "Data type representing the configuration of the @code{guix publish} service."
  24772. msgstr ""
  24773. #. type: item
  24774. #: guix-git/doc/guix.texi:17243
  24775. #, no-wrap
  24776. msgid "@code{guix} (default: @code{guix})"
  24777. msgstr ""
  24778. #. type: item
  24779. #: guix-git/doc/guix.texi:17246 guix-git/doc/guix.texi:31942
  24780. #, no-wrap
  24781. msgid "@code{port} (default: @code{80})"
  24782. msgstr ""
  24783. #. type: table
  24784. #: guix-git/doc/guix.texi:17248
  24785. msgid "The TCP port to listen for connections."
  24786. msgstr ""
  24787. #. type: item
  24788. #: guix-git/doc/guix.texi:17249 guix-git/doc/guix.texi:29487
  24789. #: guix-git/doc/guix.texi:33323
  24790. #, no-wrap
  24791. msgid "@code{host} (default: @code{\"localhost\"})"
  24792. msgstr ""
  24793. #. type: table
  24794. #: guix-git/doc/guix.texi:17252
  24795. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  24796. msgstr ""
  24797. #. type: item
  24798. #: guix-git/doc/guix.texi:17253
  24799. #, no-wrap
  24800. msgid "@code{advertise?} (default: @code{#f})"
  24801. msgstr ""
  24802. #. type: table
  24803. #: guix-git/doc/guix.texi:17256
  24804. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  24805. msgstr ""
  24806. #. type: table
  24807. #: guix-git/doc/guix.texi:17260
  24808. 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."
  24809. msgstr ""
  24810. #. type: item
  24811. #: guix-git/doc/guix.texi:17261
  24812. #, no-wrap
  24813. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  24814. msgstr ""
  24815. #. type: table
  24816. #: guix-git/doc/guix.texi:17265
  24817. 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:"
  24818. msgstr ""
  24819. #. type: lisp
  24820. #: guix-git/doc/guix.texi:17268
  24821. #, no-wrap
  24822. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  24823. msgstr ""
  24824. #. type: table
  24825. #: guix-git/doc/guix.texi:17274
  24826. 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."
  24827. msgstr ""
  24828. #. type: table
  24829. #: guix-git/doc/guix.texi:17276
  24830. msgid "An empty list disables compression altogether."
  24831. msgstr ""
  24832. #. type: item
  24833. #: guix-git/doc/guix.texi:17277
  24834. #, no-wrap
  24835. msgid "@code{nar-path} (default: @code{\"nar\"})"
  24836. msgstr ""
  24837. #. type: table
  24838. #: guix-git/doc/guix.texi:17280
  24839. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  24840. msgstr ""
  24841. #. type: item
  24842. #: guix-git/doc/guix.texi:17281
  24843. #, no-wrap
  24844. msgid "@code{cache} (default: @code{#f})"
  24845. msgstr ""
  24846. #. type: table
  24847. #: guix-git/doc/guix.texi:17287
  24848. 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."
  24849. msgstr ""
  24850. #. type: item
  24851. #: guix-git/doc/guix.texi:17288
  24852. #, no-wrap
  24853. msgid "@code{workers} (default: @code{#f})"
  24854. msgstr ""
  24855. #. type: table
  24856. #: guix-git/doc/guix.texi:17292
  24857. 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."
  24858. msgstr ""
  24859. #. type: item
  24860. #: guix-git/doc/guix.texi:17293
  24861. #, no-wrap
  24862. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  24863. msgstr ""
  24864. #. type: table
  24865. #: guix-git/doc/guix.texi:17298
  24866. 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."
  24867. msgstr ""
  24868. #. type: item
  24869. #: guix-git/doc/guix.texi:17299 guix-git/doc/guix.texi:33824
  24870. #, no-wrap
  24871. msgid "@code{ttl} (default: @code{#f})"
  24872. msgstr ""
  24873. #. type: table
  24874. #: guix-git/doc/guix.texi:17303
  24875. 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."
  24876. msgstr ""
  24877. #. type: item
  24878. #: guix-git/doc/guix.texi:17304 guix-git/doc/guix.texi:33832
  24879. #, no-wrap
  24880. msgid "@code{negative-ttl} (default: @code{#f})"
  24881. msgstr ""
  24882. #. type: table
  24883. #: guix-git/doc/guix.texi:17308
  24884. msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds for the negative lookups. @xref{Invoking guix publish, @option{--negative-ttl}}, for more information."
  24885. msgstr ""
  24886. #. type: anchor{#1}
  24887. #: guix-git/doc/guix.texi:17312
  24888. msgid "rngd-service"
  24889. msgstr ""
  24890. #. type: deffn
  24891. #: guix-git/doc/guix.texi:17312
  24892. #, no-wrap
  24893. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  24894. msgstr ""
  24895. #. type: deffn
  24896. #: guix-git/doc/guix.texi:17317
  24897. 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."
  24898. msgstr ""
  24899. #. type: anchor{#1}
  24900. #: guix-git/doc/guix.texi:17320
  24901. msgid "pam-limits-service"
  24902. msgstr ""
  24903. #. type: cindex
  24904. #: guix-git/doc/guix.texi:17320
  24905. #, no-wrap
  24906. msgid "session limits"
  24907. msgstr ""
  24908. #. type: cindex
  24909. #: guix-git/doc/guix.texi:17321
  24910. #, no-wrap
  24911. msgid "ulimit"
  24912. msgstr ""
  24913. #. type: cindex
  24914. #: guix-git/doc/guix.texi:17322
  24915. #, no-wrap
  24916. msgid "priority"
  24917. msgstr ""
  24918. #. type: cindex
  24919. #: guix-git/doc/guix.texi:17323
  24920. #, no-wrap
  24921. msgid "realtime"
  24922. msgstr ""
  24923. #. type: cindex
  24924. #: guix-git/doc/guix.texi:17324
  24925. #, no-wrap
  24926. msgid "jackd"
  24927. msgstr ""
  24928. #. type: cindex
  24929. #: guix-git/doc/guix.texi:17325
  24930. #, no-wrap
  24931. msgid "nofile"
  24932. msgstr ""
  24933. #. type: cindex
  24934. #: guix-git/doc/guix.texi:17326
  24935. #, no-wrap
  24936. msgid "open file descriptors"
  24937. msgstr ""
  24938. #. type: deffn
  24939. #: guix-git/doc/guix.texi:17327
  24940. #, no-wrap
  24941. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  24942. msgstr ""
  24943. #. type: deffn
  24944. #: guix-git/doc/guix.texi:17334
  24945. 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."
  24946. msgstr ""
  24947. #. type: deffn
  24948. #: guix-git/doc/guix.texi:17337
  24949. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  24950. msgstr ""
  24951. #. type: lisp
  24952. #: guix-git/doc/guix.texi:17343
  24953. #, no-wrap
  24954. msgid ""
  24955. "(pam-limits-service\n"
  24956. " (list\n"
  24957. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  24958. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  24959. msgstr ""
  24960. #. type: deffn
  24961. #: guix-git/doc/guix.texi:17349
  24962. 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."
  24963. msgstr ""
  24964. #. type: deffn
  24965. #: guix-git/doc/guix.texi:17352
  24966. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  24967. msgstr ""
  24968. #. type: lisp
  24969. #: guix-git/doc/guix.texi:17357
  24970. #, no-wrap
  24971. msgid ""
  24972. "(pam-limits-service\n"
  24973. " (list\n"
  24974. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  24975. msgstr ""
  24976. #. type: deffn
  24977. #: guix-git/doc/guix.texi:17365
  24978. 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."
  24979. msgstr ""
  24980. #. type: cindex
  24981. #: guix-git/doc/guix.texi:17370 guix-git/doc/guix.texi:38012
  24982. #, no-wrap
  24983. msgid "cron"
  24984. msgstr ""
  24985. #. type: cindex
  24986. #: guix-git/doc/guix.texi:17371 guix-git/doc/guix.texi:38013
  24987. #, no-wrap
  24988. msgid "mcron"
  24989. msgstr ""
  24990. #. type: cindex
  24991. #: guix-git/doc/guix.texi:17372 guix-git/doc/guix.texi:38014
  24992. #, no-wrap
  24993. msgid "scheduling jobs"
  24994. msgstr ""
  24995. #. type: Plain text
  24996. #: guix-git/doc/guix.texi:17379
  24997. 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."
  24998. msgstr ""
  24999. #. type: Plain text
  25000. #: guix-git/doc/guix.texi:17387
  25001. 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})."
  25002. msgstr ""
  25003. #. type: lisp
  25004. #: guix-git/doc/guix.texi:17391
  25005. #, no-wrap
  25006. msgid ""
  25007. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  25008. "(use-package-modules base idutils)\n"
  25009. "\n"
  25010. msgstr ""
  25011. #. type: lisp
  25012. #: guix-git/doc/guix.texi:17401
  25013. #, no-wrap
  25014. msgid ""
  25015. "(define updatedb-job\n"
  25016. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  25017. " ;; job's action as a Scheme procedure.\n"
  25018. " #~(job '(next-hour '(3))\n"
  25019. " (lambda ()\n"
  25020. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  25021. " \"updatedb\"\n"
  25022. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  25023. " \"updatedb\"))\n"
  25024. "\n"
  25025. msgstr ""
  25026. #. type: lisp
  25027. #: guix-git/doc/guix.texi:17407
  25028. #, no-wrap
  25029. msgid ""
  25030. "(define garbage-collector-job\n"
  25031. " ;; Collect garbage 5 minutes after midnight every day.\n"
  25032. " ;; The job's action is a shell command.\n"
  25033. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  25034. " \"guix gc -F 1G\"))\n"
  25035. "\n"
  25036. msgstr ""
  25037. #. type: lisp
  25038. #: guix-git/doc/guix.texi:17414
  25039. #, no-wrap
  25040. msgid ""
  25041. "(define idutils-job\n"
  25042. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  25043. " ;; and 19:15PM. This runs from the user's home directory.\n"
  25044. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  25045. " (string-append #$idutils \"/bin/mkid src\")\n"
  25046. " #:user \"charlie\"))\n"
  25047. "\n"
  25048. msgstr ""
  25049. #. type: lisp
  25050. #: guix-git/doc/guix.texi:17417
  25051. #, no-wrap
  25052. msgid ""
  25053. "(operating-system\n"
  25054. " ;; @dots{}\n"
  25055. "\n"
  25056. msgstr ""
  25057. #. type: lisp
  25058. #: guix-git/doc/guix.texi:17427
  25059. #, no-wrap
  25060. msgid ""
  25061. " ;; %BASE-SERVICES already includes an instance of\n"
  25062. " ;; 'mcron-service-type', which we extend with additional\n"
  25063. " ;; jobs using 'simple-service'.\n"
  25064. " (services (cons (simple-service 'my-cron-jobs\n"
  25065. " mcron-service-type\n"
  25066. " (list garbage-collector-job\n"
  25067. " updatedb-job\n"
  25068. " idutils-job))\n"
  25069. " %base-services)))\n"
  25070. msgstr ""
  25071. #. type: quotation
  25072. #: guix-git/doc/guix.texi:17429
  25073. #, no-wrap
  25074. msgid "Tip"
  25075. msgstr ""
  25076. #. type: quotation
  25077. #: guix-git/doc/guix.texi:17435
  25078. 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!"
  25079. msgstr ""
  25080. #. type: Plain text
  25081. #: guix-git/doc/guix.texi:17442
  25082. 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."
  25083. msgstr ""
  25084. #. type: lisp
  25085. #: guix-git/doc/guix.texi:17458
  25086. #, no-wrap
  25087. msgid ""
  25088. "(define %battery-alert-job\n"
  25089. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  25090. " #~(job\n"
  25091. " '(next-minute (range 0 60 1))\n"
  25092. " #$(program-file\n"
  25093. " \"battery-alert.scm\"\n"
  25094. " (with-imported-modules (source-module-closure\n"
  25095. " '((guix build utils)))\n"
  25096. " #~(begin\n"
  25097. " (use-modules (guix build utils)\n"
  25098. " (ice-9 popen)\n"
  25099. " (ice-9 regex)\n"
  25100. " (ice-9 textual-ports)\n"
  25101. " (srfi srfi-2))\n"
  25102. "\n"
  25103. msgstr ""
  25104. #. type: lisp
  25105. #: guix-git/doc/guix.texi:17460
  25106. #, no-wrap
  25107. msgid ""
  25108. " (define %min-level 20)\n"
  25109. "\n"
  25110. msgstr ""
  25111. #. type: lisp
  25112. #: guix-git/doc/guix.texi:17471
  25113. #, no-wrap
  25114. msgid ""
  25115. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  25116. " (and-let* ((input-pipe (open-pipe*\n"
  25117. " OPEN_READ\n"
  25118. " #$(file-append acpi \"/bin/acpi\")))\n"
  25119. " (output (get-string-all input-pipe))\n"
  25120. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  25121. " (level (string->number (match:substring m 1)))\n"
  25122. " ((< level %min-level)))\n"
  25123. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  25124. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  25125. msgstr ""
  25126. #. type: Plain text
  25127. #: guix-git/doc/guix.texi:17476
  25128. 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."
  25129. msgstr ""
  25130. #. type: Plain text
  25131. #: guix-git/doc/guix.texi:17479
  25132. 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:"
  25133. msgstr ""
  25134. #. type: example
  25135. #: guix-git/doc/guix.texi:17482
  25136. #, no-wrap
  25137. msgid "# herd schedule mcron\n"
  25138. msgstr ""
  25139. #. type: Plain text
  25140. #: guix-git/doc/guix.texi:17487
  25141. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  25142. msgstr ""
  25143. #. type: example
  25144. #: guix-git/doc/guix.texi:17490
  25145. #, no-wrap
  25146. msgid "# herd schedule mcron 10\n"
  25147. msgstr ""
  25148. #. type: defvr
  25149. #: guix-git/doc/guix.texi:17492
  25150. #, no-wrap
  25151. msgid "{Scheme Variable} mcron-service-type"
  25152. msgstr ""
  25153. #. type: defvr
  25154. #: guix-git/doc/guix.texi:17495
  25155. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  25156. msgstr ""
  25157. #. type: defvr
  25158. #: guix-git/doc/guix.texi:17500 guix-git/doc/guix.texi:38033
  25159. msgid "This service type can be the target of a service extension that provides additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  25160. msgstr ""
  25161. #. type: deftp
  25162. #: guix-git/doc/guix.texi:17502
  25163. #, no-wrap
  25164. msgid "{Data Type} mcron-configuration"
  25165. msgstr ""
  25166. #. type: deftp
  25167. #: guix-git/doc/guix.texi:17504 guix-git/doc/guix.texi:38037
  25168. msgid "Data type representing the configuration of mcron."
  25169. msgstr ""
  25170. #. type: item
  25171. #: guix-git/doc/guix.texi:17506 guix-git/doc/guix.texi:38039
  25172. #, no-wrap
  25173. msgid "@code{mcron} (default: @var{mcron})"
  25174. msgstr ""
  25175. #. type: table
  25176. #: guix-git/doc/guix.texi:17508 guix-git/doc/guix.texi:38041
  25177. msgid "The mcron package to use."
  25178. msgstr ""
  25179. #. type: code{#1}
  25180. #: guix-git/doc/guix.texi:17509 guix-git/doc/guix.texi:17578
  25181. #: guix-git/doc/guix.texi:38042
  25182. #, no-wrap
  25183. msgid "jobs"
  25184. msgstr ""
  25185. #. type: table
  25186. #: guix-git/doc/guix.texi:17513 guix-git/doc/guix.texi:38046
  25187. 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})."
  25188. msgstr ""
  25189. #. type: cindex
  25190. #: guix-git/doc/guix.texi:17520
  25191. #, no-wrap
  25192. msgid "rottlog"
  25193. msgstr ""
  25194. #. type: cindex
  25195. #: guix-git/doc/guix.texi:17521
  25196. #, no-wrap
  25197. msgid "log rotation"
  25198. msgstr ""
  25199. #. type: Plain text
  25200. #: guix-git/doc/guix.texi:17528
  25201. 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})."
  25202. msgstr ""
  25203. #. type: Plain text
  25204. #: guix-git/doc/guix.texi:17534
  25205. 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):"
  25206. msgstr ""
  25207. #. type: lisp
  25208. #: guix-git/doc/guix.texi:17538
  25209. #, no-wrap
  25210. msgid ""
  25211. "(use-modules (guix) (gnu))\n"
  25212. "(use-service-modules admin)\n"
  25213. "\n"
  25214. msgstr ""
  25215. #. type: lisp
  25216. #: guix-git/doc/guix.texi:17542
  25217. #, no-wrap
  25218. msgid ""
  25219. "(define my-log-files\n"
  25220. " ;; Log files that I want to rotate.\n"
  25221. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  25222. "\n"
  25223. msgstr ""
  25224. #. type: lisp
  25225. #: guix-git/doc/guix.texi:17551
  25226. #, no-wrap
  25227. msgid ""
  25228. "(operating-system\n"
  25229. " ;; @dots{}\n"
  25230. " (services (cons (simple-service 'rotate-my-stuff\n"
  25231. " rottlog-service-type\n"
  25232. " (list (log-rotation\n"
  25233. " (frequency 'daily)\n"
  25234. " (files my-log-files))))\n"
  25235. " %base-services)))\n"
  25236. msgstr ""
  25237. #. type: defvr
  25238. #: guix-git/doc/guix.texi:17553
  25239. #, no-wrap
  25240. msgid "{Scheme Variable} rottlog-service-type"
  25241. msgstr ""
  25242. #. type: defvr
  25243. #: guix-git/doc/guix.texi:17556
  25244. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  25245. msgstr ""
  25246. #. type: defvr
  25247. #: guix-git/doc/guix.texi:17559
  25248. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  25249. msgstr ""
  25250. #. type: defvr
  25251. #: guix-git/doc/guix.texi:17562
  25252. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  25253. msgstr ""
  25254. #. type: deftp
  25255. #: guix-git/doc/guix.texi:17564
  25256. #, no-wrap
  25257. msgid "{Data Type} rottlog-configuration"
  25258. msgstr ""
  25259. #. type: deftp
  25260. #: guix-git/doc/guix.texi:17566
  25261. msgid "Data type representing the configuration of rottlog."
  25262. msgstr ""
  25263. #. type: item
  25264. #: guix-git/doc/guix.texi:17568
  25265. #, no-wrap
  25266. msgid "@code{rottlog} (default: @code{rottlog})"
  25267. msgstr ""
  25268. #. type: table
  25269. #: guix-git/doc/guix.texi:17570
  25270. msgid "The Rottlog package to use."
  25271. msgstr ""
  25272. #. type: item
  25273. #: guix-git/doc/guix.texi:17571
  25274. #, no-wrap
  25275. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  25276. msgstr ""
  25277. #. type: table
  25278. #: guix-git/doc/guix.texi:17574
  25279. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  25280. msgstr ""
  25281. #. type: item
  25282. #: guix-git/doc/guix.texi:17575
  25283. #, no-wrap
  25284. msgid "@code{rotations} (default: @code{%default-rotations})"
  25285. msgstr ""
  25286. #. type: table
  25287. #: guix-git/doc/guix.texi:17577
  25288. msgid "A list of @code{log-rotation} objects as defined below."
  25289. msgstr ""
  25290. #. type: table
  25291. #: guix-git/doc/guix.texi:17581
  25292. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  25293. msgstr ""
  25294. #. type: deftp
  25295. #: guix-git/doc/guix.texi:17584
  25296. #, no-wrap
  25297. msgid "{Data Type} log-rotation"
  25298. msgstr ""
  25299. #. type: deftp
  25300. #: guix-git/doc/guix.texi:17586
  25301. msgid "Data type representing the rotation of a group of log files."
  25302. msgstr ""
  25303. #. type: deftp
  25304. #: guix-git/doc/guix.texi:17590
  25305. 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:"
  25306. msgstr ""
  25307. #. type: lisp
  25308. #: guix-git/doc/guix.texi:17599
  25309. #, no-wrap
  25310. msgid ""
  25311. "(log-rotation\n"
  25312. " (frequency 'daily)\n"
  25313. " (files '(\"/var/log/apache/*\"))\n"
  25314. " (options '(\"storedir apache-archives\"\n"
  25315. " \"rotate 6\"\n"
  25316. " \"notifempty\"\n"
  25317. " \"nocompress\")))\n"
  25318. msgstr ""
  25319. #. type: deftp
  25320. #: guix-git/doc/guix.texi:17602
  25321. msgid "The list of fields is as follows:"
  25322. msgstr ""
  25323. #. type: item
  25324. #: guix-git/doc/guix.texi:17604
  25325. #, no-wrap
  25326. msgid "@code{frequency} (default: @code{'weekly})"
  25327. msgstr ""
  25328. #. type: table
  25329. #: guix-git/doc/guix.texi:17606
  25330. msgid "The log rotation frequency, a symbol."
  25331. msgstr ""
  25332. #. type: table
  25333. #: guix-git/doc/guix.texi:17609
  25334. msgid "The list of files or file glob patterns to rotate."
  25335. msgstr ""
  25336. #. type: item
  25337. #: guix-git/doc/guix.texi:17610
  25338. #, no-wrap
  25339. msgid "@code{options} (default: @code{'()})"
  25340. msgstr ""
  25341. #. type: table
  25342. #: guix-git/doc/guix.texi:17613
  25343. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  25344. msgstr ""
  25345. #. type: item
  25346. #: guix-git/doc/guix.texi:17614
  25347. #, no-wrap
  25348. msgid "@code{post-rotate} (default: @code{#f})"
  25349. msgstr ""
  25350. #. type: table
  25351. #: guix-git/doc/guix.texi:17616
  25352. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  25353. msgstr ""
  25354. #. type: defvr
  25355. #: guix-git/doc/guix.texi:17619
  25356. #, no-wrap
  25357. msgid "{Scheme Variable} %default-rotations"
  25358. msgstr ""
  25359. #. type: defvr
  25360. #: guix-git/doc/guix.texi:17622
  25361. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  25362. msgstr ""
  25363. #. type: defvr
  25364. #: guix-git/doc/guix.texi:17624
  25365. #, no-wrap
  25366. msgid "{Scheme Variable} %rotated-files"
  25367. msgstr ""
  25368. #. type: defvr
  25369. #: guix-git/doc/guix.texi:17628
  25370. 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\")}."
  25371. msgstr ""
  25372. #. type: Plain text
  25373. #: guix-git/doc/guix.texi:17641
  25374. msgid "The @code{(gnu services networking)} module provides services to configure network interfaces and set up networking on your machine. Those services provide different ways for you to set up your machine: by declaring a static network configuration, by running a Dynamic Host Configuration Protocol (DHCP) client, or by running daemons such as NetworkManager and Connman that automate the whole process, automatically adapt to connectivity changes, and provide a high-level user interface."
  25375. msgstr ""
  25376. #. type: Plain text
  25377. #: guix-git/doc/guix.texi:17647
  25378. msgid "On a laptop, NetworkManager and Connman are by far the most convenient options, which is why the default desktop services include NetworkManager (@pxref{Desktop Services, @code{%desktop-services}}). For a server, or for a virtual machine or a container, static network configuration or a simple DHCP client are often more appropriate."
  25379. msgstr ""
  25380. #. type: Plain text
  25381. #: guix-git/doc/guix.texi:17650
  25382. msgid "This section describes the various network setup services available, starting with static network configuration."
  25383. msgstr ""
  25384. #. type: defvr
  25385. #: guix-git/doc/guix.texi:17651
  25386. #, no-wrap
  25387. msgid "{Scheme Variable} static-networking-service-type"
  25388. msgstr ""
  25389. #. type: defvr
  25390. #: guix-git/doc/guix.texi:17656
  25391. msgid "This is the type for statically-configured network interfaces. Its value must be a list of @code{static-networking} records. Each of them declares a set of @dfn{addresses}, @dfn{routes}, and @dfn{links}, as show below."
  25392. msgstr ""
  25393. #. type: cindex
  25394. #: guix-git/doc/guix.texi:17657
  25395. #, no-wrap
  25396. msgid "network interface controller (NIC)"
  25397. msgstr ""
  25398. #. type: cindex
  25399. #: guix-git/doc/guix.texi:17658
  25400. #, no-wrap
  25401. msgid "NIC, networking interface controller"
  25402. msgstr ""
  25403. #. type: defvr
  25404. #: guix-git/doc/guix.texi:17661
  25405. msgid "Here is the simplest configuration, with only one network interface controller (NIC) and only IPv4 connectivity:"
  25406. msgstr ""
  25407. #. type: lisp
  25408. #: guix-git/doc/guix.texi:17675
  25409. #, no-wrap
  25410. msgid ""
  25411. ";; Static networking for one NIC, IPv4-only.\n"
  25412. "(service static-networking-service-type\n"
  25413. " (list (static-networking\n"
  25414. " (addresses\n"
  25415. " (list (network-address\n"
  25416. " (device \"eno1\")\n"
  25417. " (value \"10.0.2.15/24\"))))\n"
  25418. " (routes\n"
  25419. " (list (network-route\n"
  25420. " (destination \"default\")\n"
  25421. " (gateway \"10.0.2.2\"))))\n"
  25422. " (name-servers '(\"10.0.2.3\")))))\n"
  25423. msgstr ""
  25424. #. type: defvr
  25425. #: guix-git/doc/guix.texi:17684
  25426. msgid "The snippet above can be added to the @code{services} field of your operating system configuration (@pxref{Using the Configuration System}). It will configure your machine to have 10.0.2.15 as its IP address, with a 24-bit netmask for the local network---meaning that any 10.0.2.@var{x} address is on the local area network (LAN). Traffic to addresses outside the local network is routed @i{via} 10.0.2.2. Host names are resolved by sending domain name system (DNS) queries to 10.0.2.3."
  25427. msgstr ""
  25428. #. type: deftp
  25429. #: guix-git/doc/guix.texi:17686
  25430. #, no-wrap
  25431. msgid "{Data Type} static-networking"
  25432. msgstr ""
  25433. #. type: deftp
  25434. #: guix-git/doc/guix.texi:17688
  25435. msgid "This is the data type representing a static network configuration."
  25436. msgstr ""
  25437. #. type: deftp
  25438. #: guix-git/doc/guix.texi:17692
  25439. msgid "As an example, here is how you would declare the configuration of a machine with a single network interface controller (NIC) available as @code{eno1}, and with one IPv4 and one IPv6 address:"
  25440. msgstr ""
  25441. #. type: lisp
  25442. #: guix-git/doc/guix.texi:17709
  25443. #, no-wrap
  25444. msgid ""
  25445. ";; Network configuration for one NIC, IPv4 + IPv6.\n"
  25446. "(static-networking\n"
  25447. " (addresses (list (network-address\n"
  25448. " (device \"eno1\")\n"
  25449. " (value \"10.0.2.15/24\"))\n"
  25450. " (network-address\n"
  25451. " (device \"eno1\")\n"
  25452. " (value \"2001:123:4567:101::1/64\"))))\n"
  25453. " (routes (list (network-route\n"
  25454. " (destination \"default\")\n"
  25455. " (gateway \"10.0.2.2\"))\n"
  25456. " (network-route\n"
  25457. " (destination \"default\")\n"
  25458. " (gateway \"2020:321:4567:42::1\"))))\n"
  25459. " (name-servers '(\"10.0.2.3\")))\n"
  25460. msgstr ""
  25461. #. type: deftp
  25462. #: guix-git/doc/guix.texi:17715
  25463. msgid "If you are familiar with the @command{ip} command of the @uref{https://wiki.linuxfoundation.org/networking/iproute2, @code{iproute2} package} found on Linux-based systems, the declaration above is equivalent to typing:"
  25464. msgstr ""
  25465. #. type: example
  25466. #: guix-git/doc/guix.texi:17721
  25467. #, no-wrap
  25468. msgid ""
  25469. "ip address add 10.0.2.15/24 dev eno1\n"
  25470. "ip address add 2001:123:4567:101::1/64 dev eno1\n"
  25471. "ip route add default via inet 10.0.2.2\n"
  25472. "ip route add default via inet6 2020:321:4567:42::1\n"
  25473. msgstr ""
  25474. #. type: deftp
  25475. #: guix-git/doc/guix.texi:17726
  25476. msgid "Run @command{man 8 ip} for more info. Venerable GNU/Linux users will certainly know how to do it with @command{ifconfig} and @command{route}, but we'll spare you that."
  25477. msgstr ""
  25478. #. type: deftp
  25479. #: guix-git/doc/guix.texi:17728
  25480. msgid "The available fields of this data type are as follows:"
  25481. msgstr ""
  25482. #. type: code{#1}
  25483. #: guix-git/doc/guix.texi:17730
  25484. #, no-wrap
  25485. msgid "addresses"
  25486. msgstr ""
  25487. #. type: itemx
  25488. #: guix-git/doc/guix.texi:17731
  25489. #, no-wrap
  25490. msgid "@code{links} (default: @code{'()})"
  25491. msgstr ""
  25492. #. type: itemx
  25493. #: guix-git/doc/guix.texi:17732
  25494. #, no-wrap
  25495. msgid "@code{routes} (default: @code{'()})"
  25496. msgstr ""
  25497. #. type: table
  25498. #: guix-git/doc/guix.texi:17735
  25499. msgid "The list of @code{network-address}, @code{network-link}, and @code{network-route} records for this network (see below)."
  25500. msgstr ""
  25501. #. type: item
  25502. #: guix-git/doc/guix.texi:17736
  25503. #, no-wrap
  25504. msgid "@code{name-servers} (default: @code{'()})"
  25505. msgstr ""
  25506. #. type: table
  25507. #: guix-git/doc/guix.texi:17739
  25508. msgid "The list of IP addresses (strings) of domain name servers. These IP addresses go to @file{/etc/resolv.conf}."
  25509. msgstr ""
  25510. #. type: item
  25511. #: guix-git/doc/guix.texi:17740
  25512. #, no-wrap
  25513. msgid "@code{provision} (default: @code{'(networking)})"
  25514. msgstr ""
  25515. #. type: table
  25516. #: guix-git/doc/guix.texi:17743
  25517. msgid "If true, this should be a list of symbols for the Shepherd service corresponding to this network configuration."
  25518. msgstr ""
  25519. #. type: item
  25520. #: guix-git/doc/guix.texi:17744
  25521. #, no-wrap
  25522. msgid "@code{requirement} (default @code{'()})"
  25523. msgstr ""
  25524. #. type: table
  25525. #: guix-git/doc/guix.texi:17746
  25526. msgid "The list of Shepherd services depended on."
  25527. msgstr ""
  25528. #. type: deftp
  25529. #: guix-git/doc/guix.texi:17749
  25530. #, no-wrap
  25531. msgid "{Data Type} network-address"
  25532. msgstr ""
  25533. #. type: deftp
  25534. #: guix-git/doc/guix.texi:17752
  25535. msgid "This is the data type representing the IP address of a network interface."
  25536. msgstr ""
  25537. #. type: table
  25538. #: guix-git/doc/guix.texi:17757
  25539. msgid "The name of the network interface for this address---e.g., @code{\"eno1\"}."
  25540. msgstr ""
  25541. #. type: item
  25542. #: guix-git/doc/guix.texi:17758
  25543. #, no-wrap
  25544. msgid "value"
  25545. msgstr ""
  25546. #. type: table
  25547. #: guix-git/doc/guix.texi:17762
  25548. msgid "The actual IP address and network mask, in @uref{https://en.wikipedia.org/wiki/CIDR#CIDR_notation, @acronym{CIDR, Classless Inter-Domain Routing} notation}, as a string."
  25549. msgstr ""
  25550. #. type: table
  25551. #: guix-git/doc/guix.texi:17766
  25552. msgid "For example, @code{\"10.0.2.15/24\"} denotes IPv4 address 10.0.2.15 on a 24-bit sub-network---all 10.0.2.@var{x} addresses are on the same local network."
  25553. msgstr ""
  25554. #. type: item
  25555. #: guix-git/doc/guix.texi:17767
  25556. #, no-wrap
  25557. msgid "ipv6?"
  25558. msgstr ""
  25559. #. type: table
  25560. #: guix-git/doc/guix.texi:17770
  25561. msgid "Whether @code{value} denotes an IPv6 address. By default this is automatically determined."
  25562. msgstr ""
  25563. #. type: deftp
  25564. #: guix-git/doc/guix.texi:17773
  25565. #, no-wrap
  25566. msgid "{Data Type} network-route"
  25567. msgstr ""
  25568. #. type: deftp
  25569. #: guix-git/doc/guix.texi:17775
  25570. msgid "This is the data type representing a network route."
  25571. msgstr ""
  25572. #. type: code{#1}
  25573. #: guix-git/doc/guix.texi:17777
  25574. #, no-wrap
  25575. msgid "destination"
  25576. msgstr ""
  25577. #. type: table
  25578. #: guix-git/doc/guix.texi:17780
  25579. msgid "The route destination (a string), either an IP address or @code{\"default\"} to denote the default route."
  25580. msgstr ""
  25581. #. type: item
  25582. #: guix-git/doc/guix.texi:17781
  25583. #, no-wrap
  25584. msgid "@code{source} (default: @code{#f})"
  25585. msgstr ""
  25586. #. type: table
  25587. #: guix-git/doc/guix.texi:17783
  25588. msgid "The route source."
  25589. msgstr ""
  25590. #. type: item
  25591. #: guix-git/doc/guix.texi:17784 guix-git/doc/guix.texi:35314
  25592. #, no-wrap
  25593. msgid "@code{device} (default: @code{#f})"
  25594. msgstr ""
  25595. #. type: table
  25596. #: guix-git/doc/guix.texi:17786
  25597. msgid "The device used for this route---e.g., @code{\"eno2\"}."
  25598. msgstr ""
  25599. #. type: item
  25600. #: guix-git/doc/guix.texi:17787
  25601. #, no-wrap
  25602. msgid "@code{ipv6?} (default: auto)"
  25603. msgstr ""
  25604. #. type: table
  25605. #: guix-git/doc/guix.texi:17790
  25606. msgid "Whether this is an IPv6 route. By default this is automatically determined based on @code{destination} or @code{gateway}."
  25607. msgstr ""
  25608. #. type: item
  25609. #: guix-git/doc/guix.texi:17791
  25610. #, no-wrap
  25611. msgid "@code{gateway} (default: @code{#f})"
  25612. msgstr ""
  25613. #. type: table
  25614. #: guix-git/doc/guix.texi:17793
  25615. msgid "IP address (a string) through which traffic is routed."
  25616. msgstr ""
  25617. #. type: deftp
  25618. #: guix-git/doc/guix.texi:17796
  25619. #, no-wrap
  25620. msgid "{Data Type} network-link"
  25621. msgstr ""
  25622. #. type: deftp
  25623. #: guix-git/doc/guix.texi:17799
  25624. msgid "Data type for a network link (@pxref{Link,,, guile-netlink, Guile-Netlink Manual})."
  25625. msgstr ""
  25626. #. type: table
  25627. #: guix-git/doc/guix.texi:17803
  25628. msgid "The name of the link---e.g., @code{\"v0p0\"}."
  25629. msgstr ""
  25630. #. type: table
  25631. #: guix-git/doc/guix.texi:17806
  25632. msgid "A symbol denoting the type of the link---e.g., @code{'veth}."
  25633. msgstr ""
  25634. #. type: item
  25635. #: guix-git/doc/guix.texi:17807
  25636. #, no-wrap
  25637. msgid "arguments"
  25638. msgstr ""
  25639. #. type: table
  25640. #: guix-git/doc/guix.texi:17809
  25641. msgid "List of arguments for this type of link."
  25642. msgstr ""
  25643. #. type: cindex
  25644. #: guix-git/doc/guix.texi:17812
  25645. #, no-wrap
  25646. msgid "loopback device"
  25647. msgstr ""
  25648. #. type: defvr
  25649. #: guix-git/doc/guix.texi:17813
  25650. #, no-wrap
  25651. msgid "{Scheme Variable} %loopback-static-networking"
  25652. msgstr ""
  25653. #. type: defvr
  25654. #: guix-git/doc/guix.texi:17817
  25655. msgid "This is the @code{static-networking} record representing the ``loopback device'', @code{lo}, for IP addresses 127.0.0.1 and ::1, and providing the @code{loopback} Shepherd service."
  25656. msgstr ""
  25657. #. type: cindex
  25658. #: guix-git/doc/guix.texi:17819
  25659. #, no-wrap
  25660. msgid "networking, with QEMU"
  25661. msgstr ""
  25662. #. type: cindex
  25663. #: guix-git/doc/guix.texi:17820
  25664. #, no-wrap
  25665. msgid "QEMU, networking"
  25666. msgstr ""
  25667. #. type: defvr
  25668. #: guix-git/doc/guix.texi:17821
  25669. #, no-wrap
  25670. msgid "{Scheme Variable} %qemu-static-networking"
  25671. msgstr ""
  25672. #. type: defvr
  25673. #: guix-git/doc/guix.texi:17825
  25674. msgid "This is the @code{static-networking} record representing network setup when using QEMU's user-mode network stack on @code{eth0} (@pxref{Using the user mode network stack,,, QEMU, QEMU Documentation})."
  25675. msgstr ""
  25676. #. type: cindex
  25677. #: guix-git/doc/guix.texi:17827
  25678. #, no-wrap
  25679. msgid "DHCP, networking service"
  25680. msgstr ""
  25681. #. type: defvr
  25682. #: guix-git/doc/guix.texi:17828
  25683. #, no-wrap
  25684. msgid "{Scheme Variable} dhcp-client-service-type"
  25685. msgstr ""
  25686. #. type: defvr
  25687. #: guix-git/doc/guix.texi:17832
  25688. 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."
  25689. msgstr ""
  25690. #. type: cindex
  25691. #: guix-git/doc/guix.texi:17834
  25692. #, no-wrap
  25693. msgid "NetworkManager"
  25694. msgstr ""
  25695. #. type: defvr
  25696. #: guix-git/doc/guix.texi:17836
  25697. #, no-wrap
  25698. msgid "{Scheme Variable} network-manager-service-type"
  25699. msgstr ""
  25700. #. type: defvr
  25701. #: guix-git/doc/guix.texi:17841
  25702. 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."
  25703. msgstr ""
  25704. #. type: defvr
  25705. #: guix-git/doc/guix.texi:17844 guix-git/doc/guix.texi:17996
  25706. #: guix-git/doc/guix.texi:18025
  25707. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  25708. msgstr ""
  25709. #. type: deftp
  25710. #: guix-git/doc/guix.texi:17846
  25711. #, no-wrap
  25712. msgid "{Data Type} network-manager-configuration"
  25713. msgstr ""
  25714. #. type: deftp
  25715. #: guix-git/doc/guix.texi:17848
  25716. msgid "Data type representing the configuration of NetworkManager."
  25717. msgstr ""
  25718. #. type: item
  25719. #: guix-git/doc/guix.texi:17850
  25720. #, no-wrap
  25721. msgid "@code{network-manager} (default: @code{network-manager})"
  25722. msgstr ""
  25723. #. type: table
  25724. #: guix-git/doc/guix.texi:17852
  25725. msgid "The NetworkManager package to use."
  25726. msgstr ""
  25727. #. type: item
  25728. #: guix-git/doc/guix.texi:17853
  25729. #, no-wrap
  25730. msgid "@code{dns} (default: @code{\"default\"})"
  25731. msgstr ""
  25732. #. type: table
  25733. #: guix-git/doc/guix.texi:17856
  25734. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  25735. msgstr ""
  25736. #. type: table
  25737. #: guix-git/doc/guix.texi:17861
  25738. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  25739. msgstr ""
  25740. #. type: item
  25741. #: guix-git/doc/guix.texi:17862
  25742. #, no-wrap
  25743. msgid "dnsmasq"
  25744. msgstr ""
  25745. #. type: table
  25746. #: guix-git/doc/guix.texi:17866
  25747. 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."
  25748. msgstr ""
  25749. #. type: table
  25750. #: guix-git/doc/guix.texi:17872
  25751. 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)."
  25752. msgstr ""
  25753. #. type: table
  25754. #: guix-git/doc/guix.texi:17879
  25755. 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:"
  25756. msgstr ""
  25757. #. type: example
  25758. #: guix-git/doc/guix.texi:17886
  25759. #, no-wrap
  25760. msgid ""
  25761. "nmcli connection add type tun \\\n"
  25762. " connection.interface-name tap0 \\\n"
  25763. " tun.mode tap tun.owner $(id -u) \\\n"
  25764. " ipv4.method shared \\\n"
  25765. " ipv4.addresses 172.28.112.1/24\n"
  25766. msgstr ""
  25767. #. type: table
  25768. #: guix-git/doc/guix.texi:17891
  25769. 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-...}."
  25770. msgstr ""
  25771. #. type: table
  25772. #: guix-git/doc/guix.texi:17894
  25773. msgid "NetworkManager will not modify @code{resolv.conf}."
  25774. msgstr ""
  25775. #. type: item
  25776. #: guix-git/doc/guix.texi:17896
  25777. #, no-wrap
  25778. msgid "@code{vpn-plugins} (default: @code{'()})"
  25779. msgstr ""
  25780. #. type: table
  25781. #: guix-git/doc/guix.texi:17900
  25782. 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."
  25783. msgstr ""
  25784. #. type: cindex
  25785. #: guix-git/doc/guix.texi:17904
  25786. #, no-wrap
  25787. msgid "Connman"
  25788. msgstr ""
  25789. #. type: deffn
  25790. #: guix-git/doc/guix.texi:17905
  25791. #, no-wrap
  25792. msgid "{Scheme Variable} connman-service-type"
  25793. msgstr ""
  25794. #. type: deffn
  25795. #: guix-git/doc/guix.texi:17908
  25796. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  25797. msgstr ""
  25798. #. type: deffn
  25799. #: guix-git/doc/guix.texi:17911
  25800. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  25801. msgstr ""
  25802. #. type: lisp
  25803. #: guix-git/doc/guix.texi:17916
  25804. #, no-wrap
  25805. msgid ""
  25806. "(service connman-service-type\n"
  25807. " (connman-configuration\n"
  25808. " (disable-vpn? #t)))\n"
  25809. msgstr ""
  25810. #. type: deffn
  25811. #: guix-git/doc/guix.texi:17919
  25812. msgid "See below for details about @code{connman-configuration}."
  25813. msgstr ""
  25814. #. type: deftp
  25815. #: guix-git/doc/guix.texi:17921
  25816. #, no-wrap
  25817. msgid "{Data Type} connman-configuration"
  25818. msgstr ""
  25819. #. type: deftp
  25820. #: guix-git/doc/guix.texi:17923
  25821. msgid "Data Type representing the configuration of connman."
  25822. msgstr ""
  25823. #. type: item
  25824. #: guix-git/doc/guix.texi:17925
  25825. #, no-wrap
  25826. msgid "@code{connman} (default: @var{connman})"
  25827. msgstr ""
  25828. #. type: table
  25829. #: guix-git/doc/guix.texi:17927
  25830. msgid "The connman package to use."
  25831. msgstr ""
  25832. #. type: item
  25833. #: guix-git/doc/guix.texi:17928
  25834. #, no-wrap
  25835. msgid "@code{disable-vpn?} (default: @code{#f})"
  25836. msgstr ""
  25837. #. type: table
  25838. #: guix-git/doc/guix.texi:17930
  25839. msgid "When true, disable connman's vpn plugin."
  25840. msgstr ""
  25841. #. type: cindex
  25842. #: guix-git/doc/guix.texi:17933
  25843. #, no-wrap
  25844. msgid "WPA Supplicant"
  25845. msgstr ""
  25846. #. type: defvr
  25847. #: guix-git/doc/guix.texi:17934
  25848. #, no-wrap
  25849. msgid "{Scheme Variable} wpa-supplicant-service-type"
  25850. msgstr ""
  25851. #. type: defvr
  25852. #: guix-git/doc/guix.texi:17938
  25853. 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."
  25854. msgstr ""
  25855. #. type: deftp
  25856. #: guix-git/doc/guix.texi:17940
  25857. #, no-wrap
  25858. msgid "{Data Type} wpa-supplicant-configuration"
  25859. msgstr ""
  25860. #. type: deftp
  25861. #: guix-git/doc/guix.texi:17942
  25862. msgid "Data type representing the configuration of WPA Supplicant."
  25863. msgstr ""
  25864. #. type: deftp
  25865. #: guix-git/doc/guix.texi:17944 guix-git/doc/guix.texi:33410
  25866. msgid "It takes the following parameters:"
  25867. msgstr ""
  25868. #. type: item
  25869. #: guix-git/doc/guix.texi:17946
  25870. #, no-wrap
  25871. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  25872. msgstr ""
  25873. #. type: table
  25874. #: guix-git/doc/guix.texi:17948
  25875. msgid "The WPA Supplicant package to use."
  25876. msgstr ""
  25877. #. type: item
  25878. #: guix-git/doc/guix.texi:17949
  25879. #, no-wrap
  25880. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  25881. msgstr ""
  25882. #. type: table
  25883. #: guix-git/doc/guix.texi:17951
  25884. msgid "List of services that should be started before WPA Supplicant starts."
  25885. msgstr ""
  25886. #. type: item
  25887. #: guix-git/doc/guix.texi:17952
  25888. #, no-wrap
  25889. msgid "@code{dbus?} (default: @code{#t})"
  25890. msgstr ""
  25891. #. type: table
  25892. #: guix-git/doc/guix.texi:17954
  25893. msgid "Whether to listen for requests on D-Bus."
  25894. msgstr ""
  25895. #. type: item
  25896. #: guix-git/doc/guix.texi:17955
  25897. #, no-wrap
  25898. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  25899. msgstr ""
  25900. #. type: table
  25901. #: guix-git/doc/guix.texi:17957
  25902. msgid "Where to store the PID file."
  25903. msgstr ""
  25904. #. type: item
  25905. #: guix-git/doc/guix.texi:17958 guix-git/doc/guix.texi:31711
  25906. #: guix-git/doc/guix.texi:31853
  25907. #, no-wrap
  25908. msgid "@code{interface} (default: @code{#f})"
  25909. msgstr ""
  25910. #. type: table
  25911. #: guix-git/doc/guix.texi:17961
  25912. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  25913. msgstr ""
  25914. #. type: item
  25915. #: guix-git/doc/guix.texi:17962 guix-git/doc/guix.texi:18078
  25916. #: guix-git/doc/guix.texi:23399
  25917. #, no-wrap
  25918. msgid "@code{config-file} (default: @code{#f})"
  25919. msgstr ""
  25920. #. type: table
  25921. #: guix-git/doc/guix.texi:17964
  25922. msgid "Optional configuration file to use."
  25923. msgstr ""
  25924. #. type: table
  25925. #: guix-git/doc/guix.texi:17967
  25926. msgid "List of additional command-line arguments to pass to the daemon."
  25927. msgstr ""
  25928. #. type: cindex
  25929. #: guix-git/doc/guix.texi:17970
  25930. #, no-wrap
  25931. msgid "wicd"
  25932. msgstr ""
  25933. #. type: cindex
  25934. #: guix-git/doc/guix.texi:17973
  25935. #, no-wrap
  25936. msgid "network management"
  25937. msgstr ""
  25938. #. type: deffn
  25939. #: guix-git/doc/guix.texi:17974
  25940. #, no-wrap
  25941. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  25942. msgstr ""
  25943. #. type: deffn
  25944. #: guix-git/doc/guix.texi:17977
  25945. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  25946. msgstr ""
  25947. #. type: deffn
  25948. #: guix-git/doc/guix.texi:17982
  25949. 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."
  25950. msgstr ""
  25951. #. type: cindex
  25952. #: guix-git/doc/guix.texi:17984
  25953. #, no-wrap
  25954. msgid "ModemManager"
  25955. msgstr ""
  25956. #. type: Plain text
  25957. #: guix-git/doc/guix.texi:17987
  25958. msgid "Some networking devices such as modems require special care, and this is what the services below focus on."
  25959. msgstr ""
  25960. #. type: defvr
  25961. #: guix-git/doc/guix.texi:17988
  25962. #, no-wrap
  25963. msgid "{Scheme Variable} modem-manager-service-type"
  25964. msgstr ""
  25965. #. type: defvr
  25966. #: guix-git/doc/guix.texi:17993
  25967. 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."
  25968. msgstr ""
  25969. #. type: deftp
  25970. #: guix-git/doc/guix.texi:17998
  25971. #, no-wrap
  25972. msgid "{Data Type} modem-manager-configuration"
  25973. msgstr ""
  25974. #. type: deftp
  25975. #: guix-git/doc/guix.texi:18000
  25976. msgid "Data type representing the configuration of ModemManager."
  25977. msgstr ""
  25978. #. type: item
  25979. #: guix-git/doc/guix.texi:18002
  25980. #, no-wrap
  25981. msgid "@code{modem-manager} (default: @code{modem-manager})"
  25982. msgstr ""
  25983. #. type: table
  25984. #: guix-git/doc/guix.texi:18004
  25985. msgid "The ModemManager package to use."
  25986. msgstr ""
  25987. #. type: cindex
  25988. #: guix-git/doc/guix.texi:18008
  25989. #, no-wrap
  25990. msgid "USB_ModeSwitch"
  25991. msgstr ""
  25992. #. type: cindex
  25993. #: guix-git/doc/guix.texi:18009
  25994. #, no-wrap
  25995. msgid "Modeswitching"
  25996. msgstr ""
  25997. #. type: defvr
  25998. #: guix-git/doc/guix.texi:18011
  25999. #, no-wrap
  26000. msgid "{Scheme Variable} usb-modeswitch-service-type"
  26001. msgstr ""
  26002. #. type: defvr
  26003. #: guix-git/doc/guix.texi:18016
  26004. 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."
  26005. msgstr ""
  26006. #. type: defvr
  26007. #: guix-git/doc/guix.texi:18022
  26008. 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."
  26009. msgstr ""
  26010. #. type: deftp
  26011. #: guix-git/doc/guix.texi:18027
  26012. #, no-wrap
  26013. msgid "{Data Type} usb-modeswitch-configuration"
  26014. msgstr ""
  26015. #. type: deftp
  26016. #: guix-git/doc/guix.texi:18029
  26017. msgid "Data type representing the configuration of USB_ModeSwitch."
  26018. msgstr ""
  26019. #. type: item
  26020. #: guix-git/doc/guix.texi:18031
  26021. #, no-wrap
  26022. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  26023. msgstr ""
  26024. #. type: table
  26025. #: guix-git/doc/guix.texi:18033
  26026. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  26027. msgstr ""
  26028. #. type: item
  26029. #: guix-git/doc/guix.texi:18034
  26030. #, no-wrap
  26031. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  26032. msgstr ""
  26033. #. type: table
  26034. #: guix-git/doc/guix.texi:18037
  26035. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  26036. msgstr ""
  26037. #. type: item
  26038. #: guix-git/doc/guix.texi:18038
  26039. #, no-wrap
  26040. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  26041. msgstr ""
  26042. #. type: table
  26043. #: guix-git/doc/guix.texi:18043
  26044. 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."
  26045. msgstr ""
  26046. #. type: Plain text
  26047. #: guix-git/doc/guix.texi:18057
  26048. msgid "The @code{(gnu services networking)} module discussed in the previous section provides services for more advanced setups: providing a DHCP service for others to use, filtering packets with iptables or nftables, running a WiFi access point with @command{hostapd}, running the @command{inetd} ``superdaemon'', and more. This section describes those."
  26049. msgstr ""
  26050. #. type: deffn
  26051. #: guix-git/doc/guix.texi:18058
  26052. #, no-wrap
  26053. msgid "{Scheme Procedure} dhcpd-service-type"
  26054. msgstr ""
  26055. #. type: deffn
  26056. #: guix-git/doc/guix.texi:18062
  26057. 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:"
  26058. msgstr ""
  26059. #. type: lisp
  26060. #: guix-git/doc/guix.texi:18068
  26061. #, no-wrap
  26062. msgid ""
  26063. "(service dhcpd-service-type\n"
  26064. " (dhcpd-configuration\n"
  26065. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  26066. " (interfaces '(\"enp0s25\"))))\n"
  26067. msgstr ""
  26068. #. type: deftp
  26069. #: guix-git/doc/guix.texi:18071
  26070. #, no-wrap
  26071. msgid "{Data Type} dhcpd-configuration"
  26072. msgstr ""
  26073. #. type: item
  26074. #: guix-git/doc/guix.texi:18073
  26075. #, no-wrap
  26076. msgid "@code{package} (default: @code{isc-dhcp})"
  26077. msgstr ""
  26078. #. type: table
  26079. #: guix-git/doc/guix.texi:18078
  26080. 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}."
  26081. msgstr ""
  26082. #. type: table
  26083. #: guix-git/doc/guix.texi:18083
  26084. 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."
  26085. msgstr ""
  26086. #. type: item
  26087. #: guix-git/doc/guix.texi:18083
  26088. #, no-wrap
  26089. msgid "@code{version} (default: @code{\"4\"})"
  26090. msgstr ""
  26091. #. type: table
  26092. #: guix-git/doc/guix.texi:18088
  26093. 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."
  26094. msgstr ""
  26095. #. type: item
  26096. #: guix-git/doc/guix.texi:18088
  26097. #, no-wrap
  26098. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  26099. msgstr ""
  26100. #. type: table
  26101. #: guix-git/doc/guix.texi:18091
  26102. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  26103. msgstr ""
  26104. #. type: item
  26105. #: guix-git/doc/guix.texi:18091
  26106. #, no-wrap
  26107. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  26108. msgstr ""
  26109. #. type: table
  26110. #: guix-git/doc/guix.texi:18094
  26111. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  26112. msgstr ""
  26113. #. type: item
  26114. #: guix-git/doc/guix.texi:18094
  26115. #, no-wrap
  26116. msgid "@code{interfaces} (default: @code{'()})"
  26117. msgstr ""
  26118. #. type: table
  26119. #: guix-git/doc/guix.texi:18100
  26120. 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."
  26121. msgstr ""
  26122. #. type: cindex
  26123. #: guix-git/doc/guix.texi:18103
  26124. #, no-wrap
  26125. msgid "hostapd service, for Wi-Fi access points"
  26126. msgstr ""
  26127. #. type: cindex
  26128. #: guix-git/doc/guix.texi:18104
  26129. #, no-wrap
  26130. msgid "Wi-Fi access points, hostapd service"
  26131. msgstr ""
  26132. #. type: defvr
  26133. #: guix-git/doc/guix.texi:18105
  26134. #, no-wrap
  26135. msgid "{Scheme Variable} hostapd-service-type"
  26136. msgstr ""
  26137. #. type: defvr
  26138. #: guix-git/doc/guix.texi:18110
  26139. 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:"
  26140. msgstr ""
  26141. #. type: lisp
  26142. #: guix-git/doc/guix.texi:18118
  26143. #, no-wrap
  26144. msgid ""
  26145. ";; Use wlan1 to run the access point for \"My Network\".\n"
  26146. "(service hostapd-service-type\n"
  26147. " (hostapd-configuration\n"
  26148. " (interface \"wlan1\")\n"
  26149. " (ssid \"My Network\")\n"
  26150. " (channel 12)))\n"
  26151. msgstr ""
  26152. #. type: deftp
  26153. #: guix-git/doc/guix.texi:18121
  26154. #, no-wrap
  26155. msgid "{Data Type} hostapd-configuration"
  26156. msgstr ""
  26157. #. type: deftp
  26158. #: guix-git/doc/guix.texi:18124
  26159. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  26160. msgstr ""
  26161. #. type: item
  26162. #: guix-git/doc/guix.texi:18126
  26163. #, no-wrap
  26164. msgid "@code{package} (default: @code{hostapd})"
  26165. msgstr ""
  26166. #. type: table
  26167. #: guix-git/doc/guix.texi:18128
  26168. msgid "The hostapd package to use."
  26169. msgstr ""
  26170. #. type: item
  26171. #: guix-git/doc/guix.texi:18129
  26172. #, no-wrap
  26173. msgid "@code{interface} (default: @code{\"wlan0\"})"
  26174. msgstr ""
  26175. #. type: table
  26176. #: guix-git/doc/guix.texi:18131
  26177. msgid "The network interface to run the WiFi access point."
  26178. msgstr ""
  26179. #. type: code{#1}
  26180. #: guix-git/doc/guix.texi:18132
  26181. #, no-wrap
  26182. msgid "ssid"
  26183. msgstr ""
  26184. #. type: table
  26185. #: guix-git/doc/guix.texi:18135
  26186. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  26187. msgstr ""
  26188. #. type: item
  26189. #: guix-git/doc/guix.texi:18136
  26190. #, no-wrap
  26191. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  26192. msgstr ""
  26193. #. type: table
  26194. #: guix-git/doc/guix.texi:18138
  26195. msgid "Whether to broadcast this SSID."
  26196. msgstr ""
  26197. #. type: item
  26198. #: guix-git/doc/guix.texi:18139
  26199. #, no-wrap
  26200. msgid "@code{channel} (default: @code{1})"
  26201. msgstr ""
  26202. #. type: table
  26203. #: guix-git/doc/guix.texi:18141
  26204. msgid "The WiFi channel to use."
  26205. msgstr ""
  26206. #. type: item
  26207. #: guix-git/doc/guix.texi:18142
  26208. #, no-wrap
  26209. msgid "@code{driver} (default: @code{\"nl80211\"})"
  26210. msgstr ""
  26211. #. type: table
  26212. #: guix-git/doc/guix.texi:18146
  26213. 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."
  26214. msgstr ""
  26215. #. type: item
  26216. #: guix-git/doc/guix.texi:18147 guix-git/doc/guix.texi:24248
  26217. #: guix-git/doc/guix.texi:27238
  26218. #, no-wrap
  26219. msgid "@code{extra-settings} (default: @code{\"\"})"
  26220. msgstr ""
  26221. #. type: table
  26222. #: guix-git/doc/guix.texi:18151
  26223. 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."
  26224. msgstr ""
  26225. #. type: defvr
  26226. #: guix-git/doc/guix.texi:18154
  26227. #, no-wrap
  26228. msgid "{Scheme Variable} simulated-wifi-service-type"
  26229. msgstr ""
  26230. #. type: defvr
  26231. #: guix-git/doc/guix.texi:18161
  26232. 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."
  26233. msgstr ""
  26234. #. type: defvr
  26235. #: guix-git/doc/guix.texi:18163
  26236. msgid "The service's value is a @code{hostapd-configuration} record."
  26237. msgstr ""
  26238. #. type: cindex
  26239. #: guix-git/doc/guix.texi:18166
  26240. #, no-wrap
  26241. msgid "iptables"
  26242. msgstr ""
  26243. #. type: defvr
  26244. #: guix-git/doc/guix.texi:18167
  26245. #, no-wrap
  26246. msgid "{Scheme Variable} iptables-service-type"
  26247. msgstr ""
  26248. #. type: defvr
  26249. #: guix-git/doc/guix.texi:18173
  26250. 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."
  26251. msgstr ""
  26252. #. type: lisp
  26253. #: guix-git/doc/guix.texi:18195
  26254. #, no-wrap
  26255. msgid ""
  26256. "(service iptables-service-type\n"
  26257. " (iptables-configuration\n"
  26258. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  26259. ":INPUT ACCEPT\n"
  26260. ":FORWARD ACCEPT\n"
  26261. ":OUTPUT ACCEPT\n"
  26262. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26263. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26264. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  26265. "COMMIT\n"
  26266. "\"))\n"
  26267. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  26268. ":INPUT ACCEPT\n"
  26269. ":FORWARD ACCEPT\n"
  26270. ":OUTPUT ACCEPT\n"
  26271. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26272. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26273. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  26274. "COMMIT\n"
  26275. "\"))))\n"
  26276. msgstr ""
  26277. #. type: deftp
  26278. #: guix-git/doc/guix.texi:18198
  26279. #, no-wrap
  26280. msgid "{Data Type} iptables-configuration"
  26281. msgstr ""
  26282. #. type: deftp
  26283. #: guix-git/doc/guix.texi:18200
  26284. msgid "The data type representing the configuration of iptables."
  26285. msgstr ""
  26286. #. type: item
  26287. #: guix-git/doc/guix.texi:18202
  26288. #, no-wrap
  26289. msgid "@code{iptables} (default: @code{iptables})"
  26290. msgstr ""
  26291. #. type: table
  26292. #: guix-git/doc/guix.texi:18205
  26293. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  26294. msgstr ""
  26295. #. type: item
  26296. #: guix-git/doc/guix.texi:18205
  26297. #, no-wrap
  26298. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  26299. msgstr ""
  26300. #. type: table
  26301. #: guix-git/doc/guix.texi:18209
  26302. 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})."
  26303. msgstr ""
  26304. #. type: item
  26305. #: guix-git/doc/guix.texi:18209
  26306. #, no-wrap
  26307. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  26308. msgstr ""
  26309. #. type: table
  26310. #: guix-git/doc/guix.texi:18213
  26311. 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})."
  26312. msgstr ""
  26313. #. type: cindex
  26314. #: guix-git/doc/guix.texi:18216
  26315. #, no-wrap
  26316. msgid "nftables"
  26317. msgstr ""
  26318. #. type: defvr
  26319. #: guix-git/doc/guix.texi:18217
  26320. #, no-wrap
  26321. msgid "{Scheme Variable} nftables-service-type"
  26322. msgstr ""
  26323. #. type: defvr
  26324. #: guix-git/doc/guix.texi:18225
  26325. 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:"
  26326. msgstr ""
  26327. #. type: lisp
  26328. #: guix-git/doc/guix.texi:18228
  26329. #, no-wrap
  26330. msgid "(service nftables-service-type)\n"
  26331. msgstr ""
  26332. #. type: deftp
  26333. #: guix-git/doc/guix.texi:18231
  26334. #, no-wrap
  26335. msgid "{Data Type} nftables-configuration"
  26336. msgstr ""
  26337. #. type: deftp
  26338. #: guix-git/doc/guix.texi:18233
  26339. msgid "The data type representing the configuration of nftables."
  26340. msgstr ""
  26341. #. type: item
  26342. #: guix-git/doc/guix.texi:18235
  26343. #, no-wrap
  26344. msgid "@code{package} (default: @code{nftables})"
  26345. msgstr ""
  26346. #. type: table
  26347. #: guix-git/doc/guix.texi:18237
  26348. msgid "The nftables package that provides @command{nft}."
  26349. msgstr ""
  26350. #. type: item
  26351. #: guix-git/doc/guix.texi:18237
  26352. #, no-wrap
  26353. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  26354. msgstr ""
  26355. #. type: table
  26356. #: guix-git/doc/guix.texi:18240
  26357. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  26358. msgstr ""
  26359. #. type: cindex
  26360. #: guix-git/doc/guix.texi:18243
  26361. #, no-wrap
  26362. msgid "NTP (Network Time Protocol), service"
  26363. msgstr ""
  26364. #. type: cindex
  26365. #: guix-git/doc/guix.texi:18244
  26366. #, no-wrap
  26367. msgid "ntpd, service for the Network Time Protocol daemon"
  26368. msgstr ""
  26369. #. type: cindex
  26370. #: guix-git/doc/guix.texi:18245
  26371. #, no-wrap
  26372. msgid "real time clock"
  26373. msgstr ""
  26374. #. type: defvr
  26375. #: guix-git/doc/guix.texi:18246
  26376. #, no-wrap
  26377. msgid "{Scheme Variable} ntp-service-type"
  26378. msgstr ""
  26379. #. type: defvr
  26380. #: guix-git/doc/guix.texi:18250
  26381. 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."
  26382. msgstr ""
  26383. #. type: defvr
  26384. #: guix-git/doc/guix.texi:18253
  26385. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  26386. msgstr ""
  26387. #. type: deftp
  26388. #: guix-git/doc/guix.texi:18255
  26389. #, no-wrap
  26390. msgid "{Data Type} ntp-configuration"
  26391. msgstr ""
  26392. #. type: deftp
  26393. #: guix-git/doc/guix.texi:18257
  26394. msgid "This is the data type for the NTP service configuration."
  26395. msgstr ""
  26396. #. type: item
  26397. #: guix-git/doc/guix.texi:18259
  26398. #, no-wrap
  26399. msgid "@code{servers} (default: @code{%ntp-servers})"
  26400. msgstr ""
  26401. #. type: table
  26402. #: guix-git/doc/guix.texi:18263
  26403. 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."
  26404. msgstr ""
  26405. #. type: item
  26406. #: guix-git/doc/guix.texi:18264
  26407. #, no-wrap
  26408. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  26409. msgstr ""
  26410. #. type: table
  26411. #: guix-git/doc/guix.texi:18267
  26412. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  26413. msgstr ""
  26414. #. type: item
  26415. #: guix-git/doc/guix.texi:18268
  26416. #, no-wrap
  26417. msgid "@code{ntp} (default: @code{ntp})"
  26418. msgstr ""
  26419. #. type: table
  26420. #: guix-git/doc/guix.texi:18270
  26421. msgid "The NTP package to use."
  26422. msgstr ""
  26423. #. type: defvr
  26424. #: guix-git/doc/guix.texi:18273
  26425. #, no-wrap
  26426. msgid "{Scheme Variable} %ntp-servers"
  26427. msgstr ""
  26428. #. type: defvr
  26429. #: guix-git/doc/guix.texi:18276
  26430. 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}."
  26431. msgstr ""
  26432. #. type: deftp
  26433. #: guix-git/doc/guix.texi:18278
  26434. #, no-wrap
  26435. msgid "{Data Type} ntp-server"
  26436. msgstr ""
  26437. #. type: deftp
  26438. #: guix-git/doc/guix.texi:18280
  26439. msgid "The data type representing the configuration of a NTP server."
  26440. msgstr ""
  26441. #. type: item
  26442. #: guix-git/doc/guix.texi:18282
  26443. #, no-wrap
  26444. msgid "@code{type} (default: @code{'server})"
  26445. msgstr ""
  26446. #. type: table
  26447. #: guix-git/doc/guix.texi:18285
  26448. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  26449. msgstr ""
  26450. #. type: code{#1}
  26451. #: guix-git/doc/guix.texi:18286
  26452. #, no-wrap
  26453. msgid "address"
  26454. msgstr ""
  26455. #. type: table
  26456. #: guix-git/doc/guix.texi:18288
  26457. msgid "The address of the server, as a string."
  26458. msgstr ""
  26459. #. type: code{#1}
  26460. #: guix-git/doc/guix.texi:18289 guix-git/doc/guix.texi:34325
  26461. #: guix-git/doc/guix.texi:34345
  26462. #, no-wrap
  26463. msgid "options"
  26464. msgstr ""
  26465. #. type: table
  26466. #: guix-git/doc/guix.texi:18294
  26467. 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."
  26468. msgstr ""
  26469. #. type: example
  26470. #: guix-git/doc/guix.texi:18300
  26471. #, no-wrap
  26472. msgid ""
  26473. "(ntp-server\n"
  26474. " (type 'server)\n"
  26475. " (address \"some.ntp.server.org\")\n"
  26476. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  26477. msgstr ""
  26478. #. type: cindex
  26479. #: guix-git/doc/guix.texi:18304
  26480. #, no-wrap
  26481. msgid "OpenNTPD"
  26482. msgstr ""
  26483. #. type: deffn
  26484. #: guix-git/doc/guix.texi:18305
  26485. #, no-wrap
  26486. msgid "{Scheme Procedure} openntpd-service-type"
  26487. msgstr ""
  26488. #. type: deffn
  26489. #: guix-git/doc/guix.texi:18309
  26490. 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."
  26491. msgstr ""
  26492. #. type: lisp
  26493. #: guix-git/doc/guix.texi:18318
  26494. #, no-wrap
  26495. msgid ""
  26496. "(service\n"
  26497. " openntpd-service-type\n"
  26498. " (openntpd-configuration\n"
  26499. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  26500. " (sensor '(\"udcf0 correction 70000\"))\n"
  26501. " (constraint-from '(\"www.gnu.org\"))\n"
  26502. " (constraints-from '(\"https://www.google.com/\"))))\n"
  26503. "\n"
  26504. msgstr ""
  26505. #. type: defvr
  26506. #: guix-git/doc/guix.texi:18322
  26507. #, no-wrap
  26508. msgid "{Scheme Variable} %openntpd-servers"
  26509. msgstr ""
  26510. #. type: defvr
  26511. #: guix-git/doc/guix.texi:18325
  26512. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  26513. msgstr ""
  26514. #. type: deftp
  26515. #: guix-git/doc/guix.texi:18327
  26516. #, no-wrap
  26517. msgid "{Data Type} openntpd-configuration"
  26518. msgstr ""
  26519. #. type: item
  26520. #: guix-git/doc/guix.texi:18329
  26521. #, no-wrap
  26522. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  26523. msgstr ""
  26524. #. type: table
  26525. #: guix-git/doc/guix.texi:18331
  26526. msgid "The openntpd executable to use."
  26527. msgstr ""
  26528. #. type: item
  26529. #: guix-git/doc/guix.texi:18331
  26530. #, no-wrap
  26531. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  26532. msgstr ""
  26533. #. type: table
  26534. #: guix-git/doc/guix.texi:18333
  26535. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  26536. msgstr ""
  26537. #. type: item
  26538. #: guix-git/doc/guix.texi:18333
  26539. #, no-wrap
  26540. msgid "@code{query-from} (default: @code{'()})"
  26541. msgstr ""
  26542. #. type: table
  26543. #: guix-git/doc/guix.texi:18335
  26544. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  26545. msgstr ""
  26546. #. type: item
  26547. #: guix-git/doc/guix.texi:18335
  26548. #, no-wrap
  26549. msgid "@code{sensor} (default: @code{'()})"
  26550. msgstr ""
  26551. #. type: table
  26552. #: guix-git/doc/guix.texi:18340
  26553. 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."
  26554. msgstr ""
  26555. #. type: item
  26556. #: guix-git/doc/guix.texi:18340
  26557. #, no-wrap
  26558. msgid "@code{server} (default: @code{'()})"
  26559. msgstr ""
  26560. #. type: table
  26561. #: guix-git/doc/guix.texi:18342
  26562. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  26563. msgstr ""
  26564. #. type: item
  26565. #: guix-git/doc/guix.texi:18342
  26566. #, no-wrap
  26567. msgid "@code{servers} (default: @code{%openntp-servers})"
  26568. msgstr ""
  26569. #. type: table
  26570. #: guix-git/doc/guix.texi:18344
  26571. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  26572. msgstr ""
  26573. #. type: item
  26574. #: guix-git/doc/guix.texi:18344
  26575. #, no-wrap
  26576. msgid "@code{constraint-from} (default: @code{'()})"
  26577. msgstr ""
  26578. #. type: table
  26579. #: guix-git/doc/guix.texi:18351
  26580. 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."
  26581. msgstr ""
  26582. #. type: item
  26583. #: guix-git/doc/guix.texi:18351
  26584. #, no-wrap
  26585. msgid "@code{constraints-from} (default: @code{'()})"
  26586. msgstr ""
  26587. #. type: table
  26588. #: guix-git/doc/guix.texi:18355
  26589. 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."
  26590. msgstr ""
  26591. #. type: cindex
  26592. #: guix-git/doc/guix.texi:18358
  26593. #, no-wrap
  26594. msgid "inetd"
  26595. msgstr ""
  26596. #. type: deffn
  26597. #: guix-git/doc/guix.texi:18359
  26598. #, no-wrap
  26599. msgid "{Scheme variable} inetd-service-type"
  26600. msgstr ""
  26601. #. type: deffn
  26602. #: guix-git/doc/guix.texi:18364
  26603. 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."
  26604. msgstr ""
  26605. #. type: deffn
  26606. #: guix-git/doc/guix.texi:18370
  26607. 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}:"
  26608. msgstr ""
  26609. #. type: lisp
  26610. #: guix-git/doc/guix.texi:18393
  26611. #, no-wrap
  26612. msgid ""
  26613. "(service\n"
  26614. " inetd-service-type\n"
  26615. " (inetd-configuration\n"
  26616. " (entries (list\n"
  26617. " (inetd-entry\n"
  26618. " (name \"echo\")\n"
  26619. " (socket-type 'stream)\n"
  26620. " (protocol \"tcp\")\n"
  26621. " (wait? #f)\n"
  26622. " (user \"root\"))\n"
  26623. " (inetd-entry\n"
  26624. " (node \"127.0.0.1\")\n"
  26625. " (name \"smtp\")\n"
  26626. " (socket-type 'stream)\n"
  26627. " (protocol \"tcp\")\n"
  26628. " (wait? #f)\n"
  26629. " (user \"root\")\n"
  26630. " (program (file-append openssh \"/bin/ssh\"))\n"
  26631. " (arguments\n"
  26632. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  26633. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  26634. msgstr ""
  26635. #. type: deffn
  26636. #: guix-git/doc/guix.texi:18396
  26637. msgid "See below for more details about @code{inetd-configuration}."
  26638. msgstr ""
  26639. #. type: deftp
  26640. #: guix-git/doc/guix.texi:18398
  26641. #, no-wrap
  26642. msgid "{Data Type} inetd-configuration"
  26643. msgstr ""
  26644. #. type: deftp
  26645. #: guix-git/doc/guix.texi:18400
  26646. msgid "Data type representing the configuration of @command{inetd}."
  26647. msgstr ""
  26648. #. type: item
  26649. #: guix-git/doc/guix.texi:18402
  26650. #, no-wrap
  26651. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  26652. msgstr ""
  26653. #. type: table
  26654. #: guix-git/doc/guix.texi:18404
  26655. msgid "The @command{inetd} executable to use."
  26656. msgstr ""
  26657. #. type: item
  26658. #: guix-git/doc/guix.texi:18405 guix-git/doc/guix.texi:28088
  26659. #, no-wrap
  26660. msgid "@code{entries} (default: @code{'()})"
  26661. msgstr ""
  26662. #. type: table
  26663. #: guix-git/doc/guix.texi:18408
  26664. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  26665. msgstr ""
  26666. #. type: deftp
  26667. #: guix-git/doc/guix.texi:18411
  26668. #, no-wrap
  26669. msgid "{Data Type} inetd-entry"
  26670. msgstr ""
  26671. #. type: deftp
  26672. #: guix-git/doc/guix.texi:18415
  26673. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  26674. msgstr ""
  26675. #. type: item
  26676. #: guix-git/doc/guix.texi:18417
  26677. #, no-wrap
  26678. msgid "@code{node} (default: @code{#f})"
  26679. msgstr ""
  26680. #. type: table
  26681. #: guix-git/doc/guix.texi:18422
  26682. 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."
  26683. msgstr ""
  26684. #. type: table
  26685. #: guix-git/doc/guix.texi:18424
  26686. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  26687. msgstr ""
  26688. #. type: code{#1}
  26689. #: guix-git/doc/guix.texi:18424
  26690. #, no-wrap
  26691. msgid "socket-type"
  26692. msgstr ""
  26693. #. type: table
  26694. #: guix-git/doc/guix.texi:18427
  26695. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  26696. msgstr ""
  26697. #. type: code{#1}
  26698. #: guix-git/doc/guix.texi:18427
  26699. #, no-wrap
  26700. msgid "protocol"
  26701. msgstr ""
  26702. #. type: table
  26703. #: guix-git/doc/guix.texi:18429
  26704. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  26705. msgstr ""
  26706. #. type: item
  26707. #: guix-git/doc/guix.texi:18429
  26708. #, no-wrap
  26709. msgid "@code{wait?} (default: @code{#t})"
  26710. msgstr ""
  26711. #. type: table
  26712. #: guix-git/doc/guix.texi:18432
  26713. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  26714. msgstr ""
  26715. #. type: table
  26716. #: guix-git/doc/guix.texi:18437
  26717. 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\"}."
  26718. msgstr ""
  26719. #. type: item
  26720. #: guix-git/doc/guix.texi:18437
  26721. #, no-wrap
  26722. msgid "@code{program} (default: @code{\"internal\"})"
  26723. msgstr ""
  26724. #. type: table
  26725. #: guix-git/doc/guix.texi:18440
  26726. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  26727. msgstr ""
  26728. #. type: table
  26729. #: guix-git/doc/guix.texi:18445
  26730. 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\")}."
  26731. msgstr ""
  26732. #. type: deftp
  26733. #: guix-git/doc/guix.texi:18449
  26734. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  26735. msgstr ""
  26736. #. type: cindex
  26737. #: guix-git/doc/guix.texi:18451
  26738. #, no-wrap
  26739. msgid "opendht, distributed hash table network service"
  26740. msgstr ""
  26741. #. type: cindex
  26742. #: guix-git/doc/guix.texi:18452
  26743. #, no-wrap
  26744. msgid "dhtproxy, for use with jami"
  26745. msgstr ""
  26746. #. type: defvr
  26747. #: guix-git/doc/guix.texi:18453
  26748. #, no-wrap
  26749. msgid "{Scheme Variable} opendht-service-type"
  26750. msgstr ""
  26751. #. type: defvr
  26752. #: guix-git/doc/guix.texi:18458
  26753. 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."
  26754. msgstr ""
  26755. #. type: quotation
  26756. #: guix-git/doc/guix.texi:18468
  26757. 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."
  26758. msgstr ""
  26759. #. type: defvr
  26760. #: guix-git/doc/guix.texi:18472
  26761. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  26762. msgstr ""
  26763. #. type: deftp
  26764. #: guix-git/doc/guix.texi:18474
  26765. #, no-wrap
  26766. msgid "{Data Type} opendht-configuration"
  26767. msgstr ""
  26768. #. type: deftp
  26769. #: guix-git/doc/guix.texi:18476
  26770. msgid "This is the data type for the OpenDHT service configuration."
  26771. msgstr ""
  26772. #. type: deftp
  26773. #: guix-git/doc/guix.texi:18481
  26774. msgid "Available @code{opendht-configuration} fields are:"
  26775. msgstr ""
  26776. #. type: deftypevr
  26777. #: guix-git/doc/guix.texi:18482
  26778. #, no-wrap
  26779. msgid "{@code{opendht-configuration} parameter} package opendht"
  26780. msgstr ""
  26781. #. type: deftypevr
  26782. #: guix-git/doc/guix.texi:18484
  26783. msgid "The @code{opendht} package to use."
  26784. msgstr ""
  26785. #. type: deftypevr
  26786. #: guix-git/doc/guix.texi:18487
  26787. #, no-wrap
  26788. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  26789. msgstr ""
  26790. #. type: deftypevr
  26791. #: guix-git/doc/guix.texi:18489
  26792. msgid "Whether to enable the multicast local peer discovery mechanism."
  26793. msgstr ""
  26794. #. type: deftypevr
  26795. #: guix-git/doc/guix.texi:18491 guix-git/doc/guix.texi:18499
  26796. #: guix-git/doc/guix.texi:18507 guix-git/doc/guix.texi:20199
  26797. #: guix-git/doc/guix.texi:20275 guix-git/doc/guix.texi:20317
  26798. #: guix-git/doc/guix.texi:20337 guix-git/doc/guix.texi:20343
  26799. #: guix-git/doc/guix.texi:20359 guix-git/doc/guix.texi:20447
  26800. #: guix-git/doc/guix.texi:20535 guix-git/doc/guix.texi:20848
  26801. #: guix-git/doc/guix.texi:20861 guix-git/doc/guix.texi:22012
  26802. #: guix-git/doc/guix.texi:23490 guix-git/doc/guix.texi:23596
  26803. #: guix-git/doc/guix.texi:23661 guix-git/doc/guix.texi:23670
  26804. #: guix-git/doc/guix.texi:24903 guix-git/doc/guix.texi:24947
  26805. #: guix-git/doc/guix.texi:24964 guix-git/doc/guix.texi:24972
  26806. #: guix-git/doc/guix.texi:24987 guix-git/doc/guix.texi:25005
  26807. #: guix-git/doc/guix.texi:25029 guix-git/doc/guix.texi:25082
  26808. #: guix-git/doc/guix.texi:25215 guix-git/doc/guix.texi:25249
  26809. #: guix-git/doc/guix.texi:25285 guix-git/doc/guix.texi:25301
  26810. #: guix-git/doc/guix.texi:25329 guix-git/doc/guix.texi:25390
  26811. #: guix-git/doc/guix.texi:25473 guix-git/doc/guix.texi:28800
  26812. #: guix-git/doc/guix.texi:28814 guix-git/doc/guix.texi:28836
  26813. #: guix-git/doc/guix.texi:28955 guix-git/doc/guix.texi:28969
  26814. #: guix-git/doc/guix.texi:28990 guix-git/doc/guix.texi:29011
  26815. #: guix-git/doc/guix.texi:29018 guix-git/doc/guix.texi:29063
  26816. #: guix-git/doc/guix.texi:29070 guix-git/doc/guix.texi:29859
  26817. #: guix-git/doc/guix.texi:29873 guix-git/doc/guix.texi:30073
  26818. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30205
  26819. #: guix-git/doc/guix.texi:30407 guix-git/doc/guix.texi:30440
  26820. #: guix-git/doc/guix.texi:30580 guix-git/doc/guix.texi:30591
  26821. #: guix-git/doc/guix.texi:30842 guix-git/doc/guix.texi:32365
  26822. #: guix-git/doc/guix.texi:32374 guix-git/doc/guix.texi:32382
  26823. #: guix-git/doc/guix.texi:32390 guix-git/doc/guix.texi:32406
  26824. #: guix-git/doc/guix.texi:32422 guix-git/doc/guix.texi:32430
  26825. #: guix-git/doc/guix.texi:32438 guix-git/doc/guix.texi:32447
  26826. #: guix-git/doc/guix.texi:32456 guix-git/doc/guix.texi:32472
  26827. #: guix-git/doc/guix.texi:32536 guix-git/doc/guix.texi:32642
  26828. #: guix-git/doc/guix.texi:32650 guix-git/doc/guix.texi:32658
  26829. #: guix-git/doc/guix.texi:32683 guix-git/doc/guix.texi:32737
  26830. #: guix-git/doc/guix.texi:32785 guix-git/doc/guix.texi:32986
  26831. #: guix-git/doc/guix.texi:32993
  26832. msgid "Defaults to @samp{#f}."
  26833. msgstr ""
  26834. #. type: deftypevr
  26835. #: guix-git/doc/guix.texi:18494
  26836. #, no-wrap
  26837. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  26838. msgstr ""
  26839. #. type: deftypevr
  26840. #: guix-git/doc/guix.texi:18497
  26841. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  26842. msgstr ""
  26843. #. type: deftypevr
  26844. #: guix-git/doc/guix.texi:18502
  26845. #, no-wrap
  26846. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  26847. msgstr ""
  26848. #. type: deftypevr
  26849. #: guix-git/doc/guix.texi:18505
  26850. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  26851. msgstr ""
  26852. #. type: deftypevr
  26853. #: guix-git/doc/guix.texi:18510
  26854. #, no-wrap
  26855. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  26856. msgstr ""
  26857. #. type: deftypevr
  26858. #: guix-git/doc/guix.texi:18516
  26859. 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."
  26860. msgstr ""
  26861. #. type: deftypevr
  26862. #: guix-git/doc/guix.texi:18518
  26863. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  26864. msgstr ""
  26865. #. type: deftypevr
  26866. #: guix-git/doc/guix.texi:18521
  26867. #, no-wrap
  26868. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  26869. msgstr ""
  26870. #. type: deftypevr
  26871. #: guix-git/doc/guix.texi:18524
  26872. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  26873. msgstr ""
  26874. #. type: deftypevr
  26875. #: guix-git/doc/guix.texi:18526
  26876. msgid "Defaults to @samp{4222}."
  26877. msgstr ""
  26878. #. type: deftypevr
  26879. #: guix-git/doc/guix.texi:18529
  26880. #, no-wrap
  26881. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  26882. msgstr ""
  26883. #. type: deftypevr
  26884. #: guix-git/doc/guix.texi:18531
  26885. msgid "Spawn a proxy server listening on the specified port."
  26886. msgstr ""
  26887. #. type: deftypevr
  26888. #: guix-git/doc/guix.texi:18533 guix-git/doc/guix.texi:18540
  26889. #: guix-git/doc/guix.texi:24911 guix-git/doc/guix.texi:24955
  26890. #: guix-git/doc/guix.texi:25168 guix-git/doc/guix.texi:25224
  26891. #: guix-git/doc/guix.texi:25398 guix-git/doc/guix.texi:25409
  26892. #: guix-git/doc/guix.texi:25482 guix-git/doc/guix.texi:26117
  26893. #: guix-git/doc/guix.texi:26160 guix-git/doc/guix.texi:26168
  26894. #: guix-git/doc/guix.texi:26176 guix-git/doc/guix.texi:26184
  26895. #: guix-git/doc/guix.texi:26193 guix-git/doc/guix.texi:26201
  26896. #: guix-git/doc/guix.texi:26208 guix-git/doc/guix.texi:26216
  26897. #: guix-git/doc/guix.texi:26224 guix-git/doc/guix.texi:26234
  26898. #: guix-git/doc/guix.texi:26241 guix-git/doc/guix.texi:26265
  26899. #: guix-git/doc/guix.texi:26273 guix-git/doc/guix.texi:26299
  26900. #: guix-git/doc/guix.texi:26308 guix-git/doc/guix.texi:26317
  26901. #: guix-git/doc/guix.texi:26326 guix-git/doc/guix.texi:26335
  26902. #: guix-git/doc/guix.texi:26344 guix-git/doc/guix.texi:26352
  26903. #: guix-git/doc/guix.texi:26360 guix-git/doc/guix.texi:26367
  26904. #: guix-git/doc/guix.texi:26375 guix-git/doc/guix.texi:26382
  26905. #: guix-git/doc/guix.texi:26390 guix-git/doc/guix.texi:26398
  26906. #: guix-git/doc/guix.texi:26407 guix-git/doc/guix.texi:26416
  26907. #: guix-git/doc/guix.texi:26424 guix-git/doc/guix.texi:26432
  26908. #: guix-git/doc/guix.texi:26440 guix-git/doc/guix.texi:26451
  26909. #: guix-git/doc/guix.texi:26461 guix-git/doc/guix.texi:26472
  26910. #: guix-git/doc/guix.texi:26481 guix-git/doc/guix.texi:26491
  26911. #: guix-git/doc/guix.texi:26499 guix-git/doc/guix.texi:26510
  26912. #: guix-git/doc/guix.texi:26519 guix-git/doc/guix.texi:26529
  26913. #: guix-git/doc/guix.texi:29772 guix-git/doc/guix.texi:29779
  26914. #: guix-git/doc/guix.texi:29786 guix-git/doc/guix.texi:29793
  26915. #: guix-git/doc/guix.texi:29800 guix-git/doc/guix.texi:29807
  26916. #: guix-git/doc/guix.texi:29815 guix-git/doc/guix.texi:29823
  26917. #: guix-git/doc/guix.texi:29830 guix-git/doc/guix.texi:29837
  26918. #: guix-git/doc/guix.texi:29844 guix-git/doc/guix.texi:29851
  26919. #: guix-git/doc/guix.texi:29881 guix-git/doc/guix.texi:29919
  26920. #: guix-git/doc/guix.texi:29926 guix-git/doc/guix.texi:29935
  26921. #: guix-git/doc/guix.texi:29957 guix-git/doc/guix.texi:29965
  26922. #: guix-git/doc/guix.texi:29972 guix-git/doc/guix.texi:30001
  26923. #: guix-git/doc/guix.texi:30008 guix-git/doc/guix.texi:30015
  26924. #: guix-git/doc/guix.texi:30022 guix-git/doc/guix.texi:30155
  26925. #: guix-git/doc/guix.texi:30175 guix-git/doc/guix.texi:30190
  26926. #: guix-git/doc/guix.texi:30197 guix-git/doc/guix.texi:32938
  26927. #: guix-git/doc/guix.texi:32946 guix-git/doc/guix.texi:32954
  26928. #: guix-git/doc/guix.texi:32962 guix-git/doc/guix.texi:32970
  26929. #: guix-git/doc/guix.texi:32978
  26930. msgid "Defaults to @samp{disabled}."
  26931. msgstr ""
  26932. #. type: deftypevr
  26933. #: guix-git/doc/guix.texi:18536
  26934. #, no-wrap
  26935. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  26936. msgstr ""
  26937. #. type: deftypevr
  26938. #: guix-git/doc/guix.texi:18538
  26939. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  26940. msgstr ""
  26941. #. type: cindex
  26942. #: guix-git/doc/guix.texi:18544
  26943. #, no-wrap
  26944. msgid "Tor"
  26945. msgstr ""
  26946. #. type: defvr
  26947. #: guix-git/doc/guix.texi:18545
  26948. #, no-wrap
  26949. msgid "{Scheme Variable} tor-service-type"
  26950. msgstr ""
  26951. #. type: defvr
  26952. #: guix-git/doc/guix.texi:18550
  26953. 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."
  26954. msgstr ""
  26955. #. type: deftp
  26956. #: guix-git/doc/guix.texi:18553
  26957. #, no-wrap
  26958. msgid "{Data Type} tor-configuration"
  26959. msgstr ""
  26960. #. type: item
  26961. #: guix-git/doc/guix.texi:18555
  26962. #, no-wrap
  26963. msgid "@code{tor} (default: @code{tor})"
  26964. msgstr ""
  26965. #. type: table
  26966. #: guix-git/doc/guix.texi:18560
  26967. 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."
  26968. msgstr ""
  26969. #. type: item
  26970. #: guix-git/doc/guix.texi:18561
  26971. #, no-wrap
  26972. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  26973. msgstr ""
  26974. #. type: table
  26975. #: guix-git/doc/guix.texi:18567
  26976. 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."
  26977. msgstr ""
  26978. #. type: item
  26979. #: guix-git/doc/guix.texi:18568
  26980. #, no-wrap
  26981. msgid "@code{hidden-services} (default: @code{'()})"
  26982. msgstr ""
  26983. #. type: table
  26984. #: guix-git/doc/guix.texi:18574
  26985. 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."
  26986. msgstr ""
  26987. #. type: item
  26988. #: guix-git/doc/guix.texi:18575
  26989. #, no-wrap
  26990. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  26991. msgstr ""
  26992. #. type: table
  26993. #: guix-git/doc/guix.texi:18582
  26994. 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."
  26995. msgstr ""
  26996. #. type: table
  26997. #: guix-git/doc/guix.texi:18587
  26998. 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."
  26999. msgstr ""
  27000. #. type: item
  27001. #: guix-git/doc/guix.texi:18588
  27002. #, no-wrap
  27003. msgid "@code{control-socket?} (default: @code{#f})"
  27004. msgstr ""
  27005. #. type: table
  27006. #: guix-git/doc/guix.texi:18594
  27007. 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."
  27008. msgstr ""
  27009. #. type: cindex
  27010. #: guix-git/doc/guix.texi:18598
  27011. #, no-wrap
  27012. msgid "hidden service"
  27013. msgstr ""
  27014. #. type: deffn
  27015. #: guix-git/doc/guix.texi:18599
  27016. #, no-wrap
  27017. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  27018. msgstr ""
  27019. #. type: deffn
  27020. #: guix-git/doc/guix.texi:18602
  27021. 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:"
  27022. msgstr ""
  27023. #. type: example
  27024. #: guix-git/doc/guix.texi:18606
  27025. #, no-wrap
  27026. msgid ""
  27027. " '((22 \"127.0.0.1:22\")\n"
  27028. " (80 \"127.0.0.1:8080\"))\n"
  27029. msgstr ""
  27030. #. type: deffn
  27031. #: guix-git/doc/guix.texi:18610
  27032. 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."
  27033. msgstr ""
  27034. #. type: deffn
  27035. #: guix-git/doc/guix.texi:18614
  27036. 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."
  27037. msgstr ""
  27038. #. type: deffn
  27039. #: guix-git/doc/guix.texi:18617
  27040. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  27041. msgstr ""
  27042. #. type: Plain text
  27043. #: guix-git/doc/guix.texi:18620
  27044. msgid "The @code{(gnu services rsync)} module provides the following services:"
  27045. msgstr ""
  27046. #. type: Plain text
  27047. #: guix-git/doc/guix.texi:18624
  27048. 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."
  27049. msgstr ""
  27050. #. type: deffn
  27051. #: guix-git/doc/guix.texi:18625
  27052. #, no-wrap
  27053. msgid "{Scheme Variable} rsync-service-type"
  27054. msgstr ""
  27055. #. type: deffn
  27056. #: guix-git/doc/guix.texi:18629
  27057. 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:"
  27058. msgstr ""
  27059. #. type: lisp
  27060. #: guix-git/doc/guix.texi:18642
  27061. #, no-wrap
  27062. msgid ""
  27063. ";; Export two directories over rsync. By default rsync listens on\n"
  27064. ";; all the network interfaces.\n"
  27065. "(service rsync-service-type\n"
  27066. " (rsync-configuration\n"
  27067. " (modules (list (rsync-module\n"
  27068. " (name \"music\")\n"
  27069. " (file-name \"/srv/zik\")\n"
  27070. " (read-only? #f))\n"
  27071. " (rsync-module\n"
  27072. " (name \"movies\")\n"
  27073. " (file-name \"/home/charlie/movies\"))))))\n"
  27074. msgstr ""
  27075. #. type: deffn
  27076. #: guix-git/doc/guix.texi:18645
  27077. msgid "See below for details about @code{rsync-configuration}."
  27078. msgstr ""
  27079. #. type: deftp
  27080. #: guix-git/doc/guix.texi:18647
  27081. #, no-wrap
  27082. msgid "{Data Type} rsync-configuration"
  27083. msgstr ""
  27084. #. type: deftp
  27085. #: guix-git/doc/guix.texi:18649
  27086. msgid "Data type representing the configuration for @code{rsync-service}."
  27087. msgstr ""
  27088. #. type: item
  27089. #: guix-git/doc/guix.texi:18651
  27090. #, no-wrap
  27091. msgid "@code{package} (default: @var{rsync})"
  27092. msgstr ""
  27093. #. type: table
  27094. #: guix-git/doc/guix.texi:18653
  27095. msgid "@code{rsync} package to use."
  27096. msgstr ""
  27097. #. type: item
  27098. #: guix-git/doc/guix.texi:18654 guix-git/doc/guix.texi:31945
  27099. #, no-wrap
  27100. msgid "@code{address} (default: @code{#f})"
  27101. msgstr ""
  27102. #. type: table
  27103. #: guix-git/doc/guix.texi:18657
  27104. msgid "IP address on which @command{rsync} listens for incoming connections. If unspecified, it defaults to listening on all available addresses."
  27105. msgstr ""
  27106. #. type: item
  27107. #: guix-git/doc/guix.texi:18658
  27108. #, no-wrap
  27109. msgid "@code{port-number} (default: @code{873})"
  27110. msgstr ""
  27111. #. type: table
  27112. #: guix-git/doc/guix.texi:18662
  27113. 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."
  27114. msgstr ""
  27115. #. type: item
  27116. #: guix-git/doc/guix.texi:18663
  27117. #, no-wrap
  27118. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  27119. msgstr ""
  27120. #. type: table
  27121. #: guix-git/doc/guix.texi:18665
  27122. msgid "Name of the file where @command{rsync} writes its PID."
  27123. msgstr ""
  27124. #. type: item
  27125. #: guix-git/doc/guix.texi:18666
  27126. #, no-wrap
  27127. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  27128. msgstr ""
  27129. #. type: table
  27130. #: guix-git/doc/guix.texi:18668
  27131. msgid "Name of the file where @command{rsync} writes its lock file."
  27132. msgstr ""
  27133. #. type: item
  27134. #: guix-git/doc/guix.texi:18669
  27135. #, no-wrap
  27136. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  27137. msgstr ""
  27138. #. type: table
  27139. #: guix-git/doc/guix.texi:18671
  27140. msgid "Name of the file where @command{rsync} writes its log file."
  27141. msgstr ""
  27142. #. type: item
  27143. #: guix-git/doc/guix.texi:18672 guix-git/doc/guix.texi:36176
  27144. #, no-wrap
  27145. msgid "@code{user} (default: @code{\"root\"})"
  27146. msgstr ""
  27147. #. type: table
  27148. #: guix-git/doc/guix.texi:18674
  27149. msgid "Owner of the @code{rsync} process."
  27150. msgstr ""
  27151. #. type: item
  27152. #: guix-git/doc/guix.texi:18675
  27153. #, no-wrap
  27154. msgid "@code{group} (default: @code{\"root\"})"
  27155. msgstr ""
  27156. #. type: table
  27157. #: guix-git/doc/guix.texi:18677
  27158. msgid "Group of the @code{rsync} process."
  27159. msgstr ""
  27160. #. type: item
  27161. #: guix-git/doc/guix.texi:18678
  27162. #, no-wrap
  27163. msgid "@code{uid} (default: @code{\"rsyncd\"})"
  27164. msgstr ""
  27165. #. type: table
  27166. #: guix-git/doc/guix.texi:18681
  27167. 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}."
  27168. msgstr ""
  27169. #. type: item
  27170. #: guix-git/doc/guix.texi:18682
  27171. #, no-wrap
  27172. msgid "@code{gid} (default: @code{\"rsyncd\"})"
  27173. msgstr ""
  27174. #. type: table
  27175. #: guix-git/doc/guix.texi:18684 guix-git/doc/guix.texi:19163
  27176. msgid "Group name or group ID that will be used when accessing the module."
  27177. msgstr ""
  27178. #. type: item
  27179. #: guix-git/doc/guix.texi:18685 guix-git/doc/guix.texi:36982
  27180. #, no-wrap
  27181. msgid "@code{modules} (default: @code{%default-modules})"
  27182. msgstr ""
  27183. #. type: table
  27184. #: guix-git/doc/guix.texi:18688
  27185. msgid "List of ``modules''---i.e., directories exported over rsync. Each element must be a @code{rsync-module} record, as described below."
  27186. msgstr ""
  27187. #. type: deftp
  27188. #: guix-git/doc/guix.texi:18691
  27189. #, no-wrap
  27190. msgid "{Data Type} rsync-module"
  27191. msgstr ""
  27192. #. type: deftp
  27193. #: guix-git/doc/guix.texi:18694
  27194. msgid "This is the data type for rsync ``modules''. A module is a directory exported over the rsync protocol. The available fields are as follows:"
  27195. msgstr ""
  27196. #. type: table
  27197. #: guix-git/doc/guix.texi:18700
  27198. msgid "The module name. This is the name that shows up in URLs. For example, if the module is called @code{music}, the corresponding URL will be @code{rsync://host.example.org/music}."
  27199. msgstr ""
  27200. #. type: code{#1}
  27201. #: guix-git/doc/guix.texi:18701
  27202. #, fuzzy, no-wrap
  27203. msgid "file-name"
  27204. msgstr "نام بسته"
  27205. #. type: table
  27206. #: guix-git/doc/guix.texi:18703
  27207. msgid "Name of the directory being exported."
  27208. msgstr ""
  27209. #. type: table
  27210. #: guix-git/doc/guix.texi:18707
  27211. msgid "Comment associated with the module. Client user interfaces may display it when they obtain the list of available modules."
  27212. msgstr ""
  27213. #. type: item
  27214. #: guix-git/doc/guix.texi:18708
  27215. #, no-wrap
  27216. msgid "@code{read-only?} (default: @code{#t})"
  27217. msgstr ""
  27218. #. type: table
  27219. #: guix-git/doc/guix.texi:18712
  27220. msgid "Whether or not client will be able to upload files. If this is false, the uploads will be authorized if permissions on the daemon side permit it."
  27221. msgstr ""
  27222. #. type: item
  27223. #: guix-git/doc/guix.texi:18713
  27224. #, no-wrap
  27225. msgid "@code{chroot?} (default: @code{#t})"
  27226. msgstr ""
  27227. #. type: table
  27228. #: guix-git/doc/guix.texi:18717
  27229. msgid "When this is true, the rsync daemon changes root to the module's directory before starting file transfers with the client. This improves security, but requires rsync to run as root."
  27230. msgstr ""
  27231. #. type: item
  27232. #: guix-git/doc/guix.texi:18718
  27233. #, no-wrap
  27234. msgid "@code{timeout} (default: @code{300})"
  27235. msgstr ""
  27236. #. type: table
  27237. #: guix-git/doc/guix.texi:18721
  27238. msgid "Idle time in seconds after which the daemon closes a connection with the client."
  27239. msgstr ""
  27240. #. type: Plain text
  27241. #: guix-git/doc/guix.texi:18725
  27242. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  27243. msgstr ""
  27244. #. type: cindex
  27245. #: guix-git/doc/guix.texi:18725
  27246. #, no-wrap
  27247. msgid "syncthing"
  27248. msgstr ""
  27249. #. type: Plain text
  27250. #: guix-git/doc/guix.texi:18730
  27251. 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."
  27252. msgstr ""
  27253. #. type: deffn
  27254. #: guix-git/doc/guix.texi:18731
  27255. #, no-wrap
  27256. msgid "{Scheme Variable} syncthing-service-type"
  27257. msgstr ""
  27258. #. type: deffn
  27259. #: guix-git/doc/guix.texi:18735
  27260. 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:"
  27261. msgstr ""
  27262. #. type: lisp
  27263. #: guix-git/doc/guix.texi:18739
  27264. #, no-wrap
  27265. msgid ""
  27266. "(service syncthing-service-type\n"
  27267. " (syncthing-configuration (user \"alice\")))\n"
  27268. msgstr ""
  27269. #. type: deffn
  27270. #: guix-git/doc/guix.texi:18742
  27271. msgid "See below for details about @code{syncthing-configuration}."
  27272. msgstr ""
  27273. #. type: deftp
  27274. #: guix-git/doc/guix.texi:18743
  27275. #, no-wrap
  27276. msgid "{Data Type} syncthing-configuration"
  27277. msgstr ""
  27278. #. type: deftp
  27279. #: guix-git/doc/guix.texi:18745
  27280. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  27281. msgstr ""
  27282. #. type: item
  27283. #: guix-git/doc/guix.texi:18747
  27284. #, no-wrap
  27285. msgid "@code{syncthing} (default: @var{syncthing})"
  27286. msgstr ""
  27287. #. type: table
  27288. #: guix-git/doc/guix.texi:18749
  27289. msgid "@code{syncthing} package to use."
  27290. msgstr ""
  27291. #. type: item
  27292. #: guix-git/doc/guix.texi:18750
  27293. #, no-wrap
  27294. msgid "@code{arguments} (default: @var{'()})"
  27295. msgstr ""
  27296. #. type: table
  27297. #: guix-git/doc/guix.texi:18752
  27298. msgid "List of command-line arguments passing to @code{syncthing} binary."
  27299. msgstr ""
  27300. #. type: item
  27301. #: guix-git/doc/guix.texi:18753
  27302. #, no-wrap
  27303. msgid "@code{logflags} (default: @var{0})"
  27304. msgstr ""
  27305. #. type: table
  27306. #: guix-git/doc/guix.texi:18756
  27307. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  27308. msgstr ""
  27309. #. type: item
  27310. #: guix-git/doc/guix.texi:18757
  27311. #, no-wrap
  27312. msgid "@code{user} (default: @var{#f})"
  27313. msgstr ""
  27314. #. type: table
  27315. #: guix-git/doc/guix.texi:18760
  27316. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  27317. msgstr ""
  27318. #. type: item
  27319. #: guix-git/doc/guix.texi:18761
  27320. #, no-wrap
  27321. msgid "@code{group} (default: @var{\"users\"})"
  27322. msgstr ""
  27323. #. type: table
  27324. #: guix-git/doc/guix.texi:18764
  27325. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  27326. msgstr ""
  27327. #. type: item
  27328. #: guix-git/doc/guix.texi:18765
  27329. #, no-wrap
  27330. msgid "@code{home} (default: @var{#f})"
  27331. msgstr ""
  27332. #. type: table
  27333. #: guix-git/doc/guix.texi:18768
  27334. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  27335. msgstr ""
  27336. #. type: Plain text
  27337. #: guix-git/doc/guix.texi:18774
  27338. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  27339. msgstr ""
  27340. #. type: cindex
  27341. #: guix-git/doc/guix.texi:18774 guix-git/doc/guix.texi:18813
  27342. #: guix-git/doc/guix.texi:36319
  27343. #, no-wrap
  27344. msgid "SSH"
  27345. msgstr ""
  27346. #. type: cindex
  27347. #: guix-git/doc/guix.texi:18775 guix-git/doc/guix.texi:18814
  27348. #: guix-git/doc/guix.texi:36320
  27349. #, no-wrap
  27350. msgid "SSH server"
  27351. msgstr ""
  27352. #. type: deffn
  27353. #: guix-git/doc/guix.texi:18777
  27354. #, no-wrap
  27355. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  27356. msgstr ""
  27357. #. type: deffn
  27358. #: guix-git/doc/guix.texi:18786
  27359. 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."
  27360. msgstr ""
  27361. #. type: deffn
  27362. #: guix-git/doc/guix.texi:18792
  27363. 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}."
  27364. msgstr ""
  27365. #. type: deffn
  27366. #: guix-git/doc/guix.texi:18796
  27367. 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."
  27368. msgstr ""
  27369. #. type: deffn
  27370. #: guix-git/doc/guix.texi:18801
  27371. 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})."
  27372. msgstr ""
  27373. #. type: deffn
  27374. #: guix-git/doc/guix.texi:18805
  27375. 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."
  27376. msgstr ""
  27377. #. type: deffn
  27378. #: guix-git/doc/guix.texi:18809
  27379. 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."
  27380. msgstr ""
  27381. #. type: deffn
  27382. #: guix-git/doc/guix.texi:18811
  27383. msgid "The other options should be self-descriptive."
  27384. msgstr ""
  27385. #. type: deffn
  27386. #: guix-git/doc/guix.texi:18815
  27387. #, no-wrap
  27388. msgid "{Scheme Variable} openssh-service-type"
  27389. msgstr ""
  27390. #. type: deffn
  27391. #: guix-git/doc/guix.texi:18819
  27392. 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:"
  27393. msgstr ""
  27394. #. type: lisp
  27395. #: guix-git/doc/guix.texi:18828
  27396. #, no-wrap
  27397. msgid ""
  27398. "(service openssh-service-type\n"
  27399. " (openssh-configuration\n"
  27400. " (x11-forwarding? #t)\n"
  27401. " (permit-root-login 'prohibit-password)\n"
  27402. " (authorized-keys\n"
  27403. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  27404. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  27405. msgstr ""
  27406. #. type: deffn
  27407. #: guix-git/doc/guix.texi:18831
  27408. msgid "See below for details about @code{openssh-configuration}."
  27409. msgstr ""
  27410. #. type: deffn
  27411. #: guix-git/doc/guix.texi:18834
  27412. msgid "This service can be extended with extra authorized keys, as in this example:"
  27413. msgstr ""
  27414. #. type: lisp
  27415. #: guix-git/doc/guix.texi:18839
  27416. #, no-wrap
  27417. msgid ""
  27418. "(service-extension openssh-service-type\n"
  27419. " (const `((\"charlie\"\n"
  27420. " ,(local-file \"charlie.pub\")))))\n"
  27421. msgstr ""
  27422. #. type: deftp
  27423. #: guix-git/doc/guix.texi:18842
  27424. #, no-wrap
  27425. msgid "{Data Type} openssh-configuration"
  27426. msgstr ""
  27427. #. type: deftp
  27428. #: guix-git/doc/guix.texi:18844
  27429. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  27430. msgstr ""
  27431. #. type: item
  27432. #: guix-git/doc/guix.texi:18846
  27433. #, no-wrap
  27434. msgid "@code{openssh} (default @var{openssh})"
  27435. msgstr ""
  27436. #. type: table
  27437. #: guix-git/doc/guix.texi:18848
  27438. msgid "The Openssh package to use."
  27439. msgstr ""
  27440. #. type: item
  27441. #: guix-git/doc/guix.texi:18849
  27442. #, no-wrap
  27443. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  27444. msgstr ""
  27445. #. type: table
  27446. #: guix-git/doc/guix.texi:18851
  27447. msgid "Name of the file where @command{sshd} writes its PID."
  27448. msgstr ""
  27449. #. type: item
  27450. #: guix-git/doc/guix.texi:18852
  27451. #, no-wrap
  27452. msgid "@code{port-number} (default: @code{22})"
  27453. msgstr ""
  27454. #. type: table
  27455. #: guix-git/doc/guix.texi:18854
  27456. msgid "TCP port on which @command{sshd} listens for incoming connections."
  27457. msgstr ""
  27458. #. type: item
  27459. #: guix-git/doc/guix.texi:18855
  27460. #, no-wrap
  27461. msgid "@code{permit-root-login} (default: @code{#f})"
  27462. msgstr ""
  27463. #. type: table
  27464. #: guix-git/doc/guix.texi:18860
  27465. 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."
  27466. msgstr ""
  27467. #. type: item
  27468. #: guix-git/doc/guix.texi:18861 guix-git/doc/guix.texi:19022
  27469. #, no-wrap
  27470. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  27471. msgstr ""
  27472. #. type: table
  27473. #: guix-git/doc/guix.texi:18864
  27474. msgid "When true, users with empty passwords may log in. When false, they may not."
  27475. msgstr ""
  27476. #. type: item
  27477. #: guix-git/doc/guix.texi:18865 guix-git/doc/guix.texi:19025
  27478. #, no-wrap
  27479. msgid "@code{password-authentication?} (default: @code{#t})"
  27480. msgstr ""
  27481. #. type: table
  27482. #: guix-git/doc/guix.texi:18868
  27483. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  27484. msgstr ""
  27485. #. type: item
  27486. #: guix-git/doc/guix.texi:18869
  27487. #, no-wrap
  27488. msgid "@code{public-key-authentication?} (default: @code{#t})"
  27489. msgstr ""
  27490. #. type: table
  27491. #: guix-git/doc/guix.texi:18872
  27492. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  27493. msgstr ""
  27494. #. type: table
  27495. #: guix-git/doc/guix.texi:18875
  27496. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  27497. msgstr ""
  27498. #. type: item
  27499. #: guix-git/doc/guix.texi:18876
  27500. #, no-wrap
  27501. msgid "@code{x11-forwarding?} (default: @code{#f})"
  27502. msgstr ""
  27503. #. type: table
  27504. #: guix-git/doc/guix.texi:18880
  27505. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  27506. msgstr ""
  27507. #. type: item
  27508. #: guix-git/doc/guix.texi:18881
  27509. #, no-wrap
  27510. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  27511. msgstr ""
  27512. #. type: table
  27513. #: guix-git/doc/guix.texi:18883
  27514. msgid "Whether to allow agent forwarding."
  27515. msgstr ""
  27516. #. type: item
  27517. #: guix-git/doc/guix.texi:18884
  27518. #, no-wrap
  27519. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  27520. msgstr ""
  27521. #. type: table
  27522. #: guix-git/doc/guix.texi:18886
  27523. msgid "Whether to allow TCP forwarding."
  27524. msgstr ""
  27525. #. type: item
  27526. #: guix-git/doc/guix.texi:18887
  27527. #, no-wrap
  27528. msgid "@code{gateway-ports?} (default: @code{#f})"
  27529. msgstr ""
  27530. #. type: table
  27531. #: guix-git/doc/guix.texi:18889
  27532. msgid "Whether to allow gateway ports."
  27533. msgstr ""
  27534. #. type: item
  27535. #: guix-git/doc/guix.texi:18890
  27536. #, no-wrap
  27537. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  27538. msgstr ""
  27539. #. type: table
  27540. #: guix-git/doc/guix.texi:18893
  27541. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  27542. msgstr ""
  27543. #. type: item
  27544. #: guix-git/doc/guix.texi:18894
  27545. #, no-wrap
  27546. msgid "@code{use-pam?} (default: @code{#t})"
  27547. msgstr ""
  27548. #. type: table
  27549. #: guix-git/doc/guix.texi:18900
  27550. 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."
  27551. msgstr ""
  27552. #. type: table
  27553. #: guix-git/doc/guix.texi:18905
  27554. 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?}."
  27555. msgstr ""
  27556. #. type: item
  27557. #: guix-git/doc/guix.texi:18906
  27558. #, no-wrap
  27559. msgid "@code{print-last-log?} (default: @code{#t})"
  27560. msgstr ""
  27561. #. type: table
  27562. #: guix-git/doc/guix.texi:18909
  27563. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  27564. msgstr ""
  27565. #. type: item
  27566. #: guix-git/doc/guix.texi:18910
  27567. #, no-wrap
  27568. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  27569. msgstr ""
  27570. #. type: table
  27571. #: guix-git/doc/guix.texi:18912
  27572. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  27573. msgstr ""
  27574. #. type: table
  27575. #: guix-git/doc/guix.texi:18916
  27576. 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."
  27577. msgstr ""
  27578. #. type: table
  27579. #: guix-git/doc/guix.texi:18919
  27580. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  27581. msgstr ""
  27582. #. type: lisp
  27583. #: guix-git/doc/guix.texi:18924
  27584. #, no-wrap
  27585. msgid ""
  27586. "(service openssh-service-type\n"
  27587. " (openssh-configuration\n"
  27588. " (subsystems\n"
  27589. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  27590. msgstr ""
  27591. #. type: item
  27592. #: guix-git/doc/guix.texi:18926
  27593. #, no-wrap
  27594. msgid "@code{accepted-environment} (default: @code{'()})"
  27595. msgstr ""
  27596. #. type: table
  27597. #: guix-git/doc/guix.texi:18928
  27598. msgid "List of strings describing which environment variables may be exported."
  27599. msgstr ""
  27600. #. type: table
  27601. #: guix-git/doc/guix.texi:18931
  27602. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  27603. msgstr ""
  27604. #. type: table
  27605. #: guix-git/doc/guix.texi:18936
  27606. 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."
  27607. msgstr ""
  27608. #. type: lisp
  27609. #: guix-git/doc/guix.texi:18941
  27610. #, no-wrap
  27611. msgid ""
  27612. "(service openssh-service-type\n"
  27613. " (openssh-configuration\n"
  27614. " (accepted-environment '(\"COLORTERM\"))))\n"
  27615. msgstr ""
  27616. #. type: item
  27617. #: guix-git/doc/guix.texi:18943
  27618. #, no-wrap
  27619. msgid "@code{authorized-keys} (default: @code{'()})"
  27620. msgstr ""
  27621. #. type: cindex
  27622. #: guix-git/doc/guix.texi:18944
  27623. #, no-wrap
  27624. msgid "authorized keys, SSH"
  27625. msgstr ""
  27626. #. type: cindex
  27627. #: guix-git/doc/guix.texi:18945
  27628. #, no-wrap
  27629. msgid "SSH authorized keys"
  27630. msgstr ""
  27631. #. type: table
  27632. #: guix-git/doc/guix.texi:18949
  27633. 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:"
  27634. msgstr ""
  27635. #. type: lisp
  27636. #: guix-git/doc/guix.texi:18956
  27637. #, no-wrap
  27638. msgid ""
  27639. "(openssh-configuration\n"
  27640. " (authorized-keys\n"
  27641. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  27642. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  27643. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  27644. msgstr ""
  27645. #. type: table
  27646. #: guix-git/doc/guix.texi:18961
  27647. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  27648. msgstr ""
  27649. #. type: table
  27650. #: guix-git/doc/guix.texi:18964
  27651. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  27652. msgstr ""
  27653. #. type: table
  27654. #: guix-git/doc/guix.texi:18967
  27655. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  27656. msgstr ""
  27657. #. type: item
  27658. #: guix-git/doc/guix.texi:18968 guix-git/doc/guix.texi:19399
  27659. #, no-wrap
  27660. msgid "@code{log-level} (default: @code{'info})"
  27661. msgstr ""
  27662. #. type: table
  27663. #: guix-git/doc/guix.texi:18972
  27664. 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."
  27665. msgstr ""
  27666. #. type: item
  27667. #: guix-git/doc/guix.texi:18973 guix-git/doc/guix.texi:21848
  27668. #: guix-git/doc/guix.texi:26899
  27669. #, no-wrap
  27670. msgid "@code{extra-content} (default: @code{\"\"})"
  27671. msgstr ""
  27672. #. type: table
  27673. #: guix-git/doc/guix.texi:18978
  27674. 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:"
  27675. msgstr ""
  27676. #. type: lisp
  27677. #: guix-git/doc/guix.texi:18984
  27678. #, no-wrap
  27679. msgid ""
  27680. "(openssh-configuration\n"
  27681. " (extra-content \"\\\n"
  27682. "Match Address 192.168.0.1\n"
  27683. " PermitRootLogin yes\"))\n"
  27684. msgstr ""
  27685. #. type: deffn
  27686. #: guix-git/doc/guix.texi:18989
  27687. #, no-wrap
  27688. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  27689. msgstr ""
  27690. #. type: deffn
  27691. #: guix-git/doc/guix.texi:18993
  27692. 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."
  27693. msgstr ""
  27694. #. type: deffn
  27695. #: guix-git/doc/guix.texi:18996
  27696. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  27697. msgstr ""
  27698. #. type: lisp
  27699. #: guix-git/doc/guix.texi:19000
  27700. #, no-wrap
  27701. msgid ""
  27702. "(dropbear-service (dropbear-configuration\n"
  27703. " (port-number 1234)))\n"
  27704. msgstr ""
  27705. #. type: deftp
  27706. #: guix-git/doc/guix.texi:19003
  27707. #, no-wrap
  27708. msgid "{Data Type} dropbear-configuration"
  27709. msgstr ""
  27710. #. type: deftp
  27711. #: guix-git/doc/guix.texi:19005
  27712. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  27713. msgstr ""
  27714. #. type: item
  27715. #: guix-git/doc/guix.texi:19007
  27716. #, no-wrap
  27717. msgid "@code{dropbear} (default: @var{dropbear})"
  27718. msgstr ""
  27719. #. type: table
  27720. #: guix-git/doc/guix.texi:19009
  27721. msgid "The Dropbear package to use."
  27722. msgstr ""
  27723. #. type: item
  27724. #: guix-git/doc/guix.texi:19010
  27725. #, no-wrap
  27726. msgid "@code{port-number} (default: 22)"
  27727. msgstr ""
  27728. #. type: table
  27729. #: guix-git/doc/guix.texi:19012
  27730. msgid "The TCP port where the daemon waits for incoming connections."
  27731. msgstr ""
  27732. #. type: item
  27733. #: guix-git/doc/guix.texi:19013
  27734. #, no-wrap
  27735. msgid "@code{syslog-output?} (default: @code{#t})"
  27736. msgstr ""
  27737. #. type: table
  27738. #: guix-git/doc/guix.texi:19015
  27739. msgid "Whether to enable syslog output."
  27740. msgstr ""
  27741. #. type: item
  27742. #: guix-git/doc/guix.texi:19016
  27743. #, no-wrap
  27744. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  27745. msgstr ""
  27746. #. type: table
  27747. #: guix-git/doc/guix.texi:19018
  27748. msgid "File name of the daemon's PID file."
  27749. msgstr ""
  27750. #. type: item
  27751. #: guix-git/doc/guix.texi:19019
  27752. #, no-wrap
  27753. msgid "@code{root-login?} (default: @code{#f})"
  27754. msgstr ""
  27755. #. type: table
  27756. #: guix-git/doc/guix.texi:19021
  27757. msgid "Whether to allow @code{root} logins."
  27758. msgstr ""
  27759. #. type: table
  27760. #: guix-git/doc/guix.texi:19024
  27761. msgid "Whether to allow empty passwords."
  27762. msgstr ""
  27763. #. type: table
  27764. #: guix-git/doc/guix.texi:19027
  27765. msgid "Whether to enable password-based authentication."
  27766. msgstr ""
  27767. #. type: cindex
  27768. #: guix-git/doc/guix.texi:19030
  27769. #, no-wrap
  27770. msgid "AutoSSH"
  27771. msgstr ""
  27772. #. type: deffn
  27773. #: guix-git/doc/guix.texi:19031
  27774. #, no-wrap
  27775. msgid "{Scheme Variable} autossh-service-type"
  27776. msgstr ""
  27777. #. type: deffn
  27778. #: guix-git/doc/guix.texi:19039
  27779. 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."
  27780. msgstr ""
  27781. #. type: deffn
  27782. #: guix-git/doc/guix.texi:19043
  27783. 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."
  27784. msgstr ""
  27785. #. type: deffn
  27786. #: guix-git/doc/guix.texi:19048
  27787. 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:"
  27788. msgstr ""
  27789. #. type: lisp
  27790. #: guix-git/doc/guix.texi:19054
  27791. #, no-wrap
  27792. msgid ""
  27793. "(service autossh-service-type\n"
  27794. " (autossh-configuration\n"
  27795. " (user \"pino\")\n"
  27796. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  27797. msgstr ""
  27798. #. type: deftp
  27799. #: guix-git/doc/guix.texi:19057
  27800. #, no-wrap
  27801. msgid "{Data Type} autossh-configuration"
  27802. msgstr ""
  27803. #. type: deftp
  27804. #: guix-git/doc/guix.texi:19059
  27805. msgid "This data type represents the configuration of an AutoSSH service."
  27806. msgstr ""
  27807. #. type: item
  27808. #: guix-git/doc/guix.texi:19062
  27809. #, no-wrap
  27810. msgid "@code{user} (default @code{\"autossh\"})"
  27811. msgstr ""
  27812. #. type: table
  27813. #: guix-git/doc/guix.texi:19065
  27814. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  27815. msgstr ""
  27816. #. type: item
  27817. #: guix-git/doc/guix.texi:19066
  27818. #, no-wrap
  27819. msgid "@code{poll} (default @code{600})"
  27820. msgstr ""
  27821. #. type: table
  27822. #: guix-git/doc/guix.texi:19068
  27823. msgid "Specifies the connection poll time in seconds."
  27824. msgstr ""
  27825. #. type: item
  27826. #: guix-git/doc/guix.texi:19069
  27827. #, no-wrap
  27828. msgid "@code{first-poll} (default @code{#f})"
  27829. msgstr ""
  27830. #. type: table
  27831. #: guix-git/doc/guix.texi:19075
  27832. 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}."
  27833. msgstr ""
  27834. #. type: item
  27835. #: guix-git/doc/guix.texi:19076
  27836. #, no-wrap
  27837. msgid "@code{gate-time} (default @code{30})"
  27838. msgstr ""
  27839. #. type: table
  27840. #: guix-git/doc/guix.texi:19079
  27841. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  27842. msgstr ""
  27843. #. type: item
  27844. #: guix-git/doc/guix.texi:19080
  27845. #, no-wrap
  27846. msgid "@code{log-level} (default @code{1})"
  27847. msgstr ""
  27848. #. type: table
  27849. #: guix-git/doc/guix.texi:19083
  27850. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  27851. msgstr ""
  27852. #. type: item
  27853. #: guix-git/doc/guix.texi:19084
  27854. #, no-wrap
  27855. msgid "@code{max-start} (default @code{#f})"
  27856. msgstr ""
  27857. #. type: table
  27858. #: guix-git/doc/guix.texi:19087
  27859. 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."
  27860. msgstr ""
  27861. #. type: item
  27862. #: guix-git/doc/guix.texi:19088
  27863. #, no-wrap
  27864. msgid "@code{message} (default @code{\"\"})"
  27865. msgstr ""
  27866. #. type: table
  27867. #: guix-git/doc/guix.texi:19090
  27868. msgid "The message to append to the echo message sent when testing connections."
  27869. msgstr ""
  27870. #. type: item
  27871. #: guix-git/doc/guix.texi:19091
  27872. #, no-wrap
  27873. msgid "@code{port} (default @code{\"0\"})"
  27874. msgstr ""
  27875. #. type: table
  27876. #: guix-git/doc/guix.texi:19101
  27877. 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."
  27878. msgstr ""
  27879. #. type: item
  27880. #: guix-git/doc/guix.texi:19102
  27881. #, no-wrap
  27882. msgid "@code{ssh-options} (default @code{'()})"
  27883. msgstr ""
  27884. #. type: table
  27885. #: guix-git/doc/guix.texi:19106
  27886. 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."
  27887. msgstr ""
  27888. #. type: cindex
  27889. #: guix-git/doc/guix.texi:19110
  27890. #, no-wrap
  27891. msgid "WebSSH"
  27892. msgstr ""
  27893. #. type: deffn
  27894. #: guix-git/doc/guix.texi:19111
  27895. #, no-wrap
  27896. msgid "{Scheme Variable} webssh-service-type"
  27897. msgstr ""
  27898. #. type: deffn
  27899. #: guix-git/doc/guix.texi:19117
  27900. 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."
  27901. msgstr ""
  27902. #. type: deffn
  27903. #: guix-git/doc/guix.texi:19123
  27904. 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:"
  27905. msgstr ""
  27906. #. type: lisp
  27907. #: guix-git/doc/guix.texi:19131
  27908. #, no-wrap
  27909. msgid ""
  27910. "(service webssh-service-type\n"
  27911. " (webssh-configuration (address \"127.0.0.1\")\n"
  27912. " (port 8888)\n"
  27913. " (policy 'reject)\n"
  27914. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  27915. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  27916. "\n"
  27917. msgstr ""
  27918. #. type: lisp
  27919. #: guix-git/doc/guix.texi:19147
  27920. #, no-wrap
  27921. msgid ""
  27922. "(service nginx-service-type\n"
  27923. " (nginx-configuration\n"
  27924. " (server-blocks\n"
  27925. " (list\n"
  27926. " (nginx-server-configuration\n"
  27927. " (inherit %webssh-configuration-nginx)\n"
  27928. " (server-name '(\"webssh.example.com\"))\n"
  27929. " (listen '(\"443 ssl\"))\n"
  27930. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  27931. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  27932. " (locations\n"
  27933. " (cons (nginx-location-configuration\n"
  27934. " (uri \"/.well-known\")\n"
  27935. " (body '(\"root /var/www;\")))\n"
  27936. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  27937. msgstr ""
  27938. #. type: deftp
  27939. #: guix-git/doc/guix.texi:19150
  27940. #, no-wrap
  27941. msgid "{Data Type} webssh-configuration"
  27942. msgstr ""
  27943. #. type: deftp
  27944. #: guix-git/doc/guix.texi:19152
  27945. msgid "Data type representing the configuration for @code{webssh-service}."
  27946. msgstr ""
  27947. #. type: item
  27948. #: guix-git/doc/guix.texi:19154
  27949. #, no-wrap
  27950. msgid "@code{package} (default: @var{webssh})"
  27951. msgstr ""
  27952. #. type: table
  27953. #: guix-git/doc/guix.texi:19156
  27954. msgid "@code{webssh} package to use."
  27955. msgstr ""
  27956. #. type: item
  27957. #: guix-git/doc/guix.texi:19157
  27958. #, no-wrap
  27959. msgid "@code{user-name} (default: @var{\"webssh\"})"
  27960. msgstr ""
  27961. #. type: table
  27962. #: guix-git/doc/guix.texi:19160
  27963. msgid "User name or user ID that file transfers to and from that module should take place."
  27964. msgstr ""
  27965. #. type: item
  27966. #: guix-git/doc/guix.texi:19161
  27967. #, no-wrap
  27968. msgid "@code{group-name} (default: @var{\"webssh\"})"
  27969. msgstr ""
  27970. #. type: item
  27971. #: guix-git/doc/guix.texi:19164
  27972. #, no-wrap
  27973. msgid "@code{address} (default: @var{#f})"
  27974. msgstr ""
  27975. #. type: table
  27976. #: guix-git/doc/guix.texi:19166
  27977. msgid "IP address on which @command{webssh} listens for incoming connections."
  27978. msgstr ""
  27979. #. type: item
  27980. #: guix-git/doc/guix.texi:19167
  27981. #, no-wrap
  27982. msgid "@code{port} (default: @var{8888})"
  27983. msgstr ""
  27984. #. type: table
  27985. #: guix-git/doc/guix.texi:19169
  27986. msgid "TCP port on which @command{webssh} listens for incoming connections."
  27987. msgstr ""
  27988. #. type: item
  27989. #: guix-git/doc/guix.texi:19170
  27990. #, no-wrap
  27991. msgid "@code{policy} (default: @var{#f})"
  27992. msgstr ""
  27993. #. type: table
  27994. #: guix-git/doc/guix.texi:19172
  27995. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  27996. msgstr ""
  27997. #. type: item
  27998. #: guix-git/doc/guix.texi:19173
  27999. #, no-wrap
  28000. msgid "@code{known-hosts} (default: @var{'()})"
  28001. msgstr ""
  28002. #. type: table
  28003. #: guix-git/doc/guix.texi:19175
  28004. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  28005. msgstr ""
  28006. #. type: item
  28007. #: guix-git/doc/guix.texi:19176
  28008. #, no-wrap
  28009. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  28010. msgstr ""
  28011. #. type: table
  28012. #: guix-git/doc/guix.texi:19178
  28013. msgid "Name of the file where @command{webssh} writes its log file."
  28014. msgstr ""
  28015. #. type: item
  28016. #: guix-git/doc/guix.texi:19179
  28017. #, no-wrap
  28018. msgid "@code{log-level} (default: @var{#f})"
  28019. msgstr ""
  28020. #. type: table
  28021. #: guix-git/doc/guix.texi:19181
  28022. msgid "Logging level."
  28023. msgstr ""
  28024. #. type: defvr
  28025. #: guix-git/doc/guix.texi:19185
  28026. #, no-wrap
  28027. msgid "{Scheme Variable} %facebook-host-aliases"
  28028. msgstr ""
  28029. #. type: defvr
  28030. #: guix-git/doc/guix.texi:19191
  28031. 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}."
  28032. msgstr ""
  28033. #. type: defvr
  28034. #: guix-git/doc/guix.texi:19195
  28035. 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}}):"
  28036. msgstr ""
  28037. #. type: lisp
  28038. #: guix-git/doc/guix.texi:19208
  28039. #, no-wrap
  28040. msgid ""
  28041. "(operating-system\n"
  28042. " (host-name \"mymachine\")\n"
  28043. " ;; ...\n"
  28044. " (hosts-file\n"
  28045. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  28046. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  28047. " (plain-file \"hosts\"\n"
  28048. " (string-append (local-host-aliases host-name)\n"
  28049. " %facebook-host-aliases))))\n"
  28050. msgstr ""
  28051. #. type: defvr
  28052. #: guix-git/doc/guix.texi:19212
  28053. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  28054. msgstr ""
  28055. #. type: Plain text
  28056. #: guix-git/doc/guix.texi:19215
  28057. msgid "The @code{(gnu services avahi)} provides the following definition."
  28058. msgstr ""
  28059. #. type: defvr
  28060. #: guix-git/doc/guix.texi:19216
  28061. #, no-wrap
  28062. msgid "{Scheme Variable} avahi-service-type"
  28063. msgstr ""
  28064. #. type: defvr
  28065. #: guix-git/doc/guix.texi:19221
  28066. 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."
  28067. msgstr ""
  28068. #. type: defvr
  28069. #: guix-git/doc/guix.texi:19226
  28070. 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."
  28071. msgstr ""
  28072. #. type: defvr
  28073. #: guix-git/doc/guix.texi:19229
  28074. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  28075. msgstr ""
  28076. #. type: deftp
  28077. #: guix-git/doc/guix.texi:19231
  28078. #, no-wrap
  28079. msgid "{Data Type} avahi-configuration"
  28080. msgstr ""
  28081. #. type: deftp
  28082. #: guix-git/doc/guix.texi:19233
  28083. msgid "Data type representation the configuration for Avahi."
  28084. msgstr ""
  28085. #. type: item
  28086. #: guix-git/doc/guix.texi:19236
  28087. #, no-wrap
  28088. msgid "@code{host-name} (default: @code{#f})"
  28089. msgstr ""
  28090. #. type: table
  28091. #: guix-git/doc/guix.texi:19239
  28092. 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."
  28093. msgstr ""
  28094. #. type: item
  28095. #: guix-git/doc/guix.texi:19240 guix-git/doc/guix.texi:29565
  28096. #, no-wrap
  28097. msgid "@code{publish?} (default: @code{#t})"
  28098. msgstr ""
  28099. #. type: table
  28100. #: guix-git/doc/guix.texi:19243
  28101. msgid "When true, allow host names and services to be published (broadcast) over the network."
  28102. msgstr ""
  28103. #. type: item
  28104. #: guix-git/doc/guix.texi:19244
  28105. #, no-wrap
  28106. msgid "@code{publish-workstation?} (default: @code{#t})"
  28107. msgstr ""
  28108. #. type: table
  28109. #: guix-git/doc/guix.texi:19248
  28110. 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:"
  28111. msgstr ""
  28112. #. type: example
  28113. #: guix-git/doc/guix.texi:19251
  28114. #, no-wrap
  28115. msgid "avahi-browse _workstation._tcp\n"
  28116. msgstr ""
  28117. #. type: item
  28118. #: guix-git/doc/guix.texi:19253
  28119. #, no-wrap
  28120. msgid "@code{wide-area?} (default: @code{#f})"
  28121. msgstr ""
  28122. #. type: table
  28123. #: guix-git/doc/guix.texi:19255
  28124. msgid "When true, DNS-SD over unicast DNS is enabled."
  28125. msgstr ""
  28126. #. type: item
  28127. #: guix-git/doc/guix.texi:19256
  28128. #, no-wrap
  28129. msgid "@code{ipv4?} (default: @code{#t})"
  28130. msgstr ""
  28131. #. type: itemx
  28132. #: guix-git/doc/guix.texi:19257
  28133. #, no-wrap
  28134. msgid "@code{ipv6?} (default: @code{#t})"
  28135. msgstr ""
  28136. #. type: table
  28137. #: guix-git/doc/guix.texi:19259
  28138. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  28139. msgstr ""
  28140. #. type: item
  28141. #: guix-git/doc/guix.texi:19260
  28142. #, no-wrap
  28143. msgid "@code{domains-to-browse} (default: @code{'()})"
  28144. msgstr ""
  28145. #. type: table
  28146. #: guix-git/doc/guix.texi:19262
  28147. msgid "This is a list of domains to browse."
  28148. msgstr ""
  28149. #. type: deffn
  28150. #: guix-git/doc/guix.texi:19265
  28151. #, no-wrap
  28152. msgid "{Scheme Variable} openvswitch-service-type"
  28153. msgstr ""
  28154. #. type: deffn
  28155. #: guix-git/doc/guix.texi:19269
  28156. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  28157. msgstr ""
  28158. #. type: deftp
  28159. #: guix-git/doc/guix.texi:19271
  28160. #, no-wrap
  28161. msgid "{Data Type} openvswitch-configuration"
  28162. msgstr ""
  28163. #. type: deftp
  28164. #: guix-git/doc/guix.texi:19275
  28165. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  28166. msgstr ""
  28167. #. type: item
  28168. #: guix-git/doc/guix.texi:19277
  28169. #, no-wrap
  28170. msgid "@code{package} (default: @var{openvswitch})"
  28171. msgstr ""
  28172. #. type: table
  28173. #: guix-git/doc/guix.texi:19279
  28174. msgid "Package object of the Open vSwitch."
  28175. msgstr ""
  28176. #. type: defvr
  28177. #: guix-git/doc/guix.texi:19283
  28178. #, no-wrap
  28179. msgid "{Scheme Variable} pagekite-service-type"
  28180. msgstr ""
  28181. #. type: defvr
  28182. #: guix-git/doc/guix.texi:19288
  28183. 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."
  28184. msgstr ""
  28185. #. type: defvr
  28186. #: guix-git/doc/guix.texi:19290
  28187. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  28188. msgstr ""
  28189. #. type: lisp
  28190. #: guix-git/doc/guix.texi:19297
  28191. #, no-wrap
  28192. msgid ""
  28193. "(service pagekite-service-type\n"
  28194. " (pagekite-configuration\n"
  28195. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  28196. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  28197. " (extra-file \"/etc/pagekite.rc\")))\n"
  28198. msgstr ""
  28199. #. type: deftp
  28200. #: guix-git/doc/guix.texi:19300
  28201. #, no-wrap
  28202. msgid "{Data Type} pagekite-configuration"
  28203. msgstr ""
  28204. #. type: deftp
  28205. #: guix-git/doc/guix.texi:19302
  28206. msgid "Data type representing the configuration of PageKite."
  28207. msgstr ""
  28208. #. type: item
  28209. #: guix-git/doc/guix.texi:19304
  28210. #, no-wrap
  28211. msgid "@code{package} (default: @var{pagekite})"
  28212. msgstr ""
  28213. #. type: table
  28214. #: guix-git/doc/guix.texi:19306
  28215. msgid "Package object of PageKite."
  28216. msgstr ""
  28217. #. type: item
  28218. #: guix-git/doc/guix.texi:19307
  28219. #, no-wrap
  28220. msgid "@code{kitename} (default: @code{#f})"
  28221. msgstr ""
  28222. #. type: table
  28223. #: guix-git/doc/guix.texi:19309
  28224. msgid "PageKite name for authenticating to the frontend server."
  28225. msgstr ""
  28226. #. type: item
  28227. #: guix-git/doc/guix.texi:19310
  28228. #, no-wrap
  28229. msgid "@code{kitesecret} (default: @code{#f})"
  28230. msgstr ""
  28231. #. type: table
  28232. #: guix-git/doc/guix.texi:19313
  28233. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  28234. msgstr ""
  28235. #. type: item
  28236. #: guix-git/doc/guix.texi:19314
  28237. #, no-wrap
  28238. msgid "@code{frontend} (default: @code{#f})"
  28239. msgstr ""
  28240. #. type: table
  28241. #: guix-git/doc/guix.texi:19317
  28242. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  28243. msgstr ""
  28244. #. type: item
  28245. #: guix-git/doc/guix.texi:19318
  28246. #, no-wrap
  28247. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  28248. msgstr ""
  28249. #. type: table
  28250. #: guix-git/doc/guix.texi:19321
  28251. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  28252. msgstr ""
  28253. #. type: item
  28254. #: guix-git/doc/guix.texi:19322
  28255. #, no-wrap
  28256. msgid "@code{extra-file} (default: @code{#f})"
  28257. msgstr ""
  28258. #. type: table
  28259. #: guix-git/doc/guix.texi:19325
  28260. 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."
  28261. msgstr ""
  28262. #. type: defvr
  28263. #: guix-git/doc/guix.texi:19329
  28264. #, no-wrap
  28265. msgid "{Scheme Variable} yggdrasil-service-type"
  28266. msgstr ""
  28267. #. type: defvr
  28268. #: guix-git/doc/guix.texi:19333
  28269. 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."
  28270. msgstr ""
  28271. #. type: quotation
  28272. #: guix-git/doc/guix.texi:19340
  28273. 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}"
  28274. msgstr ""
  28275. #. type: defvr
  28276. #: guix-git/doc/guix.texi:19344
  28277. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  28278. msgstr ""
  28279. #. type: defvr
  28280. #: guix-git/doc/guix.texi:19348
  28281. 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})."
  28282. msgstr ""
  28283. #. type: lisp
  28284. #: guix-git/doc/guix.texi:19360
  28285. #, no-wrap
  28286. msgid ""
  28287. ";; part of the operating-system declaration\n"
  28288. "(service yggdrasil-service-type\n"
  28289. " (yggdrasil-configuration\n"
  28290. " (autoconf? #f) ;; use only the public peers\n"
  28291. " (json-config\n"
  28292. " ;; choose one from\n"
  28293. " ;; https://github.com/yggdrasil-network/public-peers\n"
  28294. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  28295. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  28296. " ))\n"
  28297. msgstr ""
  28298. #. type: example
  28299. #: guix-git/doc/guix.texi:19367
  28300. #, no-wrap
  28301. msgid ""
  28302. "# sample content for /etc/yggdrasil-private.conf\n"
  28303. "@{\n"
  28304. " # Your public encryption key. Your peers may ask you for this to put\n"
  28305. " # into their AllowedEncryptionPublicKeys configuration.\n"
  28306. " EncryptionPublicKey: 378dc5...\n"
  28307. "\n"
  28308. msgstr ""
  28309. #. type: example
  28310. #: guix-git/doc/guix.texi:19370
  28311. #, no-wrap
  28312. msgid ""
  28313. " # Your private encryption key. DO NOT share this with anyone!\n"
  28314. " EncryptionPrivateKey: 0777...\n"
  28315. "\n"
  28316. msgstr ""
  28317. #. type: example
  28318. #: guix-git/doc/guix.texi:19374
  28319. #, no-wrap
  28320. msgid ""
  28321. " # Your public signing key. You should not ordinarily need to share\n"
  28322. " # this with anyone.\n"
  28323. " SigningPublicKey: e1664...\n"
  28324. "\n"
  28325. msgstr ""
  28326. #. type: example
  28327. #: guix-git/doc/guix.texi:19378
  28328. #, no-wrap
  28329. msgid ""
  28330. " # Your private signing key. DO NOT share this with anyone!\n"
  28331. " SigningPrivateKey: 0589d...\n"
  28332. "@}\n"
  28333. msgstr ""
  28334. #. type: deftp
  28335. #: guix-git/doc/guix.texi:19381
  28336. #, no-wrap
  28337. msgid "{Data Type} yggdrasil-configuration"
  28338. msgstr ""
  28339. #. type: deftp
  28340. #: guix-git/doc/guix.texi:19383
  28341. msgid "Data type representing the configuration of Yggdrasil."
  28342. msgstr ""
  28343. #. type: item
  28344. #: guix-git/doc/guix.texi:19385
  28345. #, no-wrap
  28346. msgid "@code{package} (default: @code{yggdrasil})"
  28347. msgstr ""
  28348. #. type: table
  28349. #: guix-git/doc/guix.texi:19387
  28350. msgid "Package object of Yggdrasil."
  28351. msgstr ""
  28352. #. type: item
  28353. #: guix-git/doc/guix.texi:19388
  28354. #, no-wrap
  28355. msgid "@code{json-config} (default: @code{'()})"
  28356. msgstr ""
  28357. #. type: table
  28358. #: guix-git/doc/guix.texi:19394
  28359. 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."
  28360. msgstr ""
  28361. #. type: item
  28362. #: guix-git/doc/guix.texi:19395
  28363. #, no-wrap
  28364. msgid "@code{autoconf?} (default: @code{#f})"
  28365. msgstr ""
  28366. #. type: table
  28367. #: guix-git/doc/guix.texi:19398
  28368. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  28369. msgstr ""
  28370. #. type: table
  28371. #: guix-git/doc/guix.texi:19401
  28372. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  28373. msgstr ""
  28374. #. type: item
  28375. #: guix-git/doc/guix.texi:19402
  28376. #, no-wrap
  28377. msgid "@code{log-to} (default: @code{'stdout})"
  28378. msgstr ""
  28379. #. type: table
  28380. #: guix-git/doc/guix.texi:19406
  28381. 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."
  28382. msgstr ""
  28383. #. type: item
  28384. #: guix-git/doc/guix.texi:19407
  28385. #, no-wrap
  28386. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  28387. msgstr ""
  28388. #. type: table
  28389. #: guix-git/doc/guix.texi:19414
  28390. 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:"
  28391. msgstr ""
  28392. #. type: code{#1}
  28393. #: guix-git/doc/guix.texi:19416
  28394. #, no-wrap
  28395. msgid "EncryptionPublicKey"
  28396. msgstr ""
  28397. #. type: code{#1}
  28398. #: guix-git/doc/guix.texi:19417
  28399. #, no-wrap
  28400. msgid "EncryptionPrivateKey"
  28401. msgstr ""
  28402. #. type: code{#1}
  28403. #: guix-git/doc/guix.texi:19418
  28404. #, no-wrap
  28405. msgid "SigningPublicKey"
  28406. msgstr ""
  28407. #. type: code{#1}
  28408. #: guix-git/doc/guix.texi:19419
  28409. #, no-wrap
  28410. msgid "SigningPrivateKey"
  28411. msgstr ""
  28412. #. type: cindex
  28413. #: guix-git/doc/guix.texi:19424
  28414. #, no-wrap
  28415. msgid "IPFS"
  28416. msgstr ""
  28417. #. type: defvr
  28418. #: guix-git/doc/guix.texi:19425
  28419. #, no-wrap
  28420. msgid "{Scheme Variable} ipfs-service-type"
  28421. msgstr ""
  28422. #. type: defvr
  28423. #: guix-git/doc/guix.texi:19429
  28424. 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."
  28425. msgstr ""
  28426. #. type: defvr
  28427. #: guix-git/doc/guix.texi:19431
  28428. msgid "Here's an example configuration, using some non-standard ports:"
  28429. msgstr ""
  28430. #. type: lisp
  28431. #: guix-git/doc/guix.texi:19437
  28432. #, no-wrap
  28433. msgid ""
  28434. "(service ipfs-service-type\n"
  28435. " (ipfs-configuration\n"
  28436. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  28437. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  28438. msgstr ""
  28439. #. type: deftp
  28440. #: guix-git/doc/guix.texi:19440
  28441. #, no-wrap
  28442. msgid "{Data Type} ipfs-configuration"
  28443. msgstr ""
  28444. #. type: deftp
  28445. #: guix-git/doc/guix.texi:19442
  28446. msgid "Data type representing the configuration of IPFS."
  28447. msgstr ""
  28448. #. type: item
  28449. #: guix-git/doc/guix.texi:19444
  28450. #, no-wrap
  28451. msgid "@code{package} (default: @code{go-ipfs})"
  28452. msgstr ""
  28453. #. type: table
  28454. #: guix-git/doc/guix.texi:19446
  28455. msgid "Package object of IPFS."
  28456. msgstr ""
  28457. #. type: item
  28458. #: guix-git/doc/guix.texi:19447
  28459. #, no-wrap
  28460. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  28461. msgstr ""
  28462. #. type: table
  28463. #: guix-git/doc/guix.texi:19449
  28464. msgid "Address of the gateway, in ‘multiaddress’ format."
  28465. msgstr ""
  28466. #. type: item
  28467. #: guix-git/doc/guix.texi:19450
  28468. #, no-wrap
  28469. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  28470. msgstr ""
  28471. #. type: table
  28472. #: guix-git/doc/guix.texi:19452
  28473. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  28474. msgstr ""
  28475. #. type: cindex
  28476. #: guix-git/doc/guix.texi:19455
  28477. #, no-wrap
  28478. msgid "keepalived"
  28479. msgstr ""
  28480. #. type: deffn
  28481. #: guix-git/doc/guix.texi:19456
  28482. #, no-wrap
  28483. msgid "{Scheme Variable} keepalived-service-type"
  28484. msgstr ""
  28485. #. type: deffn
  28486. #: guix-git/doc/guix.texi:19461
  28487. 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:"
  28488. msgstr ""
  28489. #. type: lisp
  28490. #: guix-git/doc/guix.texi:19466
  28491. #, no-wrap
  28492. msgid ""
  28493. "(service keepalived-service-type\n"
  28494. " (keepalived-configuration\n"
  28495. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  28496. msgstr ""
  28497. #. type: deffn
  28498. #: guix-git/doc/guix.texi:19469
  28499. msgid "where @file{keepalived-master.conf}:"
  28500. msgstr ""
  28501. #. type: example
  28502. #: guix-git/doc/guix.texi:19481
  28503. #, no-wrap
  28504. msgid ""
  28505. "vrrp_instance my-group @{\n"
  28506. " state MASTER\n"
  28507. " interface enp9s0\n"
  28508. " virtual_router_id 100\n"
  28509. " priority 100\n"
  28510. " unicast_peer @{ 10.0.0.2 @}\n"
  28511. " virtual_ipaddress @{\n"
  28512. " 10.0.0.4/24\n"
  28513. " @}\n"
  28514. "@}\n"
  28515. msgstr ""
  28516. #. type: deffn
  28517. #: guix-git/doc/guix.texi:19484
  28518. msgid "and for backup machine:"
  28519. msgstr ""
  28520. #. type: lisp
  28521. #: guix-git/doc/guix.texi:19489
  28522. #, no-wrap
  28523. msgid ""
  28524. "(service keepalived-service-type\n"
  28525. " (keepalived-configuration\n"
  28526. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  28527. msgstr ""
  28528. #. type: deffn
  28529. #: guix-git/doc/guix.texi:19492
  28530. msgid "where @file{keepalived-backup.conf}:"
  28531. msgstr ""
  28532. #. type: example
  28533. #: guix-git/doc/guix.texi:19504
  28534. #, no-wrap
  28535. msgid ""
  28536. "vrrp_instance my-group @{\n"
  28537. " state BACKUP\n"
  28538. " interface enp9s0\n"
  28539. " virtual_router_id 100\n"
  28540. " priority 99\n"
  28541. " unicast_peer @{ 10.0.0.3 @}\n"
  28542. " virtual_ipaddress @{\n"
  28543. " 10.0.0.4/24\n"
  28544. " @}\n"
  28545. "@}\n"
  28546. msgstr ""
  28547. #. type: cindex
  28548. #: guix-git/doc/guix.texi:19510
  28549. #, no-wrap
  28550. msgid "unattended upgrades"
  28551. msgstr ""
  28552. #. type: cindex
  28553. #: guix-git/doc/guix.texi:19511
  28554. #, no-wrap
  28555. msgid "upgrades, unattended"
  28556. msgstr ""
  28557. #. type: Plain text
  28558. #: guix-git/doc/guix.texi:19516
  28559. 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:"
  28560. msgstr ""
  28561. #. type: itemize
  28562. #: guix-git/doc/guix.texi:19521
  28563. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  28564. msgstr ""
  28565. #. type: itemize
  28566. #: guix-git/doc/guix.texi:19525
  28567. 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;"
  28568. msgstr ""
  28569. #. type: itemize
  28570. #: guix-git/doc/guix.texi:19528
  28571. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  28572. msgstr ""
  28573. #. type: itemize
  28574. #: guix-git/doc/guix.texi:19531
  28575. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  28576. msgstr ""
  28577. #. type: Plain text
  28578. #: guix-git/doc/guix.texi:19536
  28579. 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:"
  28580. msgstr ""
  28581. #. type: lisp
  28582. #: guix-git/doc/guix.texi:19539
  28583. #, no-wrap
  28584. msgid "(service unattended-upgrade-service-type)\n"
  28585. msgstr ""
  28586. #. type: Plain text
  28587. #: guix-git/doc/guix.texi:19546
  28588. 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."
  28589. msgstr ""
  28590. #. type: Plain text
  28591. #: guix-git/doc/guix.texi:19552
  28592. 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."
  28593. msgstr ""
  28594. #. type: Plain text
  28595. #: guix-git/doc/guix.texi:19556
  28596. 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)."
  28597. msgstr ""
  28598. #. type: defvr
  28599. #: guix-git/doc/guix.texi:19557
  28600. #, no-wrap
  28601. msgid "{Scheme Variable} unattended-upgrade-service-type"
  28602. msgstr ""
  28603. #. type: defvr
  28604. #: guix-git/doc/guix.texi:19561
  28605. 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."
  28606. msgstr ""
  28607. #. type: defvr
  28608. #: guix-git/doc/guix.texi:19564
  28609. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  28610. msgstr ""
  28611. #. type: deftp
  28612. #: guix-git/doc/guix.texi:19566
  28613. #, no-wrap
  28614. msgid "{Data Type} unattended-upgrade-configuration"
  28615. msgstr ""
  28616. #. type: deftp
  28617. #: guix-git/doc/guix.texi:19569
  28618. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  28619. msgstr ""
  28620. #. type: item
  28621. #: guix-git/doc/guix.texi:19571
  28622. #, no-wrap
  28623. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  28624. msgstr ""
  28625. #. type: table
  28626. #: guix-git/doc/guix.texi:19575
  28627. 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})."
  28628. msgstr ""
  28629. #. type: item
  28630. #: guix-git/doc/guix.texi:19576
  28631. #, no-wrap
  28632. msgid "@code{channels} (default: @code{#~%default-channels})"
  28633. msgstr ""
  28634. #. type: table
  28635. #: guix-git/doc/guix.texi:19580
  28636. 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."
  28637. msgstr ""
  28638. #. type: item
  28639. #: guix-git/doc/guix.texi:19581
  28640. #, no-wrap
  28641. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  28642. msgstr ""
  28643. #. type: table
  28644. #: guix-git/doc/guix.texi:19584
  28645. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  28646. msgstr ""
  28647. #. type: table
  28648. #: guix-git/doc/guix.texi:19590
  28649. 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:"
  28650. msgstr ""
  28651. #. type: lisp
  28652. #: guix-git/doc/guix.texi:19596
  28653. #, no-wrap
  28654. msgid ""
  28655. "(unattended-upgrade-configuration\n"
  28656. " (operating-system-file\n"
  28657. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  28658. " \"/config.scm\")))\n"
  28659. msgstr ""
  28660. #. type: table
  28661. #: guix-git/doc/guix.texi:19603
  28662. 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}."
  28663. msgstr ""
  28664. #. type: item
  28665. #: guix-git/doc/guix.texi:19604
  28666. #, no-wrap
  28667. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  28668. msgstr ""
  28669. #. type: table
  28670. #: guix-git/doc/guix.texi:19607
  28671. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  28672. msgstr ""
  28673. #. type: table
  28674. #: guix-git/doc/guix.texi:19614
  28675. 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."
  28676. msgstr ""
  28677. #. type: table
  28678. #: guix-git/doc/guix.texi:19618
  28679. 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}."
  28680. msgstr ""
  28681. #. type: table
  28682. #: guix-git/doc/guix.texi:19621
  28683. 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."
  28684. msgstr ""
  28685. #. type: item
  28686. #: guix-git/doc/guix.texi:19622
  28687. #, no-wrap
  28688. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  28689. msgstr ""
  28690. #. type: table
  28691. #: guix-git/doc/guix.texi:19626
  28692. 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."
  28693. msgstr ""
  28694. #. type: quotation
  28695. #: guix-git/doc/guix.texi:19631
  28696. 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."
  28697. msgstr ""
  28698. #. type: item
  28699. #: guix-git/doc/guix.texi:19633
  28700. #, no-wrap
  28701. msgid "@code{maximum-duration} (default: @code{3600})"
  28702. msgstr ""
  28703. #. type: table
  28704. #: guix-git/doc/guix.texi:19636
  28705. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  28706. msgstr ""
  28707. #. type: table
  28708. #: guix-git/doc/guix.texi:19639
  28709. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  28710. msgstr ""
  28711. #. type: item
  28712. #: guix-git/doc/guix.texi:19640
  28713. #, no-wrap
  28714. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  28715. msgstr ""
  28716. #. type: table
  28717. #: guix-git/doc/guix.texi:19642
  28718. msgid "File where unattended upgrades are logged."
  28719. msgstr ""
  28720. #. type: cindex
  28721. #: guix-git/doc/guix.texi:19648
  28722. #, no-wrap
  28723. msgid "X11"
  28724. msgstr ""
  28725. #. type: cindex
  28726. #: guix-git/doc/guix.texi:19649
  28727. #, no-wrap
  28728. msgid "X Window System"
  28729. msgstr ""
  28730. #. type: cindex
  28731. #: guix-git/doc/guix.texi:19650 guix-git/doc/guix.texi:19923
  28732. #, no-wrap
  28733. msgid "login manager"
  28734. msgstr ""
  28735. #. type: Plain text
  28736. #: guix-git/doc/guix.texi:19655
  28737. 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)."
  28738. msgstr ""
  28739. #. type: cindex
  28740. #: guix-git/doc/guix.texi:19656
  28741. #, no-wrap
  28742. msgid "GDM"
  28743. msgstr ""
  28744. #. type: cindex
  28745. #: guix-git/doc/guix.texi:19657
  28746. #, no-wrap
  28747. msgid "GNOME, login manager"
  28748. msgstr ""
  28749. #. type: Plain text
  28750. #: guix-git/doc/guix.texi:19661
  28751. 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."
  28752. msgstr ""
  28753. #. type: cindex
  28754. #: guix-git/doc/guix.texi:19662
  28755. #, no-wrap
  28756. msgid "window manager"
  28757. msgstr ""
  28758. #. type: Plain text
  28759. #: guix-git/doc/guix.texi:19667
  28760. 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})."
  28761. msgstr ""
  28762. #. type: anchor{#1}
  28763. #: guix-git/doc/guix.texi:19673
  28764. msgid "wayland-gdm"
  28765. msgstr ""
  28766. #. type: Plain text
  28767. #: guix-git/doc/guix.texi:19673
  28768. msgid "GDM also supports Wayland: it can itself use Wayland instead of X11 for its user interface, and it can also start Wayland sessions. The former is required for the latter, to enable, set @code{wayland?} to @code{#t} in @code{gdm-configuration}."
  28769. msgstr ""
  28770. #. type: defvr
  28771. #: guix-git/doc/guix.texi:19674
  28772. #, no-wrap
  28773. msgid "{Scheme Variable} gdm-service-type"
  28774. msgstr ""
  28775. #. type: defvr
  28776. #: guix-git/doc/guix.texi:19679
  28777. 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)."
  28778. msgstr ""
  28779. #. type: cindex
  28780. #: guix-git/doc/guix.texi:19680
  28781. #, no-wrap
  28782. msgid "session types"
  28783. msgstr ""
  28784. #. type: defvr
  28785. #: guix-git/doc/guix.texi:19688
  28786. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} (for X11 sessions) and @file{/run/current-system/profile/share/wayland-sessions} (for Wayland sessions) and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, @code{i3} and @code{sway} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  28787. msgstr ""
  28788. #. type: defvr
  28789. #: guix-git/doc/guix.texi:19692
  28790. 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."
  28791. msgstr ""
  28792. #. type: deftp
  28793. #: guix-git/doc/guix.texi:19694
  28794. #, no-wrap
  28795. msgid "{Data Type} gdm-configuration"
  28796. msgstr ""
  28797. #. type: item
  28798. #: guix-git/doc/guix.texi:19696 guix-git/doc/guix.texi:19778
  28799. #, no-wrap
  28800. msgid "@code{auto-login?} (default: @code{#f})"
  28801. msgstr ""
  28802. #. type: itemx
  28803. #: guix-git/doc/guix.texi:19697
  28804. #, no-wrap
  28805. msgid "@code{default-user} (default: @code{#f})"
  28806. msgstr ""
  28807. #. type: table
  28808. #: guix-git/doc/guix.texi:19699
  28809. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  28810. msgstr ""
  28811. #. type: table
  28812. #: guix-git/doc/guix.texi:19702
  28813. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  28814. msgstr ""
  28815. #. type: item
  28816. #: guix-git/doc/guix.texi:19703 guix-git/doc/guix.texi:25597
  28817. #: guix-git/doc/guix.texi:27217 guix-git/doc/guix.texi:31731
  28818. #: guix-git/doc/guix.texi:31760 guix-git/doc/guix.texi:31789
  28819. #: guix-git/doc/guix.texi:31816 guix-git/doc/guix.texi:31871
  28820. #: guix-git/doc/guix.texi:31896 guix-git/doc/guix.texi:31923
  28821. #: guix-git/doc/guix.texi:31949 guix-git/doc/guix.texi:31991
  28822. #, no-wrap
  28823. msgid "@code{debug?} (default: @code{#f})"
  28824. msgstr ""
  28825. #. type: table
  28826. #: guix-git/doc/guix.texi:19705
  28827. msgid "When true, GDM writes debug messages to its log."
  28828. msgstr ""
  28829. #. type: item
  28830. #: guix-git/doc/guix.texi:19706
  28831. #, no-wrap
  28832. msgid "@code{gnome-shell-assets} (default: ...)"
  28833. msgstr ""
  28834. #. type: table
  28835. #: guix-git/doc/guix.texi:19708
  28836. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  28837. msgstr ""
  28838. #. type: item
  28839. #: guix-git/doc/guix.texi:19709
  28840. #, no-wrap
  28841. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  28842. msgstr ""
  28843. #. type: table
  28844. #: guix-git/doc/guix.texi:19711 guix-git/doc/guix.texi:19805
  28845. #: guix-git/doc/guix.texi:19889
  28846. msgid "Configuration of the Xorg graphical server."
  28847. msgstr ""
  28848. #. type: item
  28849. #: guix-git/doc/guix.texi:19712
  28850. #, no-wrap
  28851. msgid "@code{xsession} (default: @code{(xinitrc)})"
  28852. msgstr ""
  28853. #. type: table
  28854. #: guix-git/doc/guix.texi:19714 guix-git/doc/guix.texi:19904
  28855. msgid "Script to run before starting a X session."
  28856. msgstr ""
  28857. #. type: item
  28858. #: guix-git/doc/guix.texi:19715
  28859. #, no-wrap
  28860. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  28861. msgstr ""
  28862. #. type: table
  28863. #: guix-git/doc/guix.texi:19717
  28864. msgid "File name of the @code{dbus-daemon} executable."
  28865. msgstr ""
  28866. #. type: item
  28867. #: guix-git/doc/guix.texi:19718
  28868. #, no-wrap
  28869. msgid "@code{gdm} (default: @code{gdm})"
  28870. msgstr ""
  28871. #. type: table
  28872. #: guix-git/doc/guix.texi:19720
  28873. msgid "The GDM package to use."
  28874. msgstr ""
  28875. #. type: item
  28876. #: guix-git/doc/guix.texi:19721
  28877. #, no-wrap
  28878. msgid "@code{wayland?} (default: @code{#f})"
  28879. msgstr ""
  28880. #. type: table
  28881. #: guix-git/doc/guix.texi:19723
  28882. msgid "When true, enables Wayland in GDM, necessary to use Wayland sessions."
  28883. msgstr ""
  28884. #. type: item
  28885. #: guix-git/doc/guix.texi:19724
  28886. #, no-wrap
  28887. msgid "@code{wayland-session} (default: @code{gdm-wayland-session-wrapper})"
  28888. msgstr ""
  28889. #. type: table
  28890. #: guix-git/doc/guix.texi:19727
  28891. msgid "The Wayland session wrapper to use, needed to setup the environment."
  28892. msgstr ""
  28893. #. type: defvr
  28894. #: guix-git/doc/guix.texi:19730
  28895. #, no-wrap
  28896. msgid "{Scheme Variable} slim-service-type"
  28897. msgstr ""
  28898. #. type: defvr
  28899. #: guix-git/doc/guix.texi:19732
  28900. msgid "This is the type for the SLiM graphical login manager for X11."
  28901. msgstr ""
  28902. #. type: defvr
  28903. #: guix-git/doc/guix.texi:19736
  28904. 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."
  28905. msgstr ""
  28906. #. type: defvr
  28907. #: guix-git/doc/guix.texi:19743
  28908. 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."
  28909. msgstr ""
  28910. #. type: lisp
  28911. #: guix-git/doc/guix.texi:19748
  28912. #, no-wrap
  28913. msgid ""
  28914. "(use-modules (gnu services)\n"
  28915. " (gnu services desktop)\n"
  28916. " (gnu services xorg))\n"
  28917. "\n"
  28918. msgstr ""
  28919. #. type: lisp
  28920. #: guix-git/doc/guix.texi:19759
  28921. #, no-wrap
  28922. msgid ""
  28923. "(operating-system\n"
  28924. " ;; ...\n"
  28925. " (services (cons* (service slim-service-type (slim-configuration\n"
  28926. " (display \":0\")\n"
  28927. " (vt \"vt7\")))\n"
  28928. " (service slim-service-type (slim-configuration\n"
  28929. " (display \":1\")\n"
  28930. " (vt \"vt8\")))\n"
  28931. " (modify-services %desktop-services\n"
  28932. " (delete gdm-service-type)))))\n"
  28933. msgstr ""
  28934. #. type: deftp
  28935. #: guix-git/doc/guix.texi:19763
  28936. #, no-wrap
  28937. msgid "{Data Type} slim-configuration"
  28938. msgstr ""
  28939. #. type: deftp
  28940. #: guix-git/doc/guix.texi:19765
  28941. msgid "Data type representing the configuration of @code{slim-service-type}."
  28942. msgstr ""
  28943. #. type: table
  28944. #: guix-git/doc/guix.texi:19769
  28945. msgid "Whether to allow logins with empty passwords."
  28946. msgstr ""
  28947. #. type: item
  28948. #: guix-git/doc/guix.texi:19770
  28949. #, no-wrap
  28950. msgid "@code{gnupg?} (default: @code{#f})"
  28951. msgstr ""
  28952. #. type: table
  28953. #: guix-git/doc/guix.texi:19777
  28954. 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}."
  28955. msgstr ""
  28956. #. type: itemx
  28957. #: guix-git/doc/guix.texi:19779
  28958. #, no-wrap
  28959. msgid "@code{default-user} (default: @code{\"\"})"
  28960. msgstr ""
  28961. #. type: table
  28962. #: guix-git/doc/guix.texi:19781
  28963. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  28964. msgstr ""
  28965. #. type: table
  28966. #: guix-git/doc/guix.texi:19784
  28967. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  28968. msgstr ""
  28969. #. type: item
  28970. #: guix-git/doc/guix.texi:19785
  28971. #, no-wrap
  28972. msgid "@code{theme} (default: @code{%default-slim-theme})"
  28973. msgstr ""
  28974. #. type: itemx
  28975. #: guix-git/doc/guix.texi:19786
  28976. #, no-wrap
  28977. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  28978. msgstr ""
  28979. #. type: table
  28980. #: guix-git/doc/guix.texi:19788
  28981. msgid "The graphical theme to use and its name."
  28982. msgstr ""
  28983. #. type: item
  28984. #: guix-git/doc/guix.texi:19789
  28985. #, no-wrap
  28986. msgid "@code{auto-login-session} (default: @code{#f})"
  28987. msgstr ""
  28988. #. type: table
  28989. #: guix-git/doc/guix.texi:19792
  28990. 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\")}."
  28991. msgstr ""
  28992. #. type: table
  28993. #: guix-git/doc/guix.texi:19796
  28994. 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."
  28995. msgstr ""
  28996. #. type: quotation
  28997. #: guix-git/doc/guix.texi:19801
  28998. 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."
  28999. msgstr ""
  29000. #. type: item
  29001. #: guix-git/doc/guix.texi:19803 guix-git/doc/guix.texi:19887
  29002. #, no-wrap
  29003. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  29004. msgstr ""
  29005. #. type: item
  29006. #: guix-git/doc/guix.texi:19806
  29007. #, no-wrap
  29008. msgid "@code{display} (default @code{\":0\"})"
  29009. msgstr ""
  29010. #. type: table
  29011. #: guix-git/doc/guix.texi:19808
  29012. msgid "The display on which to start the Xorg graphical server."
  29013. msgstr ""
  29014. #. type: item
  29015. #: guix-git/doc/guix.texi:19809
  29016. #, no-wrap
  29017. msgid "@code{vt} (default @code{\"vt7\"})"
  29018. msgstr ""
  29019. #. type: table
  29020. #: guix-git/doc/guix.texi:19811
  29021. msgid "The VT on which to start the Xorg graphical server."
  29022. msgstr ""
  29023. #. type: item
  29024. #: guix-git/doc/guix.texi:19812
  29025. #, no-wrap
  29026. msgid "@code{xauth} (default: @code{xauth})"
  29027. msgstr ""
  29028. #. type: table
  29029. #: guix-git/doc/guix.texi:19814
  29030. msgid "The XAuth package to use."
  29031. msgstr ""
  29032. #. type: item
  29033. #: guix-git/doc/guix.texi:19815
  29034. #, no-wrap
  29035. msgid "@code{shepherd} (default: @code{shepherd})"
  29036. msgstr ""
  29037. #. type: table
  29038. #: guix-git/doc/guix.texi:19818
  29039. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  29040. msgstr ""
  29041. #. type: item
  29042. #: guix-git/doc/guix.texi:19819
  29043. #, no-wrap
  29044. msgid "@code{sessreg} (default: @code{sessreg})"
  29045. msgstr ""
  29046. #. type: table
  29047. #: guix-git/doc/guix.texi:19821
  29048. msgid "The sessreg package used in order to register the session."
  29049. msgstr ""
  29050. #. type: item
  29051. #: guix-git/doc/guix.texi:19822
  29052. #, no-wrap
  29053. msgid "@code{slim} (default: @code{slim})"
  29054. msgstr ""
  29055. #. type: table
  29056. #: guix-git/doc/guix.texi:19824
  29057. msgid "The SLiM package to use."
  29058. msgstr ""
  29059. #. type: defvr
  29060. #: guix-git/doc/guix.texi:19827
  29061. #, no-wrap
  29062. msgid "{Scheme Variable} %default-theme"
  29063. msgstr ""
  29064. #. type: defvrx
  29065. #: guix-git/doc/guix.texi:19828
  29066. #, no-wrap
  29067. msgid "{Scheme Variable} %default-theme-name"
  29068. msgstr ""
  29069. #. type: defvr
  29070. #: guix-git/doc/guix.texi:19830
  29071. msgid "The default SLiM theme and its name."
  29072. msgstr ""
  29073. #. type: deftp
  29074. #: guix-git/doc/guix.texi:19833 guix-git/doc/guix.texi:19940
  29075. #, no-wrap
  29076. msgid "{Data Type} sddm-configuration"
  29077. msgstr ""
  29078. #. type: deftp
  29079. #: guix-git/doc/guix.texi:19835
  29080. msgid "This is the data type representing the SDDM service configuration."
  29081. msgstr ""
  29082. #. type: item
  29083. #: guix-git/doc/guix.texi:19837
  29084. #, no-wrap
  29085. msgid "@code{display-server} (default: \"x11\")"
  29086. msgstr ""
  29087. #. type: table
  29088. #: guix-git/doc/guix.texi:19840
  29089. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  29090. msgstr ""
  29091. #. type: item
  29092. #: guix-git/doc/guix.texi:19841
  29093. #, no-wrap
  29094. msgid "@code{numlock} (default: \"on\")"
  29095. msgstr ""
  29096. #. type: table
  29097. #: guix-git/doc/guix.texi:19843
  29098. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  29099. msgstr ""
  29100. #. type: item
  29101. #: guix-git/doc/guix.texi:19844
  29102. #, no-wrap
  29103. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  29104. msgstr ""
  29105. #. type: table
  29106. #: guix-git/doc/guix.texi:19846
  29107. msgid "Command to run when halting."
  29108. msgstr ""
  29109. #. type: item
  29110. #: guix-git/doc/guix.texi:19847
  29111. #, no-wrap
  29112. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  29113. msgstr ""
  29114. #. type: table
  29115. #: guix-git/doc/guix.texi:19849
  29116. msgid "Command to run when rebooting."
  29117. msgstr ""
  29118. #. type: item
  29119. #: guix-git/doc/guix.texi:19850
  29120. #, no-wrap
  29121. msgid "@code{theme} (default \"maldives\")"
  29122. msgstr ""
  29123. #. type: table
  29124. #: guix-git/doc/guix.texi:19853
  29125. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  29126. msgstr ""
  29127. #. type: item
  29128. #: guix-git/doc/guix.texi:19854
  29129. #, no-wrap
  29130. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  29131. msgstr ""
  29132. #. type: table
  29133. #: guix-git/doc/guix.texi:19856
  29134. msgid "Directory to look for themes."
  29135. msgstr ""
  29136. #. type: item
  29137. #: guix-git/doc/guix.texi:19857
  29138. #, no-wrap
  29139. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  29140. msgstr ""
  29141. #. type: table
  29142. #: guix-git/doc/guix.texi:19859
  29143. msgid "Directory to look for faces."
  29144. msgstr ""
  29145. #. type: item
  29146. #: guix-git/doc/guix.texi:19860
  29147. #, no-wrap
  29148. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  29149. msgstr ""
  29150. #. type: table
  29151. #: guix-git/doc/guix.texi:19862
  29152. msgid "Default PATH to use."
  29153. msgstr ""
  29154. #. type: item
  29155. #: guix-git/doc/guix.texi:19863
  29156. #, no-wrap
  29157. msgid "@code{minimum-uid} (default: 1000)"
  29158. msgstr ""
  29159. #. type: table
  29160. #: guix-git/doc/guix.texi:19865
  29161. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  29162. msgstr ""
  29163. #. type: item
  29164. #: guix-git/doc/guix.texi:19866
  29165. #, no-wrap
  29166. msgid "@code{maximum-uid} (default: 2000)"
  29167. msgstr ""
  29168. #. type: table
  29169. #: guix-git/doc/guix.texi:19868
  29170. msgid "Maximum UID to display in SDDM."
  29171. msgstr ""
  29172. #. type: item
  29173. #: guix-git/doc/guix.texi:19869
  29174. #, no-wrap
  29175. msgid "@code{remember-last-user?} (default #t)"
  29176. msgstr ""
  29177. #. type: table
  29178. #: guix-git/doc/guix.texi:19871
  29179. msgid "Remember last user."
  29180. msgstr ""
  29181. #. type: item
  29182. #: guix-git/doc/guix.texi:19872
  29183. #, no-wrap
  29184. msgid "@code{remember-last-session?} (default #t)"
  29185. msgstr ""
  29186. #. type: table
  29187. #: guix-git/doc/guix.texi:19874
  29188. msgid "Remember last session."
  29189. msgstr ""
  29190. #. type: item
  29191. #: guix-git/doc/guix.texi:19875
  29192. #, no-wrap
  29193. msgid "@code{hide-users} (default \"\")"
  29194. msgstr ""
  29195. #. type: table
  29196. #: guix-git/doc/guix.texi:19877
  29197. msgid "Usernames to hide from SDDM greeter."
  29198. msgstr ""
  29199. #. type: item
  29200. #: guix-git/doc/guix.texi:19878
  29201. #, no-wrap
  29202. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  29203. msgstr ""
  29204. #. type: table
  29205. #: guix-git/doc/guix.texi:19880
  29206. msgid "Users with shells listed will be hidden from the SDDM greeter."
  29207. msgstr ""
  29208. #. type: item
  29209. #: guix-git/doc/guix.texi:19881
  29210. #, no-wrap
  29211. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  29212. msgstr ""
  29213. #. type: table
  29214. #: guix-git/doc/guix.texi:19883
  29215. msgid "Script to run before starting a wayland session."
  29216. msgstr ""
  29217. #. type: item
  29218. #: guix-git/doc/guix.texi:19884
  29219. #, no-wrap
  29220. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  29221. msgstr ""
  29222. #. type: table
  29223. #: guix-git/doc/guix.texi:19886
  29224. msgid "Directory to look for desktop files starting wayland sessions."
  29225. msgstr ""
  29226. #. type: item
  29227. #: guix-git/doc/guix.texi:19890
  29228. #, no-wrap
  29229. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  29230. msgstr ""
  29231. #. type: table
  29232. #: guix-git/doc/guix.texi:19892
  29233. msgid "Path to xauth."
  29234. msgstr ""
  29235. #. type: item
  29236. #: guix-git/doc/guix.texi:19893
  29237. #, no-wrap
  29238. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  29239. msgstr ""
  29240. #. type: table
  29241. #: guix-git/doc/guix.texi:19895
  29242. msgid "Path to Xephyr."
  29243. msgstr ""
  29244. #. type: item
  29245. #: guix-git/doc/guix.texi:19896
  29246. #, no-wrap
  29247. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  29248. msgstr ""
  29249. #. type: table
  29250. #: guix-git/doc/guix.texi:19898
  29251. msgid "Script to run after starting xorg-server."
  29252. msgstr ""
  29253. #. type: item
  29254. #: guix-git/doc/guix.texi:19899
  29255. #, no-wrap
  29256. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  29257. msgstr ""
  29258. #. type: table
  29259. #: guix-git/doc/guix.texi:19901
  29260. msgid "Script to run before stopping xorg-server."
  29261. msgstr ""
  29262. #. type: item
  29263. #: guix-git/doc/guix.texi:19902
  29264. #, no-wrap
  29265. msgid "@code{xsession-command} (default: @code{xinitrc})"
  29266. msgstr ""
  29267. #. type: item
  29268. #: guix-git/doc/guix.texi:19905
  29269. #, no-wrap
  29270. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  29271. msgstr ""
  29272. #. type: table
  29273. #: guix-git/doc/guix.texi:19907
  29274. msgid "Directory to look for desktop files starting X sessions."
  29275. msgstr ""
  29276. #. type: item
  29277. #: guix-git/doc/guix.texi:19908
  29278. #, no-wrap
  29279. msgid "@code{minimum-vt} (default: 7)"
  29280. msgstr ""
  29281. #. type: table
  29282. #: guix-git/doc/guix.texi:19910
  29283. msgid "Minimum VT to use."
  29284. msgstr ""
  29285. #. type: item
  29286. #: guix-git/doc/guix.texi:19911
  29287. #, no-wrap
  29288. msgid "@code{auto-login-user} (default \"\")"
  29289. msgstr ""
  29290. #. type: table
  29291. #: guix-git/doc/guix.texi:19913
  29292. msgid "User to use for auto-login."
  29293. msgstr ""
  29294. #. type: item
  29295. #: guix-git/doc/guix.texi:19914
  29296. #, no-wrap
  29297. msgid "@code{auto-login-session} (default \"\")"
  29298. msgstr ""
  29299. #. type: table
  29300. #: guix-git/doc/guix.texi:19916
  29301. msgid "Desktop file to use for auto-login."
  29302. msgstr ""
  29303. #. type: item
  29304. #: guix-git/doc/guix.texi:19917
  29305. #, no-wrap
  29306. msgid "@code{relogin?} (default #f)"
  29307. msgstr ""
  29308. #. type: table
  29309. #: guix-git/doc/guix.texi:19919
  29310. msgid "Relogin after logout."
  29311. msgstr ""
  29312. #. type: cindex
  29313. #: guix-git/doc/guix.texi:19924
  29314. #, no-wrap
  29315. msgid "X11 login"
  29316. msgstr ""
  29317. #. type: defvr
  29318. #: guix-git/doc/guix.texi:19925
  29319. #, no-wrap
  29320. msgid "{Scheme Variable} sddm-service-type"
  29321. msgstr ""
  29322. #. type: defvr
  29323. #: guix-git/doc/guix.texi:19929
  29324. 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)."
  29325. msgstr ""
  29326. #. type: defvr
  29327. #: guix-git/doc/guix.texi:19931
  29328. msgid "Here's an example use:"
  29329. msgstr ""
  29330. #. type: lisp
  29331. #: guix-git/doc/guix.texi:19937
  29332. #, no-wrap
  29333. msgid ""
  29334. "(service sddm-service-type\n"
  29335. " (sddm-configuration\n"
  29336. " (auto-login-user \"alice\")\n"
  29337. " (auto-login-session \"xfce.desktop\")))\n"
  29338. msgstr ""
  29339. #. type: deftp
  29340. #: guix-git/doc/guix.texi:19943
  29341. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  29342. msgstr ""
  29343. #. type: item
  29344. #: guix-git/doc/guix.texi:19945
  29345. #, no-wrap
  29346. msgid "@code{sddm} (default: @code{sddm})"
  29347. msgstr ""
  29348. #. type: table
  29349. #: guix-git/doc/guix.texi:19947
  29350. msgid "The SDDM package to use."
  29351. msgstr ""
  29352. #. type: item
  29353. #: guix-git/doc/guix.texi:19948
  29354. #, no-wrap
  29355. msgid "@code{display-server} (default: @code{\"x11\"})"
  29356. msgstr ""
  29357. #. type: table
  29358. #: guix-git/doc/guix.texi:19950
  29359. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  29360. msgstr ""
  29361. #. type: item
  29362. #: guix-git/doc/guix.texi:19953
  29363. #, no-wrap
  29364. msgid "@code{auto-login-user} (default: @code{\"\"})"
  29365. msgstr ""
  29366. #. type: table
  29367. #: guix-git/doc/guix.texi:19956
  29368. msgid "If non-empty, this is the user account under which to log in automatically."
  29369. msgstr ""
  29370. #. type: item
  29371. #: guix-git/doc/guix.texi:19957
  29372. #, no-wrap
  29373. msgid "@code{auto-login-session} (default: @code{\"\"})"
  29374. msgstr ""
  29375. #. type: table
  29376. #: guix-git/doc/guix.texi:19960
  29377. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  29378. msgstr ""
  29379. #. type: cindex
  29380. #: guix-git/doc/guix.texi:19963
  29381. #, no-wrap
  29382. msgid "Xorg, configuration"
  29383. msgstr ""
  29384. #. type: deftp
  29385. #: guix-git/doc/guix.texi:19964
  29386. #, no-wrap
  29387. msgid "{Data Type} xorg-configuration"
  29388. msgstr ""
  29389. #. type: deftp
  29390. #: guix-git/doc/guix.texi:19969
  29391. 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."
  29392. msgstr ""
  29393. #. type: item
  29394. #: guix-git/doc/guix.texi:19971
  29395. #, no-wrap
  29396. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  29397. msgstr ""
  29398. #. type: table
  29399. #: guix-git/doc/guix.texi:19974
  29400. 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."
  29401. msgstr ""
  29402. #. type: item
  29403. #: guix-git/doc/guix.texi:19975
  29404. #, no-wrap
  29405. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  29406. msgstr ""
  29407. #. type: table
  29408. #: guix-git/doc/guix.texi:19977
  29409. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  29410. msgstr ""
  29411. #. type: item
  29412. #: guix-git/doc/guix.texi:19978
  29413. #, no-wrap
  29414. msgid "@code{drivers} (default: @code{'()})"
  29415. msgstr ""
  29416. #. type: table
  29417. #: guix-git/doc/guix.texi:19982
  29418. 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\")}."
  29419. msgstr ""
  29420. #. type: item
  29421. #: guix-git/doc/guix.texi:19983
  29422. #, no-wrap
  29423. msgid "@code{resolutions} (default: @code{'()})"
  29424. msgstr ""
  29425. #. type: table
  29426. #: guix-git/doc/guix.texi:19987
  29427. 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))}."
  29428. msgstr ""
  29429. #. type: cindex
  29430. #: guix-git/doc/guix.texi:19988
  29431. #, no-wrap
  29432. msgid "keyboard layout, for Xorg"
  29433. msgstr ""
  29434. #. type: cindex
  29435. #: guix-git/doc/guix.texi:19989
  29436. #, no-wrap
  29437. msgid "keymap, for Xorg"
  29438. msgstr ""
  29439. #. type: table
  29440. #: guix-git/doc/guix.texi:19993
  29441. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  29442. msgstr ""
  29443. #. type: table
  29444. #: guix-git/doc/guix.texi:19997
  29445. 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."
  29446. msgstr ""
  29447. #. type: item
  29448. #: guix-git/doc/guix.texi:19998 guix-git/doc/guix.texi:21743
  29449. #: guix-git/doc/guix.texi:34597
  29450. #, no-wrap
  29451. msgid "@code{extra-config} (default: @code{'()})"
  29452. msgstr ""
  29453. #. type: table
  29454. #: guix-git/doc/guix.texi:20001 guix-git/doc/guix.texi:34601
  29455. 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."
  29456. msgstr ""
  29457. #. type: item
  29458. #: guix-git/doc/guix.texi:20002
  29459. #, no-wrap
  29460. msgid "@code{server} (default: @code{xorg-server})"
  29461. msgstr ""
  29462. #. type: table
  29463. #: guix-git/doc/guix.texi:20004
  29464. msgid "This is the package providing the Xorg server."
  29465. msgstr ""
  29466. #. type: item
  29467. #: guix-git/doc/guix.texi:20005
  29468. #, no-wrap
  29469. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  29470. msgstr ""
  29471. #. type: table
  29472. #: guix-git/doc/guix.texi:20008
  29473. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  29474. msgstr ""
  29475. #. type: deffn
  29476. #: guix-git/doc/guix.texi:20011
  29477. #, no-wrap
  29478. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  29479. msgstr ""
  29480. #. type: deffn
  29481. #: guix-git/doc/guix.texi:20015
  29482. 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."
  29483. msgstr ""
  29484. #. type: deffn
  29485. #: guix-git/doc/guix.texi:20019
  29486. 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."
  29487. msgstr ""
  29488. #. type: deffn
  29489. #: guix-git/doc/guix.texi:20021
  29490. #, no-wrap
  29491. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  29492. msgstr ""
  29493. #. type: deffn
  29494. #: guix-git/doc/guix.texi:20025
  29495. 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}."
  29496. msgstr ""
  29497. #. type: deffn
  29498. #: guix-git/doc/guix.texi:20027
  29499. msgid "Usually the X server is started by a login manager."
  29500. msgstr ""
  29501. #. type: deffn
  29502. #: guix-git/doc/guix.texi:20030
  29503. #, no-wrap
  29504. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  29505. msgstr ""
  29506. #. type: deffn
  29507. #: guix-git/doc/guix.texi:20034
  29508. 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:"
  29509. msgstr ""
  29510. #. type: lisp
  29511. #: guix-git/doc/guix.texi:20037
  29512. #, no-wrap
  29513. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  29514. msgstr ""
  29515. #. type: deffn
  29516. #: guix-git/doc/guix.texi:20040
  29517. msgid "makes the good ol' XlockMore usable."
  29518. msgstr ""
  29519. #. type: cindex
  29520. #: guix-git/doc/guix.texi:20046
  29521. #, no-wrap
  29522. msgid "printer support with CUPS"
  29523. msgstr ""
  29524. #. type: Plain text
  29525. #: guix-git/doc/guix.texi:20050
  29526. 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:"
  29527. msgstr ""
  29528. #. type: deffn
  29529. #: guix-git/doc/guix.texi:20051
  29530. #, no-wrap
  29531. msgid "{Scheme Variable} cups-service-type"
  29532. msgstr ""
  29533. #. type: deffn
  29534. #: guix-git/doc/guix.texi:20055
  29535. 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:"
  29536. msgstr ""
  29537. #. type: lisp
  29538. #: guix-git/doc/guix.texi:20057
  29539. #, no-wrap
  29540. msgid "(service cups-service-type)\n"
  29541. msgstr ""
  29542. #. type: Plain text
  29543. #: guix-git/doc/guix.texi:20067
  29544. 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."
  29545. msgstr ""
  29546. #. type: Plain text
  29547. #: guix-git/doc/guix.texi:20073
  29548. 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):"
  29549. msgstr ""
  29550. #. type: lisp
  29551. #: guix-git/doc/guix.texi:20080
  29552. #, no-wrap
  29553. msgid ""
  29554. "(service cups-service-type\n"
  29555. " (cups-configuration\n"
  29556. " (web-interface? #t)\n"
  29557. " (extensions\n"
  29558. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  29559. msgstr ""
  29560. #. type: Plain text
  29561. #: guix-git/doc/guix.texi:20085
  29562. 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."
  29563. msgstr ""
  29564. #. type: Plain text
  29565. #: guix-git/doc/guix.texi:20092
  29566. 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."
  29567. msgstr ""
  29568. #. type: Plain text
  29569. #: guix-git/doc/guix.texi:20103
  29570. msgid "Available @code{cups-configuration} fields are:"
  29571. msgstr ""
  29572. #. type: deftypevr
  29573. #: guix-git/doc/guix.texi:20104
  29574. #, no-wrap
  29575. msgid "{@code{cups-configuration} parameter} package cups"
  29576. msgstr ""
  29577. #. type: deftypevr
  29578. #: guix-git/doc/guix.texi:20106 guix-git/doc/guix.texi:20874
  29579. msgid "The CUPS package."
  29580. msgstr ""
  29581. #. type: deftypevr
  29582. #: guix-git/doc/guix.texi:20108
  29583. #, no-wrap
  29584. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  29585. msgstr ""
  29586. #. type: deftypevr
  29587. #: guix-git/doc/guix.texi:20110
  29588. msgid "Drivers and other extensions to the CUPS package."
  29589. msgstr ""
  29590. #. type: deftypevr
  29591. #: guix-git/doc/guix.texi:20112
  29592. #, no-wrap
  29593. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  29594. msgstr ""
  29595. #. type: deftypevr
  29596. #: guix-git/doc/guix.texi:20115
  29597. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  29598. msgstr ""
  29599. #. type: deftypevr
  29600. #: guix-git/doc/guix.texi:20117
  29601. msgid "Available @code{files-configuration} fields are:"
  29602. msgstr ""
  29603. #. type: deftypevr
  29604. #: guix-git/doc/guix.texi:20118
  29605. #, no-wrap
  29606. msgid "{@code{files-configuration} parameter} log-location access-log"
  29607. msgstr ""
  29608. #. type: deftypevr
  29609. #: guix-git/doc/guix.texi:20126
  29610. 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}."
  29611. msgstr ""
  29612. #. type: deftypevr
  29613. #: guix-git/doc/guix.texi:20128
  29614. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  29615. msgstr ""
  29616. #. type: deftypevr
  29617. #: guix-git/doc/guix.texi:20130
  29618. #, no-wrap
  29619. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  29620. msgstr ""
  29621. #. type: deftypevr
  29622. #: guix-git/doc/guix.texi:20132
  29623. msgid "Where CUPS should cache data."
  29624. msgstr ""
  29625. #. type: deftypevr
  29626. #: guix-git/doc/guix.texi:20134
  29627. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  29628. msgstr ""
  29629. #. type: deftypevr
  29630. #: guix-git/doc/guix.texi:20136
  29631. #, no-wrap
  29632. msgid "{@code{files-configuration} parameter} string config-file-perm"
  29633. msgstr ""
  29634. #. type: deftypevr
  29635. #: guix-git/doc/guix.texi:20139
  29636. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  29637. msgstr ""
  29638. #. type: deftypevr
  29639. #: guix-git/doc/guix.texi:20145
  29640. 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."
  29641. msgstr ""
  29642. #. type: deftypevr
  29643. #: guix-git/doc/guix.texi:20147
  29644. msgid "Defaults to @samp{\"0640\"}."
  29645. msgstr ""
  29646. #. type: deftypevr
  29647. #: guix-git/doc/guix.texi:20149
  29648. #, no-wrap
  29649. msgid "{@code{files-configuration} parameter} log-location error-log"
  29650. msgstr ""
  29651. #. type: deftypevr
  29652. #: guix-git/doc/guix.texi:20157
  29653. 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}."
  29654. msgstr ""
  29655. #. type: deftypevr
  29656. #: guix-git/doc/guix.texi:20159
  29657. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  29658. msgstr ""
  29659. #. type: deftypevr
  29660. #: guix-git/doc/guix.texi:20161
  29661. #, no-wrap
  29662. msgid "{@code{files-configuration} parameter} string fatal-errors"
  29663. msgstr ""
  29664. #. type: deftypevr
  29665. #: guix-git/doc/guix.texi:20164
  29666. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  29667. msgstr ""
  29668. #. type: table
  29669. #: guix-git/doc/guix.texi:20168
  29670. msgid "No errors are fatal."
  29671. msgstr ""
  29672. #. type: table
  29673. #: guix-git/doc/guix.texi:20171
  29674. msgid "All of the errors below are fatal."
  29675. msgstr ""
  29676. #. type: item
  29677. #: guix-git/doc/guix.texi:20172
  29678. #, no-wrap
  29679. msgid "browse"
  29680. msgstr ""
  29681. #. type: table
  29682. #: guix-git/doc/guix.texi:20175
  29683. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  29684. msgstr ""
  29685. #. type: item
  29686. #: guix-git/doc/guix.texi:20176
  29687. #, no-wrap
  29688. msgid "config"
  29689. msgstr ""
  29690. #. type: table
  29691. #: guix-git/doc/guix.texi:20178
  29692. msgid "Configuration file syntax errors are fatal."
  29693. msgstr ""
  29694. #. type: item
  29695. #: guix-git/doc/guix.texi:20179
  29696. #, no-wrap
  29697. msgid "listen"
  29698. msgstr ""
  29699. #. type: table
  29700. #: guix-git/doc/guix.texi:20182
  29701. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  29702. msgstr ""
  29703. #. type: item
  29704. #: guix-git/doc/guix.texi:20183
  29705. #, no-wrap
  29706. msgid "log"
  29707. msgstr ""
  29708. #. type: table
  29709. #: guix-git/doc/guix.texi:20185
  29710. msgid "Log file creation or write errors are fatal."
  29711. msgstr ""
  29712. #. type: item
  29713. #: guix-git/doc/guix.texi:20186
  29714. #, no-wrap
  29715. msgid "permissions"
  29716. msgstr ""
  29717. #. type: table
  29718. #: guix-git/doc/guix.texi:20189
  29719. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  29720. msgstr ""
  29721. #. type: deftypevr
  29722. #: guix-git/doc/guix.texi:20192
  29723. msgid "Defaults to @samp{\"all -browse\"}."
  29724. msgstr ""
  29725. #. type: deftypevr
  29726. #: guix-git/doc/guix.texi:20194
  29727. #, no-wrap
  29728. msgid "{@code{files-configuration} parameter} boolean file-device?"
  29729. msgstr ""
  29730. #. type: deftypevr
  29731. #: guix-git/doc/guix.texi:20197
  29732. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  29733. msgstr ""
  29734. #. type: deftypevr
  29735. #: guix-git/doc/guix.texi:20201
  29736. #, no-wrap
  29737. msgid "{@code{files-configuration} parameter} string group"
  29738. msgstr ""
  29739. #. type: deftypevr
  29740. #: guix-git/doc/guix.texi:20204
  29741. msgid "Specifies the group name or ID that will be used when executing external programs."
  29742. msgstr ""
  29743. #. type: deftypevr
  29744. #: guix-git/doc/guix.texi:20206 guix-git/doc/guix.texi:20292
  29745. msgid "Defaults to @samp{\"lp\"}."
  29746. msgstr ""
  29747. #. type: deftypevr
  29748. #: guix-git/doc/guix.texi:20208
  29749. #, no-wrap
  29750. msgid "{@code{files-configuration} parameter} string log-file-group"
  29751. msgstr ""
  29752. #. type: deftypevr
  29753. #: guix-git/doc/guix.texi:20210
  29754. msgid "Specifies the group name or ID that will be used for log files."
  29755. msgstr ""
  29756. #. type: deftypevr
  29757. #: guix-git/doc/guix.texi:20212
  29758. msgid "Defaults to @samp{\"lpadmin\"}."
  29759. msgstr ""
  29760. #. type: deftypevr
  29761. #: guix-git/doc/guix.texi:20214
  29762. #, no-wrap
  29763. msgid "{@code{files-configuration} parameter} string log-file-perm"
  29764. msgstr ""
  29765. #. type: deftypevr
  29766. #: guix-git/doc/guix.texi:20216
  29767. msgid "Specifies the permissions for all log files that the scheduler writes."
  29768. msgstr ""
  29769. #. type: deftypevr
  29770. #: guix-git/doc/guix.texi:20218
  29771. msgid "Defaults to @samp{\"0644\"}."
  29772. msgstr ""
  29773. #. type: deftypevr
  29774. #: guix-git/doc/guix.texi:20220
  29775. #, no-wrap
  29776. msgid "{@code{files-configuration} parameter} log-location page-log"
  29777. msgstr ""
  29778. #. type: deftypevr
  29779. #: guix-git/doc/guix.texi:20228
  29780. 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}."
  29781. msgstr ""
  29782. #. type: deftypevr
  29783. #: guix-git/doc/guix.texi:20230
  29784. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  29785. msgstr ""
  29786. #. type: deftypevr
  29787. #: guix-git/doc/guix.texi:20232
  29788. #, no-wrap
  29789. msgid "{@code{files-configuration} parameter} string remote-root"
  29790. msgstr ""
  29791. #. type: deftypevr
  29792. #: guix-git/doc/guix.texi:20235
  29793. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  29794. msgstr ""
  29795. #. type: deftypevr
  29796. #: guix-git/doc/guix.texi:20237
  29797. msgid "Defaults to @samp{\"remroot\"}."
  29798. msgstr ""
  29799. #. type: deftypevr
  29800. #: guix-git/doc/guix.texi:20239
  29801. #, no-wrap
  29802. msgid "{@code{files-configuration} parameter} file-name request-root"
  29803. msgstr ""
  29804. #. type: deftypevr
  29805. #: guix-git/doc/guix.texi:20242
  29806. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  29807. msgstr ""
  29808. #. type: deftypevr
  29809. #: guix-git/doc/guix.texi:20244
  29810. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  29811. msgstr ""
  29812. #. type: deftypevr
  29813. #: guix-git/doc/guix.texi:20246
  29814. #, no-wrap
  29815. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  29816. msgstr ""
  29817. #. type: deftypevr
  29818. #: guix-git/doc/guix.texi:20251
  29819. 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."
  29820. msgstr ""
  29821. #. type: deftypevr
  29822. #: guix-git/doc/guix.texi:20253
  29823. msgid "Defaults to @samp{strict}."
  29824. msgstr ""
  29825. #. type: deftypevr
  29826. #: guix-git/doc/guix.texi:20255
  29827. #, no-wrap
  29828. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  29829. msgstr ""
  29830. #. type: deftypevr
  29831. #: guix-git/doc/guix.texi:20260
  29832. 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."
  29833. msgstr ""
  29834. #. type: deftypevr
  29835. #: guix-git/doc/guix.texi:20262
  29836. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  29837. msgstr ""
  29838. #. type: deftypevr
  29839. #: guix-git/doc/guix.texi:20264
  29840. #, no-wrap
  29841. msgid "{@code{files-configuration} parameter} file-name server-root"
  29842. msgstr ""
  29843. #. type: deftypevr
  29844. #: guix-git/doc/guix.texi:20266
  29845. msgid "Specifies the directory containing the server configuration files."
  29846. msgstr ""
  29847. #. type: deftypevr
  29848. #: guix-git/doc/guix.texi:20268
  29849. msgid "Defaults to @samp{\"/etc/cups\"}."
  29850. msgstr ""
  29851. #. type: deftypevr
  29852. #: guix-git/doc/guix.texi:20270
  29853. #, no-wrap
  29854. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  29855. msgstr ""
  29856. #. type: deftypevr
  29857. #: guix-git/doc/guix.texi:20273
  29858. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  29859. msgstr ""
  29860. #. type: deftypevr
  29861. #: guix-git/doc/guix.texi:20277
  29862. #, no-wrap
  29863. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  29864. msgstr ""
  29865. #. type: deftypevr
  29866. #: guix-git/doc/guix.texi:20279
  29867. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  29868. msgstr ""
  29869. #. type: deftypevr
  29870. #: guix-git/doc/guix.texi:20281
  29871. #, no-wrap
  29872. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  29873. msgstr ""
  29874. #. type: deftypevr
  29875. #: guix-git/doc/guix.texi:20283
  29876. msgid "Specifies the directory where temporary files are stored."
  29877. msgstr ""
  29878. #. type: deftypevr
  29879. #: guix-git/doc/guix.texi:20285
  29880. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  29881. msgstr ""
  29882. #. type: deftypevr
  29883. #: guix-git/doc/guix.texi:20287
  29884. #, no-wrap
  29885. msgid "{@code{files-configuration} parameter} string user"
  29886. msgstr ""
  29887. #. type: deftypevr
  29888. #: guix-git/doc/guix.texi:20290
  29889. msgid "Specifies the user name or ID that is used when running external programs."
  29890. msgstr ""
  29891. #. type: deftypevr
  29892. #: guix-git/doc/guix.texi:20294
  29893. #, no-wrap
  29894. msgid "{@code{files-configuration} parameter} string set-env"
  29895. msgstr ""
  29896. #. type: deftypevr
  29897. #: guix-git/doc/guix.texi:20296
  29898. msgid "Set the specified environment variable to be passed to child processes."
  29899. msgstr ""
  29900. #. type: deftypevr
  29901. #: guix-git/doc/guix.texi:20298
  29902. msgid "Defaults to @samp{\"variable value\"}."
  29903. msgstr ""
  29904. #. type: deftypevr
  29905. #: guix-git/doc/guix.texi:20301
  29906. #, no-wrap
  29907. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  29908. msgstr ""
  29909. #. type: deftypevr
  29910. #: guix-git/doc/guix.texi:20308
  29911. 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."
  29912. msgstr ""
  29913. #. type: deftypevr
  29914. #: guix-git/doc/guix.texi:20310
  29915. msgid "Defaults to @samp{actions}."
  29916. msgstr ""
  29917. #. type: deftypevr
  29918. #: guix-git/doc/guix.texi:20312
  29919. #, no-wrap
  29920. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  29921. msgstr ""
  29922. #. type: deftypevr
  29923. #: guix-git/doc/guix.texi:20315
  29924. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  29925. msgstr ""
  29926. #. type: deftypevr
  29927. #: guix-git/doc/guix.texi:20319
  29928. #, no-wrap
  29929. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  29930. msgstr ""
  29931. #. type: deftypevr
  29932. #: guix-git/doc/guix.texi:20323
  29933. 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."
  29934. msgstr ""
  29935. #. type: deftypevr
  29936. #: guix-git/doc/guix.texi:20325
  29937. msgid "Defaults to @samp{\"_cups\"}."
  29938. msgstr ""
  29939. #. type: deftypevr
  29940. #: guix-git/doc/guix.texi:20327
  29941. #, no-wrap
  29942. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  29943. msgstr ""
  29944. #. type: deftypevr
  29945. #: guix-git/doc/guix.texi:20329
  29946. msgid "Specifies which protocols to use for local printer sharing."
  29947. msgstr ""
  29948. #. type: deftypevr
  29949. #: guix-git/doc/guix.texi:20331
  29950. msgid "Defaults to @samp{dnssd}."
  29951. msgstr ""
  29952. #. type: deftypevr
  29953. #: guix-git/doc/guix.texi:20333
  29954. #, no-wrap
  29955. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  29956. msgstr ""
  29957. #. type: deftypevr
  29958. #: guix-git/doc/guix.texi:20335
  29959. msgid "Specifies whether the CUPS web interface is advertised."
  29960. msgstr ""
  29961. #. type: deftypevr
  29962. #: guix-git/doc/guix.texi:20339
  29963. #, no-wrap
  29964. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  29965. msgstr ""
  29966. #. type: deftypevr
  29967. #: guix-git/doc/guix.texi:20341
  29968. msgid "Specifies whether shared printers are advertised."
  29969. msgstr ""
  29970. #. type: deftypevr
  29971. #: guix-git/doc/guix.texi:20345
  29972. #, no-wrap
  29973. msgid "{@code{cups-configuration} parameter} string classification"
  29974. msgstr ""
  29975. #. type: deftypevr
  29976. #: guix-git/doc/guix.texi:20350
  29977. 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."
  29978. msgstr ""
  29979. #. type: deftypevr
  29980. #: guix-git/doc/guix.texi:20352 guix-git/doc/guix.texi:20683
  29981. #: guix-git/doc/guix.texi:22700 guix-git/doc/guix.texi:22712
  29982. #: guix-git/doc/guix.texi:22740 guix-git/doc/guix.texi:23497
  29983. #: guix-git/doc/guix.texi:23511 guix-git/doc/guix.texi:23518
  29984. #: guix-git/doc/guix.texi:23525 guix-git/doc/guix.texi:23555
  29985. #: guix-git/doc/guix.texi:23653 guix-git/doc/guix.texi:30546
  29986. #: guix-git/doc/guix.texi:30554 guix-git/doc/guix.texi:30562
  29987. #: guix-git/doc/guix.texi:30570 guix-git/doc/guix.texi:30849
  29988. #: guix-git/doc/guix.texi:32208 guix-git/doc/guix.texi:32216
  29989. #: guix-git/doc/guix.texi:32224 guix-git/doc/guix.texi:32332
  29990. #: guix-git/doc/guix.texi:32357 guix-git/doc/guix.texi:32488
  29991. #: guix-git/doc/guix.texi:32496 guix-git/doc/guix.texi:32504
  29992. #: guix-git/doc/guix.texi:32512 guix-git/doc/guix.texi:32520
  29993. #: guix-git/doc/guix.texi:32528 guix-git/doc/guix.texi:32551
  29994. #: guix-git/doc/guix.texi:32559 guix-git/doc/guix.texi:32611
  29995. #: guix-git/doc/guix.texi:32627 guix-git/doc/guix.texi:32635
  29996. #: guix-git/doc/guix.texi:32674 guix-git/doc/guix.texi:32697
  29997. #: guix-git/doc/guix.texi:32719 guix-git/doc/guix.texi:32726
  29998. #: guix-git/doc/guix.texi:32761 guix-git/doc/guix.texi:32769
  29999. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:32825
  30000. #: guix-git/doc/guix.texi:32854 guix-git/doc/guix.texi:32861
  30001. #: guix-git/doc/guix.texi:32868 guix-git/doc/guix.texi:32876
  30002. #: guix-git/doc/guix.texi:32890 guix-git/doc/guix.texi:32899
  30003. #: guix-git/doc/guix.texi:32909 guix-git/doc/guix.texi:32916
  30004. #: guix-git/doc/guix.texi:32923 guix-git/doc/guix.texi:32930
  30005. #: guix-git/doc/guix.texi:33001 guix-git/doc/guix.texi:33008
  30006. #: guix-git/doc/guix.texi:33015 guix-git/doc/guix.texi:33024
  30007. #: guix-git/doc/guix.texi:33040 guix-git/doc/guix.texi:33047
  30008. #: guix-git/doc/guix.texi:33054 guix-git/doc/guix.texi:33061
  30009. #: guix-git/doc/guix.texi:33069 guix-git/doc/guix.texi:33077
  30010. msgid "Defaults to @samp{\"\"}."
  30011. msgstr ""
  30012. #. type: deftypevr
  30013. #: guix-git/doc/guix.texi:20354
  30014. #, no-wrap
  30015. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  30016. msgstr ""
  30017. #. type: deftypevr
  30018. #: guix-git/doc/guix.texi:20357
  30019. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  30020. msgstr ""
  30021. #. type: deftypevr
  30022. #: guix-git/doc/guix.texi:20361
  30023. #, no-wrap
  30024. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  30025. msgstr ""
  30026. #. type: deftypevr
  30027. #: guix-git/doc/guix.texi:20363
  30028. msgid "Specifies the default type of authentication to use."
  30029. msgstr ""
  30030. #. type: deftypevr
  30031. #: guix-git/doc/guix.texi:20365
  30032. msgid "Defaults to @samp{Basic}."
  30033. msgstr ""
  30034. #. type: deftypevr
  30035. #: guix-git/doc/guix.texi:20367
  30036. #, no-wrap
  30037. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  30038. msgstr ""
  30039. #. type: deftypevr
  30040. #: guix-git/doc/guix.texi:20369
  30041. msgid "Specifies whether encryption will be used for authenticated requests."
  30042. msgstr ""
  30043. #. type: deftypevr
  30044. #: guix-git/doc/guix.texi:20371
  30045. msgid "Defaults to @samp{Required}."
  30046. msgstr ""
  30047. #. type: deftypevr
  30048. #: guix-git/doc/guix.texi:20373
  30049. #, no-wrap
  30050. msgid "{@code{cups-configuration} parameter} string default-language"
  30051. msgstr ""
  30052. #. type: deftypevr
  30053. #: guix-git/doc/guix.texi:20375
  30054. msgid "Specifies the default language to use for text and web content."
  30055. msgstr ""
  30056. #. type: deftypevr
  30057. #: guix-git/doc/guix.texi:20377
  30058. msgid "Defaults to @samp{\"en\"}."
  30059. msgstr ""
  30060. #. type: deftypevr
  30061. #: guix-git/doc/guix.texi:20379
  30062. #, no-wrap
  30063. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  30064. msgstr ""
  30065. #. type: deftypevr
  30066. #: guix-git/doc/guix.texi:20384
  30067. 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\"}."
  30068. msgstr ""
  30069. #. type: deftypevr
  30070. #: guix-git/doc/guix.texi:20386
  30071. msgid "Defaults to @samp{\"Auto\"}."
  30072. msgstr ""
  30073. #. type: deftypevr
  30074. #: guix-git/doc/guix.texi:20388
  30075. #, no-wrap
  30076. msgid "{@code{cups-configuration} parameter} string default-policy"
  30077. msgstr ""
  30078. #. type: deftypevr
  30079. #: guix-git/doc/guix.texi:20390
  30080. msgid "Specifies the default access policy to use."
  30081. msgstr ""
  30082. #. type: deftypevr
  30083. #: guix-git/doc/guix.texi:20392
  30084. msgid "Defaults to @samp{\"default\"}."
  30085. msgstr ""
  30086. #. type: deftypevr
  30087. #: guix-git/doc/guix.texi:20394
  30088. #, no-wrap
  30089. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  30090. msgstr ""
  30091. #. type: deftypevr
  30092. #: guix-git/doc/guix.texi:20396
  30093. msgid "Specifies whether local printers are shared by default."
  30094. msgstr ""
  30095. #. type: deftypevr
  30096. #: guix-git/doc/guix.texi:20398 guix-git/doc/guix.texi:20478
  30097. #: guix-git/doc/guix.texi:20768 guix-git/doc/guix.texi:23587
  30098. #: guix-git/doc/guix.texi:23638 guix-git/doc/guix.texi:23645
  30099. #: guix-git/doc/guix.texi:24927 guix-git/doc/guix.texi:25115
  30100. #: guix-git/doc/guix.texi:25232 guix-git/doc/guix.texi:25268
  30101. #: guix-git/doc/guix.texi:25319 guix-git/doc/guix.texi:25338
  30102. #: guix-git/doc/guix.texi:25348 guix-git/doc/guix.texi:25358
  30103. #: guix-git/doc/guix.texi:25417 guix-git/doc/guix.texi:25439
  30104. #: guix-git/doc/guix.texi:25464 guix-git/doc/guix.texi:25490
  30105. #: guix-git/doc/guix.texi:25508 guix-git/doc/guix.texi:28613
  30106. #: guix-git/doc/guix.texi:28641 guix-git/doc/guix.texi:28777
  30107. #: guix-git/doc/guix.texi:28784 guix-git/doc/guix.texi:28792
  30108. #: guix-git/doc/guix.texi:28829 guix-git/doc/guix.texi:28843
  30109. #: guix-git/doc/guix.texi:28932 guix-git/doc/guix.texi:28939
  30110. #: guix-git/doc/guix.texi:28947 guix-git/doc/guix.texi:29726
  30111. #: guix-git/doc/guix.texi:29866 guix-git/doc/guix.texi:30080
  30112. #: guix-git/doc/guix.texi:30087 guix-git/doc/guix.texi:30109
  30113. #: guix-git/doc/guix.texi:30148 guix-git/doc/guix.texi:30168
  30114. #: guix-git/doc/guix.texi:30182 guix-git/doc/guix.texi:30395
  30115. #: guix-git/doc/guix.texi:32310 guix-git/doc/guix.texi:32398
  30116. #: guix-git/doc/guix.texi:32414 guix-git/doc/guix.texi:32464
  30117. msgid "Defaults to @samp{#t}."
  30118. msgstr ""
  30119. #. type: deftypevr
  30120. #: guix-git/doc/guix.texi:20400
  30121. #, no-wrap
  30122. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  30123. msgstr ""
  30124. #. type: deftypevr
  30125. #: guix-git/doc/guix.texi:20404
  30126. 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."
  30127. msgstr ""
  30128. #. type: deftypevr
  30129. #: guix-git/doc/guix.texi:20406 guix-git/doc/guix.texi:20454
  30130. #: guix-git/doc/guix.texi:20463 guix-git/doc/guix.texi:20775
  30131. #: guix-git/doc/guix.texi:25277 guix-git/doc/guix.texi:25310
  30132. msgid "Defaults to @samp{30}."
  30133. msgstr ""
  30134. #. type: deftypevr
  30135. #: guix-git/doc/guix.texi:20408
  30136. #, no-wrap
  30137. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  30138. msgstr ""
  30139. #. type: deftypevr
  30140. #: guix-git/doc/guix.texi:20414
  30141. 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."
  30142. msgstr ""
  30143. #. type: deftypevr
  30144. #: guix-git/doc/guix.texi:20416
  30145. msgid "Defaults to @samp{stop-printer}."
  30146. msgstr ""
  30147. #. type: deftypevr
  30148. #: guix-git/doc/guix.texi:20418
  30149. #, no-wrap
  30150. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  30151. msgstr ""
  30152. #. type: deftypevr
  30153. #: guix-git/doc/guix.texi:20426
  30154. 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."
  30155. msgstr ""
  30156. #. type: deftypevr
  30157. #: guix-git/doc/guix.texi:20428 guix-git/doc/guix.texi:20436
  30158. #: guix-git/doc/guix.texi:20485 guix-git/doc/guix.texi:20601
  30159. #: guix-git/doc/guix.texi:20615 guix-git/doc/guix.texi:20622
  30160. #: guix-git/doc/guix.texi:22142 guix-git/doc/guix.texi:22158
  30161. #: guix-git/doc/guix.texi:22815 guix-git/doc/guix.texi:22827
  30162. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23615
  30163. #: guix-git/doc/guix.texi:23623 guix-git/doc/guix.texi:23631
  30164. #: guix-git/doc/guix.texi:29742 guix-git/doc/guix.texi:30095
  30165. #: guix-git/doc/guix.texi:32303 guix-git/doc/guix.texi:32603
  30166. #: guix-git/doc/guix.texi:32777
  30167. msgid "Defaults to @samp{0}."
  30168. msgstr ""
  30169. #. type: deftypevr
  30170. #: guix-git/doc/guix.texi:20430
  30171. #, no-wrap
  30172. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  30173. msgstr ""
  30174. #. type: deftypevr
  30175. #: guix-git/doc/guix.texi:20434
  30176. 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."
  30177. msgstr ""
  30178. #. type: deftypevr
  30179. #: guix-git/doc/guix.texi:20438
  30180. #, no-wrap
  30181. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  30182. msgstr ""
  30183. #. type: deftypevr
  30184. #: guix-git/doc/guix.texi:20445
  30185. 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."
  30186. msgstr ""
  30187. #. type: deftypevr
  30188. #: guix-git/doc/guix.texi:20449
  30189. #, no-wrap
  30190. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  30191. msgstr ""
  30192. #. type: deftypevr
  30193. #: guix-git/doc/guix.texi:20452
  30194. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  30195. msgstr ""
  30196. #. type: deftypevr
  30197. #: guix-git/doc/guix.texi:20456
  30198. #, no-wrap
  30199. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  30200. msgstr ""
  30201. #. type: deftypevr
  30202. #: guix-git/doc/guix.texi:20461
  30203. 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}."
  30204. msgstr ""
  30205. #. type: deftypevr
  30206. #: guix-git/doc/guix.texi:20465
  30207. #, no-wrap
  30208. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  30209. msgstr ""
  30210. #. type: deftypevr
  30211. #: guix-git/doc/guix.texi:20470
  30212. 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}."
  30213. msgstr ""
  30214. #. type: deftypevr
  30215. #: guix-git/doc/guix.texi:20472 guix-git/doc/guix.texi:25241
  30216. #: guix-git/doc/guix.texi:30647 guix-git/doc/guix.texi:30667
  30217. #: guix-git/doc/guix.texi:30683 guix-git/doc/guix.texi:30697
  30218. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  30219. #: guix-git/doc/guix.texi:30718 guix-git/doc/guix.texi:30878
  30220. #: guix-git/doc/guix.texi:30894 guix-git/doc/guix.texi:30901
  30221. #: guix-git/doc/guix.texi:30908 guix-git/doc/guix.texi:30919
  30222. #: guix-git/doc/guix.texi:32255 guix-git/doc/guix.texi:32263
  30223. #: guix-git/doc/guix.texi:32271 guix-git/doc/guix.texi:32295
  30224. msgid "Defaults to @samp{5}."
  30225. msgstr ""
  30226. #. type: deftypevr
  30227. #: guix-git/doc/guix.texi:20474
  30228. #, no-wrap
  30229. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  30230. msgstr ""
  30231. #. type: deftypevr
  30232. #: guix-git/doc/guix.texi:20476
  30233. msgid "Specifies whether to support HTTP keep-alive connections."
  30234. msgstr ""
  30235. #. type: deftypevr
  30236. #: guix-git/doc/guix.texi:20480
  30237. #, no-wrap
  30238. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  30239. msgstr ""
  30240. #. type: deftypevr
  30241. #: guix-git/doc/guix.texi:20483
  30242. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  30243. msgstr ""
  30244. #. type: deftypevr
  30245. #: guix-git/doc/guix.texi:20487
  30246. #, no-wrap
  30247. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  30248. msgstr ""
  30249. #. type: deftypevr
  30250. #: guix-git/doc/guix.texi:20494
  30251. 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."
  30252. msgstr ""
  30253. #. type: deftypevr
  30254. #: guix-git/doc/guix.texi:20496
  30255. #, no-wrap
  30256. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  30257. msgstr ""
  30258. #. type: deftypevr
  30259. #: guix-git/doc/guix.texi:20503
  30260. 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."
  30261. msgstr ""
  30262. #. type: deftypevr
  30263. #: guix-git/doc/guix.texi:20505
  30264. msgid "Defaults to @samp{128}."
  30265. msgstr ""
  30266. #. type: deftypevr
  30267. #: guix-git/doc/guix.texi:20507
  30268. #, no-wrap
  30269. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  30270. msgstr ""
  30271. #. type: deftypevr
  30272. #: guix-git/doc/guix.texi:20509
  30273. msgid "Specifies a set of additional access controls."
  30274. msgstr ""
  30275. #. type: deftypevr
  30276. #: guix-git/doc/guix.texi:20511
  30277. msgid "Available @code{location-access-controls} fields are:"
  30278. msgstr ""
  30279. #. type: deftypevr
  30280. #: guix-git/doc/guix.texi:20512
  30281. #, no-wrap
  30282. msgid "{@code{location-access-controls} parameter} file-name path"
  30283. msgstr ""
  30284. #. type: deftypevr
  30285. #: guix-git/doc/guix.texi:20514
  30286. msgid "Specifies the URI path to which the access control applies."
  30287. msgstr ""
  30288. #. type: deftypevr
  30289. #: guix-git/doc/guix.texi:20516
  30290. #, no-wrap
  30291. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  30292. msgstr ""
  30293. #. type: deftypevr
  30294. #: guix-git/doc/guix.texi:20519
  30295. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  30296. msgstr ""
  30297. #. type: deftypevr
  30298. #: guix-git/doc/guix.texi:20521 guix-git/doc/guix.texi:20527
  30299. #: guix-git/doc/guix.texi:20541 guix-git/doc/guix.texi:20548
  30300. #: guix-git/doc/guix.texi:20690 guix-git/doc/guix.texi:20749
  30301. #: guix-git/doc/guix.texi:20827 guix-git/doc/guix.texi:20841
  30302. #: guix-git/doc/guix.texi:22022 guix-git/doc/guix.texi:22031
  30303. #: guix-git/doc/guix.texi:23301 guix-git/doc/guix.texi:23504
  30304. #: guix-git/doc/guix.texi:23532 guix-git/doc/guix.texi:23562
  30305. #: guix-git/doc/guix.texi:23677 guix-git/doc/guix.texi:23690
  30306. #: guix-git/doc/guix.texi:23697 guix-git/doc/guix.texi:25447
  30307. #: guix-git/doc/guix.texi:26283 guix-git/doc/guix.texi:26291
  30308. #: guix-git/doc/guix.texi:26536 guix-git/doc/guix.texi:28672
  30309. #: guix-git/doc/guix.texi:28850 guix-git/doc/guix.texi:29049
  30310. #: guix-git/doc/guix.texi:30538 guix-git/doc/guix.texi:30598
  30311. #: guix-git/doc/guix.texi:30606 guix-git/doc/guix.texi:32318
  30312. #: guix-git/doc/guix.texi:32325 guix-git/doc/guix.texi:32667
  30313. #: guix-git/doc/guix.texi:32745 guix-git/doc/guix.texi:32839
  30314. #: guix-git/doc/guix.texi:32847 guix-git/doc/guix.texi:32883
  30315. #: guix-git/doc/guix.texi:33033 guix-git/doc/guix.texi:33084
  30316. #: guix-git/doc/guix.texi:33093
  30317. msgid "Defaults to @samp{()}."
  30318. msgstr ""
  30319. #. type: deftypevr
  30320. #: guix-git/doc/guix.texi:20523
  30321. #, no-wrap
  30322. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  30323. msgstr ""
  30324. #. type: deftypevr
  30325. #: guix-git/doc/guix.texi:20525
  30326. msgid "Access controls for method-specific access to this path."
  30327. msgstr ""
  30328. #. type: deftypevr
  30329. #: guix-git/doc/guix.texi:20529
  30330. msgid "Available @code{method-access-controls} fields are:"
  30331. msgstr ""
  30332. #. type: deftypevr
  30333. #: guix-git/doc/guix.texi:20530
  30334. #, no-wrap
  30335. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  30336. msgstr ""
  30337. #. type: deftypevr
  30338. #: guix-git/doc/guix.texi:20533
  30339. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  30340. msgstr ""
  30341. #. type: deftypevr
  30342. #: guix-git/doc/guix.texi:20537
  30343. #, no-wrap
  30344. msgid "{@code{method-access-controls} parameter} method-list methods"
  30345. msgstr ""
  30346. #. type: deftypevr
  30347. #: guix-git/doc/guix.texi:20539
  30348. msgid "Methods to which this access control applies."
  30349. msgstr ""
  30350. #. type: deftypevr
  30351. #: guix-git/doc/guix.texi:20543
  30352. #, no-wrap
  30353. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  30354. msgstr ""
  30355. #. type: deftypevr
  30356. #: guix-git/doc/guix.texi:20546
  30357. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  30358. msgstr ""
  30359. #. type: deftypevr
  30360. #: guix-git/doc/guix.texi:20552
  30361. #, no-wrap
  30362. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  30363. msgstr ""
  30364. #. type: deftypevr
  30365. #: guix-git/doc/guix.texi:20556
  30366. 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."
  30367. msgstr ""
  30368. #. type: deftypevr
  30369. #: guix-git/doc/guix.texi:20558 guix-git/doc/guix.texi:20579
  30370. #: guix-git/doc/guix.texi:20586 guix-git/doc/guix.texi:23061
  30371. #: guix-git/doc/guix.texi:24979 guix-git/doc/guix.texi:24994
  30372. #: guix-git/doc/guix.texi:29034
  30373. msgid "Defaults to @samp{100}."
  30374. msgstr ""
  30375. #. type: deftypevr
  30376. #: guix-git/doc/guix.texi:20560
  30377. #, no-wrap
  30378. msgid "{@code{cups-configuration} parameter} log-level log-level"
  30379. msgstr ""
  30380. #. type: deftypevr
  30381. #: guix-git/doc/guix.texi:20563
  30382. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  30383. msgstr ""
  30384. #. type: deftypevr
  30385. #: guix-git/doc/guix.texi:20565 guix-git/doc/guix.texi:25456
  30386. msgid "Defaults to @samp{info}."
  30387. msgstr ""
  30388. #. type: deftypevr
  30389. #: guix-git/doc/guix.texi:20567
  30390. #, no-wrap
  30391. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  30392. msgstr ""
  30393. #. type: deftypevr
  30394. #: guix-git/doc/guix.texi:20570
  30395. 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."
  30396. msgstr ""
  30397. #. type: deftypevr
  30398. #: guix-git/doc/guix.texi:20572
  30399. msgid "Defaults to @samp{standard}."
  30400. msgstr ""
  30401. #. type: deftypevr
  30402. #: guix-git/doc/guix.texi:20574
  30403. #, no-wrap
  30404. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  30405. msgstr ""
  30406. #. type: deftypevr
  30407. #: guix-git/doc/guix.texi:20577
  30408. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  30409. msgstr ""
  30410. #. type: deftypevr
  30411. #: guix-git/doc/guix.texi:20581
  30412. #, no-wrap
  30413. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  30414. msgstr ""
  30415. #. type: deftypevr
  30416. #: guix-git/doc/guix.texi:20584
  30417. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  30418. msgstr ""
  30419. #. type: deftypevr
  30420. #: guix-git/doc/guix.texi:20588
  30421. #, no-wrap
  30422. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  30423. msgstr ""
  30424. #. type: deftypevr
  30425. #: guix-git/doc/guix.texi:20591
  30426. msgid "Specifies the maximum number of copies that a user can print of each job."
  30427. msgstr ""
  30428. #. type: deftypevr
  30429. #: guix-git/doc/guix.texi:20593
  30430. msgid "Defaults to @samp{9999}."
  30431. msgstr ""
  30432. #. type: deftypevr
  30433. #: guix-git/doc/guix.texi:20595
  30434. #, no-wrap
  30435. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  30436. msgstr ""
  30437. #. type: deftypevr
  30438. #: guix-git/doc/guix.texi:20599
  30439. 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."
  30440. msgstr ""
  30441. #. type: deftypevr
  30442. #: guix-git/doc/guix.texi:20603
  30443. #, no-wrap
  30444. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  30445. msgstr ""
  30446. #. type: deftypevr
  30447. #: guix-git/doc/guix.texi:20606
  30448. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  30449. msgstr ""
  30450. #. type: deftypevr
  30451. #: guix-git/doc/guix.texi:20608
  30452. msgid "Defaults to @samp{500}."
  30453. msgstr ""
  30454. #. type: deftypevr
  30455. #: guix-git/doc/guix.texi:20610
  30456. #, no-wrap
  30457. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  30458. msgstr ""
  30459. #. type: deftypevr
  30460. #: guix-git/doc/guix.texi:20613
  30461. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  30462. msgstr ""
  30463. #. type: deftypevr
  30464. #: guix-git/doc/guix.texi:20617
  30465. #, no-wrap
  30466. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  30467. msgstr ""
  30468. #. type: deftypevr
  30469. #: guix-git/doc/guix.texi:20620
  30470. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  30471. msgstr ""
  30472. #. type: deftypevr
  30473. #: guix-git/doc/guix.texi:20624
  30474. #, no-wrap
  30475. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  30476. msgstr ""
  30477. #. type: deftypevr
  30478. #: guix-git/doc/guix.texi:20627
  30479. 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."
  30480. msgstr ""
  30481. #. type: deftypevr
  30482. #: guix-git/doc/guix.texi:20629
  30483. msgid "Defaults to @samp{10800}."
  30484. msgstr ""
  30485. #. type: deftypevr
  30486. #: guix-git/doc/guix.texi:20631
  30487. #, no-wrap
  30488. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  30489. msgstr ""
  30490. #. type: deftypevr
  30491. #: guix-git/doc/guix.texi:20634
  30492. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  30493. msgstr ""
  30494. #. type: deftypevr
  30495. #: guix-git/doc/guix.texi:20636
  30496. msgid "Defaults to @samp{1048576}."
  30497. msgstr ""
  30498. #. type: deftypevr
  30499. #: guix-git/doc/guix.texi:20638
  30500. #, no-wrap
  30501. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  30502. msgstr ""
  30503. #. type: deftypevr
  30504. #: guix-git/doc/guix.texi:20641
  30505. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  30506. msgstr ""
  30507. #. type: deftypevr
  30508. #: guix-git/doc/guix.texi:20643 guix-git/doc/guix.texi:20854
  30509. msgid "Defaults to @samp{900}."
  30510. msgstr ""
  30511. #. type: deftypevr
  30512. #: guix-git/doc/guix.texi:20645
  30513. #, no-wrap
  30514. msgid "{@code{cups-configuration} parameter} string page-log-format"
  30515. msgstr ""
  30516. #. type: deftypevr
  30517. #: guix-git/doc/guix.texi:20650
  30518. 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:"
  30519. msgstr ""
  30520. #. type: item
  30521. #: guix-git/doc/guix.texi:20652
  30522. #, no-wrap
  30523. msgid "%%"
  30524. msgstr ""
  30525. #. type: table
  30526. #: guix-git/doc/guix.texi:20654
  30527. msgid "insert a single percent character"
  30528. msgstr ""
  30529. #. type: item
  30530. #: guix-git/doc/guix.texi:20655
  30531. #, no-wrap
  30532. msgid "%@{name@}"
  30533. msgstr ""
  30534. #. type: table
  30535. #: guix-git/doc/guix.texi:20657
  30536. msgid "insert the value of the specified IPP attribute"
  30537. msgstr ""
  30538. #. type: item
  30539. #: guix-git/doc/guix.texi:20658
  30540. #, no-wrap
  30541. msgid "%C"
  30542. msgstr ""
  30543. #. type: table
  30544. #: guix-git/doc/guix.texi:20660
  30545. msgid "insert the number of copies for the current page"
  30546. msgstr ""
  30547. #. type: item
  30548. #: guix-git/doc/guix.texi:20661
  30549. #, no-wrap
  30550. msgid "%P"
  30551. msgstr ""
  30552. #. type: table
  30553. #: guix-git/doc/guix.texi:20663
  30554. msgid "insert the current page number"
  30555. msgstr ""
  30556. #. type: item
  30557. #: guix-git/doc/guix.texi:20664
  30558. #, no-wrap
  30559. msgid "%T"
  30560. msgstr ""
  30561. #. type: table
  30562. #: guix-git/doc/guix.texi:20666
  30563. msgid "insert the current date and time in common log format"
  30564. msgstr ""
  30565. #. type: item
  30566. #: guix-git/doc/guix.texi:20667
  30567. #, no-wrap
  30568. msgid "%j"
  30569. msgstr ""
  30570. #. type: table
  30571. #: guix-git/doc/guix.texi:20669
  30572. msgid "insert the job ID"
  30573. msgstr ""
  30574. #. type: item
  30575. #: guix-git/doc/guix.texi:20670 guix-git/doc/guix.texi:22660
  30576. #, no-wrap
  30577. msgid "%p"
  30578. msgstr ""
  30579. #. type: table
  30580. #: guix-git/doc/guix.texi:20672
  30581. msgid "insert the printer name"
  30582. msgstr ""
  30583. #. type: item
  30584. #: guix-git/doc/guix.texi:20673 guix-git/doc/guix.texi:22683
  30585. #, no-wrap
  30586. msgid "%u"
  30587. msgstr ""
  30588. #. type: table
  30589. #: guix-git/doc/guix.texi:20675
  30590. msgid "insert the username"
  30591. msgstr ""
  30592. #. type: deftypevr
  30593. #: guix-git/doc/guix.texi:20681
  30594. 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."
  30595. msgstr ""
  30596. #. type: deftypevr
  30597. #: guix-git/doc/guix.texi:20685
  30598. #, no-wrap
  30599. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  30600. msgstr ""
  30601. #. type: deftypevr
  30602. #: guix-git/doc/guix.texi:20688
  30603. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  30604. msgstr ""
  30605. #. type: deftypevr
  30606. #: guix-git/doc/guix.texi:20692
  30607. #, no-wrap
  30608. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  30609. msgstr ""
  30610. #. type: deftypevr
  30611. #: guix-git/doc/guix.texi:20694
  30612. msgid "Specifies named access control policies."
  30613. msgstr ""
  30614. #. type: deftypevr
  30615. #: guix-git/doc/guix.texi:20696
  30616. msgid "Available @code{policy-configuration} fields are:"
  30617. msgstr ""
  30618. #. type: deftypevr
  30619. #: guix-git/doc/guix.texi:20697
  30620. #, no-wrap
  30621. msgid "{@code{policy-configuration} parameter} string name"
  30622. msgstr ""
  30623. #. type: deftypevr
  30624. #: guix-git/doc/guix.texi:20699
  30625. msgid "Name of the policy."
  30626. msgstr ""
  30627. #. type: deftypevr
  30628. #: guix-git/doc/guix.texi:20701
  30629. #, no-wrap
  30630. msgid "{@code{policy-configuration} parameter} string job-private-access"
  30631. msgstr ""
  30632. #. type: deftypevr
  30633. #: guix-git/doc/guix.texi:20711
  30634. 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}."
  30635. msgstr ""
  30636. #. type: deftypevr
  30637. #: guix-git/doc/guix.texi:20713 guix-git/doc/guix.texi:20735
  30638. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  30639. msgstr ""
  30640. #. type: deftypevr
  30641. #: guix-git/doc/guix.texi:20715
  30642. #, no-wrap
  30643. msgid "{@code{policy-configuration} parameter} string job-private-values"
  30644. msgstr ""
  30645. #. type: deftypevr
  30646. #: guix-git/doc/guix.texi:20718 guix-git/doc/guix.texi:20740
  30647. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  30648. msgstr ""
  30649. #. type: deftypevr
  30650. #: guix-git/doc/guix.texi:20721
  30651. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  30652. msgstr ""
  30653. #. type: deftypevr
  30654. #: guix-git/doc/guix.texi:20723
  30655. #, no-wrap
  30656. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  30657. msgstr ""
  30658. #. type: deftypevr
  30659. #: guix-git/doc/guix.texi:20733
  30660. 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}."
  30661. msgstr ""
  30662. #. type: deftypevr
  30663. #: guix-git/doc/guix.texi:20737
  30664. #, no-wrap
  30665. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  30666. msgstr ""
  30667. #. type: deftypevr
  30668. #: guix-git/doc/guix.texi:20743
  30669. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  30670. msgstr ""
  30671. #. type: deftypevr
  30672. #: guix-git/doc/guix.texi:20745
  30673. #, no-wrap
  30674. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  30675. msgstr ""
  30676. #. type: deftypevr
  30677. #: guix-git/doc/guix.texi:20747
  30678. msgid "Access control by IPP operation."
  30679. msgstr ""
  30680. #. type: deftypevr
  30681. #: guix-git/doc/guix.texi:20752
  30682. #, no-wrap
  30683. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  30684. msgstr ""
  30685. #. type: deftypevr
  30686. #: guix-git/doc/guix.texi:20757
  30687. 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."
  30688. msgstr ""
  30689. #. type: deftypevr
  30690. #: guix-git/doc/guix.texi:20759
  30691. msgid "Defaults to @samp{86400}."
  30692. msgstr ""
  30693. #. type: deftypevr
  30694. #: guix-git/doc/guix.texi:20761
  30695. #, no-wrap
  30696. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  30697. msgstr ""
  30698. #. type: deftypevr
  30699. #: guix-git/doc/guix.texi:20766
  30700. 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."
  30701. msgstr ""
  30702. #. type: deftypevr
  30703. #: guix-git/doc/guix.texi:20770
  30704. #, no-wrap
  30705. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  30706. msgstr ""
  30707. #. type: deftypevr
  30708. #: guix-git/doc/guix.texi:20773
  30709. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  30710. msgstr ""
  30711. #. type: deftypevr
  30712. #: guix-git/doc/guix.texi:20777
  30713. #, no-wrap
  30714. msgid "{@code{cups-configuration} parameter} string rip-cache"
  30715. msgstr ""
  30716. #. type: deftypevr
  30717. #: guix-git/doc/guix.texi:20780
  30718. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  30719. msgstr ""
  30720. #. type: deftypevr
  30721. #: guix-git/doc/guix.texi:20782
  30722. msgid "Defaults to @samp{\"128m\"}."
  30723. msgstr ""
  30724. #. type: deftypevr
  30725. #: guix-git/doc/guix.texi:20784
  30726. #, no-wrap
  30727. msgid "{@code{cups-configuration} parameter} string server-admin"
  30728. msgstr ""
  30729. #. type: deftypevr
  30730. #: guix-git/doc/guix.texi:20786
  30731. msgid "Specifies the email address of the server administrator."
  30732. msgstr ""
  30733. #. type: deftypevr
  30734. #: guix-git/doc/guix.texi:20788
  30735. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  30736. msgstr ""
  30737. #. type: deftypevr
  30738. #: guix-git/doc/guix.texi:20790
  30739. #, no-wrap
  30740. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  30741. msgstr ""
  30742. #. type: deftypevr
  30743. #: guix-git/doc/guix.texi:20798
  30744. 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{*}."
  30745. msgstr ""
  30746. #. type: deftypevr
  30747. #: guix-git/doc/guix.texi:20800
  30748. msgid "Defaults to @samp{*}."
  30749. msgstr ""
  30750. #. type: deftypevr
  30751. #: guix-git/doc/guix.texi:20802
  30752. #, no-wrap
  30753. msgid "{@code{cups-configuration} parameter} string server-name"
  30754. msgstr ""
  30755. #. type: deftypevr
  30756. #: guix-git/doc/guix.texi:20804
  30757. msgid "Specifies the fully-qualified host name of the server."
  30758. msgstr ""
  30759. #. type: deftypevr
  30760. #: guix-git/doc/guix.texi:20806
  30761. msgid "Defaults to @samp{\"localhost\"}."
  30762. msgstr ""
  30763. #. type: deftypevr
  30764. #: guix-git/doc/guix.texi:20808
  30765. #, no-wrap
  30766. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  30767. msgstr ""
  30768. #. type: deftypevr
  30769. #: guix-git/doc/guix.texi:20816
  30770. 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}."
  30771. msgstr ""
  30772. #. type: deftypevr
  30773. #: guix-git/doc/guix.texi:20818
  30774. msgid "Defaults to @samp{Minimal}."
  30775. msgstr ""
  30776. #. type: deftypevr
  30777. #: guix-git/doc/guix.texi:20820
  30778. #, no-wrap
  30779. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  30780. msgstr ""
  30781. #. type: deftypevr
  30782. #: guix-git/doc/guix.texi:20825
  30783. 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."
  30784. msgstr ""
  30785. #. type: deftypevr
  30786. #: guix-git/doc/guix.texi:20829
  30787. #, no-wrap
  30788. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  30789. msgstr ""
  30790. #. type: deftypevr
  30791. #: guix-git/doc/guix.texi:20839
  30792. 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."
  30793. msgstr ""
  30794. #. type: deftypevr
  30795. #: guix-git/doc/guix.texi:20843
  30796. #, no-wrap
  30797. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  30798. msgstr ""
  30799. #. type: deftypevr
  30800. #: guix-git/doc/guix.texi:20846
  30801. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  30802. msgstr ""
  30803. #. type: deftypevr
  30804. #: guix-git/doc/guix.texi:20850
  30805. #, no-wrap
  30806. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  30807. msgstr ""
  30808. #. type: deftypevr
  30809. #: guix-git/doc/guix.texi:20852
  30810. msgid "Specifies the HTTP request timeout, in seconds."
  30811. msgstr ""
  30812. #. type: deftypevr
  30813. #: guix-git/doc/guix.texi:20857
  30814. #, no-wrap
  30815. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  30816. msgstr ""
  30817. #. type: deftypevr
  30818. #: guix-git/doc/guix.texi:20859
  30819. msgid "Specifies whether the web interface is enabled."
  30820. msgstr ""
  30821. #. type: Plain text
  30822. #: guix-git/doc/guix.texi:20869
  30823. 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}."
  30824. msgstr ""
  30825. #. type: Plain text
  30826. #: guix-git/doc/guix.texi:20871
  30827. msgid "Available @code{opaque-cups-configuration} fields are:"
  30828. msgstr ""
  30829. #. type: deftypevr
  30830. #: guix-git/doc/guix.texi:20872
  30831. #, no-wrap
  30832. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  30833. msgstr ""
  30834. #. type: deftypevr
  30835. #: guix-git/doc/guix.texi:20876
  30836. #, no-wrap
  30837. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  30838. msgstr ""
  30839. #. type: deftypevr
  30840. #: guix-git/doc/guix.texi:20878
  30841. msgid "The contents of the @code{cupsd.conf}, as a string."
  30842. msgstr ""
  30843. #. type: deftypevr
  30844. #: guix-git/doc/guix.texi:20880
  30845. #, no-wrap
  30846. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  30847. msgstr ""
  30848. #. type: deftypevr
  30849. #: guix-git/doc/guix.texi:20882
  30850. msgid "The contents of the @code{cups-files.conf} file, as a string."
  30851. msgstr ""
  30852. #. type: Plain text
  30853. #: guix-git/doc/guix.texi:20887
  30854. 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:"
  30855. msgstr ""
  30856. #. type: lisp
  30857. #: guix-git/doc/guix.texi:20893
  30858. #, no-wrap
  30859. msgid ""
  30860. "(service cups-service-type\n"
  30861. " (opaque-cups-configuration\n"
  30862. " (cupsd.conf cupsd.conf)\n"
  30863. " (cups-files.conf cups-files.conf)))\n"
  30864. msgstr ""
  30865. #. type: Plain text
  30866. #: guix-git/doc/guix.texi:20904
  30867. 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."
  30868. msgstr ""
  30869. #. type: Plain text
  30870. #: guix-git/doc/guix.texi:20908
  30871. 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:"
  30872. msgstr ""
  30873. #. type: defvr
  30874. #: guix-git/doc/guix.texi:20909
  30875. #, no-wrap
  30876. msgid "{Scheme Variable} %desktop-services"
  30877. msgstr ""
  30878. #. type: defvr
  30879. #: guix-git/doc/guix.texi:20912
  30880. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  30881. msgstr ""
  30882. #. type: defvr
  30883. #: guix-git/doc/guix.texi:20923
  30884. 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})."
  30885. msgstr ""
  30886. #. type: Plain text
  30887. #: guix-git/doc/guix.texi:20928
  30888. 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}})."
  30889. msgstr ""
  30890. #. type: Plain text
  30891. #: guix-git/doc/guix.texi:20951
  30892. 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."
  30893. msgstr ""
  30894. #. type: Plain text
  30895. #: guix-git/doc/guix.texi:20961
  30896. msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to enable Wayland support in GDM (@pxref{wayland-gdm}). Another solution is to use the @code{sddm-service} instead of GDM as the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland."
  30897. msgstr ""
  30898. #. type: defvr
  30899. #: guix-git/doc/guix.texi:20962
  30900. #, no-wrap
  30901. msgid "{Scheme Variable} gnome-desktop-service-type"
  30902. msgstr ""
  30903. #. type: defvr
  30904. #: guix-git/doc/guix.texi:20966
  30905. 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)."
  30906. msgstr ""
  30907. #. type: defvr
  30908. #: guix-git/doc/guix.texi:20969
  30909. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  30910. msgstr ""
  30911. #. type: deftp
  30912. #: guix-git/doc/guix.texi:20971
  30913. #, no-wrap
  30914. msgid "{Data Type} gnome-desktop-configuration"
  30915. msgstr ""
  30916. #. type: deftp
  30917. #: guix-git/doc/guix.texi:20973
  30918. msgid "Configuration record for the GNOME desktop environment."
  30919. msgstr ""
  30920. #. type: item
  30921. #: guix-git/doc/guix.texi:20975
  30922. #, no-wrap
  30923. msgid "@code{gnome} (default: @code{gnome})"
  30924. msgstr ""
  30925. #. type: table
  30926. #: guix-git/doc/guix.texi:20977
  30927. msgid "The GNOME package to use."
  30928. msgstr ""
  30929. #. type: defvr
  30930. #: guix-git/doc/guix.texi:20980
  30931. #, no-wrap
  30932. msgid "{Scheme Variable} xfce-desktop-service-type"
  30933. msgstr ""
  30934. #. type: defvr
  30935. #: guix-git/doc/guix.texi:20984
  30936. 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)."
  30937. msgstr ""
  30938. #. type: defvr
  30939. #: guix-git/doc/guix.texi:20989
  30940. 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."
  30941. msgstr ""
  30942. #. type: defvr
  30943. #: guix-git/doc/guix.texi:20995
  30944. 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}."
  30945. msgstr ""
  30946. #. type: deftp
  30947. #: guix-git/doc/guix.texi:20997
  30948. #, no-wrap
  30949. msgid "{Data Type} xfce-desktop-configuration"
  30950. msgstr ""
  30951. #. type: deftp
  30952. #: guix-git/doc/guix.texi:20999
  30953. msgid "Configuration record for the Xfce desktop environment."
  30954. msgstr ""
  30955. #. type: item
  30956. #: guix-git/doc/guix.texi:21001
  30957. #, no-wrap
  30958. msgid "@code{xfce} (default: @code{xfce})"
  30959. msgstr ""
  30960. #. type: table
  30961. #: guix-git/doc/guix.texi:21003
  30962. msgid "The Xfce package to use."
  30963. msgstr ""
  30964. #. type: deffn
  30965. #: guix-git/doc/guix.texi:21006
  30966. #, no-wrap
  30967. msgid "{Scheme Variable} mate-desktop-service-type"
  30968. msgstr ""
  30969. #. type: deffn
  30970. #: guix-git/doc/guix.texi:21010
  30971. 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)."
  30972. msgstr ""
  30973. #. type: deffn
  30974. #: guix-git/doc/guix.texi:21014
  30975. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  30976. msgstr ""
  30977. #. type: deftp
  30978. #: guix-git/doc/guix.texi:21016
  30979. #, no-wrap
  30980. msgid "{Data Type} mate-desktop-configuration"
  30981. msgstr ""
  30982. #. type: deftp
  30983. #: guix-git/doc/guix.texi:21018
  30984. msgid "Configuration record for the MATE desktop environment."
  30985. msgstr ""
  30986. #. type: item
  30987. #: guix-git/doc/guix.texi:21020
  30988. #, no-wrap
  30989. msgid "@code{mate} (default: @code{mate})"
  30990. msgstr ""
  30991. #. type: table
  30992. #: guix-git/doc/guix.texi:21022
  30993. msgid "The MATE package to use."
  30994. msgstr ""
  30995. #. type: deffn
  30996. #: guix-git/doc/guix.texi:21025
  30997. #, no-wrap
  30998. msgid "{Scheme Variable} lxqt-desktop-service-type"
  30999. msgstr ""
  31000. #. type: deffn
  31001. #: guix-git/doc/guix.texi:21029
  31002. 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)."
  31003. msgstr ""
  31004. #. type: deffn
  31005. #: guix-git/doc/guix.texi:21032
  31006. msgid "This service adds the @code{lxqt} package to the system profile."
  31007. msgstr ""
  31008. #. type: deftp
  31009. #: guix-git/doc/guix.texi:21034
  31010. #, no-wrap
  31011. msgid "{Data Type} lxqt-desktop-configuration"
  31012. msgstr ""
  31013. #. type: deftp
  31014. #: guix-git/doc/guix.texi:21036
  31015. msgid "Configuration record for the LXQt desktop environment."
  31016. msgstr ""
  31017. #. type: item
  31018. #: guix-git/doc/guix.texi:21038
  31019. #, no-wrap
  31020. msgid "@code{lxqt} (default: @code{lxqt})"
  31021. msgstr ""
  31022. #. type: table
  31023. #: guix-git/doc/guix.texi:21040
  31024. msgid "The LXQT package to use."
  31025. msgstr ""
  31026. #. type: deffn
  31027. #: guix-git/doc/guix.texi:21043
  31028. #, no-wrap
  31029. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  31030. msgstr ""
  31031. #. type: deffn
  31032. #: guix-git/doc/guix.texi:21046
  31033. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  31034. msgstr ""
  31035. #. type: deftp
  31036. #: guix-git/doc/guix.texi:21048
  31037. #, no-wrap
  31038. msgid "{Data Type} enlightenment-desktop-service-configuration"
  31039. msgstr ""
  31040. #. type: item
  31041. #: guix-git/doc/guix.texi:21050
  31042. #, no-wrap
  31043. msgid "@code{enlightenment} (default: @code{enlightenment})"
  31044. msgstr ""
  31045. #. type: table
  31046. #: guix-git/doc/guix.texi:21052
  31047. msgid "The enlightenment package to use."
  31048. msgstr ""
  31049. #. type: Plain text
  31050. #: guix-git/doc/guix.texi:21060
  31051. 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}:"
  31052. msgstr ""
  31053. #. type: lisp
  31054. #: guix-git/doc/guix.texi:21071
  31055. #, no-wrap
  31056. msgid ""
  31057. "(use-modules (gnu))\n"
  31058. "(use-service-modules desktop)\n"
  31059. "(operating-system\n"
  31060. " ...\n"
  31061. " ;; cons* adds items to the list given as its last argument.\n"
  31062. " (services (cons* (service gnome-desktop-service-type)\n"
  31063. " (service xfce-desktop-service)\n"
  31064. " %desktop-services))\n"
  31065. " ...)\n"
  31066. msgstr ""
  31067. #. type: Plain text
  31068. #: guix-git/doc/guix.texi:21075
  31069. msgid "These desktop environments will then be available as options in the graphical login window."
  31070. msgstr ""
  31071. #. type: Plain text
  31072. #: guix-git/doc/guix.texi:21079
  31073. 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."
  31074. msgstr ""
  31075. #. type: deffn
  31076. #: guix-git/doc/guix.texi:21080
  31077. #, no-wrap
  31078. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  31079. msgstr ""
  31080. #. type: deffn
  31081. #: guix-git/doc/guix.texi:21083
  31082. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  31083. msgstr ""
  31084. #. type: deffn
  31085. #: guix-git/doc/guix.texi:21087
  31086. 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."
  31087. msgstr ""
  31088. #. type: deffn
  31089. #: guix-git/doc/guix.texi:21092
  31090. 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)}."
  31091. msgstr ""
  31092. #. type: deffn
  31093. #: guix-git/doc/guix.texi:21094
  31094. #, no-wrap
  31095. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  31096. msgstr ""
  31097. #. type: deffn
  31098. #: guix-git/doc/guix.texi:21100
  31099. 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."
  31100. msgstr ""
  31101. #. type: deffn
  31102. #: guix-git/doc/guix.texi:21104
  31103. 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."
  31104. msgstr ""
  31105. #. type: deffn
  31106. #: guix-git/doc/guix.texi:21109
  31107. 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:"
  31108. msgstr ""
  31109. #. type: item
  31110. #: guix-git/doc/guix.texi:21111
  31111. #, no-wrap
  31112. msgid "kill-user-processes?"
  31113. msgstr ""
  31114. #. type: code{#1}
  31115. #: guix-git/doc/guix.texi:21113 guix-git/doc/guix.texi:21133
  31116. #: guix-git/doc/guix.texi:21135 guix-git/doc/guix.texi:21137
  31117. #: guix-git/doc/guix.texi:21149
  31118. msgid "#f"
  31119. msgstr ""
  31120. #. type: item
  31121. #: guix-git/doc/guix.texi:21113
  31122. #, no-wrap
  31123. msgid "kill-only-users"
  31124. msgstr ""
  31125. #. type: code{#1}
  31126. #: guix-git/doc/guix.texi:21115 guix-git/doc/guix.texi:21155
  31127. msgid "()"
  31128. msgstr ""
  31129. #. type: item
  31130. #: guix-git/doc/guix.texi:21115
  31131. #, no-wrap
  31132. msgid "kill-exclude-users"
  31133. msgstr ""
  31134. #. type: code{#1}
  31135. #: guix-git/doc/guix.texi:21117
  31136. msgid "(\"root\")"
  31137. msgstr ""
  31138. #. type: item
  31139. #: guix-git/doc/guix.texi:21117
  31140. #, no-wrap
  31141. msgid "inhibit-delay-max-seconds"
  31142. msgstr ""
  31143. #. type: code{#1}
  31144. #: guix-git/doc/guix.texi:21119
  31145. msgid "5"
  31146. msgstr ""
  31147. #. type: item
  31148. #: guix-git/doc/guix.texi:21119
  31149. #, no-wrap
  31150. msgid "handle-power-key"
  31151. msgstr ""
  31152. #. type: code{#1}
  31153. #: guix-git/doc/guix.texi:21121
  31154. msgid "poweroff"
  31155. msgstr ""
  31156. #. type: item
  31157. #: guix-git/doc/guix.texi:21121
  31158. #, no-wrap
  31159. msgid "handle-suspend-key"
  31160. msgstr ""
  31161. #. type: code{#1}
  31162. #: guix-git/doc/guix.texi:21123 guix-git/doc/guix.texi:21127
  31163. msgid "suspend"
  31164. msgstr ""
  31165. #. type: item
  31166. #: guix-git/doc/guix.texi:21123
  31167. #, no-wrap
  31168. msgid "handle-hibernate-key"
  31169. msgstr ""
  31170. #. type: code{#1}
  31171. #: guix-git/doc/guix.texi:21125
  31172. msgid "hibernate"
  31173. msgstr ""
  31174. #. type: item
  31175. #: guix-git/doc/guix.texi:21125
  31176. #, no-wrap
  31177. msgid "handle-lid-switch"
  31178. msgstr ""
  31179. #. type: item
  31180. #: guix-git/doc/guix.texi:21127
  31181. #, no-wrap
  31182. msgid "handle-lid-switch-docked"
  31183. msgstr ""
  31184. #. type: code{#1}
  31185. #: guix-git/doc/guix.texi:21129 guix-git/doc/guix.texi:21131
  31186. #: guix-git/doc/guix.texi:21143
  31187. msgid "ignore"
  31188. msgstr ""
  31189. #. type: item
  31190. #: guix-git/doc/guix.texi:21129
  31191. #, no-wrap
  31192. msgid "handle-lid-switch-external-power"
  31193. msgstr ""
  31194. #. type: item
  31195. #: guix-git/doc/guix.texi:21131
  31196. #, no-wrap
  31197. msgid "power-key-ignore-inhibited?"
  31198. msgstr ""
  31199. #. type: item
  31200. #: guix-git/doc/guix.texi:21133
  31201. #, no-wrap
  31202. msgid "suspend-key-ignore-inhibited?"
  31203. msgstr ""
  31204. #. type: item
  31205. #: guix-git/doc/guix.texi:21135
  31206. #, no-wrap
  31207. msgid "hibernate-key-ignore-inhibited?"
  31208. msgstr ""
  31209. #. type: item
  31210. #: guix-git/doc/guix.texi:21137
  31211. #, no-wrap
  31212. msgid "lid-switch-ignore-inhibited?"
  31213. msgstr ""
  31214. #. type: code{#1}
  31215. #: guix-git/doc/guix.texi:21139 guix-git/doc/guix.texi:21151
  31216. msgid "#t"
  31217. msgstr ""
  31218. #. type: item
  31219. #: guix-git/doc/guix.texi:21139
  31220. #, no-wrap
  31221. msgid "holdoff-timeout-seconds"
  31222. msgstr ""
  31223. #. type: code{#1}
  31224. #: guix-git/doc/guix.texi:21141
  31225. msgid "30"
  31226. msgstr ""
  31227. #. type: item
  31228. #: guix-git/doc/guix.texi:21141
  31229. #, no-wrap
  31230. msgid "idle-action"
  31231. msgstr ""
  31232. #. type: item
  31233. #: guix-git/doc/guix.texi:21143
  31234. #, no-wrap
  31235. msgid "idle-action-seconds"
  31236. msgstr ""
  31237. #. type: code{#1}
  31238. #: guix-git/doc/guix.texi:21145
  31239. msgid "(* 30 60)"
  31240. msgstr ""
  31241. #. type: item
  31242. #: guix-git/doc/guix.texi:21145
  31243. #, no-wrap
  31244. msgid "runtime-directory-size-percent"
  31245. msgstr ""
  31246. #. type: code{#1}
  31247. #: guix-git/doc/guix.texi:21147
  31248. msgid "10"
  31249. msgstr ""
  31250. #. type: item
  31251. #: guix-git/doc/guix.texi:21147
  31252. #, no-wrap
  31253. msgid "runtime-directory-size"
  31254. msgstr ""
  31255. #. type: item
  31256. #: guix-git/doc/guix.texi:21149
  31257. #, no-wrap
  31258. msgid "remove-ipc?"
  31259. msgstr ""
  31260. #. type: item
  31261. #: guix-git/doc/guix.texi:21151
  31262. #, no-wrap
  31263. msgid "suspend-state"
  31264. msgstr ""
  31265. #. type: code{#1}
  31266. #: guix-git/doc/guix.texi:21153
  31267. msgid "(\"mem\" \"standby\" \"freeze\")"
  31268. msgstr ""
  31269. #. type: item
  31270. #: guix-git/doc/guix.texi:21153
  31271. #, no-wrap
  31272. msgid "suspend-mode"
  31273. msgstr ""
  31274. #. type: item
  31275. #: guix-git/doc/guix.texi:21155
  31276. #, no-wrap
  31277. msgid "hibernate-state"
  31278. msgstr ""
  31279. #. type: code{#1}
  31280. #: guix-git/doc/guix.texi:21157 guix-git/doc/guix.texi:21161
  31281. msgid "(\"disk\")"
  31282. msgstr ""
  31283. #. type: item
  31284. #: guix-git/doc/guix.texi:21157
  31285. #, no-wrap
  31286. msgid "hibernate-mode"
  31287. msgstr ""
  31288. #. type: code{#1}
  31289. #: guix-git/doc/guix.texi:21159
  31290. msgid "(\"platform\" \"shutdown\")"
  31291. msgstr ""
  31292. #. type: item
  31293. #: guix-git/doc/guix.texi:21159
  31294. #, no-wrap
  31295. msgid "hybrid-sleep-state"
  31296. msgstr ""
  31297. #. type: item
  31298. #: guix-git/doc/guix.texi:21161
  31299. #, no-wrap
  31300. msgid "hybrid-sleep-mode"
  31301. msgstr ""
  31302. #. type: code{#1}
  31303. #: guix-git/doc/guix.texi:21163
  31304. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  31305. msgstr ""
  31306. #. type: deffn
  31307. #: guix-git/doc/guix.texi:21166
  31308. #, no-wrap
  31309. msgid "{Scheme Procedure} accountsservice-service @"
  31310. msgstr ""
  31311. #. type: deffn
  31312. #: guix-git/doc/guix.texi:21174
  31313. 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."
  31314. msgstr ""
  31315. #. type: deffn
  31316. #: guix-git/doc/guix.texi:21177
  31317. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  31318. msgstr ""
  31319. #. type: deffn
  31320. #: guix-git/doc/guix.texi:21179
  31321. #, no-wrap
  31322. msgid "{Scheme Procedure} polkit-service @"
  31323. msgstr ""
  31324. #. type: deffn
  31325. #: guix-git/doc/guix.texi:21188
  31326. 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."
  31327. msgstr ""
  31328. #. type: defvr
  31329. #: guix-git/doc/guix.texi:21190
  31330. #, no-wrap
  31331. msgid "{Scheme Variable} polkit-wheel-service"
  31332. msgstr ""
  31333. #. type: defvr
  31334. #: guix-git/doc/guix.texi:21195
  31335. 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}."
  31336. msgstr ""
  31337. #. type: defvr
  31338. #: guix-git/doc/guix.texi:21197
  31339. #, no-wrap
  31340. msgid "{Scheme Variable} upower-service-type"
  31341. msgstr ""
  31342. #. type: defvr
  31343. #: guix-git/doc/guix.texi:21201
  31344. 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."
  31345. msgstr ""
  31346. #. type: defvr
  31347. #: guix-git/doc/guix.texi:21204
  31348. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  31349. msgstr ""
  31350. #. type: deftp
  31351. #: guix-git/doc/guix.texi:21206
  31352. #, no-wrap
  31353. msgid "{Data Type} upower-configuration"
  31354. msgstr ""
  31355. #. type: deftp
  31356. #: guix-git/doc/guix.texi:21208
  31357. msgid "Data type representation the configuration for UPower."
  31358. msgstr ""
  31359. #. type: item
  31360. #: guix-git/doc/guix.texi:21211
  31361. #, no-wrap
  31362. msgid "@code{upower} (default: @var{upower})"
  31363. msgstr ""
  31364. #. type: table
  31365. #: guix-git/doc/guix.texi:21213
  31366. msgid "Package to use for @code{upower}."
  31367. msgstr ""
  31368. #. type: item
  31369. #: guix-git/doc/guix.texi:21214
  31370. #, no-wrap
  31371. msgid "@code{watts-up-pro?} (default: @code{#f})"
  31372. msgstr ""
  31373. #. type: table
  31374. #: guix-git/doc/guix.texi:21216
  31375. msgid "Enable the Watts Up Pro device."
  31376. msgstr ""
  31377. #. type: item
  31378. #: guix-git/doc/guix.texi:21217
  31379. #, no-wrap
  31380. msgid "@code{poll-batteries?} (default: @code{#t})"
  31381. msgstr ""
  31382. #. type: table
  31383. #: guix-git/doc/guix.texi:21219
  31384. msgid "Enable polling the kernel for battery level changes."
  31385. msgstr ""
  31386. #. type: item
  31387. #: guix-git/doc/guix.texi:21220
  31388. #, no-wrap
  31389. msgid "@code{ignore-lid?} (default: @code{#f})"
  31390. msgstr ""
  31391. #. type: table
  31392. #: guix-git/doc/guix.texi:21222
  31393. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  31394. msgstr ""
  31395. #. type: item
  31396. #: guix-git/doc/guix.texi:21223
  31397. #, no-wrap
  31398. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  31399. msgstr ""
  31400. #. type: table
  31401. #: guix-git/doc/guix.texi:21226
  31402. 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."
  31403. msgstr ""
  31404. #. type: item
  31405. #: guix-git/doc/guix.texi:21227
  31406. #, no-wrap
  31407. msgid "@code{percentage-low} (default: @code{10})"
  31408. msgstr ""
  31409. #. type: table
  31410. #: guix-git/doc/guix.texi:21230
  31411. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  31412. msgstr ""
  31413. #. type: item
  31414. #: guix-git/doc/guix.texi:21231
  31415. #, no-wrap
  31416. msgid "@code{percentage-critical} (default: @code{3})"
  31417. msgstr ""
  31418. #. type: table
  31419. #: guix-git/doc/guix.texi:21234
  31420. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  31421. msgstr ""
  31422. #. type: item
  31423. #: guix-git/doc/guix.texi:21235
  31424. #, no-wrap
  31425. msgid "@code{percentage-action} (default: @code{2})"
  31426. msgstr ""
  31427. #. type: table
  31428. #: guix-git/doc/guix.texi:21238
  31429. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  31430. msgstr ""
  31431. #. type: item
  31432. #: guix-git/doc/guix.texi:21239
  31433. #, no-wrap
  31434. msgid "@code{time-low} (default: @code{1200})"
  31435. msgstr ""
  31436. #. type: table
  31437. #: guix-git/doc/guix.texi:21242
  31438. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  31439. msgstr ""
  31440. #. type: item
  31441. #: guix-git/doc/guix.texi:21243
  31442. #, no-wrap
  31443. msgid "@code{time-critical} (default: @code{300})"
  31444. msgstr ""
  31445. #. type: table
  31446. #: guix-git/doc/guix.texi:21246
  31447. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  31448. msgstr ""
  31449. #. type: item
  31450. #: guix-git/doc/guix.texi:21247
  31451. #, no-wrap
  31452. msgid "@code{time-action} (default: @code{120})"
  31453. msgstr ""
  31454. #. type: table
  31455. #: guix-git/doc/guix.texi:21250
  31456. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  31457. msgstr ""
  31458. #. type: item
  31459. #: guix-git/doc/guix.texi:21251
  31460. #, no-wrap
  31461. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  31462. msgstr ""
  31463. #. type: table
  31464. #: guix-git/doc/guix.texi:21254
  31465. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  31466. msgstr ""
  31467. #. type: table
  31468. #: guix-git/doc/guix.texi:21256
  31469. msgid "Possible values are:"
  31470. msgstr ""
  31471. #. type: code{#1}
  31472. #: guix-git/doc/guix.texi:21260
  31473. msgid "'power-off"
  31474. msgstr ""
  31475. #. type: code{#1}
  31476. #: guix-git/doc/guix.texi:21263
  31477. msgid "'hibernate"
  31478. msgstr ""
  31479. #. type: itemize
  31480. #: guix-git/doc/guix.texi:21266
  31481. msgid "@code{'hybrid-sleep}."
  31482. msgstr ""
  31483. #. type: deffn
  31484. #: guix-git/doc/guix.texi:21271
  31485. #, no-wrap
  31486. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  31487. msgstr ""
  31488. #. type: deffn
  31489. #: guix-git/doc/guix.texi:21281
  31490. 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."
  31491. msgstr ""
  31492. #. type: deffn
  31493. #: guix-git/doc/guix.texi:21283
  31494. #, no-wrap
  31495. msgid "{Scheme Variable} colord-service-type"
  31496. msgstr ""
  31497. #. type: deffn
  31498. #: guix-git/doc/guix.texi:21290
  31499. 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."
  31500. msgstr ""
  31501. #. type: cindex
  31502. #: guix-git/doc/guix.texi:21292
  31503. #, no-wrap
  31504. msgid "scanner access"
  31505. msgstr ""
  31506. #. type: defvr
  31507. #: guix-git/doc/guix.texi:21293
  31508. #, no-wrap
  31509. msgid "{Scheme Variable} sane-service-type"
  31510. msgstr ""
  31511. #. type: defvr
  31512. #: guix-git/doc/guix.texi:21299
  31513. 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."
  31514. msgstr ""
  31515. #. type: defvr
  31516. #: guix-git/doc/guix.texi:21301
  31517. #, no-wrap
  31518. msgid "{Scheme Variable} sane-backends-minimal"
  31519. msgstr ""
  31520. #. type: defvr
  31521. #: guix-git/doc/guix.texi:21304
  31522. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  31523. msgstr ""
  31524. #. type: defvr
  31525. #: guix-git/doc/guix.texi:21306
  31526. #, no-wrap
  31527. msgid "{Scheme Variable} sane-backends"
  31528. msgstr ""
  31529. #. type: defvr
  31530. #: guix-git/doc/guix.texi:21313
  31531. 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:"
  31532. msgstr ""
  31533. #. type: lisp
  31534. #: guix-git/doc/guix.texi:21322
  31535. #, no-wrap
  31536. msgid ""
  31537. "(use-modules (gnu))\n"
  31538. "(use-service-modules\n"
  31539. " @dots{}\n"
  31540. " desktop)\n"
  31541. "(use-package-modules\n"
  31542. " @dots{}\n"
  31543. " scanner)\n"
  31544. "\n"
  31545. msgstr ""
  31546. #. type: lisp
  31547. #: guix-git/doc/guix.texi:21327
  31548. #, no-wrap
  31549. msgid ""
  31550. "(define %my-desktop-services\n"
  31551. " ;; List of desktop services that supports a broader range of scanners.\n"
  31552. " (modify-services %desktop-services\n"
  31553. " (sane-service-type _ => sane-backends)))\n"
  31554. "\n"
  31555. msgstr ""
  31556. #. type: lisp
  31557. #: guix-git/doc/guix.texi:21331
  31558. #, no-wrap
  31559. msgid ""
  31560. "(operating-system\n"
  31561. " @dots{}\n"
  31562. " (services %my-desktop-services))\n"
  31563. msgstr ""
  31564. #. type: deffn
  31565. #: guix-git/doc/guix.texi:21334
  31566. #, no-wrap
  31567. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  31568. msgstr ""
  31569. #. type: deffn
  31570. #: guix-git/doc/guix.texi:21343
  31571. 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."
  31572. msgstr ""
  31573. #. type: defvr
  31574. #: guix-git/doc/guix.texi:21345
  31575. #, no-wrap
  31576. msgid "{Scheme Variable} %standard-geoclue-applications"
  31577. msgstr ""
  31578. #. type: defvr
  31579. #: guix-git/doc/guix.texi:21352
  31580. 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."
  31581. msgstr ""
  31582. #. type: deffn
  31583. #: guix-git/doc/guix.texi:21354
  31584. #, no-wrap
  31585. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  31586. msgstr ""
  31587. #. type: deffn
  31588. #: guix-git/doc/guix.texi:21367
  31589. 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."
  31590. msgstr ""
  31591. #. type: deffn
  31592. #: guix-git/doc/guix.texi:21369
  31593. #, no-wrap
  31594. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  31595. msgstr ""
  31596. #. type: deffn
  31597. #: guix-git/doc/guix.texi:21376
  31598. 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."
  31599. msgstr ""
  31600. #. type: deffn
  31601. #: guix-git/doc/guix.texi:21378
  31602. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  31603. msgstr ""
  31604. #. type: defvr
  31605. #: guix-git/doc/guix.texi:21380
  31606. #, no-wrap
  31607. msgid "{Scheme Variable} gnome-keyring-service-type"
  31608. msgstr ""
  31609. #. type: defvr
  31610. #: guix-git/doc/guix.texi:21384
  31611. 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)."
  31612. msgstr ""
  31613. #. type: defvr
  31614. #: guix-git/doc/guix.texi:21388
  31615. 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."
  31616. msgstr ""
  31617. #. type: deftp
  31618. #: guix-git/doc/guix.texi:21390
  31619. #, no-wrap
  31620. msgid "{Data Type} gnome-keyring-configuration"
  31621. msgstr ""
  31622. #. type: deftp
  31623. #: guix-git/doc/guix.texi:21392
  31624. msgid "Configuration record for the GNOME Keyring service."
  31625. msgstr ""
  31626. #. type: item
  31627. #: guix-git/doc/guix.texi:21394
  31628. #, no-wrap
  31629. msgid "@code{keyring} (default: @code{gnome-keyring})"
  31630. msgstr ""
  31631. #. type: table
  31632. #: guix-git/doc/guix.texi:21396
  31633. msgid "The GNOME keyring package to use."
  31634. msgstr ""
  31635. #. type: code{#1}
  31636. #: guix-git/doc/guix.texi:21397
  31637. #, no-wrap
  31638. msgid "pam-services"
  31639. msgstr ""
  31640. #. type: table
  31641. #: guix-git/doc/guix.texi:21402
  31642. 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}."
  31643. msgstr ""
  31644. #. type: table
  31645. #: guix-git/doc/guix.texi:21408
  31646. 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."
  31647. msgstr ""
  31648. #. type: table
  31649. #: guix-git/doc/guix.texi:21411
  31650. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  31651. msgstr ""
  31652. #. type: cindex
  31653. #: guix-git/doc/guix.texi:21418
  31654. #, no-wrap
  31655. msgid "sound support"
  31656. msgstr ""
  31657. #. type: cindex
  31658. #: guix-git/doc/guix.texi:21419
  31659. #, no-wrap
  31660. msgid "ALSA"
  31661. msgstr ""
  31662. #. type: cindex
  31663. #: guix-git/doc/guix.texi:21420
  31664. #, no-wrap
  31665. msgid "PulseAudio, sound support"
  31666. msgstr ""
  31667. #. type: Plain text
  31668. #: guix-git/doc/guix.texi:21425
  31669. 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."
  31670. msgstr ""
  31671. #. type: deffn
  31672. #: guix-git/doc/guix.texi:21426
  31673. #, no-wrap
  31674. msgid "{Scheme Variable} alsa-service-type"
  31675. msgstr ""
  31676. #. type: deffn
  31677. #: guix-git/doc/guix.texi:21431
  31678. 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:"
  31679. msgstr ""
  31680. #. type: lisp
  31681. #: guix-git/doc/guix.texi:21434
  31682. #, no-wrap
  31683. msgid "(service alsa-service-type)\n"
  31684. msgstr ""
  31685. #. type: deffn
  31686. #: guix-git/doc/guix.texi:21437
  31687. msgid "See below for details about @code{alsa-configuration}."
  31688. msgstr ""
  31689. #. type: deftp
  31690. #: guix-git/doc/guix.texi:21439
  31691. #, no-wrap
  31692. msgid "{Data Type} alsa-configuration"
  31693. msgstr ""
  31694. #. type: deftp
  31695. #: guix-git/doc/guix.texi:21441
  31696. msgid "Data type representing the configuration for @code{alsa-service}."
  31697. msgstr ""
  31698. #. type: item
  31699. #: guix-git/doc/guix.texi:21443
  31700. #, no-wrap
  31701. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  31702. msgstr ""
  31703. #. type: table
  31704. #: guix-git/doc/guix.texi:21445
  31705. msgid "@code{alsa-plugins} package to use."
  31706. msgstr ""
  31707. #. type: item
  31708. #: guix-git/doc/guix.texi:21446
  31709. #, no-wrap
  31710. msgid "@code{pulseaudio?} (default: @var{#t})"
  31711. msgstr ""
  31712. #. type: table
  31713. #: guix-git/doc/guix.texi:21449
  31714. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  31715. msgstr ""
  31716. #. type: table
  31717. #: guix-git/doc/guix.texi:21453
  31718. 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."
  31719. msgstr ""
  31720. #. type: item
  31721. #: guix-git/doc/guix.texi:21454
  31722. #, no-wrap
  31723. msgid "@code{extra-options} (default: @var{\"\"})"
  31724. msgstr ""
  31725. #. type: table
  31726. #: guix-git/doc/guix.texi:21456
  31727. msgid "String to append to the @file{/etc/asound.conf} file."
  31728. msgstr ""
  31729. #. type: Plain text
  31730. #: guix-git/doc/guix.texi:21462
  31731. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  31732. msgstr ""
  31733. #. type: example
  31734. #: guix-git/doc/guix.texi:21468
  31735. #, no-wrap
  31736. msgid ""
  31737. "# In guix, we have to specify the absolute path for plugins.\n"
  31738. "pcm_type.jack @{\n"
  31739. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  31740. "@}\n"
  31741. "\n"
  31742. msgstr ""
  31743. #. type: example
  31744. #: guix-git/doc/guix.texi:21477
  31745. #, no-wrap
  31746. msgid ""
  31747. "# Routing ALSA to jack:\n"
  31748. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  31749. "pcm.rawjack @{\n"
  31750. " type jack\n"
  31751. " playback_ports @{\n"
  31752. " 0 system:playback_1\n"
  31753. " 1 system:playback_2\n"
  31754. " @}\n"
  31755. "\n"
  31756. msgstr ""
  31757. #. type: example
  31758. #: guix-git/doc/guix.texi:21483
  31759. #, no-wrap
  31760. msgid ""
  31761. " capture_ports @{\n"
  31762. " 0 system:capture_1\n"
  31763. " 1 system:capture_2\n"
  31764. " @}\n"
  31765. "@}\n"
  31766. "\n"
  31767. msgstr ""
  31768. #. type: example
  31769. #: guix-git/doc/guix.texi:21490
  31770. #, no-wrap
  31771. msgid ""
  31772. "pcm.!default @{\n"
  31773. " type plug\n"
  31774. " slave @{\n"
  31775. " pcm \"rawjack\"\n"
  31776. " @}\n"
  31777. "@}\n"
  31778. msgstr ""
  31779. #. type: Plain text
  31780. #: guix-git/doc/guix.texi:21494
  31781. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  31782. msgstr ""
  31783. #. type: deffn
  31784. #: guix-git/doc/guix.texi:21495
  31785. #, no-wrap
  31786. msgid "{Scheme Variable} pulseaudio-service-type"
  31787. msgstr ""
  31788. #. type: deffn
  31789. #: guix-git/doc/guix.texi:21499
  31790. 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."
  31791. msgstr ""
  31792. #. type: quotation
  31793. #: guix-git/doc/guix.texi:21505
  31794. 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}."
  31795. msgstr ""
  31796. #. type: quotation
  31797. #: guix-git/doc/guix.texi:21513
  31798. 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."
  31799. msgstr ""
  31800. #. type: deftp
  31801. #: guix-git/doc/guix.texi:21516
  31802. #, no-wrap
  31803. msgid "{Data Type} pulseaudio-configuration"
  31804. msgstr ""
  31805. #. type: deftp
  31806. #: guix-git/doc/guix.texi:21518
  31807. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  31808. msgstr ""
  31809. #. type: item
  31810. #: guix-git/doc/guix.texi:21520
  31811. #, no-wrap
  31812. msgid "@code{client-conf} (default: @code{'()})"
  31813. msgstr ""
  31814. #. type: table
  31815. #: guix-git/doc/guix.texi:21525
  31816. msgid "List of settings to set in @file{client.conf}. Accepts a list of strings or symbol-value pairs. A string will be inserted as-is with a newline added. A pair will be formatted as ``key = value'', again with a newline added."
  31817. msgstr ""
  31818. #. type: item
  31819. #: guix-git/doc/guix.texi:21526
  31820. #, no-wrap
  31821. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  31822. msgstr ""
  31823. #. type: table
  31824. #: guix-git/doc/guix.texi:21529
  31825. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  31826. msgstr ""
  31827. #. type: item
  31828. #: guix-git/doc/guix.texi:21530
  31829. #, no-wrap
  31830. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  31831. msgstr ""
  31832. #. type: table
  31833. #: guix-git/doc/guix.texi:21535
  31834. msgid "Script file to use as @file{default.pa}. In case the @code{extra-script-files} field below is used, an @code{.include} directive pointing to @file{/etc/pulse/default.pa.d} is appended to the provided script."
  31835. msgstr ""
  31836. #. type: item
  31837. #: guix-git/doc/guix.texi:21536
  31838. #, no-wrap
  31839. msgid "@code{extra-script-files} (default: @code{'())})"
  31840. msgstr ""
  31841. #. type: table
  31842. #: guix-git/doc/guix.texi:21543
  31843. msgid "A list of file-like objects defining extra PulseAudio scripts to run at the initialization of the @command{pulseaudio} daemon, after the main @code{script-file}. The scripts are deployed to the @file{/etc/pulse/default.pa.d} directory; they should have the @samp{.pa} file name extension. For a reference of the available commands, refer to @command{man pulse-cli-syntax}."
  31844. msgstr ""
  31845. #. type: item
  31846. #: guix-git/doc/guix.texi:21544
  31847. #, no-wrap
  31848. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  31849. msgstr ""
  31850. #. type: table
  31851. #: guix-git/doc/guix.texi:21546
  31852. msgid "Script file to use as @file{system.pa}."
  31853. msgstr ""
  31854. #. type: deftp
  31855. #: guix-git/doc/guix.texi:21551
  31856. msgid "The example below sets the default PulseAudio card profile, the default sink and the default source to use for a old SoundBlaster Audigy sound card:"
  31857. msgstr ""
  31858. #. type: lisp
  31859. #: guix-git/doc/guix.texi:21560
  31860. #, no-wrap
  31861. msgid ""
  31862. "(pulseaudio-configuration\n"
  31863. " (extra-script-files\n"
  31864. " (list (plain-file \"audigy.pa\"\n"
  31865. " (string-append \"\\\n"
  31866. "set-card-profile alsa_card.pci-0000_01_01.0 \\\n"
  31867. " output:analog-surround-40+input:analog-mono\n"
  31868. "set-default-source alsa_input.pci-0000_01_01.0.analog-mono\n"
  31869. "set-default-sink alsa_output.pci-0000_01_01.0.analog-surround-40\\n\")))))\n"
  31870. msgstr ""
  31871. #. type: deftp
  31872. #: guix-git/doc/guix.texi:21568
  31873. msgid "Note that @code{pulseaudio-service-type} is part of @code{%desktop-services}; if your operating system declaration was derived from one of the desktop templates, you'll want to adjust the above example to modify the existing @code{pulseaudio-service-type} via @code{modify-services} (@pxref{Service Reference, @code{modify-services}}), instead of defining a new one."
  31874. msgstr ""
  31875. #. type: deffn
  31876. #: guix-git/doc/guix.texi:21571
  31877. #, no-wrap
  31878. msgid "{Scheme Variable} ladspa-service-type"
  31879. msgstr ""
  31880. #. type: deffn
  31881. #: guix-git/doc/guix.texi:21574
  31882. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  31883. msgstr ""
  31884. #. type: deffn
  31885. #: guix-git/doc/guix.texi:21577
  31886. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  31887. msgstr ""
  31888. #. type: lisp
  31889. #: guix-git/doc/guix.texi:21581
  31890. #, no-wrap
  31891. msgid ""
  31892. "(service ladspa-service-type\n"
  31893. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  31894. msgstr ""
  31895. #. type: deffn
  31896. #: guix-git/doc/guix.texi:21585
  31897. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  31898. msgstr ""
  31899. #. type: cindex
  31900. #: guix-git/doc/guix.texi:21592
  31901. #, no-wrap
  31902. msgid "SQL"
  31903. msgstr ""
  31904. #. type: Plain text
  31905. #: guix-git/doc/guix.texi:21594
  31906. msgid "The @code{(gnu services databases)} module provides the following services."
  31907. msgstr ""
  31908. #. type: subsubheading
  31909. #: guix-git/doc/guix.texi:21595
  31910. #, no-wrap
  31911. msgid "PostgreSQL"
  31912. msgstr ""
  31913. #. type: Plain text
  31914. #: guix-git/doc/guix.texi:21599
  31915. msgid "The following example describes a PostgreSQL service with the default configuration."
  31916. msgstr ""
  31917. #. type: lisp
  31918. #: guix-git/doc/guix.texi:21604
  31919. #, no-wrap
  31920. msgid ""
  31921. "(service postgresql-service-type\n"
  31922. " (postgresql-configuration\n"
  31923. " (postgresql postgresql-10)))\n"
  31924. msgstr ""
  31925. #. type: Plain text
  31926. #: guix-git/doc/guix.texi:21610
  31927. 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."
  31928. msgstr ""
  31929. #. type: Plain text
  31930. #: guix-git/doc/guix.texi:21617
  31931. 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."
  31932. msgstr ""
  31933. #. type: example
  31934. #: guix-git/doc/guix.texi:21622
  31935. #, no-wrap
  31936. msgid ""
  31937. "sudo -u postgres -s /bin/sh\n"
  31938. "createuser --interactive\n"
  31939. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  31940. msgstr ""
  31941. #. type: deftp
  31942. #: guix-git/doc/guix.texi:21624
  31943. #, no-wrap
  31944. msgid "{Data Type} postgresql-configuration"
  31945. msgstr ""
  31946. #. type: deftp
  31947. #: guix-git/doc/guix.texi:21627
  31948. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  31949. msgstr ""
  31950. #. type: code{#1}
  31951. #: guix-git/doc/guix.texi:21629
  31952. #, no-wrap
  31953. msgid "postgresql"
  31954. msgstr ""
  31955. #. type: table
  31956. #: guix-git/doc/guix.texi:21631
  31957. msgid "PostgreSQL package to use for the service."
  31958. msgstr ""
  31959. #. type: item
  31960. #: guix-git/doc/guix.texi:21632
  31961. #, no-wrap
  31962. msgid "@code{port} (default: @code{5432})"
  31963. msgstr ""
  31964. #. type: table
  31965. #: guix-git/doc/guix.texi:21634
  31966. msgid "Port on which PostgreSQL should listen."
  31967. msgstr ""
  31968. #. type: table
  31969. #: guix-git/doc/guix.texi:21637
  31970. msgid "Locale to use as the default when creating the database cluster."
  31971. msgstr ""
  31972. #. type: item
  31973. #: guix-git/doc/guix.texi:21638
  31974. #, no-wrap
  31975. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  31976. msgstr ""
  31977. #. type: table
  31978. #: guix-git/doc/guix.texi:21642
  31979. 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."
  31980. msgstr ""
  31981. #. type: item
  31982. #: guix-git/doc/guix.texi:21643
  31983. #, no-wrap
  31984. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  31985. msgstr ""
  31986. #. type: table
  31987. #: guix-git/doc/guix.texi:21647
  31988. 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."
  31989. msgstr ""
  31990. #. type: item
  31991. #: guix-git/doc/guix.texi:21648
  31992. #, no-wrap
  31993. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  31994. msgstr ""
  31995. #. type: table
  31996. #: guix-git/doc/guix.texi:21650
  31997. msgid "Directory in which to store the data."
  31998. msgstr ""
  31999. #. type: item
  32000. #: guix-git/doc/guix.texi:21651
  32001. #, no-wrap
  32002. msgid "@code{extension-packages} (default: @code{'()})"
  32003. msgstr ""
  32004. #. type: cindex
  32005. #: guix-git/doc/guix.texi:21652
  32006. #, no-wrap
  32007. msgid "postgresql extension-packages"
  32008. msgstr ""
  32009. #. type: table
  32010. #: guix-git/doc/guix.texi:21657
  32011. 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:"
  32012. msgstr ""
  32013. #. type: cindex
  32014. #: guix-git/doc/guix.texi:21658
  32015. #, no-wrap
  32016. msgid "postgis"
  32017. msgstr ""
  32018. #. type: lisp
  32019. #: guix-git/doc/guix.texi:21661
  32020. #, no-wrap
  32021. msgid ""
  32022. "(use-package-modules databases geo)\n"
  32023. "\n"
  32024. msgstr ""
  32025. #. type: lisp
  32026. #: guix-git/doc/guix.texi:21674
  32027. #, no-wrap
  32028. msgid ""
  32029. "(operating-system\n"
  32030. " ...\n"
  32031. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  32032. " ;; proper operation.\n"
  32033. " (packages (cons* postgresql %base-packages))\n"
  32034. " (services\n"
  32035. " (cons*\n"
  32036. " (service postgresql-service-type\n"
  32037. " (postgresql-configuration\n"
  32038. " (postgresql postgresql-10)\n"
  32039. " (extension-packages (list postgis))))\n"
  32040. " %base-services)))\n"
  32041. msgstr ""
  32042. #. type: table
  32043. #: guix-git/doc/guix.texi:21678
  32044. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  32045. msgstr ""
  32046. #. type: example
  32047. #: guix-git/doc/guix.texi:21685
  32048. #, no-wrap
  32049. msgid ""
  32050. "psql -U postgres\n"
  32051. "> create database postgistest;\n"
  32052. "> \\connect postgistest;\n"
  32053. "> create extension postgis;\n"
  32054. "> create extension postgis_topology;\n"
  32055. msgstr ""
  32056. #. type: table
  32057. #: guix-git/doc/guix.texi:21690
  32058. 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."
  32059. msgstr ""
  32060. #. type: deftp
  32061. #: guix-git/doc/guix.texi:21694
  32062. #, no-wrap
  32063. msgid "{Data Type} postgresql-config-file"
  32064. msgstr ""
  32065. #. type: deftp
  32066. #: guix-git/doc/guix.texi:21700
  32067. 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."
  32068. msgstr ""
  32069. #. type: lisp
  32070. #: guix-git/doc/guix.texi:21720
  32071. #, no-wrap
  32072. msgid ""
  32073. "(service postgresql-service-type\n"
  32074. " (postgresql-configuration\n"
  32075. " (config-file\n"
  32076. " (postgresql-config-file\n"
  32077. " (log-destination \"stderr\")\n"
  32078. " (hba-file\n"
  32079. " (plain-file \"pg_hba.conf\"\n"
  32080. " \"\n"
  32081. "local\tall\tall\t\t\ttrust\n"
  32082. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  32083. "host\tall\tall\t::1/128 \tmd5\"))\n"
  32084. " (extra-config\n"
  32085. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  32086. " (\"random_page_cost\" 2)\n"
  32087. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  32088. " (\"work_mem\" \"500 MB\")\n"
  32089. " (\"logging_collector\" #t)\n"
  32090. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  32091. msgstr ""
  32092. #. type: item
  32093. #: guix-git/doc/guix.texi:21723
  32094. #, no-wrap
  32095. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  32096. msgstr ""
  32097. #. type: table
  32098. #: guix-git/doc/guix.texi:21726
  32099. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  32100. msgstr ""
  32101. #. type: item
  32102. #: guix-git/doc/guix.texi:21727
  32103. #, no-wrap
  32104. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  32105. msgstr ""
  32106. #. type: table
  32107. #: guix-git/doc/guix.texi:21730
  32108. msgid "Filename or G-expression for the host-based authentication configuration."
  32109. msgstr ""
  32110. #. type: item
  32111. #: guix-git/doc/guix.texi:21731
  32112. #, no-wrap
  32113. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  32114. msgstr ""
  32115. #. type: table
  32116. #: guix-git/doc/guix.texi:21733
  32117. msgid "Filename or G-expression for the user name mapping configuration."
  32118. msgstr ""
  32119. #. type: item
  32120. #: guix-git/doc/guix.texi:21734
  32121. #, no-wrap
  32122. msgid "@code{socket-directory} (default: @code{\"/var/run/postgresql\"})"
  32123. msgstr ""
  32124. #. type: table
  32125. #: guix-git/doc/guix.texi:21739
  32126. 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."
  32127. msgstr ""
  32128. #. type: table
  32129. #: guix-git/doc/guix.texi:21742
  32130. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  32131. msgstr ""
  32132. #. type: table
  32133. #: guix-git/doc/guix.texi:21747
  32134. 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."
  32135. msgstr ""
  32136. #. type: table
  32137. #: guix-git/doc/guix.texi:21753
  32138. 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}."
  32139. msgstr ""
  32140. #. type: deffn
  32141. #: guix-git/doc/guix.texi:21757
  32142. #, no-wrap
  32143. msgid "{Scheme Variable} postgresql-role-service-type"
  32144. msgstr ""
  32145. #. type: deffn
  32146. #: guix-git/doc/guix.texi:21760
  32147. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  32148. msgstr ""
  32149. #. type: lisp
  32150. #: guix-git/doc/guix.texi:21768
  32151. #, no-wrap
  32152. msgid ""
  32153. "(service postgresql-role-service-type\n"
  32154. " (postgresql-role-configuration\n"
  32155. " (roles\n"
  32156. " (list (postgresql-role\n"
  32157. " (name \"test\")\n"
  32158. " (create-database? #t))))))\n"
  32159. msgstr ""
  32160. #. type: deffn
  32161. #: guix-git/doc/guix.texi:21772
  32162. msgid "This service can be extended with extra roles, as in this example:"
  32163. msgstr ""
  32164. #. type: lisp
  32165. #: guix-git/doc/guix.texi:21778
  32166. #, no-wrap
  32167. msgid ""
  32168. "(service-extension postgresql-role-service-type\n"
  32169. " (const (postgresql-role\n"
  32170. " (name \"alice\")\n"
  32171. " (create-database? #t))))\n"
  32172. msgstr ""
  32173. #. type: deftp
  32174. #: guix-git/doc/guix.texi:21781
  32175. #, no-wrap
  32176. msgid "{Data Type} postgresql-role"
  32177. msgstr ""
  32178. #. type: deftp
  32179. #: guix-git/doc/guix.texi:21787
  32180. 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."
  32181. msgstr ""
  32182. #. type: table
  32183. #: guix-git/doc/guix.texi:21791
  32184. msgid "The role name."
  32185. msgstr ""
  32186. #. type: item
  32187. #: guix-git/doc/guix.texi:21792
  32188. #, no-wrap
  32189. msgid "@code{permissions} (default: @code{'(createdb login)})"
  32190. msgstr ""
  32191. #. type: table
  32192. #: guix-git/doc/guix.texi:21796
  32193. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  32194. msgstr ""
  32195. #. type: item
  32196. #: guix-git/doc/guix.texi:21797
  32197. #, no-wrap
  32198. msgid "@code{create-database?} (default: @code{#f})"
  32199. msgstr ""
  32200. #. type: table
  32201. #: guix-git/doc/guix.texi:21799
  32202. msgid "Whether to create a database with the same name as the role."
  32203. msgstr ""
  32204. #. type: deftp
  32205. #: guix-git/doc/guix.texi:21803
  32206. #, no-wrap
  32207. msgid "{Data Type} postgresql-role-configuration"
  32208. msgstr ""
  32209. #. type: deftp
  32210. #: guix-git/doc/guix.texi:21806
  32211. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  32212. msgstr ""
  32213. #. type: item
  32214. #: guix-git/doc/guix.texi:21808
  32215. #, no-wrap
  32216. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  32217. msgstr ""
  32218. #. type: table
  32219. #: guix-git/doc/guix.texi:21810
  32220. msgid "The PostgreSQL host to connect to."
  32221. msgstr ""
  32222. #. type: item
  32223. #: guix-git/doc/guix.texi:21811
  32224. #, no-wrap
  32225. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  32226. msgstr ""
  32227. #. type: table
  32228. #: guix-git/doc/guix.texi:21813
  32229. msgid "File name of the log file."
  32230. msgstr ""
  32231. #. type: item
  32232. #: guix-git/doc/guix.texi:21814
  32233. #, no-wrap
  32234. msgid "@code{roles} (default: @code{'()})"
  32235. msgstr ""
  32236. #. type: table
  32237. #: guix-git/doc/guix.texi:21816
  32238. msgid "The initial PostgreSQL roles to create."
  32239. msgstr ""
  32240. #. type: subsubheading
  32241. #: guix-git/doc/guix.texi:21819
  32242. #, no-wrap
  32243. msgid "MariaDB/MySQL"
  32244. msgstr ""
  32245. #. type: defvr
  32246. #: guix-git/doc/guix.texi:21821
  32247. #, no-wrap
  32248. msgid "{Scheme Variable} mysql-service-type"
  32249. msgstr ""
  32250. #. type: defvr
  32251. #: guix-git/doc/guix.texi:21825
  32252. 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."
  32253. msgstr ""
  32254. #. type: deftp
  32255. #: guix-git/doc/guix.texi:21827
  32256. #, no-wrap
  32257. msgid "{Data Type} mysql-configuration"
  32258. msgstr ""
  32259. #. type: deftp
  32260. #: guix-git/doc/guix.texi:21829
  32261. msgid "Data type representing the configuration of @var{mysql-service-type}."
  32262. msgstr ""
  32263. #. type: item
  32264. #: guix-git/doc/guix.texi:21831
  32265. #, no-wrap
  32266. msgid "@code{mysql} (default: @var{mariadb})"
  32267. msgstr ""
  32268. #. type: table
  32269. #: guix-git/doc/guix.texi:21834
  32270. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  32271. msgstr ""
  32272. #. type: table
  32273. #: guix-git/doc/guix.texi:21837
  32274. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  32275. msgstr ""
  32276. #. type: item
  32277. #: guix-git/doc/guix.texi:21838 guix-git/doc/guix.texi:25658
  32278. #, no-wrap
  32279. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  32280. msgstr ""
  32281. #. type: table
  32282. #: guix-git/doc/guix.texi:21841
  32283. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  32284. msgstr ""
  32285. #. type: item
  32286. #: guix-git/doc/guix.texi:21842
  32287. #, no-wrap
  32288. msgid "@code{port} (default: @code{3306})"
  32289. msgstr ""
  32290. #. type: table
  32291. #: guix-git/doc/guix.texi:21844
  32292. msgid "TCP port on which the database server listens for incoming connections."
  32293. msgstr ""
  32294. #. type: item
  32295. #: guix-git/doc/guix.texi:21845
  32296. #, no-wrap
  32297. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  32298. msgstr ""
  32299. #. type: table
  32300. #: guix-git/doc/guix.texi:21847
  32301. msgid "Socket file to use for local (non-network) connections."
  32302. msgstr ""
  32303. #. type: table
  32304. #: guix-git/doc/guix.texi:21850
  32305. msgid "Additional settings for the @file{my.cnf} configuration file."
  32306. msgstr ""
  32307. #. type: item
  32308. #: guix-git/doc/guix.texi:21851
  32309. #, no-wrap
  32310. msgid "@code{extra-environment} (default: @code{#~'()})"
  32311. msgstr ""
  32312. #. type: table
  32313. #: guix-git/doc/guix.texi:21853
  32314. msgid "List of environment variables passed to the @command{mysqld} process."
  32315. msgstr ""
  32316. #. type: item
  32317. #: guix-git/doc/guix.texi:21854
  32318. #, no-wrap
  32319. msgid "@code{auto-upgrade?} (default: @code{#t})"
  32320. msgstr ""
  32321. #. type: table
  32322. #: guix-git/doc/guix.texi:21859
  32323. 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."
  32324. msgstr ""
  32325. #. type: subsubheading
  32326. #: guix-git/doc/guix.texi:21863
  32327. #, no-wrap
  32328. msgid "Memcached"
  32329. msgstr ""
  32330. #. type: defvr
  32331. #: guix-git/doc/guix.texi:21865
  32332. #, no-wrap
  32333. msgid "{Scheme Variable} memcached-service-type"
  32334. msgstr ""
  32335. #. type: defvr
  32336. #: guix-git/doc/guix.texi:21869
  32337. 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."
  32338. msgstr ""
  32339. #. type: lisp
  32340. #: guix-git/doc/guix.texi:21873
  32341. #, no-wrap
  32342. msgid "(service memcached-service-type)\n"
  32343. msgstr ""
  32344. #. type: deftp
  32345. #: guix-git/doc/guix.texi:21875
  32346. #, no-wrap
  32347. msgid "{Data Type} memcached-configuration"
  32348. msgstr ""
  32349. #. type: deftp
  32350. #: guix-git/doc/guix.texi:21877
  32351. msgid "Data type representing the configuration of memcached."
  32352. msgstr ""
  32353. #. type: item
  32354. #: guix-git/doc/guix.texi:21879
  32355. #, no-wrap
  32356. msgid "@code{memcached} (default: @code{memcached})"
  32357. msgstr ""
  32358. #. type: table
  32359. #: guix-git/doc/guix.texi:21881
  32360. msgid "The Memcached package to use."
  32361. msgstr ""
  32362. #. type: item
  32363. #: guix-git/doc/guix.texi:21882
  32364. #, no-wrap
  32365. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  32366. msgstr ""
  32367. #. type: table
  32368. #: guix-git/doc/guix.texi:21884
  32369. msgid "Network interfaces on which to listen."
  32370. msgstr ""
  32371. #. type: item
  32372. #: guix-git/doc/guix.texi:21885
  32373. #, no-wrap
  32374. msgid "@code{tcp-port} (default: @code{11211})"
  32375. msgstr ""
  32376. #. type: table
  32377. #: guix-git/doc/guix.texi:21887
  32378. msgid "Port on which to accept connections."
  32379. msgstr ""
  32380. #. type: item
  32381. #: guix-git/doc/guix.texi:21888
  32382. #, no-wrap
  32383. msgid "@code{udp-port} (default: @code{11211})"
  32384. msgstr ""
  32385. #. type: table
  32386. #: guix-git/doc/guix.texi:21891
  32387. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  32388. msgstr ""
  32389. #. type: item
  32390. #: guix-git/doc/guix.texi:21892
  32391. #, no-wrap
  32392. msgid "@code{additional-options} (default: @code{'()})"
  32393. msgstr ""
  32394. #. type: table
  32395. #: guix-git/doc/guix.texi:21894
  32396. msgid "Additional command line options to pass to @code{memcached}."
  32397. msgstr ""
  32398. #. type: subsubheading
  32399. #: guix-git/doc/guix.texi:21897
  32400. #, no-wrap
  32401. msgid "Redis"
  32402. msgstr ""
  32403. #. type: defvr
  32404. #: guix-git/doc/guix.texi:21899
  32405. #, no-wrap
  32406. msgid "{Scheme Variable} redis-service-type"
  32407. msgstr ""
  32408. #. type: defvr
  32409. #: guix-git/doc/guix.texi:21902
  32410. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  32411. msgstr ""
  32412. #. type: deftp
  32413. #: guix-git/doc/guix.texi:21904
  32414. #, no-wrap
  32415. msgid "{Data Type} redis-configuration"
  32416. msgstr ""
  32417. #. type: deftp
  32418. #: guix-git/doc/guix.texi:21906
  32419. msgid "Data type representing the configuration of redis."
  32420. msgstr ""
  32421. #. type: item
  32422. #: guix-git/doc/guix.texi:21908
  32423. #, no-wrap
  32424. msgid "@code{redis} (default: @code{redis})"
  32425. msgstr ""
  32426. #. type: table
  32427. #: guix-git/doc/guix.texi:21910
  32428. msgid "The Redis package to use."
  32429. msgstr ""
  32430. #. type: item
  32431. #: guix-git/doc/guix.texi:21911
  32432. #, no-wrap
  32433. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  32434. msgstr ""
  32435. #. type: table
  32436. #: guix-git/doc/guix.texi:21913
  32437. msgid "Network interface on which to listen."
  32438. msgstr ""
  32439. #. type: item
  32440. #: guix-git/doc/guix.texi:21914
  32441. #, no-wrap
  32442. msgid "@code{port} (default: @code{6379})"
  32443. msgstr ""
  32444. #. type: table
  32445. #: guix-git/doc/guix.texi:21917
  32446. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  32447. msgstr ""
  32448. #. type: item
  32449. #: guix-git/doc/guix.texi:21918
  32450. #, no-wrap
  32451. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  32452. msgstr ""
  32453. #. type: table
  32454. #: guix-git/doc/guix.texi:21920
  32455. msgid "Directory in which to store the database and related files."
  32456. msgstr ""
  32457. #. type: cindex
  32458. #: guix-git/doc/guix.texi:21926
  32459. #, no-wrap
  32460. msgid "mail"
  32461. msgstr ""
  32462. #. type: cindex
  32463. #: guix-git/doc/guix.texi:21927
  32464. #, no-wrap
  32465. msgid "email"
  32466. msgstr ""
  32467. #. type: Plain text
  32468. #: guix-git/doc/guix.texi:21932
  32469. 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."
  32470. msgstr ""
  32471. #. type: subsubheading
  32472. #: guix-git/doc/guix.texi:21933
  32473. #, no-wrap
  32474. msgid "Dovecot Service"
  32475. msgstr ""
  32476. #. type: deffn
  32477. #: guix-git/doc/guix.texi:21935
  32478. #, no-wrap
  32479. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  32480. msgstr ""
  32481. #. type: deffn
  32482. #: guix-git/doc/guix.texi:21937
  32483. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  32484. msgstr ""
  32485. #. type: Plain text
  32486. #: guix-git/doc/guix.texi:21947
  32487. 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."
  32488. msgstr ""
  32489. #. type: Plain text
  32490. #: guix-git/doc/guix.texi:21950
  32491. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  32492. msgstr ""
  32493. #. type: lisp
  32494. #: guix-git/doc/guix.texi:21955
  32495. #, no-wrap
  32496. msgid ""
  32497. "(dovecot-service #:config\n"
  32498. " (dovecot-configuration\n"
  32499. " (mail-location \"maildir:~/.mail\")))\n"
  32500. msgstr ""
  32501. #. type: Plain text
  32502. #: guix-git/doc/guix.texi:21963
  32503. 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."
  32504. msgstr ""
  32505. #. type: Plain text
  32506. #: guix-git/doc/guix.texi:21973
  32507. msgid "Available @code{dovecot-configuration} fields are:"
  32508. msgstr ""
  32509. #. type: deftypevr
  32510. #: guix-git/doc/guix.texi:21974
  32511. #, no-wrap
  32512. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  32513. msgstr ""
  32514. #. type: deftypevr
  32515. #: guix-git/doc/guix.texi:21976 guix-git/doc/guix.texi:23325
  32516. msgid "The dovecot package."
  32517. msgstr ""
  32518. #. type: deftypevr
  32519. #: guix-git/doc/guix.texi:21978
  32520. #, no-wrap
  32521. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  32522. msgstr ""
  32523. #. type: deftypevr
  32524. #: guix-git/doc/guix.texi:21984
  32525. 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."
  32526. msgstr ""
  32527. #. type: deftypevr
  32528. #: guix-git/doc/guix.texi:21986
  32529. #, no-wrap
  32530. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  32531. msgstr ""
  32532. #. type: deftypevr
  32533. #: guix-git/doc/guix.texi:21989
  32534. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  32535. msgstr ""
  32536. #. type: deftypevr
  32537. #: guix-git/doc/guix.texi:21991
  32538. msgid "Available @code{protocol-configuration} fields are:"
  32539. msgstr ""
  32540. #. type: deftypevr
  32541. #: guix-git/doc/guix.texi:21992
  32542. #, no-wrap
  32543. msgid "{@code{protocol-configuration} parameter} string name"
  32544. msgstr ""
  32545. #. type: deftypevr
  32546. #: guix-git/doc/guix.texi:21994
  32547. msgid "The name of the protocol."
  32548. msgstr ""
  32549. #. type: deftypevr
  32550. #: guix-git/doc/guix.texi:21996
  32551. #, no-wrap
  32552. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  32553. msgstr ""
  32554. #. type: deftypevr
  32555. #: guix-git/doc/guix.texi:22000
  32556. 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\"}."
  32557. msgstr ""
  32558. #. type: deftypevr
  32559. #: guix-git/doc/guix.texi:22002
  32560. #, no-wrap
  32561. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  32562. msgstr ""
  32563. #. type: deftypevr
  32564. #: guix-git/doc/guix.texi:22007
  32565. 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."
  32566. msgstr ""
  32567. #. type: deftypevr
  32568. #: guix-git/doc/guix.texi:22010
  32569. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  32570. msgstr ""
  32571. #. type: deftypevr
  32572. #: guix-git/doc/guix.texi:22015
  32573. #, no-wrap
  32574. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  32575. msgstr ""
  32576. #. type: deftypevr
  32577. #: guix-git/doc/guix.texi:22020
  32578. 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."
  32579. msgstr ""
  32580. #. type: deftypevr
  32581. #: guix-git/doc/guix.texi:22024
  32582. #, no-wrap
  32583. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  32584. msgstr ""
  32585. #. type: deftypevr
  32586. #: guix-git/doc/guix.texi:22029
  32587. 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."
  32588. msgstr ""
  32589. #. type: deftypevr
  32590. #: guix-git/doc/guix.texi:22034
  32591. #, no-wrap
  32592. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  32593. msgstr ""
  32594. #. type: deftypevr
  32595. #: guix-git/doc/guix.texi:22036
  32596. msgid "Space separated list of plugins to load."
  32597. msgstr ""
  32598. #. type: deftypevr
  32599. #: guix-git/doc/guix.texi:22038
  32600. #, no-wrap
  32601. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  32602. msgstr ""
  32603. #. type: deftypevr
  32604. #: guix-git/doc/guix.texi:22042
  32605. 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}."
  32606. msgstr ""
  32607. #. type: deftypevr
  32608. #: guix-git/doc/guix.texi:22046
  32609. #, no-wrap
  32610. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  32611. msgstr ""
  32612. #. type: deftypevr
  32613. #: guix-git/doc/guix.texi:22050
  32614. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  32615. msgstr ""
  32616. #. type: deftypevr
  32617. #: guix-git/doc/guix.texi:22052
  32618. msgid "Available @code{service-configuration} fields are:"
  32619. msgstr ""
  32620. #. type: deftypevr
  32621. #: guix-git/doc/guix.texi:22053
  32622. #, no-wrap
  32623. msgid "{@code{service-configuration} parameter} string kind"
  32624. msgstr ""
  32625. #. type: deftypevr
  32626. #: guix-git/doc/guix.texi:22058
  32627. 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."
  32628. msgstr ""
  32629. #. type: deftypevr
  32630. #: guix-git/doc/guix.texi:22060
  32631. #, no-wrap
  32632. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  32633. msgstr ""
  32634. #. type: deftypevr
  32635. #: guix-git/doc/guix.texi:22065
  32636. 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{()}."
  32637. msgstr ""
  32638. #. type: deftypevr
  32639. #: guix-git/doc/guix.texi:22067
  32640. msgid "Available @code{unix-listener-configuration} fields are:"
  32641. msgstr ""
  32642. #. type: deftypevr
  32643. #: guix-git/doc/guix.texi:22068
  32644. #, no-wrap
  32645. msgid "{@code{unix-listener-configuration} parameter} string path"
  32646. msgstr ""
  32647. #. type: deftypevr
  32648. #: guix-git/doc/guix.texi:22071 guix-git/doc/guix.texi:22094
  32649. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  32650. msgstr ""
  32651. #. type: deftypevr
  32652. #: guix-git/doc/guix.texi:22073
  32653. #, no-wrap
  32654. msgid "{@code{unix-listener-configuration} parameter} string mode"
  32655. msgstr ""
  32656. #. type: deftypevr
  32657. #: guix-git/doc/guix.texi:22076 guix-git/doc/guix.texi:22099
  32658. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  32659. msgstr ""
  32660. #. type: deftypevr
  32661. #: guix-git/doc/guix.texi:22078
  32662. #, no-wrap
  32663. msgid "{@code{unix-listener-configuration} parameter} string user"
  32664. msgstr ""
  32665. #. type: deftypevr
  32666. #: guix-git/doc/guix.texi:22081 guix-git/doc/guix.texi:22104
  32667. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  32668. msgstr ""
  32669. #. type: deftypevr
  32670. #: guix-git/doc/guix.texi:22083
  32671. #, no-wrap
  32672. msgid "{@code{unix-listener-configuration} parameter} string group"
  32673. msgstr ""
  32674. #. type: deftypevr
  32675. #: guix-git/doc/guix.texi:22086 guix-git/doc/guix.texi:22109
  32676. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  32677. msgstr ""
  32678. #. type: deftypevr
  32679. #: guix-git/doc/guix.texi:22090
  32680. msgid "Available @code{fifo-listener-configuration} fields are:"
  32681. msgstr ""
  32682. #. type: deftypevr
  32683. #: guix-git/doc/guix.texi:22091
  32684. #, no-wrap
  32685. msgid "{@code{fifo-listener-configuration} parameter} string path"
  32686. msgstr ""
  32687. #. type: deftypevr
  32688. #: guix-git/doc/guix.texi:22096
  32689. #, no-wrap
  32690. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  32691. msgstr ""
  32692. #. type: deftypevr
  32693. #: guix-git/doc/guix.texi:22101
  32694. #, no-wrap
  32695. msgid "{@code{fifo-listener-configuration} parameter} string user"
  32696. msgstr ""
  32697. #. type: deftypevr
  32698. #: guix-git/doc/guix.texi:22106
  32699. #, no-wrap
  32700. msgid "{@code{fifo-listener-configuration} parameter} string group"
  32701. msgstr ""
  32702. #. type: deftypevr
  32703. #: guix-git/doc/guix.texi:22113
  32704. msgid "Available @code{inet-listener-configuration} fields are:"
  32705. msgstr ""
  32706. #. type: deftypevr
  32707. #: guix-git/doc/guix.texi:22114
  32708. #, no-wrap
  32709. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  32710. msgstr ""
  32711. #. type: deftypevr
  32712. #: guix-git/doc/guix.texi:22116
  32713. msgid "The protocol to listen for."
  32714. msgstr ""
  32715. #. type: deftypevr
  32716. #: guix-git/doc/guix.texi:22118
  32717. #, no-wrap
  32718. msgid "{@code{inet-listener-configuration} parameter} string address"
  32719. msgstr ""
  32720. #. type: deftypevr
  32721. #: guix-git/doc/guix.texi:22121
  32722. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  32723. msgstr ""
  32724. #. type: deftypevr
  32725. #: guix-git/doc/guix.texi:22123
  32726. #, no-wrap
  32727. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  32728. msgstr ""
  32729. #. type: deftypevr
  32730. #: guix-git/doc/guix.texi:22125
  32731. msgid "The port on which to listen."
  32732. msgstr ""
  32733. #. type: deftypevr
  32734. #: guix-git/doc/guix.texi:22127
  32735. #, no-wrap
  32736. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  32737. msgstr ""
  32738. #. type: deftypevr
  32739. #: guix-git/doc/guix.texi:22131
  32740. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  32741. msgstr ""
  32742. #. type: deftypevr
  32743. #: guix-git/doc/guix.texi:22135
  32744. #, no-wrap
  32745. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  32746. msgstr ""
  32747. #. type: deftypevr
  32748. #: guix-git/doc/guix.texi:22140
  32749. 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."
  32750. msgstr ""
  32751. #. type: deftypevr
  32752. #: guix-git/doc/guix.texi:22145
  32753. #, no-wrap
  32754. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  32755. msgstr ""
  32756. #. type: deftypevr
  32757. #: guix-git/doc/guix.texi:22150
  32758. 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}."
  32759. msgstr ""
  32760. #. type: deftypevr
  32761. #: guix-git/doc/guix.texi:22153
  32762. #, no-wrap
  32763. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  32764. msgstr ""
  32765. #. type: deftypevr
  32766. #: guix-git/doc/guix.texi:22156
  32767. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  32768. msgstr ""
  32769. #. type: deftypevr
  32770. #: guix-git/doc/guix.texi:22161
  32771. #, no-wrap
  32772. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  32773. msgstr ""
  32774. #. type: deftypevr
  32775. #: guix-git/doc/guix.texi:22164
  32776. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  32777. msgstr ""
  32778. #. type: deftypevr
  32779. #: guix-git/doc/guix.texi:22166
  32780. #, no-wrap
  32781. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  32782. msgstr ""
  32783. #. type: deftypevr
  32784. #: guix-git/doc/guix.texi:22170
  32785. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  32786. msgstr ""
  32787. #. type: deftypevr
  32788. #: guix-git/doc/guix.texi:22174
  32789. #, no-wrap
  32790. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  32791. msgstr ""
  32792. #. type: deftypevr
  32793. #: guix-git/doc/guix.texi:22177
  32794. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  32795. msgstr ""
  32796. #. type: deftypevr
  32797. #: guix-git/doc/guix.texi:22179
  32798. msgid "Available @code{dict-configuration} fields are:"
  32799. msgstr ""
  32800. #. type: deftypevr
  32801. #: guix-git/doc/guix.texi:22180
  32802. #, no-wrap
  32803. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  32804. msgstr ""
  32805. #. type: deftypevr
  32806. #: guix-git/doc/guix.texi:22183
  32807. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  32808. msgstr ""
  32809. #. type: deftypevr
  32810. #: guix-git/doc/guix.texi:22187
  32811. #, no-wrap
  32812. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  32813. msgstr ""
  32814. #. type: deftypevr
  32815. #: guix-git/doc/guix.texi:22190
  32816. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  32817. msgstr ""
  32818. #. type: deftypevr
  32819. #: guix-git/doc/guix.texi:22192
  32820. msgid "Available @code{passdb-configuration} fields are:"
  32821. msgstr ""
  32822. #. type: deftypevr
  32823. #: guix-git/doc/guix.texi:22193
  32824. #, no-wrap
  32825. msgid "{@code{passdb-configuration} parameter} string driver"
  32826. msgstr ""
  32827. #. type: deftypevr
  32828. #: guix-git/doc/guix.texi:22198
  32829. 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\"}."
  32830. msgstr ""
  32831. #. type: deftypevr
  32832. #: guix-git/doc/guix.texi:22200
  32833. #, no-wrap
  32834. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  32835. msgstr ""
  32836. #. type: deftypevr
  32837. #: guix-git/doc/guix.texi:22203
  32838. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  32839. msgstr ""
  32840. #. type: deftypevr
  32841. #: guix-git/doc/guix.texi:22207
  32842. #, no-wrap
  32843. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  32844. msgstr ""
  32845. #. type: deftypevr
  32846. #: guix-git/doc/guix.texi:22210
  32847. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  32848. msgstr ""
  32849. #. type: deftypevr
  32850. #: guix-git/doc/guix.texi:22212
  32851. msgid "Available @code{userdb-configuration} fields are:"
  32852. msgstr ""
  32853. #. type: deftypevr
  32854. #: guix-git/doc/guix.texi:22213
  32855. #, no-wrap
  32856. msgid "{@code{userdb-configuration} parameter} string driver"
  32857. msgstr ""
  32858. #. type: deftypevr
  32859. #: guix-git/doc/guix.texi:22217
  32860. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  32861. msgstr ""
  32862. #. type: deftypevr
  32863. #: guix-git/doc/guix.texi:22219
  32864. #, no-wrap
  32865. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  32866. msgstr ""
  32867. #. type: deftypevr
  32868. #: guix-git/doc/guix.texi:22222
  32869. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  32870. msgstr ""
  32871. #. type: deftypevr
  32872. #: guix-git/doc/guix.texi:22224
  32873. #, no-wrap
  32874. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  32875. msgstr ""
  32876. #. type: deftypevr
  32877. #: guix-git/doc/guix.texi:22227
  32878. msgid "Override fields from passwd. Defaults to @samp{()}."
  32879. msgstr ""
  32880. #. type: deftypevr
  32881. #: guix-git/doc/guix.texi:22231
  32882. #, no-wrap
  32883. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  32884. msgstr ""
  32885. #. type: deftypevr
  32886. #: guix-git/doc/guix.texi:22234
  32887. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  32888. msgstr ""
  32889. #. type: deftypevr
  32890. #: guix-git/doc/guix.texi:22236
  32891. #, no-wrap
  32892. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  32893. msgstr ""
  32894. #. type: deftypevr
  32895. #: guix-git/doc/guix.texi:22239
  32896. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  32897. msgstr ""
  32898. #. type: deftypevr
  32899. #: guix-git/doc/guix.texi:22241
  32900. msgid "Available @code{namespace-configuration} fields are:"
  32901. msgstr ""
  32902. #. type: deftypevr
  32903. #: guix-git/doc/guix.texi:22242
  32904. #, no-wrap
  32905. msgid "{@code{namespace-configuration} parameter} string name"
  32906. msgstr ""
  32907. #. type: deftypevr
  32908. #: guix-git/doc/guix.texi:22244
  32909. msgid "Name for this namespace."
  32910. msgstr ""
  32911. #. type: deftypevr
  32912. #: guix-git/doc/guix.texi:22246
  32913. #, no-wrap
  32914. msgid "{@code{namespace-configuration} parameter} string type"
  32915. msgstr ""
  32916. #. type: deftypevr
  32917. #: guix-git/doc/guix.texi:22249
  32918. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  32919. msgstr ""
  32920. #. type: deftypevr
  32921. #: guix-git/doc/guix.texi:22251
  32922. #, no-wrap
  32923. msgid "{@code{namespace-configuration} parameter} string separator"
  32924. msgstr ""
  32925. #. type: deftypevr
  32926. #: guix-git/doc/guix.texi:22257
  32927. 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{\"\"}."
  32928. msgstr ""
  32929. #. type: deftypevr
  32930. #: guix-git/doc/guix.texi:22259
  32931. #, no-wrap
  32932. msgid "{@code{namespace-configuration} parameter} string prefix"
  32933. msgstr ""
  32934. #. type: deftypevr
  32935. #: guix-git/doc/guix.texi:22263
  32936. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  32937. msgstr ""
  32938. #. type: deftypevr
  32939. #: guix-git/doc/guix.texi:22265
  32940. #, no-wrap
  32941. msgid "{@code{namespace-configuration} parameter} string location"
  32942. msgstr ""
  32943. #. type: deftypevr
  32944. #: guix-git/doc/guix.texi:22269
  32945. 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{\"\"}."
  32946. msgstr ""
  32947. #. type: deftypevr
  32948. #: guix-git/doc/guix.texi:22271
  32949. #, no-wrap
  32950. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  32951. msgstr ""
  32952. #. type: deftypevr
  32953. #: guix-git/doc/guix.texi:22275
  32954. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  32955. msgstr ""
  32956. #. type: deftypevr
  32957. #: guix-git/doc/guix.texi:22277
  32958. #, no-wrap
  32959. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  32960. msgstr ""
  32961. #. type: deftypevr
  32962. #: guix-git/doc/guix.texi:22285
  32963. 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}."
  32964. msgstr ""
  32965. #. type: deftypevr
  32966. #: guix-git/doc/guix.texi:22287
  32967. #, no-wrap
  32968. msgid "{@code{namespace-configuration} parameter} boolean list?"
  32969. msgstr ""
  32970. #. type: deftypevr
  32971. #: guix-git/doc/guix.texi:22293
  32972. 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}."
  32973. msgstr ""
  32974. #. type: deftypevr
  32975. #: guix-git/doc/guix.texi:22295
  32976. #, no-wrap
  32977. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  32978. msgstr ""
  32979. #. type: deftypevr
  32980. #: guix-git/doc/guix.texi:22300
  32981. 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}."
  32982. msgstr ""
  32983. #. type: deftypevr
  32984. #: guix-git/doc/guix.texi:22302
  32985. #, no-wrap
  32986. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  32987. msgstr ""
  32988. #. type: deftypevr
  32989. #: guix-git/doc/guix.texi:22305
  32990. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  32991. msgstr ""
  32992. #. type: deftypevr
  32993. #: guix-git/doc/guix.texi:22307
  32994. msgid "Available @code{mailbox-configuration} fields are:"
  32995. msgstr ""
  32996. #. type: deftypevr
  32997. #: guix-git/doc/guix.texi:22308
  32998. #, no-wrap
  32999. msgid "{@code{mailbox-configuration} parameter} string name"
  33000. msgstr ""
  33001. #. type: deftypevr
  33002. #: guix-git/doc/guix.texi:22310
  33003. msgid "Name for this mailbox."
  33004. msgstr ""
  33005. #. type: deftypevr
  33006. #: guix-git/doc/guix.texi:22312
  33007. #, no-wrap
  33008. msgid "{@code{mailbox-configuration} parameter} string auto"
  33009. msgstr ""
  33010. #. type: deftypevr
  33011. #: guix-git/doc/guix.texi:22316
  33012. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  33013. msgstr ""
  33014. #. type: deftypevr
  33015. #: guix-git/doc/guix.texi:22318
  33016. #, no-wrap
  33017. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  33018. msgstr ""
  33019. #. type: deftypevr
  33020. #: guix-git/doc/guix.texi:22323
  33021. 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{()}."
  33022. msgstr ""
  33023. #. type: deftypevr
  33024. #: guix-git/doc/guix.texi:22329
  33025. #, no-wrap
  33026. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  33027. msgstr ""
  33028. #. type: deftypevr
  33029. #: guix-git/doc/guix.texi:22332
  33030. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  33031. msgstr ""
  33032. #. type: deftypevr
  33033. #: guix-git/doc/guix.texi:22334
  33034. #, no-wrap
  33035. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  33036. msgstr ""
  33037. #. type: deftypevr
  33038. #: guix-git/doc/guix.texi:22337
  33039. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  33040. msgstr ""
  33041. #. type: deftypevr
  33042. #: guix-git/doc/guix.texi:22339
  33043. #, no-wrap
  33044. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  33045. msgstr ""
  33046. #. type: deftypevr
  33047. #: guix-git/doc/guix.texi:22346
  33048. 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{()}."
  33049. msgstr ""
  33050. #. type: deftypevr
  33051. #: guix-git/doc/guix.texi:22348
  33052. #, no-wrap
  33053. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  33054. msgstr ""
  33055. #. type: deftypevr
  33056. #: guix-git/doc/guix.texi:22351
  33057. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  33058. msgstr ""
  33059. #. type: deftypevr
  33060. #: guix-git/doc/guix.texi:22353
  33061. #, no-wrap
  33062. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  33063. msgstr ""
  33064. #. type: deftypevr
  33065. #: guix-git/doc/guix.texi:22359
  33066. 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}."
  33067. msgstr ""
  33068. #. type: deftypevr
  33069. #: guix-git/doc/guix.texi:22361
  33070. #, no-wrap
  33071. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  33072. msgstr ""
  33073. #. type: deftypevr
  33074. #: guix-git/doc/guix.texi:22367
  33075. 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}."
  33076. msgstr ""
  33077. #. type: deftypevr
  33078. #: guix-git/doc/guix.texi:22369
  33079. #, no-wrap
  33080. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  33081. msgstr ""
  33082. #. type: deftypevr
  33083. #: guix-git/doc/guix.texi:22373
  33084. 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}."
  33085. msgstr ""
  33086. #. type: deftypevr
  33087. #: guix-git/doc/guix.texi:22375
  33088. #, no-wrap
  33089. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  33090. msgstr ""
  33091. #. type: deftypevr
  33092. #: guix-git/doc/guix.texi:22378
  33093. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  33094. msgstr ""
  33095. #. type: deftypevr
  33096. #: guix-git/doc/guix.texi:22380
  33097. #, no-wrap
  33098. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  33099. msgstr ""
  33100. #. type: deftypevr
  33101. #: guix-git/doc/guix.texi:22384
  33102. 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."
  33103. msgstr ""
  33104. #. type: deftypevr
  33105. #: guix-git/doc/guix.texi:22386
  33106. #, no-wrap
  33107. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  33108. msgstr ""
  33109. #. type: deftypevr
  33110. #: guix-git/doc/guix.texi:22393
  33111. 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}."
  33112. msgstr ""
  33113. #. type: deftypevr
  33114. #: guix-git/doc/guix.texi:22395
  33115. #, no-wrap
  33116. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  33117. msgstr ""
  33118. #. type: deftypevr
  33119. #: guix-git/doc/guix.texi:22400
  33120. 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}."
  33121. msgstr ""
  33122. #. type: deftypevr
  33123. #: guix-git/doc/guix.texi:22402
  33124. #, no-wrap
  33125. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  33126. msgstr ""
  33127. #. type: deftypevr
  33128. #: guix-git/doc/guix.texi:22410
  33129. 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\"}."
  33130. msgstr ""
  33131. #. type: deftypevr
  33132. #: guix-git/doc/guix.texi:22412
  33133. #, no-wrap
  33134. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  33135. msgstr ""
  33136. #. type: deftypevr
  33137. #: guix-git/doc/guix.texi:22416
  33138. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  33139. msgstr ""
  33140. #. type: deftypevr
  33141. #: guix-git/doc/guix.texi:22418
  33142. #, no-wrap
  33143. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  33144. msgstr ""
  33145. #. type: deftypevr
  33146. #: guix-git/doc/guix.texi:22424
  33147. 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{()}."
  33148. msgstr ""
  33149. #. type: deftypevr
  33150. #: guix-git/doc/guix.texi:22426
  33151. #, no-wrap
  33152. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  33153. msgstr ""
  33154. #. type: deftypevr
  33155. #: guix-git/doc/guix.texi:22431
  33156. 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{\"\"}."
  33157. msgstr ""
  33158. #. type: deftypevr
  33159. #: guix-git/doc/guix.texi:22433
  33160. #, no-wrap
  33161. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  33162. msgstr ""
  33163. #. type: deftypevr
  33164. #: guix-git/doc/guix.texi:22440
  33165. 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.-_@@\"}."
  33166. msgstr ""
  33167. #. type: deftypevr
  33168. #: guix-git/doc/guix.texi:22442
  33169. #, no-wrap
  33170. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  33171. msgstr ""
  33172. #. type: deftypevr
  33173. #: guix-git/doc/guix.texi:22448
  33174. 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{\"\"}."
  33175. msgstr ""
  33176. #. type: deftypevr
  33177. #: guix-git/doc/guix.texi:22450
  33178. #, no-wrap
  33179. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  33180. msgstr ""
  33181. #. type: deftypevr
  33182. #: guix-git/doc/guix.texi:22457
  33183. 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\"}."
  33184. msgstr ""
  33185. #. type: deftypevr
  33186. #: guix-git/doc/guix.texi:22459
  33187. #, no-wrap
  33188. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  33189. msgstr ""
  33190. #. type: deftypevr
  33191. #: guix-git/doc/guix.texi:22467
  33192. 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{\"\"}."
  33193. msgstr ""
  33194. #. type: deftypevr
  33195. #: guix-git/doc/guix.texi:22469
  33196. #, no-wrap
  33197. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  33198. msgstr ""
  33199. #. type: deftypevr
  33200. #: guix-git/doc/guix.texi:22473
  33201. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  33202. msgstr ""
  33203. #. type: deftypevr
  33204. #: guix-git/doc/guix.texi:22475
  33205. #, no-wrap
  33206. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  33207. msgstr ""
  33208. #. type: deftypevr
  33209. #: guix-git/doc/guix.texi:22480
  33210. 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}."
  33211. msgstr ""
  33212. #. type: deftypevr
  33213. #: guix-git/doc/guix.texi:22482
  33214. #, no-wrap
  33215. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  33216. msgstr ""
  33217. #. type: deftypevr
  33218. #: guix-git/doc/guix.texi:22487
  33219. 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{\"\"}."
  33220. msgstr ""
  33221. #. type: deftypevr
  33222. #: guix-git/doc/guix.texi:22489
  33223. #, no-wrap
  33224. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  33225. msgstr ""
  33226. #. type: deftypevr
  33227. #: guix-git/doc/guix.texi:22495
  33228. 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{\"\"}."
  33229. msgstr ""
  33230. #. type: deftypevr
  33231. #: guix-git/doc/guix.texi:22497
  33232. #, no-wrap
  33233. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  33234. msgstr ""
  33235. #. type: deftypevr
  33236. #: guix-git/doc/guix.texi:22502
  33237. 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}."
  33238. msgstr ""
  33239. #. type: deftypevr
  33240. #: guix-git/doc/guix.texi:22504
  33241. #, no-wrap
  33242. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  33243. msgstr ""
  33244. #. type: deftypevr
  33245. #: guix-git/doc/guix.texi:22507
  33246. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  33247. msgstr ""
  33248. #. type: deftypevr
  33249. #: guix-git/doc/guix.texi:22509
  33250. #, no-wrap
  33251. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  33252. msgstr ""
  33253. #. type: deftypevr
  33254. #: guix-git/doc/guix.texi:22512
  33255. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  33256. msgstr ""
  33257. #. type: deftypevr
  33258. #: guix-git/doc/guix.texi:22514
  33259. #, no-wrap
  33260. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  33261. msgstr ""
  33262. #. type: deftypevr
  33263. #: guix-git/doc/guix.texi:22518
  33264. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  33265. msgstr ""
  33266. #. type: deftypevr
  33267. #: guix-git/doc/guix.texi:22520
  33268. #, no-wrap
  33269. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  33270. msgstr ""
  33271. #. type: deftypevr
  33272. #: guix-git/doc/guix.texi:22525
  33273. 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}."
  33274. msgstr ""
  33275. #. type: deftypevr
  33276. #: guix-git/doc/guix.texi:22527
  33277. #, no-wrap
  33278. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  33279. msgstr ""
  33280. #. type: deftypevr
  33281. #: guix-git/doc/guix.texi:22533
  33282. 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."
  33283. msgstr ""
  33284. #. type: deftypevr
  33285. #: guix-git/doc/guix.texi:22535
  33286. #, no-wrap
  33287. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  33288. msgstr ""
  33289. #. type: deftypevr
  33290. #: guix-git/doc/guix.texi:22540
  33291. 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{()}."
  33292. msgstr ""
  33293. #. type: deftypevr
  33294. #: guix-git/doc/guix.texi:22542
  33295. #, no-wrap
  33296. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  33297. msgstr ""
  33298. #. type: deftypevr
  33299. #: guix-git/doc/guix.texi:22546
  33300. 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{()}."
  33301. msgstr ""
  33302. #. type: deftypevr
  33303. #: guix-git/doc/guix.texi:22548
  33304. #, no-wrap
  33305. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  33306. msgstr ""
  33307. #. type: deftypevr
  33308. #: guix-git/doc/guix.texi:22552
  33309. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  33310. msgstr ""
  33311. #. type: deftypevr
  33312. #: guix-git/doc/guix.texi:22554
  33313. #, no-wrap
  33314. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  33315. msgstr ""
  33316. #. type: deftypevr
  33317. #: guix-git/doc/guix.texi:22559
  33318. 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\"}."
  33319. msgstr ""
  33320. #. type: deftypevr
  33321. #: guix-git/doc/guix.texi:22561
  33322. #, no-wrap
  33323. msgid "{@code{dovecot-configuration} parameter} string log-path"
  33324. msgstr ""
  33325. #. type: deftypevr
  33326. #: guix-git/doc/guix.texi:22565
  33327. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  33328. msgstr ""
  33329. #. type: deftypevr
  33330. #: guix-git/doc/guix.texi:22567
  33331. #, no-wrap
  33332. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  33333. msgstr ""
  33334. #. type: deftypevr
  33335. #: guix-git/doc/guix.texi:22571
  33336. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  33337. msgstr ""
  33338. #. type: deftypevr
  33339. #: guix-git/doc/guix.texi:22573
  33340. #, no-wrap
  33341. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  33342. msgstr ""
  33343. #. type: deftypevr
  33344. #: guix-git/doc/guix.texi:22577
  33345. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  33346. msgstr ""
  33347. #. type: deftypevr
  33348. #: guix-git/doc/guix.texi:22579
  33349. #, no-wrap
  33350. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  33351. msgstr ""
  33352. #. type: deftypevr
  33353. #: guix-git/doc/guix.texi:22584
  33354. 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\"}."
  33355. msgstr ""
  33356. #. type: deftypevr
  33357. #: guix-git/doc/guix.texi:22586
  33358. #, no-wrap
  33359. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  33360. msgstr ""
  33361. #. type: deftypevr
  33362. #: guix-git/doc/guix.texi:22590
  33363. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  33364. msgstr ""
  33365. #. type: deftypevr
  33366. #: guix-git/doc/guix.texi:22592
  33367. #, no-wrap
  33368. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  33369. msgstr ""
  33370. #. type: deftypevr
  33371. #: guix-git/doc/guix.texi:22599
  33372. 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\"}."
  33373. msgstr ""
  33374. #. type: deftypevr
  33375. #: guix-git/doc/guix.texi:22601
  33376. #, no-wrap
  33377. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  33378. msgstr ""
  33379. #. type: deftypevr
  33380. #: guix-git/doc/guix.texi:22605
  33381. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  33382. msgstr ""
  33383. #. type: deftypevr
  33384. #: guix-git/doc/guix.texi:22607
  33385. #, no-wrap
  33386. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  33387. msgstr ""
  33388. #. type: deftypevr
  33389. #: guix-git/doc/guix.texi:22612
  33390. 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}."
  33391. msgstr ""
  33392. #. type: deftypevr
  33393. #: guix-git/doc/guix.texi:22614
  33394. #, no-wrap
  33395. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  33396. msgstr ""
  33397. #. type: deftypevr
  33398. #: guix-git/doc/guix.texi:22618
  33399. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  33400. msgstr ""
  33401. #. type: deftypevr
  33402. #: guix-git/doc/guix.texi:22620
  33403. #, no-wrap
  33404. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  33405. msgstr ""
  33406. #. type: deftypevr
  33407. #: guix-git/doc/guix.texi:22623
  33408. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  33409. msgstr ""
  33410. #. type: deftypevr
  33411. #: guix-git/doc/guix.texi:22625
  33412. #, no-wrap
  33413. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  33414. msgstr ""
  33415. #. type: deftypevr
  33416. #: guix-git/doc/guix.texi:22629
  33417. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  33418. msgstr ""
  33419. #. type: deftypevr
  33420. #: guix-git/doc/guix.texi:22631
  33421. #, no-wrap
  33422. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  33423. msgstr ""
  33424. #. type: deftypevr
  33425. #: guix-git/doc/guix.texi:22635
  33426. 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."
  33427. msgstr ""
  33428. #. type: deftypevr
  33429. #: guix-git/doc/guix.texi:22637
  33430. #, no-wrap
  33431. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  33432. msgstr ""
  33433. #. type: deftypevr
  33434. #: guix-git/doc/guix.texi:22641
  33435. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  33436. msgstr ""
  33437. #. type: deftypevr
  33438. #: guix-git/doc/guix.texi:22643
  33439. #, no-wrap
  33440. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  33441. msgstr ""
  33442. #. type: deftypevr
  33443. #: guix-git/doc/guix.texi:22647
  33444. 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@}>: \\\"\"}."
  33445. msgstr ""
  33446. #. type: deftypevr
  33447. #: guix-git/doc/guix.texi:22649
  33448. #, no-wrap
  33449. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  33450. msgstr ""
  33451. #. type: deftypevr
  33452. #: guix-git/doc/guix.texi:22651
  33453. msgid "Format to use for logging mail deliveries. You can use variables:"
  33454. msgstr ""
  33455. #. type: item
  33456. #: guix-git/doc/guix.texi:22652
  33457. #, no-wrap
  33458. msgid "%$"
  33459. msgstr ""
  33460. #. type: table
  33461. #: guix-git/doc/guix.texi:22654
  33462. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  33463. msgstr ""
  33464. #. type: item
  33465. #: guix-git/doc/guix.texi:22654
  33466. #, no-wrap
  33467. msgid "%m"
  33468. msgstr ""
  33469. #. type: table
  33470. #: guix-git/doc/guix.texi:22656
  33471. msgid "Message-ID"
  33472. msgstr ""
  33473. #. type: item
  33474. #: guix-git/doc/guix.texi:22656 guix-git/doc/guix.texi:23199
  33475. #, no-wrap
  33476. msgid "%s"
  33477. msgstr ""
  33478. #. type: table
  33479. #: guix-git/doc/guix.texi:22658
  33480. msgid "Subject"
  33481. msgstr ""
  33482. #. type: item
  33483. #: guix-git/doc/guix.texi:22658
  33484. #, no-wrap
  33485. msgid "%f"
  33486. msgstr ""
  33487. #. type: table
  33488. #: guix-git/doc/guix.texi:22660
  33489. msgid "From address"
  33490. msgstr ""
  33491. #. type: table
  33492. #: guix-git/doc/guix.texi:22662
  33493. msgid "Physical size"
  33494. msgstr ""
  33495. #. type: item
  33496. #: guix-git/doc/guix.texi:22662
  33497. #, no-wrap
  33498. msgid "%w"
  33499. msgstr ""
  33500. #. type: table
  33501. #: guix-git/doc/guix.texi:22664
  33502. msgid "Virtual size."
  33503. msgstr ""
  33504. #. type: deftypevr
  33505. #: guix-git/doc/guix.texi:22666
  33506. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  33507. msgstr ""
  33508. #. type: deftypevr
  33509. #: guix-git/doc/guix.texi:22668
  33510. #, no-wrap
  33511. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  33512. msgstr ""
  33513. #. type: deftypevr
  33514. #: guix-git/doc/guix.texi:22673
  33515. 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."
  33516. msgstr ""
  33517. #. type: deftypevr
  33518. #: guix-git/doc/guix.texi:22679
  33519. 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."
  33520. msgstr ""
  33521. #. type: deftypevr
  33522. #: guix-git/doc/guix.texi:22681
  33523. msgid "There are a few special variables you can use, e.g.:"
  33524. msgstr ""
  33525. #. type: table
  33526. #: guix-git/doc/guix.texi:22685
  33527. msgid "username"
  33528. msgstr ""
  33529. #. type: item
  33530. #: guix-git/doc/guix.texi:22685 guix-git/doc/guix.texi:23195
  33531. #, no-wrap
  33532. msgid "%n"
  33533. msgstr ""
  33534. #. type: table
  33535. #: guix-git/doc/guix.texi:22687
  33536. msgid "user part in user@@domain, same as %u if there's no domain"
  33537. msgstr ""
  33538. #. type: item
  33539. #: guix-git/doc/guix.texi:22687
  33540. #, no-wrap
  33541. msgid "%d"
  33542. msgstr ""
  33543. #. type: table
  33544. #: guix-git/doc/guix.texi:22689
  33545. msgid "domain part in user@@domain, empty if there's no domain"
  33546. msgstr ""
  33547. #. type: item
  33548. #: guix-git/doc/guix.texi:22689
  33549. #, no-wrap
  33550. msgid "%h"
  33551. msgstr ""
  33552. #. type: table
  33553. #: guix-git/doc/guix.texi:22691
  33554. msgid "home director"
  33555. msgstr ""
  33556. #. type: deftypevr
  33557. #: guix-git/doc/guix.texi:22694
  33558. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  33559. msgstr ""
  33560. #. type: item
  33561. #: guix-git/doc/guix.texi:22695
  33562. #, no-wrap
  33563. msgid "maildir:~/Maildir"
  33564. msgstr ""
  33565. #. type: item
  33566. #: guix-git/doc/guix.texi:22696
  33567. #, no-wrap
  33568. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  33569. msgstr ""
  33570. #. type: item
  33571. #: guix-git/doc/guix.texi:22697
  33572. #, no-wrap
  33573. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  33574. msgstr ""
  33575. #. type: deftypevr
  33576. #: guix-git/doc/guix.texi:22702
  33577. #, no-wrap
  33578. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  33579. msgstr ""
  33580. #. type: deftypevr
  33581. #: guix-git/doc/guix.texi:22707
  33582. 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{\"\"}."
  33583. msgstr ""
  33584. #. type: deftypevr
  33585. #: guix-git/doc/guix.texi:22709
  33586. #, no-wrap
  33587. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  33588. msgstr ""
  33589. #. type: deftypevr
  33590. #: guix-git/doc/guix.texi:22714
  33591. #, no-wrap
  33592. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  33593. msgstr ""
  33594. #. type: deftypevr
  33595. #: guix-git/doc/guix.texi:22720
  33596. 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{\"\"}."
  33597. msgstr ""
  33598. #. type: deftypevr
  33599. #: guix-git/doc/guix.texi:22722
  33600. #, no-wrap
  33601. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  33602. msgstr ""
  33603. #. type: deftypevr
  33604. #: guix-git/doc/guix.texi:22730
  33605. 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{\"\"}."
  33606. msgstr ""
  33607. #. type: deftypevr
  33608. #: guix-git/doc/guix.texi:22732
  33609. #, no-wrap
  33610. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  33611. msgstr ""
  33612. #. type: deftypevr
  33613. #: guix-git/doc/guix.texi:22735
  33614. 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}."
  33615. msgstr ""
  33616. #. type: deftypevr
  33617. #: guix-git/doc/guix.texi:22738
  33618. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  33619. msgstr ""
  33620. #. type: deftypevr
  33621. #: guix-git/doc/guix.texi:22743
  33622. #, no-wrap
  33623. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  33624. msgstr ""
  33625. #. type: deftypevr
  33626. #: guix-git/doc/guix.texi:22749
  33627. 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}."
  33628. msgstr ""
  33629. #. type: deftypevr
  33630. #: guix-git/doc/guix.texi:22751
  33631. #, no-wrap
  33632. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  33633. msgstr ""
  33634. #. type: deftypevr
  33635. #: guix-git/doc/guix.texi:22755
  33636. 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}."
  33637. msgstr ""
  33638. #. type: deftypevr
  33639. #: guix-git/doc/guix.texi:22757
  33640. #, no-wrap
  33641. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  33642. msgstr ""
  33643. #. type: deftypevr
  33644. #: guix-git/doc/guix.texi:22762
  33645. 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}."
  33646. msgstr ""
  33647. #. type: deftypevr
  33648. #: guix-git/doc/guix.texi:22764
  33649. #, no-wrap
  33650. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  33651. msgstr ""
  33652. #. type: deftypevr
  33653. #: guix-git/doc/guix.texi:22766
  33654. msgid "When to use fsync() or fdatasync() calls:"
  33655. msgstr ""
  33656. #. type: item
  33657. #: guix-git/doc/guix.texi:22767
  33658. #, no-wrap
  33659. msgid "optimized"
  33660. msgstr ""
  33661. #. type: table
  33662. #: guix-git/doc/guix.texi:22769
  33663. msgid "Whenever necessary to avoid losing important data"
  33664. msgstr ""
  33665. #. type: table
  33666. #: guix-git/doc/guix.texi:22771
  33667. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  33668. msgstr ""
  33669. #. type: table
  33670. #: guix-git/doc/guix.texi:22773
  33671. msgid "Never use it (best performance, but crashes can lose data)."
  33672. msgstr ""
  33673. #. type: deftypevr
  33674. #: guix-git/doc/guix.texi:22775
  33675. msgid "Defaults to @samp{\"optimized\"}."
  33676. msgstr ""
  33677. #. type: deftypevr
  33678. #: guix-git/doc/guix.texi:22777
  33679. #, no-wrap
  33680. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  33681. msgstr ""
  33682. #. type: deftypevr
  33683. #: guix-git/doc/guix.texi:22782
  33684. 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}."
  33685. msgstr ""
  33686. #. type: deftypevr
  33687. #: guix-git/doc/guix.texi:22784
  33688. #, no-wrap
  33689. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  33690. msgstr ""
  33691. #. type: deftypevr
  33692. #: guix-git/doc/guix.texi:22788
  33693. 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}."
  33694. msgstr ""
  33695. #. type: deftypevr
  33696. #: guix-git/doc/guix.texi:22790
  33697. #, no-wrap
  33698. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  33699. msgstr ""
  33700. #. type: deftypevr
  33701. #: guix-git/doc/guix.texi:22796
  33702. 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\"}."
  33703. msgstr ""
  33704. #. type: deftypevr
  33705. #: guix-git/doc/guix.texi:22798
  33706. #, no-wrap
  33707. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  33708. msgstr ""
  33709. #. type: deftypevr
  33710. #: guix-git/doc/guix.texi:22802
  33711. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  33712. msgstr ""
  33713. #. type: deftypevr
  33714. #: guix-git/doc/guix.texi:22804
  33715. #, no-wrap
  33716. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  33717. msgstr ""
  33718. #. type: deftypevr
  33719. #: guix-git/doc/guix.texi:22810
  33720. 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}."
  33721. msgstr ""
  33722. #. type: deftypevr
  33723. #: guix-git/doc/guix.texi:22812
  33724. #, no-wrap
  33725. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  33726. msgstr ""
  33727. #. type: deftypevr
  33728. #: guix-git/doc/guix.texi:22817
  33729. #, no-wrap
  33730. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  33731. msgstr ""
  33732. #. type: deftypevr
  33733. #: guix-git/doc/guix.texi:22822
  33734. 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}."
  33735. msgstr ""
  33736. #. type: deftypevr
  33737. #: guix-git/doc/guix.texi:22824
  33738. #, no-wrap
  33739. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  33740. msgstr ""
  33741. #. type: deftypevr
  33742. #: guix-git/doc/guix.texi:22829
  33743. #, no-wrap
  33744. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  33745. msgstr ""
  33746. #. type: deftypevr
  33747. #: guix-git/doc/guix.texi:22833
  33748. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  33749. msgstr ""
  33750. #. type: deftypevr
  33751. #: guix-git/doc/guix.texi:22835
  33752. #, no-wrap
  33753. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  33754. msgstr ""
  33755. #. type: deftypevr
  33756. #: guix-git/doc/guix.texi:22845
  33757. 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{()}."
  33758. msgstr ""
  33759. #. type: deftypevr
  33760. #: guix-git/doc/guix.texi:22847
  33761. #, no-wrap
  33762. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  33763. msgstr ""
  33764. #. type: deftypevr
  33765. #: guix-git/doc/guix.texi:22856
  33766. 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{\"\"}."
  33767. msgstr ""
  33768. #. type: deftypevr
  33769. #: guix-git/doc/guix.texi:22858
  33770. #, no-wrap
  33771. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  33772. msgstr ""
  33773. #. type: deftypevr
  33774. #: guix-git/doc/guix.texi:22862
  33775. 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\"}."
  33776. msgstr ""
  33777. #. type: deftypevr
  33778. #: guix-git/doc/guix.texi:22864
  33779. #, no-wrap
  33780. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  33781. msgstr ""
  33782. #. type: deftypevr
  33783. #: guix-git/doc/guix.texi:22867
  33784. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  33785. msgstr ""
  33786. #. type: deftypevr
  33787. #: guix-git/doc/guix.texi:22869
  33788. #, no-wrap
  33789. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  33790. msgstr ""
  33791. #. type: deftypevr
  33792. #: guix-git/doc/guix.texi:22873
  33793. 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{()}."
  33794. msgstr ""
  33795. #. type: deftypevr
  33796. #: guix-git/doc/guix.texi:22875
  33797. #, no-wrap
  33798. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  33799. msgstr ""
  33800. #. type: deftypevr
  33801. #: guix-git/doc/guix.texi:22880
  33802. 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}."
  33803. msgstr ""
  33804. #. type: deftypevr
  33805. #: guix-git/doc/guix.texi:22882
  33806. #, no-wrap
  33807. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  33808. msgstr ""
  33809. #. type: deftypevr
  33810. #: guix-git/doc/guix.texi:22889
  33811. 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\"}."
  33812. msgstr ""
  33813. #. type: deftypevr
  33814. #: guix-git/doc/guix.texi:22891
  33815. #, no-wrap
  33816. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  33817. msgstr ""
  33818. #. type: deftypevr
  33819. #: guix-git/doc/guix.texi:22898
  33820. 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}."
  33821. msgstr ""
  33822. #. type: deftypevr
  33823. #: guix-git/doc/guix.texi:22900
  33824. #, no-wrap
  33825. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  33826. msgstr ""
  33827. #. type: deftypevr
  33828. #: guix-git/doc/guix.texi:22908
  33829. 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}."
  33830. msgstr ""
  33831. #. type: deftypevr
  33832. #: guix-git/doc/guix.texi:22910
  33833. #, no-wrap
  33834. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  33835. msgstr ""
  33836. #. type: deftypevr
  33837. #: guix-git/doc/guix.texi:22915
  33838. 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}."
  33839. msgstr ""
  33840. #. type: deftypevr
  33841. #: guix-git/doc/guix.texi:22917
  33842. #, no-wrap
  33843. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  33844. msgstr ""
  33845. #. type: deftypevr
  33846. #: guix-git/doc/guix.texi:22922
  33847. 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}."
  33848. msgstr ""
  33849. #. type: deftypevr
  33850. #: guix-git/doc/guix.texi:22924
  33851. #, no-wrap
  33852. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  33853. msgstr ""
  33854. #. type: deftypevr
  33855. #: guix-git/doc/guix.texi:22927
  33856. msgid "Which locking methods to use for locking mbox. There are four available:"
  33857. msgstr ""
  33858. #. type: item
  33859. #: guix-git/doc/guix.texi:22929
  33860. #, no-wrap
  33861. msgid "dotlock"
  33862. msgstr ""
  33863. #. type: table
  33864. #: guix-git/doc/guix.texi:22933
  33865. 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."
  33866. msgstr ""
  33867. #. type: item
  33868. #: guix-git/doc/guix.texi:22933
  33869. #, no-wrap
  33870. msgid "dotlock-try"
  33871. msgstr ""
  33872. #. type: table
  33873. #: guix-git/doc/guix.texi:22936
  33874. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  33875. msgstr ""
  33876. #. type: item
  33877. #: guix-git/doc/guix.texi:22936
  33878. #, no-wrap
  33879. msgid "fcntl"
  33880. msgstr ""
  33881. #. type: table
  33882. #: guix-git/doc/guix.texi:22938
  33883. msgid "Use this if possible. Works with NFS too if lockd is used."
  33884. msgstr ""
  33885. #. type: item
  33886. #: guix-git/doc/guix.texi:22938
  33887. #, no-wrap
  33888. msgid "flock"
  33889. msgstr ""
  33890. #. type: table
  33891. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22942
  33892. msgid "May not exist in all systems. Doesn't work with NFS."
  33893. msgstr ""
  33894. #. type: item
  33895. #: guix-git/doc/guix.texi:22940
  33896. #, no-wrap
  33897. msgid "lockf"
  33898. msgstr ""
  33899. #. type: deftypevr
  33900. #: guix-git/doc/guix.texi:22948
  33901. 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."
  33902. msgstr ""
  33903. #. type: deftypevr
  33904. #: guix-git/doc/guix.texi:22950
  33905. #, no-wrap
  33906. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  33907. msgstr ""
  33908. #. type: deftypevr
  33909. #: guix-git/doc/guix.texi:22954
  33910. #, no-wrap
  33911. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  33912. msgstr ""
  33913. #. type: deftypevr
  33914. #: guix-git/doc/guix.texi:22957
  33915. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  33916. msgstr ""
  33917. #. type: deftypevr
  33918. #: guix-git/doc/guix.texi:22959
  33919. #, no-wrap
  33920. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  33921. msgstr ""
  33922. #. type: deftypevr
  33923. #: guix-git/doc/guix.texi:22963
  33924. 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\"}."
  33925. msgstr ""
  33926. #. type: deftypevr
  33927. #: guix-git/doc/guix.texi:22965
  33928. #, no-wrap
  33929. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  33930. msgstr ""
  33931. #. type: deftypevr
  33932. #: guix-git/doc/guix.texi:22976
  33933. 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}."
  33934. msgstr ""
  33935. #. type: deftypevr
  33936. #: guix-git/doc/guix.texi:22978
  33937. #, no-wrap
  33938. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  33939. msgstr ""
  33940. #. type: deftypevr
  33941. #: guix-git/doc/guix.texi:22983
  33942. 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}."
  33943. msgstr ""
  33944. #. type: deftypevr
  33945. #: guix-git/doc/guix.texi:22985
  33946. #, no-wrap
  33947. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  33948. msgstr ""
  33949. #. type: deftypevr
  33950. #: guix-git/doc/guix.texi:22991
  33951. 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}."
  33952. msgstr ""
  33953. #. type: deftypevr
  33954. #: guix-git/doc/guix.texi:22993
  33955. #, no-wrap
  33956. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  33957. msgstr ""
  33958. #. type: deftypevr
  33959. #: guix-git/doc/guix.texi:22998
  33960. 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}."
  33961. msgstr ""
  33962. #. type: deftypevr
  33963. #: guix-git/doc/guix.texi:23000
  33964. #, no-wrap
  33965. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  33966. msgstr ""
  33967. #. type: deftypevr
  33968. #: guix-git/doc/guix.texi:23003
  33969. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  33970. msgstr ""
  33971. #. type: deftypevr
  33972. #: guix-git/doc/guix.texi:23005
  33973. #, no-wrap
  33974. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  33975. msgstr ""
  33976. #. type: deftypevr
  33977. #: guix-git/doc/guix.texi:23010
  33978. 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\"}."
  33979. msgstr ""
  33980. #. type: deftypevr
  33981. #: guix-git/doc/guix.texi:23012
  33982. #, no-wrap
  33983. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  33984. msgstr ""
  33985. #. type: deftypevr
  33986. #: guix-git/doc/guix.texi:23017
  33987. 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}."
  33988. msgstr ""
  33989. #. type: deftypevr
  33990. #: guix-git/doc/guix.texi:23019
  33991. #, no-wrap
  33992. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  33993. msgstr ""
  33994. #. type: deftypevr
  33995. #: guix-git/doc/guix.texi:23023
  33996. 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."
  33997. msgstr ""
  33998. #. type: deftypevr
  33999. #: guix-git/doc/guix.texi:23025
  34000. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  34001. msgstr ""
  34002. #. type: deftypevr
  34003. #: guix-git/doc/guix.texi:23028
  34004. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  34005. msgstr ""
  34006. #. type: deftypevr
  34007. #: guix-git/doc/guix.texi:23030
  34008. #, no-wrap
  34009. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  34010. msgstr ""
  34011. #. type: deftypevr
  34012. #: guix-git/doc/guix.texi:23035
  34013. 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}."
  34014. msgstr ""
  34015. #. type: deftypevr
  34016. #: guix-git/doc/guix.texi:23037
  34017. #, no-wrap
  34018. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  34019. msgstr ""
  34020. #. type: deftypevr
  34021. #: guix-git/doc/guix.texi:23039
  34022. msgid "File system backend to use for saving attachments:"
  34023. msgstr ""
  34024. #. type: item
  34025. #: guix-git/doc/guix.texi:23040
  34026. #, no-wrap
  34027. msgid "posix"
  34028. msgstr ""
  34029. #. type: table
  34030. #: guix-git/doc/guix.texi:23042
  34031. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  34032. msgstr ""
  34033. #. type: item
  34034. #: guix-git/doc/guix.texi:23042
  34035. #, no-wrap
  34036. msgid "sis posix"
  34037. msgstr ""
  34038. #. type: table
  34039. #: guix-git/doc/guix.texi:23044
  34040. msgid "SiS with immediate byte-by-byte comparison during saving"
  34041. msgstr ""
  34042. #. type: item
  34043. #: guix-git/doc/guix.texi:23044
  34044. #, no-wrap
  34045. msgid "sis-queue posix"
  34046. msgstr ""
  34047. #. type: table
  34048. #: guix-git/doc/guix.texi:23046
  34049. msgid "SiS with delayed comparison and deduplication."
  34050. msgstr ""
  34051. #. type: deftypevr
  34052. #: guix-git/doc/guix.texi:23048
  34053. msgid "Defaults to @samp{\"sis posix\"}."
  34054. msgstr ""
  34055. #. type: deftypevr
  34056. #: guix-git/doc/guix.texi:23050
  34057. #, no-wrap
  34058. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  34059. msgstr ""
  34060. #. type: deftypevr
  34061. #: guix-git/doc/guix.texi:23056
  34062. 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@}\"}."
  34063. msgstr ""
  34064. #. type: deftypevr
  34065. #: guix-git/doc/guix.texi:23058
  34066. #, no-wrap
  34067. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  34068. msgstr ""
  34069. #. type: deftypevr
  34070. #: guix-git/doc/guix.texi:23063
  34071. #, no-wrap
  34072. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  34073. msgstr ""
  34074. #. type: deftypevr
  34075. #: guix-git/doc/guix.texi:23066 guix-git/doc/guix.texi:30632
  34076. msgid "Defaults to @samp{1000}."
  34077. msgstr ""
  34078. #. type: deftypevr
  34079. #: guix-git/doc/guix.texi:23068
  34080. #, no-wrap
  34081. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  34082. msgstr ""
  34083. #. type: deftypevr
  34084. #: guix-git/doc/guix.texi:23073
  34085. 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}."
  34086. msgstr ""
  34087. #. type: deftypevr
  34088. #: guix-git/doc/guix.texi:23075
  34089. #, no-wrap
  34090. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  34091. msgstr ""
  34092. #. type: deftypevr
  34093. #: guix-git/doc/guix.texi:23080
  34094. 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\"}."
  34095. msgstr ""
  34096. #. type: deftypevr
  34097. #: guix-git/doc/guix.texi:23082
  34098. #, no-wrap
  34099. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  34100. msgstr ""
  34101. #. type: deftypevr
  34102. #: guix-git/doc/guix.texi:23087
  34103. 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\"}."
  34104. msgstr ""
  34105. #. type: deftypevr
  34106. #: guix-git/doc/guix.texi:23089
  34107. #, no-wrap
  34108. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  34109. msgstr ""
  34110. #. type: deftypevr
  34111. #: guix-git/doc/guix.texi:23092
  34112. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  34113. msgstr ""
  34114. #. type: deftypevr
  34115. #: guix-git/doc/guix.texi:23094
  34116. #, no-wrap
  34117. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  34118. msgstr ""
  34119. #. type: deftypevr
  34120. #: guix-git/doc/guix.texi:23097
  34121. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  34122. msgstr ""
  34123. #. type: deftypevr
  34124. #: guix-git/doc/guix.texi:23099
  34125. #, no-wrap
  34126. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  34127. msgstr ""
  34128. #. type: deftypevr
  34129. #: guix-git/doc/guix.texi:23104
  34130. 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\"}."
  34131. msgstr ""
  34132. #. type: deftypevr
  34133. #: guix-git/doc/guix.texi:23106
  34134. #, no-wrap
  34135. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  34136. msgstr ""
  34137. #. type: deftypevr
  34138. #: guix-git/doc/guix.texi:23112
  34139. 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{\"\"}."
  34140. msgstr ""
  34141. #. type: deftypevr
  34142. #: guix-git/doc/guix.texi:23114
  34143. #, no-wrap
  34144. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  34145. msgstr ""
  34146. #. type: deftypevr
  34147. #: guix-git/doc/guix.texi:23120
  34148. 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{\"\"}."
  34149. msgstr ""
  34150. #. type: deftypevr
  34151. #: guix-git/doc/guix.texi:23122
  34152. #, no-wrap
  34153. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  34154. msgstr ""
  34155. #. type: deftypevr
  34156. #: guix-git/doc/guix.texi:23125
  34157. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  34158. msgstr ""
  34159. #. type: deftypevr
  34160. #: guix-git/doc/guix.texi:23127
  34161. #, no-wrap
  34162. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  34163. msgstr ""
  34164. #. type: deftypevr
  34165. #: guix-git/doc/guix.texi:23131
  34166. 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}."
  34167. msgstr ""
  34168. #. type: deftypevr
  34169. #: guix-git/doc/guix.texi:23133
  34170. #, no-wrap
  34171. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  34172. msgstr ""
  34173. #. type: deftypevr
  34174. #: guix-git/doc/guix.texi:23138
  34175. 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\"}."
  34176. msgstr ""
  34177. #. type: deftypevr
  34178. #: guix-git/doc/guix.texi:23140
  34179. #, no-wrap
  34180. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  34181. msgstr ""
  34182. #. type: deftypevr
  34183. #: guix-git/doc/guix.texi:23143
  34184. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  34185. msgstr ""
  34186. #. type: deftypevr
  34187. #: guix-git/doc/guix.texi:23145
  34188. #, no-wrap
  34189. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  34190. msgstr ""
  34191. #. type: deftypevr
  34192. #: guix-git/doc/guix.texi:23148
  34193. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  34194. msgstr ""
  34195. #. type: deftypevr
  34196. #: guix-git/doc/guix.texi:23150
  34197. #, no-wrap
  34198. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  34199. msgstr ""
  34200. #. type: deftypevr
  34201. #: guix-git/doc/guix.texi:23153
  34202. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  34203. msgstr ""
  34204. #. type: deftypevr
  34205. #: guix-git/doc/guix.texi:23155
  34206. #, no-wrap
  34207. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  34208. msgstr ""
  34209. #. type: deftypevr
  34210. #: guix-git/doc/guix.texi:23159
  34211. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  34212. msgstr ""
  34213. #. type: deftypevr
  34214. #: guix-git/doc/guix.texi:23161
  34215. #, no-wrap
  34216. msgid "{@code{dovecot-configuration} parameter} string hostname"
  34217. msgstr ""
  34218. #. type: deftypevr
  34219. #: guix-git/doc/guix.texi:23165
  34220. 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{\"\"}."
  34221. msgstr ""
  34222. #. type: deftypevr
  34223. #: guix-git/doc/guix.texi:23167
  34224. #, no-wrap
  34225. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  34226. msgstr ""
  34227. #. type: deftypevr
  34228. #: guix-git/doc/guix.texi:23171
  34229. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  34230. msgstr ""
  34231. #. type: deftypevr
  34232. #: guix-git/doc/guix.texi:23173
  34233. #, no-wrap
  34234. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  34235. msgstr ""
  34236. #. type: deftypevr
  34237. #: guix-git/doc/guix.texi:23176
  34238. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  34239. msgstr ""
  34240. #. type: deftypevr
  34241. #: guix-git/doc/guix.texi:23178
  34242. #, no-wrap
  34243. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  34244. msgstr ""
  34245. #. type: deftypevr
  34246. #: guix-git/doc/guix.texi:23182
  34247. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  34248. msgstr ""
  34249. #. type: deftypevr
  34250. #: guix-git/doc/guix.texi:23184
  34251. #, no-wrap
  34252. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  34253. msgstr ""
  34254. #. type: deftypevr
  34255. #: guix-git/doc/guix.texi:23188
  34256. 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\"}."
  34257. msgstr ""
  34258. #. type: deftypevr
  34259. #: guix-git/doc/guix.texi:23190
  34260. #, no-wrap
  34261. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  34262. msgstr ""
  34263. #. type: deftypevr
  34264. #: guix-git/doc/guix.texi:23193
  34265. msgid "Human readable error message for rejection mails. You can use variables:"
  34266. msgstr ""
  34267. #. type: table
  34268. #: guix-git/doc/guix.texi:23197
  34269. msgid "CRLF"
  34270. msgstr ""
  34271. #. type: item
  34272. #: guix-git/doc/guix.texi:23197
  34273. #, no-wrap
  34274. msgid "%r"
  34275. msgstr ""
  34276. #. type: table
  34277. #: guix-git/doc/guix.texi:23199
  34278. msgid "reason"
  34279. msgstr ""
  34280. #. type: table
  34281. #: guix-git/doc/guix.texi:23201
  34282. msgid "original subject"
  34283. msgstr ""
  34284. #. type: item
  34285. #: guix-git/doc/guix.texi:23201
  34286. #, no-wrap
  34287. msgid "%t"
  34288. msgstr ""
  34289. #. type: table
  34290. #: guix-git/doc/guix.texi:23203
  34291. msgid "recipient"
  34292. msgstr ""
  34293. #. type: deftypevr
  34294. #: guix-git/doc/guix.texi:23205
  34295. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  34296. msgstr ""
  34297. #. type: deftypevr
  34298. #: guix-git/doc/guix.texi:23207
  34299. #, no-wrap
  34300. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  34301. msgstr ""
  34302. #. type: deftypevr
  34303. #: guix-git/doc/guix.texi:23211
  34304. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  34305. msgstr ""
  34306. #. type: deftypevr
  34307. #: guix-git/doc/guix.texi:23213
  34308. #, no-wrap
  34309. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  34310. msgstr ""
  34311. #. type: deftypevr
  34312. #: guix-git/doc/guix.texi:23219
  34313. 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{\"\"}."
  34314. msgstr ""
  34315. #. type: deftypevr
  34316. #: guix-git/doc/guix.texi:23221
  34317. #, no-wrap
  34318. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  34319. msgstr ""
  34320. #. type: deftypevr
  34321. #: guix-git/doc/guix.texi:23225
  34322. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  34323. msgstr ""
  34324. #. type: deftypevr
  34325. #: guix-git/doc/guix.texi:23227
  34326. #, no-wrap
  34327. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  34328. msgstr ""
  34329. #. type: deftypevr
  34330. #: guix-git/doc/guix.texi:23231
  34331. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  34332. msgstr ""
  34333. #. type: deftypevr
  34334. #: guix-git/doc/guix.texi:23233
  34335. #, no-wrap
  34336. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  34337. msgstr ""
  34338. #. type: deftypevr
  34339. #: guix-git/doc/guix.texi:23239
  34340. 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}."
  34341. msgstr ""
  34342. #. type: deftypevr
  34343. #: guix-git/doc/guix.texi:23241
  34344. #, no-wrap
  34345. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  34346. msgstr ""
  34347. #. type: deftypevr
  34348. #: guix-git/doc/guix.texi:23243
  34349. msgid "IMAP logout format string:"
  34350. msgstr ""
  34351. #. type: item
  34352. #: guix-git/doc/guix.texi:23244
  34353. #, no-wrap
  34354. msgid "%i"
  34355. msgstr ""
  34356. #. type: table
  34357. #: guix-git/doc/guix.texi:23246
  34358. msgid "total number of bytes read from client"
  34359. msgstr ""
  34360. #. type: item
  34361. #: guix-git/doc/guix.texi:23246
  34362. #, no-wrap
  34363. msgid "%o"
  34364. msgstr ""
  34365. #. type: table
  34366. #: guix-git/doc/guix.texi:23248
  34367. msgid "total number of bytes sent to client."
  34368. msgstr ""
  34369. #. type: deftypevr
  34370. #: guix-git/doc/guix.texi:23251
  34371. 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@}\"}."
  34372. msgstr ""
  34373. #. type: deftypevr
  34374. #: guix-git/doc/guix.texi:23253
  34375. #, no-wrap
  34376. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  34377. msgstr ""
  34378. #. type: deftypevr
  34379. #: guix-git/doc/guix.texi:23257
  34380. 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{\"\"}."
  34381. msgstr ""
  34382. #. type: deftypevr
  34383. #: guix-git/doc/guix.texi:23259
  34384. #, no-wrap
  34385. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  34386. msgstr ""
  34387. #. type: deftypevr
  34388. #: guix-git/doc/guix.texi:23263
  34389. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  34390. msgstr ""
  34391. #. type: deftypevr
  34392. #: guix-git/doc/guix.texi:23265
  34393. #, no-wrap
  34394. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  34395. msgstr ""
  34396. #. type: deftypevr
  34397. #: guix-git/doc/guix.texi:23271
  34398. 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{\"\"}."
  34399. msgstr ""
  34400. #. type: deftypevr
  34401. #: guix-git/doc/guix.texi:23273
  34402. #, no-wrap
  34403. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  34404. msgstr ""
  34405. #. type: deftypevr
  34406. #: guix-git/doc/guix.texi:23276
  34407. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  34408. msgstr ""
  34409. #. type: deftypevr
  34410. #: guix-git/doc/guix.texi:23278
  34411. #, no-wrap
  34412. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  34413. msgstr ""
  34414. #. type: deftypevr
  34415. #: guix-git/doc/guix.texi:23280
  34416. msgid "Workarounds for various client bugs:"
  34417. msgstr ""
  34418. #. type: item
  34419. #: guix-git/doc/guix.texi:23282
  34420. #, no-wrap
  34421. msgid "delay-newmail"
  34422. msgstr ""
  34423. #. type: table
  34424. #: guix-git/doc/guix.texi:23289
  34425. 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\"."
  34426. msgstr ""
  34427. #. type: item
  34428. #: guix-git/doc/guix.texi:23290
  34429. #, no-wrap
  34430. msgid "tb-extra-mailbox-sep"
  34431. msgstr ""
  34432. #. type: table
  34433. #: guix-git/doc/guix.texi:23294
  34434. 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."
  34435. msgstr ""
  34436. #. type: item
  34437. #: guix-git/doc/guix.texi:23295
  34438. #, no-wrap
  34439. msgid "tb-lsub-flags"
  34440. msgstr ""
  34441. #. type: table
  34442. #: guix-git/doc/guix.texi:23299
  34443. 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."
  34444. msgstr ""
  34445. #. type: deftypevr
  34446. #: guix-git/doc/guix.texi:23303
  34447. #, no-wrap
  34448. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  34449. msgstr ""
  34450. #. type: deftypevr
  34451. #: guix-git/doc/guix.texi:23306
  34452. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  34453. msgstr ""
  34454. #. type: Plain text
  34455. #: guix-git/doc/guix.texi:23314
  34456. 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."
  34457. msgstr ""
  34458. #. type: Plain text
  34459. #: guix-git/doc/guix.texi:23320
  34460. 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."
  34461. msgstr ""
  34462. #. type: Plain text
  34463. #: guix-git/doc/guix.texi:23322
  34464. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  34465. msgstr ""
  34466. #. type: deftypevr
  34467. #: guix-git/doc/guix.texi:23323
  34468. #, no-wrap
  34469. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  34470. msgstr ""
  34471. #. type: deftypevr
  34472. #: guix-git/doc/guix.texi:23327
  34473. #, no-wrap
  34474. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  34475. msgstr ""
  34476. #. type: deftypevr
  34477. #: guix-git/doc/guix.texi:23329
  34478. msgid "The contents of the @code{dovecot.conf}, as a string."
  34479. msgstr ""
  34480. #. type: Plain text
  34481. #: guix-git/doc/guix.texi:23333
  34482. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  34483. msgstr ""
  34484. #. type: lisp
  34485. #: guix-git/doc/guix.texi:23338
  34486. #, no-wrap
  34487. msgid ""
  34488. "(dovecot-service #:config\n"
  34489. " (opaque-dovecot-configuration\n"
  34490. " (string \"\")))\n"
  34491. msgstr ""
  34492. #. type: subsubheading
  34493. #: guix-git/doc/guix.texi:23340
  34494. #, no-wrap
  34495. msgid "OpenSMTPD Service"
  34496. msgstr ""
  34497. #. type: deffn
  34498. #: guix-git/doc/guix.texi:23342
  34499. #, no-wrap
  34500. msgid "{Scheme Variable} opensmtpd-service-type"
  34501. msgstr ""
  34502. #. type: deffn
  34503. #: guix-git/doc/guix.texi:23346
  34504. 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:"
  34505. msgstr ""
  34506. #. type: lisp
  34507. #: guix-git/doc/guix.texi:23351
  34508. #, no-wrap
  34509. msgid ""
  34510. "(service opensmtpd-service-type\n"
  34511. " (opensmtpd-configuration\n"
  34512. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  34513. msgstr ""
  34514. #. type: deftp
  34515. #: guix-git/doc/guix.texi:23354
  34516. #, no-wrap
  34517. msgid "{Data Type} opensmtpd-configuration"
  34518. msgstr ""
  34519. #. type: deftp
  34520. #: guix-git/doc/guix.texi:23356
  34521. msgid "Data type representing the configuration of opensmtpd."
  34522. msgstr ""
  34523. #. type: item
  34524. #: guix-git/doc/guix.texi:23358
  34525. #, no-wrap
  34526. msgid "@code{package} (default: @var{opensmtpd})"
  34527. msgstr ""
  34528. #. type: table
  34529. #: guix-git/doc/guix.texi:23360
  34530. msgid "Package object of the OpenSMTPD SMTP server."
  34531. msgstr ""
  34532. #. type: item
  34533. #: guix-git/doc/guix.texi:23361
  34534. #, no-wrap
  34535. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  34536. msgstr ""
  34537. #. type: table
  34538. #: guix-git/doc/guix.texi:23366
  34539. 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."
  34540. msgstr ""
  34541. #. type: subsubheading
  34542. #: guix-git/doc/guix.texi:23370
  34543. #, no-wrap
  34544. msgid "Exim Service"
  34545. msgstr ""
  34546. #. type: cindex
  34547. #: guix-git/doc/guix.texi:23372
  34548. #, no-wrap
  34549. msgid "mail transfer agent (MTA)"
  34550. msgstr ""
  34551. #. type: cindex
  34552. #: guix-git/doc/guix.texi:23373
  34553. #, no-wrap
  34554. msgid "MTA (mail transfer agent)"
  34555. msgstr ""
  34556. #. type: cindex
  34557. #: guix-git/doc/guix.texi:23374
  34558. #, no-wrap
  34559. msgid "SMTP"
  34560. msgstr ""
  34561. #. type: deffn
  34562. #: guix-git/doc/guix.texi:23376
  34563. #, no-wrap
  34564. msgid "{Scheme Variable} exim-service-type"
  34565. msgstr ""
  34566. #. type: deffn
  34567. #: guix-git/doc/guix.texi:23380
  34568. 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:"
  34569. msgstr ""
  34570. #. type: lisp
  34571. #: guix-git/doc/guix.texi:23385
  34572. #, no-wrap
  34573. msgid ""
  34574. "(service exim-service-type\n"
  34575. " (exim-configuration\n"
  34576. " (config-file (local-file \"./my-exim.conf\"))))\n"
  34577. msgstr ""
  34578. #. type: Plain text
  34579. #: guix-git/doc/guix.texi:23391
  34580. 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)."
  34581. msgstr ""
  34582. #. type: deftp
  34583. #: guix-git/doc/guix.texi:23392
  34584. #, no-wrap
  34585. msgid "{Data Type} exim-configuration"
  34586. msgstr ""
  34587. #. type: deftp
  34588. #: guix-git/doc/guix.texi:23394
  34589. msgid "Data type representing the configuration of exim."
  34590. msgstr ""
  34591. #. type: item
  34592. #: guix-git/doc/guix.texi:23396
  34593. #, no-wrap
  34594. msgid "@code{package} (default: @var{exim})"
  34595. msgstr ""
  34596. #. type: table
  34597. #: guix-git/doc/guix.texi:23398
  34598. msgid "Package object of the Exim server."
  34599. msgstr ""
  34600. #. type: table
  34601. #: guix-git/doc/guix.texi:23405
  34602. 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."
  34603. msgstr ""
  34604. #. type: subsubheading
  34605. #: guix-git/doc/guix.texi:23409
  34606. #, no-wrap
  34607. msgid "Getmail service"
  34608. msgstr ""
  34609. #. type: cindex
  34610. #: guix-git/doc/guix.texi:23411
  34611. #, no-wrap
  34612. msgid "IMAP"
  34613. msgstr ""
  34614. #. type: cindex
  34615. #: guix-git/doc/guix.texi:23412
  34616. #, no-wrap
  34617. msgid "POP"
  34618. msgstr ""
  34619. #. type: deffn
  34620. #: guix-git/doc/guix.texi:23414
  34621. #, no-wrap
  34622. msgid "{Scheme Variable} getmail-service-type"
  34623. msgstr ""
  34624. #. type: deffn
  34625. #: guix-git/doc/guix.texi:23417
  34626. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  34627. msgstr ""
  34628. #. type: Plain text
  34629. #: guix-git/doc/guix.texi:23420
  34630. msgid "Available @code{getmail-configuration} fields are:"
  34631. msgstr ""
  34632. #. type: deftypevr
  34633. #: guix-git/doc/guix.texi:23421
  34634. #, no-wrap
  34635. msgid "{@code{getmail-configuration} parameter} symbol name"
  34636. msgstr ""
  34637. #. type: deftypevr
  34638. #: guix-git/doc/guix.texi:23423
  34639. msgid "A symbol to identify the getmail service."
  34640. msgstr ""
  34641. #. type: deftypevr
  34642. #: guix-git/doc/guix.texi:23425
  34643. msgid "Defaults to @samp{\"unset\"}."
  34644. msgstr ""
  34645. #. type: deftypevr
  34646. #: guix-git/doc/guix.texi:23428
  34647. #, no-wrap
  34648. msgid "{@code{getmail-configuration} parameter} package package"
  34649. msgstr ""
  34650. #. type: deftypevr
  34651. #: guix-git/doc/guix.texi:23430
  34652. msgid "The getmail package to use."
  34653. msgstr ""
  34654. #. type: deftypevr
  34655. #: guix-git/doc/guix.texi:23433
  34656. #, no-wrap
  34657. msgid "{@code{getmail-configuration} parameter} string user"
  34658. msgstr ""
  34659. #. type: deftypevr
  34660. #: guix-git/doc/guix.texi:23435
  34661. msgid "The user to run getmail as."
  34662. msgstr ""
  34663. #. type: deftypevr
  34664. #: guix-git/doc/guix.texi:23437 guix-git/doc/guix.texi:23444
  34665. msgid "Defaults to @samp{\"getmail\"}."
  34666. msgstr ""
  34667. #. type: deftypevr
  34668. #: guix-git/doc/guix.texi:23440
  34669. #, no-wrap
  34670. msgid "{@code{getmail-configuration} parameter} string group"
  34671. msgstr ""
  34672. #. type: deftypevr
  34673. #: guix-git/doc/guix.texi:23442
  34674. msgid "The group to run getmail as."
  34675. msgstr ""
  34676. #. type: deftypevr
  34677. #: guix-git/doc/guix.texi:23447
  34678. #, no-wrap
  34679. msgid "{@code{getmail-configuration} parameter} string directory"
  34680. msgstr ""
  34681. #. type: deftypevr
  34682. #: guix-git/doc/guix.texi:23449
  34683. msgid "The getmail directory to use."
  34684. msgstr ""
  34685. #. type: deftypevr
  34686. #: guix-git/doc/guix.texi:23451
  34687. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  34688. msgstr ""
  34689. #. type: deftypevr
  34690. #: guix-git/doc/guix.texi:23454
  34691. #, no-wrap
  34692. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  34693. msgstr ""
  34694. #. type: deftypevr
  34695. #: guix-git/doc/guix.texi:23456
  34696. msgid "The getmail configuration file to use."
  34697. msgstr ""
  34698. #. type: deftypevr
  34699. #: guix-git/doc/guix.texi:23458
  34700. msgid "Available @code{getmail-configuration-file} fields are:"
  34701. msgstr ""
  34702. #. type: deftypevr
  34703. #: guix-git/doc/guix.texi:23459
  34704. #, no-wrap
  34705. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  34706. msgstr ""
  34707. #. type: deftypevr
  34708. #: guix-git/doc/guix.texi:23461
  34709. msgid "What mail account to retrieve mail from, and how to access that account."
  34710. msgstr ""
  34711. #. type: deftypevr
  34712. #: guix-git/doc/guix.texi:23463
  34713. msgid "Available @code{getmail-retriever-configuration} fields are:"
  34714. msgstr ""
  34715. #. type: deftypevr
  34716. #: guix-git/doc/guix.texi:23464
  34717. #, no-wrap
  34718. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  34719. msgstr ""
  34720. #. type: deftypevr
  34721. #: guix-git/doc/guix.texi:23467
  34722. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  34723. msgstr ""
  34724. #. type: deftypevr
  34725. #: guix-git/doc/guix.texi:23469
  34726. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  34727. msgstr ""
  34728. #. type: deftypevr
  34729. #: guix-git/doc/guix.texi:23472
  34730. #, no-wrap
  34731. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  34732. msgstr ""
  34733. #. type: deftypevr
  34734. #: guix-git/doc/guix.texi:23474 guix-git/doc/guix.texi:23481
  34735. msgid "Username to login to the mail server with."
  34736. msgstr ""
  34737. #. type: deftypevr
  34738. #: guix-git/doc/guix.texi:23476 guix-git/doc/guix.texi:23483
  34739. #: guix-git/doc/guix.texi:23547
  34740. msgid "Defaults to @samp{unset}."
  34741. msgstr ""
  34742. #. type: deftypevr
  34743. #: guix-git/doc/guix.texi:23479
  34744. #, no-wrap
  34745. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  34746. msgstr ""
  34747. #. type: deftypevr
  34748. #: guix-git/doc/guix.texi:23486
  34749. #, no-wrap
  34750. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  34751. msgstr ""
  34752. #. type: deftypevr
  34753. #: guix-git/doc/guix.texi:23488
  34754. msgid "Port number to connect to."
  34755. msgstr ""
  34756. #. type: deftypevr
  34757. #: guix-git/doc/guix.texi:23493
  34758. #, no-wrap
  34759. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  34760. msgstr ""
  34761. #. type: deftypevr
  34762. #: guix-git/doc/guix.texi:23495 guix-git/doc/guix.texi:23502
  34763. msgid "Override fields from passwd."
  34764. msgstr ""
  34765. #. type: deftypevr
  34766. #: guix-git/doc/guix.texi:23500
  34767. #, no-wrap
  34768. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  34769. msgstr ""
  34770. #. type: deftypevr
  34771. #: guix-git/doc/guix.texi:23507
  34772. #, no-wrap
  34773. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  34774. msgstr ""
  34775. #. type: deftypevr
  34776. #: guix-git/doc/guix.texi:23509
  34777. msgid "PEM-formatted key file to use for the TLS negotiation."
  34778. msgstr ""
  34779. #. type: deftypevr
  34780. #: guix-git/doc/guix.texi:23514
  34781. #, no-wrap
  34782. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  34783. msgstr ""
  34784. #. type: deftypevr
  34785. #: guix-git/doc/guix.texi:23516
  34786. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  34787. msgstr ""
  34788. #. type: deftypevr
  34789. #: guix-git/doc/guix.texi:23521
  34790. #, no-wrap
  34791. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  34792. msgstr ""
  34793. #. type: deftypevr
  34794. #: guix-git/doc/guix.texi:23523
  34795. msgid "CA certificates to use."
  34796. msgstr ""
  34797. #. type: deftypevr
  34798. #: guix-git/doc/guix.texi:23528
  34799. #, no-wrap
  34800. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  34801. msgstr ""
  34802. #. type: deftypevr
  34803. #: guix-git/doc/guix.texi:23530
  34804. msgid "Extra retriever parameters."
  34805. msgstr ""
  34806. #. type: deftypevr
  34807. #: guix-git/doc/guix.texi:23537
  34808. #, no-wrap
  34809. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  34810. msgstr ""
  34811. #. type: deftypevr
  34812. #: guix-git/doc/guix.texi:23539
  34813. msgid "What to do with retrieved messages."
  34814. msgstr ""
  34815. #. type: deftypevr
  34816. #: guix-git/doc/guix.texi:23541
  34817. msgid "Available @code{getmail-destination-configuration} fields are:"
  34818. msgstr ""
  34819. #. type: deftypevr
  34820. #: guix-git/doc/guix.texi:23542
  34821. #, no-wrap
  34822. msgid "{@code{getmail-destination-configuration} parameter} string type"
  34823. msgstr ""
  34824. #. type: deftypevr
  34825. #: guix-git/doc/guix.texi:23545
  34826. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  34827. msgstr ""
  34828. #. type: deftypevr
  34829. #: guix-git/doc/guix.texi:23550
  34830. #, no-wrap
  34831. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  34832. msgstr ""
  34833. #. type: deftypevr
  34834. #: guix-git/doc/guix.texi:23553
  34835. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  34836. msgstr ""
  34837. #. type: deftypevr
  34838. #: guix-git/doc/guix.texi:23558
  34839. #, no-wrap
  34840. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  34841. msgstr ""
  34842. #. type: deftypevr
  34843. #: guix-git/doc/guix.texi:23560
  34844. msgid "Extra destination parameters"
  34845. msgstr ""
  34846. #. type: deftypevr
  34847. #: guix-git/doc/guix.texi:23567
  34848. #, no-wrap
  34849. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  34850. msgstr ""
  34851. #. type: deftypevr
  34852. #: guix-git/doc/guix.texi:23569
  34853. msgid "Configure getmail."
  34854. msgstr ""
  34855. #. type: deftypevr
  34856. #: guix-git/doc/guix.texi:23571
  34857. msgid "Available @code{getmail-options-configuration} fields are:"
  34858. msgstr ""
  34859. #. type: deftypevr
  34860. #: guix-git/doc/guix.texi:23572
  34861. #, no-wrap
  34862. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  34863. msgstr ""
  34864. #. type: deftypevr
  34865. #: guix-git/doc/guix.texi:23577
  34866. 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."
  34867. msgstr ""
  34868. #. type: deftypevr
  34869. #: guix-git/doc/guix.texi:23579 guix-git/doc/guix.texi:30102
  34870. #: guix-git/doc/guix.texi:30690 guix-git/doc/guix.texi:30835
  34871. msgid "Defaults to @samp{1}."
  34872. msgstr ""
  34873. #. type: deftypevr
  34874. #: guix-git/doc/guix.texi:23582
  34875. #, no-wrap
  34876. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  34877. msgstr ""
  34878. #. type: deftypevr
  34879. #: guix-git/doc/guix.texi:23585
  34880. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  34881. msgstr ""
  34882. #. type: deftypevr
  34883. #: guix-git/doc/guix.texi:23590
  34884. #, no-wrap
  34885. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  34886. msgstr ""
  34887. #. type: deftypevr
  34888. #: guix-git/doc/guix.texi:23594
  34889. 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."
  34890. msgstr ""
  34891. #. type: deftypevr
  34892. #: guix-git/doc/guix.texi:23599
  34893. #, no-wrap
  34894. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  34895. msgstr ""
  34896. #. type: deftypevr
  34897. #: guix-git/doc/guix.texi:23604
  34898. 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."
  34899. msgstr ""
  34900. #. type: deftypevr
  34901. #: guix-git/doc/guix.texi:23609
  34902. #, no-wrap
  34903. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  34904. msgstr ""
  34905. #. type: deftypevr
  34906. #: guix-git/doc/guix.texi:23613
  34907. 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."
  34908. msgstr ""
  34909. #. type: deftypevr
  34910. #: guix-git/doc/guix.texi:23618
  34911. #, no-wrap
  34912. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  34913. msgstr ""
  34914. #. type: deftypevr
  34915. #: guix-git/doc/guix.texi:23621
  34916. 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."
  34917. msgstr ""
  34918. #. type: deftypevr
  34919. #: guix-git/doc/guix.texi:23626
  34920. #, no-wrap
  34921. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  34922. msgstr ""
  34923. #. type: deftypevr
  34924. #: guix-git/doc/guix.texi:23629
  34925. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  34926. msgstr ""
  34927. #. type: deftypevr
  34928. #: guix-git/doc/guix.texi:23634
  34929. #, no-wrap
  34930. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  34931. msgstr ""
  34932. #. type: deftypevr
  34933. #: guix-git/doc/guix.texi:23636
  34934. msgid "If true, getmail will add a Delivered-To header to messages."
  34935. msgstr ""
  34936. #. type: deftypevr
  34937. #: guix-git/doc/guix.texi:23641
  34938. #, no-wrap
  34939. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  34940. msgstr ""
  34941. #. type: deftypevr
  34942. #: guix-git/doc/guix.texi:23643
  34943. msgid "If set, getmail adds a Received header to the messages."
  34944. msgstr ""
  34945. #. type: deftypevr
  34946. #: guix-git/doc/guix.texi:23648
  34947. #, no-wrap
  34948. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  34949. msgstr ""
  34950. #. type: deftypevr
  34951. #: guix-git/doc/guix.texi:23651
  34952. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  34953. msgstr ""
  34954. #. type: deftypevr
  34955. #: guix-git/doc/guix.texi:23656
  34956. #, no-wrap
  34957. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  34958. msgstr ""
  34959. #. type: deftypevr
  34960. #: guix-git/doc/guix.texi:23659
  34961. msgid "If true, getmail will record a log of its actions using the system logger."
  34962. msgstr ""
  34963. #. type: deftypevr
  34964. #: guix-git/doc/guix.texi:23664
  34965. #, no-wrap
  34966. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  34967. msgstr ""
  34968. #. type: deftypevr
  34969. #: guix-git/doc/guix.texi:23668
  34970. 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."
  34971. msgstr ""
  34972. #. type: deftypevr
  34973. #: guix-git/doc/guix.texi:23673
  34974. #, no-wrap
  34975. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  34976. msgstr ""
  34977. #. type: deftypevr
  34978. #: guix-git/doc/guix.texi:23675
  34979. msgid "Extra options to include."
  34980. msgstr ""
  34981. #. type: deftypevr
  34982. #: guix-git/doc/guix.texi:23684
  34983. #, no-wrap
  34984. msgid "{@code{getmail-configuration} parameter} list idle"
  34985. msgstr ""
  34986. #. type: deftypevr
  34987. #: guix-git/doc/guix.texi:23688
  34988. 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."
  34989. msgstr ""
  34990. #. type: deftypevr
  34991. #: guix-git/doc/guix.texi:23693
  34992. #, no-wrap
  34993. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  34994. msgstr ""
  34995. #. type: deftypevr
  34996. #: guix-git/doc/guix.texi:23695
  34997. msgid "Environment variables to set for getmail."
  34998. msgstr ""
  34999. #. type: subsubheading
  35000. #: guix-git/doc/guix.texi:23700
  35001. #, no-wrap
  35002. msgid "Mail Aliases Service"
  35003. msgstr ""
  35004. #. type: cindex
  35005. #: guix-git/doc/guix.texi:23702
  35006. #, no-wrap
  35007. msgid "email aliases"
  35008. msgstr ""
  35009. #. type: cindex
  35010. #: guix-git/doc/guix.texi:23703
  35011. #, no-wrap
  35012. msgid "aliases, for email addresses"
  35013. msgstr ""
  35014. #. type: deffn
  35015. #: guix-git/doc/guix.texi:23705
  35016. #, no-wrap
  35017. msgid "{Scheme Variable} mail-aliases-service-type"
  35018. msgstr ""
  35019. #. type: deffn
  35020. #: guix-git/doc/guix.texi:23708
  35021. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  35022. msgstr ""
  35023. #. type: lisp
  35024. #: guix-git/doc/guix.texi:23713
  35025. #, no-wrap
  35026. msgid ""
  35027. "(service mail-aliases-service-type\n"
  35028. " '((\"postmaster\" \"bob\")\n"
  35029. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  35030. msgstr ""
  35031. #. type: Plain text
  35032. #: guix-git/doc/guix.texi:23721
  35033. 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."
  35034. msgstr ""
  35035. #. type: Plain text
  35036. #: guix-git/doc/guix.texi:23727
  35037. 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})."
  35038. msgstr ""
  35039. #. type: cindex
  35040. #: guix-git/doc/guix.texi:23728 guix-git/doc/guix.texi:23729
  35041. #, no-wrap
  35042. msgid "GNU Mailutils IMAP4 Daemon"
  35043. msgstr ""
  35044. #. type: deffn
  35045. #: guix-git/doc/guix.texi:23731
  35046. #, no-wrap
  35047. msgid "{Scheme Variable} imap4d-service-type"
  35048. msgstr ""
  35049. #. type: deffn
  35050. #: guix-git/doc/guix.texi:23735
  35051. 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:"
  35052. msgstr ""
  35053. #. type: lisp
  35054. #: guix-git/doc/guix.texi:23740
  35055. #, no-wrap
  35056. msgid ""
  35057. "(service imap4d-service-type\n"
  35058. " (imap4d-configuration\n"
  35059. " (config-file (local-file \"imap4d.conf\"))))\n"
  35060. msgstr ""
  35061. #. type: deftp
  35062. #: guix-git/doc/guix.texi:23743
  35063. #, no-wrap
  35064. msgid "{Data Type} imap4d-configuration"
  35065. msgstr ""
  35066. #. type: deftp
  35067. #: guix-git/doc/guix.texi:23745
  35068. msgid "Data type representing the configuration of @command{imap4d}."
  35069. msgstr ""
  35070. #. type: item
  35071. #: guix-git/doc/guix.texi:23747
  35072. #, no-wrap
  35073. msgid "@code{package} (default: @code{mailutils})"
  35074. msgstr ""
  35075. #. type: table
  35076. #: guix-git/doc/guix.texi:23749
  35077. msgid "The package that provides @command{imap4d}."
  35078. msgstr ""
  35079. #. type: item
  35080. #: guix-git/doc/guix.texi:23750
  35081. #, no-wrap
  35082. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  35083. msgstr ""
  35084. #. type: table
  35085. #: guix-git/doc/guix.texi:23754
  35086. 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."
  35087. msgstr ""
  35088. #. type: subsubheading
  35089. #: guix-git/doc/guix.texi:23758
  35090. #, no-wrap
  35091. msgid "Radicale Service"
  35092. msgstr ""
  35093. #. type: cindex
  35094. #: guix-git/doc/guix.texi:23759
  35095. #, no-wrap
  35096. msgid "CalDAV"
  35097. msgstr ""
  35098. #. type: cindex
  35099. #: guix-git/doc/guix.texi:23760
  35100. #, no-wrap
  35101. msgid "CardDAV"
  35102. msgstr ""
  35103. #. type: deffn
  35104. #: guix-git/doc/guix.texi:23762
  35105. #, no-wrap
  35106. msgid "{Scheme Variable} radicale-service-type"
  35107. msgstr ""
  35108. #. type: deffn
  35109. #: guix-git/doc/guix.texi:23765
  35110. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  35111. msgstr ""
  35112. #. type: deftp
  35113. #: guix-git/doc/guix.texi:23767
  35114. #, no-wrap
  35115. msgid "{Data Type} radicale-configuration"
  35116. msgstr ""
  35117. #. type: deftp
  35118. #: guix-git/doc/guix.texi:23769
  35119. msgid "Data type representing the configuration of @command{radicale}."
  35120. msgstr ""
  35121. #. type: item
  35122. #: guix-git/doc/guix.texi:23771
  35123. #, no-wrap
  35124. msgid "@code{package} (default: @code{radicale})"
  35125. msgstr ""
  35126. #. type: table
  35127. #: guix-git/doc/guix.texi:23773
  35128. msgid "The package that provides @command{radicale}."
  35129. msgstr ""
  35130. #. type: item
  35131. #: guix-git/doc/guix.texi:23774
  35132. #, no-wrap
  35133. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  35134. msgstr ""
  35135. #. type: table
  35136. #: guix-git/doc/guix.texi:23778
  35137. 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."
  35138. msgstr ""
  35139. #. type: cindex
  35140. #: guix-git/doc/guix.texi:23785
  35141. #, no-wrap
  35142. msgid "messaging"
  35143. msgstr ""
  35144. #. type: cindex
  35145. #: guix-git/doc/guix.texi:23786
  35146. #, no-wrap
  35147. msgid "jabber"
  35148. msgstr ""
  35149. #. type: cindex
  35150. #: guix-git/doc/guix.texi:23787
  35151. #, no-wrap
  35152. msgid "XMPP"
  35153. msgstr ""
  35154. #. type: Plain text
  35155. #: guix-git/doc/guix.texi:23791
  35156. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  35157. msgstr ""
  35158. #. type: subsubheading
  35159. #: guix-git/doc/guix.texi:23792
  35160. #, no-wrap
  35161. msgid "Prosody Service"
  35162. msgstr ""
  35163. #. type: deffn
  35164. #: guix-git/doc/guix.texi:23794
  35165. #, no-wrap
  35166. msgid "{Scheme Variable} prosody-service-type"
  35167. msgstr ""
  35168. #. type: deffn
  35169. #: guix-git/doc/guix.texi:23798
  35170. 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:"
  35171. msgstr ""
  35172. #. type: lisp
  35173. #: guix-git/doc/guix.texi:23813
  35174. #, no-wrap
  35175. msgid ""
  35176. "(service prosody-service-type\n"
  35177. " (prosody-configuration\n"
  35178. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  35179. " (int-components\n"
  35180. " (list\n"
  35181. " (int-component-configuration\n"
  35182. " (hostname \"conference.example.net\")\n"
  35183. " (plugin \"muc\")\n"
  35184. " (mod-muc (mod-muc-configuration)))))\n"
  35185. " (virtualhosts\n"
  35186. " (list\n"
  35187. " (virtualhost-configuration\n"
  35188. " (domain \"example.net\"))))))\n"
  35189. msgstr ""
  35190. #. type: deffn
  35191. #: guix-git/doc/guix.texi:23816
  35192. msgid "See below for details about @code{prosody-configuration}."
  35193. msgstr ""
  35194. #. type: Plain text
  35195. #: guix-git/doc/guix.texi:23822
  35196. 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."
  35197. msgstr ""
  35198. #. type: Plain text
  35199. #: guix-git/doc/guix.texi:23825
  35200. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  35201. msgstr ""
  35202. #. type: Plain text
  35203. #: guix-git/doc/guix.texi:23829
  35204. 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}."
  35205. msgstr ""
  35206. #. type: example
  35207. #: guix-git/doc/guix.texi:23832
  35208. #, no-wrap
  35209. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  35210. msgstr ""
  35211. #. type: Plain text
  35212. #: guix-git/doc/guix.texi:23839
  35213. 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}."
  35214. msgstr ""
  35215. #. type: Plain text
  35216. #: guix-git/doc/guix.texi:23843
  35217. 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."
  35218. msgstr ""
  35219. #. type: Plain text
  35220. #: guix-git/doc/guix.texi:23846
  35221. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  35222. msgstr ""
  35223. #. type: Plain text
  35224. #: guix-git/doc/guix.texi:23856
  35225. msgid "Available @code{prosody-configuration} fields are:"
  35226. msgstr ""
  35227. #. type: deftypevr
  35228. #: guix-git/doc/guix.texi:23857
  35229. #, no-wrap
  35230. msgid "{@code{prosody-configuration} parameter} package prosody"
  35231. msgstr ""
  35232. #. type: deftypevr
  35233. #: guix-git/doc/guix.texi:23859
  35234. msgid "The Prosody package."
  35235. msgstr ""
  35236. #. type: deftypevr
  35237. #: guix-git/doc/guix.texi:23861
  35238. #, no-wrap
  35239. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  35240. msgstr ""
  35241. #. type: deftypevr
  35242. #: guix-git/doc/guix.texi:23865
  35243. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  35244. msgstr ""
  35245. #. type: deftypevr
  35246. #: guix-git/doc/guix.texi:23867
  35247. #, no-wrap
  35248. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  35249. msgstr ""
  35250. #. type: deftypevr
  35251. #: guix-git/doc/guix.texi:23871
  35252. 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{()}."
  35253. msgstr ""
  35254. #. type: deftypevr
  35255. #: guix-git/doc/guix.texi:23873
  35256. #, no-wrap
  35257. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  35258. msgstr ""
  35259. #. type: deftypevr
  35260. #: guix-git/doc/guix.texi:23878
  35261. 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\"}."
  35262. msgstr ""
  35263. #. type: deftypevr
  35264. #: guix-git/doc/guix.texi:23880
  35265. #, no-wrap
  35266. msgid "{@code{prosody-configuration} parameter} string-list admins"
  35267. msgstr ""
  35268. #. type: deftypevr
  35269. #: guix-git/doc/guix.texi:23886
  35270. 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{()}."
  35271. msgstr ""
  35272. #. type: deftypevr
  35273. #: guix-git/doc/guix.texi:23888
  35274. #, no-wrap
  35275. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  35276. msgstr ""
  35277. #. type: deftypevr
  35278. #: guix-git/doc/guix.texi:23892
  35279. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  35280. msgstr ""
  35281. #. type: deftypevr
  35282. #: guix-git/doc/guix.texi:23894
  35283. #, no-wrap
  35284. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  35285. msgstr ""
  35286. #. type: deftypevr
  35287. #: guix-git/doc/guix.texi:23900
  35288. 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\")}."
  35289. msgstr ""
  35290. #. type: deftypevr
  35291. #: guix-git/doc/guix.texi:23902
  35292. #, no-wrap
  35293. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  35294. msgstr ""
  35295. #. type: deftypevr
  35296. #: guix-git/doc/guix.texi:23906
  35297. 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{()}."
  35298. msgstr ""
  35299. #. type: deftypevr
  35300. #: guix-git/doc/guix.texi:23908
  35301. #, no-wrap
  35302. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  35303. msgstr ""
  35304. #. type: deftypevr
  35305. #: guix-git/doc/guix.texi:23913
  35306. 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\"}."
  35307. msgstr ""
  35308. #. type: deftypevr
  35309. #: guix-git/doc/guix.texi:23915
  35310. #, no-wrap
  35311. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  35312. msgstr ""
  35313. #. type: deftypevr
  35314. #: guix-git/doc/guix.texi:23919
  35315. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  35316. msgstr ""
  35317. #. type: deftypevr
  35318. #: guix-git/doc/guix.texi:23921
  35319. #, no-wrap
  35320. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  35321. msgstr ""
  35322. #. type: deftypevr
  35323. #: guix-git/doc/guix.texi:23926
  35324. 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}."
  35325. msgstr ""
  35326. #. type: deftypevr
  35327. #: guix-git/doc/guix.texi:23928
  35328. msgid "Available @code{ssl-configuration} fields are:"
  35329. msgstr ""
  35330. #. type: deftypevr
  35331. #: guix-git/doc/guix.texi:23929
  35332. #, no-wrap
  35333. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  35334. msgstr ""
  35335. #. type: deftypevr
  35336. #: guix-git/doc/guix.texi:23931
  35337. msgid "This determines what handshake to use."
  35338. msgstr ""
  35339. #. type: deftypevr
  35340. #: guix-git/doc/guix.texi:23933
  35341. #, no-wrap
  35342. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  35343. msgstr ""
  35344. #. type: deftypevr
  35345. #: guix-git/doc/guix.texi:23935
  35346. msgid "Path to your private key file."
  35347. msgstr ""
  35348. #. type: deftypevr
  35349. #: guix-git/doc/guix.texi:23937
  35350. #, no-wrap
  35351. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  35352. msgstr ""
  35353. #. type: deftypevr
  35354. #: guix-git/doc/guix.texi:23939
  35355. msgid "Path to your certificate file."
  35356. msgstr ""
  35357. #. type: deftypevr
  35358. #: guix-git/doc/guix.texi:23941
  35359. #, no-wrap
  35360. msgid "{@code{ssl-configuration} parameter} file-object capath"
  35361. msgstr ""
  35362. #. type: deftypevr
  35363. #: guix-git/doc/guix.texi:23945
  35364. 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\"}."
  35365. msgstr ""
  35366. #. type: deftypevr
  35367. #: guix-git/doc/guix.texi:23947
  35368. #, no-wrap
  35369. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  35370. msgstr ""
  35371. #. type: deftypevr
  35372. #: guix-git/doc/guix.texi:23950
  35373. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  35374. msgstr ""
  35375. #. type: deftypevr
  35376. #: guix-git/doc/guix.texi:23952
  35377. #, no-wrap
  35378. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  35379. msgstr ""
  35380. #. type: deftypevr
  35381. #: guix-git/doc/guix.texi:23955
  35382. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  35383. msgstr ""
  35384. #. type: deftypevr
  35385. #: guix-git/doc/guix.texi:23957
  35386. #, no-wrap
  35387. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  35388. msgstr ""
  35389. #. type: deftypevr
  35390. #: guix-git/doc/guix.texi:23961
  35391. 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."
  35392. msgstr ""
  35393. #. type: deftypevr
  35394. #: guix-git/doc/guix.texi:23963
  35395. #, no-wrap
  35396. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  35397. msgstr ""
  35398. #. type: deftypevr
  35399. #: guix-git/doc/guix.texi:23966
  35400. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  35401. msgstr ""
  35402. #. type: deftypevr
  35403. #: guix-git/doc/guix.texi:23968
  35404. #, no-wrap
  35405. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  35406. msgstr ""
  35407. #. type: deftypevr
  35408. #: guix-git/doc/guix.texi:23971
  35409. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  35410. msgstr ""
  35411. #. type: deftypevr
  35412. #: guix-git/doc/guix.texi:23973
  35413. #, no-wrap
  35414. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  35415. msgstr ""
  35416. #. type: deftypevr
  35417. #: guix-git/doc/guix.texi:23977
  35418. 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}"
  35419. msgstr ""
  35420. #. type: deftypevr
  35421. #: guix-git/doc/guix.texi:23979
  35422. #, no-wrap
  35423. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  35424. msgstr ""
  35425. #. type: deftypevr
  35426. #: guix-git/doc/guix.texi:23982
  35427. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  35428. msgstr ""
  35429. #. type: deftypevr
  35430. #: guix-git/doc/guix.texi:23984
  35431. #, no-wrap
  35432. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  35433. msgstr ""
  35434. #. type: deftypevr
  35435. #: guix-git/doc/guix.texi:23986
  35436. msgid "A list of ``extra'' verification options."
  35437. msgstr ""
  35438. #. type: deftypevr
  35439. #: guix-git/doc/guix.texi:23988
  35440. #, no-wrap
  35441. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  35442. msgstr ""
  35443. #. type: deftypevr
  35444. #: guix-git/doc/guix.texi:23990
  35445. msgid "Password for encrypted private keys."
  35446. msgstr ""
  35447. #. type: deftypevr
  35448. #: guix-git/doc/guix.texi:23994
  35449. #, no-wrap
  35450. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  35451. msgstr ""
  35452. #. type: deftypevr
  35453. #: guix-git/doc/guix.texi:23998
  35454. 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}."
  35455. msgstr ""
  35456. #. type: deftypevr
  35457. #: guix-git/doc/guix.texi:24000
  35458. #, no-wrap
  35459. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  35460. msgstr ""
  35461. #. type: deftypevr
  35462. #: guix-git/doc/guix.texi:24004
  35463. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  35464. msgstr ""
  35465. #. type: deftypevr
  35466. #: guix-git/doc/guix.texi:24006
  35467. #, no-wrap
  35468. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  35469. msgstr ""
  35470. #. type: deftypevr
  35471. #: guix-git/doc/guix.texi:24010
  35472. 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}."
  35473. msgstr ""
  35474. #. type: deftypevr
  35475. #: guix-git/doc/guix.texi:24012
  35476. #, no-wrap
  35477. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  35478. msgstr ""
  35479. #. type: deftypevr
  35480. #: guix-git/doc/guix.texi:24018
  35481. 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}."
  35482. msgstr ""
  35483. #. type: deftypevr
  35484. #: guix-git/doc/guix.texi:24020
  35485. #, no-wrap
  35486. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  35487. msgstr ""
  35488. #. type: deftypevr
  35489. #: guix-git/doc/guix.texi:24026
  35490. 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{()}."
  35491. msgstr ""
  35492. #. type: deftypevr
  35493. #: guix-git/doc/guix.texi:24028
  35494. #, no-wrap
  35495. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  35496. msgstr ""
  35497. #. type: deftypevr
  35498. #: guix-git/doc/guix.texi:24033
  35499. 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{()}."
  35500. msgstr ""
  35501. #. type: deftypevr
  35502. #: guix-git/doc/guix.texi:24035
  35503. #, no-wrap
  35504. msgid "{@code{prosody-configuration} parameter} string authentication"
  35505. msgstr ""
  35506. #. type: deftypevr
  35507. #: guix-git/doc/guix.texi:24043
  35508. 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\"}."
  35509. msgstr ""
  35510. #. type: deftypevr
  35511. #: guix-git/doc/guix.texi:24045
  35512. #, no-wrap
  35513. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  35514. msgstr ""
  35515. #. type: deftypevr
  35516. #: guix-git/doc/guix.texi:24049
  35517. 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\"}."
  35518. msgstr ""
  35519. #. type: deftypevr
  35520. #: guix-git/doc/guix.texi:24051
  35521. #, no-wrap
  35522. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  35523. msgstr ""
  35524. #. type: deftypevr
  35525. #: guix-git/doc/guix.texi:24054
  35526. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  35527. msgstr ""
  35528. #. type: deftypevr
  35529. #: guix-git/doc/guix.texi:24056
  35530. #, no-wrap
  35531. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  35532. msgstr ""
  35533. #. type: deftypevr
  35534. #: guix-git/doc/guix.texi:24058
  35535. msgid "Maximum allowed size of the HTTP body (in bytes)."
  35536. msgstr ""
  35537. #. type: deftypevr
  35538. #: guix-git/doc/guix.texi:24060
  35539. #, no-wrap
  35540. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  35541. msgstr ""
  35542. #. type: deftypevr
  35543. #: guix-git/doc/guix.texi:24065
  35544. 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}."
  35545. msgstr ""
  35546. #. type: deftypevr
  35547. #: guix-git/doc/guix.texi:24067
  35548. #, no-wrap
  35549. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  35550. msgstr ""
  35551. #. type: deftypevr
  35552. #: guix-git/doc/guix.texi:24072
  35553. 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."
  35554. msgstr ""
  35555. #. type: deftypevr
  35556. #: guix-git/doc/guix.texi:24078
  35557. 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."
  35558. msgstr ""
  35559. #. type: deftypevr
  35560. #: guix-git/doc/guix.texi:24080
  35561. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  35562. msgstr ""
  35563. #. type: deftypevr
  35564. #: guix-git/doc/guix.texi:24082
  35565. msgid "Available @code{virtualhost-configuration} fields are:"
  35566. msgstr ""
  35567. #. type: deftypevr
  35568. #: guix-git/doc/guix.texi:24084 guix-git/doc/guix.texi:24106
  35569. #: guix-git/doc/guix.texi:24159
  35570. 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:"
  35571. msgstr ""
  35572. #. type: deftypevr
  35573. #: guix-git/doc/guix.texi:24084
  35574. #, no-wrap
  35575. msgid "{@code{virtualhost-configuration} parameter} string domain"
  35576. msgstr ""
  35577. #. type: deftypevr
  35578. #: guix-git/doc/guix.texi:24086
  35579. msgid "Domain you wish Prosody to serve."
  35580. msgstr ""
  35581. #. type: deftypevr
  35582. #: guix-git/doc/guix.texi:24090
  35583. #, no-wrap
  35584. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  35585. msgstr ""
  35586. #. type: deftypevr
  35587. #: guix-git/doc/guix.texi:24095
  35588. 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."
  35589. msgstr ""
  35590. #. type: deftypevr
  35591. #: guix-git/doc/guix.texi:24099
  35592. 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."
  35593. msgstr ""
  35594. #. type: deftypevr
  35595. #: guix-git/doc/guix.texi:24102
  35596. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  35597. msgstr ""
  35598. #. type: deftypevr
  35599. #: guix-git/doc/guix.texi:24104
  35600. msgid "Available @code{int-component-configuration} fields are:"
  35601. msgstr ""
  35602. #. type: deftypevr
  35603. #: guix-git/doc/guix.texi:24106
  35604. #, no-wrap
  35605. msgid "{@code{int-component-configuration} parameter} string hostname"
  35606. msgstr ""
  35607. #. type: deftypevr
  35608. #: guix-git/doc/guix.texi:24108 guix-git/doc/guix.texi:24165
  35609. msgid "Hostname of the component."
  35610. msgstr ""
  35611. #. type: deftypevr
  35612. #: guix-git/doc/guix.texi:24110
  35613. #, no-wrap
  35614. msgid "{@code{int-component-configuration} parameter} string plugin"
  35615. msgstr ""
  35616. #. type: deftypevr
  35617. #: guix-git/doc/guix.texi:24112
  35618. msgid "Plugin you wish to use for the component."
  35619. msgstr ""
  35620. #. type: deftypevr
  35621. #: guix-git/doc/guix.texi:24114
  35622. #, no-wrap
  35623. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  35624. msgstr ""
  35625. #. type: deftypevr
  35626. #: guix-git/doc/guix.texi:24117
  35627. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  35628. msgstr ""
  35629. #. type: deftypevr
  35630. #: guix-git/doc/guix.texi:24121
  35631. 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."
  35632. msgstr ""
  35633. #. type: deftypevr
  35634. #: guix-git/doc/guix.texi:24123
  35635. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  35636. msgstr ""
  35637. #. type: deftypevr
  35638. #: guix-git/doc/guix.texi:24125
  35639. msgid "Available @code{mod-muc-configuration} fields are:"
  35640. msgstr ""
  35641. #. type: deftypevr
  35642. #: guix-git/doc/guix.texi:24126
  35643. #, no-wrap
  35644. msgid "{@code{mod-muc-configuration} parameter} string name"
  35645. msgstr ""
  35646. #. type: deftypevr
  35647. #: guix-git/doc/guix.texi:24129
  35648. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  35649. msgstr ""
  35650. #. type: deftypevr
  35651. #: guix-git/doc/guix.texi:24131
  35652. #, no-wrap
  35653. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  35654. msgstr ""
  35655. #. type: deftypevr
  35656. #: guix-git/doc/guix.texi:24138
  35657. 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}."
  35658. msgstr ""
  35659. #. type: deftypevr
  35660. #: guix-git/doc/guix.texi:24140
  35661. #, no-wrap
  35662. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  35663. msgstr ""
  35664. #. type: deftypevr
  35665. #: guix-git/doc/guix.texi:24144
  35666. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  35667. msgstr ""
  35668. #. type: deftypevr
  35669. #: guix-git/doc/guix.texi:24150
  35670. #, no-wrap
  35671. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  35672. msgstr ""
  35673. #. type: deftypevr
  35674. #: guix-git/doc/guix.texi:24155
  35675. 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{()}."
  35676. msgstr ""
  35677. #. type: deftypevr
  35678. #: guix-git/doc/guix.texi:24157
  35679. msgid "Available @code{ext-component-configuration} fields are:"
  35680. msgstr ""
  35681. #. type: deftypevr
  35682. #: guix-git/doc/guix.texi:24159
  35683. #, no-wrap
  35684. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  35685. msgstr ""
  35686. #. type: deftypevr
  35687. #: guix-git/doc/guix.texi:24161
  35688. msgid "Password which the component will use to log in."
  35689. msgstr ""
  35690. #. type: deftypevr
  35691. #: guix-git/doc/guix.texi:24163
  35692. #, no-wrap
  35693. msgid "{@code{ext-component-configuration} parameter} string hostname"
  35694. msgstr ""
  35695. #. type: deftypevr
  35696. #: guix-git/doc/guix.texi:24169
  35697. #, no-wrap
  35698. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  35699. msgstr ""
  35700. #. type: deftypevr
  35701. #: guix-git/doc/guix.texi:24172
  35702. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  35703. msgstr ""
  35704. #. type: deftypevr
  35705. #: guix-git/doc/guix.texi:24174
  35706. #, no-wrap
  35707. msgid "{@code{prosody-configuration} parameter} string component-interface"
  35708. msgstr ""
  35709. #. type: deftypevr
  35710. #: guix-git/doc/guix.texi:24177
  35711. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  35712. msgstr ""
  35713. #. type: deftypevr
  35714. #: guix-git/doc/guix.texi:24179
  35715. #, no-wrap
  35716. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  35717. msgstr ""
  35718. #. type: deftypevr
  35719. #: guix-git/doc/guix.texi:24181
  35720. msgid "Raw content that will be added to the configuration file."
  35721. msgstr ""
  35722. #. type: Plain text
  35723. #: guix-git/doc/guix.texi:24189
  35724. 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:"
  35725. msgstr ""
  35726. #. type: deftypevr
  35727. #: guix-git/doc/guix.texi:24190
  35728. #, no-wrap
  35729. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  35730. msgstr ""
  35731. #. type: deftypevr
  35732. #: guix-git/doc/guix.texi:24192
  35733. msgid "The prosody package."
  35734. msgstr ""
  35735. #. type: deftypevr
  35736. #: guix-git/doc/guix.texi:24194
  35737. #, no-wrap
  35738. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  35739. msgstr ""
  35740. #. type: deftypevr
  35741. #: guix-git/doc/guix.texi:24196
  35742. msgid "The contents of the @code{prosody.cfg.lua} to use."
  35743. msgstr ""
  35744. #. type: Plain text
  35745. #: guix-git/doc/guix.texi:24200
  35746. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  35747. msgstr ""
  35748. #. type: lisp
  35749. #: guix-git/doc/guix.texi:24205
  35750. #, no-wrap
  35751. msgid ""
  35752. "(service prosody-service-type\n"
  35753. " (opaque-prosody-configuration\n"
  35754. " (prosody.cfg.lua \"\")))\n"
  35755. msgstr ""
  35756. #. type: subsubheading
  35757. #: guix-git/doc/guix.texi:24209
  35758. #, no-wrap
  35759. msgid "BitlBee Service"
  35760. msgstr ""
  35761. #. type: cindex
  35762. #: guix-git/doc/guix.texi:24211 guix-git/doc/guix.texi:24255
  35763. #, no-wrap
  35764. msgid "IRC (Internet Relay Chat)"
  35765. msgstr ""
  35766. #. type: cindex
  35767. #: guix-git/doc/guix.texi:24212
  35768. #, no-wrap
  35769. msgid "IRC gateway"
  35770. msgstr ""
  35771. #. type: Plain text
  35772. #: guix-git/doc/guix.texi:24215
  35773. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  35774. msgstr ""
  35775. #. type: defvr
  35776. #: guix-git/doc/guix.texi:24216
  35777. #, no-wrap
  35778. msgid "{Scheme Variable} bitlbee-service-type"
  35779. msgstr ""
  35780. #. type: defvr
  35781. #: guix-git/doc/guix.texi:24220
  35782. 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)."
  35783. msgstr ""
  35784. #. type: defvr
  35785. #: guix-git/doc/guix.texi:24223
  35786. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  35787. msgstr ""
  35788. #. type: lisp
  35789. #: guix-git/doc/guix.texi:24226
  35790. #, no-wrap
  35791. msgid "(service bitlbee-service-type)\n"
  35792. msgstr ""
  35793. #. type: deftp
  35794. #: guix-git/doc/guix.texi:24229
  35795. #, no-wrap
  35796. msgid "{Data Type} bitlbee-configuration"
  35797. msgstr ""
  35798. #. type: deftp
  35799. #: guix-git/doc/guix.texi:24231
  35800. msgid "This is the configuration for BitlBee, with the following fields:"
  35801. msgstr ""
  35802. #. type: item
  35803. #: guix-git/doc/guix.texi:24233
  35804. #, no-wrap
  35805. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  35806. msgstr ""
  35807. #. type: itemx
  35808. #: guix-git/doc/guix.texi:24234
  35809. #, no-wrap
  35810. msgid "@code{port} (default: @code{6667})"
  35811. msgstr ""
  35812. #. type: table
  35813. #: guix-git/doc/guix.texi:24237
  35814. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  35815. msgstr ""
  35816. #. type: table
  35817. #: guix-git/doc/guix.texi:24241
  35818. 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."
  35819. msgstr ""
  35820. #. type: item
  35821. #: guix-git/doc/guix.texi:24242
  35822. #, no-wrap
  35823. msgid "@code{bitlbee} (default: @code{bitlbee})"
  35824. msgstr ""
  35825. #. type: table
  35826. #: guix-git/doc/guix.texi:24244
  35827. msgid "The BitlBee package to use."
  35828. msgstr ""
  35829. #. type: item
  35830. #: guix-git/doc/guix.texi:24245
  35831. #, no-wrap
  35832. msgid "@code{plugins} (default: @code{'()})"
  35833. msgstr ""
  35834. #. type: table
  35835. #: guix-git/doc/guix.texi:24247
  35836. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  35837. msgstr ""
  35838. #. type: table
  35839. #: guix-git/doc/guix.texi:24250
  35840. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  35841. msgstr ""
  35842. #. type: subsubheading
  35843. #: guix-git/doc/guix.texi:24253
  35844. #, no-wrap
  35845. msgid "Quassel Service"
  35846. msgstr ""
  35847. #. type: Plain text
  35848. #: guix-git/doc/guix.texi:24259
  35849. 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."
  35850. msgstr ""
  35851. #. type: defvr
  35852. #: guix-git/doc/guix.texi:24260
  35853. #, no-wrap
  35854. msgid "{Scheme Variable} quassel-service-type"
  35855. msgstr ""
  35856. #. type: defvr
  35857. #: guix-git/doc/guix.texi:24264
  35858. 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)."
  35859. msgstr ""
  35860. #. type: deftp
  35861. #: guix-git/doc/guix.texi:24266
  35862. #, no-wrap
  35863. msgid "{Data Type} quassel-configuration"
  35864. msgstr ""
  35865. #. type: deftp
  35866. #: guix-git/doc/guix.texi:24268
  35867. msgid "This is the configuration for Quassel, with the following fields:"
  35868. msgstr ""
  35869. #. type: item
  35870. #: guix-git/doc/guix.texi:24270
  35871. #, no-wrap
  35872. msgid "@code{quassel} (default: @code{quassel})"
  35873. msgstr ""
  35874. #. type: table
  35875. #: guix-git/doc/guix.texi:24272
  35876. msgid "The Quassel package to use."
  35877. msgstr ""
  35878. #. type: item
  35879. #: guix-git/doc/guix.texi:24273
  35880. #, no-wrap
  35881. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  35882. msgstr ""
  35883. #. type: item
  35884. #: guix-git/doc/guix.texi:24274
  35885. #, no-wrap
  35886. msgid "@code{port} (default: @code{4242})"
  35887. msgstr ""
  35888. #. type: table
  35889. #: guix-git/doc/guix.texi:24278
  35890. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  35891. msgstr ""
  35892. #. type: item
  35893. #: guix-git/doc/guix.texi:24279
  35894. #, no-wrap
  35895. msgid "@code{loglevel} (default: @code{\"Info\"})"
  35896. msgstr ""
  35897. #. type: table
  35898. #: guix-git/doc/guix.texi:24282
  35899. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  35900. msgstr ""
  35901. #. type: cindex
  35902. #: guix-git/doc/guix.texi:24288
  35903. #, no-wrap
  35904. msgid "telephony, services"
  35905. msgstr ""
  35906. #. type: Plain text
  35907. #: guix-git/doc/guix.texi:24292
  35908. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  35909. msgstr ""
  35910. #. type: subsubheading
  35911. #: guix-git/doc/guix.texi:24293
  35912. #, no-wrap
  35913. msgid "Jami"
  35914. msgstr ""
  35915. #. type: cindex
  35916. #: guix-git/doc/guix.texi:24295
  35917. #, no-wrap
  35918. msgid "jami, service"
  35919. msgstr ""
  35920. #. type: Plain text
  35921. #: guix-git/doc/guix.texi:24301
  35922. 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:"
  35923. msgstr ""
  35924. #. type: lisp
  35925. #: guix-git/doc/guix.texi:24310
  35926. #, no-wrap
  35927. msgid ""
  35928. "(service jami-service-type\n"
  35929. " (jami-configuration\n"
  35930. " (accounts\n"
  35931. " (list (jami-account\n"
  35932. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  35933. " (jami-account\n"
  35934. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  35935. msgstr ""
  35936. #. type: Plain text
  35937. #: guix-git/doc/guix.texi:24315
  35938. 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."
  35939. msgstr ""
  35940. #. type: Plain text
  35941. #: guix-git/doc/guix.texi:24320
  35942. msgid "Jami accounts and their corresponding backup archives can be generated using the @code{jami} or @code{jami-gnome} Jami clients. The accounts should not be password-protected, but it is wise to ensure their files are only readable by @samp{root}."
  35943. msgstr ""
  35944. #. type: Plain text
  35945. #: guix-git/doc/guix.texi:24323
  35946. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  35947. msgstr ""
  35948. #. type: lisp
  35949. #: guix-git/doc/guix.texi:24335
  35950. #, no-wrap
  35951. msgid ""
  35952. "(service jami-service-type\n"
  35953. " (jami-configuration\n"
  35954. " (accounts\n"
  35955. " (list (jami-account\n"
  35956. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  35957. " (peer-discovery? #t)\n"
  35958. " (rendezvous-point? #t)\n"
  35959. " (allowed-contacts\n"
  35960. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  35961. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  35962. msgstr ""
  35963. #. type: Plain text
  35964. #: guix-git/doc/guix.texi:24341
  35965. 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."
  35966. msgstr ""
  35967. #. type: Plain text
  35968. #: guix-git/doc/guix.texi:24344
  35969. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  35970. msgstr ""
  35971. #. type: example
  35972. #: guix-git/doc/guix.texi:24356
  35973. #, no-wrap
  35974. msgid ""
  35975. "# herd doc jami list-actions\n"
  35976. "(list-accounts\n"
  35977. " list-account-details\n"
  35978. " list-banned-contacts\n"
  35979. " list-contacts\n"
  35980. " list-moderators\n"
  35981. " add-moderator\n"
  35982. " ban-contact\n"
  35983. " enable-account\n"
  35984. " disable-account)\n"
  35985. msgstr ""
  35986. #. type: Plain text
  35987. #: guix-git/doc/guix.texi:24363
  35988. 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."
  35989. msgstr ""
  35990. #. type: Plain text
  35991. #: guix-git/doc/guix.texi:24369
  35992. 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:"
  35993. msgstr ""
  35994. #. type: example
  35995. #: guix-git/doc/guix.texi:24373
  35996. #, no-wrap
  35997. msgid ""
  35998. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  35999. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36000. "\n"
  36001. msgstr ""
  36002. #. type: example
  36003. #: guix-git/doc/guix.texi:24377
  36004. #, no-wrap
  36005. msgid ""
  36006. "# herd list-moderators jami\n"
  36007. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36008. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36009. "\n"
  36010. msgstr ""
  36011. #. type: Plain text
  36012. #: guix-git/doc/guix.texi:24382
  36013. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  36014. msgstr ""
  36015. #. type: example
  36016. #: guix-git/doc/guix.texi:24385
  36017. #, no-wrap
  36018. msgid ""
  36019. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36020. "\n"
  36021. msgstr ""
  36022. #. type: example
  36023. #: guix-git/doc/guix.texi:24389
  36024. #, no-wrap
  36025. msgid ""
  36026. "# herd list-banned-contacts jami\n"
  36027. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36028. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36029. "\n"
  36030. msgstr ""
  36031. #. type: Plain text
  36032. #: guix-git/doc/guix.texi:24393
  36033. msgid "Banned contacts are also stripped from their moderation privileges."
  36034. msgstr ""
  36035. #. type: Plain text
  36036. #: guix-git/doc/guix.texi:24398
  36037. 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:"
  36038. msgstr ""
  36039. #. type: example
  36040. #: guix-git/doc/guix.texi:24401
  36041. #, no-wrap
  36042. msgid ""
  36043. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36044. "\n"
  36045. msgstr ""
  36046. #. type: example
  36047. #: guix-git/doc/guix.texi:24405
  36048. #, no-wrap
  36049. msgid ""
  36050. "# herd list-accounts jami\n"
  36051. "The following Jami accounts are available:\n"
  36052. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  36053. "\n"
  36054. msgstr ""
  36055. #. type: Plain text
  36056. #: guix-git/doc/guix.texi:24416
  36057. 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:"
  36058. msgstr ""
  36059. #. type: example
  36060. #: guix-git/doc/guix.texi:24421
  36061. #, no-wrap
  36062. msgid ""
  36063. "# herd list-account-details jami | \\\n"
  36064. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  36065. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36066. msgstr ""
  36067. #. type: Plain text
  36068. #: guix-git/doc/guix.texi:24424
  36069. msgid "The remaining actions should be self-explanatory."
  36070. msgstr ""
  36071. #. type: Plain text
  36072. #: guix-git/doc/guix.texi:24426
  36073. msgid "The complete set of available configuration options is detailed below."
  36074. msgstr ""
  36075. #. type: deftp
  36076. #: guix-git/doc/guix.texi:24430
  36077. #, no-wrap
  36078. msgid "{Data Type} jami-configuration"
  36079. msgstr ""
  36080. #. type: deftp
  36081. #: guix-git/doc/guix.texi:24432
  36082. msgid "Available @code{jami-configuration} fields are:"
  36083. msgstr ""
  36084. #. type: item
  36085. #: guix-git/doc/guix.texi:24434
  36086. #, no-wrap
  36087. msgid "@code{jamid} (default: @code{libjami}) (type: package)"
  36088. msgstr ""
  36089. #. type: table
  36090. #: guix-git/doc/guix.texi:24436
  36091. msgid "The Jami daemon package to use."
  36092. msgstr ""
  36093. #. type: item
  36094. #: guix-git/doc/guix.texi:24437
  36095. #, no-wrap
  36096. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  36097. msgstr ""
  36098. #. type: table
  36099. #: guix-git/doc/guix.texi:24439
  36100. msgid "The D-Bus package to use to start the required D-Bus session."
  36101. msgstr ""
  36102. #. type: item
  36103. #: guix-git/doc/guix.texi:24440
  36104. #, no-wrap
  36105. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  36106. msgstr ""
  36107. #. type: table
  36108. #: guix-git/doc/guix.texi:24442
  36109. msgid "The nss-certs package to use to provide TLS certificates."
  36110. msgstr ""
  36111. #. type: item
  36112. #: guix-git/doc/guix.texi:24443
  36113. #, no-wrap
  36114. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  36115. msgstr ""
  36116. #. type: table
  36117. #: guix-git/doc/guix.texi:24445
  36118. msgid "Whether to enable logging to syslog."
  36119. msgstr ""
  36120. #. type: item
  36121. #: guix-git/doc/guix.texi:24446
  36122. #, no-wrap
  36123. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  36124. msgstr ""
  36125. #. type: table
  36126. #: guix-git/doc/guix.texi:24448
  36127. msgid "Whether to enable debug level messages."
  36128. msgstr ""
  36129. #. type: item
  36130. #: guix-git/doc/guix.texi:24449
  36131. #, no-wrap
  36132. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  36133. msgstr ""
  36134. #. type: table
  36135. #: guix-git/doc/guix.texi:24451
  36136. msgid "Whether to force automatic answer to incoming calls."
  36137. msgstr ""
  36138. #. type: item
  36139. #: guix-git/doc/guix.texi:24452
  36140. #, no-wrap
  36141. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  36142. msgstr ""
  36143. #. type: table
  36144. #: guix-git/doc/guix.texi:24457
  36145. 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."
  36146. msgstr ""
  36147. #. type: deftp
  36148. #: guix-git/doc/guix.texi:24463
  36149. #, no-wrap
  36150. msgid "{Data Type} jami-account"
  36151. msgstr ""
  36152. #. type: deftp
  36153. #: guix-git/doc/guix.texi:24465
  36154. msgid "Available @code{jami-account} fields are:"
  36155. msgstr ""
  36156. #. type: item
  36157. #: guix-git/doc/guix.texi:24467
  36158. #, no-wrap
  36159. msgid "@code{archive} (type: string-or-computed-file)"
  36160. msgstr ""
  36161. #. type: table
  36162. #: guix-git/doc/guix.texi:24473
  36163. 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."
  36164. msgstr ""
  36165. #. type: item
  36166. #: guix-git/doc/guix.texi:24474
  36167. #, no-wrap
  36168. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36169. msgstr ""
  36170. #. type: table
  36171. #: guix-git/doc/guix.texi:24481
  36172. 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."
  36173. msgstr ""
  36174. #. type: item
  36175. #: guix-git/doc/guix.texi:24482
  36176. #, no-wrap
  36177. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36178. msgstr ""
  36179. #. type: table
  36180. #: guix-git/doc/guix.texi:24488
  36181. 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."
  36182. msgstr ""
  36183. #. type: item
  36184. #: guix-git/doc/guix.texi:24489
  36185. #, no-wrap
  36186. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  36187. msgstr ""
  36188. #. type: table
  36189. #: guix-git/doc/guix.texi:24493
  36190. 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."
  36191. msgstr ""
  36192. #. type: item
  36193. #: guix-git/doc/guix.texi:24494
  36194. #, no-wrap
  36195. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  36196. msgstr ""
  36197. #. type: table
  36198. #: guix-git/doc/guix.texi:24500
  36199. 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."
  36200. msgstr ""
  36201. #. type: item
  36202. #: guix-git/doc/guix.texi:24501
  36203. #, no-wrap
  36204. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  36205. msgstr ""
  36206. #. type: table
  36207. #: guix-git/doc/guix.texi:24505
  36208. 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."
  36209. msgstr ""
  36210. #. type: item
  36211. #: guix-git/doc/guix.texi:24506
  36212. #, no-wrap
  36213. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  36214. msgstr ""
  36215. #. type: table
  36216. #: guix-git/doc/guix.texi:24509
  36217. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  36218. msgstr ""
  36219. #. type: cindex
  36220. #: guix-git/doc/guix.texi:24514 guix-git/doc/guix.texi:24516
  36221. #, no-wrap
  36222. msgid "Murmur (VoIP server)"
  36223. msgstr ""
  36224. #. type: cindex
  36225. #: guix-git/doc/guix.texi:24517
  36226. #, no-wrap
  36227. msgid "VoIP server"
  36228. msgstr ""
  36229. #. type: Plain text
  36230. #: guix-git/doc/guix.texi:24521
  36231. 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."
  36232. msgstr ""
  36233. #. type: deftp
  36234. #: guix-git/doc/guix.texi:24522
  36235. #, no-wrap
  36236. msgid "{Data Type} murmur-configuration"
  36237. msgstr ""
  36238. #. type: deftp
  36239. #: guix-git/doc/guix.texi:24525
  36240. msgid "The service type for the Murmur server. An example configuration can look like this:"
  36241. msgstr ""
  36242. #. type: lisp
  36243. #: guix-git/doc/guix.texi:24534
  36244. #, no-wrap
  36245. msgid ""
  36246. "(service murmur-service-type\n"
  36247. " (murmur-configuration\n"
  36248. " (welcome-text\n"
  36249. " \"Welcome to this Mumble server running on Guix!\")\n"
  36250. " (cert-required? #t) ;disallow text password logins\n"
  36251. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  36252. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  36253. msgstr ""
  36254. #. type: deftp
  36255. #: guix-git/doc/guix.texi:24538
  36256. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  36257. msgstr ""
  36258. #. type: deftp
  36259. #: guix-git/doc/guix.texi:24547
  36260. 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."
  36261. msgstr ""
  36262. #. type: deftp
  36263. #: guix-git/doc/guix.texi:24549
  36264. msgid "Available @code{murmur-configuration} fields are:"
  36265. msgstr ""
  36266. #. type: item
  36267. #: guix-git/doc/guix.texi:24551
  36268. #, no-wrap
  36269. msgid "@code{package} (default: @code{mumble})"
  36270. msgstr ""
  36271. #. type: table
  36272. #: guix-git/doc/guix.texi:24553
  36273. msgid "Package that contains @code{bin/murmurd}."
  36274. msgstr ""
  36275. #. type: item
  36276. #: guix-git/doc/guix.texi:24554
  36277. #, no-wrap
  36278. msgid "@code{user} (default: @code{\"murmur\"})"
  36279. msgstr ""
  36280. #. type: table
  36281. #: guix-git/doc/guix.texi:24556
  36282. msgid "User who will run the Murmur server."
  36283. msgstr ""
  36284. #. type: item
  36285. #: guix-git/doc/guix.texi:24557
  36286. #, no-wrap
  36287. msgid "@code{group} (default: @code{\"murmur\"})"
  36288. msgstr ""
  36289. #. type: table
  36290. #: guix-git/doc/guix.texi:24559
  36291. msgid "Group of the user who will run the murmur server."
  36292. msgstr ""
  36293. #. type: item
  36294. #: guix-git/doc/guix.texi:24560
  36295. #, no-wrap
  36296. msgid "@code{port} (default: @code{64738})"
  36297. msgstr ""
  36298. #. type: table
  36299. #: guix-git/doc/guix.texi:24562
  36300. msgid "Port on which the server will listen."
  36301. msgstr ""
  36302. #. type: item
  36303. #: guix-git/doc/guix.texi:24563
  36304. #, no-wrap
  36305. msgid "@code{welcome-text} (default: @code{\"\"})"
  36306. msgstr ""
  36307. #. type: table
  36308. #: guix-git/doc/guix.texi:24565
  36309. msgid "Welcome text sent to clients when they connect."
  36310. msgstr ""
  36311. #. type: item
  36312. #: guix-git/doc/guix.texi:24566
  36313. #, no-wrap
  36314. msgid "@code{server-password} (default: @code{\"\"})"
  36315. msgstr ""
  36316. #. type: table
  36317. #: guix-git/doc/guix.texi:24568
  36318. msgid "Password the clients have to enter in order to connect."
  36319. msgstr ""
  36320. #. type: item
  36321. #: guix-git/doc/guix.texi:24569
  36322. #, no-wrap
  36323. msgid "@code{max-users} (default: @code{100})"
  36324. msgstr ""
  36325. #. type: table
  36326. #: guix-git/doc/guix.texi:24571
  36327. msgid "Maximum of users that can be connected to the server at once."
  36328. msgstr ""
  36329. #. type: item
  36330. #: guix-git/doc/guix.texi:24572
  36331. #, no-wrap
  36332. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  36333. msgstr ""
  36334. #. type: table
  36335. #: guix-git/doc/guix.texi:24574
  36336. msgid "Maximum voice traffic a user can send per second."
  36337. msgstr ""
  36338. #. type: item
  36339. #: guix-git/doc/guix.texi:24575
  36340. #, no-wrap
  36341. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  36342. msgstr ""
  36343. #. type: table
  36344. #: guix-git/doc/guix.texi:24578
  36345. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  36346. msgstr ""
  36347. #. type: item
  36348. #: guix-git/doc/guix.texi:24579
  36349. #, no-wrap
  36350. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  36351. msgstr ""
  36352. #. type: table
  36353. #: guix-git/doc/guix.texi:24582
  36354. msgid "File name of the log file. The service's user will become the owner of the directory."
  36355. msgstr ""
  36356. #. type: item
  36357. #: guix-git/doc/guix.texi:24583
  36358. #, no-wrap
  36359. msgid "@code{autoban-attempts} (default: @code{10})"
  36360. msgstr ""
  36361. #. type: table
  36362. #: guix-git/doc/guix.texi:24586
  36363. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  36364. msgstr ""
  36365. #. type: item
  36366. #: guix-git/doc/guix.texi:24587
  36367. #, no-wrap
  36368. msgid "@code{autoban-timeframe} (default: @code{120})"
  36369. msgstr ""
  36370. #. type: table
  36371. #: guix-git/doc/guix.texi:24589
  36372. msgid "Timeframe for autoban in seconds."
  36373. msgstr ""
  36374. #. type: item
  36375. #: guix-git/doc/guix.texi:24590
  36376. #, no-wrap
  36377. msgid "@code{autoban-time} (default: @code{300})"
  36378. msgstr ""
  36379. #. type: table
  36380. #: guix-git/doc/guix.texi:24593
  36381. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  36382. msgstr ""
  36383. #. type: item
  36384. #: guix-git/doc/guix.texi:24594
  36385. #, no-wrap
  36386. msgid "@code{opus-threshold} (default: @code{100})"
  36387. msgstr ""
  36388. #. type: table
  36389. #: guix-git/doc/guix.texi:24597
  36390. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  36391. msgstr ""
  36392. #. type: item
  36393. #: guix-git/doc/guix.texi:24598
  36394. #, no-wrap
  36395. msgid "@code{channel-nesting-limit} (default: @code{10})"
  36396. msgstr ""
  36397. #. type: table
  36398. #: guix-git/doc/guix.texi:24600
  36399. msgid "How deep channels can be nested at maximum."
  36400. msgstr ""
  36401. #. type: item
  36402. #: guix-git/doc/guix.texi:24601
  36403. #, no-wrap
  36404. msgid "@code{channelname-regex} (default: @code{#f})"
  36405. msgstr ""
  36406. #. type: table
  36407. #: guix-git/doc/guix.texi:24603
  36408. msgid "A string in form of a Qt regular expression that channel names must conform to."
  36409. msgstr ""
  36410. #. type: item
  36411. #: guix-git/doc/guix.texi:24604
  36412. #, no-wrap
  36413. msgid "@code{username-regex} (default: @code{#f})"
  36414. msgstr ""
  36415. #. type: table
  36416. #: guix-git/doc/guix.texi:24606
  36417. msgid "A string in form of a Qt regular expression that user names must conform to."
  36418. msgstr ""
  36419. #. type: item
  36420. #: guix-git/doc/guix.texi:24607
  36421. #, no-wrap
  36422. msgid "@code{text-message-length} (default: @code{5000})"
  36423. msgstr ""
  36424. #. type: table
  36425. #: guix-git/doc/guix.texi:24609
  36426. msgid "Maximum size in bytes that a user can send in one text chat message."
  36427. msgstr ""
  36428. #. type: item
  36429. #: guix-git/doc/guix.texi:24610
  36430. #, no-wrap
  36431. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  36432. msgstr ""
  36433. #. type: table
  36434. #: guix-git/doc/guix.texi:24612
  36435. msgid "Maximum size in bytes that a user can send in one image message."
  36436. msgstr ""
  36437. #. type: item
  36438. #: guix-git/doc/guix.texi:24613
  36439. #, no-wrap
  36440. msgid "@code{cert-required?} (default: @code{#f})"
  36441. msgstr ""
  36442. #. type: table
  36443. #: guix-git/doc/guix.texi:24616
  36444. 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."
  36445. msgstr ""
  36446. #. type: item
  36447. #: guix-git/doc/guix.texi:24617
  36448. #, no-wrap
  36449. msgid "@code{remember-channel?} (default: @code{#f})"
  36450. msgstr ""
  36451. #. type: table
  36452. #: guix-git/doc/guix.texi:24620
  36453. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  36454. msgstr ""
  36455. #. type: item
  36456. #: guix-git/doc/guix.texi:24621
  36457. #, no-wrap
  36458. msgid "@code{allow-html?} (default: @code{#f})"
  36459. msgstr ""
  36460. #. type: table
  36461. #: guix-git/doc/guix.texi:24623
  36462. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  36463. msgstr ""
  36464. #. type: item
  36465. #: guix-git/doc/guix.texi:24624
  36466. #, no-wrap
  36467. msgid "@code{allow-ping?} (default: @code{#f})"
  36468. msgstr ""
  36469. #. type: table
  36470. #: guix-git/doc/guix.texi:24628
  36471. 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."
  36472. msgstr ""
  36473. #. type: table
  36474. #: guix-git/doc/guix.texi:24630
  36475. msgid "Disabling this setting will prevent public listing of the server."
  36476. msgstr ""
  36477. #. type: item
  36478. #: guix-git/doc/guix.texi:24631
  36479. #, no-wrap
  36480. msgid "@code{bonjour?} (default: @code{#f})"
  36481. msgstr ""
  36482. #. type: table
  36483. #: guix-git/doc/guix.texi:24633
  36484. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  36485. msgstr ""
  36486. #. type: item
  36487. #: guix-git/doc/guix.texi:24634
  36488. #, no-wrap
  36489. msgid "@code{send-version?} (default: @code{#f})"
  36490. msgstr ""
  36491. #. type: table
  36492. #: guix-git/doc/guix.texi:24636
  36493. msgid "Should the murmur server version be exposed in ping requests."
  36494. msgstr ""
  36495. #. type: item
  36496. #: guix-git/doc/guix.texi:24637
  36497. #, no-wrap
  36498. msgid "@code{log-days} (default: @code{31})"
  36499. msgstr ""
  36500. #. type: table
  36501. #: guix-git/doc/guix.texi:24641
  36502. 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."
  36503. msgstr ""
  36504. #. type: item
  36505. #: guix-git/doc/guix.texi:24642
  36506. #, no-wrap
  36507. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  36508. msgstr ""
  36509. #. type: table
  36510. #: guix-git/doc/guix.texi:24644
  36511. msgid "Should logged ips be obfuscated to protect the privacy of users."
  36512. msgstr ""
  36513. #. type: item
  36514. #: guix-git/doc/guix.texi:24645
  36515. #, no-wrap
  36516. msgid "@code{ssl-cert} (default: @code{#f})"
  36517. msgstr ""
  36518. #. type: table
  36519. #: guix-git/doc/guix.texi:24647
  36520. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  36521. msgstr ""
  36522. #. type: lisp
  36523. #: guix-git/doc/guix.texi:24650
  36524. #, no-wrap
  36525. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  36526. msgstr ""
  36527. #. type: item
  36528. #: guix-git/doc/guix.texi:24651
  36529. #, no-wrap
  36530. msgid "@code{ssl-key} (default: @code{#f})"
  36531. msgstr ""
  36532. #. type: table
  36533. #: guix-git/doc/guix.texi:24653
  36534. msgid "Filepath to the ssl private key used for encrypted connections."
  36535. msgstr ""
  36536. #. type: lisp
  36537. #: guix-git/doc/guix.texi:24655
  36538. #, no-wrap
  36539. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  36540. msgstr ""
  36541. #. type: item
  36542. #: guix-git/doc/guix.texi:24657
  36543. #, no-wrap
  36544. msgid "@code{ssl-dh-params} (default: @code{#f})"
  36545. msgstr ""
  36546. #. type: table
  36547. #: guix-git/doc/guix.texi:24662
  36548. 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."
  36549. msgstr ""
  36550. #. type: item
  36551. #: guix-git/doc/guix.texi:24663
  36552. #, no-wrap
  36553. msgid "@code{ssl-ciphers} (default: @code{#f})"
  36554. msgstr ""
  36555. #. type: table
  36556. #: guix-git/doc/guix.texi:24666
  36557. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  36558. msgstr ""
  36559. #. type: table
  36560. #: guix-git/doc/guix.texi:24670
  36561. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  36562. msgstr ""
  36563. #. type: table
  36564. #: guix-git/doc/guix.texi:24675
  36565. 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."
  36566. msgstr ""
  36567. #. type: table
  36568. #: guix-git/doc/guix.texi:24679
  36569. 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."
  36570. msgstr ""
  36571. #. type: item
  36572. #: guix-git/doc/guix.texi:24680
  36573. #, no-wrap
  36574. msgid "@code{public-registration} (default: @code{#f})"
  36575. msgstr ""
  36576. #. type: table
  36577. #: guix-git/doc/guix.texi:24682
  36578. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  36579. msgstr ""
  36580. #. type: table
  36581. #: guix-git/doc/guix.texi:24687
  36582. 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}."
  36583. msgstr ""
  36584. #. type: table
  36585. #: guix-git/doc/guix.texi:24689
  36586. msgid "It might take a few hours until it shows up in the public list."
  36587. msgstr ""
  36588. #. type: item
  36589. #: guix-git/doc/guix.texi:24690 guix-git/doc/guix.texi:26837
  36590. #, no-wrap
  36591. msgid "@code{file} (default: @code{#f})"
  36592. msgstr ""
  36593. #. type: table
  36594. #: guix-git/doc/guix.texi:24692
  36595. msgid "Optional alternative override for this configuration."
  36596. msgstr ""
  36597. #. type: deftp
  36598. #: guix-git/doc/guix.texi:24695
  36599. #, no-wrap
  36600. msgid "{Data Type} murmur-public-registration-configuration"
  36601. msgstr ""
  36602. #. type: deftp
  36603. #: guix-git/doc/guix.texi:24697
  36604. msgid "Configuration for public registration of a murmur service."
  36605. msgstr ""
  36606. #. type: table
  36607. #: guix-git/doc/guix.texi:24701
  36608. msgid "This is a display name for your server. Not to be confused with the hostname."
  36609. msgstr ""
  36610. #. type: itemx
  36611. #: guix-git/doc/guix.texi:24702 guix-git/doc/guix.texi:33600
  36612. #: guix-git/doc/guix.texi:34857
  36613. #, no-wrap
  36614. msgid "password"
  36615. msgstr ""
  36616. #. type: table
  36617. #: guix-git/doc/guix.texi:24705
  36618. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  36619. msgstr ""
  36620. #. type: table
  36621. #: guix-git/doc/guix.texi:24709
  36622. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  36623. msgstr ""
  36624. #. type: item
  36625. #: guix-git/doc/guix.texi:24710 guix-git/doc/guix.texi:27725
  36626. #, no-wrap
  36627. msgid "@code{hostname} (default: @code{#f})"
  36628. msgstr ""
  36629. #. type: table
  36630. #: guix-git/doc/guix.texi:24713
  36631. 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."
  36632. msgstr ""
  36633. #. type: Plain text
  36634. #: guix-git/doc/guix.texi:24723
  36635. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  36636. msgstr ""
  36637. #. type: subsubheading
  36638. #: guix-git/doc/guix.texi:24724
  36639. #, no-wrap
  36640. msgid "Transmission Daemon Service"
  36641. msgstr ""
  36642. #. type: Plain text
  36643. #: guix-git/doc/guix.texi:24732
  36644. 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."
  36645. msgstr ""
  36646. #. type: deffn
  36647. #: guix-git/doc/guix.texi:24733
  36648. #, no-wrap
  36649. msgid "{Scheme Variable} transmission-daemon-service-type"
  36650. msgstr ""
  36651. #. type: deffn
  36652. #: guix-git/doc/guix.texi:24737
  36653. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  36654. msgstr ""
  36655. #. type: lisp
  36656. #: guix-git/doc/guix.texi:24748
  36657. #, no-wrap
  36658. msgid ""
  36659. "(service transmission-daemon-service-type\n"
  36660. " (transmission-daemon-configuration\n"
  36661. " ;; Restrict access to the RPC (\"control\") interface\n"
  36662. " (rpc-authentication-required? #t)\n"
  36663. " (rpc-username \"transmission\")\n"
  36664. " (rpc-password\n"
  36665. " (transmission-password-hash\n"
  36666. " \"transmission\" ; desired password\n"
  36667. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  36668. "\n"
  36669. msgstr ""
  36670. #. type: lisp
  36671. #: guix-git/doc/guix.texi:24753
  36672. #, no-wrap
  36673. msgid ""
  36674. " ;; Accept requests from this and other hosts on the\n"
  36675. " ;; local network\n"
  36676. " (rpc-whitelist-enabled? #t)\n"
  36677. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  36678. "\n"
  36679. msgstr ""
  36680. #. type: lisp
  36681. #: guix-git/doc/guix.texi:24757
  36682. #, no-wrap
  36683. msgid ""
  36684. " ;; Limit bandwidth use during work hours\n"
  36685. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  36686. " (alt-speed-up 512) ; 512 kB/s\n"
  36687. "\n"
  36688. msgstr ""
  36689. #. type: lisp
  36690. #: guix-git/doc/guix.texi:24764
  36691. #, no-wrap
  36692. msgid ""
  36693. " (alt-speed-time-enabled? #t)\n"
  36694. " (alt-speed-time-day 'weekdays)\n"
  36695. " (alt-speed-time-begin\n"
  36696. " (+ (* 60 8) 30)) ; 8:30 am\n"
  36697. " (alt-speed-time-end\n"
  36698. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  36699. msgstr ""
  36700. #. type: Plain text
  36701. #: guix-git/doc/guix.texi:24777
  36702. 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."
  36703. msgstr ""
  36704. #. type: Plain text
  36705. #: guix-git/doc/guix.texi:24785
  36706. 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."
  36707. msgstr ""
  36708. #. type: deffn
  36709. #: guix-git/doc/guix.texi:24786
  36710. #, no-wrap
  36711. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  36712. msgstr ""
  36713. #. type: deffn
  36714. #: guix-git/doc/guix.texi:24790
  36715. 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."
  36716. msgstr ""
  36717. #. type: deffn
  36718. #: guix-git/doc/guix.texi:24794
  36719. 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."
  36720. msgstr ""
  36721. #. type: deffn
  36722. #: guix-git/doc/guix.texi:24796
  36723. #, no-wrap
  36724. msgid "{Scheme Procedure} transmission-random-salt"
  36725. msgstr ""
  36726. #. type: deffn
  36727. #: guix-git/doc/guix.texi:24800
  36728. 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."
  36729. msgstr ""
  36730. #. type: Plain text
  36731. #: guix-git/doc/guix.texi:24806
  36732. 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:"
  36733. msgstr ""
  36734. #. type: example
  36735. #: guix-git/doc/guix.texi:24812
  36736. #, no-wrap
  36737. msgid ""
  36738. "$ guix repl\n"
  36739. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  36740. "scheme@@(guix-user)> (transmission-random-salt)\n"
  36741. "$1 = \"uKd1uMs9\"\n"
  36742. msgstr ""
  36743. #. type: Plain text
  36744. #: guix-git/doc/guix.texi:24815
  36745. msgid "Alternatively, a complete password hash can generated in a single step:"
  36746. msgstr ""
  36747. #. type: example
  36748. #: guix-git/doc/guix.texi:24820
  36749. #, no-wrap
  36750. msgid ""
  36751. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  36752. "(transmission-random-salt))\n"
  36753. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  36754. msgstr ""
  36755. #. type: Plain text
  36756. #: guix-git/doc/guix.texi:24825
  36757. 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."
  36758. msgstr ""
  36759. #. type: Plain text
  36760. #: guix-git/doc/guix.texi:24834
  36761. 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."
  36762. msgstr ""
  36763. #. type: Plain text
  36764. #: guix-git/doc/guix.texi:24841
  36765. 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.)"
  36766. msgstr ""
  36767. #. type: Plain text
  36768. #: guix-git/doc/guix.texi:24846
  36769. 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:"
  36770. msgstr ""
  36771. #. type: example
  36772. #: guix-git/doc/guix.texi:24849
  36773. #, no-wrap
  36774. msgid "# herd reload transmission-daemon\n"
  36775. msgstr ""
  36776. #. type: Plain text
  36777. #: guix-git/doc/guix.texi:24853
  36778. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  36779. msgstr ""
  36780. #. type: deftp
  36781. #: guix-git/doc/guix.texi:24854
  36782. #, no-wrap
  36783. msgid "{Data Type} transmission-daemon-configuration"
  36784. msgstr ""
  36785. #. type: deftp
  36786. #: guix-git/doc/guix.texi:24858
  36787. 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."
  36788. msgstr ""
  36789. #. type: Plain text
  36790. #: guix-git/doc/guix.texi:24872
  36791. msgid "Available @code{transmission-daemon-configuration} fields are:"
  36792. msgstr ""
  36793. #. type: deftypevr
  36794. #: guix-git/doc/guix.texi:24873
  36795. #, no-wrap
  36796. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  36797. msgstr ""
  36798. #. type: deftypevr
  36799. #: guix-git/doc/guix.texi:24875
  36800. msgid "The Transmission package to use."
  36801. msgstr ""
  36802. #. type: deftypevr
  36803. #: guix-git/doc/guix.texi:24878
  36804. #, no-wrap
  36805. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  36806. msgstr ""
  36807. #. type: deftypevr
  36808. #: guix-git/doc/guix.texi:24884
  36809. 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."
  36810. msgstr ""
  36811. #. type: deftypevr
  36812. #: guix-git/doc/guix.texi:24886 guix-git/doc/guix.texi:25258
  36813. #: guix-git/doc/guix.texi:32566 guix-git/doc/guix.texi:32801
  36814. #: guix-git/doc/guix.texi:32809 guix-git/doc/guix.texi:32817
  36815. msgid "Defaults to @samp{10}."
  36816. msgstr ""
  36817. #. type: deftypevr
  36818. #: guix-git/doc/guix.texi:24889
  36819. #, no-wrap
  36820. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  36821. msgstr ""
  36822. #. type: deftypevr
  36823. #: guix-git/doc/guix.texi:24891
  36824. msgid "The directory to which torrent files are downloaded."
  36825. msgstr ""
  36826. #. type: deftypevr
  36827. #: guix-git/doc/guix.texi:24893
  36828. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  36829. msgstr ""
  36830. #. type: deftypevr
  36831. #: guix-git/doc/guix.texi:24896
  36832. #, no-wrap
  36833. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  36834. msgstr ""
  36835. #. type: deftypevr
  36836. #: guix-git/doc/guix.texi:24901
  36837. 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}."
  36838. msgstr ""
  36839. #. type: deftypevr
  36840. #: guix-git/doc/guix.texi:24906
  36841. #, no-wrap
  36842. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  36843. msgstr ""
  36844. #. type: deftypevr
  36845. #: guix-git/doc/guix.texi:24909
  36846. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  36847. msgstr ""
  36848. #. type: deftypevr
  36849. #: guix-git/doc/guix.texi:24914
  36850. #, no-wrap
  36851. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  36852. msgstr ""
  36853. #. type: deftypevr
  36854. #: guix-git/doc/guix.texi:24917
  36855. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  36856. msgstr ""
  36857. #. type: deftypevr
  36858. #: guix-git/doc/guix.texi:24919
  36859. msgid "Defaults to @samp{18}."
  36860. msgstr ""
  36861. #. type: deftypevr
  36862. #: guix-git/doc/guix.texi:24922
  36863. #, no-wrap
  36864. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  36865. msgstr ""
  36866. #. type: deftypevr
  36867. #: guix-git/doc/guix.texi:24925
  36868. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  36869. msgstr ""
  36870. #. type: deftypevr
  36871. #: guix-git/doc/guix.texi:24930
  36872. #, no-wrap
  36873. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  36874. msgstr ""
  36875. #. type: deftypevr
  36876. #: guix-git/doc/guix.texi:24935
  36877. 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."
  36878. msgstr ""
  36879. #. type: deftypevr
  36880. #: guix-git/doc/guix.texi:24937
  36881. msgid "Defaults to @samp{fast}."
  36882. msgstr ""
  36883. #. type: deftypevr
  36884. #: guix-git/doc/guix.texi:24940
  36885. #, no-wrap
  36886. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  36887. msgstr ""
  36888. #. type: deftypevr
  36889. #: guix-git/doc/guix.texi:24945
  36890. 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})."
  36891. msgstr ""
  36892. #. type: deftypevr
  36893. #: guix-git/doc/guix.texi:24950
  36894. #, no-wrap
  36895. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  36896. msgstr ""
  36897. #. type: deftypevr
  36898. #: guix-git/doc/guix.texi:24953
  36899. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  36900. msgstr ""
  36901. #. type: deftypevr
  36902. #: guix-git/doc/guix.texi:24958
  36903. #, no-wrap
  36904. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  36905. msgstr ""
  36906. #. type: deftypevr
  36907. #: guix-git/doc/guix.texi:24962
  36908. 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?})."
  36909. msgstr ""
  36910. #. type: deftypevr
  36911. #: guix-git/doc/guix.texi:24967
  36912. #, no-wrap
  36913. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  36914. msgstr ""
  36915. #. type: deftypevr
  36916. #: guix-git/doc/guix.texi:24970
  36917. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  36918. msgstr ""
  36919. #. type: deftypevr
  36920. #: guix-git/doc/guix.texi:24975
  36921. #, no-wrap
  36922. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  36923. msgstr ""
  36924. #. type: deftypevr
  36925. #: guix-git/doc/guix.texi:24977
  36926. msgid "The default global-maximum download speed, in kilobytes per second."
  36927. msgstr ""
  36928. #. type: deftypevr
  36929. #: guix-git/doc/guix.texi:24982
  36930. #, no-wrap
  36931. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  36932. msgstr ""
  36933. #. type: deftypevr
  36934. #: guix-git/doc/guix.texi:24985
  36935. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  36936. msgstr ""
  36937. #. type: deftypevr
  36938. #: guix-git/doc/guix.texi:24990
  36939. #, no-wrap
  36940. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  36941. msgstr ""
  36942. #. type: deftypevr
  36943. #: guix-git/doc/guix.texi:24992
  36944. msgid "The default global-maximum upload speed, in kilobytes per second."
  36945. msgstr ""
  36946. #. type: deftypevr
  36947. #: guix-git/doc/guix.texi:24997
  36948. #, no-wrap
  36949. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  36950. msgstr ""
  36951. #. type: deftypevr
  36952. #: guix-git/doc/guix.texi:25003
  36953. 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?}."
  36954. msgstr ""
  36955. #. type: deftypevr
  36956. #: guix-git/doc/guix.texi:25008
  36957. #, no-wrap
  36958. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  36959. msgstr ""
  36960. #. type: deftypevr
  36961. #: guix-git/doc/guix.texi:25010
  36962. msgid "The alternate global-maximum download speed, in kilobytes per second."
  36963. msgstr ""
  36964. #. type: deftypevr
  36965. #: guix-git/doc/guix.texi:25012 guix-git/doc/guix.texi:25019
  36966. #: guix-git/doc/guix.texi:25191 guix-git/doc/guix.texi:32573
  36967. #: guix-git/doc/guix.texi:32588
  36968. msgid "Defaults to @samp{50}."
  36969. msgstr ""
  36970. #. type: deftypevr
  36971. #: guix-git/doc/guix.texi:25015
  36972. #, no-wrap
  36973. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  36974. msgstr ""
  36975. #. type: deftypevr
  36976. #: guix-git/doc/guix.texi:25017
  36977. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  36978. msgstr ""
  36979. #. type: deftypevr
  36980. #: guix-git/doc/guix.texi:25022
  36981. #, no-wrap
  36982. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  36983. msgstr ""
  36984. #. type: deftypevr
  36985. #: guix-git/doc/guix.texi:25027
  36986. 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}."
  36987. msgstr ""
  36988. #. type: deftypevr
  36989. #: guix-git/doc/guix.texi:25032
  36990. #, no-wrap
  36991. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  36992. msgstr ""
  36993. #. type: deftypevr
  36994. #: guix-git/doc/guix.texi:25037
  36995. 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}."
  36996. msgstr ""
  36997. #. type: deftypevr
  36998. #: guix-git/doc/guix.texi:25039
  36999. msgid "Defaults to @samp{all}."
  37000. msgstr ""
  37001. #. type: deftypevr
  37002. #: guix-git/doc/guix.texi:25042
  37003. #, no-wrap
  37004. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  37005. msgstr ""
  37006. #. type: deftypevr
  37007. #: guix-git/doc/guix.texi:25045
  37008. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  37009. msgstr ""
  37010. #. type: deftypevr
  37011. #: guix-git/doc/guix.texi:25047
  37012. msgid "Defaults to @samp{540}."
  37013. msgstr ""
  37014. #. type: deftypevr
  37015. #: guix-git/doc/guix.texi:25050
  37016. #, no-wrap
  37017. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  37018. msgstr ""
  37019. #. type: deftypevr
  37020. #: guix-git/doc/guix.texi:25053
  37021. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  37022. msgstr ""
  37023. #. type: deftypevr
  37024. #: guix-git/doc/guix.texi:25055
  37025. msgid "Defaults to @samp{1020}."
  37026. msgstr ""
  37027. #. type: deftypevr
  37028. #: guix-git/doc/guix.texi:25058
  37029. #, no-wrap
  37030. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  37031. msgstr ""
  37032. #. type: deftypevr
  37033. #: guix-git/doc/guix.texi:25061
  37034. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37035. msgstr ""
  37036. #. type: deftypevr
  37037. #: guix-git/doc/guix.texi:25063 guix-git/doc/guix.texi:25366
  37038. #: guix-git/doc/guix.texi:30430
  37039. msgid "Defaults to @samp{\"0.0.0.0\"}."
  37040. msgstr ""
  37041. #. type: deftypevr
  37042. #: guix-git/doc/guix.texi:25066
  37043. #, no-wrap
  37044. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  37045. msgstr ""
  37046. #. type: deftypevr
  37047. #: guix-git/doc/guix.texi:25069
  37048. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  37049. msgstr ""
  37050. #. type: deftypevr
  37051. #: guix-git/doc/guix.texi:25071
  37052. msgid "Defaults to @samp{\"::\"}."
  37053. msgstr ""
  37054. #. type: deftypevr
  37055. #: guix-git/doc/guix.texi:25074
  37056. #, no-wrap
  37057. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  37058. msgstr ""
  37059. #. type: deftypevr
  37060. #: guix-git/doc/guix.texi:25080
  37061. 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}."
  37062. msgstr ""
  37063. #. type: deftypevr
  37064. #: guix-git/doc/guix.texi:25085
  37065. #, no-wrap
  37066. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  37067. msgstr ""
  37068. #. type: deftypevr
  37069. #: guix-git/doc/guix.texi:25088
  37070. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  37071. msgstr ""
  37072. #. type: deftypevr
  37073. #: guix-git/doc/guix.texi:25090
  37074. msgid "Defaults to @samp{49152}."
  37075. msgstr ""
  37076. #. type: deftypevr
  37077. #: guix-git/doc/guix.texi:25093
  37078. #, no-wrap
  37079. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  37080. msgstr ""
  37081. #. type: deftypevr
  37082. #: guix-git/doc/guix.texi:25096
  37083. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  37084. msgstr ""
  37085. #. type: deftypevr
  37086. #: guix-git/doc/guix.texi:25098
  37087. msgid "Defaults to @samp{65535}."
  37088. msgstr ""
  37089. #. type: deftypevr
  37090. #: guix-git/doc/guix.texi:25101
  37091. #, no-wrap
  37092. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  37093. msgstr ""
  37094. #. type: deftypevr
  37095. #: guix-git/doc/guix.texi:25104
  37096. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  37097. msgstr ""
  37098. #. type: deftypevr
  37099. #: guix-git/doc/guix.texi:25106
  37100. msgid "Defaults to @samp{51413}."
  37101. msgstr ""
  37102. #. type: deftypevr
  37103. #: guix-git/doc/guix.texi:25109
  37104. #, no-wrap
  37105. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  37106. msgstr ""
  37107. #. type: deftypevr
  37108. #: guix-git/doc/guix.texi:25113
  37109. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  37110. msgstr ""
  37111. #. type: deftypevr
  37112. #: guix-git/doc/guix.texi:25118
  37113. #, no-wrap
  37114. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  37115. msgstr ""
  37116. #. type: deftypevr
  37117. #: guix-git/doc/guix.texi:25123
  37118. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  37119. msgstr ""
  37120. #. type: deftypevr
  37121. #: guix-git/doc/guix.texi:25125
  37122. msgid "Defaults to @samp{prefer-encrypted-connections}."
  37123. msgstr ""
  37124. #. type: deftypevr
  37125. #: guix-git/doc/guix.texi:25128
  37126. #, no-wrap
  37127. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  37128. msgstr ""
  37129. #. type: deftypevr
  37130. #: guix-git/doc/guix.texi:25133
  37131. 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)."
  37132. msgstr ""
  37133. #. type: deftypevr
  37134. #: guix-git/doc/guix.texi:25142
  37135. 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."
  37136. msgstr ""
  37137. #. type: deftypevr
  37138. #: guix-git/doc/guix.texi:25150
  37139. 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:"
  37140. msgstr ""
  37141. #. type: lisp
  37142. #: guix-git/doc/guix.texi:25157
  37143. #, no-wrap
  37144. msgid ""
  37145. "(service sysctl-service-type\n"
  37146. " (sysctl-configuration\n"
  37147. " (settings\n"
  37148. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  37149. " \"reno cubic lp\"))))\n"
  37150. msgstr ""
  37151. #. type: deftypevr
  37152. #: guix-git/doc/guix.texi:25160
  37153. msgid "The Transmission Daemon configuration can then be updated with"
  37154. msgstr ""
  37155. #. type: lisp
  37156. #: guix-git/doc/guix.texi:25163
  37157. #, no-wrap
  37158. msgid "(peer-congestion-algorithm \"lp\")\n"
  37159. msgstr ""
  37160. #. type: deftypevr
  37161. #: guix-git/doc/guix.texi:25166
  37162. msgid "and the system reconfigured to have the changes take effect."
  37163. msgstr ""
  37164. #. type: deftypevr
  37165. #: guix-git/doc/guix.texi:25171
  37166. #, no-wrap
  37167. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  37168. msgstr ""
  37169. #. type: deftypevr
  37170. #: guix-git/doc/guix.texi:25175
  37171. 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}."
  37172. msgstr ""
  37173. #. type: deftypevr
  37174. #: guix-git/doc/guix.texi:25177
  37175. msgid "Defaults to @samp{default}."
  37176. msgstr ""
  37177. #. type: deftypevr
  37178. #: guix-git/doc/guix.texi:25180
  37179. #, no-wrap
  37180. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  37181. msgstr ""
  37182. #. type: deftypevr
  37183. #: guix-git/doc/guix.texi:25182
  37184. msgid "The global limit on the number of connected peers."
  37185. msgstr ""
  37186. #. type: deftypevr
  37187. #: guix-git/doc/guix.texi:25184
  37188. msgid "Defaults to @samp{200}."
  37189. msgstr ""
  37190. #. type: deftypevr
  37191. #: guix-git/doc/guix.texi:25187
  37192. #, no-wrap
  37193. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  37194. msgstr ""
  37195. #. type: deftypevr
  37196. #: guix-git/doc/guix.texi:25189
  37197. msgid "The per-torrent limit on the number of connected peers."
  37198. msgstr ""
  37199. #. type: deftypevr
  37200. #: guix-git/doc/guix.texi:25194
  37201. #, no-wrap
  37202. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  37203. msgstr ""
  37204. #. type: deftypevr
  37205. #: guix-git/doc/guix.texi:25197
  37206. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  37207. msgstr ""
  37208. #. type: deftypevr
  37209. #: guix-git/doc/guix.texi:25199
  37210. msgid "Defaults to @samp{14}."
  37211. msgstr ""
  37212. #. type: deftypevr
  37213. #: guix-git/doc/guix.texi:25202
  37214. #, no-wrap
  37215. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  37216. msgstr ""
  37217. #. type: deftypevr
  37218. #: guix-git/doc/guix.texi:25205
  37219. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  37220. msgstr ""
  37221. #. type: deftypevr
  37222. #: guix-git/doc/guix.texi:25207
  37223. msgid "Defaults to @samp{6}."
  37224. msgstr ""
  37225. #. type: deftypevr
  37226. #: guix-git/doc/guix.texi:25210
  37227. #, no-wrap
  37228. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  37229. msgstr ""
  37230. #. type: deftypevr
  37231. #: guix-git/doc/guix.texi:25213
  37232. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  37233. msgstr ""
  37234. #. type: deftypevr
  37235. #: guix-git/doc/guix.texi:25218
  37236. #, no-wrap
  37237. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  37238. msgstr ""
  37239. #. type: deftypevr
  37240. #: guix-git/doc/guix.texi:25222
  37241. 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}."
  37242. msgstr ""
  37243. #. type: deftypevr
  37244. #: guix-git/doc/guix.texi:25227
  37245. #, no-wrap
  37246. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  37247. msgstr ""
  37248. #. type: deftypevr
  37249. #: guix-git/doc/guix.texi:25230
  37250. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  37251. msgstr ""
  37252. #. type: deftypevr
  37253. #: guix-git/doc/guix.texi:25235
  37254. #, no-wrap
  37255. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  37256. msgstr ""
  37257. #. type: deftypevr
  37258. #: guix-git/doc/guix.texi:25239
  37259. 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}."
  37260. msgstr ""
  37261. #. type: deftypevr
  37262. #: guix-git/doc/guix.texi:25244
  37263. #, no-wrap
  37264. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  37265. msgstr ""
  37266. #. type: deftypevr
  37267. #: guix-git/doc/guix.texi:25247
  37268. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  37269. msgstr ""
  37270. #. type: deftypevr
  37271. #: guix-git/doc/guix.texi:25252
  37272. #, no-wrap
  37273. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  37274. msgstr ""
  37275. #. type: deftypevr
  37276. #: guix-git/doc/guix.texi:25256
  37277. 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}."
  37278. msgstr ""
  37279. #. type: deftypevr
  37280. #: guix-git/doc/guix.texi:25261
  37281. #, no-wrap
  37282. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  37283. msgstr ""
  37284. #. type: deftypevr
  37285. #: guix-git/doc/guix.texi:25266
  37286. 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."
  37287. msgstr ""
  37288. #. type: deftypevr
  37289. #: guix-git/doc/guix.texi:25271
  37290. #, no-wrap
  37291. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  37292. msgstr ""
  37293. #. type: deftypevr
  37294. #: guix-git/doc/guix.texi:25275
  37295. 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}."
  37296. msgstr ""
  37297. #. type: deftypevr
  37298. #: guix-git/doc/guix.texi:25280
  37299. #, no-wrap
  37300. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  37301. msgstr ""
  37302. #. type: deftypevr
  37303. #: guix-git/doc/guix.texi:25283
  37304. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  37305. msgstr ""
  37306. #. type: deftypevr
  37307. #: guix-git/doc/guix.texi:25288
  37308. #, no-wrap
  37309. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  37310. msgstr ""
  37311. #. type: deftypevr
  37312. #: guix-git/doc/guix.texi:25291
  37313. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  37314. msgstr ""
  37315. #. type: deftypevr
  37316. #: guix-git/doc/guix.texi:25293
  37317. msgid "Defaults to @samp{2.0}."
  37318. msgstr ""
  37319. #. type: deftypevr
  37320. #: guix-git/doc/guix.texi:25296
  37321. #, no-wrap
  37322. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  37323. msgstr ""
  37324. #. type: deftypevr
  37325. #: guix-git/doc/guix.texi:25299
  37326. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  37327. msgstr ""
  37328. #. type: deftypevr
  37329. #: guix-git/doc/guix.texi:25304
  37330. #, no-wrap
  37331. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  37332. msgstr ""
  37333. #. type: deftypevr
  37334. #: guix-git/doc/guix.texi:25308
  37335. 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}."
  37336. msgstr ""
  37337. #. type: deftypevr
  37338. #: guix-git/doc/guix.texi:25313
  37339. #, no-wrap
  37340. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  37341. msgstr ""
  37342. #. type: deftypevr
  37343. #: guix-git/doc/guix.texi:25317
  37344. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  37345. msgstr ""
  37346. #. type: deftypevr
  37347. #: guix-git/doc/guix.texi:25322
  37348. #, no-wrap
  37349. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  37350. msgstr ""
  37351. #. type: deftypevr
  37352. #: guix-git/doc/guix.texi:25327
  37353. 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."
  37354. msgstr ""
  37355. #. type: deftypevr
  37356. #: guix-git/doc/guix.texi:25332
  37357. #, no-wrap
  37358. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  37359. msgstr ""
  37360. #. type: deftypevr
  37361. #: guix-git/doc/guix.texi:25336
  37362. 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."
  37363. msgstr ""
  37364. #. type: deftypevr
  37365. #: guix-git/doc/guix.texi:25341
  37366. #, no-wrap
  37367. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  37368. msgstr ""
  37369. #. type: deftypevr
  37370. #: guix-git/doc/guix.texi:25346
  37371. 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."
  37372. msgstr ""
  37373. #. type: deftypevr
  37374. #: guix-git/doc/guix.texi:25351
  37375. #, no-wrap
  37376. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  37377. msgstr ""
  37378. #. type: deftypevr
  37379. #: guix-git/doc/guix.texi:25356
  37380. 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."
  37381. msgstr ""
  37382. #. type: deftypevr
  37383. #: guix-git/doc/guix.texi:25361
  37384. #, no-wrap
  37385. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  37386. msgstr ""
  37387. #. type: deftypevr
  37388. #: guix-git/doc/guix.texi:25364
  37389. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37390. msgstr ""
  37391. #. type: deftypevr
  37392. #: guix-git/doc/guix.texi:25369
  37393. #, no-wrap
  37394. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  37395. msgstr ""
  37396. #. type: deftypevr
  37397. #: guix-git/doc/guix.texi:25371
  37398. msgid "The port on which to listen for @acronym{RPC} connections."
  37399. msgstr ""
  37400. #. type: deftypevr
  37401. #: guix-git/doc/guix.texi:25373
  37402. msgid "Defaults to @samp{9091}."
  37403. msgstr ""
  37404. #. type: deftypevr
  37405. #: guix-git/doc/guix.texi:25376
  37406. #, no-wrap
  37407. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  37408. msgstr ""
  37409. #. type: deftypevr
  37410. #: guix-git/doc/guix.texi:25378
  37411. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  37412. msgstr ""
  37413. #. type: deftypevr
  37414. #: guix-git/doc/guix.texi:25380
  37415. msgid "Defaults to @samp{\"/transmission/\"}."
  37416. msgstr ""
  37417. #. type: deftypevr
  37418. #: guix-git/doc/guix.texi:25383
  37419. #, no-wrap
  37420. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  37421. msgstr ""
  37422. #. type: deftypevr
  37423. #: guix-git/doc/guix.texi:25388
  37424. 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?}."
  37425. msgstr ""
  37426. #. type: deftypevr
  37427. #: guix-git/doc/guix.texi:25393
  37428. #, no-wrap
  37429. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  37430. msgstr ""
  37431. #. type: deftypevr
  37432. #: guix-git/doc/guix.texi:25396
  37433. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  37434. msgstr ""
  37435. #. type: deftypevr
  37436. #: guix-git/doc/guix.texi:25401
  37437. #, no-wrap
  37438. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  37439. msgstr ""
  37440. #. type: deftypevr
  37441. #: guix-git/doc/guix.texi:25407
  37442. 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."
  37443. msgstr ""
  37444. #. type: deftypevr
  37445. #: guix-git/doc/guix.texi:25412
  37446. #, no-wrap
  37447. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  37448. msgstr ""
  37449. #. type: deftypevr
  37450. #: guix-git/doc/guix.texi:25415
  37451. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  37452. msgstr ""
  37453. #. type: deftypevr
  37454. #: guix-git/doc/guix.texi:25420
  37455. #, no-wrap
  37456. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  37457. msgstr ""
  37458. #. type: deftypevr
  37459. #: guix-git/doc/guix.texi:25424
  37460. 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{*}."
  37461. msgstr ""
  37462. #. type: deftypevr
  37463. #: guix-git/doc/guix.texi:25426
  37464. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  37465. msgstr ""
  37466. #. type: deftypevr
  37467. #: guix-git/doc/guix.texi:25429
  37468. #, no-wrap
  37469. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  37470. msgstr ""
  37471. #. type: deftypevr
  37472. #: guix-git/doc/guix.texi:25434
  37473. 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."
  37474. msgstr ""
  37475. #. type: deftypevr
  37476. #: guix-git/doc/guix.texi:25437
  37477. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  37478. msgstr ""
  37479. #. type: deftypevr
  37480. #: guix-git/doc/guix.texi:25442
  37481. #, no-wrap
  37482. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  37483. msgstr ""
  37484. #. type: deftypevr
  37485. #: guix-git/doc/guix.texi:25445
  37486. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  37487. msgstr ""
  37488. #. type: deftypevr
  37489. #: guix-git/doc/guix.texi:25450
  37490. #, no-wrap
  37491. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  37492. msgstr ""
  37493. #. type: deftypevr
  37494. #: guix-git/doc/guix.texi:25454
  37495. 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}."
  37496. msgstr ""
  37497. #. type: deftypevr
  37498. #: guix-git/doc/guix.texi:25459
  37499. #, no-wrap
  37500. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  37501. msgstr ""
  37502. #. type: deftypevr
  37503. #: guix-git/doc/guix.texi:25462
  37504. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  37505. msgstr ""
  37506. #. type: deftypevr
  37507. #: guix-git/doc/guix.texi:25467
  37508. #, no-wrap
  37509. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  37510. msgstr ""
  37511. #. type: deftypevr
  37512. #: guix-git/doc/guix.texi:25471
  37513. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  37514. msgstr ""
  37515. #. type: deftypevr
  37516. #: guix-git/doc/guix.texi:25476
  37517. #, no-wrap
  37518. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  37519. msgstr ""
  37520. #. type: deftypevr
  37521. #: guix-git/doc/guix.texi:25480
  37522. 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}."
  37523. msgstr ""
  37524. #. type: deftypevr
  37525. #: guix-git/doc/guix.texi:25485
  37526. #, no-wrap
  37527. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  37528. msgstr ""
  37529. #. type: deftypevr
  37530. #: guix-git/doc/guix.texi:25488
  37531. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  37532. msgstr ""
  37533. #. type: deftypevr
  37534. #: guix-git/doc/guix.texi:25493
  37535. #, no-wrap
  37536. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  37537. msgstr ""
  37538. #. type: deftypevr
  37539. #: guix-git/doc/guix.texi:25497
  37540. 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."
  37541. msgstr ""
  37542. #. type: deftypevr
  37543. #: guix-git/doc/guix.texi:25499
  37544. msgid "Defaults to @samp{4}."
  37545. msgstr ""
  37546. #. type: deftypevr
  37547. #: guix-git/doc/guix.texi:25502
  37548. #, no-wrap
  37549. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  37550. msgstr ""
  37551. #. type: deftypevr
  37552. #: guix-git/doc/guix.texi:25506
  37553. 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."
  37554. msgstr ""
  37555. #. type: subsubheading
  37556. #: guix-git/doc/guix.texi:25519
  37557. #, no-wrap
  37558. msgid "Tailon Service"
  37559. msgstr ""
  37560. #. type: Plain text
  37561. #: guix-git/doc/guix.texi:25523
  37562. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  37563. msgstr ""
  37564. #. type: Plain text
  37565. #: guix-git/doc/guix.texi:25526
  37566. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  37567. msgstr ""
  37568. #. type: lisp
  37569. #: guix-git/doc/guix.texi:25529
  37570. #, no-wrap
  37571. msgid "(service tailon-service-type)\n"
  37572. msgstr ""
  37573. #. type: Plain text
  37574. #: guix-git/doc/guix.texi:25533
  37575. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  37576. msgstr ""
  37577. #. type: lisp
  37578. #: guix-git/doc/guix.texi:25540
  37579. #, no-wrap
  37580. msgid ""
  37581. "(service tailon-service-type\n"
  37582. " (tailon-configuration\n"
  37583. " (config-file\n"
  37584. " (tailon-configuration-file\n"
  37585. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  37586. msgstr ""
  37587. #. type: deftp
  37588. #: guix-git/doc/guix.texi:25543
  37589. #, no-wrap
  37590. msgid "{Data Type} tailon-configuration"
  37591. msgstr ""
  37592. #. type: deftp
  37593. #: guix-git/doc/guix.texi:25546
  37594. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  37595. msgstr ""
  37596. #. type: item
  37597. #: guix-git/doc/guix.texi:25548
  37598. #, no-wrap
  37599. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  37600. msgstr ""
  37601. #. type: table
  37602. #: guix-git/doc/guix.texi:25552
  37603. 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})."
  37604. msgstr ""
  37605. #. type: table
  37606. #: guix-git/doc/guix.texi:25555
  37607. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  37608. msgstr ""
  37609. #. type: lisp
  37610. #: guix-git/doc/guix.texi:25560
  37611. #, no-wrap
  37612. msgid ""
  37613. "(service tailon-service-type\n"
  37614. " (tailon-configuration\n"
  37615. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  37616. msgstr ""
  37617. #. type: item
  37618. #: guix-git/doc/guix.texi:25562
  37619. #, no-wrap
  37620. msgid "@code{package} (default: @code{tailon})"
  37621. msgstr ""
  37622. #. type: table
  37623. #: guix-git/doc/guix.texi:25564
  37624. msgid "The tailon package to use."
  37625. msgstr ""
  37626. #. type: deftp
  37627. #: guix-git/doc/guix.texi:25568
  37628. #, no-wrap
  37629. msgid "{Data Type} tailon-configuration-file"
  37630. msgstr ""
  37631. #. type: deftp
  37632. #: guix-git/doc/guix.texi:25571
  37633. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  37634. msgstr ""
  37635. #. type: item
  37636. #: guix-git/doc/guix.texi:25573
  37637. #, no-wrap
  37638. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  37639. msgstr ""
  37640. #. type: table
  37641. #: guix-git/doc/guix.texi:25578
  37642. 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."
  37643. msgstr ""
  37644. #. type: item
  37645. #: guix-git/doc/guix.texi:25579
  37646. #, no-wrap
  37647. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  37648. msgstr ""
  37649. #. type: table
  37650. #: guix-git/doc/guix.texi:25581
  37651. msgid "Address and port to which Tailon should bind on."
  37652. msgstr ""
  37653. #. type: item
  37654. #: guix-git/doc/guix.texi:25582
  37655. #, no-wrap
  37656. msgid "@code{relative-root} (default: @code{#f})"
  37657. msgstr ""
  37658. #. type: table
  37659. #: guix-git/doc/guix.texi:25584
  37660. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  37661. msgstr ""
  37662. #. type: item
  37663. #: guix-git/doc/guix.texi:25585
  37664. #, no-wrap
  37665. msgid "@code{allow-transfers?} (default: @code{#t})"
  37666. msgstr ""
  37667. #. type: table
  37668. #: guix-git/doc/guix.texi:25587
  37669. msgid "Allow downloading the log files in the web interface."
  37670. msgstr ""
  37671. #. type: item
  37672. #: guix-git/doc/guix.texi:25588
  37673. #, no-wrap
  37674. msgid "@code{follow-names?} (default: @code{#t})"
  37675. msgstr ""
  37676. #. type: table
  37677. #: guix-git/doc/guix.texi:25590
  37678. msgid "Allow tailing of not-yet existent files."
  37679. msgstr ""
  37680. #. type: item
  37681. #: guix-git/doc/guix.texi:25591
  37682. #, no-wrap
  37683. msgid "@code{tail-lines} (default: @code{200})"
  37684. msgstr ""
  37685. #. type: table
  37686. #: guix-git/doc/guix.texi:25593
  37687. msgid "Number of lines to read initially from each file."
  37688. msgstr ""
  37689. #. type: item
  37690. #: guix-git/doc/guix.texi:25594
  37691. #, no-wrap
  37692. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  37693. msgstr ""
  37694. #. type: table
  37695. #: guix-git/doc/guix.texi:25596
  37696. msgid "Commands to allow running. By default, @code{sed} is disabled."
  37697. msgstr ""
  37698. #. type: table
  37699. #: guix-git/doc/guix.texi:25599
  37700. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  37701. msgstr ""
  37702. #. type: item
  37703. #: guix-git/doc/guix.texi:25600
  37704. #, no-wrap
  37705. msgid "@code{wrap-lines} (default: @code{#t})"
  37706. msgstr ""
  37707. #. type: table
  37708. #: guix-git/doc/guix.texi:25604
  37709. 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."
  37710. msgstr ""
  37711. #. type: item
  37712. #: guix-git/doc/guix.texi:25605
  37713. #, no-wrap
  37714. msgid "@code{http-auth} (default: @code{#f})"
  37715. msgstr ""
  37716. #. type: table
  37717. #: guix-git/doc/guix.texi:25609
  37718. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  37719. msgstr ""
  37720. #. type: item
  37721. #: guix-git/doc/guix.texi:25610
  37722. #, no-wrap
  37723. msgid "@code{users} (default: @code{#f})"
  37724. msgstr ""
  37725. #. type: table
  37726. #: guix-git/doc/guix.texi:25615
  37727. 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."
  37728. msgstr ""
  37729. #. type: lisp
  37730. #: guix-git/doc/guix.texi:25621
  37731. #, no-wrap
  37732. msgid ""
  37733. "(tailon-configuration-file\n"
  37734. " (http-auth \"basic\")\n"
  37735. " (users '((\"user1\" . \"password1\")\n"
  37736. " (\"user2\" . \"password2\"))))\n"
  37737. msgstr ""
  37738. #. type: subsubheading
  37739. #: guix-git/doc/guix.texi:25627
  37740. #, no-wrap
  37741. msgid "Darkstat Service"
  37742. msgstr ""
  37743. #. type: cindex
  37744. #: guix-git/doc/guix.texi:25628
  37745. #, no-wrap
  37746. msgid "darkstat"
  37747. msgstr ""
  37748. #. type: Plain text
  37749. #: guix-git/doc/guix.texi:25631
  37750. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  37751. msgstr ""
  37752. #. type: defvar
  37753. #: guix-git/doc/guix.texi:25632
  37754. #, no-wrap
  37755. msgid "{Scheme Variable} darkstat-service-type"
  37756. msgstr ""
  37757. #. type: defvar
  37758. #: guix-git/doc/guix.texi:25637
  37759. 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:"
  37760. msgstr ""
  37761. #. type: lisp
  37762. #: guix-git/doc/guix.texi:25642
  37763. #, no-wrap
  37764. msgid ""
  37765. "(service darkstat-service-type\n"
  37766. " (darkstat-configuration\n"
  37767. " (interface \"eno1\")))\n"
  37768. msgstr ""
  37769. #. type: deftp
  37770. #: guix-git/doc/guix.texi:25645
  37771. #, no-wrap
  37772. msgid "{Data Type} darkstat-configuration"
  37773. msgstr ""
  37774. #. type: deftp
  37775. #: guix-git/doc/guix.texi:25647
  37776. msgid "Data type representing the configuration of @command{darkstat}."
  37777. msgstr ""
  37778. #. type: item
  37779. #: guix-git/doc/guix.texi:25649
  37780. #, no-wrap
  37781. msgid "@code{package} (default: @code{darkstat})"
  37782. msgstr ""
  37783. #. type: table
  37784. #: guix-git/doc/guix.texi:25651
  37785. msgid "The darkstat package to use."
  37786. msgstr ""
  37787. #. type: code{#1}
  37788. #: guix-git/doc/guix.texi:25652
  37789. #, no-wrap
  37790. msgid "interface"
  37791. msgstr ""
  37792. #. type: table
  37793. #: guix-git/doc/guix.texi:25654
  37794. msgid "Capture traffic on the specified network interface."
  37795. msgstr ""
  37796. #. type: item
  37797. #: guix-git/doc/guix.texi:25655
  37798. #, no-wrap
  37799. msgid "@code{port} (default: @code{\"667\"})"
  37800. msgstr ""
  37801. #. type: table
  37802. #: guix-git/doc/guix.texi:25657
  37803. msgid "Bind the web interface to the specified port."
  37804. msgstr ""
  37805. #. type: table
  37806. #: guix-git/doc/guix.texi:25660 guix-git/doc/guix.texi:25696
  37807. msgid "Bind the web interface to the specified address."
  37808. msgstr ""
  37809. #. type: item
  37810. #: guix-git/doc/guix.texi:25661
  37811. #, no-wrap
  37812. msgid "@code{base} (default: @code{\"/\"})"
  37813. msgstr ""
  37814. #. type: table
  37815. #: guix-git/doc/guix.texi:25664
  37816. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  37817. msgstr ""
  37818. #. type: cindex
  37819. #: guix-git/doc/guix.texi:25669 guix-git/doc/guix.texi:25670
  37820. #, no-wrap
  37821. msgid "prometheus-node-exporter"
  37822. msgstr ""
  37823. #. type: subsubheading
  37824. #: guix-git/doc/guix.texi:25669
  37825. #, no-wrap
  37826. msgid "Prometheus Node Exporter Service"
  37827. msgstr ""
  37828. #. type: Plain text
  37829. #: guix-git/doc/guix.texi:25676
  37830. 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."
  37831. msgstr ""
  37832. #. type: defvar
  37833. #: guix-git/doc/guix.texi:25677
  37834. #, no-wrap
  37835. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  37836. msgstr ""
  37837. #. type: defvar
  37838. #: guix-git/doc/guix.texi:25681
  37839. 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}."
  37840. msgstr ""
  37841. #. type: lisp
  37842. #: guix-git/doc/guix.texi:25684
  37843. #, no-wrap
  37844. msgid "(service prometheus-node-exporter-service-type)\n"
  37845. msgstr ""
  37846. #. type: deftp
  37847. #: guix-git/doc/guix.texi:25687
  37848. #, no-wrap
  37849. msgid "{Data Type} prometheus-node-exporter-configuration"
  37850. msgstr ""
  37851. #. type: deftp
  37852. #: guix-git/doc/guix.texi:25689
  37853. msgid "Data type representing the configuration of @command{node_exporter}."
  37854. msgstr ""
  37855. #. type: item
  37856. #: guix-git/doc/guix.texi:25691
  37857. #, no-wrap
  37858. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  37859. msgstr ""
  37860. #. type: table
  37861. #: guix-git/doc/guix.texi:25693
  37862. msgid "The prometheus-node-exporter package to use."
  37863. msgstr ""
  37864. #. type: item
  37865. #: guix-git/doc/guix.texi:25694
  37866. #, no-wrap
  37867. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  37868. msgstr ""
  37869. #. type: item
  37870. #: guix-git/doc/guix.texi:25697
  37871. #, no-wrap
  37872. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  37873. msgstr ""
  37874. #. type: table
  37875. #: guix-git/doc/guix.texi:25701
  37876. 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."
  37877. msgstr ""
  37878. #. type: table
  37879. #: guix-git/doc/guix.texi:25704
  37880. msgid "Extra options to pass to the Prometheus node exporter."
  37881. msgstr ""
  37882. #. type: subsubheading
  37883. #: guix-git/doc/guix.texi:25708
  37884. #, no-wrap
  37885. msgid "Zabbix server"
  37886. msgstr ""
  37887. #. type: cindex
  37888. #: guix-git/doc/guix.texi:25709
  37889. #, no-wrap
  37890. msgid "zabbix zabbix-server"
  37891. msgstr ""
  37892. #. type: Plain text
  37893. #: guix-git/doc/guix.texi:25714
  37894. msgid "Zabbix is a high performance monitoring system that can collect data from a variety of sources and provide the results in a web-based interface. Alerting and reporting is built-in, as well as @dfn{templates} for common operating system metrics such as network utilization, CPU load, and disk space consumption."
  37895. msgstr ""
  37896. #. type: Plain text
  37897. #: guix-git/doc/guix.texi:25721
  37898. msgid "This service provides the central Zabbix monitoring service; you also need @ref{zabbix-front-end,@code{zabbix-front-end-service-type}} to configure Zabbix and display results, and optionally @ref{zabbix-agent, @code{zabbix-agent-service-type}} on machines that should be monitored (other data sources are supported, such as @ref{prometheus-node-exporter, Prometheus Node Exporter})."
  37899. msgstr ""
  37900. #. type: defvar
  37901. #: guix-git/doc/guix.texi:25722
  37902. #, no-wrap
  37903. msgid "{Scheme variable} zabbix-server-service-type"
  37904. msgstr ""
  37905. #. type: defvar
  37906. #: guix-git/doc/guix.texi:25725
  37907. msgid "This is the service type for the Zabbix server service. Its value must be a @code{zabbix-server-configuration} record, shown below."
  37908. msgstr ""
  37909. #. type: deftp
  37910. #: guix-git/doc/guix.texi:25729
  37911. #, no-wrap
  37912. msgid "{Data Type} zabbix-server-configuration"
  37913. msgstr ""
  37914. #. type: deftp
  37915. #: guix-git/doc/guix.texi:25731
  37916. msgid "Available @code{zabbix-server-configuration} fields are:"
  37917. msgstr ""
  37918. #. type: item
  37919. #: guix-git/doc/guix.texi:25733 guix-git/doc/guix.texi:25896
  37920. #, no-wrap
  37921. msgid "@code{zabbix-server} (default: @code{zabbix-server}) (type: file-like)"
  37922. msgstr ""
  37923. #. type: table
  37924. #: guix-git/doc/guix.texi:25735
  37925. msgid "The zabbix-server package."
  37926. msgstr ""
  37927. #. type: item
  37928. #: guix-git/doc/guix.texi:25736 guix-git/doc/guix.texi:25822
  37929. #, no-wrap
  37930. msgid "@code{user} (default: @code{\"zabbix\"}) (type: string)"
  37931. msgstr ""
  37932. #. type: table
  37933. #: guix-git/doc/guix.texi:25738
  37934. msgid "User who will run the Zabbix server."
  37935. msgstr ""
  37936. #. type: item
  37937. #: guix-git/doc/guix.texi:25739 guix-git/doc/guix.texi:25825
  37938. #, no-wrap
  37939. msgid "@code{group} (default: @code{\"zabbix\"}) (type: group)"
  37940. msgstr ""
  37941. #. type: table
  37942. #: guix-git/doc/guix.texi:25741
  37943. msgid "Group who will run the Zabbix server."
  37944. msgstr ""
  37945. #. type: item
  37946. #: guix-git/doc/guix.texi:25742
  37947. #, no-wrap
  37948. msgid "@code{db-host} (default: @code{\"127.0.0.1\"}) (type: string)"
  37949. msgstr ""
  37950. #. type: table
  37951. #: guix-git/doc/guix.texi:25744 guix-git/doc/guix.texi:25906
  37952. msgid "Database host name."
  37953. msgstr ""
  37954. #. type: item
  37955. #: guix-git/doc/guix.texi:25745 guix-git/doc/guix.texi:25910
  37956. #, no-wrap
  37957. msgid "@code{db-name} (default: @code{\"zabbix\"}) (type: string)"
  37958. msgstr ""
  37959. #. type: table
  37960. #: guix-git/doc/guix.texi:25747 guix-git/doc/guix.texi:25912
  37961. msgid "Database name."
  37962. msgstr ""
  37963. #. type: item
  37964. #: guix-git/doc/guix.texi:25748 guix-git/doc/guix.texi:25913
  37965. #, no-wrap
  37966. msgid "@code{db-user} (default: @code{\"zabbix\"}) (type: string)"
  37967. msgstr ""
  37968. #. type: table
  37969. #: guix-git/doc/guix.texi:25750 guix-git/doc/guix.texi:25915
  37970. msgid "Database user."
  37971. msgstr ""
  37972. #. type: item
  37973. #: guix-git/doc/guix.texi:25751 guix-git/doc/guix.texi:25916
  37974. #, no-wrap
  37975. msgid "@code{db-password} (default: @code{\"\"}) (type: string)"
  37976. msgstr ""
  37977. #. type: table
  37978. #: guix-git/doc/guix.texi:25754
  37979. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  37980. msgstr ""
  37981. #. type: item
  37982. #: guix-git/doc/guix.texi:25755 guix-git/doc/guix.texi:25907
  37983. #, no-wrap
  37984. msgid "@code{db-port} (default: @code{5432}) (type: number)"
  37985. msgstr ""
  37986. #. type: table
  37987. #: guix-git/doc/guix.texi:25757 guix-git/doc/guix.texi:25909
  37988. msgid "Database port."
  37989. msgstr ""
  37990. #. type: item
  37991. #: guix-git/doc/guix.texi:25758 guix-git/doc/guix.texi:25832
  37992. #, no-wrap
  37993. msgid "@code{log-type} (default: @code{\"\"}) (type: string)"
  37994. msgstr ""
  37995. #. type: table
  37996. #: guix-git/doc/guix.texi:25760 guix-git/doc/guix.texi:25834
  37997. msgid "Specifies where log messages are written to:"
  37998. msgstr ""
  37999. #. type: itemize
  38000. #: guix-git/doc/guix.texi:25763 guix-git/doc/guix.texi:25838
  38001. #, no-wrap
  38002. msgid "@code{system} - syslog."
  38003. msgstr ""
  38004. #. type: item
  38005. #: guix-git/doc/guix.texi:25765
  38006. #, no-wrap
  38007. msgid "@code{file} - file specified with @code{log-file} parameter."
  38008. msgstr ""
  38009. #. type: item
  38010. #: guix-git/doc/guix.texi:25767 guix-git/doc/guix.texi:25842
  38011. #, no-wrap
  38012. msgid "@code{console} - standard output."
  38013. msgstr ""
  38014. #. type: item
  38015. #: guix-git/doc/guix.texi:25771
  38016. #, no-wrap
  38017. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/server.log\"}) (type: string)"
  38018. msgstr ""
  38019. #. type: table
  38020. #: guix-git/doc/guix.texi:25773 guix-git/doc/guix.texi:25848
  38021. msgid "Log file name for @code{log-type} @code{file} parameter."
  38022. msgstr ""
  38023. #. type: item
  38024. #: guix-git/doc/guix.texi:25774
  38025. #, no-wrap
  38026. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_server.pid\"}) (type: string)"
  38027. msgstr ""
  38028. #. type: table
  38029. #: guix-git/doc/guix.texi:25776 guix-git/doc/guix.texi:25851
  38030. msgid "Name of PID file."
  38031. msgstr ""
  38032. #. type: item
  38033. #: guix-git/doc/guix.texi:25777
  38034. #, no-wrap
  38035. msgid "@code{ssl-ca-location} (default: @code{\"/etc/ssl/certs/ca-certificates.crt\"}) (type: string)"
  38036. msgstr ""
  38037. #. type: table
  38038. #: guix-git/doc/guix.texi:25780
  38039. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  38040. msgstr ""
  38041. #. type: item
  38042. #: guix-git/doc/guix.texi:25781
  38043. #, no-wrap
  38044. msgid "@code{ssl-cert-location} (default: @code{\"/etc/ssl/certs\"}) (type: string)"
  38045. msgstr ""
  38046. #. type: table
  38047. #: guix-git/doc/guix.texi:25783
  38048. msgid "Location of SSL client certificates."
  38049. msgstr ""
  38050. #. type: item
  38051. #: guix-git/doc/guix.texi:25784 guix-git/doc/guix.texi:25862
  38052. #, no-wrap
  38053. msgid "@code{extra-options} (default: @code{\"\"}) (type: extra-options)"
  38054. msgstr ""
  38055. #. type: table
  38056. #: guix-git/doc/guix.texi:25786 guix-git/doc/guix.texi:25864
  38057. msgid "Extra options will be appended to Zabbix server configuration file."
  38058. msgstr ""
  38059. #. type: item
  38060. #: guix-git/doc/guix.texi:25787 guix-git/doc/guix.texi:25865
  38061. #, no-wrap
  38062. msgid "@code{include-files} (default: @code{()}) (type: include-files)"
  38063. msgstr ""
  38064. #. type: table
  38065. #: guix-git/doc/guix.texi:25790 guix-git/doc/guix.texi:25868
  38066. msgid "You may include individual files or all files in a directory in the configuration file."
  38067. msgstr ""
  38068. #. type: anchor{#1}
  38069. #: guix-git/doc/guix.texi:25799
  38070. msgid "zabbix-agent"
  38071. msgstr ""
  38072. #. type: subsubheading
  38073. #: guix-git/doc/guix.texi:25799
  38074. #, no-wrap
  38075. msgid "Zabbix agent"
  38076. msgstr ""
  38077. #. type: cindex
  38078. #: guix-git/doc/guix.texi:25800
  38079. #, no-wrap
  38080. msgid "zabbix zabbix-agent"
  38081. msgstr ""
  38082. #. type: Plain text
  38083. #: guix-git/doc/guix.texi:25807
  38084. msgid "The Zabbix agent gathers information about the running system for the Zabbix monitoring server. It has a variety of built-in checks, and can be extended with custom @uref{https://www.zabbix.com/documentation/current/en/manual/config/items/userparameters, @dfn{user parameters}}."
  38085. msgstr ""
  38086. #. type: defvar
  38087. #: guix-git/doc/guix.texi:25808
  38088. #, no-wrap
  38089. msgid "{Scheme variable} zabbix-agent-service-type"
  38090. msgstr ""
  38091. #. type: defvar
  38092. #: guix-git/doc/guix.texi:25811
  38093. msgid "This is the service type for the Zabbix agent service. Its value must be a @code{zabbix-agent-configuration} record, shown below."
  38094. msgstr ""
  38095. #. type: deftp
  38096. #: guix-git/doc/guix.texi:25815
  38097. #, no-wrap
  38098. msgid "{Data Type} zabbix-agent-configuration"
  38099. msgstr ""
  38100. #. type: deftp
  38101. #: guix-git/doc/guix.texi:25817
  38102. msgid "Available @code{zabbix-agent-configuration} fields are:"
  38103. msgstr ""
  38104. #. type: item
  38105. #: guix-git/doc/guix.texi:25819
  38106. #, no-wrap
  38107. msgid "@code{zabbix-agent} (default: @code{zabbix-agentd}) (type: file-like)"
  38108. msgstr ""
  38109. #. type: table
  38110. #: guix-git/doc/guix.texi:25821
  38111. msgid "The zabbix-agent package."
  38112. msgstr ""
  38113. #. type: table
  38114. #: guix-git/doc/guix.texi:25824
  38115. msgid "User who will run the Zabbix agent."
  38116. msgstr ""
  38117. #. type: table
  38118. #: guix-git/doc/guix.texi:25827
  38119. msgid "Group who will run the Zabbix agent."
  38120. msgstr ""
  38121. #. type: item
  38122. #: guix-git/doc/guix.texi:25828
  38123. #, no-wrap
  38124. msgid "@code{hostname} (default: @code{\"\"}) (type: string)"
  38125. msgstr ""
  38126. #. type: table
  38127. #: guix-git/doc/guix.texi:25831
  38128. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  38129. msgstr ""
  38130. #. type: item
  38131. #: guix-git/doc/guix.texi:25839
  38132. #, no-wrap
  38133. msgid "@code{file} - file specified with"
  38134. msgstr ""
  38135. #. type: itemize
  38136. #: guix-git/doc/guix.texi:25841
  38137. msgid "@code{log-file} parameter."
  38138. msgstr ""
  38139. #. type: item
  38140. #: guix-git/doc/guix.texi:25846
  38141. #, no-wrap
  38142. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/agent.log\"}) (type: string)"
  38143. msgstr ""
  38144. #. type: item
  38145. #: guix-git/doc/guix.texi:25849
  38146. #, no-wrap
  38147. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_agent.pid\"}) (type: string)"
  38148. msgstr ""
  38149. #. type: item
  38150. #: guix-git/doc/guix.texi:25852
  38151. #, no-wrap
  38152. msgid "@code{server} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38153. msgstr ""
  38154. #. type: table
  38155. #: guix-git/doc/guix.texi:25856
  38156. 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."
  38157. msgstr ""
  38158. #. type: item
  38159. #: guix-git/doc/guix.texi:25857
  38160. #, no-wrap
  38161. msgid "@code{server-active} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38162. msgstr ""
  38163. #. type: table
  38164. #: guix-git/doc/guix.texi:25861
  38165. 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."
  38166. msgstr ""
  38167. #. type: anchor{#1}
  38168. #: guix-git/doc/guix.texi:25877
  38169. msgid "zabbix-front-end"
  38170. msgstr ""
  38171. #. type: subsubheading
  38172. #: guix-git/doc/guix.texi:25877
  38173. #, no-wrap
  38174. msgid "Zabbix front-end"
  38175. msgstr ""
  38176. #. type: cindex
  38177. #: guix-git/doc/guix.texi:25878
  38178. #, no-wrap
  38179. msgid "zabbix zabbix-front-end"
  38180. msgstr ""
  38181. #. type: Plain text
  38182. #: guix-git/doc/guix.texi:25884
  38183. msgid "The Zabbix front-end provides a web interface to Zabbix. It does not need to run on the same machine as the Zabbix server. This service works by extending the @ref{PHP-FPM} and @ref{NGINX} services with the configuration necessary for loading the Zabbix user interface."
  38184. msgstr ""
  38185. #. type: defvar
  38186. #: guix-git/doc/guix.texi:25885
  38187. #, no-wrap
  38188. msgid "{Scheme variable} zabbix-front-end-service-type"
  38189. msgstr ""
  38190. #. type: defvar
  38191. #: guix-git/doc/guix.texi:25888
  38192. msgid "This is the service type for the Zabbix web frontend. Its value must be a @code{zabbix-front-end-configuration} record, shown below."
  38193. msgstr ""
  38194. #. type: deftp
  38195. #: guix-git/doc/guix.texi:25892
  38196. #, no-wrap
  38197. msgid "{Data Type} zabbix-front-end-configuration"
  38198. msgstr ""
  38199. #. type: deftp
  38200. #: guix-git/doc/guix.texi:25894
  38201. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  38202. msgstr ""
  38203. #. type: table
  38204. #: guix-git/doc/guix.texi:25898
  38205. msgid "The Zabbix server package to use."
  38206. msgstr ""
  38207. #. type: item
  38208. #: guix-git/doc/guix.texi:25899
  38209. #, no-wrap
  38210. msgid "@code{nginx} (default: @code{()}) (type: list)"
  38211. msgstr ""
  38212. #. type: table
  38213. #: guix-git/doc/guix.texi:25903
  38214. msgid "List of @ref{nginx-server-configuration,@code{nginx-server-configuration}} blocks for the Zabbix front-end. When empty, a default that listens on port 80 is used."
  38215. msgstr ""
  38216. #. type: item
  38217. #: guix-git/doc/guix.texi:25904
  38218. #, no-wrap
  38219. msgid "@code{db-host} (default: @code{\"localhost\"}) (type: string)"
  38220. msgstr ""
  38221. #. type: table
  38222. #: guix-git/doc/guix.texi:25918
  38223. msgid "Database password. Please, use @code{db-secret-file} instead."
  38224. msgstr ""
  38225. #. type: item
  38226. #: guix-git/doc/guix.texi:25919
  38227. #, no-wrap
  38228. msgid "@code{db-secret-file} (default: @code{\"\"}) (type: string)"
  38229. msgstr ""
  38230. #. type: table
  38231. #: guix-git/doc/guix.texi:25923
  38232. msgid "Secret file which will be appended to @file{zabbix.conf.php} file. This file contains credentials for use by Zabbix front-end. You are expected to create it manually."
  38233. msgstr ""
  38234. #. type: item
  38235. #: guix-git/doc/guix.texi:25924
  38236. #, no-wrap
  38237. msgid "@code{zabbix-host} (default: @code{\"localhost\"}) (type: string)"
  38238. msgstr ""
  38239. #. type: table
  38240. #: guix-git/doc/guix.texi:25926
  38241. msgid "Zabbix server hostname."
  38242. msgstr ""
  38243. #. type: item
  38244. #: guix-git/doc/guix.texi:25927
  38245. #, no-wrap
  38246. msgid "@code{zabbix-port} (default: @code{10051}) (type: number)"
  38247. msgstr ""
  38248. #. type: table
  38249. #: guix-git/doc/guix.texi:25929
  38250. msgid "Zabbix server port."
  38251. msgstr ""
  38252. #. type: cindex
  38253. #: guix-git/doc/guix.texi:25939
  38254. #, no-wrap
  38255. msgid "Kerberos"
  38256. msgstr ""
  38257. #. type: Plain text
  38258. #: guix-git/doc/guix.texi:25943
  38259. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  38260. msgstr ""
  38261. #. type: subsubheading
  38262. #: guix-git/doc/guix.texi:25944
  38263. #, no-wrap
  38264. msgid "Krb5 Service"
  38265. msgstr ""
  38266. #. type: Plain text
  38267. #: guix-git/doc/guix.texi:25951
  38268. 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."
  38269. msgstr ""
  38270. #. type: Plain text
  38271. #: guix-git/doc/guix.texi:25955
  38272. 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."
  38273. msgstr ""
  38274. #. type: defvr
  38275. #: guix-git/doc/guix.texi:25956
  38276. #, no-wrap
  38277. msgid "{Scheme Variable} krb5-service-type"
  38278. msgstr ""
  38279. #. type: defvr
  38280. #: guix-git/doc/guix.texi:25958
  38281. msgid "A service type for Kerberos 5 clients."
  38282. msgstr ""
  38283. #. type: Plain text
  38284. #: guix-git/doc/guix.texi:25962
  38285. msgid "Here is an example of its use:"
  38286. msgstr ""
  38287. #. type: lisp
  38288. #: guix-git/doc/guix.texi:25976
  38289. #, no-wrap
  38290. msgid ""
  38291. "(service krb5-service-type\n"
  38292. " (krb5-configuration\n"
  38293. " (default-realm \"EXAMPLE.COM\")\n"
  38294. " (allow-weak-crypto? #t)\n"
  38295. " (realms (list\n"
  38296. " (krb5-realm\n"
  38297. " (name \"EXAMPLE.COM\")\n"
  38298. " (admin-server \"groucho.example.com\")\n"
  38299. " (kdc \"karl.example.com\"))\n"
  38300. " (krb5-realm\n"
  38301. " (name \"ARGRX.EDU\")\n"
  38302. " (admin-server \"kerb-admin.argrx.edu\")\n"
  38303. " (kdc \"keys.argrx.edu\"))))))\n"
  38304. msgstr ""
  38305. #. type: Plain text
  38306. #: guix-git/doc/guix.texi:25980
  38307. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  38308. msgstr ""
  38309. #. type: item
  38310. #: guix-git/doc/guix.texi:25981
  38311. #, no-wrap
  38312. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  38313. msgstr ""
  38314. #. type: itemize
  38315. #: guix-git/doc/guix.texi:25983
  38316. msgid "of which have distinct administration servers and key distribution centers;"
  38317. msgstr ""
  38318. #. type: item
  38319. #: guix-git/doc/guix.texi:25983
  38320. #, no-wrap
  38321. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  38322. msgstr ""
  38323. #. type: itemize
  38324. #: guix-git/doc/guix.texi:25985
  38325. msgid "specified by clients;"
  38326. msgstr ""
  38327. #. type: item
  38328. #: guix-git/doc/guix.texi:25985
  38329. #, no-wrap
  38330. msgid "Accepts services which only support encryption types known to be weak."
  38331. msgstr ""
  38332. #. type: Plain text
  38333. #: guix-git/doc/guix.texi:25993
  38334. 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."
  38335. msgstr ""
  38336. #. type: deftp
  38337. #: guix-git/doc/guix.texi:25995
  38338. #, no-wrap
  38339. msgid "{Data Type} krb5-realm"
  38340. msgstr ""
  38341. #. type: cindex
  38342. #: guix-git/doc/guix.texi:25996
  38343. #, no-wrap
  38344. msgid "realm, kerberos"
  38345. msgstr ""
  38346. #. type: table
  38347. #: guix-git/doc/guix.texi:26002
  38348. 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."
  38349. msgstr ""
  38350. #. type: code{#1}
  38351. #: guix-git/doc/guix.texi:26003
  38352. #, no-wrap
  38353. msgid "admin-server"
  38354. msgstr ""
  38355. #. type: table
  38356. #: guix-git/doc/guix.texi:26006
  38357. msgid "This field is a string identifying the host where the administration server is running."
  38358. msgstr ""
  38359. #. type: code{#1}
  38360. #: guix-git/doc/guix.texi:26007
  38361. #, no-wrap
  38362. msgid "kdc"
  38363. msgstr ""
  38364. #. type: table
  38365. #: guix-git/doc/guix.texi:26010
  38366. msgid "This field is a string identifying the key distribution center for the realm."
  38367. msgstr ""
  38368. #. type: deftp
  38369. #: guix-git/doc/guix.texi:26013
  38370. #, no-wrap
  38371. msgid "{Data Type} krb5-configuration"
  38372. msgstr ""
  38373. #. type: item
  38374. #: guix-git/doc/guix.texi:26016
  38375. #, no-wrap
  38376. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  38377. msgstr ""
  38378. #. type: table
  38379. #: guix-git/doc/guix.texi:26019
  38380. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  38381. msgstr ""
  38382. #. type: item
  38383. #: guix-git/doc/guix.texi:26020
  38384. #, no-wrap
  38385. msgid "@code{default-realm} (default: @code{#f})"
  38386. msgstr ""
  38387. #. type: table
  38388. #: guix-git/doc/guix.texi:26027
  38389. 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}."
  38390. msgstr ""
  38391. #. type: code{#1}
  38392. #: guix-git/doc/guix.texi:26028
  38393. #, no-wrap
  38394. msgid "realms"
  38395. msgstr ""
  38396. #. type: table
  38397. #: guix-git/doc/guix.texi:26033
  38398. 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."
  38399. msgstr ""
  38400. #. type: subsubheading
  38401. #: guix-git/doc/guix.texi:26037
  38402. #, no-wrap
  38403. msgid "PAM krb5 Service"
  38404. msgstr ""
  38405. #. type: cindex
  38406. #: guix-git/doc/guix.texi:26038
  38407. #, no-wrap
  38408. msgid "pam-krb5"
  38409. msgstr ""
  38410. #. type: Plain text
  38411. #: guix-git/doc/guix.texi:26044
  38412. 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."
  38413. msgstr ""
  38414. #. type: defvr
  38415. #: guix-git/doc/guix.texi:26045
  38416. #, no-wrap
  38417. msgid "{Scheme Variable} pam-krb5-service-type"
  38418. msgstr ""
  38419. #. type: defvr
  38420. #: guix-git/doc/guix.texi:26047
  38421. msgid "A service type for the Kerberos 5 PAM module."
  38422. msgstr ""
  38423. #. type: deftp
  38424. #: guix-git/doc/guix.texi:26049
  38425. #, no-wrap
  38426. msgid "{Data Type} pam-krb5-configuration"
  38427. msgstr ""
  38428. #. type: deftp
  38429. #: guix-git/doc/guix.texi:26052
  38430. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  38431. msgstr ""
  38432. #. type: item
  38433. #: guix-git/doc/guix.texi:26053
  38434. #, no-wrap
  38435. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  38436. msgstr ""
  38437. #. type: table
  38438. #: guix-git/doc/guix.texi:26055
  38439. msgid "The pam-krb5 package to use."
  38440. msgstr ""
  38441. #. type: item
  38442. #: guix-git/doc/guix.texi:26056
  38443. #, no-wrap
  38444. msgid "@code{minimum-uid} (default: @code{1000})"
  38445. msgstr ""
  38446. #. type: table
  38447. #: guix-git/doc/guix.texi:26059
  38448. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  38449. msgstr ""
  38450. #. type: cindex
  38451. #: guix-git/doc/guix.texi:26065
  38452. #, no-wrap
  38453. msgid "LDAP"
  38454. msgstr ""
  38455. #. type: cindex
  38456. #: guix-git/doc/guix.texi:26066
  38457. #, no-wrap
  38458. msgid "nslcd, LDAP service"
  38459. msgstr ""
  38460. #. type: Plain text
  38461. #: guix-git/doc/guix.texi:26073
  38462. 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."
  38463. msgstr ""
  38464. #. type: Plain text
  38465. #: guix-git/doc/guix.texi:26077
  38466. 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:"
  38467. msgstr ""
  38468. #. type: lisp
  38469. #: guix-git/doc/guix.texi:26100
  38470. #, no-wrap
  38471. msgid ""
  38472. "(use-service-modules authentication)\n"
  38473. "(use-modules (gnu system nss))\n"
  38474. "...\n"
  38475. "(operating-system\n"
  38476. " ...\n"
  38477. " (services\n"
  38478. " (cons*\n"
  38479. " (service nslcd-service-type)\n"
  38480. " (service dhcp-client-service-type)\n"
  38481. " %base-services))\n"
  38482. " (name-service-switch\n"
  38483. " (let ((services (list (name-service (name \"db\"))\n"
  38484. " (name-service (name \"files\"))\n"
  38485. " (name-service (name \"ldap\")))))\n"
  38486. " (name-service-switch\n"
  38487. " (inherit %mdns-host-lookup-nss)\n"
  38488. " (password services)\n"
  38489. " (shadow services)\n"
  38490. " (group services)\n"
  38491. " (netgroup services)\n"
  38492. " (gshadow services)))))\n"
  38493. msgstr ""
  38494. #. type: Plain text
  38495. #: guix-git/doc/guix.texi:26105
  38496. msgid "Available @code{nslcd-configuration} fields are:"
  38497. msgstr ""
  38498. #. type: deftypevr
  38499. #: guix-git/doc/guix.texi:26106
  38500. #, no-wrap
  38501. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  38502. msgstr ""
  38503. #. type: deftypevr
  38504. #: guix-git/doc/guix.texi:26108
  38505. msgid "The @code{nss-pam-ldapd} package to use."
  38506. msgstr ""
  38507. #. type: deftypevr
  38508. #: guix-git/doc/guix.texi:26111
  38509. #, no-wrap
  38510. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  38511. msgstr ""
  38512. #. type: deftypevr
  38513. #: guix-git/doc/guix.texi:26115
  38514. 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."
  38515. msgstr ""
  38516. #. type: deftypevr
  38517. #: guix-git/doc/guix.texi:26120
  38518. #, no-wrap
  38519. msgid "{@code{nslcd-configuration} parameter} string uid"
  38520. msgstr ""
  38521. #. type: deftypevr
  38522. #: guix-git/doc/guix.texi:26122
  38523. msgid "This specifies the user id with which the daemon should be run."
  38524. msgstr ""
  38525. #. type: deftypevr
  38526. #: guix-git/doc/guix.texi:26124 guix-git/doc/guix.texi:26131
  38527. msgid "Defaults to @samp{\"nslcd\"}."
  38528. msgstr ""
  38529. #. type: deftypevr
  38530. #: guix-git/doc/guix.texi:26127
  38531. #, no-wrap
  38532. msgid "{@code{nslcd-configuration} parameter} string gid"
  38533. msgstr ""
  38534. #. type: deftypevr
  38535. #: guix-git/doc/guix.texi:26129
  38536. msgid "This specifies the group id with which the daemon should be run."
  38537. msgstr ""
  38538. #. type: deftypevr
  38539. #: guix-git/doc/guix.texi:26134
  38540. #, no-wrap
  38541. msgid "{@code{nslcd-configuration} parameter} log-option log"
  38542. msgstr ""
  38543. #. type: deftypevr
  38544. #: guix-git/doc/guix.texi:26142
  38545. 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."
  38546. msgstr ""
  38547. #. type: deftypevr
  38548. #: guix-git/doc/guix.texi:26144
  38549. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  38550. msgstr ""
  38551. #. type: deftypevr
  38552. #: guix-git/doc/guix.texi:26147
  38553. #, no-wrap
  38554. msgid "{@code{nslcd-configuration} parameter} list uri"
  38555. msgstr ""
  38556. #. type: deftypevr
  38557. #: guix-git/doc/guix.texi:26150
  38558. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  38559. msgstr ""
  38560. #. type: deftypevr
  38561. #: guix-git/doc/guix.texi:26152
  38562. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  38563. msgstr ""
  38564. #. type: deftypevr
  38565. #: guix-git/doc/guix.texi:26155
  38566. #, no-wrap
  38567. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  38568. msgstr ""
  38569. #. type: deftypevr
  38570. #: guix-git/doc/guix.texi:26158
  38571. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  38572. msgstr ""
  38573. #. type: deftypevr
  38574. #: guix-git/doc/guix.texi:26163
  38575. #, no-wrap
  38576. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  38577. msgstr ""
  38578. #. type: deftypevr
  38579. #: guix-git/doc/guix.texi:26166
  38580. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  38581. msgstr ""
  38582. #. type: deftypevr
  38583. #: guix-git/doc/guix.texi:26171
  38584. #, no-wrap
  38585. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  38586. msgstr ""
  38587. #. type: deftypevr
  38588. #: guix-git/doc/guix.texi:26174
  38589. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  38590. msgstr ""
  38591. #. type: deftypevr
  38592. #: guix-git/doc/guix.texi:26179
  38593. #, no-wrap
  38594. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  38595. msgstr ""
  38596. #. type: deftypevr
  38597. #: guix-git/doc/guix.texi:26182
  38598. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  38599. msgstr ""
  38600. #. type: deftypevr
  38601. #: guix-git/doc/guix.texi:26187
  38602. #, no-wrap
  38603. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  38604. msgstr ""
  38605. #. type: deftypevr
  38606. #: guix-git/doc/guix.texi:26191
  38607. 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"
  38608. msgstr ""
  38609. #. type: deftypevr
  38610. #: guix-git/doc/guix.texi:26196
  38611. #, no-wrap
  38612. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  38613. msgstr ""
  38614. #. type: deftypevr
  38615. #: guix-git/doc/guix.texi:26199
  38616. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  38617. msgstr ""
  38618. #. type: deftypevr
  38619. #: guix-git/doc/guix.texi:26204
  38620. #, no-wrap
  38621. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  38622. msgstr ""
  38623. #. type: deftypevr
  38624. #: guix-git/doc/guix.texi:26206
  38625. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  38626. msgstr ""
  38627. #. type: deftypevr
  38628. #: guix-git/doc/guix.texi:26211
  38629. #, no-wrap
  38630. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  38631. msgstr ""
  38632. #. type: deftypevr
  38633. #: guix-git/doc/guix.texi:26214
  38634. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  38635. msgstr ""
  38636. #. type: deftypevr
  38637. #: guix-git/doc/guix.texi:26219
  38638. #, no-wrap
  38639. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  38640. msgstr ""
  38641. #. type: deftypevr
  38642. #: guix-git/doc/guix.texi:26222
  38643. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  38644. msgstr ""
  38645. #. type: deftypevr
  38646. #: guix-git/doc/guix.texi:26227
  38647. #, no-wrap
  38648. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  38649. msgstr ""
  38650. #. type: deftypevr
  38651. #: guix-git/doc/guix.texi:26232
  38652. 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."
  38653. msgstr ""
  38654. #. type: deftypevr
  38655. #: guix-git/doc/guix.texi:26237
  38656. #, no-wrap
  38657. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  38658. msgstr ""
  38659. #. type: deftypevr
  38660. #: guix-git/doc/guix.texi:26239
  38661. msgid "Set the name for the GSS-API Kerberos credentials cache."
  38662. msgstr ""
  38663. #. type: deftypevr
  38664. #: guix-git/doc/guix.texi:26244
  38665. #, no-wrap
  38666. msgid "{@code{nslcd-configuration} parameter} string base"
  38667. msgstr ""
  38668. #. type: deftypevr
  38669. #: guix-git/doc/guix.texi:26246
  38670. msgid "The directory search base."
  38671. msgstr ""
  38672. #. type: deftypevr
  38673. #: guix-git/doc/guix.texi:26248
  38674. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  38675. msgstr ""
  38676. #. type: deftypevr
  38677. #: guix-git/doc/guix.texi:26251
  38678. #, no-wrap
  38679. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  38680. msgstr ""
  38681. #. type: deftypevr
  38682. #: guix-git/doc/guix.texi:26255
  38683. 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."
  38684. msgstr ""
  38685. #. type: deftypevr
  38686. #: guix-git/doc/guix.texi:26257
  38687. msgid "Defaults to @samp{(subtree)}."
  38688. msgstr ""
  38689. #. type: deftypevr
  38690. #: guix-git/doc/guix.texi:26260
  38691. #, no-wrap
  38692. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  38693. msgstr ""
  38694. #. type: deftypevr
  38695. #: guix-git/doc/guix.texi:26263
  38696. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  38697. msgstr ""
  38698. #. type: deftypevr
  38699. #: guix-git/doc/guix.texi:26268
  38700. #, no-wrap
  38701. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  38702. msgstr ""
  38703. #. type: deftypevr
  38704. #: guix-git/doc/guix.texi:26271
  38705. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  38706. msgstr ""
  38707. #. type: deftypevr
  38708. #: guix-git/doc/guix.texi:26276
  38709. #, no-wrap
  38710. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  38711. msgstr ""
  38712. #. type: deftypevr
  38713. #: guix-git/doc/guix.texi:26281
  38714. 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."
  38715. msgstr ""
  38716. #. type: deftypevr
  38717. #: guix-git/doc/guix.texi:26286
  38718. #, no-wrap
  38719. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  38720. msgstr ""
  38721. #. type: deftypevr
  38722. #: guix-git/doc/guix.texi:26289
  38723. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  38724. msgstr ""
  38725. #. type: deftypevr
  38726. #: guix-git/doc/guix.texi:26294
  38727. #, no-wrap
  38728. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  38729. msgstr ""
  38730. #. type: deftypevr
  38731. #: guix-git/doc/guix.texi:26297
  38732. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  38733. msgstr ""
  38734. #. type: deftypevr
  38735. #: guix-git/doc/guix.texi:26302
  38736. #, no-wrap
  38737. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  38738. msgstr ""
  38739. #. type: deftypevr
  38740. #: guix-git/doc/guix.texi:26306
  38741. 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."
  38742. msgstr ""
  38743. #. type: deftypevr
  38744. #: guix-git/doc/guix.texi:26311
  38745. #, no-wrap
  38746. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  38747. msgstr ""
  38748. #. type: deftypevr
  38749. #: guix-git/doc/guix.texi:26315
  38750. 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."
  38751. msgstr ""
  38752. #. type: deftypevr
  38753. #: guix-git/doc/guix.texi:26320
  38754. #, no-wrap
  38755. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  38756. msgstr ""
  38757. #. type: deftypevr
  38758. #: guix-git/doc/guix.texi:26324
  38759. 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."
  38760. msgstr ""
  38761. #. type: deftypevr
  38762. #: guix-git/doc/guix.texi:26329
  38763. #, no-wrap
  38764. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  38765. msgstr ""
  38766. #. type: deftypevr
  38767. #: guix-git/doc/guix.texi:26333
  38768. 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."
  38769. msgstr ""
  38770. #. type: deftypevr
  38771. #: guix-git/doc/guix.texi:26338
  38772. #, no-wrap
  38773. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  38774. msgstr ""
  38775. #. type: deftypevr
  38776. #: guix-git/doc/guix.texi:26342
  38777. 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."
  38778. msgstr ""
  38779. #. type: deftypevr
  38780. #: guix-git/doc/guix.texi:26347
  38781. #, no-wrap
  38782. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  38783. msgstr ""
  38784. #. type: deftypevr
  38785. #: guix-git/doc/guix.texi:26350
  38786. 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."
  38787. msgstr ""
  38788. #. type: deftypevr
  38789. #: guix-git/doc/guix.texi:26355
  38790. #, no-wrap
  38791. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  38792. msgstr ""
  38793. #. type: deftypevr
  38794. #: guix-git/doc/guix.texi:26358
  38795. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  38796. msgstr ""
  38797. #. type: deftypevr
  38798. #: guix-git/doc/guix.texi:26363
  38799. #, no-wrap
  38800. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  38801. msgstr ""
  38802. #. type: deftypevr
  38803. #: guix-git/doc/guix.texi:26365
  38804. msgid "Specifies the path to the X.509 certificate for peer authentication."
  38805. msgstr ""
  38806. #. type: deftypevr
  38807. #: guix-git/doc/guix.texi:26370
  38808. #, no-wrap
  38809. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  38810. msgstr ""
  38811. #. type: deftypevr
  38812. #: guix-git/doc/guix.texi:26373
  38813. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  38814. msgstr ""
  38815. #. type: deftypevr
  38816. #: guix-git/doc/guix.texi:26378
  38817. #, no-wrap
  38818. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  38819. msgstr ""
  38820. #. type: deftypevr
  38821. #: guix-git/doc/guix.texi:26380
  38822. msgid "Specifies the ciphers to use for TLS as a string."
  38823. msgstr ""
  38824. #. type: deftypevr
  38825. #: guix-git/doc/guix.texi:26385
  38826. #, no-wrap
  38827. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  38828. msgstr ""
  38829. #. type: deftypevr
  38830. #: guix-git/doc/guix.texi:26388
  38831. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  38832. msgstr ""
  38833. #. type: deftypevr
  38834. #: guix-git/doc/guix.texi:26393
  38835. #, no-wrap
  38836. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  38837. msgstr ""
  38838. #. type: deftypevr
  38839. #: guix-git/doc/guix.texi:26396
  38840. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  38841. msgstr ""
  38842. #. type: deftypevr
  38843. #: guix-git/doc/guix.texi:26401
  38844. #, no-wrap
  38845. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  38846. msgstr ""
  38847. #. type: deftypevr
  38848. #: guix-git/doc/guix.texi:26405
  38849. 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."
  38850. msgstr ""
  38851. #. type: deftypevr
  38852. #: guix-git/doc/guix.texi:26410
  38853. #, no-wrap
  38854. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  38855. msgstr ""
  38856. #. type: deftypevr
  38857. #: guix-git/doc/guix.texi:26414
  38858. 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."
  38859. msgstr ""
  38860. #. type: deftypevr
  38861. #: guix-git/doc/guix.texi:26419
  38862. #, no-wrap
  38863. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  38864. msgstr ""
  38865. #. type: deftypevr
  38866. #: guix-git/doc/guix.texi:26422
  38867. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  38868. msgstr ""
  38869. #. type: deftypevr
  38870. #: guix-git/doc/guix.texi:26427
  38871. #, no-wrap
  38872. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  38873. msgstr ""
  38874. #. type: deftypevr
  38875. #: guix-git/doc/guix.texi:26430
  38876. 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."
  38877. msgstr ""
  38878. #. type: deftypevr
  38879. #: guix-git/doc/guix.texi:26435
  38880. #, no-wrap
  38881. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  38882. msgstr ""
  38883. #. type: deftypevr
  38884. #: guix-git/doc/guix.texi:26438
  38885. 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."
  38886. msgstr ""
  38887. #. type: deftypevr
  38888. #: guix-git/doc/guix.texi:26443
  38889. #, no-wrap
  38890. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  38891. msgstr ""
  38892. #. type: deftypevr
  38893. #: guix-git/doc/guix.texi:26449
  38894. 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."
  38895. msgstr ""
  38896. #. type: deftypevr
  38897. #: guix-git/doc/guix.texi:26454
  38898. #, no-wrap
  38899. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  38900. msgstr ""
  38901. #. type: deftypevr
  38902. #: guix-git/doc/guix.texi:26459
  38903. 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."
  38904. msgstr ""
  38905. #. type: deftypevr
  38906. #: guix-git/doc/guix.texi:26464
  38907. #, no-wrap
  38908. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  38909. msgstr ""
  38910. #. type: deftypevr
  38911. #: guix-git/doc/guix.texi:26470
  38912. 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."
  38913. msgstr ""
  38914. #. type: deftypevr
  38915. #: guix-git/doc/guix.texi:26475
  38916. #, no-wrap
  38917. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  38918. msgstr ""
  38919. #. type: deftypevr
  38920. #: guix-git/doc/guix.texi:26479
  38921. 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."
  38922. msgstr ""
  38923. #. type: deftypevr
  38924. #: guix-git/doc/guix.texi:26484
  38925. #, no-wrap
  38926. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  38927. msgstr ""
  38928. #. type: deftypevr
  38929. #: guix-git/doc/guix.texi:26489
  38930. 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."
  38931. msgstr ""
  38932. #. type: deftypevr
  38933. #: guix-git/doc/guix.texi:26494
  38934. #, no-wrap
  38935. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  38936. msgstr ""
  38937. #. type: deftypevr
  38938. #: guix-git/doc/guix.texi:26497
  38939. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  38940. msgstr ""
  38941. #. type: deftypevr
  38942. #: guix-git/doc/guix.texi:26502
  38943. #, no-wrap
  38944. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  38945. msgstr ""
  38946. #. type: deftypevr
  38947. #: guix-git/doc/guix.texi:26508
  38948. 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."
  38949. msgstr ""
  38950. #. type: deftypevr
  38951. #: guix-git/doc/guix.texi:26513
  38952. #, no-wrap
  38953. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  38954. msgstr ""
  38955. #. type: deftypevr
  38956. #: guix-git/doc/guix.texi:26517
  38957. 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."
  38958. msgstr ""
  38959. #. type: deftypevr
  38960. #: guix-git/doc/guix.texi:26522
  38961. #, no-wrap
  38962. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  38963. msgstr ""
  38964. #. type: deftypevr
  38965. #: guix-git/doc/guix.texi:26527
  38966. 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."
  38967. msgstr ""
  38968. #. type: deftypevr
  38969. #: guix-git/doc/guix.texi:26532
  38970. #, no-wrap
  38971. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  38972. msgstr ""
  38973. #. type: deftypevr
  38974. #: guix-git/doc/guix.texi:26534
  38975. msgid "List of pam service names for which LDAP authentication should suffice."
  38976. msgstr ""
  38977. #. type: cindex
  38978. #: guix-git/doc/guix.texi:26545
  38979. #, no-wrap
  38980. msgid "web"
  38981. msgstr ""
  38982. #. type: cindex
  38983. #: guix-git/doc/guix.texi:26546
  38984. #, no-wrap
  38985. msgid "www"
  38986. msgstr ""
  38987. #. type: cindex
  38988. #: guix-git/doc/guix.texi:26547
  38989. #, no-wrap
  38990. msgid "HTTP"
  38991. msgstr ""
  38992. #. type: Plain text
  38993. #: guix-git/doc/guix.texi:26550
  38994. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  38995. msgstr ""
  38996. #. type: subsubheading
  38997. #: guix-git/doc/guix.texi:26551
  38998. #, no-wrap
  38999. msgid "Apache HTTP Server"
  39000. msgstr ""
  39001. #. type: deffn
  39002. #: guix-git/doc/guix.texi:26553
  39003. #, no-wrap
  39004. msgid "{Scheme Variable} httpd-service-type"
  39005. msgstr ""
  39006. #. type: deffn
  39007. #: guix-git/doc/guix.texi:26557
  39008. 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."
  39009. msgstr ""
  39010. #. type: deffn
  39011. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26741
  39012. msgid "A simple example configuration is given below."
  39013. msgstr ""
  39014. #. type: lisp
  39015. #: guix-git/doc/guix.texi:26567
  39016. #, no-wrap
  39017. msgid ""
  39018. "(service httpd-service-type\n"
  39019. " (httpd-configuration\n"
  39020. " (config\n"
  39021. " (httpd-config-file\n"
  39022. " (server-name \"www.example.com\")\n"
  39023. " (document-root \"/srv/http/www.example.com\")))))\n"
  39024. msgstr ""
  39025. #. type: deffn
  39026. #: guix-git/doc/guix.texi:26571
  39027. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  39028. msgstr ""
  39029. #. type: lisp
  39030. #: guix-git/doc/guix.texi:26580 guix-git/doc/guix.texi:26720
  39031. #, no-wrap
  39032. msgid ""
  39033. "(simple-service 'www.example.com-server httpd-service-type\n"
  39034. " (list\n"
  39035. " (httpd-virtualhost\n"
  39036. " \"*:80\"\n"
  39037. " (list (string-join '(\"ServerName www.example.com\"\n"
  39038. " \"DocumentRoot /srv/http/www.example.com\")\n"
  39039. " \"\\n\")))))\n"
  39040. msgstr ""
  39041. #. type: Plain text
  39042. #: guix-git/doc/guix.texi:26586
  39043. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  39044. msgstr ""
  39045. #. type: deffn
  39046. #: guix-git/doc/guix.texi:26587
  39047. #, no-wrap
  39048. msgid "{Data Type} httpd-configuration"
  39049. msgstr ""
  39050. #. type: deffn
  39051. #: guix-git/doc/guix.texi:26589
  39052. msgid "This data type represents the configuration for the httpd service."
  39053. msgstr ""
  39054. #. type: item
  39055. #: guix-git/doc/guix.texi:26591
  39056. #, no-wrap
  39057. msgid "@code{package} (default: @code{httpd})"
  39058. msgstr ""
  39059. #. type: table
  39060. #: guix-git/doc/guix.texi:26593
  39061. msgid "The httpd package to use."
  39062. msgstr ""
  39063. #. type: item
  39064. #: guix-git/doc/guix.texi:26594 guix-git/doc/guix.texi:26683
  39065. #, no-wrap
  39066. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  39067. msgstr ""
  39068. #. type: table
  39069. #: guix-git/doc/guix.texi:26596
  39070. msgid "The pid file used by the shepherd-service."
  39071. msgstr ""
  39072. #. type: item
  39073. #: guix-git/doc/guix.texi:26597
  39074. #, no-wrap
  39075. msgid "@code{config} (default: @code{(httpd-config-file)})"
  39076. msgstr ""
  39077. #. type: table
  39078. #: guix-git/doc/guix.texi:26602
  39079. 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."
  39080. msgstr ""
  39081. #. type: deffn
  39082. #: guix-git/doc/guix.texi:26606
  39083. #, no-wrap
  39084. msgid "{Data Type} httpd-module"
  39085. msgstr ""
  39086. #. type: deffn
  39087. #: guix-git/doc/guix.texi:26608
  39088. msgid "This data type represents a module for the httpd service."
  39089. msgstr ""
  39090. #. type: table
  39091. #: guix-git/doc/guix.texi:26612
  39092. msgid "The name of the module."
  39093. msgstr ""
  39094. #. type: table
  39095. #: guix-git/doc/guix.texi:26618
  39096. 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\")}."
  39097. msgstr ""
  39098. #. type: defvr
  39099. #: guix-git/doc/guix.texi:26622
  39100. #, no-wrap
  39101. msgid "{Scheme Variable} %default-httpd-modules"
  39102. msgstr ""
  39103. #. type: defvr
  39104. #: guix-git/doc/guix.texi:26624
  39105. msgid "A default list of @code{httpd-module} objects."
  39106. msgstr ""
  39107. #. type: deffn
  39108. #: guix-git/doc/guix.texi:26626
  39109. #, no-wrap
  39110. msgid "{Data Type} httpd-config-file"
  39111. msgstr ""
  39112. #. type: deffn
  39113. #: guix-git/doc/guix.texi:26628
  39114. msgid "This data type represents a configuration file for the httpd service."
  39115. msgstr ""
  39116. #. type: item
  39117. #: guix-git/doc/guix.texi:26630
  39118. #, no-wrap
  39119. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  39120. msgstr ""
  39121. #. type: table
  39122. #: guix-git/doc/guix.texi:26633
  39123. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  39124. msgstr ""
  39125. #. type: table
  39126. #: guix-git/doc/guix.texi:26636
  39127. 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}:"
  39128. msgstr ""
  39129. #. type: lisp
  39130. #: guix-git/doc/guix.texi:26658
  39131. #, no-wrap
  39132. msgid ""
  39133. "(service httpd-service-type\n"
  39134. " (httpd-configuration\n"
  39135. " (config\n"
  39136. " (httpd-config-file\n"
  39137. " (modules (cons*\n"
  39138. " (httpd-module\n"
  39139. " (name \"proxy_module\")\n"
  39140. " (file \"modules/mod_proxy.so\"))\n"
  39141. " (httpd-module\n"
  39142. " (name \"proxy_fcgi_module\")\n"
  39143. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  39144. " %default-httpd-modules))\n"
  39145. " (extra-config (list \"\\\n"
  39146. "<FilesMatch \\\\.php$>\n"
  39147. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  39148. "</FilesMatch>\"))))))\n"
  39149. "(service php-fpm-service-type\n"
  39150. " (php-fpm-configuration\n"
  39151. " (socket \"/var/run/php-fpm.sock\")\n"
  39152. " (socket-group \"httpd\")))\n"
  39153. msgstr ""
  39154. #. type: item
  39155. #: guix-git/doc/guix.texi:26660
  39156. #, no-wrap
  39157. msgid "@code{server-root} (default: @code{httpd})"
  39158. msgstr ""
  39159. #. type: table
  39160. #: guix-git/doc/guix.texi:26664
  39161. 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."
  39162. msgstr ""
  39163. #. type: item
  39164. #: guix-git/doc/guix.texi:26665
  39165. #, no-wrap
  39166. msgid "@code{server-name} (default: @code{#f})"
  39167. msgstr ""
  39168. #. type: table
  39169. #: guix-git/doc/guix.texi:26669
  39170. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  39171. msgstr ""
  39172. #. type: table
  39173. #: guix-git/doc/guix.texi:26673
  39174. 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}."
  39175. msgstr ""
  39176. #. type: item
  39177. #: guix-git/doc/guix.texi:26674
  39178. #, no-wrap
  39179. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  39180. msgstr ""
  39181. #. type: table
  39182. #: guix-git/doc/guix.texi:26676
  39183. msgid "The @code{DocumentRoot} from which files will be served."
  39184. msgstr ""
  39185. #. type: item
  39186. #: guix-git/doc/guix.texi:26677
  39187. #, no-wrap
  39188. msgid "@code{listen} (default: @code{'(\"80\")})"
  39189. msgstr ""
  39190. #. type: table
  39191. #: guix-git/doc/guix.texi:26682
  39192. 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."
  39193. msgstr ""
  39194. #. type: table
  39195. #: guix-git/doc/guix.texi:26687
  39196. 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."
  39197. msgstr ""
  39198. #. type: item
  39199. #: guix-git/doc/guix.texi:26688
  39200. #, no-wrap
  39201. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  39202. msgstr ""
  39203. #. type: table
  39204. #: guix-git/doc/guix.texi:26690
  39205. msgid "The @code{ErrorLog} to which the server will log errors."
  39206. msgstr ""
  39207. #. type: item
  39208. #: guix-git/doc/guix.texi:26691 guix-git/doc/guix.texi:27254
  39209. #, no-wrap
  39210. msgid "@code{user} (default: @code{\"httpd\"})"
  39211. msgstr ""
  39212. #. type: table
  39213. #: guix-git/doc/guix.texi:26693
  39214. msgid "The @code{User} which the server will answer requests as."
  39215. msgstr ""
  39216. #. type: item
  39217. #: guix-git/doc/guix.texi:26694
  39218. #, no-wrap
  39219. msgid "@code{group} (default: @code{\"httpd\"})"
  39220. msgstr ""
  39221. #. type: table
  39222. #: guix-git/doc/guix.texi:26696
  39223. msgid "The @code{Group} which the server will answer requests as."
  39224. msgstr ""
  39225. #. type: item
  39226. #: guix-git/doc/guix.texi:26697
  39227. #, no-wrap
  39228. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  39229. msgstr ""
  39230. #. type: table
  39231. #: guix-git/doc/guix.texi:26700
  39232. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  39233. msgstr ""
  39234. #. type: table
  39235. #: guix-git/doc/guix.texi:26703
  39236. msgid "Any values which the service is extended with will be appended to this list."
  39237. msgstr ""
  39238. #. type: deffn
  39239. #: guix-git/doc/guix.texi:26707
  39240. #, no-wrap
  39241. msgid "{Data Type} httpd-virtualhost"
  39242. msgstr ""
  39243. #. type: deffn
  39244. #: guix-git/doc/guix.texi:26709
  39245. msgid "This data type represents a virtualhost configuration block for the httpd service."
  39246. msgstr ""
  39247. #. type: deffn
  39248. #: guix-git/doc/guix.texi:26711
  39249. msgid "These should be added to the extra-config for the httpd-service."
  39250. msgstr ""
  39251. #. type: code{#1}
  39252. #: guix-git/doc/guix.texi:26723
  39253. #, no-wrap
  39254. msgid "addresses-and-ports"
  39255. msgstr ""
  39256. #. type: table
  39257. #: guix-git/doc/guix.texi:26725
  39258. msgid "The addresses and ports for the @code{VirtualHost} directive."
  39259. msgstr ""
  39260. #. type: code{#1}
  39261. #: guix-git/doc/guix.texi:26726
  39262. #, no-wrap
  39263. msgid "contents"
  39264. msgstr ""
  39265. #. type: table
  39266. #: guix-git/doc/guix.texi:26729
  39267. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  39268. msgstr ""
  39269. #. type: subsubheading
  39270. #: guix-git/doc/guix.texi:26734
  39271. #, no-wrap
  39272. msgid "NGINX"
  39273. msgstr ""
  39274. #. type: deffn
  39275. #: guix-git/doc/guix.texi:26736
  39276. #, no-wrap
  39277. msgid "{Scheme Variable} nginx-service-type"
  39278. msgstr ""
  39279. #. type: deffn
  39280. #: guix-git/doc/guix.texi:26739
  39281. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  39282. msgstr ""
  39283. #. type: lisp
  39284. #: guix-git/doc/guix.texi:26749 guix-git/doc/guix.texi:26803
  39285. #, no-wrap
  39286. msgid ""
  39287. "(service nginx-service-type\n"
  39288. " (nginx-configuration\n"
  39289. " (server-blocks\n"
  39290. " (list (nginx-server-configuration\n"
  39291. " (server-name '(\"www.example.com\"))\n"
  39292. " (root \"/srv/http/www.example.com\"))))))\n"
  39293. msgstr ""
  39294. #. type: deffn
  39295. #: guix-git/doc/guix.texi:26754
  39296. 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:"
  39297. msgstr ""
  39298. #. type: lisp
  39299. #: guix-git/doc/guix.texi:26760
  39300. #, no-wrap
  39301. msgid ""
  39302. "(simple-service 'my-extra-server nginx-service-type\n"
  39303. " (list (nginx-server-configuration\n"
  39304. " (root \"/srv/http/extra-website\")\n"
  39305. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  39306. msgstr ""
  39307. #. type: Plain text
  39308. #: guix-git/doc/guix.texi:26771
  39309. 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."
  39310. msgstr ""
  39311. #. type: deffn
  39312. #: guix-git/doc/guix.texi:26772
  39313. #, no-wrap
  39314. msgid "{Data Type} nginx-configuration"
  39315. msgstr ""
  39316. #. type: deffn
  39317. #: guix-git/doc/guix.texi:26776
  39318. 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."
  39319. msgstr ""
  39320. #. type: item
  39321. #: guix-git/doc/guix.texi:26778
  39322. #, no-wrap
  39323. msgid "@code{nginx} (default: @code{nginx})"
  39324. msgstr ""
  39325. #. type: table
  39326. #: guix-git/doc/guix.texi:26780
  39327. msgid "The nginx package to use."
  39328. msgstr ""
  39329. #. type: item
  39330. #: guix-git/doc/guix.texi:26781
  39331. #, no-wrap
  39332. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  39333. msgstr ""
  39334. #. type: table
  39335. #: guix-git/doc/guix.texi:26783
  39336. msgid "The directory to which NGinx will write log files."
  39337. msgstr ""
  39338. #. type: item
  39339. #: guix-git/doc/guix.texi:26784
  39340. #, no-wrap
  39341. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  39342. msgstr ""
  39343. #. type: table
  39344. #: guix-git/doc/guix.texi:26787
  39345. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  39346. msgstr ""
  39347. #. type: item
  39348. #: guix-git/doc/guix.texi:26788
  39349. #, no-wrap
  39350. msgid "@code{server-blocks} (default: @code{'()})"
  39351. msgstr ""
  39352. #. type: table
  39353. #: guix-git/doc/guix.texi:26792
  39354. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  39355. msgstr ""
  39356. #. type: table
  39357. #: guix-git/doc/guix.texi:26796
  39358. 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."
  39359. msgstr ""
  39360. #. type: item
  39361. #: guix-git/doc/guix.texi:26805
  39362. #, no-wrap
  39363. msgid "@code{upstream-blocks} (default: @code{'()})"
  39364. msgstr ""
  39365. #. type: table
  39366. #: guix-git/doc/guix.texi:26809
  39367. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  39368. msgstr ""
  39369. #. type: table
  39370. #: guix-git/doc/guix.texi:26816
  39371. 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."
  39372. msgstr ""
  39373. #. type: lisp
  39374. #: guix-git/doc/guix.texi:26835
  39375. #, no-wrap
  39376. msgid ""
  39377. "(service\n"
  39378. " nginx-service-type\n"
  39379. " (nginx-configuration\n"
  39380. " (server-blocks\n"
  39381. " (list (nginx-server-configuration\n"
  39382. " (server-name '(\"www.example.com\"))\n"
  39383. " (root \"/srv/http/www.example.com\")\n"
  39384. " (locations\n"
  39385. " (list\n"
  39386. " (nginx-location-configuration\n"
  39387. " (uri \"/path1\")\n"
  39388. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  39389. " (upstream-blocks\n"
  39390. " (list (nginx-upstream-configuration\n"
  39391. " (name \"server-proxy\")\n"
  39392. " (servers (list \"server1.example.com\"\n"
  39393. " \"server2.example.com\")))))))\n"
  39394. msgstr ""
  39395. #. type: table
  39396. #: guix-git/doc/guix.texi:26843
  39397. 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."
  39398. msgstr ""
  39399. #. type: table
  39400. #: guix-git/doc/guix.texi:26847
  39401. 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."
  39402. msgstr ""
  39403. #. type: item
  39404. #: guix-git/doc/guix.texi:26848
  39405. #, no-wrap
  39406. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  39407. msgstr ""
  39408. #. type: table
  39409. #: guix-git/doc/guix.texi:26851
  39410. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  39411. msgstr ""
  39412. #. type: item
  39413. #: guix-git/doc/guix.texi:26852
  39414. #, no-wrap
  39415. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  39416. msgstr ""
  39417. #. type: table
  39418. #: guix-git/doc/guix.texi:26854
  39419. msgid "Maximum bucket size for the server names hash tables."
  39420. msgstr ""
  39421. #. type: table
  39422. #: guix-git/doc/guix.texi:26858
  39423. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  39424. msgstr ""
  39425. #. type: lisp
  39426. #: guix-git/doc/guix.texi:26866
  39427. #, no-wrap
  39428. msgid ""
  39429. "(modules\n"
  39430. " (list\n"
  39431. " (file-append nginx-accept-language-module \"\\\n"
  39432. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  39433. " (file-append nginx-lua-module \"\\\n"
  39434. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  39435. msgstr ""
  39436. #. type: item
  39437. #: guix-git/doc/guix.texi:26868
  39438. #, no-wrap
  39439. msgid "@code{lua-package-path} (default: @code{'()})"
  39440. msgstr ""
  39441. #. type: table
  39442. #: guix-git/doc/guix.texi:26871
  39443. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  39444. msgstr ""
  39445. #. type: lisp
  39446. #: guix-git/doc/guix.texi:26878
  39447. #, no-wrap
  39448. msgid ""
  39449. "(lua-package-path (list lua-resty-core\n"
  39450. " lua-resty-lrucache\n"
  39451. " lua-resty-signal\n"
  39452. " lua-tablepool\n"
  39453. " lua-resty-shell))\n"
  39454. msgstr ""
  39455. #. type: item
  39456. #: guix-git/doc/guix.texi:26880
  39457. #, no-wrap
  39458. msgid "@code{lua-package-cpath} (default: @code{'()})"
  39459. msgstr ""
  39460. #. type: table
  39461. #: guix-git/doc/guix.texi:26883
  39462. 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:"
  39463. msgstr ""
  39464. #. type: lisp
  39465. #: guix-git/doc/guix.texi:26886
  39466. #, no-wrap
  39467. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  39468. msgstr ""
  39469. #. type: item
  39470. #: guix-git/doc/guix.texi:26888
  39471. #, no-wrap
  39472. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  39473. msgstr ""
  39474. #. type: table
  39475. #: guix-git/doc/guix.texi:26891
  39476. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  39477. msgstr ""
  39478. #. type: lisp
  39479. #: guix-git/doc/guix.texi:26897
  39480. #, no-wrap
  39481. msgid ""
  39482. "(global-directives\n"
  39483. " `((worker_processes . 16)\n"
  39484. " (pcre_jit . on)\n"
  39485. " (events . ((worker_connections . 1024)))))\n"
  39486. msgstr ""
  39487. #. type: table
  39488. #: guix-git/doc/guix.texi:26902
  39489. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  39490. msgstr ""
  39491. #. type: anchor{#1}
  39492. #: guix-git/doc/guix.texi:26907
  39493. msgid "nginx-server-configuration"
  39494. msgstr ""
  39495. #. type: deftp
  39496. #: guix-git/doc/guix.texi:26907
  39497. #, no-wrap
  39498. msgid "{Data Type} nginx-server-configuration"
  39499. msgstr ""
  39500. #. type: deftp
  39501. #: guix-git/doc/guix.texi:26910
  39502. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  39503. msgstr ""
  39504. #. type: item
  39505. #: guix-git/doc/guix.texi:26912
  39506. #, no-wrap
  39507. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  39508. msgstr ""
  39509. #. type: table
  39510. #: guix-git/doc/guix.texi:26917
  39511. 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:"
  39512. msgstr ""
  39513. #. type: lisp
  39514. #: guix-git/doc/guix.texi:26920
  39515. #, no-wrap
  39516. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  39517. msgstr ""
  39518. #. type: item
  39519. #: guix-git/doc/guix.texi:26922
  39520. #, no-wrap
  39521. msgid "@code{server-name} (default: @code{(list 'default)})"
  39522. msgstr ""
  39523. #. type: table
  39524. #: guix-git/doc/guix.texi:26925
  39525. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  39526. msgstr ""
  39527. #. type: item
  39528. #: guix-git/doc/guix.texi:26926
  39529. #, no-wrap
  39530. msgid "@code{root} (default: @code{\"/srv/http\"})"
  39531. msgstr ""
  39532. #. type: table
  39533. #: guix-git/doc/guix.texi:26928
  39534. msgid "Root of the website nginx will serve."
  39535. msgstr ""
  39536. #. type: item
  39537. #: guix-git/doc/guix.texi:26929
  39538. #, no-wrap
  39539. msgid "@code{locations} (default: @code{'()})"
  39540. msgstr ""
  39541. #. type: table
  39542. #: guix-git/doc/guix.texi:26933
  39543. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  39544. msgstr ""
  39545. #. type: item
  39546. #: guix-git/doc/guix.texi:26934
  39547. #, no-wrap
  39548. msgid "@code{index} (default: @code{(list \"index.html\")})"
  39549. msgstr ""
  39550. #. type: table
  39551. #: guix-git/doc/guix.texi:26937
  39552. 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."
  39553. msgstr ""
  39554. #. type: item
  39555. #: guix-git/doc/guix.texi:26938
  39556. #, no-wrap
  39557. msgid "@code{try-files} (default: @code{'()})"
  39558. msgstr ""
  39559. #. type: table
  39560. #: guix-git/doc/guix.texi:26941
  39561. 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."
  39562. msgstr ""
  39563. #. type: item
  39564. #: guix-git/doc/guix.texi:26942
  39565. #, no-wrap
  39566. msgid "@code{ssl-certificate} (default: @code{#f})"
  39567. msgstr ""
  39568. #. type: table
  39569. #: guix-git/doc/guix.texi:26945
  39570. 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."
  39571. msgstr ""
  39572. #. type: item
  39573. #: guix-git/doc/guix.texi:26946
  39574. #, no-wrap
  39575. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  39576. msgstr ""
  39577. #. type: table
  39578. #: guix-git/doc/guix.texi:26949
  39579. 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."
  39580. msgstr ""
  39581. #. type: item
  39582. #: guix-git/doc/guix.texi:26950
  39583. #, no-wrap
  39584. msgid "@code{server-tokens?} (default: @code{#f})"
  39585. msgstr ""
  39586. #. type: table
  39587. #: guix-git/doc/guix.texi:26952
  39588. msgid "Whether the server should add its configuration to response."
  39589. msgstr ""
  39590. #. type: item
  39591. #: guix-git/doc/guix.texi:26953
  39592. #, no-wrap
  39593. msgid "@code{raw-content} (default: @code{'()})"
  39594. msgstr ""
  39595. #. type: table
  39596. #: guix-git/doc/guix.texi:26955
  39597. msgid "A list of raw lines added to the server block."
  39598. msgstr ""
  39599. #. type: deftp
  39600. #: guix-git/doc/guix.texi:26959
  39601. #, no-wrap
  39602. msgid "{Data Type} nginx-upstream-configuration"
  39603. msgstr ""
  39604. #. type: deftp
  39605. #: guix-git/doc/guix.texi:26962
  39606. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  39607. msgstr ""
  39608. #. type: table
  39609. #: guix-git/doc/guix.texi:26966
  39610. msgid "Name for this group of servers."
  39611. msgstr ""
  39612. #. type: code{#1}
  39613. #: guix-git/doc/guix.texi:26967
  39614. #, no-wrap
  39615. msgid "servers"
  39616. msgstr ""
  39617. #. type: table
  39618. #: guix-git/doc/guix.texi:26974
  39619. 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."
  39620. msgstr ""
  39621. #. type: deftp
  39622. #: guix-git/doc/guix.texi:26978
  39623. #, no-wrap
  39624. msgid "{Data Type} nginx-location-configuration"
  39625. msgstr ""
  39626. #. type: deftp
  39627. #: guix-git/doc/guix.texi:26981
  39628. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  39629. msgstr ""
  39630. #. type: table
  39631. #: guix-git/doc/guix.texi:26985
  39632. msgid "URI which this location block matches."
  39633. msgstr ""
  39634. #. type: anchor{#1}
  39635. #: guix-git/doc/guix.texi:26987
  39636. msgid "nginx-location-configuration body"
  39637. msgstr ""
  39638. #. type: code{#1}
  39639. #: guix-git/doc/guix.texi:26987 guix-git/doc/guix.texi:27008
  39640. #, no-wrap
  39641. msgid "body"
  39642. msgstr ""
  39643. #. type: table
  39644. #: guix-git/doc/guix.texi:26994
  39645. 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;\")}."
  39646. msgstr ""
  39647. #. type: deftp
  39648. #: guix-git/doc/guix.texi:26998
  39649. #, no-wrap
  39650. msgid "{Data Type} nginx-named-location-configuration"
  39651. msgstr ""
  39652. #. type: deftp
  39653. #: guix-git/doc/guix.texi:27003
  39654. 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:"
  39655. msgstr ""
  39656. #. type: table
  39657. #: guix-git/doc/guix.texi:27007
  39658. msgid "Name to identify this location block."
  39659. msgstr ""
  39660. #. type: table
  39661. #: guix-git/doc/guix.texi:27013
  39662. 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."
  39663. msgstr ""
  39664. #. type: subsubheading
  39665. #: guix-git/doc/guix.texi:27017
  39666. #, no-wrap
  39667. msgid "Varnish Cache"
  39668. msgstr ""
  39669. #. type: cindex
  39670. #: guix-git/doc/guix.texi:27018
  39671. #, no-wrap
  39672. msgid "Varnish"
  39673. msgstr ""
  39674. #. type: Plain text
  39675. #: guix-git/doc/guix.texi:27023
  39676. 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."
  39677. msgstr ""
  39678. #. type: defvr
  39679. #: guix-git/doc/guix.texi:27024
  39680. #, no-wrap
  39681. msgid "{Scheme Variable} varnish-service-type"
  39682. msgstr ""
  39683. #. type: defvr
  39684. #: guix-git/doc/guix.texi:27026
  39685. msgid "Service type for the Varnish daemon."
  39686. msgstr ""
  39687. #. type: deftp
  39688. #: guix-git/doc/guix.texi:27028
  39689. #, no-wrap
  39690. msgid "{Data Type} varnish-configuration"
  39691. msgstr ""
  39692. #. type: deftp
  39693. #: guix-git/doc/guix.texi:27031
  39694. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  39695. msgstr ""
  39696. #. type: item
  39697. #: guix-git/doc/guix.texi:27033
  39698. #, no-wrap
  39699. msgid "@code{package} (default: @code{varnish})"
  39700. msgstr ""
  39701. #. type: table
  39702. #: guix-git/doc/guix.texi:27035
  39703. msgid "The Varnish package to use."
  39704. msgstr ""
  39705. #. type: item
  39706. #: guix-git/doc/guix.texi:27036
  39707. #, no-wrap
  39708. msgid "@code{name} (default: @code{\"default\"})"
  39709. msgstr ""
  39710. #. type: table
  39711. #: guix-git/doc/guix.texi:27041
  39712. 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."
  39713. msgstr ""
  39714. #. type: table
  39715. #: guix-git/doc/guix.texi:27044
  39716. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  39717. msgstr ""
  39718. #. type: item
  39719. #: guix-git/doc/guix.texi:27045
  39720. #, no-wrap
  39721. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  39722. msgstr ""
  39723. #. type: table
  39724. #: guix-git/doc/guix.texi:27047
  39725. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  39726. msgstr ""
  39727. #. type: item
  39728. #: guix-git/doc/guix.texi:27048
  39729. #, no-wrap
  39730. msgid "@code{vcl} (default: #f)"
  39731. msgstr ""
  39732. #. type: table
  39733. #: guix-git/doc/guix.texi:27053
  39734. 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."
  39735. msgstr ""
  39736. #. type: table
  39737. #: guix-git/doc/guix.texi:27057
  39738. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  39739. msgstr ""
  39740. #. type: lisp
  39741. #: guix-git/doc/guix.texi:27063
  39742. #, no-wrap
  39743. msgid ""
  39744. "(define %gnu-mirror\n"
  39745. " (plain-file \"gnu.vcl\"\n"
  39746. " \"vcl 4.1;\n"
  39747. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  39748. "\n"
  39749. msgstr ""
  39750. #. type: lisp
  39751. #: guix-git/doc/guix.texi:27071
  39752. #, no-wrap
  39753. msgid ""
  39754. "(operating-system\n"
  39755. " ;; @dots{}\n"
  39756. " (services (cons (service varnish-service-type\n"
  39757. " (varnish-configuration\n"
  39758. " (listen '(\":80\"))\n"
  39759. " (vcl %gnu-mirror)))\n"
  39760. " %base-services)))\n"
  39761. msgstr ""
  39762. #. type: table
  39763. #: guix-git/doc/guix.texi:27075
  39764. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  39765. msgstr ""
  39766. #. type: table
  39767. #: guix-git/doc/guix.texi:27079
  39768. 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."
  39769. msgstr ""
  39770. #. type: item
  39771. #: guix-git/doc/guix.texi:27080
  39772. #, no-wrap
  39773. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  39774. msgstr ""
  39775. #. type: table
  39776. #: guix-git/doc/guix.texi:27082
  39777. msgid "List of addresses Varnish will listen on."
  39778. msgstr ""
  39779. #. type: item
  39780. #: guix-git/doc/guix.texi:27083
  39781. #, no-wrap
  39782. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  39783. msgstr ""
  39784. #. type: table
  39785. #: guix-git/doc/guix.texi:27085
  39786. msgid "List of storage backends that will be available in VCL."
  39787. msgstr ""
  39788. #. type: item
  39789. #: guix-git/doc/guix.texi:27086
  39790. #, no-wrap
  39791. msgid "@code{parameters} (default: @code{'()})"
  39792. msgstr ""
  39793. #. type: table
  39794. #: guix-git/doc/guix.texi:27088
  39795. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  39796. msgstr ""
  39797. #. type: table
  39798. #: guix-git/doc/guix.texi:27091
  39799. msgid "Additional arguments to pass to the @command{varnishd} process."
  39800. msgstr ""
  39801. #. type: cindex
  39802. #: guix-git/doc/guix.texi:27095 guix-git/doc/guix.texi:27096
  39803. #, no-wrap
  39804. msgid "Patchwork"
  39805. msgstr ""
  39806. #. type: Plain text
  39807. #: guix-git/doc/guix.texi:27099
  39808. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  39809. msgstr ""
  39810. #. type: defvr
  39811. #: guix-git/doc/guix.texi:27100
  39812. #, no-wrap
  39813. msgid "{Scheme Variable} patchwork-service-type"
  39814. msgstr ""
  39815. #. type: defvr
  39816. #: guix-git/doc/guix.texi:27102
  39817. msgid "Service type for Patchwork."
  39818. msgstr ""
  39819. #. type: Plain text
  39820. #: guix-git/doc/guix.texi:27106
  39821. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  39822. msgstr ""
  39823. #. type: lisp
  39824. #: guix-git/doc/guix.texi:27126
  39825. #, no-wrap
  39826. msgid ""
  39827. "(service patchwork-service-type\n"
  39828. " (patchwork-configuration\n"
  39829. " (domain \"patchwork.example.com\")\n"
  39830. " (settings-module\n"
  39831. " (patchwork-settings-module\n"
  39832. " (allowed-hosts (list domain))\n"
  39833. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  39834. " (getmail-retriever-config\n"
  39835. " (getmail-retriever-configuration\n"
  39836. " (type \"SimpleIMAPSSLRetriever\")\n"
  39837. " (server \"imap.example.com\")\n"
  39838. " (port 993)\n"
  39839. " (username \"patchwork\")\n"
  39840. " (password-command\n"
  39841. " (list (file-append coreutils \"/bin/cat\")\n"
  39842. " \"/etc/getmail-patchwork-imap-password\"))\n"
  39843. " (extra-parameters\n"
  39844. " '((mailboxes . (\"Patches\"))))))))\n"
  39845. "\n"
  39846. msgstr ""
  39847. #. type: Plain text
  39848. #: guix-git/doc/guix.texi:27132
  39849. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  39850. msgstr ""
  39851. #. type: Plain text
  39852. #: guix-git/doc/guix.texi:27136
  39853. 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."
  39854. msgstr ""
  39855. #. type: Plain text
  39856. #: guix-git/doc/guix.texi:27140
  39857. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  39858. msgstr ""
  39859. #. type: deftp
  39860. #: guix-git/doc/guix.texi:27141
  39861. #, no-wrap
  39862. msgid "{Data Type} patchwork-configuration"
  39863. msgstr ""
  39864. #. type: deftp
  39865. #: guix-git/doc/guix.texi:27144
  39866. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  39867. msgstr ""
  39868. #. type: item
  39869. #: guix-git/doc/guix.texi:27146
  39870. #, no-wrap
  39871. msgid "@code{patchwork} (default: @code{patchwork})"
  39872. msgstr ""
  39873. #. type: table
  39874. #: guix-git/doc/guix.texi:27148
  39875. msgid "The Patchwork package to use."
  39876. msgstr ""
  39877. #. type: code{#1}
  39878. #: guix-git/doc/guix.texi:27149
  39879. #, no-wrap
  39880. msgid "domain"
  39881. msgstr ""
  39882. #. type: table
  39883. #: guix-git/doc/guix.texi:27152
  39884. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  39885. msgstr ""
  39886. #. type: code{#1}
  39887. #: guix-git/doc/guix.texi:27153
  39888. #, no-wrap
  39889. msgid "settings-module"
  39890. msgstr ""
  39891. #. type: table
  39892. #: guix-git/doc/guix.texi:27159
  39893. 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."
  39894. msgstr ""
  39895. #. type: item
  39896. #: guix-git/doc/guix.texi:27160
  39897. #, no-wrap
  39898. msgid "@code{static-path} (default: @code{\"/static/\"})"
  39899. msgstr ""
  39900. #. type: table
  39901. #: guix-git/doc/guix.texi:27162
  39902. msgid "The path under which the HTTPD service should serve the static files."
  39903. msgstr ""
  39904. #. type: code{#1}
  39905. #: guix-git/doc/guix.texi:27163
  39906. #, no-wrap
  39907. msgid "getmail-retriever-config"
  39908. msgstr ""
  39909. #. type: table
  39910. #: guix-git/doc/guix.texi:27167
  39911. 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."
  39912. msgstr ""
  39913. #. type: deftp
  39914. #: guix-git/doc/guix.texi:27171
  39915. #, no-wrap
  39916. msgid "{Data Type} patchwork-settings-module"
  39917. msgstr ""
  39918. #. type: deftp
  39919. #: guix-git/doc/guix.texi:27176
  39920. 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:"
  39921. msgstr ""
  39922. #. type: item
  39923. #: guix-git/doc/guix.texi:27178
  39924. #, no-wrap
  39925. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  39926. msgstr ""
  39927. #. type: table
  39928. #: guix-git/doc/guix.texi:27181
  39929. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  39930. msgstr ""
  39931. #. type: item
  39932. #: guix-git/doc/guix.texi:27182
  39933. #, no-wrap
  39934. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  39935. msgstr ""
  39936. #. type: table
  39937. #: guix-git/doc/guix.texi:27185
  39938. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  39939. msgstr ""
  39940. #. type: table
  39941. #: guix-git/doc/guix.texi:27188
  39942. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  39943. msgstr ""
  39944. #. type: table
  39945. #: guix-git/doc/guix.texi:27190
  39946. msgid "This setting relates to Django."
  39947. msgstr ""
  39948. #. type: code{#1}
  39949. #: guix-git/doc/guix.texi:27191
  39950. #, no-wrap
  39951. msgid "allowed-hosts"
  39952. msgstr ""
  39953. #. type: table
  39954. #: guix-git/doc/guix.texi:27194
  39955. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  39956. msgstr ""
  39957. #. type: table
  39958. #: guix-git/doc/guix.texi:27196 guix-git/doc/guix.texi:27210
  39959. #: guix-git/doc/guix.texi:27216 guix-git/doc/guix.texi:27222
  39960. msgid "This is a Django setting."
  39961. msgstr ""
  39962. #. type: code{#1}
  39963. #: guix-git/doc/guix.texi:27197
  39964. #, no-wrap
  39965. msgid "default-from-email"
  39966. msgstr ""
  39967. #. type: table
  39968. #: guix-git/doc/guix.texi:27199
  39969. msgid "The email address from which Patchwork should send email by default."
  39970. msgstr ""
  39971. #. type: table
  39972. #: guix-git/doc/guix.texi:27201 guix-git/doc/guix.texi:27227
  39973. #: guix-git/doc/guix.texi:27232 guix-git/doc/guix.texi:27237
  39974. msgid "This is a Patchwork setting."
  39975. msgstr ""
  39976. #. type: item
  39977. #: guix-git/doc/guix.texi:27202
  39978. #, no-wrap
  39979. msgid "@code{static-url} (default: @code{#f})"
  39980. msgstr ""
  39981. #. type: table
  39982. #: guix-git/doc/guix.texi:27205
  39983. 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{/}."
  39984. msgstr ""
  39985. #. type: table
  39986. #: guix-git/doc/guix.texi:27208
  39987. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  39988. msgstr ""
  39989. #. type: item
  39990. #: guix-git/doc/guix.texi:27211
  39991. #, no-wrap
  39992. msgid "@code{admins} (default: @code{'()})"
  39993. msgstr ""
  39994. #. type: table
  39995. #: guix-git/doc/guix.texi:27214
  39996. 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."
  39997. msgstr ""
  39998. #. type: table
  39999. #: guix-git/doc/guix.texi:27220
  40000. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  40001. msgstr ""
  40002. #. type: item
  40003. #: guix-git/doc/guix.texi:27223
  40004. #, no-wrap
  40005. msgid "@code{enable-rest-api?} (default: @code{#t})"
  40006. msgstr ""
  40007. #. type: table
  40008. #: guix-git/doc/guix.texi:27225
  40009. msgid "Whether to enable the Patchwork REST API."
  40010. msgstr ""
  40011. #. type: item
  40012. #: guix-git/doc/guix.texi:27228
  40013. #, no-wrap
  40014. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  40015. msgstr ""
  40016. #. type: table
  40017. #: guix-git/doc/guix.texi:27230
  40018. msgid "Whether to enable the XML RPC API."
  40019. msgstr ""
  40020. #. type: item
  40021. #: guix-git/doc/guix.texi:27233
  40022. #, no-wrap
  40023. msgid "@code{force-https-links?} (default: @code{#t})"
  40024. msgstr ""
  40025. #. type: table
  40026. #: guix-git/doc/guix.texi:27235
  40027. msgid "Whether to use HTTPS links on Patchwork pages."
  40028. msgstr ""
  40029. #. type: table
  40030. #: guix-git/doc/guix.texi:27240
  40031. msgid "Extra code to place at the end of the Patchwork settings module."
  40032. msgstr ""
  40033. #. type: deftp
  40034. #: guix-git/doc/guix.texi:27244
  40035. #, no-wrap
  40036. msgid "{Data Type} patchwork-database-configuration"
  40037. msgstr ""
  40038. #. type: deftp
  40039. #: guix-git/doc/guix.texi:27246
  40040. msgid "Data type representing the database configuration for Patchwork."
  40041. msgstr ""
  40042. #. type: item
  40043. #: guix-git/doc/guix.texi:27248
  40044. #, no-wrap
  40045. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  40046. msgstr ""
  40047. #. type: table
  40048. #: guix-git/doc/guix.texi:27250
  40049. msgid "The database engine to use."
  40050. msgstr ""
  40051. #. type: item
  40052. #: guix-git/doc/guix.texi:27251
  40053. #, no-wrap
  40054. msgid "@code{name} (default: @code{\"patchwork\"})"
  40055. msgstr ""
  40056. #. type: table
  40057. #: guix-git/doc/guix.texi:27253
  40058. msgid "The name of the database to use."
  40059. msgstr ""
  40060. #. type: table
  40061. #: guix-git/doc/guix.texi:27256
  40062. msgid "The user to connect to the database as."
  40063. msgstr ""
  40064. #. type: item
  40065. #: guix-git/doc/guix.texi:27257
  40066. #, no-wrap
  40067. msgid "@code{password} (default: @code{\"\"})"
  40068. msgstr ""
  40069. #. type: table
  40070. #: guix-git/doc/guix.texi:27259
  40071. msgid "The password to use when connecting to the database."
  40072. msgstr ""
  40073. #. type: item
  40074. #: guix-git/doc/guix.texi:27260
  40075. #, no-wrap
  40076. msgid "@code{host} (default: @code{\"\"})"
  40077. msgstr ""
  40078. #. type: table
  40079. #: guix-git/doc/guix.texi:27262
  40080. msgid "The host to make the database connection to."
  40081. msgstr ""
  40082. #. type: item
  40083. #: guix-git/doc/guix.texi:27263
  40084. #, no-wrap
  40085. msgid "@code{port} (default: @code{\"\"})"
  40086. msgstr ""
  40087. #. type: table
  40088. #: guix-git/doc/guix.texi:27265
  40089. msgid "The port on which to connect to the database."
  40090. msgstr ""
  40091. #. type: subsubheading
  40092. #: guix-git/doc/guix.texi:27269
  40093. #, no-wrap
  40094. msgid "Mumi"
  40095. msgstr ""
  40096. #. type: cindex
  40097. #: guix-git/doc/guix.texi:27271
  40098. #, no-wrap
  40099. msgid "Mumi, Debbugs Web interface"
  40100. msgstr ""
  40101. #. type: cindex
  40102. #: guix-git/doc/guix.texi:27272
  40103. #, no-wrap
  40104. msgid "Debbugs, Mumi Web interface"
  40105. msgstr ""
  40106. #. type: Plain text
  40107. #: guix-git/doc/guix.texi:27277
  40108. 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."
  40109. msgstr ""
  40110. #. type: defvr
  40111. #: guix-git/doc/guix.texi:27278
  40112. #, no-wrap
  40113. msgid "{Scheme Variable} mumi-service-type"
  40114. msgstr ""
  40115. #. type: defvr
  40116. #: guix-git/doc/guix.texi:27280
  40117. msgid "This is the service type for Mumi."
  40118. msgstr ""
  40119. #. type: deftp
  40120. #: guix-git/doc/guix.texi:27282
  40121. #, no-wrap
  40122. msgid "{Data Type} mumi-configuration"
  40123. msgstr ""
  40124. #. type: deftp
  40125. #: guix-git/doc/guix.texi:27285
  40126. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  40127. msgstr ""
  40128. #. type: item
  40129. #: guix-git/doc/guix.texi:27287
  40130. #, no-wrap
  40131. msgid "@code{mumi} (default: @code{mumi})"
  40132. msgstr ""
  40133. #. type: table
  40134. #: guix-git/doc/guix.texi:27289
  40135. msgid "The Mumi package to use."
  40136. msgstr ""
  40137. #. type: item
  40138. #: guix-git/doc/guix.texi:27290
  40139. #, no-wrap
  40140. msgid "@code{mailer?} (default: @code{#true})"
  40141. msgstr ""
  40142. #. type: table
  40143. #: guix-git/doc/guix.texi:27292
  40144. msgid "Whether to enable or disable the mailer component."
  40145. msgstr ""
  40146. #. type: code{#1}
  40147. #: guix-git/doc/guix.texi:27293
  40148. #, no-wrap
  40149. msgid "mumi-configuration-sender"
  40150. msgstr ""
  40151. #. type: table
  40152. #: guix-git/doc/guix.texi:27295
  40153. msgid "The email address used as the sender for comments."
  40154. msgstr ""
  40155. #. type: code{#1}
  40156. #: guix-git/doc/guix.texi:27296
  40157. #, no-wrap
  40158. msgid "mumi-configuration-smtp"
  40159. msgstr ""
  40160. #. type: table
  40161. #: guix-git/doc/guix.texi:27301
  40162. 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}."
  40163. msgstr ""
  40164. #. type: subsubheading
  40165. #: guix-git/doc/guix.texi:27306
  40166. #, no-wrap
  40167. msgid "FastCGI"
  40168. msgstr ""
  40169. #. type: cindex
  40170. #: guix-git/doc/guix.texi:27307
  40171. #, no-wrap
  40172. msgid "fastcgi"
  40173. msgstr ""
  40174. #. type: cindex
  40175. #: guix-git/doc/guix.texi:27308
  40176. #, no-wrap
  40177. msgid "fcgiwrap"
  40178. msgstr ""
  40179. #. type: Plain text
  40180. #: guix-git/doc/guix.texi:27315
  40181. 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."
  40182. msgstr ""
  40183. #. type: Plain text
  40184. #: guix-git/doc/guix.texi:27322
  40185. 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."
  40186. msgstr ""
  40187. #. type: defvr
  40188. #: guix-git/doc/guix.texi:27323
  40189. #, no-wrap
  40190. msgid "{Scheme Variable} fcgiwrap-service-type"
  40191. msgstr ""
  40192. #. type: defvr
  40193. #: guix-git/doc/guix.texi:27325
  40194. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  40195. msgstr ""
  40196. #. type: deftp
  40197. #: guix-git/doc/guix.texi:27327
  40198. #, no-wrap
  40199. msgid "{Data Type} fcgiwrap-configuration"
  40200. msgstr ""
  40201. #. type: deftp
  40202. #: guix-git/doc/guix.texi:27330
  40203. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  40204. msgstr ""
  40205. #. type: item
  40206. #: guix-git/doc/guix.texi:27331
  40207. #, no-wrap
  40208. msgid "@code{package} (default: @code{fcgiwrap})"
  40209. msgstr ""
  40210. #. type: table
  40211. #: guix-git/doc/guix.texi:27333
  40212. msgid "The fcgiwrap package to use."
  40213. msgstr ""
  40214. #. type: item
  40215. #: guix-git/doc/guix.texi:27334
  40216. #, no-wrap
  40217. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  40218. msgstr ""
  40219. #. type: table
  40220. #: guix-git/doc/guix.texi:27340
  40221. 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}."
  40222. msgstr ""
  40223. #. type: item
  40224. #: guix-git/doc/guix.texi:27341
  40225. #, no-wrap
  40226. msgid "@code{user} (default: @code{fcgiwrap})"
  40227. msgstr ""
  40228. #. type: itemx
  40229. #: guix-git/doc/guix.texi:27342
  40230. #, no-wrap
  40231. msgid "@code{group} (default: @code{fcgiwrap})"
  40232. msgstr ""
  40233. #. type: table
  40234. #: guix-git/doc/guix.texi:27347
  40235. 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."
  40236. msgstr ""
  40237. #. type: table
  40238. #: guix-git/doc/guix.texi:27354
  40239. 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."
  40240. msgstr ""
  40241. #. type: subsubheading
  40242. #: guix-git/doc/guix.texi:27358
  40243. #, no-wrap
  40244. msgid "PHP-FPM"
  40245. msgstr ""
  40246. #. type: cindex
  40247. #: guix-git/doc/guix.texi:27359
  40248. #, no-wrap
  40249. msgid "php-fpm"
  40250. msgstr ""
  40251. #. type: Plain text
  40252. #: guix-git/doc/guix.texi:27362
  40253. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  40254. msgstr ""
  40255. #. type: Plain text
  40256. #: guix-git/doc/guix.texi:27364
  40257. msgid "These features include:"
  40258. msgstr ""
  40259. #. type: item
  40260. #: guix-git/doc/guix.texi:27365
  40261. #, no-wrap
  40262. msgid "Adaptive process spawning"
  40263. msgstr ""
  40264. #. type: item
  40265. #: guix-git/doc/guix.texi:27366
  40266. #, no-wrap
  40267. msgid "Basic statistics (similar to Apache's mod_status)"
  40268. msgstr ""
  40269. #. type: item
  40270. #: guix-git/doc/guix.texi:27367
  40271. #, no-wrap
  40272. msgid "Advanced process management with graceful stop/start"
  40273. msgstr ""
  40274. #. type: item
  40275. #: guix-git/doc/guix.texi:27368
  40276. #, no-wrap
  40277. msgid "Ability to start workers with different uid/gid/chroot/environment"
  40278. msgstr ""
  40279. #. type: itemize
  40280. #: guix-git/doc/guix.texi:27370
  40281. msgid "and different php.ini (replaces safe_mode)"
  40282. msgstr ""
  40283. #. type: item
  40284. #: guix-git/doc/guix.texi:27370
  40285. #, no-wrap
  40286. msgid "Stdout & stderr logging"
  40287. msgstr ""
  40288. #. type: item
  40289. #: guix-git/doc/guix.texi:27371
  40290. #, no-wrap
  40291. msgid "Emergency restart in case of accidental opcode cache destruction"
  40292. msgstr ""
  40293. #. type: item
  40294. #: guix-git/doc/guix.texi:27372
  40295. #, no-wrap
  40296. msgid "Accelerated upload support"
  40297. msgstr ""
  40298. #. type: item
  40299. #: guix-git/doc/guix.texi:27373
  40300. #, no-wrap
  40301. msgid "Support for a \"slowlog\""
  40302. msgstr ""
  40303. #. type: item
  40304. #: guix-git/doc/guix.texi:27374
  40305. #, no-wrap
  40306. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  40307. msgstr ""
  40308. #. type: itemize
  40309. #: guix-git/doc/guix.texi:27377
  40310. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  40311. msgstr ""
  40312. #. type: Plain text
  40313. #: guix-git/doc/guix.texi:27379
  40314. msgid "...@: and much more."
  40315. msgstr ""
  40316. #. type: defvr
  40317. #: guix-git/doc/guix.texi:27380
  40318. #, no-wrap
  40319. msgid "{Scheme Variable} php-fpm-service-type"
  40320. msgstr ""
  40321. #. type: defvr
  40322. #: guix-git/doc/guix.texi:27382
  40323. msgid "A Service type for @code{php-fpm}."
  40324. msgstr ""
  40325. #. type: deftp
  40326. #: guix-git/doc/guix.texi:27384
  40327. #, no-wrap
  40328. msgid "{Data Type} php-fpm-configuration"
  40329. msgstr ""
  40330. #. type: deftp
  40331. #: guix-git/doc/guix.texi:27386
  40332. msgid "Data Type for php-fpm service configuration."
  40333. msgstr ""
  40334. #. type: item
  40335. #: guix-git/doc/guix.texi:27387
  40336. #, no-wrap
  40337. msgid "@code{php} (default: @code{php})"
  40338. msgstr ""
  40339. #. type: table
  40340. #: guix-git/doc/guix.texi:27389
  40341. msgid "The php package to use."
  40342. msgstr ""
  40343. #. type: item
  40344. #: guix-git/doc/guix.texi:27389
  40345. #, no-wrap
  40346. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  40347. msgstr ""
  40348. #. type: table
  40349. #: guix-git/doc/guix.texi:27391
  40350. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  40351. msgstr ""
  40352. #. type: code{#1}
  40353. #: guix-git/doc/guix.texi:27392
  40354. #, no-wrap
  40355. msgid "\"ip.add.re.ss:port\""
  40356. msgstr ""
  40357. #. type: table
  40358. #: guix-git/doc/guix.texi:27394
  40359. msgid "Listen on a TCP socket to a specific address on a specific port."
  40360. msgstr ""
  40361. #. type: code{#1}
  40362. #: guix-git/doc/guix.texi:27394
  40363. #, no-wrap
  40364. msgid "\"port\""
  40365. msgstr ""
  40366. #. type: table
  40367. #: guix-git/doc/guix.texi:27396
  40368. msgid "Listen on a TCP socket to all addresses on a specific port."
  40369. msgstr ""
  40370. #. type: code{#1}
  40371. #: guix-git/doc/guix.texi:27396
  40372. #, no-wrap
  40373. msgid "\"/path/to/unix/socket\""
  40374. msgstr ""
  40375. #. type: table
  40376. #: guix-git/doc/guix.texi:27398
  40377. msgid "Listen on a unix socket."
  40378. msgstr ""
  40379. #. type: item
  40380. #: guix-git/doc/guix.texi:27400
  40381. #, no-wrap
  40382. msgid "@code{user} (default: @code{php-fpm})"
  40383. msgstr ""
  40384. #. type: table
  40385. #: guix-git/doc/guix.texi:27402
  40386. msgid "User who will own the php worker processes."
  40387. msgstr ""
  40388. #. type: item
  40389. #: guix-git/doc/guix.texi:27402
  40390. #, no-wrap
  40391. msgid "@code{group} (default: @code{php-fpm})"
  40392. msgstr ""
  40393. #. type: table
  40394. #: guix-git/doc/guix.texi:27404
  40395. msgid "Group of the worker processes."
  40396. msgstr ""
  40397. #. type: item
  40398. #: guix-git/doc/guix.texi:27404
  40399. #, no-wrap
  40400. msgid "@code{socket-user} (default: @code{php-fpm})"
  40401. msgstr ""
  40402. #. type: table
  40403. #: guix-git/doc/guix.texi:27406
  40404. msgid "User who can speak to the php-fpm socket."
  40405. msgstr ""
  40406. #. type: item
  40407. #: guix-git/doc/guix.texi:27406
  40408. #, no-wrap
  40409. msgid "@code{socket-group} (default: @code{nginx})"
  40410. msgstr ""
  40411. #. type: table
  40412. #: guix-git/doc/guix.texi:27408
  40413. msgid "Group that can speak to the php-fpm socket."
  40414. msgstr ""
  40415. #. type: item
  40416. #: guix-git/doc/guix.texi:27408
  40417. #, no-wrap
  40418. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  40419. msgstr ""
  40420. #. type: table
  40421. #: guix-git/doc/guix.texi:27411
  40422. msgid "The process id of the php-fpm process is written to this file once the service has started."
  40423. msgstr ""
  40424. #. type: item
  40425. #: guix-git/doc/guix.texi:27411
  40426. #, no-wrap
  40427. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  40428. msgstr ""
  40429. #. type: table
  40430. #: guix-git/doc/guix.texi:27413
  40431. msgid "Log for the php-fpm master process."
  40432. msgstr ""
  40433. #. type: item
  40434. #: guix-git/doc/guix.texi:27413
  40435. #, no-wrap
  40436. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  40437. msgstr ""
  40438. #. type: table
  40439. #: guix-git/doc/guix.texi:27416
  40440. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  40441. msgstr ""
  40442. #. type: code{#1}
  40443. #: guix-git/doc/guix.texi:27417
  40444. #, no-wrap
  40445. msgid "<php-fpm-dynamic-process-manager-configuration>"
  40446. msgstr ""
  40447. #. type: code{#1}
  40448. #: guix-git/doc/guix.texi:27418
  40449. #, no-wrap
  40450. msgid "<php-fpm-static-process-manager-configuration>"
  40451. msgstr ""
  40452. #. type: code{#1}
  40453. #: guix-git/doc/guix.texi:27419
  40454. #, no-wrap
  40455. msgid "<php-fpm-on-demand-process-manager-configuration>"
  40456. msgstr ""
  40457. #. type: item
  40458. #: guix-git/doc/guix.texi:27421
  40459. #, no-wrap
  40460. msgid "@code{display-errors} (default @code{#f})"
  40461. msgstr ""
  40462. #. type: table
  40463. #: guix-git/doc/guix.texi:27426
  40464. 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."
  40465. msgstr ""
  40466. #. type: item
  40467. #: guix-git/doc/guix.texi:27426
  40468. #, no-wrap
  40469. msgid "@code{timezone} (default @code{#f})"
  40470. msgstr ""
  40471. #. type: table
  40472. #: guix-git/doc/guix.texi:27428
  40473. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  40474. msgstr ""
  40475. #. type: item
  40476. #: guix-git/doc/guix.texi:27428
  40477. #, no-wrap
  40478. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  40479. msgstr ""
  40480. #. type: table
  40481. #: guix-git/doc/guix.texi:27431
  40482. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  40483. msgstr ""
  40484. #. type: item
  40485. #: guix-git/doc/guix.texi:27431
  40486. #, no-wrap
  40487. msgid "@code{file} (default @code{#f})"
  40488. msgstr ""
  40489. #. type: table
  40490. #: guix-git/doc/guix.texi:27434
  40491. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  40492. msgstr ""
  40493. #. type: item
  40494. #: guix-git/doc/guix.texi:27434
  40495. #, no-wrap
  40496. msgid "@code{php-ini-file} (default @code{#f})"
  40497. msgstr ""
  40498. #. type: table
  40499. #: guix-git/doc/guix.texi:27438
  40500. 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."
  40501. msgstr ""
  40502. #. type: table
  40503. #: guix-git/doc/guix.texi:27442
  40504. 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:"
  40505. msgstr ""
  40506. #. type: lisp
  40507. #: guix-git/doc/guix.texi:27447
  40508. #, no-wrap
  40509. msgid ""
  40510. "(define %local-php-ini\n"
  40511. " (plain-file \"php.ini\"\n"
  40512. " \"memory_limit = 2G\n"
  40513. "max_execution_time = 1800\"))\n"
  40514. "\n"
  40515. msgstr ""
  40516. #. type: lisp
  40517. #: guix-git/doc/guix.texi:27454
  40518. #, no-wrap
  40519. msgid ""
  40520. "(operating-system\n"
  40521. " ;; @dots{}\n"
  40522. " (services (cons (service php-fpm-service-type\n"
  40523. " (php-fpm-configuration\n"
  40524. " (php-ini-file %local-php-ini)))\n"
  40525. " %base-services)))\n"
  40526. msgstr ""
  40527. #. type: table
  40528. #: guix-git/doc/guix.texi:27459
  40529. 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."
  40530. msgstr ""
  40531. #. type: deftp
  40532. #: guix-git/doc/guix.texi:27462
  40533. #, no-wrap
  40534. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  40535. msgstr ""
  40536. #. type: deftp
  40537. #: guix-git/doc/guix.texi:27466
  40538. 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."
  40539. msgstr ""
  40540. #. type: item
  40541. #: guix-git/doc/guix.texi:27467 guix-git/doc/guix.texi:27483
  40542. #: guix-git/doc/guix.texi:27493
  40543. #, no-wrap
  40544. msgid "@code{max-children} (default: @code{5})"
  40545. msgstr ""
  40546. #. type: table
  40547. #: guix-git/doc/guix.texi:27469 guix-git/doc/guix.texi:27485
  40548. #: guix-git/doc/guix.texi:27495
  40549. msgid "Maximum of worker processes."
  40550. msgstr ""
  40551. #. type: item
  40552. #: guix-git/doc/guix.texi:27469
  40553. #, no-wrap
  40554. msgid "@code{start-servers} (default: @code{2})"
  40555. msgstr ""
  40556. #. type: table
  40557. #: guix-git/doc/guix.texi:27471
  40558. msgid "How many worker processes should be started on start-up."
  40559. msgstr ""
  40560. #. type: item
  40561. #: guix-git/doc/guix.texi:27471
  40562. #, no-wrap
  40563. msgid "@code{min-spare-servers} (default: @code{1})"
  40564. msgstr ""
  40565. #. type: table
  40566. #: guix-git/doc/guix.texi:27473
  40567. msgid "How many spare worker processes should be kept around at minimum."
  40568. msgstr ""
  40569. #. type: item
  40570. #: guix-git/doc/guix.texi:27473
  40571. #, no-wrap
  40572. msgid "@code{max-spare-servers} (default: @code{3})"
  40573. msgstr ""
  40574. #. type: table
  40575. #: guix-git/doc/guix.texi:27475
  40576. msgid "How many spare worker processes should be kept around at maximum."
  40577. msgstr ""
  40578. #. type: deftp
  40579. #: guix-git/doc/guix.texi:27478
  40580. #, no-wrap
  40581. msgid "{Data type} php-fpm-static-process-manager-configuration"
  40582. msgstr ""
  40583. #. type: deftp
  40584. #: guix-git/doc/guix.texi:27482
  40585. 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."
  40586. msgstr ""
  40587. #. type: deftp
  40588. #: guix-git/doc/guix.texi:27488
  40589. #, no-wrap
  40590. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  40591. msgstr ""
  40592. #. type: deftp
  40593. #: guix-git/doc/guix.texi:27492
  40594. 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."
  40595. msgstr ""
  40596. #. type: item
  40597. #: guix-git/doc/guix.texi:27495
  40598. #, no-wrap
  40599. msgid "@code{process-idle-timeout} (default: @code{10})"
  40600. msgstr ""
  40601. #. type: table
  40602. #: guix-git/doc/guix.texi:27497
  40603. msgid "The time in seconds after which a process with no requests is killed."
  40604. msgstr ""
  40605. #. type: deffn
  40606. #: guix-git/doc/guix.texi:27501
  40607. #, no-wrap
  40608. msgid "{Scheme Procedure} nginx-php-location @"
  40609. msgstr ""
  40610. #. type: deffn
  40611. #: guix-git/doc/guix.texi:27507
  40612. 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}."
  40613. msgstr ""
  40614. #. type: Plain text
  40615. #: guix-git/doc/guix.texi:27510
  40616. msgid "A simple services setup for nginx with php can look like this:"
  40617. msgstr ""
  40618. #. type: lisp
  40619. #: guix-git/doc/guix.texi:27523
  40620. #, no-wrap
  40621. msgid ""
  40622. "(services (cons* (service dhcp-client-service-type)\n"
  40623. " (service php-fpm-service-type)\n"
  40624. " (service nginx-service-type\n"
  40625. " (nginx-server-configuration\n"
  40626. " (server-name '(\"example.com\"))\n"
  40627. " (root \"/srv/http/\")\n"
  40628. " (locations\n"
  40629. " (list (nginx-php-location)))\n"
  40630. " (listen '(\"80\"))\n"
  40631. " (ssl-certificate #f)\n"
  40632. " (ssl-certificate-key #f)))\n"
  40633. " %base-services))\n"
  40634. msgstr ""
  40635. #. type: cindex
  40636. #: guix-git/doc/guix.texi:27525
  40637. #, no-wrap
  40638. msgid "cat-avatar-generator"
  40639. msgstr ""
  40640. #. type: Plain text
  40641. #: guix-git/doc/guix.texi:27529
  40642. 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."
  40643. msgstr ""
  40644. #. type: deffn
  40645. #: guix-git/doc/guix.texi:27530
  40646. #, no-wrap
  40647. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  40648. msgstr ""
  40649. #. type: deffn
  40650. #: guix-git/doc/guix.texi:27538
  40651. 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."
  40652. msgstr ""
  40653. #. type: Plain text
  40654. #: guix-git/doc/guix.texi:27541
  40655. msgid "A simple setup for cat-avatar-generator can look like this:"
  40656. msgstr ""
  40657. #. type: lisp
  40658. #: guix-git/doc/guix.texi:27548
  40659. #, no-wrap
  40660. msgid ""
  40661. "(services (cons* (cat-avatar-generator-service\n"
  40662. " #:configuration\n"
  40663. " (nginx-server-configuration\n"
  40664. " (server-name '(\"example.com\"))))\n"
  40665. " ...\n"
  40666. " %base-services))\n"
  40667. msgstr ""
  40668. #. type: subsubheading
  40669. #: guix-git/doc/guix.texi:27550
  40670. #, no-wrap
  40671. msgid "Hpcguix-web"
  40672. msgstr ""
  40673. #. type: cindex
  40674. #: guix-git/doc/guix.texi:27552
  40675. #, no-wrap
  40676. msgid "hpcguix-web"
  40677. msgstr ""
  40678. #. type: Plain text
  40679. #: guix-git/doc/guix.texi:27557
  40680. 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."
  40681. msgstr ""
  40682. #. type: defvr
  40683. #: guix-git/doc/guix.texi:27558
  40684. #, no-wrap
  40685. msgid "{Scheme Variable} hpcguix-web-service-type"
  40686. msgstr ""
  40687. #. type: defvr
  40688. #: guix-git/doc/guix.texi:27560
  40689. msgid "The service type for @code{hpcguix-web}."
  40690. msgstr ""
  40691. #. type: deftp
  40692. #: guix-git/doc/guix.texi:27562
  40693. #, no-wrap
  40694. msgid "{Data Type} hpcguix-web-configuration"
  40695. msgstr ""
  40696. #. type: deftp
  40697. #: guix-git/doc/guix.texi:27564
  40698. msgid "Data type for the hpcguix-web service configuration."
  40699. msgstr ""
  40700. #. type: code{#1}
  40701. #: guix-git/doc/guix.texi:27566
  40702. #, no-wrap
  40703. msgid "specs"
  40704. msgstr ""
  40705. #. type: table
  40706. #: guix-git/doc/guix.texi:27569
  40707. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  40708. msgstr ""
  40709. #. type: item
  40710. #: guix-git/doc/guix.texi:27571
  40711. #, no-wrap
  40712. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  40713. msgstr ""
  40714. #. type: table
  40715. #: guix-git/doc/guix.texi:27573
  40716. msgid "The page title prefix."
  40717. msgstr ""
  40718. #. type: item
  40719. #: guix-git/doc/guix.texi:27574
  40720. #, no-wrap
  40721. msgid "@code{guix-command} (default: @code{\"guix\"})"
  40722. msgstr ""
  40723. #. type: table
  40724. #: guix-git/doc/guix.texi:27576
  40725. msgid "The @command{guix} command."
  40726. msgstr ""
  40727. #. type: item
  40728. #: guix-git/doc/guix.texi:27577
  40729. #, no-wrap
  40730. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  40731. msgstr ""
  40732. #. type: table
  40733. #: guix-git/doc/guix.texi:27579
  40734. msgid "A procedure specifying how to filter packages that are displayed."
  40735. msgstr ""
  40736. #. type: item
  40737. #: guix-git/doc/guix.texi:27580
  40738. #, no-wrap
  40739. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  40740. msgstr ""
  40741. #. type: table
  40742. #: guix-git/doc/guix.texi:27582
  40743. msgid "Extension package for @code{hpcguix-web}."
  40744. msgstr ""
  40745. #. type: item
  40746. #: guix-git/doc/guix.texi:27583
  40747. #, no-wrap
  40748. msgid "@code{menu} (default: @code{'()})"
  40749. msgstr ""
  40750. #. type: table
  40751. #: guix-git/doc/guix.texi:27585
  40752. msgid "Additional entry in page @code{menu}."
  40753. msgstr ""
  40754. #. type: item
  40755. #: guix-git/doc/guix.texi:27586
  40756. #, no-wrap
  40757. msgid "@code{channels} (default: @code{%default-channels})"
  40758. msgstr ""
  40759. #. type: table
  40760. #: guix-git/doc/guix.texi:27588
  40761. msgid "List of channels from which the package list is built (@pxref{Channels})."
  40762. msgstr ""
  40763. #. type: item
  40764. #: guix-git/doc/guix.texi:27589
  40765. #, no-wrap
  40766. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  40767. msgstr ""
  40768. #. type: table
  40769. #: guix-git/doc/guix.texi:27592
  40770. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  40771. msgstr ""
  40772. #. type: table
  40773. #: guix-git/doc/guix.texi:27597
  40774. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  40775. msgstr ""
  40776. #. type: item
  40777. #: guix-git/doc/guix.texi:27598
  40778. #, no-wrap
  40779. msgid "@code{package} (default: @code{hpcguix-web})"
  40780. msgstr ""
  40781. #. type: table
  40782. #: guix-git/doc/guix.texi:27600
  40783. msgid "The hpcguix-web package to use."
  40784. msgstr ""
  40785. #. type: item
  40786. #: guix-git/doc/guix.texi:27601
  40787. #, no-wrap
  40788. msgid "@code{address} (default: @code{\"127.0.0.1\"})"
  40789. msgstr ""
  40790. #. type: table
  40791. #: guix-git/doc/guix.texi:27603
  40792. msgid "The IP address to listen to."
  40793. msgstr ""
  40794. #. type: item
  40795. #: guix-git/doc/guix.texi:27604
  40796. #, no-wrap
  40797. msgid "@code{port} (default: @code{5000})"
  40798. msgstr ""
  40799. #. type: table
  40800. #: guix-git/doc/guix.texi:27606
  40801. msgid "The port number to listen to."
  40802. msgstr ""
  40803. #. type: Plain text
  40804. #: guix-git/doc/guix.texi:27610
  40805. msgid "A typical hpcguix-web service declaration looks like this:"
  40806. msgstr ""
  40807. #. type: lisp
  40808. #: guix-git/doc/guix.texi:27619
  40809. #, no-wrap
  40810. msgid ""
  40811. "(service hpcguix-web-service-type\n"
  40812. " (hpcguix-web-configuration\n"
  40813. " (specs\n"
  40814. " #~(define site-config\n"
  40815. " (hpcweb-configuration\n"
  40816. " (title-prefix \"Guix-HPC - \")\n"
  40817. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  40818. msgstr ""
  40819. #. type: quotation
  40820. #: guix-git/doc/guix.texi:27626
  40821. 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."
  40822. msgstr ""
  40823. #. type: quotation
  40824. #: guix-git/doc/guix.texi:27630
  40825. 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."
  40826. msgstr ""
  40827. #. type: cindex
  40828. #: guix-git/doc/guix.texi:27632 guix-git/doc/guix.texi:27634
  40829. #, no-wrap
  40830. msgid "gmnisrv"
  40831. msgstr ""
  40832. #. type: Plain text
  40833. #: guix-git/doc/guix.texi:27637
  40834. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  40835. msgstr ""
  40836. #. type: deffn
  40837. #: guix-git/doc/guix.texi:27638
  40838. #, no-wrap
  40839. msgid "{Scheme Variable} gmnisrv-service-type"
  40840. msgstr ""
  40841. #. type: deffn
  40842. #: guix-git/doc/guix.texi:27641
  40843. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  40844. msgstr ""
  40845. #. type: lisp
  40846. #: guix-git/doc/guix.texi:27646
  40847. #, no-wrap
  40848. msgid ""
  40849. "(service gmnisrv-service-type\n"
  40850. " (gmnisrv-configuration\n"
  40851. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  40852. msgstr ""
  40853. #. type: deftp
  40854. #: guix-git/doc/guix.texi:27649
  40855. #, no-wrap
  40856. msgid "{Data Type} gmnisrv-configuration"
  40857. msgstr ""
  40858. #. type: deftp
  40859. #: guix-git/doc/guix.texi:27651
  40860. msgid "Data type representing the configuration of gmnisrv."
  40861. msgstr ""
  40862. #. type: item
  40863. #: guix-git/doc/guix.texi:27653
  40864. #, no-wrap
  40865. msgid "@code{package} (default: @var{gmnisrv})"
  40866. msgstr ""
  40867. #. type: table
  40868. #: guix-git/doc/guix.texi:27655
  40869. msgid "Package object of the gmnisrv server."
  40870. msgstr ""
  40871. #. type: item
  40872. #: guix-git/doc/guix.texi:27656
  40873. #, no-wrap
  40874. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  40875. msgstr ""
  40876. #. type: table
  40877. #: guix-git/doc/guix.texi:27662
  40878. 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}."
  40879. msgstr ""
  40880. #. type: subsubheading
  40881. #: guix-git/doc/guix.texi:27666
  40882. #, no-wrap
  40883. msgid "Agate"
  40884. msgstr ""
  40885. #. type: cindex
  40886. #: guix-git/doc/guix.texi:27668
  40887. #, no-wrap
  40888. msgid "agate"
  40889. msgstr ""
  40890. #. type: Plain text
  40891. #: guix-git/doc/guix.texi:27673
  40892. 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."
  40893. msgstr ""
  40894. #. type: deffn
  40895. #: guix-git/doc/guix.texi:27674
  40896. #, no-wrap
  40897. msgid "{Scheme Variable} agate-service-type"
  40898. msgstr ""
  40899. #. type: deffn
  40900. #: guix-git/doc/guix.texi:27677
  40901. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  40902. msgstr ""
  40903. #. type: lisp
  40904. #: guix-git/doc/guix.texi:27684
  40905. #, no-wrap
  40906. msgid ""
  40907. "(service agate-service-type\n"
  40908. "\t (agate-configuration\n"
  40909. "\t (content \"/srv/gemini\")\n"
  40910. "\t (cert \"/srv/cert.pem\")\n"
  40911. "\t (key \"/srv/key.rsa\")))\n"
  40912. msgstr ""
  40913. #. type: deffn
  40914. #: guix-git/doc/guix.texi:27689
  40915. 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."
  40916. msgstr ""
  40917. #. type: deffn
  40918. #: guix-git/doc/guix.texi:27692
  40919. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  40920. msgstr ""
  40921. #. type: example
  40922. #: guix-git/doc/guix.texi:27696
  40923. #, no-wrap
  40924. msgid ""
  40925. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  40926. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  40927. msgstr ""
  40928. #. type: deffn
  40929. #: guix-git/doc/guix.texi:27701
  40930. 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."
  40931. msgstr ""
  40932. #. type: deftp
  40933. #: guix-git/doc/guix.texi:27704
  40934. #, no-wrap
  40935. msgid "{Data Type} agate-configuration"
  40936. msgstr ""
  40937. #. type: deftp
  40938. #: guix-git/doc/guix.texi:27706
  40939. msgid "Data type representing the configuration of Agate."
  40940. msgstr ""
  40941. #. type: item
  40942. #: guix-git/doc/guix.texi:27708
  40943. #, no-wrap
  40944. msgid "@code{package} (default: @code{agate})"
  40945. msgstr ""
  40946. #. type: table
  40947. #: guix-git/doc/guix.texi:27710
  40948. msgid "The package object of the Agate server."
  40949. msgstr ""
  40950. #. type: item
  40951. #: guix-git/doc/guix.texi:27711
  40952. #, no-wrap
  40953. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  40954. msgstr ""
  40955. #. type: table
  40956. #: guix-git/doc/guix.texi:27713
  40957. msgid "The directory from which Agate will serve files."
  40958. msgstr ""
  40959. #. type: item
  40960. #: guix-git/doc/guix.texi:27714
  40961. #, no-wrap
  40962. msgid "@code{cert} (default: @code{#f})"
  40963. msgstr ""
  40964. #. type: table
  40965. #: guix-git/doc/guix.texi:27717
  40966. 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."
  40967. msgstr ""
  40968. #. type: item
  40969. #: guix-git/doc/guix.texi:27718 guix-git/doc/guix.texi:28154
  40970. #, no-wrap
  40971. msgid "@code{key} (default: @code{#f})"
  40972. msgstr ""
  40973. #. type: table
  40974. #: guix-git/doc/guix.texi:27721
  40975. 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."
  40976. msgstr ""
  40977. #. type: item
  40978. #: guix-git/doc/guix.texi:27722
  40979. #, no-wrap
  40980. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  40981. msgstr ""
  40982. #. type: table
  40983. #: guix-git/doc/guix.texi:27724
  40984. msgid "A list of the addresses to listen on."
  40985. msgstr ""
  40986. #. type: table
  40987. #: guix-git/doc/guix.texi:27727
  40988. msgid "The domain name of this Gemini server. Optional."
  40989. msgstr ""
  40990. #. type: item
  40991. #: guix-git/doc/guix.texi:27728
  40992. #, no-wrap
  40993. msgid "@code{lang} (default: @code{#f})"
  40994. msgstr ""
  40995. #. type: table
  40996. #: guix-git/doc/guix.texi:27730
  40997. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  40998. msgstr ""
  40999. #. type: item
  41000. #: guix-git/doc/guix.texi:27731
  41001. #, no-wrap
  41002. msgid "@code{silent?} (default: @code{#f})"
  41003. msgstr ""
  41004. #. type: table
  41005. #: guix-git/doc/guix.texi:27733
  41006. msgid "Set to @code{#t} to disable logging output."
  41007. msgstr ""
  41008. #. type: item
  41009. #: guix-git/doc/guix.texi:27734
  41010. #, no-wrap
  41011. msgid "@code{serve-secret?} (default: @code{#f})"
  41012. msgstr ""
  41013. #. type: table
  41014. #: guix-git/doc/guix.texi:27737
  41015. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  41016. msgstr ""
  41017. #. type: item
  41018. #: guix-git/doc/guix.texi:27738
  41019. #, no-wrap
  41020. msgid "@code{log-ip?} (default: @code{#t})"
  41021. msgstr ""
  41022. #. type: table
  41023. #: guix-git/doc/guix.texi:27740
  41024. msgid "Whether or not to output IP addresses when logging."
  41025. msgstr ""
  41026. #. type: item
  41027. #: guix-git/doc/guix.texi:27741
  41028. #, no-wrap
  41029. msgid "@code{user} (default: @code{\"agate\"})"
  41030. msgstr ""
  41031. #. type: table
  41032. #: guix-git/doc/guix.texi:27743
  41033. msgid "Owner of the @code{agate} process."
  41034. msgstr ""
  41035. #. type: item
  41036. #: guix-git/doc/guix.texi:27744
  41037. #, no-wrap
  41038. msgid "@code{group} (default: @code{\"agate\"})"
  41039. msgstr ""
  41040. #. type: table
  41041. #: guix-git/doc/guix.texi:27746
  41042. msgid "Owner's group of the @code{agate} process."
  41043. msgstr ""
  41044. #. type: item
  41045. #: guix-git/doc/guix.texi:27747
  41046. #, no-wrap
  41047. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  41048. msgstr ""
  41049. #. type: table
  41050. #: guix-git/doc/guix.texi:27749
  41051. msgid "The file which should store the logging output of Agate."
  41052. msgstr ""
  41053. #. type: cindex
  41054. #: guix-git/doc/guix.texi:27756
  41055. #, no-wrap
  41056. msgid "Web"
  41057. msgstr ""
  41058. #. type: cindex
  41059. #: guix-git/doc/guix.texi:27757
  41060. #, no-wrap
  41061. msgid "HTTP, HTTPS"
  41062. msgstr ""
  41063. #. type: cindex
  41064. #: guix-git/doc/guix.texi:27758
  41065. #, no-wrap
  41066. msgid "Let's Encrypt"
  41067. msgstr ""
  41068. #. type: cindex
  41069. #: guix-git/doc/guix.texi:27759
  41070. #, no-wrap
  41071. msgid "TLS certificates"
  41072. msgstr ""
  41073. #. type: Plain text
  41074. #: guix-git/doc/guix.texi:27766
  41075. 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."
  41076. msgstr ""
  41077. #. type: Plain text
  41078. #: guix-git/doc/guix.texi:27778
  41079. 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."
  41080. msgstr ""
  41081. #. type: Plain text
  41082. #: guix-git/doc/guix.texi:27785
  41083. 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)."
  41084. msgstr ""
  41085. #. type: Plain text
  41086. #: guix-git/doc/guix.texi:27791
  41087. 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."
  41088. msgstr ""
  41089. #. type: Plain text
  41090. #: guix-git/doc/guix.texi:27795
  41091. 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}."
  41092. msgstr ""
  41093. #. type: defvr
  41094. #: guix-git/doc/guix.texi:27796
  41095. #, no-wrap
  41096. msgid "{Scheme Variable} certbot-service-type"
  41097. msgstr ""
  41098. #. type: defvr
  41099. #: guix-git/doc/guix.texi:27799
  41100. 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:"
  41101. msgstr ""
  41102. #. type: lisp
  41103. #: guix-git/doc/guix.texi:27806
  41104. #, no-wrap
  41105. msgid ""
  41106. "(define %nginx-deploy-hook\n"
  41107. " (program-file\n"
  41108. " \"nginx-deploy-hook\"\n"
  41109. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  41110. " (kill pid SIGHUP))))\n"
  41111. "\n"
  41112. msgstr ""
  41113. #. type: lisp
  41114. #: guix-git/doc/guix.texi:27817
  41115. #, no-wrap
  41116. msgid ""
  41117. "(service certbot-service-type\n"
  41118. " (certbot-configuration\n"
  41119. " (email \"foo@@example.net\")\n"
  41120. " (certificates\n"
  41121. " (list\n"
  41122. " (certificate-configuration\n"
  41123. " (domains '(\"example.net\" \"www.example.net\"))\n"
  41124. " (deploy-hook %nginx-deploy-hook))\n"
  41125. " (certificate-configuration\n"
  41126. " (domains '(\"bar.example.net\")))))))\n"
  41127. msgstr ""
  41128. #. type: defvr
  41129. #: guix-git/doc/guix.texi:27820
  41130. msgid "See below for details about @code{certbot-configuration}."
  41131. msgstr ""
  41132. #. type: deftp
  41133. #: guix-git/doc/guix.texi:27822
  41134. #, no-wrap
  41135. msgid "{Data Type} certbot-configuration"
  41136. msgstr ""
  41137. #. type: deftp
  41138. #: guix-git/doc/guix.texi:27825
  41139. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  41140. msgstr ""
  41141. #. type: item
  41142. #: guix-git/doc/guix.texi:27827
  41143. #, no-wrap
  41144. msgid "@code{package} (default: @code{certbot})"
  41145. msgstr ""
  41146. #. type: table
  41147. #: guix-git/doc/guix.texi:27829
  41148. msgid "The certbot package to use."
  41149. msgstr ""
  41150. #. type: item
  41151. #: guix-git/doc/guix.texi:27830
  41152. #, no-wrap
  41153. msgid "@code{webroot} (default: @code{/var/www})"
  41154. msgstr ""
  41155. #. type: table
  41156. #: guix-git/doc/guix.texi:27833
  41157. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  41158. msgstr ""
  41159. #. type: item
  41160. #: guix-git/doc/guix.texi:27834
  41161. #, no-wrap
  41162. msgid "@code{certificates} (default: @code{()})"
  41163. msgstr ""
  41164. #. type: table
  41165. #: guix-git/doc/guix.texi:27838
  41166. 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}."
  41167. msgstr ""
  41168. #. type: item
  41169. #: guix-git/doc/guix.texi:27839
  41170. #, no-wrap
  41171. msgid "@code{email} (default: @code{#f})"
  41172. msgstr ""
  41173. #. type: table
  41174. #: guix-git/doc/guix.texi:27843
  41175. 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."
  41176. msgstr ""
  41177. #. type: item
  41178. #: guix-git/doc/guix.texi:27844 guix-git/doc/guix.texi:29591
  41179. #, no-wrap
  41180. msgid "@code{server} (default: @code{#f})"
  41181. msgstr ""
  41182. #. type: table
  41183. #: guix-git/doc/guix.texi:27847
  41184. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  41185. msgstr ""
  41186. #. type: item
  41187. #: guix-git/doc/guix.texi:27848
  41188. #, no-wrap
  41189. msgid "@code{rsa-key-size} (default: @code{2048})"
  41190. msgstr ""
  41191. #. type: table
  41192. #: guix-git/doc/guix.texi:27850
  41193. msgid "Size of the RSA key."
  41194. msgstr ""
  41195. #. type: item
  41196. #: guix-git/doc/guix.texi:27851
  41197. #, no-wrap
  41198. msgid "@code{default-location} (default: @i{see below})"
  41199. msgstr ""
  41200. #. type: table
  41201. #: guix-git/doc/guix.texi:27860
  41202. 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."
  41203. msgstr ""
  41204. #. type: table
  41205. #: guix-git/doc/guix.texi:27864
  41206. 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."
  41207. msgstr ""
  41208. #. type: table
  41209. #: guix-git/doc/guix.texi:27868
  41210. 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}."
  41211. msgstr ""
  41212. #. type: table
  41213. #: guix-git/doc/guix.texi:27870
  41214. msgid "Pass @code{#f} to not issue a default location."
  41215. msgstr ""
  41216. #. type: deftp
  41217. #: guix-git/doc/guix.texi:27873
  41218. #, no-wrap
  41219. msgid "{Data Type} certificate-configuration"
  41220. msgstr ""
  41221. #. type: deftp
  41222. #: guix-git/doc/guix.texi:27876
  41223. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  41224. msgstr ""
  41225. #. type: item
  41226. #: guix-git/doc/guix.texi:27878
  41227. #, no-wrap
  41228. msgid "@code{name} (default: @i{see below})"
  41229. msgstr ""
  41230. #. type: table
  41231. #: guix-git/doc/guix.texi:27882
  41232. 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}."
  41233. msgstr ""
  41234. #. type: table
  41235. #: guix-git/doc/guix.texi:27884
  41236. msgid "Its default is the first provided domain."
  41237. msgstr ""
  41238. #. type: item
  41239. #: guix-git/doc/guix.texi:27885
  41240. #, no-wrap
  41241. msgid "@code{domains} (default: @code{()})"
  41242. msgstr ""
  41243. #. type: table
  41244. #: guix-git/doc/guix.texi:27888
  41245. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  41246. msgstr ""
  41247. #. type: item
  41248. #: guix-git/doc/guix.texi:27889
  41249. #, no-wrap
  41250. msgid "@code{challenge} (default: @code{#f})"
  41251. msgstr ""
  41252. #. type: table
  41253. #: guix-git/doc/guix.texi:27896
  41254. 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."
  41255. msgstr ""
  41256. #. type: item
  41257. #: guix-git/doc/guix.texi:27897
  41258. #, no-wrap
  41259. msgid "@code{csr} (default: @code{#f})"
  41260. msgstr ""
  41261. #. type: table
  41262. #: guix-git/doc/guix.texi:27904
  41263. 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."
  41264. msgstr ""
  41265. #. type: item
  41266. #: guix-git/doc/guix.texi:27905
  41267. #, no-wrap
  41268. msgid "@code{authentication-hook} (default: @code{#f})"
  41269. msgstr ""
  41270. #. type: table
  41271. #: guix-git/doc/guix.texi:27911
  41272. 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."
  41273. msgstr ""
  41274. #. type: item
  41275. #: guix-git/doc/guix.texi:27912
  41276. #, no-wrap
  41277. msgid "@code{cleanup-hook} (default: @code{#f})"
  41278. msgstr ""
  41279. #. type: table
  41280. #: guix-git/doc/guix.texi:27918
  41281. 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."
  41282. msgstr ""
  41283. #. type: item
  41284. #: guix-git/doc/guix.texi:27919
  41285. #, no-wrap
  41286. msgid "@code{deploy-hook} (default: @code{#f})"
  41287. msgstr ""
  41288. #. type: table
  41289. #: guix-git/doc/guix.texi:27927
  41290. 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\"}."
  41291. msgstr ""
  41292. #. type: Plain text
  41293. #: guix-git/doc/guix.texi:27934
  41294. 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}."
  41295. msgstr ""
  41296. #. type: cindex
  41297. #: guix-git/doc/guix.texi:27936
  41298. #, no-wrap
  41299. msgid "DNS (domain name system)"
  41300. msgstr ""
  41301. #. type: cindex
  41302. #: guix-git/doc/guix.texi:27937
  41303. #, no-wrap
  41304. msgid "domain name system (DNS)"
  41305. msgstr ""
  41306. #. type: Plain text
  41307. #: guix-git/doc/guix.texi:27945
  41308. 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}."
  41309. msgstr ""
  41310. #. type: subsubheading
  41311. #: guix-git/doc/guix.texi:27946
  41312. #, no-wrap
  41313. msgid "Knot Service"
  41314. msgstr ""
  41315. #. type: Plain text
  41316. #: guix-git/doc/guix.texi:27950
  41317. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  41318. msgstr ""
  41319. #. type: lisp
  41320. #: guix-git/doc/guix.texi:27957
  41321. #, no-wrap
  41322. msgid ""
  41323. "(define-zone-entries example.org.zone\n"
  41324. ";; Name TTL Class Type Data\n"
  41325. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  41326. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  41327. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  41328. "\n"
  41329. msgstr ""
  41330. #. type: lisp
  41331. #: guix-git/doc/guix.texi:27964
  41332. #, no-wrap
  41333. msgid ""
  41334. "(define master-zone\n"
  41335. " (knot-zone-configuration\n"
  41336. " (domain \"example.org\")\n"
  41337. " (zone (zone-file\n"
  41338. " (origin \"example.org\")\n"
  41339. " (entries example.org.zone)))))\n"
  41340. "\n"
  41341. msgstr ""
  41342. #. type: lisp
  41343. #: guix-git/doc/guix.texi:27970
  41344. #, no-wrap
  41345. msgid ""
  41346. "(define slave-zone\n"
  41347. " (knot-zone-configuration\n"
  41348. " (domain \"plop.org\")\n"
  41349. " (dnssec-policy \"default\")\n"
  41350. " (master (list \"plop-master\"))))\n"
  41351. "\n"
  41352. msgstr ""
  41353. #. type: lisp
  41354. #: guix-git/doc/guix.texi:27975
  41355. #, no-wrap
  41356. msgid ""
  41357. "(define plop-master\n"
  41358. " (knot-remote-configuration\n"
  41359. " (id \"plop-master\")\n"
  41360. " (address (list \"208.76.58.171\"))))\n"
  41361. "\n"
  41362. msgstr ""
  41363. #. type: lisp
  41364. #: guix-git/doc/guix.texi:27984
  41365. #, no-wrap
  41366. msgid ""
  41367. "(operating-system\n"
  41368. " ;; ...\n"
  41369. " (services (cons* (service knot-service-type\n"
  41370. " (knot-configuration\n"
  41371. " (remotes (list plop-master))\n"
  41372. " (zones (list master-zone slave-zone))))\n"
  41373. " ;; ...\n"
  41374. " %base-services)))\n"
  41375. msgstr ""
  41376. #. type: deffn
  41377. #: guix-git/doc/guix.texi:27986
  41378. #, no-wrap
  41379. msgid "{Scheme Variable} knot-service-type"
  41380. msgstr ""
  41381. #. type: deffn
  41382. #: guix-git/doc/guix.texi:27988
  41383. msgid "This is the type for the Knot DNS server."
  41384. msgstr ""
  41385. #. type: deffn
  41386. #: guix-git/doc/guix.texi:27996
  41387. 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."
  41388. msgstr ""
  41389. #. type: deffn
  41390. #: guix-git/doc/guix.texi:27998
  41391. msgid "The following data types are used to configure the Knot DNS server:"
  41392. msgstr ""
  41393. #. type: deftp
  41394. #: guix-git/doc/guix.texi:28000
  41395. #, no-wrap
  41396. msgid "{Data Type} knot-key-configuration"
  41397. msgstr ""
  41398. #. type: deftp
  41399. #: guix-git/doc/guix.texi:28003
  41400. msgid "Data type representing a key. This type has the following parameters:"
  41401. msgstr ""
  41402. #. type: item
  41403. #: guix-git/doc/guix.texi:28005 guix-git/doc/guix.texi:28025
  41404. #: guix-git/doc/guix.texi:28140 guix-git/doc/guix.texi:28166
  41405. #: guix-git/doc/guix.texi:28201
  41406. #, no-wrap
  41407. msgid "@code{id} (default: @code{\"\"})"
  41408. msgstr ""
  41409. #. type: table
  41410. #: guix-git/doc/guix.texi:28008 guix-git/doc/guix.texi:28028
  41411. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  41412. msgstr ""
  41413. #. type: item
  41414. #: guix-git/doc/guix.texi:28009
  41415. #, no-wrap
  41416. msgid "@code{algorithm} (default: @code{#f})"
  41417. msgstr ""
  41418. #. type: table
  41419. #: guix-git/doc/guix.texi:28013
  41420. 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}."
  41421. msgstr ""
  41422. #. type: item
  41423. #: guix-git/doc/guix.texi:28014
  41424. #, no-wrap
  41425. msgid "@code{secret} (default: @code{\"\"})"
  41426. msgstr ""
  41427. #. type: table
  41428. #: guix-git/doc/guix.texi:28016
  41429. msgid "The secret key itself."
  41430. msgstr ""
  41431. #. type: deftp
  41432. #: guix-git/doc/guix.texi:28020
  41433. #, no-wrap
  41434. msgid "{Data Type} knot-acl-configuration"
  41435. msgstr ""
  41436. #. type: deftp
  41437. #: guix-git/doc/guix.texi:28023
  41438. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  41439. msgstr ""
  41440. #. type: item
  41441. #: guix-git/doc/guix.texi:28029 guix-git/doc/guix.texi:28144
  41442. #, no-wrap
  41443. msgid "@code{address} (default: @code{'()})"
  41444. msgstr ""
  41445. #. type: table
  41446. #: guix-git/doc/guix.texi:28033
  41447. 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."
  41448. msgstr ""
  41449. #. type: item
  41450. #: guix-git/doc/guix.texi:28034
  41451. #, no-wrap
  41452. msgid "@code{key} (default: @code{'()})"
  41453. msgstr ""
  41454. #. type: table
  41455. #: guix-git/doc/guix.texi:28038
  41456. 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."
  41457. msgstr ""
  41458. #. type: item
  41459. #: guix-git/doc/guix.texi:28039
  41460. #, no-wrap
  41461. msgid "@code{action} (default: @code{'()})"
  41462. msgstr ""
  41463. #. type: table
  41464. #: guix-git/doc/guix.texi:28043
  41465. 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}."
  41466. msgstr ""
  41467. #. type: item
  41468. #: guix-git/doc/guix.texi:28044
  41469. #, no-wrap
  41470. msgid "@code{deny?} (default: @code{#f})"
  41471. msgstr ""
  41472. #. type: table
  41473. #: guix-git/doc/guix.texi:28047
  41474. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  41475. msgstr ""
  41476. #. type: deftp
  41477. #: guix-git/doc/guix.texi:28051
  41478. #, no-wrap
  41479. msgid "{Data Type} zone-entry"
  41480. msgstr ""
  41481. #. type: deftp
  41482. #: guix-git/doc/guix.texi:28054
  41483. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  41484. msgstr ""
  41485. #. type: item
  41486. #: guix-git/doc/guix.texi:28056
  41487. #, no-wrap
  41488. msgid "@code{name} (default: @code{\"@@\"})"
  41489. msgstr ""
  41490. #. type: table
  41491. #: guix-git/doc/guix.texi:28062
  41492. 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}."
  41493. msgstr ""
  41494. #. type: item
  41495. #: guix-git/doc/guix.texi:28063
  41496. #, no-wrap
  41497. msgid "@code{ttl} (default: @code{\"\"})"
  41498. msgstr ""
  41499. #. type: table
  41500. #: guix-git/doc/guix.texi:28065
  41501. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  41502. msgstr ""
  41503. #. type: item
  41504. #: guix-git/doc/guix.texi:28066
  41505. #, no-wrap
  41506. msgid "@code{class} (default: @code{\"IN\"})"
  41507. msgstr ""
  41508. #. type: table
  41509. #: guix-git/doc/guix.texi:28069
  41510. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  41511. msgstr ""
  41512. #. type: item
  41513. #: guix-git/doc/guix.texi:28070
  41514. #, no-wrap
  41515. msgid "@code{type} (default: @code{\"A\"})"
  41516. msgstr ""
  41517. #. type: table
  41518. #: guix-git/doc/guix.texi:28074
  41519. 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."
  41520. msgstr ""
  41521. #. type: item
  41522. #: guix-git/doc/guix.texi:28075
  41523. #, no-wrap
  41524. msgid "@code{data} (default: @code{\"\"})"
  41525. msgstr ""
  41526. #. type: table
  41527. #: guix-git/doc/guix.texi:28079
  41528. 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."
  41529. msgstr ""
  41530. #. type: deftp
  41531. #: guix-git/doc/guix.texi:28083
  41532. #, no-wrap
  41533. msgid "{Data Type} zone-file"
  41534. msgstr ""
  41535. #. type: deftp
  41536. #: guix-git/doc/guix.texi:28086
  41537. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  41538. msgstr ""
  41539. #. type: table
  41540. #: guix-git/doc/guix.texi:28095
  41541. 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}."
  41542. msgstr ""
  41543. #. type: item
  41544. #: guix-git/doc/guix.texi:28096
  41545. #, no-wrap
  41546. msgid "@code{origin} (default: @code{\"\"})"
  41547. msgstr ""
  41548. #. type: table
  41549. #: guix-git/doc/guix.texi:28098
  41550. msgid "The name of your zone. This parameter cannot be empty."
  41551. msgstr ""
  41552. #. type: item
  41553. #: guix-git/doc/guix.texi:28099
  41554. #, no-wrap
  41555. msgid "@code{ns} (default: @code{\"ns\"})"
  41556. msgstr ""
  41557. #. type: table
  41558. #: guix-git/doc/guix.texi:28104
  41559. 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."
  41560. msgstr ""
  41561. #. type: item
  41562. #: guix-git/doc/guix.texi:28105
  41563. #, no-wrap
  41564. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  41565. msgstr ""
  41566. #. type: table
  41567. #: guix-git/doc/guix.texi:28108
  41568. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  41569. msgstr ""
  41570. #. type: item
  41571. #: guix-git/doc/guix.texi:28109
  41572. #, no-wrap
  41573. msgid "@code{serial} (default: @code{1})"
  41574. msgstr ""
  41575. #. type: table
  41576. #: guix-git/doc/guix.texi:28113
  41577. 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."
  41578. msgstr ""
  41579. #. type: item
  41580. #: guix-git/doc/guix.texi:28114
  41581. #, no-wrap
  41582. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  41583. msgstr ""
  41584. #. type: table
  41585. #: guix-git/doc/guix.texi:28118
  41586. 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)}."
  41587. msgstr ""
  41588. #. type: item
  41589. #: guix-git/doc/guix.texi:28119
  41590. #, no-wrap
  41591. msgid "@code{retry} (default: @code{(* 15 60)})"
  41592. msgstr ""
  41593. #. type: table
  41594. #: guix-git/doc/guix.texi:28122
  41595. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  41596. msgstr ""
  41597. #. type: item
  41598. #: guix-git/doc/guix.texi:28123
  41599. #, no-wrap
  41600. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  41601. msgstr ""
  41602. #. type: table
  41603. #: guix-git/doc/guix.texi:28127
  41604. 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."
  41605. msgstr ""
  41606. #. type: item
  41607. #: guix-git/doc/guix.texi:28128
  41608. #, no-wrap
  41609. msgid "@code{nx} (default: @code{3600})"
  41610. msgstr ""
  41611. #. type: table
  41612. #: guix-git/doc/guix.texi:28131
  41613. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  41614. msgstr ""
  41615. #. type: deftp
  41616. #: guix-git/doc/guix.texi:28135
  41617. #, no-wrap
  41618. msgid "{Data Type} knot-remote-configuration"
  41619. msgstr ""
  41620. #. type: deftp
  41621. #: guix-git/doc/guix.texi:28138
  41622. msgid "Data type representing a remote configuration. This type has the following parameters:"
  41623. msgstr ""
  41624. #. type: table
  41625. #: guix-git/doc/guix.texi:28143
  41626. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  41627. msgstr ""
  41628. #. type: table
  41629. #: guix-git/doc/guix.texi:28148
  41630. 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."
  41631. msgstr ""
  41632. #. type: item
  41633. #: guix-git/doc/guix.texi:28149
  41634. #, no-wrap
  41635. msgid "@code{via} (default: @code{'()})"
  41636. msgstr ""
  41637. #. type: table
  41638. #: guix-git/doc/guix.texi:28153
  41639. 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."
  41640. msgstr ""
  41641. #. type: table
  41642. #: guix-git/doc/guix.texi:28157
  41643. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  41644. msgstr ""
  41645. #. type: deftp
  41646. #: guix-git/doc/guix.texi:28161
  41647. #, no-wrap
  41648. msgid "{Data Type} knot-keystore-configuration"
  41649. msgstr ""
  41650. #. type: deftp
  41651. #: guix-git/doc/guix.texi:28164
  41652. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  41653. msgstr ""
  41654. #. type: table
  41655. #: guix-git/doc/guix.texi:28168
  41656. msgid "The id of the keystore. It must not be empty."
  41657. msgstr ""
  41658. #. type: item
  41659. #: guix-git/doc/guix.texi:28169
  41660. #, no-wrap
  41661. msgid "@code{backend} (default: @code{'pem})"
  41662. msgstr ""
  41663. #. type: table
  41664. #: guix-git/doc/guix.texi:28171
  41665. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  41666. msgstr ""
  41667. #. type: item
  41668. #: guix-git/doc/guix.texi:28172
  41669. #, no-wrap
  41670. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  41671. msgstr ""
  41672. #. type: table
  41673. #: guix-git/doc/guix.texi:28176
  41674. 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."
  41675. msgstr ""
  41676. #. type: deftp
  41677. #: guix-git/doc/guix.texi:28180
  41678. #, no-wrap
  41679. msgid "{Data Type} knot-policy-configuration"
  41680. msgstr ""
  41681. #. type: deftp
  41682. #: guix-git/doc/guix.texi:28184
  41683. 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."
  41684. msgstr ""
  41685. #. type: deftp
  41686. #: guix-git/doc/guix.texi:28191
  41687. 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."
  41688. msgstr ""
  41689. #. type: deftp
  41690. #: guix-git/doc/guix.texi:28197
  41691. 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."
  41692. msgstr ""
  41693. #. type: deftp
  41694. #: guix-git/doc/guix.texi:28199
  41695. msgid "This type has the following parameters:"
  41696. msgstr ""
  41697. #. type: table
  41698. #: guix-git/doc/guix.texi:28203
  41699. msgid "The id of the policy. It must not be empty."
  41700. msgstr ""
  41701. #. type: item
  41702. #: guix-git/doc/guix.texi:28204
  41703. #, no-wrap
  41704. msgid "@code{keystore} (default: @code{\"default\"})"
  41705. msgstr ""
  41706. #. type: table
  41707. #: guix-git/doc/guix.texi:28209
  41708. 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)."
  41709. msgstr ""
  41710. #. type: item
  41711. #: guix-git/doc/guix.texi:28210
  41712. #, no-wrap
  41713. msgid "@code{manual?} (default: @code{#f})"
  41714. msgstr ""
  41715. #. type: table
  41716. #: guix-git/doc/guix.texi:28212
  41717. msgid "Whether the key management is manual or automatic."
  41718. msgstr ""
  41719. #. type: item
  41720. #: guix-git/doc/guix.texi:28213
  41721. #, no-wrap
  41722. msgid "@code{single-type-signing?} (default: @code{#f})"
  41723. msgstr ""
  41724. #. type: table
  41725. #: guix-git/doc/guix.texi:28215
  41726. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  41727. msgstr ""
  41728. #. type: item
  41729. #: guix-git/doc/guix.texi:28216
  41730. #, no-wrap
  41731. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  41732. msgstr ""
  41733. #. type: table
  41734. #: guix-git/doc/guix.texi:28218
  41735. msgid "An algorithm of signing keys and issued signatures."
  41736. msgstr ""
  41737. #. type: item
  41738. #: guix-git/doc/guix.texi:28219
  41739. #, no-wrap
  41740. msgid "@code{ksk-size} (default: @code{256})"
  41741. msgstr ""
  41742. #. type: table
  41743. #: guix-git/doc/guix.texi:28222
  41744. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41745. msgstr ""
  41746. #. type: item
  41747. #: guix-git/doc/guix.texi:28223
  41748. #, no-wrap
  41749. msgid "@code{zsk-size} (default: @code{256})"
  41750. msgstr ""
  41751. #. type: table
  41752. #: guix-git/doc/guix.texi:28226
  41753. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41754. msgstr ""
  41755. #. type: item
  41756. #: guix-git/doc/guix.texi:28227
  41757. #, no-wrap
  41758. msgid "@code{dnskey-ttl} (default: @code{'default})"
  41759. msgstr ""
  41760. #. type: table
  41761. #: guix-git/doc/guix.texi:28230
  41762. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  41763. msgstr ""
  41764. #. type: item
  41765. #: guix-git/doc/guix.texi:28231
  41766. #, no-wrap
  41767. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  41768. msgstr ""
  41769. #. type: table
  41770. #: guix-git/doc/guix.texi:28233
  41771. msgid "The period between ZSK publication and the next rollover initiation."
  41772. msgstr ""
  41773. #. type: item
  41774. #: guix-git/doc/guix.texi:28234
  41775. #, no-wrap
  41776. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  41777. msgstr ""
  41778. #. type: table
  41779. #: guix-git/doc/guix.texi:28237
  41780. 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."
  41781. msgstr ""
  41782. #. type: item
  41783. #: guix-git/doc/guix.texi:28238
  41784. #, no-wrap
  41785. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  41786. msgstr ""
  41787. #. type: table
  41788. #: guix-git/doc/guix.texi:28240
  41789. msgid "A validity period of newly issued signatures."
  41790. msgstr ""
  41791. #. type: item
  41792. #: guix-git/doc/guix.texi:28241
  41793. #, no-wrap
  41794. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  41795. msgstr ""
  41796. #. type: table
  41797. #: guix-git/doc/guix.texi:28243
  41798. msgid "A period how long before a signature expiration the signature will be refreshed."
  41799. msgstr ""
  41800. #. type: item
  41801. #: guix-git/doc/guix.texi:28244
  41802. #, no-wrap
  41803. msgid "@code{nsec3?} (default: @code{#f})"
  41804. msgstr ""
  41805. #. type: table
  41806. #: guix-git/doc/guix.texi:28246
  41807. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  41808. msgstr ""
  41809. #. type: item
  41810. #: guix-git/doc/guix.texi:28247
  41811. #, no-wrap
  41812. msgid "@code{nsec3-iterations} (default: @code{5})"
  41813. msgstr ""
  41814. #. type: table
  41815. #: guix-git/doc/guix.texi:28249
  41816. msgid "The number of additional times the hashing is performed."
  41817. msgstr ""
  41818. #. type: item
  41819. #: guix-git/doc/guix.texi:28250
  41820. #, no-wrap
  41821. msgid "@code{nsec3-salt-length} (default: @code{8})"
  41822. msgstr ""
  41823. #. type: table
  41824. #: guix-git/doc/guix.texi:28253
  41825. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  41826. msgstr ""
  41827. #. type: item
  41828. #: guix-git/doc/guix.texi:28254
  41829. #, no-wrap
  41830. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  41831. msgstr ""
  41832. #. type: table
  41833. #: guix-git/doc/guix.texi:28256
  41834. msgid "The validity period of newly issued salt field."
  41835. msgstr ""
  41836. #. type: deftp
  41837. #: guix-git/doc/guix.texi:28260
  41838. #, no-wrap
  41839. msgid "{Data Type} knot-zone-configuration"
  41840. msgstr ""
  41841. #. type: deftp
  41842. #: guix-git/doc/guix.texi:28263
  41843. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  41844. msgstr ""
  41845. #. type: item
  41846. #: guix-git/doc/guix.texi:28265
  41847. #, no-wrap
  41848. msgid "@code{domain} (default: @code{\"\"})"
  41849. msgstr ""
  41850. #. type: table
  41851. #: guix-git/doc/guix.texi:28267
  41852. msgid "The domain served by this configuration. It must not be empty."
  41853. msgstr ""
  41854. #. type: item
  41855. #: guix-git/doc/guix.texi:28268
  41856. #, no-wrap
  41857. msgid "@code{file} (default: @code{\"\"})"
  41858. msgstr ""
  41859. #. type: table
  41860. #: guix-git/doc/guix.texi:28271
  41861. 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."
  41862. msgstr ""
  41863. #. type: item
  41864. #: guix-git/doc/guix.texi:28272
  41865. #, no-wrap
  41866. msgid "@code{zone} (default: @code{(zone-file)})"
  41867. msgstr ""
  41868. #. type: table
  41869. #: guix-git/doc/guix.texi:28275
  41870. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  41871. msgstr ""
  41872. #. type: item
  41873. #: guix-git/doc/guix.texi:28276
  41874. #, no-wrap
  41875. msgid "@code{master} (default: @code{'()})"
  41876. msgstr ""
  41877. #. type: table
  41878. #: guix-git/doc/guix.texi:28279
  41879. 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."
  41880. msgstr ""
  41881. #. type: item
  41882. #: guix-git/doc/guix.texi:28280
  41883. #, no-wrap
  41884. msgid "@code{ddns-master} (default: @code{#f})"
  41885. msgstr ""
  41886. #. type: table
  41887. #: guix-git/doc/guix.texi:28283
  41888. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  41889. msgstr ""
  41890. #. type: item
  41891. #: guix-git/doc/guix.texi:28284
  41892. #, no-wrap
  41893. msgid "@code{notify} (default: @code{'()})"
  41894. msgstr ""
  41895. #. type: table
  41896. #: guix-git/doc/guix.texi:28286
  41897. msgid "A list of slave remote identifiers."
  41898. msgstr ""
  41899. #. type: item
  41900. #: guix-git/doc/guix.texi:28287
  41901. #, no-wrap
  41902. msgid "@code{acl} (default: @code{'()})"
  41903. msgstr ""
  41904. #. type: table
  41905. #: guix-git/doc/guix.texi:28289
  41906. msgid "A list of acl identifiers."
  41907. msgstr ""
  41908. #. type: item
  41909. #: guix-git/doc/guix.texi:28290
  41910. #, no-wrap
  41911. msgid "@code{semantic-checks?} (default: @code{#f})"
  41912. msgstr ""
  41913. #. type: table
  41914. #: guix-git/doc/guix.texi:28292
  41915. msgid "When set, this adds more semantic checks to the zone."
  41916. msgstr ""
  41917. #. type: item
  41918. #: guix-git/doc/guix.texi:28293
  41919. #, no-wrap
  41920. msgid "@code{zonefile-sync} (default: @code{0})"
  41921. msgstr ""
  41922. #. type: table
  41923. #: guix-git/doc/guix.texi:28296
  41924. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  41925. msgstr ""
  41926. #. type: item
  41927. #: guix-git/doc/guix.texi:28297
  41928. #, no-wrap
  41929. msgid "@code{zonefile-load} (default: @code{#f})"
  41930. msgstr ""
  41931. #. type: table
  41932. #: guix-git/doc/guix.texi:28300
  41933. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  41934. msgstr ""
  41935. #. type: item
  41936. #: guix-git/doc/guix.texi:28302
  41937. #, no-wrap
  41938. msgid "@code{#f} for using the default value from Knot,"
  41939. msgstr ""
  41940. #. type: item
  41941. #: guix-git/doc/guix.texi:28303
  41942. #, no-wrap
  41943. msgid "@code{'none} for not using the zone file at all,"
  41944. msgstr ""
  41945. #. type: item
  41946. #: guix-git/doc/guix.texi:28304
  41947. #, no-wrap
  41948. msgid "@code{'difference} for computing the difference between already available"
  41949. msgstr ""
  41950. #. type: itemize
  41951. #: guix-git/doc/guix.texi:28306
  41952. msgid "contents and zone contents and applying it to the current zone contents,"
  41953. msgstr ""
  41954. #. type: item
  41955. #: guix-git/doc/guix.texi:28306
  41956. #, no-wrap
  41957. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  41958. msgstr ""
  41959. #. type: itemize
  41960. #: guix-git/doc/guix.texi:28309
  41961. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  41962. msgstr ""
  41963. #. type: item
  41964. #: guix-git/doc/guix.texi:28309
  41965. #, no-wrap
  41966. msgid "@code{'whole} for loading zone contents from the zone file."
  41967. msgstr ""
  41968. #. type: item
  41969. #: guix-git/doc/guix.texi:28312
  41970. #, no-wrap
  41971. msgid "@code{journal-content} (default: @code{#f})"
  41972. msgstr ""
  41973. #. type: table
  41974. #: guix-git/doc/guix.texi:28317
  41975. 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."
  41976. msgstr ""
  41977. #. type: item
  41978. #: guix-git/doc/guix.texi:28318
  41979. #, no-wrap
  41980. msgid "@code{max-journal-usage} (default: @code{#f})"
  41981. msgstr ""
  41982. #. type: table
  41983. #: guix-git/doc/guix.texi:28321
  41984. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  41985. msgstr ""
  41986. #. type: item
  41987. #: guix-git/doc/guix.texi:28322
  41988. #, no-wrap
  41989. msgid "@code{max-journal-depth} (default: @code{#f})"
  41990. msgstr ""
  41991. #. type: table
  41992. #: guix-git/doc/guix.texi:28325
  41993. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  41994. msgstr ""
  41995. #. type: item
  41996. #: guix-git/doc/guix.texi:28326
  41997. #, no-wrap
  41998. msgid "@code{max-zone-size} (default: @code{#f})"
  41999. msgstr ""
  42000. #. type: table
  42001. #: guix-git/doc/guix.texi:28330
  42002. 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."
  42003. msgstr ""
  42004. #. type: item
  42005. #: guix-git/doc/guix.texi:28331
  42006. #, no-wrap
  42007. msgid "@code{dnssec-policy} (default: @code{#f})"
  42008. msgstr ""
  42009. #. type: table
  42010. #: guix-git/doc/guix.texi:28335
  42011. 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."
  42012. msgstr ""
  42013. #. type: item
  42014. #: guix-git/doc/guix.texi:28336
  42015. #, no-wrap
  42016. msgid "@code{serial-policy} (default: @code{'increment})"
  42017. msgstr ""
  42018. #. type: table
  42019. #: guix-git/doc/guix.texi:28338
  42020. msgid "A policy between @code{'increment} and @code{'unixtime}."
  42021. msgstr ""
  42022. #. type: deftp
  42023. #: guix-git/doc/guix.texi:28342
  42024. #, no-wrap
  42025. msgid "{Data Type} knot-configuration"
  42026. msgstr ""
  42027. #. type: deftp
  42028. #: guix-git/doc/guix.texi:28345
  42029. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  42030. msgstr ""
  42031. #. type: item
  42032. #: guix-git/doc/guix.texi:28347
  42033. #, no-wrap
  42034. msgid "@code{knot} (default: @code{knot})"
  42035. msgstr ""
  42036. #. type: table
  42037. #: guix-git/doc/guix.texi:28349
  42038. msgid "The Knot package."
  42039. msgstr ""
  42040. #. type: item
  42041. #: guix-git/doc/guix.texi:28350
  42042. #, no-wrap
  42043. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  42044. msgstr ""
  42045. #. type: table
  42046. #: guix-git/doc/guix.texi:28352
  42047. msgid "The run directory. This directory will be used for pid file and sockets."
  42048. msgstr ""
  42049. #. type: item
  42050. #: guix-git/doc/guix.texi:28353
  42051. #, no-wrap
  42052. msgid "@code{includes} (default: @code{'()})"
  42053. msgstr ""
  42054. #. type: table
  42055. #: guix-git/doc/guix.texi:28356
  42056. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  42057. msgstr ""
  42058. #. type: cindex
  42059. #: guix-git/doc/guix.texi:28357
  42060. #, no-wrap
  42061. msgid "secrets, Knot service"
  42062. msgstr ""
  42063. #. type: table
  42064. #: guix-git/doc/guix.texi:28363
  42065. 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."
  42066. msgstr ""
  42067. #. type: table
  42068. #: guix-git/doc/guix.texi:28368
  42069. 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:"
  42070. msgstr ""
  42071. #. type: example
  42072. #: guix-git/doc/guix.texi:28372
  42073. #, no-wrap
  42074. msgid ""
  42075. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  42076. "chmod 600 /etc/knot/secrets.conf\n"
  42077. msgstr ""
  42078. #. type: table
  42079. #: guix-git/doc/guix.texi:28378
  42080. 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."
  42081. msgstr ""
  42082. #. type: table
  42083. #: guix-git/doc/guix.texi:28380
  42084. msgid "It can also be used to add configuration not supported by this interface."
  42085. msgstr ""
  42086. #. type: item
  42087. #: guix-git/doc/guix.texi:28381
  42088. #, no-wrap
  42089. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  42090. msgstr ""
  42091. #. type: table
  42092. #: guix-git/doc/guix.texi:28383 guix-git/doc/guix.texi:28386
  42093. msgid "An ip address on which to listen."
  42094. msgstr ""
  42095. #. type: item
  42096. #: guix-git/doc/guix.texi:28384
  42097. #, no-wrap
  42098. msgid "@code{listen-v6} (default: @code{\"::\"})"
  42099. msgstr ""
  42100. #. type: item
  42101. #: guix-git/doc/guix.texi:28387
  42102. #, no-wrap
  42103. msgid "@code{listen-port} (default: @code{53})"
  42104. msgstr ""
  42105. #. type: table
  42106. #: guix-git/doc/guix.texi:28389
  42107. msgid "A port on which to listen."
  42108. msgstr ""
  42109. #. type: item
  42110. #: guix-git/doc/guix.texi:28390
  42111. #, no-wrap
  42112. msgid "@code{keys} (default: @code{'()})"
  42113. msgstr ""
  42114. #. type: table
  42115. #: guix-git/doc/guix.texi:28392
  42116. msgid "The list of knot-key-configuration used by this configuration."
  42117. msgstr ""
  42118. #. type: item
  42119. #: guix-git/doc/guix.texi:28393
  42120. #, no-wrap
  42121. msgid "@code{acls} (default: @code{'()})"
  42122. msgstr ""
  42123. #. type: table
  42124. #: guix-git/doc/guix.texi:28395
  42125. msgid "The list of knot-acl-configuration used by this configuration."
  42126. msgstr ""
  42127. #. type: item
  42128. #: guix-git/doc/guix.texi:28396
  42129. #, no-wrap
  42130. msgid "@code{remotes} (default: @code{'()})"
  42131. msgstr ""
  42132. #. type: table
  42133. #: guix-git/doc/guix.texi:28398
  42134. msgid "The list of knot-remote-configuration used by this configuration."
  42135. msgstr ""
  42136. #. type: item
  42137. #: guix-git/doc/guix.texi:28399
  42138. #, no-wrap
  42139. msgid "@code{zones} (default: @code{'()})"
  42140. msgstr ""
  42141. #. type: table
  42142. #: guix-git/doc/guix.texi:28401
  42143. msgid "The list of knot-zone-configuration used by this configuration."
  42144. msgstr ""
  42145. #. type: subsubheading
  42146. #: guix-git/doc/guix.texi:28405
  42147. #, no-wrap
  42148. msgid "Knot Resolver Service"
  42149. msgstr ""
  42150. #. type: deffn
  42151. #: guix-git/doc/guix.texi:28407
  42152. #, no-wrap
  42153. msgid "{Scheme Variable} knot-resolver-service-type"
  42154. msgstr ""
  42155. #. type: deffn
  42156. #: guix-git/doc/guix.texi:28410
  42157. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  42158. msgstr ""
  42159. #. type: lisp
  42160. #: guix-git/doc/guix.texi:28420
  42161. #, no-wrap
  42162. msgid ""
  42163. "(service knot-resolver-service-type\n"
  42164. " (knot-resolver-configuration\n"
  42165. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  42166. "net.listen('192.168.0.1', 5353)\n"
  42167. "user('knot-resolver', 'knot-resolver')\n"
  42168. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  42169. "cache.size = 100 * MB\n"
  42170. "\"))))\n"
  42171. msgstr ""
  42172. #. type: deffn
  42173. #: guix-git/doc/guix.texi:28423
  42174. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  42175. msgstr ""
  42176. #. type: deftp
  42177. #: guix-git/doc/guix.texi:28425
  42178. #, no-wrap
  42179. msgid "{Data Type} knot-resolver-configuration"
  42180. msgstr ""
  42181. #. type: deftp
  42182. #: guix-git/doc/guix.texi:28427
  42183. msgid "Data type representing the configuration of knot-resolver."
  42184. msgstr ""
  42185. #. type: item
  42186. #: guix-git/doc/guix.texi:28429
  42187. #, no-wrap
  42188. msgid "@code{package} (default: @var{knot-resolver})"
  42189. msgstr ""
  42190. #. type: table
  42191. #: guix-git/doc/guix.texi:28431
  42192. msgid "Package object of the knot DNS resolver."
  42193. msgstr ""
  42194. #. type: item
  42195. #: guix-git/doc/guix.texi:28432
  42196. #, no-wrap
  42197. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  42198. msgstr ""
  42199. #. type: table
  42200. #: guix-git/doc/guix.texi:28435
  42201. 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}."
  42202. msgstr ""
  42203. #. type: item
  42204. #: guix-git/doc/guix.texi:28436
  42205. #, no-wrap
  42206. msgid "@code{garbage-collection-interval} (default: 1000)"
  42207. msgstr ""
  42208. #. type: table
  42209. #: guix-git/doc/guix.texi:28438
  42210. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  42211. msgstr ""
  42212. #. type: subsubheading
  42213. #: guix-git/doc/guix.texi:28443
  42214. #, no-wrap
  42215. msgid "Dnsmasq Service"
  42216. msgstr ""
  42217. #. type: deffn
  42218. #: guix-git/doc/guix.texi:28445
  42219. #, no-wrap
  42220. msgid "{Scheme Variable} dnsmasq-service-type"
  42221. msgstr ""
  42222. #. type: deffn
  42223. #: guix-git/doc/guix.texi:28448
  42224. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  42225. msgstr ""
  42226. #. type: lisp
  42227. #: guix-git/doc/guix.texi:28454
  42228. #, no-wrap
  42229. msgid ""
  42230. "(service dnsmasq-service-type\n"
  42231. " (dnsmasq-configuration\n"
  42232. " (no-resolv? #t)\n"
  42233. " (servers '(\"192.168.1.1\"))))\n"
  42234. msgstr ""
  42235. #. type: deftp
  42236. #: guix-git/doc/guix.texi:28457
  42237. #, no-wrap
  42238. msgid "{Data Type} dnsmasq-configuration"
  42239. msgstr ""
  42240. #. type: deftp
  42241. #: guix-git/doc/guix.texi:28459
  42242. msgid "Data type representing the configuration of dnsmasq."
  42243. msgstr ""
  42244. #. type: item
  42245. #: guix-git/doc/guix.texi:28461
  42246. #, no-wrap
  42247. msgid "@code{package} (default: @var{dnsmasq})"
  42248. msgstr ""
  42249. #. type: table
  42250. #: guix-git/doc/guix.texi:28463
  42251. msgid "Package object of the dnsmasq server."
  42252. msgstr ""
  42253. #. type: item
  42254. #: guix-git/doc/guix.texi:28464
  42255. #, no-wrap
  42256. msgid "@code{no-hosts?} (default: @code{#f})"
  42257. msgstr ""
  42258. #. type: table
  42259. #: guix-git/doc/guix.texi:28466
  42260. msgid "When true, don't read the hostnames in /etc/hosts."
  42261. msgstr ""
  42262. #. type: item
  42263. #: guix-git/doc/guix.texi:28467
  42264. #, no-wrap
  42265. msgid "@code{port} (default: @code{53})"
  42266. msgstr ""
  42267. #. type: table
  42268. #: guix-git/doc/guix.texi:28470
  42269. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  42270. msgstr ""
  42271. #. type: item
  42272. #: guix-git/doc/guix.texi:28471
  42273. #, no-wrap
  42274. msgid "@code{local-service?} (default: @code{#t})"
  42275. msgstr ""
  42276. #. type: table
  42277. #: guix-git/doc/guix.texi:28474
  42278. 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."
  42279. msgstr ""
  42280. #. type: item
  42281. #: guix-git/doc/guix.texi:28475
  42282. #, no-wrap
  42283. msgid "@code{listen-addresses} (default: @code{'()})"
  42284. msgstr ""
  42285. #. type: table
  42286. #: guix-git/doc/guix.texi:28477
  42287. msgid "Listen on the given IP addresses."
  42288. msgstr ""
  42289. #. type: item
  42290. #: guix-git/doc/guix.texi:28478
  42291. #, no-wrap
  42292. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  42293. msgstr ""
  42294. #. type: table
  42295. #: guix-git/doc/guix.texi:28480
  42296. msgid "The file to read the IP address of the upstream nameservers from."
  42297. msgstr ""
  42298. #. type: item
  42299. #: guix-git/doc/guix.texi:28481
  42300. #, no-wrap
  42301. msgid "@code{no-resolv?} (default: @code{#f})"
  42302. msgstr ""
  42303. #. type: table
  42304. #: guix-git/doc/guix.texi:28483
  42305. msgid "When true, don't read @var{resolv-file}."
  42306. msgstr ""
  42307. #. type: item
  42308. #: guix-git/doc/guix.texi:28484
  42309. #, no-wrap
  42310. msgid "@code{servers} (default: @code{'()})"
  42311. msgstr ""
  42312. #. type: table
  42313. #: guix-git/doc/guix.texi:28486
  42314. msgid "Specify IP address of upstream servers directly."
  42315. msgstr ""
  42316. #. type: item
  42317. #: guix-git/doc/guix.texi:28487
  42318. #, no-wrap
  42319. msgid "@code{addresses} (default: @code{'()})"
  42320. msgstr ""
  42321. #. type: table
  42322. #: guix-git/doc/guix.texi:28491
  42323. 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."
  42324. msgstr ""
  42325. #. type: table
  42326. #: guix-git/doc/guix.texi:28493
  42327. msgid "This is useful for redirecting hosts locally, for example:"
  42328. msgstr ""
  42329. #. type: lisp
  42330. #: guix-git/doc/guix.texi:28502
  42331. #, no-wrap
  42332. msgid ""
  42333. "(service dnsmasq-service-type\n"
  42334. " (dnsmasq-configuration\n"
  42335. " (addresses\n"
  42336. " '(; Redirect to a local web-server.\n"
  42337. " \"/example.org/127.0.0.1\"\n"
  42338. " ; Redirect subdomain to a specific IP.\n"
  42339. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  42340. msgstr ""
  42341. #. type: table
  42342. #: guix-git/doc/guix.texi:28505
  42343. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  42344. msgstr ""
  42345. #. type: item
  42346. #: guix-git/doc/guix.texi:28506
  42347. #, no-wrap
  42348. msgid "@code{cache-size} (default: @code{150})"
  42349. msgstr ""
  42350. #. type: table
  42351. #: guix-git/doc/guix.texi:28509
  42352. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  42353. msgstr ""
  42354. #. type: item
  42355. #: guix-git/doc/guix.texi:28510
  42356. #, no-wrap
  42357. msgid "@code{negative-cache?} (default: @code{#t})"
  42358. msgstr ""
  42359. #. type: table
  42360. #: guix-git/doc/guix.texi:28512
  42361. msgid "When false, disable negative caching."
  42362. msgstr ""
  42363. #. type: item
  42364. #: guix-git/doc/guix.texi:28513
  42365. #, no-wrap
  42366. msgid "@code{tftp-enable?} (default: @code{#f})"
  42367. msgstr ""
  42368. #. type: table
  42369. #: guix-git/doc/guix.texi:28515
  42370. msgid "Whether to enable the built-in TFTP server."
  42371. msgstr ""
  42372. #. type: item
  42373. #: guix-git/doc/guix.texi:28516
  42374. #, no-wrap
  42375. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  42376. msgstr ""
  42377. #. type: table
  42378. #: guix-git/doc/guix.texi:28518
  42379. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  42380. msgstr ""
  42381. #. type: item
  42382. #: guix-git/doc/guix.texi:28519
  42383. #, no-wrap
  42384. msgid "@code{tftp-single-port?} (default: @code{#f})"
  42385. msgstr ""
  42386. #. type: table
  42387. #: guix-git/doc/guix.texi:28521
  42388. msgid "Whether to use only one single port for TFTP."
  42389. msgstr ""
  42390. #. type: item
  42391. #: guix-git/doc/guix.texi:28522
  42392. #, no-wrap
  42393. msgid "@code{tftp-secure?} (default: @code{#f})"
  42394. msgstr ""
  42395. #. type: table
  42396. #: guix-git/doc/guix.texi:28524
  42397. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  42398. msgstr ""
  42399. #. type: table
  42400. #: guix-git/doc/guix.texi:28528
  42401. 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."
  42402. msgstr ""
  42403. #. type: item
  42404. #: guix-git/doc/guix.texi:28529
  42405. #, no-wrap
  42406. msgid "@code{tftp-max} (default: @code{#f})"
  42407. msgstr ""
  42408. #. type: table
  42409. #: guix-git/doc/guix.texi:28531
  42410. msgid "If set, sets the maximal number of concurrent connections allowed."
  42411. msgstr ""
  42412. #. type: item
  42413. #: guix-git/doc/guix.texi:28532
  42414. #, no-wrap
  42415. msgid "@code{tftp-mtu} (default: @code{#f})"
  42416. msgstr ""
  42417. #. type: table
  42418. #: guix-git/doc/guix.texi:28534
  42419. msgid "If set, sets the MTU for TFTP packets to that value."
  42420. msgstr ""
  42421. #. type: item
  42422. #: guix-git/doc/guix.texi:28535
  42423. #, no-wrap
  42424. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  42425. msgstr ""
  42426. #. type: table
  42427. #: guix-git/doc/guix.texi:28537
  42428. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  42429. msgstr ""
  42430. #. type: item
  42431. #: guix-git/doc/guix.texi:28538
  42432. #, no-wrap
  42433. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  42434. msgstr ""
  42435. #. type: table
  42436. #: guix-git/doc/guix.texi:28540
  42437. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  42438. msgstr ""
  42439. #. type: item
  42440. #: guix-git/doc/guix.texi:28541
  42441. #, no-wrap
  42442. msgid "@code{tftp-port-range} (default: @code{#f})"
  42443. msgstr ""
  42444. #. type: table
  42445. #: guix-git/doc/guix.texi:28544
  42446. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  42447. msgstr ""
  42448. #. type: item
  42449. #: guix-git/doc/guix.texi:28545
  42450. #, no-wrap
  42451. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  42452. msgstr ""
  42453. #. type: table
  42454. #: guix-git/doc/guix.texi:28552
  42455. 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."
  42456. msgstr ""
  42457. #. type: item
  42458. #: guix-git/doc/guix.texi:28553
  42459. #, no-wrap
  42460. msgid "@code{tftp-unique-root} (default: @code{#f})"
  42461. msgstr ""
  42462. #. type: table
  42463. #: guix-git/doc/guix.texi:28558
  42464. 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)."
  42465. msgstr ""
  42466. #. type: table
  42467. #: guix-git/doc/guix.texi:28567
  42468. 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."
  42469. msgstr ""
  42470. #. type: subsubheading
  42471. #: guix-git/doc/guix.texi:28571
  42472. #, no-wrap
  42473. msgid "ddclient Service"
  42474. msgstr ""
  42475. #. type: cindex
  42476. #: guix-git/doc/guix.texi:28573
  42477. #, no-wrap
  42478. msgid "ddclient"
  42479. msgstr ""
  42480. #. type: Plain text
  42481. #: guix-git/doc/guix.texi:28577
  42482. 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}."
  42483. msgstr ""
  42484. #. type: Plain text
  42485. #: guix-git/doc/guix.texi:28580
  42486. msgid "The following example show instantiates the service with its default configuration:"
  42487. msgstr ""
  42488. #. type: lisp
  42489. #: guix-git/doc/guix.texi:28583
  42490. #, no-wrap
  42491. msgid "(service ddclient-service-type)\n"
  42492. msgstr ""
  42493. #. type: Plain text
  42494. #: guix-git/doc/guix.texi:28592
  42495. 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."
  42496. msgstr ""
  42497. #. type: Plain text
  42498. #: guix-git/doc/guix.texi:28596
  42499. msgid "Available @code{ddclient-configuration} fields are:"
  42500. msgstr ""
  42501. #. type: deftypevr
  42502. #: guix-git/doc/guix.texi:28597
  42503. #, no-wrap
  42504. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  42505. msgstr ""
  42506. #. type: deftypevr
  42507. #: guix-git/doc/guix.texi:28599
  42508. msgid "The ddclient package."
  42509. msgstr ""
  42510. #. type: deftypevr
  42511. #: guix-git/doc/guix.texi:28602
  42512. #, no-wrap
  42513. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  42514. msgstr ""
  42515. #. type: deftypevr
  42516. #: guix-git/doc/guix.texi:28604
  42517. msgid "The period after which ddclient will retry to check IP and domain name."
  42518. msgstr ""
  42519. #. type: deftypevr
  42520. #: guix-git/doc/guix.texi:28606
  42521. msgid "Defaults to @samp{300}."
  42522. msgstr ""
  42523. #. type: deftypevr
  42524. #: guix-git/doc/guix.texi:28609
  42525. #, no-wrap
  42526. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  42527. msgstr ""
  42528. #. type: deftypevr
  42529. #: guix-git/doc/guix.texi:28611
  42530. msgid "Use syslog for the output."
  42531. msgstr ""
  42532. #. type: deftypevr
  42533. #: guix-git/doc/guix.texi:28616
  42534. #, no-wrap
  42535. msgid "{@code{ddclient-configuration} parameter} string mail"
  42536. msgstr ""
  42537. #. type: deftypevr
  42538. #: guix-git/doc/guix.texi:28618
  42539. msgid "Mail to user."
  42540. msgstr ""
  42541. #. type: deftypevr
  42542. #: guix-git/doc/guix.texi:28620 guix-git/doc/guix.texi:28627
  42543. #: guix-git/doc/guix.texi:30457
  42544. msgid "Defaults to @samp{\"root\"}."
  42545. msgstr ""
  42546. #. type: deftypevr
  42547. #: guix-git/doc/guix.texi:28623
  42548. #, no-wrap
  42549. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  42550. msgstr ""
  42551. #. type: deftypevr
  42552. #: guix-git/doc/guix.texi:28625
  42553. msgid "Mail failed update to user."
  42554. msgstr ""
  42555. #. type: deftypevr
  42556. #: guix-git/doc/guix.texi:28630
  42557. #, no-wrap
  42558. msgid "{@code{ddclient-configuration} parameter} string pid"
  42559. msgstr ""
  42560. #. type: deftypevr
  42561. #: guix-git/doc/guix.texi:28632
  42562. msgid "The ddclient PID file."
  42563. msgstr ""
  42564. #. type: deftypevr
  42565. #: guix-git/doc/guix.texi:28634
  42566. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  42567. msgstr ""
  42568. #. type: deftypevr
  42569. #: guix-git/doc/guix.texi:28637
  42570. #, no-wrap
  42571. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  42572. msgstr ""
  42573. #. type: deftypevr
  42574. #: guix-git/doc/guix.texi:28639
  42575. msgid "Enable SSL support."
  42576. msgstr ""
  42577. #. type: deftypevr
  42578. #: guix-git/doc/guix.texi:28644
  42579. #, no-wrap
  42580. msgid "{@code{ddclient-configuration} parameter} string user"
  42581. msgstr ""
  42582. #. type: deftypevr
  42583. #: guix-git/doc/guix.texi:28647
  42584. msgid "Specifies the user name or ID that is used when running ddclient program."
  42585. msgstr ""
  42586. #. type: deftypevr
  42587. #: guix-git/doc/guix.texi:28649 guix-git/doc/guix.texi:28656
  42588. msgid "Defaults to @samp{\"ddclient\"}."
  42589. msgstr ""
  42590. #. type: deftypevr
  42591. #: guix-git/doc/guix.texi:28652
  42592. #, no-wrap
  42593. msgid "{@code{ddclient-configuration} parameter} string group"
  42594. msgstr ""
  42595. #. type: deftypevr
  42596. #: guix-git/doc/guix.texi:28654
  42597. msgid "Group of the user who will run the ddclient program."
  42598. msgstr ""
  42599. #. type: deftypevr
  42600. #: guix-git/doc/guix.texi:28659
  42601. #, no-wrap
  42602. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  42603. msgstr ""
  42604. #. type: deftypevr
  42605. #: guix-git/doc/guix.texi:28663
  42606. 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."
  42607. msgstr ""
  42608. #. type: deftypevr
  42609. #: guix-git/doc/guix.texi:28665
  42610. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  42611. msgstr ""
  42612. #. type: deftypevr
  42613. #: guix-git/doc/guix.texi:28668
  42614. #, no-wrap
  42615. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  42616. msgstr ""
  42617. #. type: deftypevr
  42618. #: guix-git/doc/guix.texi:28670
  42619. msgid "Extra options will be appended to @file{ddclient.conf} file."
  42620. msgstr ""
  42621. #. type: cindex
  42622. #: guix-git/doc/guix.texi:28681
  42623. #, no-wrap
  42624. msgid "VPN (virtual private network)"
  42625. msgstr ""
  42626. #. type: cindex
  42627. #: guix-git/doc/guix.texi:28682
  42628. #, no-wrap
  42629. msgid "virtual private network (VPN)"
  42630. msgstr ""
  42631. #. type: Plain text
  42632. #: guix-git/doc/guix.texi:28686
  42633. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  42634. msgstr ""
  42635. #. type: subsubheading
  42636. #: guix-git/doc/guix.texi:28687
  42637. #, no-wrap
  42638. msgid "Bitmask"
  42639. msgstr ""
  42640. #. type: defvr
  42641. #: guix-git/doc/guix.texi:28689
  42642. #, no-wrap
  42643. msgid "{Scheme Variable} bitmask-service-type"
  42644. msgstr ""
  42645. #. type: defvr
  42646. #: guix-git/doc/guix.texi:28694
  42647. 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."
  42648. msgstr ""
  42649. #. type: subsubheading
  42650. #: guix-git/doc/guix.texi:28696
  42651. #, no-wrap
  42652. msgid "OpenVPN"
  42653. msgstr ""
  42654. #. type: Plain text
  42655. #: guix-git/doc/guix.texi:28700
  42656. 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@."
  42657. msgstr ""
  42658. #. type: deffn
  42659. #: guix-git/doc/guix.texi:28701
  42660. #, no-wrap
  42661. msgid "{Scheme Procedure} openvpn-client-service @"
  42662. msgstr ""
  42663. #. type: deffn
  42664. #: guix-git/doc/guix.texi:28703
  42665. msgid "[#:config (openvpn-client-configuration)]"
  42666. msgstr ""
  42667. #. type: deffn
  42668. #: guix-git/doc/guix.texi:28705
  42669. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  42670. msgstr ""
  42671. #. type: deffn
  42672. #: guix-git/doc/guix.texi:28707
  42673. #, no-wrap
  42674. msgid "{Scheme Procedure} openvpn-server-service @"
  42675. msgstr ""
  42676. #. type: deffn
  42677. #: guix-git/doc/guix.texi:28709
  42678. msgid "[#:config (openvpn-server-configuration)]"
  42679. msgstr ""
  42680. #. type: deffn
  42681. #: guix-git/doc/guix.texi:28711
  42682. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  42683. msgstr ""
  42684. #. type: deffn
  42685. #: guix-git/doc/guix.texi:28713
  42686. msgid "Both can be run simultaneously."
  42687. msgstr ""
  42688. #. type: Plain text
  42689. #: guix-git/doc/guix.texi:28718
  42690. msgid "Available @code{openvpn-client-configuration} fields are:"
  42691. msgstr ""
  42692. #. type: deftypevr
  42693. #: guix-git/doc/guix.texi:28719
  42694. #, no-wrap
  42695. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  42696. msgstr ""
  42697. #. type: deftypevr
  42698. #: guix-git/doc/guix.texi:28721 guix-git/doc/guix.texi:28876
  42699. msgid "The OpenVPN package."
  42700. msgstr ""
  42701. #. type: deftypevr
  42702. #: guix-git/doc/guix.texi:28724
  42703. #, no-wrap
  42704. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  42705. msgstr ""
  42706. #. type: deftypevr
  42707. #: guix-git/doc/guix.texi:28726 guix-git/doc/guix.texi:28881
  42708. msgid "The OpenVPN pid file."
  42709. msgstr ""
  42710. #. type: deftypevr
  42711. #: guix-git/doc/guix.texi:28728 guix-git/doc/guix.texi:28883
  42712. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  42713. msgstr ""
  42714. #. type: deftypevr
  42715. #: guix-git/doc/guix.texi:28731
  42716. #, no-wrap
  42717. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  42718. msgstr ""
  42719. #. type: deftypevr
  42720. #: guix-git/doc/guix.texi:28734 guix-git/doc/guix.texi:28889
  42721. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  42722. msgstr ""
  42723. #. type: deftypevr
  42724. #: guix-git/doc/guix.texi:28736 guix-git/doc/guix.texi:28891
  42725. msgid "Defaults to @samp{udp}."
  42726. msgstr ""
  42727. #. type: deftypevr
  42728. #: guix-git/doc/guix.texi:28739
  42729. #, no-wrap
  42730. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  42731. msgstr ""
  42732. #. type: deftypevr
  42733. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28896
  42734. msgid "The device type used to represent the VPN connection."
  42735. msgstr ""
  42736. #. type: deftypevr
  42737. #: guix-git/doc/guix.texi:28743 guix-git/doc/guix.texi:28898
  42738. msgid "Defaults to @samp{tun}."
  42739. msgstr ""
  42740. #. type: Plain text
  42741. #: guix-git/doc/guix.texi:28749 guix-git/doc/guix.texi:28904
  42742. 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}."
  42743. msgstr ""
  42744. #. type: deftypevr
  42745. #: guix-git/doc/guix.texi:28750
  42746. #, no-wrap
  42747. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  42748. msgstr ""
  42749. #. type: deftypevr
  42750. #: guix-git/doc/guix.texi:28752 guix-git/doc/guix.texi:28907
  42751. msgid "The certificate authority to check connections against."
  42752. msgstr ""
  42753. #. type: deftypevr
  42754. #: guix-git/doc/guix.texi:28754 guix-git/doc/guix.texi:28909
  42755. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  42756. msgstr ""
  42757. #. type: deftypevr
  42758. #: guix-git/doc/guix.texi:28757
  42759. #, no-wrap
  42760. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  42761. msgstr ""
  42762. #. type: deftypevr
  42763. #: guix-git/doc/guix.texi:28760 guix-git/doc/guix.texi:28915
  42764. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  42765. msgstr ""
  42766. #. type: deftypevr
  42767. #: guix-git/doc/guix.texi:28762 guix-git/doc/guix.texi:28917
  42768. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  42769. msgstr ""
  42770. #. type: deftypevr
  42771. #: guix-git/doc/guix.texi:28765
  42772. #, no-wrap
  42773. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  42774. msgstr ""
  42775. #. type: deftypevr
  42776. #: guix-git/doc/guix.texi:28768 guix-git/doc/guix.texi:28923
  42777. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  42778. msgstr ""
  42779. #. type: deftypevr
  42780. #: guix-git/doc/guix.texi:28770 guix-git/doc/guix.texi:28925
  42781. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  42782. msgstr ""
  42783. #. type: deftypevr
  42784. #: guix-git/doc/guix.texi:28773
  42785. #, no-wrap
  42786. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  42787. msgstr ""
  42788. #. type: deftypevr
  42789. #: guix-git/doc/guix.texi:28775 guix-git/doc/guix.texi:28930
  42790. msgid "Whether to use the lzo compression algorithm."
  42791. msgstr ""
  42792. #. type: deftypevr
  42793. #: guix-git/doc/guix.texi:28780
  42794. #, no-wrap
  42795. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  42796. msgstr ""
  42797. #. type: deftypevr
  42798. #: guix-git/doc/guix.texi:28782 guix-git/doc/guix.texi:28937
  42799. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  42800. msgstr ""
  42801. #. type: deftypevr
  42802. #: guix-git/doc/guix.texi:28787
  42803. #, no-wrap
  42804. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  42805. msgstr ""
  42806. #. type: deftypevr
  42807. #: guix-git/doc/guix.texi:28790 guix-git/doc/guix.texi:28945
  42808. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  42809. msgstr ""
  42810. #. type: deftypevr
  42811. #: guix-git/doc/guix.texi:28795
  42812. #, no-wrap
  42813. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  42814. msgstr ""
  42815. #. type: deftypevr
  42816. #: guix-git/doc/guix.texi:28798 guix-git/doc/guix.texi:28953
  42817. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  42818. msgstr ""
  42819. #. type: deftypevr
  42820. #: guix-git/doc/guix.texi:28802
  42821. #, no-wrap
  42822. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  42823. msgstr ""
  42824. #. type: deftypevr
  42825. #: guix-git/doc/guix.texi:28804 guix-git/doc/guix.texi:28959
  42826. msgid "Verbosity level."
  42827. msgstr ""
  42828. #. type: deftypevr
  42829. #: guix-git/doc/guix.texi:28806 guix-git/doc/guix.texi:28961
  42830. #: guix-git/doc/guix.texi:30725 guix-git/doc/guix.texi:30953
  42831. msgid "Defaults to @samp{3}."
  42832. msgstr ""
  42833. #. type: deftypevr
  42834. #: guix-git/doc/guix.texi:28809
  42835. #, no-wrap
  42836. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  42837. msgstr ""
  42838. #. type: deftypevr
  42839. #: guix-git/doc/guix.texi:28812 guix-git/doc/guix.texi:28967
  42840. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  42841. msgstr ""
  42842. #. type: deftypevr
  42843. #: guix-git/doc/guix.texi:28817
  42844. #, no-wrap
  42845. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  42846. msgstr ""
  42847. #. type: deftypevr
  42848. #: guix-git/doc/guix.texi:28821
  42849. 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."
  42850. msgstr ""
  42851. #. type: deftypevr
  42852. #: guix-git/doc/guix.texi:28823
  42853. msgid "Defaults to @samp{'disabled}."
  42854. msgstr ""
  42855. #. type: deftypevr
  42856. #: guix-git/doc/guix.texi:28825
  42857. #, no-wrap
  42858. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  42859. msgstr ""
  42860. #. type: deftypevr
  42861. #: guix-git/doc/guix.texi:28827
  42862. msgid "Whether to check the server certificate has server usage extension."
  42863. msgstr ""
  42864. #. type: deftypevr
  42865. #: guix-git/doc/guix.texi:28832
  42866. #, no-wrap
  42867. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  42868. msgstr ""
  42869. #. type: deftypevr
  42870. #: guix-git/doc/guix.texi:28834
  42871. msgid "Bind to a specific local port number."
  42872. msgstr ""
  42873. #. type: deftypevr
  42874. #: guix-git/doc/guix.texi:28839
  42875. #, no-wrap
  42876. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  42877. msgstr ""
  42878. #. type: deftypevr
  42879. #: guix-git/doc/guix.texi:28841
  42880. msgid "Retry resolving server address."
  42881. msgstr ""
  42882. #. type: deftypevr
  42883. #: guix-git/doc/guix.texi:28846
  42884. #, no-wrap
  42885. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  42886. msgstr ""
  42887. #. type: deftypevr
  42888. #: guix-git/doc/guix.texi:28848
  42889. msgid "A list of remote servers to connect to."
  42890. msgstr ""
  42891. #. type: deftypevr
  42892. #: guix-git/doc/guix.texi:28852
  42893. msgid "Available @code{openvpn-remote-configuration} fields are:"
  42894. msgstr ""
  42895. #. type: deftypevr
  42896. #: guix-git/doc/guix.texi:28853
  42897. #, no-wrap
  42898. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  42899. msgstr ""
  42900. #. type: deftypevr
  42901. #: guix-git/doc/guix.texi:28855
  42902. msgid "Server name."
  42903. msgstr ""
  42904. #. type: deftypevr
  42905. #: guix-git/doc/guix.texi:28857
  42906. msgid "Defaults to @samp{\"my-server\"}."
  42907. msgstr ""
  42908. #. type: deftypevr
  42909. #: guix-git/doc/guix.texi:28860
  42910. #, no-wrap
  42911. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  42912. msgstr ""
  42913. #. type: deftypevr
  42914. #: guix-git/doc/guix.texi:28862
  42915. msgid "Port number the server listens to."
  42916. msgstr ""
  42917. #. type: deftypevr
  42918. #: guix-git/doc/guix.texi:28864 guix-git/doc/guix.texi:28976
  42919. msgid "Defaults to @samp{1194}."
  42920. msgstr ""
  42921. #. type: Plain text
  42922. #: guix-git/doc/guix.texi:28873
  42923. msgid "Available @code{openvpn-server-configuration} fields are:"
  42924. msgstr ""
  42925. #. type: deftypevr
  42926. #: guix-git/doc/guix.texi:28874
  42927. #, no-wrap
  42928. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  42929. msgstr ""
  42930. #. type: deftypevr
  42931. #: guix-git/doc/guix.texi:28879
  42932. #, no-wrap
  42933. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  42934. msgstr ""
  42935. #. type: deftypevr
  42936. #: guix-git/doc/guix.texi:28886
  42937. #, no-wrap
  42938. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  42939. msgstr ""
  42940. #. type: deftypevr
  42941. #: guix-git/doc/guix.texi:28894
  42942. #, no-wrap
  42943. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  42944. msgstr ""
  42945. #. type: deftypevr
  42946. #: guix-git/doc/guix.texi:28905
  42947. #, no-wrap
  42948. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  42949. msgstr ""
  42950. #. type: deftypevr
  42951. #: guix-git/doc/guix.texi:28912
  42952. #, no-wrap
  42953. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  42954. msgstr ""
  42955. #. type: deftypevr
  42956. #: guix-git/doc/guix.texi:28920
  42957. #, no-wrap
  42958. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  42959. msgstr ""
  42960. #. type: deftypevr
  42961. #: guix-git/doc/guix.texi:28928
  42962. #, no-wrap
  42963. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  42964. msgstr ""
  42965. #. type: deftypevr
  42966. #: guix-git/doc/guix.texi:28935
  42967. #, no-wrap
  42968. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  42969. msgstr ""
  42970. #. type: deftypevr
  42971. #: guix-git/doc/guix.texi:28942
  42972. #, no-wrap
  42973. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  42974. msgstr ""
  42975. #. type: deftypevr
  42976. #: guix-git/doc/guix.texi:28950
  42977. #, no-wrap
  42978. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  42979. msgstr ""
  42980. #. type: deftypevr
  42981. #: guix-git/doc/guix.texi:28957
  42982. #, no-wrap
  42983. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  42984. msgstr ""
  42985. #. type: deftypevr
  42986. #: guix-git/doc/guix.texi:28964
  42987. #, no-wrap
  42988. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  42989. msgstr ""
  42990. #. type: deftypevr
  42991. #: guix-git/doc/guix.texi:28972
  42992. #, no-wrap
  42993. msgid "{@code{openvpn-server-configuration} parameter} number port"
  42994. msgstr ""
  42995. #. type: deftypevr
  42996. #: guix-git/doc/guix.texi:28974
  42997. msgid "Specifies the port number on which the server listens."
  42998. msgstr ""
  42999. #. type: deftypevr
  43000. #: guix-git/doc/guix.texi:28979
  43001. #, no-wrap
  43002. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  43003. msgstr ""
  43004. #. type: deftypevr
  43005. #: guix-git/doc/guix.texi:28981
  43006. msgid "An ip and mask specifying the subnet inside the virtual network."
  43007. msgstr ""
  43008. #. type: deftypevr
  43009. #: guix-git/doc/guix.texi:28983
  43010. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  43011. msgstr ""
  43012. #. type: deftypevr
  43013. #: guix-git/doc/guix.texi:28986
  43014. #, no-wrap
  43015. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  43016. msgstr ""
  43017. #. type: deftypevr
  43018. #: guix-git/doc/guix.texi:28988
  43019. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  43020. msgstr ""
  43021. #. type: deftypevr
  43022. #: guix-git/doc/guix.texi:28993
  43023. #, no-wrap
  43024. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  43025. msgstr ""
  43026. #. type: deftypevr
  43027. #: guix-git/doc/guix.texi:28995
  43028. msgid "The Diffie-Hellman parameters file."
  43029. msgstr ""
  43030. #. type: deftypevr
  43031. #: guix-git/doc/guix.texi:28997
  43032. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  43033. msgstr ""
  43034. #. type: deftypevr
  43035. #: guix-git/doc/guix.texi:29000
  43036. #, no-wrap
  43037. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  43038. msgstr ""
  43039. #. type: deftypevr
  43040. #: guix-git/doc/guix.texi:29002
  43041. msgid "The file that records client IPs."
  43042. msgstr ""
  43043. #. type: deftypevr
  43044. #: guix-git/doc/guix.texi:29004
  43045. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  43046. msgstr ""
  43047. #. type: deftypevr
  43048. #: guix-git/doc/guix.texi:29007
  43049. #, no-wrap
  43050. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  43051. msgstr ""
  43052. #. type: deftypevr
  43053. #: guix-git/doc/guix.texi:29009
  43054. msgid "When true, the server will act as a gateway for its clients."
  43055. msgstr ""
  43056. #. type: deftypevr
  43057. #: guix-git/doc/guix.texi:29014
  43058. #, no-wrap
  43059. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  43060. msgstr ""
  43061. #. type: deftypevr
  43062. #: guix-git/doc/guix.texi:29016
  43063. msgid "When true, clients are allowed to talk to each other inside the VPN."
  43064. msgstr ""
  43065. #. type: deftypevr
  43066. #: guix-git/doc/guix.texi:29021
  43067. #, no-wrap
  43068. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  43069. msgstr ""
  43070. #. type: deftypevr
  43071. #: guix-git/doc/guix.texi:29027
  43072. 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."
  43073. msgstr ""
  43074. #. type: deftypevr
  43075. #: guix-git/doc/guix.texi:29030
  43076. #, no-wrap
  43077. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  43078. msgstr ""
  43079. #. type: deftypevr
  43080. #: guix-git/doc/guix.texi:29032
  43081. msgid "The maximum number of clients."
  43082. msgstr ""
  43083. #. type: deftypevr
  43084. #: guix-git/doc/guix.texi:29037
  43085. #, no-wrap
  43086. msgid "{@code{openvpn-server-configuration} parameter} string status"
  43087. msgstr ""
  43088. #. type: deftypevr
  43089. #: guix-git/doc/guix.texi:29040
  43090. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  43091. msgstr ""
  43092. #. type: deftypevr
  43093. #: guix-git/doc/guix.texi:29042
  43094. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  43095. msgstr ""
  43096. #. type: deftypevr
  43097. #: guix-git/doc/guix.texi:29045
  43098. #, no-wrap
  43099. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  43100. msgstr ""
  43101. #. type: deftypevr
  43102. #: guix-git/doc/guix.texi:29047
  43103. msgid "The list of configuration for some clients."
  43104. msgstr ""
  43105. #. type: deftypevr
  43106. #: guix-git/doc/guix.texi:29051
  43107. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  43108. msgstr ""
  43109. #. type: deftypevr
  43110. #: guix-git/doc/guix.texi:29052
  43111. #, no-wrap
  43112. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  43113. msgstr ""
  43114. #. type: deftypevr
  43115. #: guix-git/doc/guix.texi:29054
  43116. msgid "Client name."
  43117. msgstr ""
  43118. #. type: deftypevr
  43119. #: guix-git/doc/guix.texi:29056
  43120. msgid "Defaults to @samp{\"client\"}."
  43121. msgstr ""
  43122. #. type: deftypevr
  43123. #: guix-git/doc/guix.texi:29059
  43124. #, no-wrap
  43125. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  43126. msgstr ""
  43127. #. type: deftypevr
  43128. #: guix-git/doc/guix.texi:29061
  43129. msgid "Client own network"
  43130. msgstr ""
  43131. #. type: deftypevr
  43132. #: guix-git/doc/guix.texi:29066
  43133. #, no-wrap
  43134. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  43135. msgstr ""
  43136. #. type: deftypevr
  43137. #: guix-git/doc/guix.texi:29068
  43138. msgid "Client VPN IP."
  43139. msgstr ""
  43140. #. type: subheading
  43141. #: guix-git/doc/guix.texi:29077
  43142. #, no-wrap
  43143. msgid "strongSwan"
  43144. msgstr ""
  43145. #. type: Plain text
  43146. #: guix-git/doc/guix.texi:29081
  43147. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  43148. msgstr ""
  43149. #. type: defvr
  43150. #: guix-git/doc/guix.texi:29082
  43151. #, no-wrap
  43152. msgid "{Scheme Variable} strongswan-service-type"
  43153. msgstr ""
  43154. #. type: defvr
  43155. #: guix-git/doc/guix.texi:29086
  43156. 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:"
  43157. msgstr ""
  43158. #. type: lisp
  43159. #: guix-git/doc/guix.texi:29092
  43160. #, no-wrap
  43161. msgid ""
  43162. "(service strongswan-service-type\n"
  43163. " (strongswan-configuration\n"
  43164. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  43165. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  43166. msgstr ""
  43167. #. type: deftp
  43168. #: guix-git/doc/guix.texi:29096
  43169. #, no-wrap
  43170. msgid "{Data Type} strongswan-configuration"
  43171. msgstr ""
  43172. #. type: deftp
  43173. #: guix-git/doc/guix.texi:29098
  43174. msgid "Data type representing the configuration of the StrongSwan service."
  43175. msgstr ""
  43176. #. type: code{#1}
  43177. #: guix-git/doc/guix.texi:29100
  43178. #, no-wrap
  43179. msgid "strongswan"
  43180. msgstr ""
  43181. #. type: table
  43182. #: guix-git/doc/guix.texi:29102
  43183. msgid "The strongSwan package to use for this service."
  43184. msgstr ""
  43185. #. type: item
  43186. #: guix-git/doc/guix.texi:29103
  43187. #, no-wrap
  43188. msgid "@code{ipsec-conf} (default: @code{#f})"
  43189. msgstr ""
  43190. #. type: table
  43191. #: guix-git/doc/guix.texi:29106
  43192. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  43193. msgstr ""
  43194. #. type: item
  43195. #: guix-git/doc/guix.texi:29107
  43196. #, no-wrap
  43197. msgid "@code{ipsec-secrets} (default @code{#f})"
  43198. msgstr ""
  43199. #. type: table
  43200. #: guix-git/doc/guix.texi:29110
  43201. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  43202. msgstr ""
  43203. #. type: subsubheading
  43204. #: guix-git/doc/guix.texi:29114
  43205. #, no-wrap
  43206. msgid "Wireguard"
  43207. msgstr ""
  43208. #. type: defvr
  43209. #: guix-git/doc/guix.texi:29116
  43210. #, no-wrap
  43211. msgid "{Scheme Variable} wireguard-service-type"
  43212. msgstr ""
  43213. #. type: defvr
  43214. #: guix-git/doc/guix.texi:29119
  43215. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  43216. msgstr ""
  43217. #. type: lisp
  43218. #: guix-git/doc/guix.texi:29130
  43219. #, no-wrap
  43220. msgid ""
  43221. "(service wireguard-service-type\n"
  43222. " (wireguard-configuration\n"
  43223. " (peers\n"
  43224. " (list\n"
  43225. " (wireguard-peer\n"
  43226. " (name \"my-peer\")\n"
  43227. " (endpoint \"my.wireguard.com:51820\")\n"
  43228. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  43229. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  43230. msgstr ""
  43231. #. type: deftp
  43232. #: guix-git/doc/guix.texi:29134
  43233. #, no-wrap
  43234. msgid "{Data Type} wireguard-configuration"
  43235. msgstr ""
  43236. #. type: deftp
  43237. #: guix-git/doc/guix.texi:29136
  43238. msgid "Data type representing the configuration of the Wireguard service."
  43239. msgstr ""
  43240. #. type: code{#1}
  43241. #: guix-git/doc/guix.texi:29138
  43242. #, no-wrap
  43243. msgid "wireguard"
  43244. msgstr ""
  43245. #. type: table
  43246. #: guix-git/doc/guix.texi:29140
  43247. msgid "The wireguard package to use for this service."
  43248. msgstr ""
  43249. #. type: item
  43250. #: guix-git/doc/guix.texi:29141
  43251. #, no-wrap
  43252. msgid "@code{interface} (default: @code{\"wg0\"})"
  43253. msgstr ""
  43254. #. type: table
  43255. #: guix-git/doc/guix.texi:29143
  43256. msgid "The interface name for the VPN."
  43257. msgstr ""
  43258. #. type: item
  43259. #: guix-git/doc/guix.texi:29144
  43260. #, no-wrap
  43261. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  43262. msgstr ""
  43263. #. type: table
  43264. #: guix-git/doc/guix.texi:29146
  43265. msgid "The IP addresses to be assigned to the above interface."
  43266. msgstr ""
  43267. #. type: item
  43268. #: guix-git/doc/guix.texi:29147
  43269. #, no-wrap
  43270. msgid "@code{port} (default: @code{51820})"
  43271. msgstr ""
  43272. #. type: table
  43273. #: guix-git/doc/guix.texi:29149
  43274. msgid "The port on which to listen for incoming connections."
  43275. msgstr ""
  43276. #. type: item
  43277. #: guix-git/doc/guix.texi:29150
  43278. #, no-wrap
  43279. msgid "@code{dns} (default: @code{#f})"
  43280. msgstr ""
  43281. #. type: table
  43282. #: guix-git/doc/guix.texi:29152
  43283. msgid "The DNS server(s) to announce to VPN clients via DHCP."
  43284. msgstr ""
  43285. #. type: item
  43286. #: guix-git/doc/guix.texi:29153
  43287. #, no-wrap
  43288. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  43289. msgstr ""
  43290. #. type: table
  43291. #: guix-git/doc/guix.texi:29156
  43292. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  43293. msgstr ""
  43294. #. type: item
  43295. #: guix-git/doc/guix.texi:29157
  43296. #, no-wrap
  43297. msgid "@code{peers} (default: @code{'()})"
  43298. msgstr ""
  43299. #. type: table
  43300. #: guix-git/doc/guix.texi:29160
  43301. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  43302. msgstr ""
  43303. #. type: deftp
  43304. #: guix-git/doc/guix.texi:29164
  43305. #, no-wrap
  43306. msgid "{Data Type} wireguard-peer"
  43307. msgstr ""
  43308. #. type: deftp
  43309. #: guix-git/doc/guix.texi:29166
  43310. msgid "Data type representing a Wireguard peer attached to a given interface."
  43311. msgstr ""
  43312. #. type: table
  43313. #: guix-git/doc/guix.texi:29170
  43314. msgid "The peer name."
  43315. msgstr ""
  43316. #. type: item
  43317. #: guix-git/doc/guix.texi:29171
  43318. #, no-wrap
  43319. msgid "@code{endpoint} (default: @code{#f})"
  43320. msgstr ""
  43321. #. type: table
  43322. #: guix-git/doc/guix.texi:29174
  43323. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  43324. msgstr ""
  43325. #. type: itemx
  43326. #: guix-git/doc/guix.texi:29175 guix-git/doc/guix.texi:29570
  43327. #: guix-git/doc/guix.texi:29607 guix-git/doc/guix.texi:34858
  43328. #, no-wrap
  43329. msgid "public-key"
  43330. msgstr ""
  43331. #. type: table
  43332. #: guix-git/doc/guix.texi:29177
  43333. msgid "The peer public-key represented as a base64 string."
  43334. msgstr ""
  43335. #. type: code{#1}
  43336. #: guix-git/doc/guix.texi:29178
  43337. #, no-wrap
  43338. msgid "allowed-ips"
  43339. msgstr ""
  43340. #. type: table
  43341. #: guix-git/doc/guix.texi:29181
  43342. 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."
  43343. msgstr ""
  43344. #. type: item
  43345. #: guix-git/doc/guix.texi:29182
  43346. #, no-wrap
  43347. msgid "@code{keep-alive} (default: @code{#f})"
  43348. msgstr ""
  43349. #. type: table
  43350. #: guix-git/doc/guix.texi:29187
  43351. 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."
  43352. msgstr ""
  43353. #. type: cindex
  43354. #: guix-git/doc/guix.texi:29193
  43355. #, no-wrap
  43356. msgid "NFS"
  43357. msgstr ""
  43358. #. type: Plain text
  43359. #: guix-git/doc/guix.texi:29198
  43360. 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)."
  43361. msgstr ""
  43362. #. type: Plain text
  43363. #: guix-git/doc/guix.texi:29202
  43364. 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}."
  43365. msgstr ""
  43366. #. type: subsubheading
  43367. #: guix-git/doc/guix.texi:29203
  43368. #, no-wrap
  43369. msgid "NFS Service"
  43370. msgstr ""
  43371. #. type: cindex
  43372. #: guix-git/doc/guix.texi:29204
  43373. #, no-wrap
  43374. msgid "NFS, server"
  43375. msgstr ""
  43376. #. type: Plain text
  43377. #: guix-git/doc/guix.texi:29209
  43378. 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."
  43379. msgstr ""
  43380. #. type: defvr
  43381. #: guix-git/doc/guix.texi:29210
  43382. #, no-wrap
  43383. msgid "{Scheme Variable} nfs-service-type"
  43384. msgstr ""
  43385. #. type: defvr
  43386. #: guix-git/doc/guix.texi:29212
  43387. msgid "A service type for a complete NFS server."
  43388. msgstr ""
  43389. #. type: deftp
  43390. #: guix-git/doc/guix.texi:29214
  43391. #, no-wrap
  43392. msgid "{Data Type} nfs-configuration"
  43393. msgstr ""
  43394. #. type: deftp
  43395. #: guix-git/doc/guix.texi:29217
  43396. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  43397. msgstr ""
  43398. #. type: deftp
  43399. #: guix-git/doc/guix.texi:29219
  43400. msgid "It has the following parameters:"
  43401. msgstr ""
  43402. #. type: item
  43403. #: guix-git/doc/guix.texi:29220 guix-git/doc/guix.texi:29345
  43404. #: guix-git/doc/guix.texi:29370
  43405. #, no-wrap
  43406. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  43407. msgstr ""
  43408. #. type: table
  43409. #: guix-git/doc/guix.texi:29222
  43410. msgid "The nfs-utils package to use."
  43411. msgstr ""
  43412. #. type: item
  43413. #: guix-git/doc/guix.texi:29223
  43414. #, no-wrap
  43415. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  43416. msgstr ""
  43417. #. type: table
  43418. #: guix-git/doc/guix.texi:29226
  43419. 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."
  43420. msgstr ""
  43421. #. type: item
  43422. #: guix-git/doc/guix.texi:29227
  43423. #, no-wrap
  43424. msgid "@code{exports} (default: @code{'()})"
  43425. msgstr ""
  43426. #. type: table
  43427. #: guix-git/doc/guix.texi:29232
  43428. 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:"
  43429. msgstr ""
  43430. #. type: lisp
  43431. #: guix-git/doc/guix.texi:29238
  43432. #, no-wrap
  43433. msgid ""
  43434. "(nfs-configuration\n"
  43435. " (exports\n"
  43436. " '((\"/export\"\n"
  43437. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  43438. msgstr ""
  43439. #. type: item
  43440. #: guix-git/doc/guix.texi:29240
  43441. #, no-wrap
  43442. msgid "@code{rpcmountd-port} (default: @code{#f})"
  43443. msgstr ""
  43444. #. type: table
  43445. #: guix-git/doc/guix.texi:29242
  43446. msgid "The network port that the @command{rpc.mountd} daemon should use."
  43447. msgstr ""
  43448. #. type: item
  43449. #: guix-git/doc/guix.texi:29243
  43450. #, no-wrap
  43451. msgid "@code{rpcstatd-port} (default: @code{#f})"
  43452. msgstr ""
  43453. #. type: table
  43454. #: guix-git/doc/guix.texi:29245
  43455. msgid "The network port that the @command{rpc.statd} daemon should use."
  43456. msgstr ""
  43457. #. type: item
  43458. #: guix-git/doc/guix.texi:29246 guix-git/doc/guix.texi:29294
  43459. #, no-wrap
  43460. msgid "@code{rpcbind} (default: @code{rpcbind})"
  43461. msgstr ""
  43462. #. type: table
  43463. #: guix-git/doc/guix.texi:29248 guix-git/doc/guix.texi:29296
  43464. msgid "The rpcbind package to use."
  43465. msgstr ""
  43466. #. type: item
  43467. #: guix-git/doc/guix.texi:29249
  43468. #, no-wrap
  43469. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  43470. msgstr ""
  43471. #. type: table
  43472. #: guix-git/doc/guix.texi:29251
  43473. msgid "The local NFSv4 domain name."
  43474. msgstr ""
  43475. #. type: item
  43476. #: guix-git/doc/guix.texi:29252
  43477. #, no-wrap
  43478. msgid "@code{nfsd-port} (default: @code{2049})"
  43479. msgstr ""
  43480. #. type: table
  43481. #: guix-git/doc/guix.texi:29254
  43482. msgid "The network port that the @command{nfsd} daemon should use."
  43483. msgstr ""
  43484. #. type: item
  43485. #: guix-git/doc/guix.texi:29255
  43486. #, no-wrap
  43487. msgid "@code{nfsd-threads} (default: @code{8})"
  43488. msgstr ""
  43489. #. type: table
  43490. #: guix-git/doc/guix.texi:29257
  43491. msgid "The number of threads used by the @command{nfsd} daemon."
  43492. msgstr ""
  43493. #. type: item
  43494. #: guix-git/doc/guix.texi:29258
  43495. #, no-wrap
  43496. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  43497. msgstr ""
  43498. #. type: table
  43499. #: guix-git/doc/guix.texi:29260
  43500. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  43501. msgstr ""
  43502. #. type: item
  43503. #: guix-git/doc/guix.texi:29261
  43504. #, no-wrap
  43505. msgid "@code{nfsd-udp?} (default: @code{#f})"
  43506. msgstr ""
  43507. #. type: table
  43508. #: guix-git/doc/guix.texi:29263
  43509. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  43510. msgstr ""
  43511. #. type: item
  43512. #: guix-git/doc/guix.texi:29264 guix-git/doc/guix.texi:29348
  43513. #: guix-git/doc/guix.texi:29373
  43514. #, no-wrap
  43515. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43516. msgstr ""
  43517. #. type: table
  43518. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29350
  43519. #: guix-git/doc/guix.texi:29375
  43520. msgid "The directory where the pipefs file system is mounted."
  43521. msgstr ""
  43522. #. type: item
  43523. #: guix-git/doc/guix.texi:29267
  43524. #, no-wrap
  43525. msgid "@code{debug} (default: @code{'()\"})"
  43526. msgstr ""
  43527. #. type: table
  43528. #: guix-git/doc/guix.texi:29271
  43529. 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}."
  43530. msgstr ""
  43531. #. type: Plain text
  43532. #: guix-git/doc/guix.texi:29276
  43533. 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."
  43534. msgstr ""
  43535. #. type: subsubheading
  43536. #: guix-git/doc/guix.texi:29277
  43537. #, no-wrap
  43538. msgid "RPC Bind Service"
  43539. msgstr ""
  43540. #. type: cindex
  43541. #: guix-git/doc/guix.texi:29278
  43542. #, no-wrap
  43543. msgid "rpcbind"
  43544. msgstr ""
  43545. #. type: Plain text
  43546. #: guix-git/doc/guix.texi:29284
  43547. 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."
  43548. msgstr ""
  43549. #. type: defvr
  43550. #: guix-git/doc/guix.texi:29285
  43551. #, no-wrap
  43552. msgid "{Scheme Variable} rpcbind-service-type"
  43553. msgstr ""
  43554. #. type: defvr
  43555. #: guix-git/doc/guix.texi:29287
  43556. msgid "A service type for the RPC portmapper daemon."
  43557. msgstr ""
  43558. #. type: deftp
  43559. #: guix-git/doc/guix.texi:29290
  43560. #, no-wrap
  43561. msgid "{Data Type} rpcbind-configuration"
  43562. msgstr ""
  43563. #. type: deftp
  43564. #: guix-git/doc/guix.texi:29293
  43565. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  43566. msgstr ""
  43567. #. type: item
  43568. #: guix-git/doc/guix.texi:29297
  43569. #, no-wrap
  43570. msgid "@code{warm-start?} (default: @code{#t})"
  43571. msgstr ""
  43572. #. type: table
  43573. #: guix-git/doc/guix.texi:29301
  43574. 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."
  43575. msgstr ""
  43576. #. type: subsubheading
  43577. #: guix-git/doc/guix.texi:29305
  43578. #, no-wrap
  43579. msgid "Pipefs Pseudo File System"
  43580. msgstr ""
  43581. #. type: cindex
  43582. #: guix-git/doc/guix.texi:29306
  43583. #, no-wrap
  43584. msgid "pipefs"
  43585. msgstr ""
  43586. #. type: cindex
  43587. #: guix-git/doc/guix.texi:29307
  43588. #, no-wrap
  43589. msgid "rpc_pipefs"
  43590. msgstr ""
  43591. #. type: Plain text
  43592. #: guix-git/doc/guix.texi:29311
  43593. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  43594. msgstr ""
  43595. #. type: defvr
  43596. #: guix-git/doc/guix.texi:29312
  43597. #, no-wrap
  43598. msgid "{Scheme Variable} pipefs-service-type"
  43599. msgstr ""
  43600. #. type: defvr
  43601. #: guix-git/doc/guix.texi:29314
  43602. msgid "A service type for the pipefs pseudo file system."
  43603. msgstr ""
  43604. #. type: deftp
  43605. #: guix-git/doc/guix.texi:29316
  43606. #, no-wrap
  43607. msgid "{Data Type} pipefs-configuration"
  43608. msgstr ""
  43609. #. type: deftp
  43610. #: guix-git/doc/guix.texi:29319
  43611. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  43612. msgstr ""
  43613. #. type: item
  43614. #: guix-git/doc/guix.texi:29320
  43615. #, no-wrap
  43616. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43617. msgstr ""
  43618. #. type: table
  43619. #: guix-git/doc/guix.texi:29322
  43620. msgid "The directory to which the file system is to be attached."
  43621. msgstr ""
  43622. #. type: subsubheading
  43623. #: guix-git/doc/guix.texi:29326
  43624. #, no-wrap
  43625. msgid "GSS Daemon Service"
  43626. msgstr ""
  43627. #. type: cindex
  43628. #: guix-git/doc/guix.texi:29327
  43629. #, no-wrap
  43630. msgid "GSSD"
  43631. msgstr ""
  43632. #. type: cindex
  43633. #: guix-git/doc/guix.texi:29328
  43634. #, no-wrap
  43635. msgid "GSS"
  43636. msgstr ""
  43637. #. type: cindex
  43638. #: guix-git/doc/guix.texi:29329
  43639. #, no-wrap
  43640. msgid "global security system"
  43641. msgstr ""
  43642. #. type: Plain text
  43643. #: guix-git/doc/guix.texi:29336
  43644. 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})."
  43645. msgstr ""
  43646. #. type: defvr
  43647. #: guix-git/doc/guix.texi:29337
  43648. #, no-wrap
  43649. msgid "{Scheme Variable} gss-service-type"
  43650. msgstr ""
  43651. #. type: defvr
  43652. #: guix-git/doc/guix.texi:29339
  43653. msgid "A service type for the Global Security System (GSS) daemon."
  43654. msgstr ""
  43655. #. type: deftp
  43656. #: guix-git/doc/guix.texi:29341
  43657. #, no-wrap
  43658. msgid "{Data Type} gss-configuration"
  43659. msgstr ""
  43660. #. type: deftp
  43661. #: guix-git/doc/guix.texi:29344
  43662. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  43663. msgstr ""
  43664. #. type: table
  43665. #: guix-git/doc/guix.texi:29347
  43666. msgid "The package in which the @command{rpc.gssd} command is to be found."
  43667. msgstr ""
  43668. #. type: subsubheading
  43669. #: guix-git/doc/guix.texi:29355
  43670. #, no-wrap
  43671. msgid "IDMAP Daemon Service"
  43672. msgstr ""
  43673. #. type: cindex
  43674. #: guix-git/doc/guix.texi:29356
  43675. #, no-wrap
  43676. msgid "idmapd"
  43677. msgstr ""
  43678. #. type: cindex
  43679. #: guix-git/doc/guix.texi:29357
  43680. #, no-wrap
  43681. msgid "name mapper"
  43682. msgstr ""
  43683. #. type: Plain text
  43684. #: guix-git/doc/guix.texi:29361
  43685. 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."
  43686. msgstr ""
  43687. #. type: defvr
  43688. #: guix-git/doc/guix.texi:29362
  43689. #, no-wrap
  43690. msgid "{Scheme Variable} idmap-service-type"
  43691. msgstr ""
  43692. #. type: defvr
  43693. #: guix-git/doc/guix.texi:29364
  43694. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  43695. msgstr ""
  43696. #. type: deftp
  43697. #: guix-git/doc/guix.texi:29366
  43698. #, no-wrap
  43699. msgid "{Data Type} idmap-configuration"
  43700. msgstr ""
  43701. #. type: deftp
  43702. #: guix-git/doc/guix.texi:29369
  43703. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  43704. msgstr ""
  43705. #. type: table
  43706. #: guix-git/doc/guix.texi:29372
  43707. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  43708. msgstr ""
  43709. #. type: item
  43710. #: guix-git/doc/guix.texi:29376
  43711. #, no-wrap
  43712. msgid "@code{domain} (default: @code{#f})"
  43713. msgstr ""
  43714. #. type: table
  43715. #: guix-git/doc/guix.texi:29380
  43716. 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."
  43717. msgstr ""
  43718. #. type: item
  43719. #: guix-git/doc/guix.texi:29381
  43720. #, no-wrap
  43721. msgid "@code{verbosity} (default: @code{0})"
  43722. msgstr ""
  43723. #. type: table
  43724. #: guix-git/doc/guix.texi:29383
  43725. msgid "The verbosity level of the daemon."
  43726. msgstr ""
  43727. #. type: Plain text
  43728. #: guix-git/doc/guix.texi:29394
  43729. 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})."
  43730. msgstr ""
  43731. #. type: Plain text
  43732. #: guix-git/doc/guix.texi:29396
  43733. msgid "The @code{(gnu services cuirass)} module provides the following service."
  43734. msgstr ""
  43735. #. type: defvr
  43736. #: guix-git/doc/guix.texi:29397
  43737. #, no-wrap
  43738. msgid "{Scheme Procedure} cuirass-service-type"
  43739. msgstr ""
  43740. #. type: defvr
  43741. #: guix-git/doc/guix.texi:29400
  43742. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  43743. msgstr ""
  43744. #. type: Plain text
  43745. #: guix-git/doc/guix.texi:29405
  43746. 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."
  43747. msgstr ""
  43748. #. type: lisp
  43749. #: guix-git/doc/guix.texi:29416
  43750. #, no-wrap
  43751. msgid ""
  43752. "(define %cuirass-specs\n"
  43753. " #~(list (specification\n"
  43754. " (name \"my-channel\")\n"
  43755. " (build '(channels my-channel))\n"
  43756. " (channels\n"
  43757. " (cons (channel\n"
  43758. " (name 'my-channel)\n"
  43759. " (url \"https://my-channel.git\"))\n"
  43760. " %default-channels)))))\n"
  43761. "\n"
  43762. msgstr ""
  43763. #. type: lisp
  43764. #: guix-git/doc/guix.texi:29420 guix-git/doc/guix.texi:29434
  43765. #, no-wrap
  43766. msgid ""
  43767. "(service cuirass-service-type\n"
  43768. " (cuirass-configuration\n"
  43769. " (specifications %cuirass-specs)))\n"
  43770. msgstr ""
  43771. #. type: Plain text
  43772. #: guix-git/doc/guix.texi:29424
  43773. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  43774. msgstr ""
  43775. #. type: lisp
  43776. #: guix-git/doc/guix.texi:29430
  43777. #, no-wrap
  43778. msgid ""
  43779. "(define %cuirass-specs\n"
  43780. " #~(list (specification\n"
  43781. " (name \"my-linux\")\n"
  43782. " (build '(packages \"linux-libre\")))))\n"
  43783. "\n"
  43784. msgstr ""
  43785. #. type: Plain text
  43786. #: guix-git/doc/guix.texi:29439
  43787. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  43788. msgstr ""
  43789. #. type: Plain text
  43790. #: guix-git/doc/guix.texi:29443
  43791. 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."
  43792. msgstr ""
  43793. #. type: deftp
  43794. #: guix-git/doc/guix.texi:29444
  43795. #, no-wrap
  43796. msgid "{Data Type} cuirass-configuration"
  43797. msgstr ""
  43798. #. type: deftp
  43799. #: guix-git/doc/guix.texi:29446
  43800. msgid "Data type representing the configuration of Cuirass."
  43801. msgstr ""
  43802. #. type: item
  43803. #: guix-git/doc/guix.texi:29448 guix-git/doc/guix.texi:29585
  43804. #, no-wrap
  43805. msgid "@code{cuirass} (default: @code{cuirass})"
  43806. msgstr ""
  43807. #. type: table
  43808. #: guix-git/doc/guix.texi:29450 guix-git/doc/guix.texi:29587
  43809. msgid "The Cuirass package to use."
  43810. msgstr ""
  43811. #. type: item
  43812. #: guix-git/doc/guix.texi:29451
  43813. #, no-wrap
  43814. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  43815. msgstr ""
  43816. #. type: table
  43817. #: guix-git/doc/guix.texi:29453 guix-git/doc/guix.texi:29557
  43818. #: guix-git/doc/guix.texi:29600
  43819. msgid "Location of the log file."
  43820. msgstr ""
  43821. #. type: item
  43822. #: guix-git/doc/guix.texi:29454
  43823. #, no-wrap
  43824. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  43825. msgstr ""
  43826. #. type: table
  43827. #: guix-git/doc/guix.texi:29456
  43828. msgid "Location of the log file used by the web interface."
  43829. msgstr ""
  43830. #. type: item
  43831. #: guix-git/doc/guix.texi:29457
  43832. #, no-wrap
  43833. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  43834. msgstr ""
  43835. #. type: table
  43836. #: guix-git/doc/guix.texi:29459
  43837. msgid "Location of the repository cache."
  43838. msgstr ""
  43839. #. type: item
  43840. #: guix-git/doc/guix.texi:29460
  43841. #, no-wrap
  43842. msgid "@code{user} (default: @code{\"cuirass\"})"
  43843. msgstr ""
  43844. #. type: table
  43845. #: guix-git/doc/guix.texi:29462
  43846. msgid "Owner of the @code{cuirass} process."
  43847. msgstr ""
  43848. #. type: item
  43849. #: guix-git/doc/guix.texi:29463
  43850. #, no-wrap
  43851. msgid "@code{group} (default: @code{\"cuirass\"})"
  43852. msgstr ""
  43853. #. type: table
  43854. #: guix-git/doc/guix.texi:29465
  43855. msgid "Owner's group of the @code{cuirass} process."
  43856. msgstr ""
  43857. #. type: item
  43858. #: guix-git/doc/guix.texi:29466
  43859. #, no-wrap
  43860. msgid "@code{interval} (default: @code{60})"
  43861. msgstr ""
  43862. #. type: table
  43863. #: guix-git/doc/guix.texi:29469
  43864. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  43865. msgstr ""
  43866. #. type: item
  43867. #: guix-git/doc/guix.texi:29470
  43868. #, no-wrap
  43869. msgid "@code{parameters} (default: @code{#f})"
  43870. msgstr ""
  43871. #. type: table
  43872. #: guix-git/doc/guix.texi:29473
  43873. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  43874. msgstr ""
  43875. #. type: item
  43876. #: guix-git/doc/guix.texi:29474
  43877. #, no-wrap
  43878. msgid "@code{remote-server} (default: @code{#f})"
  43879. msgstr ""
  43880. #. type: table
  43881. #: guix-git/doc/guix.texi:29477
  43882. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  43883. msgstr ""
  43884. #. type: item
  43885. #: guix-git/doc/guix.texi:29478
  43886. #, no-wrap
  43887. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  43888. msgstr ""
  43889. #. type: table
  43890. #: guix-git/doc/guix.texi:29483
  43891. 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\"}."
  43892. msgstr ""
  43893. #. type: item
  43894. #: guix-git/doc/guix.texi:29484
  43895. #, no-wrap
  43896. msgid "@code{port} (default: @code{8081})"
  43897. msgstr ""
  43898. #. type: table
  43899. #: guix-git/doc/guix.texi:29486
  43900. msgid "Port number used by the HTTP server."
  43901. msgstr ""
  43902. #. type: table
  43903. #: guix-git/doc/guix.texi:29490
  43904. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  43905. msgstr ""
  43906. #. type: item
  43907. #: guix-git/doc/guix.texi:29491
  43908. #, no-wrap
  43909. msgid "@code{specifications} (default: @code{#~'()})"
  43910. msgstr ""
  43911. #. type: table
  43912. #: guix-git/doc/guix.texi:29495
  43913. 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})."
  43914. msgstr ""
  43915. #. type: item
  43916. #: guix-git/doc/guix.texi:29496
  43917. #, no-wrap
  43918. msgid "@code{use-substitutes?} (default: @code{#f})"
  43919. msgstr ""
  43920. #. type: table
  43921. #: guix-git/doc/guix.texi:29499
  43922. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  43923. msgstr ""
  43924. #. type: item
  43925. #: guix-git/doc/guix.texi:29500 guix-git/doc/guix.texi:36940
  43926. #, no-wrap
  43927. msgid "@code{one-shot?} (default: @code{#f})"
  43928. msgstr ""
  43929. #. type: table
  43930. #: guix-git/doc/guix.texi:29502
  43931. msgid "Only evaluate specifications and build derivations once."
  43932. msgstr ""
  43933. #. type: item
  43934. #: guix-git/doc/guix.texi:29503
  43935. #, no-wrap
  43936. msgid "@code{fallback?} (default: @code{#f})"
  43937. msgstr ""
  43938. #. type: table
  43939. #: guix-git/doc/guix.texi:29506
  43940. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  43941. msgstr ""
  43942. #. type: table
  43943. #: guix-git/doc/guix.texi:29509
  43944. msgid "Extra options to pass when running the Cuirass processes."
  43945. msgstr ""
  43946. #. type: cindex
  43947. #: guix-git/doc/guix.texi:29513
  43948. #, no-wrap
  43949. msgid "remote build"
  43950. msgstr ""
  43951. #. type: subsubheading
  43952. #: guix-git/doc/guix.texi:29514
  43953. #, no-wrap
  43954. msgid "Cuirass remote building"
  43955. msgstr ""
  43956. #. type: Plain text
  43957. #: guix-git/doc/guix.texi:29517
  43958. msgid "Cuirass supports two mechanisms to build derivations."
  43959. msgstr ""
  43960. #. type: item
  43961. #: guix-git/doc/guix.texi:29519
  43962. #, no-wrap
  43963. msgid "Using the local Guix daemon."
  43964. msgstr ""
  43965. #. type: itemize
  43966. #: guix-git/doc/guix.texi:29523
  43967. 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."
  43968. msgstr ""
  43969. #. type: item
  43970. #: guix-git/doc/guix.texi:29524
  43971. #, no-wrap
  43972. msgid "Using the remote build mechanism."
  43973. msgstr ""
  43974. #. type: itemize
  43975. #: guix-git/doc/guix.texi:29528
  43976. 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."
  43977. msgstr ""
  43978. #. type: Plain text
  43979. #: guix-git/doc/guix.texi:29535
  43980. 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."
  43981. msgstr ""
  43982. #. type: Plain text
  43983. #: guix-git/doc/guix.texi:29540
  43984. 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."
  43985. msgstr ""
  43986. #. type: deftp
  43987. #: guix-git/doc/guix.texi:29541
  43988. #, no-wrap
  43989. msgid "{Data Type} cuirass-remote-server-configuration"
  43990. msgstr ""
  43991. #. type: deftp
  43992. #: guix-git/doc/guix.texi:29543
  43993. msgid "Data type representing the configuration of the Cuirass remote-server."
  43994. msgstr ""
  43995. #. type: item
  43996. #: guix-git/doc/guix.texi:29545
  43997. #, no-wrap
  43998. msgid "@code{backend-port} (default: @code{5555})"
  43999. msgstr ""
  44000. #. type: table
  44001. #: guix-git/doc/guix.texi:29548
  44002. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  44003. msgstr ""
  44004. #. type: item
  44005. #: guix-git/doc/guix.texi:29549
  44006. #, no-wrap
  44007. msgid "@code{log-port} (default: @code{5556})"
  44008. msgstr ""
  44009. #. type: table
  44010. #: guix-git/doc/guix.texi:29551
  44011. msgid "The TCP port of the log server. It defaults to @code{5556}."
  44012. msgstr ""
  44013. #. type: item
  44014. #: guix-git/doc/guix.texi:29552
  44015. #, no-wrap
  44016. msgid "@code{publish-port} (default: @code{5557})"
  44017. msgstr ""
  44018. #. type: table
  44019. #: guix-git/doc/guix.texi:29554
  44020. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  44021. msgstr ""
  44022. #. type: item
  44023. #: guix-git/doc/guix.texi:29555
  44024. #, no-wrap
  44025. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  44026. msgstr ""
  44027. #. type: item
  44028. #: guix-git/doc/guix.texi:29558
  44029. #, no-wrap
  44030. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  44031. msgstr ""
  44032. #. type: table
  44033. #: guix-git/doc/guix.texi:29560
  44034. msgid "Use @var{cache} directory to cache build log files."
  44035. msgstr ""
  44036. #. type: item
  44037. #: guix-git/doc/guix.texi:29561
  44038. #, no-wrap
  44039. msgid "@code{trigger-url} (default: @code{#f})"
  44040. msgstr ""
  44041. #. type: table
  44042. #: guix-git/doc/guix.texi:29564
  44043. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  44044. msgstr ""
  44045. #. type: table
  44046. #: guix-git/doc/guix.texi:29569
  44047. 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."
  44048. msgstr ""
  44049. #. type: code{#1}
  44050. #: guix-git/doc/guix.texi:29571 guix-git/doc/guix.texi:29608
  44051. #, no-wrap
  44052. msgid "private-key"
  44053. msgstr ""
  44054. #. type: Plain text
  44055. #: guix-git/doc/guix.texi:29580
  44056. 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."
  44057. msgstr ""
  44058. #. type: deftp
  44059. #: guix-git/doc/guix.texi:29581
  44060. #, no-wrap
  44061. msgid "{Data Type} cuirass-remote-worker-configuration"
  44062. msgstr ""
  44063. #. type: deftp
  44064. #: guix-git/doc/guix.texi:29583
  44065. msgid "Data type representing the configuration of the Cuirass remote-worker."
  44066. msgstr ""
  44067. #. type: item
  44068. #: guix-git/doc/guix.texi:29588
  44069. #, no-wrap
  44070. msgid "@code{workers} (default: @code{1})"
  44071. msgstr ""
  44072. #. type: table
  44073. #: guix-git/doc/guix.texi:29590
  44074. msgid "Start @var{workers} parallel workers."
  44075. msgstr ""
  44076. #. type: table
  44077. #: guix-git/doc/guix.texi:29594
  44078. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  44079. msgstr ""
  44080. #. type: item
  44081. #: guix-git/doc/guix.texi:29595
  44082. #, no-wrap
  44083. msgid "@code{systems} (default: @code{(list (%current-system))})"
  44084. msgstr ""
  44085. #. type: table
  44086. #: guix-git/doc/guix.texi:29597
  44087. msgid "Only request builds for the given @var{systems}."
  44088. msgstr ""
  44089. #. type: item
  44090. #: guix-git/doc/guix.texi:29598
  44091. #, no-wrap
  44092. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  44093. msgstr ""
  44094. #. type: item
  44095. #: guix-git/doc/guix.texi:29601
  44096. #, no-wrap
  44097. msgid "@code{publish-port} (default: @code{5558})"
  44098. msgstr ""
  44099. #. type: table
  44100. #: guix-git/doc/guix.texi:29603
  44101. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  44102. msgstr ""
  44103. #. type: subsubheading
  44104. #: guix-git/doc/guix.texi:29615
  44105. #, no-wrap
  44106. msgid "Laminar"
  44107. msgstr ""
  44108. #. type: Plain text
  44109. #: guix-git/doc/guix.texi:29620
  44110. 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."
  44111. msgstr ""
  44112. #. type: Plain text
  44113. #: guix-git/doc/guix.texi:29623
  44114. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  44115. msgstr ""
  44116. #. type: defvr
  44117. #: guix-git/doc/guix.texi:29624
  44118. #, no-wrap
  44119. msgid "{Scheme Procedure} laminar-service-type"
  44120. msgstr ""
  44121. #. type: defvr
  44122. #: guix-git/doc/guix.texi:29627
  44123. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  44124. msgstr ""
  44125. #. type: defvr
  44126. #: guix-git/doc/guix.texi:29631
  44127. 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."
  44128. msgstr ""
  44129. #. type: lisp
  44130. #: guix-git/doc/guix.texi:29634
  44131. #, no-wrap
  44132. msgid "(service laminar-service-type)\n"
  44133. msgstr ""
  44134. #. type: deftp
  44135. #: guix-git/doc/guix.texi:29637
  44136. #, no-wrap
  44137. msgid "{Data Type} laminar-configuration"
  44138. msgstr ""
  44139. #. type: deftp
  44140. #: guix-git/doc/guix.texi:29639
  44141. msgid "Data type representing the configuration of Laminar."
  44142. msgstr ""
  44143. #. type: item
  44144. #: guix-git/doc/guix.texi:29641
  44145. #, no-wrap
  44146. msgid "@code{laminar} (default: @code{laminar})"
  44147. msgstr ""
  44148. #. type: table
  44149. #: guix-git/doc/guix.texi:29643
  44150. msgid "The Laminar package to use."
  44151. msgstr ""
  44152. #. type: item
  44153. #: guix-git/doc/guix.texi:29644
  44154. #, no-wrap
  44155. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  44156. msgstr ""
  44157. #. type: table
  44158. #: guix-git/doc/guix.texi:29646
  44159. msgid "The directory for job configurations and run directories."
  44160. msgstr ""
  44161. #. type: item
  44162. #: guix-git/doc/guix.texi:29647
  44163. #, no-wrap
  44164. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  44165. msgstr ""
  44166. #. type: table
  44167. #: guix-git/doc/guix.texi:29650
  44168. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  44169. msgstr ""
  44170. #. type: item
  44171. #: guix-git/doc/guix.texi:29651
  44172. #, no-wrap
  44173. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  44174. msgstr ""
  44175. #. type: table
  44176. #: guix-git/doc/guix.texi:29654
  44177. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  44178. msgstr ""
  44179. #. type: item
  44180. #: guix-git/doc/guix.texi:29655
  44181. #, no-wrap
  44182. msgid "@code{title} (default: @code{\"Laminar\"})"
  44183. msgstr ""
  44184. #. type: table
  44185. #: guix-git/doc/guix.texi:29657
  44186. msgid "The page title to show in the web frontend."
  44187. msgstr ""
  44188. #. type: item
  44189. #: guix-git/doc/guix.texi:29658
  44190. #, no-wrap
  44191. msgid "@code{keep-rundirs} (default: @code{0})"
  44192. msgstr ""
  44193. #. type: table
  44194. #: guix-git/doc/guix.texi:29662
  44195. 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."
  44196. msgstr ""
  44197. #. type: item
  44198. #: guix-git/doc/guix.texi:29663
  44199. #, no-wrap
  44200. msgid "@code{archive-url} (default: @code{#f})"
  44201. msgstr ""
  44202. #. type: table
  44203. #: guix-git/doc/guix.texi:29666
  44204. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  44205. msgstr ""
  44206. #. type: item
  44207. #: guix-git/doc/guix.texi:29667
  44208. #, no-wrap
  44209. msgid "@code{base-url} (default: @code{#f})"
  44210. msgstr ""
  44211. #. type: table
  44212. #: guix-git/doc/guix.texi:29669
  44213. msgid "Base URL to use for links to laminar itself."
  44214. msgstr ""
  44215. #. type: cindex
  44216. #: guix-git/doc/guix.texi:29676
  44217. #, no-wrap
  44218. msgid "tlp"
  44219. msgstr ""
  44220. #. type: cindex
  44221. #: guix-git/doc/guix.texi:29677
  44222. #, no-wrap
  44223. msgid "power management with TLP"
  44224. msgstr ""
  44225. #. type: subsubheading
  44226. #: guix-git/doc/guix.texi:29678
  44227. #, no-wrap
  44228. msgid "TLP daemon"
  44229. msgstr ""
  44230. #. type: Plain text
  44231. #: guix-git/doc/guix.texi:29682
  44232. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  44233. msgstr ""
  44234. #. type: Plain text
  44235. #: guix-git/doc/guix.texi:29688
  44236. 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}."
  44237. msgstr ""
  44238. #. type: deffn
  44239. #: guix-git/doc/guix.texi:29689
  44240. #, no-wrap
  44241. msgid "{Scheme Variable} tlp-service-type"
  44242. msgstr ""
  44243. #. type: deffn
  44244. #: guix-git/doc/guix.texi:29693
  44245. 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}:"
  44246. msgstr ""
  44247. #. type: lisp
  44248. #: guix-git/doc/guix.texi:29698
  44249. #, no-wrap
  44250. msgid ""
  44251. "(service tlp-service-type\n"
  44252. " (tlp-configuration\n"
  44253. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  44254. " (sched-powersave-on-bat? #t)))\n"
  44255. msgstr ""
  44256. #. type: Plain text
  44257. #: guix-git/doc/guix.texi:29706
  44258. 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}."
  44259. msgstr ""
  44260. #. type: Plain text
  44261. #: guix-git/doc/guix.texi:29716
  44262. msgid "Available @code{tlp-configuration} fields are:"
  44263. msgstr ""
  44264. #. type: deftypevr
  44265. #: guix-git/doc/guix.texi:29717
  44266. #, no-wrap
  44267. msgid "{@code{tlp-configuration} parameter} package tlp"
  44268. msgstr ""
  44269. #. type: deftypevr
  44270. #: guix-git/doc/guix.texi:29719
  44271. msgid "The TLP package."
  44272. msgstr ""
  44273. #. type: deftypevr
  44274. #: guix-git/doc/guix.texi:29722
  44275. #, no-wrap
  44276. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  44277. msgstr ""
  44278. #. type: deftypevr
  44279. #: guix-git/doc/guix.texi:29724
  44280. msgid "Set to true if you wish to enable TLP."
  44281. msgstr ""
  44282. #. type: deftypevr
  44283. #: guix-git/doc/guix.texi:29729
  44284. #, no-wrap
  44285. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  44286. msgstr ""
  44287. #. type: deftypevr
  44288. #: guix-git/doc/guix.texi:29732
  44289. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  44290. msgstr ""
  44291. #. type: deftypevr
  44292. #: guix-git/doc/guix.texi:29734
  44293. msgid "Defaults to @samp{\"AC\"}."
  44294. msgstr ""
  44295. #. type: deftypevr
  44296. #: guix-git/doc/guix.texi:29737
  44297. #, no-wrap
  44298. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  44299. msgstr ""
  44300. #. type: deftypevr
  44301. #: guix-git/doc/guix.texi:29740
  44302. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  44303. msgstr ""
  44304. #. type: deftypevr
  44305. #: guix-git/doc/guix.texi:29745
  44306. #, no-wrap
  44307. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  44308. msgstr ""
  44309. #. type: deftypevr
  44310. #: guix-git/doc/guix.texi:29747
  44311. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  44312. msgstr ""
  44313. #. type: deftypevr
  44314. #: guix-git/doc/guix.texi:29749
  44315. msgid "Defaults to @samp{2}."
  44316. msgstr ""
  44317. #. type: deftypevr
  44318. #: guix-git/doc/guix.texi:29752
  44319. #, no-wrap
  44320. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  44321. msgstr ""
  44322. #. type: deftypevr
  44323. #: guix-git/doc/guix.texi:29754
  44324. msgid "Dirty pages flushing periodicity, expressed in seconds."
  44325. msgstr ""
  44326. #. type: deftypevr
  44327. #: guix-git/doc/guix.texi:29756 guix-git/doc/guix.texi:29979
  44328. #: guix-git/doc/guix.texi:32279 guix-git/doc/guix.texi:32287
  44329. msgid "Defaults to @samp{15}."
  44330. msgstr ""
  44331. #. type: deftypevr
  44332. #: guix-git/doc/guix.texi:29759
  44333. #, no-wrap
  44334. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  44335. msgstr ""
  44336. #. type: deftypevr
  44337. #: guix-git/doc/guix.texi:29761
  44338. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  44339. msgstr ""
  44340. #. type: deftypevr
  44341. #: guix-git/doc/guix.texi:29763
  44342. msgid "Defaults to @samp{60}."
  44343. msgstr ""
  44344. #. type: deftypevr
  44345. #: guix-git/doc/guix.texi:29766
  44346. #, no-wrap
  44347. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  44348. msgstr ""
  44349. #. type: deftypevr
  44350. #: guix-git/doc/guix.texi:29770
  44351. 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."
  44352. msgstr ""
  44353. #. type: deftypevr
  44354. #: guix-git/doc/guix.texi:29775
  44355. #, no-wrap
  44356. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  44357. msgstr ""
  44358. #. type: deftypevr
  44359. #: guix-git/doc/guix.texi:29777
  44360. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  44361. msgstr ""
  44362. #. type: deftypevr
  44363. #: guix-git/doc/guix.texi:29782
  44364. #, no-wrap
  44365. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  44366. msgstr ""
  44367. #. type: deftypevr
  44368. #: guix-git/doc/guix.texi:29784
  44369. msgid "Set the min available frequency for the scaling governor on AC."
  44370. msgstr ""
  44371. #. type: deftypevr
  44372. #: guix-git/doc/guix.texi:29789
  44373. #, no-wrap
  44374. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  44375. msgstr ""
  44376. #. type: deftypevr
  44377. #: guix-git/doc/guix.texi:29791
  44378. msgid "Set the max available frequency for the scaling governor on AC."
  44379. msgstr ""
  44380. #. type: deftypevr
  44381. #: guix-git/doc/guix.texi:29796
  44382. #, no-wrap
  44383. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  44384. msgstr ""
  44385. #. type: deftypevr
  44386. #: guix-git/doc/guix.texi:29798
  44387. msgid "Set the min available frequency for the scaling governor on BAT."
  44388. msgstr ""
  44389. #. type: deftypevr
  44390. #: guix-git/doc/guix.texi:29803
  44391. #, no-wrap
  44392. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  44393. msgstr ""
  44394. #. type: deftypevr
  44395. #: guix-git/doc/guix.texi:29805
  44396. msgid "Set the max available frequency for the scaling governor on BAT."
  44397. msgstr ""
  44398. #. type: deftypevr
  44399. #: guix-git/doc/guix.texi:29810
  44400. #, no-wrap
  44401. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  44402. msgstr ""
  44403. #. type: deftypevr
  44404. #: guix-git/doc/guix.texi:29813
  44405. 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."
  44406. msgstr ""
  44407. #. type: deftypevr
  44408. #: guix-git/doc/guix.texi:29818
  44409. #, no-wrap
  44410. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  44411. msgstr ""
  44412. #. type: deftypevr
  44413. #: guix-git/doc/guix.texi:29821
  44414. 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."
  44415. msgstr ""
  44416. #. type: deftypevr
  44417. #: guix-git/doc/guix.texi:29826
  44418. #, no-wrap
  44419. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  44420. msgstr ""
  44421. #. type: deftypevr
  44422. #: guix-git/doc/guix.texi:29828
  44423. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  44424. msgstr ""
  44425. #. type: deftypevr
  44426. #: guix-git/doc/guix.texi:29833
  44427. #, no-wrap
  44428. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  44429. msgstr ""
  44430. #. type: deftypevr
  44431. #: guix-git/doc/guix.texi:29835
  44432. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  44433. msgstr ""
  44434. #. type: deftypevr
  44435. #: guix-git/doc/guix.texi:29840
  44436. #, no-wrap
  44437. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  44438. msgstr ""
  44439. #. type: deftypevr
  44440. #: guix-git/doc/guix.texi:29842
  44441. msgid "Enable CPU turbo boost feature on AC mode."
  44442. msgstr ""
  44443. #. type: deftypevr
  44444. #: guix-git/doc/guix.texi:29847
  44445. #, no-wrap
  44446. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  44447. msgstr ""
  44448. #. type: deftypevr
  44449. #: guix-git/doc/guix.texi:29849
  44450. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  44451. msgstr ""
  44452. #. type: deftypevr
  44453. #: guix-git/doc/guix.texi:29854
  44454. #, no-wrap
  44455. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  44456. msgstr ""
  44457. #. type: deftypevr
  44458. #: guix-git/doc/guix.texi:29857
  44459. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  44460. msgstr ""
  44461. #. type: deftypevr
  44462. #: guix-git/doc/guix.texi:29862
  44463. #, no-wrap
  44464. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  44465. msgstr ""
  44466. #. type: deftypevr
  44467. #: guix-git/doc/guix.texi:29864
  44468. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  44469. msgstr ""
  44470. #. type: deftypevr
  44471. #: guix-git/doc/guix.texi:29869
  44472. #, no-wrap
  44473. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  44474. msgstr ""
  44475. #. type: deftypevr
  44476. #: guix-git/doc/guix.texi:29871
  44477. msgid "Enable Linux kernel NMI watchdog."
  44478. msgstr ""
  44479. #. type: deftypevr
  44480. #: guix-git/doc/guix.texi:29876
  44481. #, no-wrap
  44482. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  44483. msgstr ""
  44484. #. type: deftypevr
  44485. #: guix-git/doc/guix.texi:29879
  44486. 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\"}."
  44487. msgstr ""
  44488. #. type: deftypevr
  44489. #: guix-git/doc/guix.texi:29884
  44490. #, no-wrap
  44491. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  44492. msgstr ""
  44493. #. type: deftypevr
  44494. #: guix-git/doc/guix.texi:29887
  44495. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  44496. msgstr ""
  44497. #. type: deftypevr
  44498. #: guix-git/doc/guix.texi:29889 guix-git/doc/guix.texi:29987
  44499. #: guix-git/doc/guix.texi:30045
  44500. msgid "Defaults to @samp{\"performance\"}."
  44501. msgstr ""
  44502. #. type: deftypevr
  44503. #: guix-git/doc/guix.texi:29892
  44504. #, no-wrap
  44505. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  44506. msgstr ""
  44507. #. type: deftypevr
  44508. #: guix-git/doc/guix.texi:29894
  44509. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  44510. msgstr ""
  44511. #. type: deftypevr
  44512. #: guix-git/doc/guix.texi:29896 guix-git/doc/guix.texi:29994
  44513. msgid "Defaults to @samp{\"powersave\"}."
  44514. msgstr ""
  44515. #. type: deftypevr
  44516. #: guix-git/doc/guix.texi:29899
  44517. #, no-wrap
  44518. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  44519. msgstr ""
  44520. #. type: deftypevr
  44521. #: guix-git/doc/guix.texi:29901
  44522. msgid "Hard disk devices."
  44523. msgstr ""
  44524. #. type: deftypevr
  44525. #: guix-git/doc/guix.texi:29904
  44526. #, no-wrap
  44527. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  44528. msgstr ""
  44529. #. type: deftypevr
  44530. #: guix-git/doc/guix.texi:29906
  44531. msgid "Hard disk advanced power management level."
  44532. msgstr ""
  44533. #. type: deftypevr
  44534. #: guix-git/doc/guix.texi:29909
  44535. #, no-wrap
  44536. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  44537. msgstr ""
  44538. #. type: deftypevr
  44539. #: guix-git/doc/guix.texi:29911
  44540. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  44541. msgstr ""
  44542. #. type: deftypevr
  44543. #: guix-git/doc/guix.texi:29914
  44544. #, no-wrap
  44545. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  44546. msgstr ""
  44547. #. type: deftypevr
  44548. #: guix-git/doc/guix.texi:29917
  44549. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  44550. msgstr ""
  44551. #. type: deftypevr
  44552. #: guix-git/doc/guix.texi:29922
  44553. #, no-wrap
  44554. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  44555. msgstr ""
  44556. #. type: deftypevr
  44557. #: guix-git/doc/guix.texi:29924
  44558. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  44559. msgstr ""
  44560. #. type: deftypevr
  44561. #: guix-git/doc/guix.texi:29929
  44562. #, no-wrap
  44563. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  44564. msgstr ""
  44565. #. type: deftypevr
  44566. #: guix-git/doc/guix.texi:29933
  44567. 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."
  44568. msgstr ""
  44569. #. type: deftypevr
  44570. #: guix-git/doc/guix.texi:29938
  44571. #, no-wrap
  44572. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  44573. msgstr ""
  44574. #. type: deftypevr
  44575. #: guix-git/doc/guix.texi:29941
  44576. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  44577. msgstr ""
  44578. #. type: deftypevr
  44579. #: guix-git/doc/guix.texi:29943
  44580. msgid "Defaults to @samp{\"max_performance\"}."
  44581. msgstr ""
  44582. #. type: deftypevr
  44583. #: guix-git/doc/guix.texi:29946
  44584. #, no-wrap
  44585. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  44586. msgstr ""
  44587. #. type: deftypevr
  44588. #: guix-git/doc/guix.texi:29948
  44589. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  44590. msgstr ""
  44591. #. type: deftypevr
  44592. #: guix-git/doc/guix.texi:29950
  44593. msgid "Defaults to @samp{\"min_power\"}."
  44594. msgstr ""
  44595. #. type: deftypevr
  44596. #: guix-git/doc/guix.texi:29953
  44597. #, no-wrap
  44598. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  44599. msgstr ""
  44600. #. type: deftypevr
  44601. #: guix-git/doc/guix.texi:29955
  44602. msgid "Exclude specified SATA host devices for link power management."
  44603. msgstr ""
  44604. #. type: deftypevr
  44605. #: guix-git/doc/guix.texi:29960
  44606. #, no-wrap
  44607. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  44608. msgstr ""
  44609. #. type: deftypevr
  44610. #: guix-git/doc/guix.texi:29963
  44611. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  44612. msgstr ""
  44613. #. type: deftypevr
  44614. #: guix-git/doc/guix.texi:29968
  44615. #, no-wrap
  44616. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  44617. msgstr ""
  44618. #. type: deftypevr
  44619. #: guix-git/doc/guix.texi:29970
  44620. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  44621. msgstr ""
  44622. #. type: deftypevr
  44623. #: guix-git/doc/guix.texi:29975
  44624. #, no-wrap
  44625. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  44626. msgstr ""
  44627. #. type: deftypevr
  44628. #: guix-git/doc/guix.texi:29977
  44629. msgid "Seconds of inactivity before disk is suspended."
  44630. msgstr ""
  44631. #. type: deftypevr
  44632. #: guix-git/doc/guix.texi:29982
  44633. #, no-wrap
  44634. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  44635. msgstr ""
  44636. #. type: deftypevr
  44637. #: guix-git/doc/guix.texi:29985
  44638. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  44639. msgstr ""
  44640. #. type: deftypevr
  44641. #: guix-git/doc/guix.texi:29990
  44642. #, no-wrap
  44643. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  44644. msgstr ""
  44645. #. type: deftypevr
  44646. #: guix-git/doc/guix.texi:29992
  44647. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  44648. msgstr ""
  44649. #. type: deftypevr
  44650. #: guix-git/doc/guix.texi:29997
  44651. #, no-wrap
  44652. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat0"
  44653. msgstr ""
  44654. #. type: deftypevr
  44655. #: guix-git/doc/guix.texi:29999
  44656. msgid "Percentage when battery 0 should begin charging. Only supported on some laptops."
  44657. msgstr ""
  44658. #. type: deftypevr
  44659. #: guix-git/doc/guix.texi:30004
  44660. #, no-wrap
  44661. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat0"
  44662. msgstr ""
  44663. #. type: deftypevr
  44664. #: guix-git/doc/guix.texi:30006
  44665. msgid "Percentage when battery 0 should stop charging. Only supported on some laptops."
  44666. msgstr ""
  44667. #. type: deftypevr
  44668. #: guix-git/doc/guix.texi:30011
  44669. #, no-wrap
  44670. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat1"
  44671. msgstr ""
  44672. #. type: deftypevr
  44673. #: guix-git/doc/guix.texi:30013
  44674. msgid "Percentage when battery 1 should begin charging. Only supported on some laptops."
  44675. msgstr ""
  44676. #. type: deftypevr
  44677. #: guix-git/doc/guix.texi:30018
  44678. #, no-wrap
  44679. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat1"
  44680. msgstr ""
  44681. #. type: deftypevr
  44682. #: guix-git/doc/guix.texi:30020
  44683. msgid "Percentage when battery 1 should stop charging. Only supported on some laptops."
  44684. msgstr ""
  44685. #. type: deftypevr
  44686. #: guix-git/doc/guix.texi:30025
  44687. #, no-wrap
  44688. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  44689. msgstr ""
  44690. #. type: deftypevr
  44691. #: guix-git/doc/guix.texi:30028
  44692. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  44693. msgstr ""
  44694. #. type: deftypevr
  44695. #: guix-git/doc/guix.texi:30030
  44696. msgid "Defaults to @samp{\"high\"}."
  44697. msgstr ""
  44698. #. type: deftypevr
  44699. #: guix-git/doc/guix.texi:30033
  44700. #, no-wrap
  44701. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  44702. msgstr ""
  44703. #. type: deftypevr
  44704. #: guix-git/doc/guix.texi:30035
  44705. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  44706. msgstr ""
  44707. #. type: deftypevr
  44708. #: guix-git/doc/guix.texi:30037
  44709. msgid "Defaults to @samp{\"low\"}."
  44710. msgstr ""
  44711. #. type: deftypevr
  44712. #: guix-git/doc/guix.texi:30040
  44713. #, no-wrap
  44714. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  44715. msgstr ""
  44716. #. type: deftypevr
  44717. #: guix-git/doc/guix.texi:30043
  44718. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  44719. msgstr ""
  44720. #. type: deftypevr
  44721. #: guix-git/doc/guix.texi:30048
  44722. #, no-wrap
  44723. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  44724. msgstr ""
  44725. #. type: deftypevr
  44726. #: guix-git/doc/guix.texi:30050
  44727. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  44728. msgstr ""
  44729. #. type: deftypevr
  44730. #: guix-git/doc/guix.texi:30052
  44731. msgid "Defaults to @samp{\"battery\"}."
  44732. msgstr ""
  44733. #. type: deftypevr
  44734. #: guix-git/doc/guix.texi:30055
  44735. #, no-wrap
  44736. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  44737. msgstr ""
  44738. #. type: deftypevr
  44739. #: guix-git/doc/guix.texi:30057
  44740. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  44741. msgstr ""
  44742. #. type: deftypevr
  44743. #: guix-git/doc/guix.texi:30059 guix-git/doc/guix.texi:30066
  44744. #: guix-git/doc/guix.texi:30140
  44745. msgid "Defaults to @samp{\"auto\"}."
  44746. msgstr ""
  44747. #. type: deftypevr
  44748. #: guix-git/doc/guix.texi:30062
  44749. #, no-wrap
  44750. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  44751. msgstr ""
  44752. #. type: deftypevr
  44753. #: guix-git/doc/guix.texi:30064
  44754. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  44755. msgstr ""
  44756. #. type: deftypevr
  44757. #: guix-git/doc/guix.texi:30069
  44758. #, no-wrap
  44759. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  44760. msgstr ""
  44761. #. type: deftypevr
  44762. #: guix-git/doc/guix.texi:30071
  44763. msgid "Wifi power saving mode."
  44764. msgstr ""
  44765. #. type: deftypevr
  44766. #: guix-git/doc/guix.texi:30076
  44767. #, no-wrap
  44768. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  44769. msgstr ""
  44770. #. type: deftypevr
  44771. #: guix-git/doc/guix.texi:30078
  44772. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  44773. msgstr ""
  44774. #. type: deftypevr
  44775. #: guix-git/doc/guix.texi:30083
  44776. #, no-wrap
  44777. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  44778. msgstr ""
  44779. #. type: deftypevr
  44780. #: guix-git/doc/guix.texi:30085
  44781. msgid "Disable wake on LAN."
  44782. msgstr ""
  44783. #. type: deftypevr
  44784. #: guix-git/doc/guix.texi:30090
  44785. #, no-wrap
  44786. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  44787. msgstr ""
  44788. #. type: deftypevr
  44789. #: guix-git/doc/guix.texi:30093
  44790. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  44791. msgstr ""
  44792. #. type: deftypevr
  44793. #: guix-git/doc/guix.texi:30098
  44794. #, no-wrap
  44795. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  44796. msgstr ""
  44797. #. type: deftypevr
  44798. #: guix-git/doc/guix.texi:30100
  44799. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  44800. msgstr ""
  44801. #. type: deftypevr
  44802. #: guix-git/doc/guix.texi:30105
  44803. #, no-wrap
  44804. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  44805. msgstr ""
  44806. #. type: deftypevr
  44807. #: guix-git/doc/guix.texi:30107
  44808. msgid "Disable controller in powersaving mode on Intel HDA devices."
  44809. msgstr ""
  44810. #. type: deftypevr
  44811. #: guix-git/doc/guix.texi:30112
  44812. #, no-wrap
  44813. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  44814. msgstr ""
  44815. #. type: deftypevr
  44816. #: guix-git/doc/guix.texi:30116
  44817. 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."
  44818. msgstr ""
  44819. #. type: deftypevr
  44820. #: guix-git/doc/guix.texi:30121
  44821. #, no-wrap
  44822. msgid "{@code{tlp-configuration} parameter} string bay-device"
  44823. msgstr ""
  44824. #. type: deftypevr
  44825. #: guix-git/doc/guix.texi:30123
  44826. msgid "Name of the optical drive device to power off."
  44827. msgstr ""
  44828. #. type: deftypevr
  44829. #: guix-git/doc/guix.texi:30125
  44830. msgid "Defaults to @samp{\"sr0\"}."
  44831. msgstr ""
  44832. #. type: deftypevr
  44833. #: guix-git/doc/guix.texi:30128
  44834. #, no-wrap
  44835. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  44836. msgstr ""
  44837. #. type: deftypevr
  44838. #: guix-git/doc/guix.texi:30131
  44839. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  44840. msgstr ""
  44841. #. type: deftypevr
  44842. #: guix-git/doc/guix.texi:30133
  44843. msgid "Defaults to @samp{\"on\"}."
  44844. msgstr ""
  44845. #. type: deftypevr
  44846. #: guix-git/doc/guix.texi:30136
  44847. #, no-wrap
  44848. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  44849. msgstr ""
  44850. #. type: deftypevr
  44851. #: guix-git/doc/guix.texi:30138
  44852. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  44853. msgstr ""
  44854. #. type: deftypevr
  44855. #: guix-git/doc/guix.texi:30143
  44856. #, no-wrap
  44857. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  44858. msgstr ""
  44859. #. type: deftypevr
  44860. #: guix-git/doc/guix.texi:30146
  44861. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  44862. msgstr ""
  44863. #. type: deftypevr
  44864. #: guix-git/doc/guix.texi:30151
  44865. #, no-wrap
  44866. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  44867. msgstr ""
  44868. #. type: deftypevr
  44869. #: guix-git/doc/guix.texi:30153
  44870. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  44871. msgstr ""
  44872. #. type: deftypevr
  44873. #: guix-git/doc/guix.texi:30158
  44874. #, no-wrap
  44875. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  44876. msgstr ""
  44877. #. type: deftypevr
  44878. #: guix-git/doc/guix.texi:30161
  44879. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  44880. msgstr ""
  44881. #. type: deftypevr
  44882. #: guix-git/doc/guix.texi:30164
  44883. #, no-wrap
  44884. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  44885. msgstr ""
  44886. #. type: deftypevr
  44887. #: guix-git/doc/guix.texi:30166
  44888. msgid "Enable USB autosuspend feature."
  44889. msgstr ""
  44890. #. type: deftypevr
  44891. #: guix-git/doc/guix.texi:30171
  44892. #, no-wrap
  44893. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  44894. msgstr ""
  44895. #. type: deftypevr
  44896. #: guix-git/doc/guix.texi:30173
  44897. msgid "Exclude specified devices from USB autosuspend."
  44898. msgstr ""
  44899. #. type: deftypevr
  44900. #: guix-git/doc/guix.texi:30178
  44901. #, no-wrap
  44902. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  44903. msgstr ""
  44904. #. type: deftypevr
  44905. #: guix-git/doc/guix.texi:30180
  44906. msgid "Exclude WWAN devices from USB autosuspend."
  44907. msgstr ""
  44908. #. type: deftypevr
  44909. #: guix-git/doc/guix.texi:30185
  44910. #, no-wrap
  44911. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  44912. msgstr ""
  44913. #. type: deftypevr
  44914. #: guix-git/doc/guix.texi:30188
  44915. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  44916. msgstr ""
  44917. #. type: deftypevr
  44918. #: guix-git/doc/guix.texi:30193
  44919. #, no-wrap
  44920. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  44921. msgstr ""
  44922. #. type: deftypevr
  44923. #: guix-git/doc/guix.texi:30195
  44924. msgid "Enable USB autosuspend before shutdown."
  44925. msgstr ""
  44926. #. type: deftypevr
  44927. #: guix-git/doc/guix.texi:30200
  44928. #, no-wrap
  44929. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  44930. msgstr ""
  44931. #. type: deftypevr
  44932. #: guix-git/doc/guix.texi:30203
  44933. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  44934. msgstr ""
  44935. #. type: cindex
  44936. #: guix-git/doc/guix.texi:30208
  44937. #, no-wrap
  44938. msgid "thermald"
  44939. msgstr ""
  44940. #. type: cindex
  44941. #: guix-git/doc/guix.texi:30209
  44942. #, no-wrap
  44943. msgid "CPU frequency scaling with thermald"
  44944. msgstr ""
  44945. #. type: subsubheading
  44946. #: guix-git/doc/guix.texi:30210
  44947. #, no-wrap
  44948. msgid "Thermald daemon"
  44949. msgstr ""
  44950. #. type: Plain text
  44951. #: guix-git/doc/guix.texi:30214
  44952. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  44953. msgstr ""
  44954. #. type: defvr
  44955. #: guix-git/doc/guix.texi:30215
  44956. #, no-wrap
  44957. msgid "{Scheme Variable} thermald-service-type"
  44958. msgstr ""
  44959. #. type: defvr
  44960. #: guix-git/doc/guix.texi:30220
  44961. 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."
  44962. msgstr ""
  44963. #. type: deftp
  44964. #: guix-git/doc/guix.texi:30222
  44965. #, no-wrap
  44966. msgid "{Data Type} thermald-configuration"
  44967. msgstr ""
  44968. #. type: deftp
  44969. #: guix-git/doc/guix.texi:30224
  44970. msgid "Data type representing the configuration of @code{thermald-service-type}."
  44971. msgstr ""
  44972. #. type: item
  44973. #: guix-git/doc/guix.texi:30226
  44974. #, no-wrap
  44975. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  44976. msgstr ""
  44977. #. type: table
  44978. #: guix-git/doc/guix.texi:30228
  44979. msgid "Ignore cpuid check for supported CPU models."
  44980. msgstr ""
  44981. #. type: item
  44982. #: guix-git/doc/guix.texi:30229
  44983. #, no-wrap
  44984. msgid "@code{thermald} (default: @var{thermald})"
  44985. msgstr ""
  44986. #. type: table
  44987. #: guix-git/doc/guix.texi:30231
  44988. msgid "Package object of thermald."
  44989. msgstr ""
  44990. #. type: Plain text
  44991. #: guix-git/doc/guix.texi:30240
  44992. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  44993. msgstr ""
  44994. #. type: cindex
  44995. #: guix-git/doc/guix.texi:30241
  44996. #, no-wrap
  44997. msgid "mpd"
  44998. msgstr ""
  44999. #. type: subsubheading
  45000. #: guix-git/doc/guix.texi:30242
  45001. #, no-wrap
  45002. msgid "Music Player Daemon"
  45003. msgstr ""
  45004. #. type: Plain text
  45005. #: guix-git/doc/guix.texi:30247
  45006. 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."
  45007. msgstr ""
  45008. #. type: Plain text
  45009. #: guix-git/doc/guix.texi:30250
  45010. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  45011. msgstr ""
  45012. #. type: lisp
  45013. #: guix-git/doc/guix.texi:30256
  45014. #, no-wrap
  45015. msgid ""
  45016. "(service mpd-service-type\n"
  45017. " (mpd-configuration\n"
  45018. " (user \"bob\")\n"
  45019. " (port \"6666\")))\n"
  45020. msgstr ""
  45021. #. type: defvr
  45022. #: guix-git/doc/guix.texi:30258
  45023. #, no-wrap
  45024. msgid "{Scheme Variable} mpd-service-type"
  45025. msgstr ""
  45026. #. type: defvr
  45027. #: guix-git/doc/guix.texi:30260
  45028. msgid "The service type for @command{mpd}"
  45029. msgstr ""
  45030. #. type: deftp
  45031. #: guix-git/doc/guix.texi:30262
  45032. #, no-wrap
  45033. msgid "{Data Type} mpd-configuration"
  45034. msgstr ""
  45035. #. type: deftp
  45036. #: guix-git/doc/guix.texi:30264
  45037. msgid "Data type representing the configuration of @command{mpd}."
  45038. msgstr ""
  45039. #. type: item
  45040. #: guix-git/doc/guix.texi:30266
  45041. #, no-wrap
  45042. msgid "@code{user} (default: @code{\"mpd\"})"
  45043. msgstr ""
  45044. #. type: table
  45045. #: guix-git/doc/guix.texi:30268
  45046. msgid "The user to run mpd as."
  45047. msgstr ""
  45048. #. type: item
  45049. #: guix-git/doc/guix.texi:30269
  45050. #, no-wrap
  45051. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  45052. msgstr ""
  45053. #. type: table
  45054. #: guix-git/doc/guix.texi:30271
  45055. msgid "The directory to scan for music files."
  45056. msgstr ""
  45057. #. type: item
  45058. #: guix-git/doc/guix.texi:30272
  45059. #, no-wrap
  45060. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  45061. msgstr ""
  45062. #. type: table
  45063. #: guix-git/doc/guix.texi:30274
  45064. msgid "The directory to store playlists."
  45065. msgstr ""
  45066. #. type: item
  45067. #: guix-git/doc/guix.texi:30275
  45068. #, no-wrap
  45069. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  45070. msgstr ""
  45071. #. type: table
  45072. #: guix-git/doc/guix.texi:30277
  45073. msgid "The location of the music database."
  45074. msgstr ""
  45075. #. type: item
  45076. #: guix-git/doc/guix.texi:30278
  45077. #, no-wrap
  45078. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  45079. msgstr ""
  45080. #. type: table
  45081. #: guix-git/doc/guix.texi:30280
  45082. msgid "The location of the file that stores current MPD's state."
  45083. msgstr ""
  45084. #. type: item
  45085. #: guix-git/doc/guix.texi:30281
  45086. #, no-wrap
  45087. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  45088. msgstr ""
  45089. #. type: table
  45090. #: guix-git/doc/guix.texi:30283
  45091. msgid "The location of the sticker database."
  45092. msgstr ""
  45093. #. type: item
  45094. #: guix-git/doc/guix.texi:30284
  45095. #, no-wrap
  45096. msgid "@code{port} (default: @code{\"6600\"})"
  45097. msgstr ""
  45098. #. type: table
  45099. #: guix-git/doc/guix.texi:30286
  45100. msgid "The port to run mpd on."
  45101. msgstr ""
  45102. #. type: item
  45103. #: guix-git/doc/guix.texi:30287
  45104. #, no-wrap
  45105. msgid "@code{address} (default: @code{\"any\"})"
  45106. msgstr ""
  45107. #. type: table
  45108. #: guix-git/doc/guix.texi:30290
  45109. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  45110. msgstr ""
  45111. #. type: item
  45112. #: guix-git/doc/guix.texi:30291
  45113. #, no-wrap
  45114. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  45115. msgstr ""
  45116. #. type: table
  45117. #: guix-git/doc/guix.texi:30293
  45118. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  45119. msgstr ""
  45120. #. type: deftp
  45121. #: guix-git/doc/guix.texi:30297
  45122. #, no-wrap
  45123. msgid "{Data Type} mpd-output"
  45124. msgstr ""
  45125. #. type: deftp
  45126. #: guix-git/doc/guix.texi:30299
  45127. msgid "Data type representing an @command{mpd} audio output."
  45128. msgstr ""
  45129. #. type: item
  45130. #: guix-git/doc/guix.texi:30301
  45131. #, no-wrap
  45132. msgid "@code{name} (default: @code{\"MPD\"})"
  45133. msgstr ""
  45134. #. type: table
  45135. #: guix-git/doc/guix.texi:30303
  45136. msgid "The name of the audio output."
  45137. msgstr ""
  45138. #. type: item
  45139. #: guix-git/doc/guix.texi:30304
  45140. #, no-wrap
  45141. msgid "@code{type} (default: @code{\"pulse\"})"
  45142. msgstr ""
  45143. #. type: table
  45144. #: guix-git/doc/guix.texi:30306
  45145. msgid "The type of audio output."
  45146. msgstr ""
  45147. #. type: item
  45148. #: guix-git/doc/guix.texi:30307
  45149. #, no-wrap
  45150. msgid "@code{enabled?} (default: @code{#t})"
  45151. msgstr ""
  45152. #. type: table
  45153. #: guix-git/doc/guix.texi:30312
  45154. 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."
  45155. msgstr ""
  45156. #. type: item
  45157. #: guix-git/doc/guix.texi:30313
  45158. #, no-wrap
  45159. msgid "@code{tags?} (default: @code{#t})"
  45160. msgstr ""
  45161. #. type: table
  45162. #: guix-git/doc/guix.texi:30317
  45163. 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."
  45164. msgstr ""
  45165. #. type: item
  45166. #: guix-git/doc/guix.texi:30318
  45167. #, no-wrap
  45168. msgid "@code{always-on?} (default: @code{#f})"
  45169. msgstr ""
  45170. #. type: table
  45171. #: guix-git/doc/guix.texi:30322
  45172. 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."
  45173. msgstr ""
  45174. #. type: code{#1}
  45175. #: guix-git/doc/guix.texi:30323
  45176. #, no-wrap
  45177. msgid "mixer-type"
  45178. msgstr ""
  45179. #. type: table
  45180. #: guix-git/doc/guix.texi:30329
  45181. 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})."
  45182. msgstr ""
  45183. #. type: table
  45184. #: guix-git/doc/guix.texi:30333
  45185. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  45186. msgstr ""
  45187. #. type: Plain text
  45188. #: guix-git/doc/guix.texi:30339
  45189. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  45190. msgstr ""
  45191. #. type: lisp
  45192. #: guix-git/doc/guix.texi:30351
  45193. #, no-wrap
  45194. msgid ""
  45195. "(service mpd-service-type\n"
  45196. " (mpd-configuration\n"
  45197. " (outputs\n"
  45198. " (list (mpd-output\n"
  45199. " (name \"streaming\")\n"
  45200. " (type \"httpd\")\n"
  45201. " (mixer-type 'null)\n"
  45202. " (extra-options\n"
  45203. " `((encoder . \"vorbis\")\n"
  45204. " (port . \"8080\"))))))))\n"
  45205. msgstr ""
  45206. #. type: Plain text
  45207. #: guix-git/doc/guix.texi:30360
  45208. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  45209. msgstr ""
  45210. #. type: subsubheading
  45211. #: guix-git/doc/guix.texi:30361
  45212. #, no-wrap
  45213. msgid "Libvirt daemon"
  45214. msgstr ""
  45215. #. type: Plain text
  45216. #: guix-git/doc/guix.texi:30366
  45217. 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."
  45218. msgstr ""
  45219. #. type: deffn
  45220. #: guix-git/doc/guix.texi:30367
  45221. #, no-wrap
  45222. msgid "{Scheme Variable} libvirt-service-type"
  45223. msgstr ""
  45224. #. type: deffn
  45225. #: guix-git/doc/guix.texi:30370
  45226. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  45227. msgstr ""
  45228. #. type: lisp
  45229. #: guix-git/doc/guix.texi:30376
  45230. #, no-wrap
  45231. msgid ""
  45232. "(service libvirt-service-type\n"
  45233. " (libvirt-configuration\n"
  45234. " (unix-sock-group \"libvirt\")\n"
  45235. " (tls-port \"16555\")))\n"
  45236. msgstr ""
  45237. #. type: Plain text
  45238. #: guix-git/doc/guix.texi:30381
  45239. msgid "Available @code{libvirt-configuration} fields are:"
  45240. msgstr ""
  45241. #. type: deftypevr
  45242. #: guix-git/doc/guix.texi:30382
  45243. #, no-wrap
  45244. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  45245. msgstr ""
  45246. #. type: deftypevar
  45247. #: guix-git/doc/guix.texi:30384 guix-git/doc/guix.texi:30947
  45248. msgid "Libvirt package."
  45249. msgstr ""
  45250. #. type: deftypevr
  45251. #: guix-git/doc/guix.texi:30387
  45252. #, no-wrap
  45253. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  45254. msgstr ""
  45255. #. type: deftypevr
  45256. #: guix-git/doc/guix.texi:30390
  45257. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45258. msgstr ""
  45259. #. type: deftypevr
  45260. #: guix-git/doc/guix.texi:30393
  45261. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  45262. msgstr ""
  45263. #. type: deftypevr
  45264. #: guix-git/doc/guix.texi:30398
  45265. #, no-wrap
  45266. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  45267. msgstr ""
  45268. #. type: deftypevr
  45269. #: guix-git/doc/guix.texi:30401
  45270. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45271. msgstr ""
  45272. #. type: deftypevr
  45273. #: guix-git/doc/guix.texi:30405
  45274. 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)."
  45275. msgstr ""
  45276. #. type: deftypevr
  45277. #: guix-git/doc/guix.texi:30410
  45278. #, no-wrap
  45279. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  45280. msgstr ""
  45281. #. type: deftypevr
  45282. #: guix-git/doc/guix.texi:30413
  45283. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  45284. msgstr ""
  45285. #. type: deftypevr
  45286. #: guix-git/doc/guix.texi:30415
  45287. msgid "Defaults to @samp{\"16514\"}."
  45288. msgstr ""
  45289. #. type: deftypevr
  45290. #: guix-git/doc/guix.texi:30418
  45291. #, no-wrap
  45292. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  45293. msgstr ""
  45294. #. type: deftypevr
  45295. #: guix-git/doc/guix.texi:30421
  45296. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  45297. msgstr ""
  45298. #. type: deftypevr
  45299. #: guix-git/doc/guix.texi:30423
  45300. msgid "Defaults to @samp{\"16509\"}."
  45301. msgstr ""
  45302. #. type: deftypevr
  45303. #: guix-git/doc/guix.texi:30426
  45304. #, no-wrap
  45305. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  45306. msgstr ""
  45307. #. type: deftypevr
  45308. #: guix-git/doc/guix.texi:30428
  45309. msgid "IP address or hostname used for client connections."
  45310. msgstr ""
  45311. #. type: deftypevr
  45312. #: guix-git/doc/guix.texi:30433
  45313. #, no-wrap
  45314. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  45315. msgstr ""
  45316. #. type: deftypevr
  45317. #: guix-git/doc/guix.texi:30435
  45318. msgid "Flag toggling mDNS advertisement of the libvirt service."
  45319. msgstr ""
  45320. #. type: deftypevr
  45321. #: guix-git/doc/guix.texi:30438
  45322. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  45323. msgstr ""
  45324. #. type: deftypevr
  45325. #: guix-git/doc/guix.texi:30443
  45326. #, no-wrap
  45327. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  45328. msgstr ""
  45329. #. type: deftypevr
  45330. #: guix-git/doc/guix.texi:30446
  45331. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  45332. msgstr ""
  45333. #. type: deftypevr
  45334. #: guix-git/doc/guix.texi:30448
  45335. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  45336. msgstr ""
  45337. #. type: deftypevr
  45338. #: guix-git/doc/guix.texi:30451
  45339. #, no-wrap
  45340. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  45341. msgstr ""
  45342. #. type: deftypevr
  45343. #: guix-git/doc/guix.texi:30455
  45344. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  45345. msgstr ""
  45346. #. type: deftypevr
  45347. #: guix-git/doc/guix.texi:30460
  45348. #, no-wrap
  45349. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  45350. msgstr ""
  45351. #. type: deftypevr
  45352. #: guix-git/doc/guix.texi:30463
  45353. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  45354. msgstr ""
  45355. #. type: deftypevr
  45356. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30483
  45357. msgid "Defaults to @samp{\"0777\"}."
  45358. msgstr ""
  45359. #. type: deftypevr
  45360. #: guix-git/doc/guix.texi:30468
  45361. #, no-wrap
  45362. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  45363. msgstr ""
  45364. #. type: deftypevr
  45365. #: guix-git/doc/guix.texi:30472
  45366. 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)"
  45367. msgstr ""
  45368. #. type: deftypevr
  45369. #: guix-git/doc/guix.texi:30474
  45370. msgid "Defaults to @samp{\"0770\"}."
  45371. msgstr ""
  45372. #. type: deftypevr
  45373. #: guix-git/doc/guix.texi:30477
  45374. #, no-wrap
  45375. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  45376. msgstr ""
  45377. #. type: deftypevr
  45378. #: guix-git/doc/guix.texi:30481
  45379. 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."
  45380. msgstr ""
  45381. #. type: deftypevr
  45382. #: guix-git/doc/guix.texi:30486
  45383. #, no-wrap
  45384. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  45385. msgstr ""
  45386. #. type: deftypevr
  45387. #: guix-git/doc/guix.texi:30488
  45388. msgid "The directory in which sockets will be found/created."
  45389. msgstr ""
  45390. #. type: deftypevr
  45391. #: guix-git/doc/guix.texi:30490
  45392. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  45393. msgstr ""
  45394. #. type: deftypevr
  45395. #: guix-git/doc/guix.texi:30493
  45396. #, no-wrap
  45397. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  45398. msgstr ""
  45399. #. type: deftypevr
  45400. #: guix-git/doc/guix.texi:30496
  45401. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  45402. msgstr ""
  45403. #. type: deftypevr
  45404. #: guix-git/doc/guix.texi:30498 guix-git/doc/guix.texi:30507
  45405. msgid "Defaults to @samp{\"polkit\"}."
  45406. msgstr ""
  45407. #. type: deftypevr
  45408. #: guix-git/doc/guix.texi:30501
  45409. #, no-wrap
  45410. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  45411. msgstr ""
  45412. #. type: deftypevr
  45413. #: guix-git/doc/guix.texi:30505
  45414. 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."
  45415. msgstr ""
  45416. #. type: deftypevr
  45417. #: guix-git/doc/guix.texi:30510
  45418. #, no-wrap
  45419. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  45420. msgstr ""
  45421. #. type: deftypevr
  45422. #: guix-git/doc/guix.texi:30514
  45423. 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."
  45424. msgstr ""
  45425. #. type: deftypevr
  45426. #: guix-git/doc/guix.texi:30516
  45427. msgid "Defaults to @samp{\"sasl\"}."
  45428. msgstr ""
  45429. #. type: deftypevr
  45430. #: guix-git/doc/guix.texi:30519
  45431. #, no-wrap
  45432. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  45433. msgstr ""
  45434. #. type: deftypevr
  45435. #: guix-git/doc/guix.texi:30523
  45436. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  45437. msgstr ""
  45438. #. type: deftypevr
  45439. #: guix-git/doc/guix.texi:30526
  45440. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  45441. msgstr ""
  45442. #. type: deftypevr
  45443. #: guix-git/doc/guix.texi:30528
  45444. msgid "Defaults to @samp{\"none\"}."
  45445. msgstr ""
  45446. #. type: deftypevr
  45447. #: guix-git/doc/guix.texi:30531
  45448. #, no-wrap
  45449. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  45450. msgstr ""
  45451. #. type: deftypevr
  45452. #: guix-git/doc/guix.texi:30533
  45453. msgid "API access control scheme."
  45454. msgstr ""
  45455. #. type: deftypevr
  45456. #: guix-git/doc/guix.texi:30536
  45457. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  45458. msgstr ""
  45459. #. type: deftypevr
  45460. #: guix-git/doc/guix.texi:30541
  45461. #, no-wrap
  45462. msgid "{@code{libvirt-configuration} parameter} string key-file"
  45463. msgstr ""
  45464. #. type: deftypevr
  45465. #: guix-git/doc/guix.texi:30544
  45466. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  45467. msgstr ""
  45468. #. type: deftypevr
  45469. #: guix-git/doc/guix.texi:30549
  45470. #, no-wrap
  45471. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  45472. msgstr ""
  45473. #. type: deftypevr
  45474. #: guix-git/doc/guix.texi:30552
  45475. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  45476. msgstr ""
  45477. #. type: deftypevr
  45478. #: guix-git/doc/guix.texi:30557
  45479. #, no-wrap
  45480. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  45481. msgstr ""
  45482. #. type: deftypevr
  45483. #: guix-git/doc/guix.texi:30560
  45484. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  45485. msgstr ""
  45486. #. type: deftypevr
  45487. #: guix-git/doc/guix.texi:30565
  45488. #, no-wrap
  45489. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  45490. msgstr ""
  45491. #. type: deftypevr
  45492. #: guix-git/doc/guix.texi:30568
  45493. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  45494. msgstr ""
  45495. #. type: deftypevr
  45496. #: guix-git/doc/guix.texi:30573
  45497. #, no-wrap
  45498. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  45499. msgstr ""
  45500. #. type: deftypevr
  45501. #: guix-git/doc/guix.texi:30575
  45502. msgid "Disable verification of our own server certificates."
  45503. msgstr ""
  45504. #. type: deftypevr
  45505. #: guix-git/doc/guix.texi:30578
  45506. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  45507. msgstr ""
  45508. #. type: deftypevr
  45509. #: guix-git/doc/guix.texi:30583
  45510. #, no-wrap
  45511. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  45512. msgstr ""
  45513. #. type: deftypevr
  45514. #: guix-git/doc/guix.texi:30585
  45515. msgid "Disable verification of client certificates."
  45516. msgstr ""
  45517. #. type: deftypevr
  45518. #: guix-git/doc/guix.texi:30589
  45519. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  45520. msgstr ""
  45521. #. type: deftypevr
  45522. #: guix-git/doc/guix.texi:30594
  45523. #, no-wrap
  45524. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  45525. msgstr ""
  45526. #. type: deftypevr
  45527. #: guix-git/doc/guix.texi:30596
  45528. msgid "Whitelist of allowed x509 Distinguished Name."
  45529. msgstr ""
  45530. #. type: deftypevr
  45531. #: guix-git/doc/guix.texi:30601
  45532. #, no-wrap
  45533. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  45534. msgstr ""
  45535. #. type: deftypevr
  45536. #: guix-git/doc/guix.texi:30604
  45537. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  45538. msgstr ""
  45539. #. type: deftypevr
  45540. #: guix-git/doc/guix.texi:30609
  45541. #, no-wrap
  45542. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  45543. msgstr ""
  45544. #. type: deftypevr
  45545. #: guix-git/doc/guix.texi:30613
  45546. 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."
  45547. msgstr ""
  45548. #. type: deftypevr
  45549. #: guix-git/doc/guix.texi:30615
  45550. msgid "Defaults to @samp{\"NORMAL\"}."
  45551. msgstr ""
  45552. #. type: deftypevr
  45553. #: guix-git/doc/guix.texi:30618
  45554. #, no-wrap
  45555. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  45556. msgstr ""
  45557. #. type: deftypevr
  45558. #: guix-git/doc/guix.texi:30621 guix-git/doc/guix.texi:31049
  45559. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  45560. msgstr ""
  45561. #. type: deftypevr
  45562. #: guix-git/doc/guix.texi:30623
  45563. msgid "Defaults to @samp{5000}."
  45564. msgstr ""
  45565. #. type: deftypevr
  45566. #: guix-git/doc/guix.texi:30626
  45567. #, no-wrap
  45568. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  45569. msgstr ""
  45570. #. type: deftypevr
  45571. #: guix-git/doc/guix.texi:30630
  45572. 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."
  45573. msgstr ""
  45574. #. type: deftypevr
  45575. #: guix-git/doc/guix.texi:30635
  45576. #, no-wrap
  45577. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  45578. msgstr ""
  45579. #. type: deftypevr
  45580. #: guix-git/doc/guix.texi:30638
  45581. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  45582. msgstr ""
  45583. #. type: deftypevr
  45584. #: guix-git/doc/guix.texi:30640 guix-git/doc/guix.texi:30658
  45585. #: guix-git/doc/guix.texi:30674
  45586. msgid "Defaults to @samp{20}."
  45587. msgstr ""
  45588. #. type: deftypevr
  45589. #: guix-git/doc/guix.texi:30643
  45590. #, no-wrap
  45591. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  45592. msgstr ""
  45593. #. type: deftypevr
  45594. #: guix-git/doc/guix.texi:30645
  45595. msgid "Number of workers to start up initially."
  45596. msgstr ""
  45597. #. type: deftypevr
  45598. #: guix-git/doc/guix.texi:30650
  45599. #, no-wrap
  45600. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  45601. msgstr ""
  45602. #. type: deftypevr
  45603. #: guix-git/doc/guix.texi:30652
  45604. msgid "Maximum number of worker threads."
  45605. msgstr ""
  45606. #. type: deftypevr
  45607. #: guix-git/doc/guix.texi:30656
  45608. 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."
  45609. msgstr ""
  45610. #. type: deftypevr
  45611. #: guix-git/doc/guix.texi:30661
  45612. #, no-wrap
  45613. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  45614. msgstr ""
  45615. #. type: deftypevr
  45616. #: guix-git/doc/guix.texi:30665
  45617. 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."
  45618. msgstr ""
  45619. #. type: deftypevr
  45620. #: guix-git/doc/guix.texi:30670
  45621. #, no-wrap
  45622. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  45623. msgstr ""
  45624. #. type: deftypevr
  45625. #: guix-git/doc/guix.texi:30672
  45626. msgid "Total global limit on concurrent RPC calls."
  45627. msgstr ""
  45628. #. type: deftypevr
  45629. #: guix-git/doc/guix.texi:30677
  45630. #, no-wrap
  45631. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  45632. msgstr ""
  45633. #. type: deftypevr
  45634. #: guix-git/doc/guix.texi:30681
  45635. 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."
  45636. msgstr ""
  45637. #. type: deftypevr
  45638. #: guix-git/doc/guix.texi:30686
  45639. #, no-wrap
  45640. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  45641. msgstr ""
  45642. #. type: deftypevr
  45643. #: guix-git/doc/guix.texi:30688
  45644. msgid "Same as @code{min-workers} but for the admin interface."
  45645. msgstr ""
  45646. #. type: deftypevr
  45647. #: guix-git/doc/guix.texi:30693
  45648. #, no-wrap
  45649. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  45650. msgstr ""
  45651. #. type: deftypevr
  45652. #: guix-git/doc/guix.texi:30695
  45653. msgid "Same as @code{max-workers} but for the admin interface."
  45654. msgstr ""
  45655. #. type: deftypevr
  45656. #: guix-git/doc/guix.texi:30700
  45657. #, no-wrap
  45658. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  45659. msgstr ""
  45660. #. type: deftypevr
  45661. #: guix-git/doc/guix.texi:30702
  45662. msgid "Same as @code{max-clients} but for the admin interface."
  45663. msgstr ""
  45664. #. type: deftypevr
  45665. #: guix-git/doc/guix.texi:30707
  45666. #, no-wrap
  45667. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  45668. msgstr ""
  45669. #. type: deftypevr
  45670. #: guix-git/doc/guix.texi:30709
  45671. msgid "Same as @code{max-queued-clients} but for the admin interface."
  45672. msgstr ""
  45673. #. type: deftypevr
  45674. #: guix-git/doc/guix.texi:30714
  45675. #, no-wrap
  45676. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  45677. msgstr ""
  45678. #. type: deftypevr
  45679. #: guix-git/doc/guix.texi:30716
  45680. msgid "Same as @code{max-client-requests} but for the admin interface."
  45681. msgstr ""
  45682. #. type: deftypevr
  45683. #: guix-git/doc/guix.texi:30721
  45684. #, no-wrap
  45685. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  45686. msgstr ""
  45687. #. type: deftypevr
  45688. #: guix-git/doc/guix.texi:30723 guix-git/doc/guix.texi:30951
  45689. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  45690. msgstr ""
  45691. #. type: deftypevr
  45692. #: guix-git/doc/guix.texi:30728
  45693. #, no-wrap
  45694. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  45695. msgstr ""
  45696. #. type: deftypevr
  45697. #: guix-git/doc/guix.texi:30730 guix-git/doc/guix.texi:30958
  45698. msgid "Logging filters."
  45699. msgstr ""
  45700. #. type: deftypevr
  45701. #: guix-git/doc/guix.texi:30733
  45702. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  45703. msgstr ""
  45704. #. type: itemize
  45705. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30965
  45706. msgid "x:name"
  45707. msgstr ""
  45708. #. type: itemize
  45709. #: guix-git/doc/guix.texi:30740 guix-git/doc/guix.texi:30968
  45710. msgid "x:+name"
  45711. msgstr ""
  45712. #. type: deftypevr
  45713. #: guix-git/doc/guix.texi:30751
  45714. 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:"
  45715. msgstr ""
  45716. #. type: itemize
  45717. #: guix-git/doc/guix.texi:30755 guix-git/doc/guix.texi:30800
  45718. #: guix-git/doc/guix.texi:30982 guix-git/doc/guix.texi:31027
  45719. msgid "1: DEBUG"
  45720. msgstr ""
  45721. #. type: itemize
  45722. #: guix-git/doc/guix.texi:30758 guix-git/doc/guix.texi:30803
  45723. #: guix-git/doc/guix.texi:30985 guix-git/doc/guix.texi:31030
  45724. msgid "2: INFO"
  45725. msgstr ""
  45726. #. type: itemize
  45727. #: guix-git/doc/guix.texi:30761 guix-git/doc/guix.texi:30806
  45728. #: guix-git/doc/guix.texi:30988 guix-git/doc/guix.texi:31033
  45729. msgid "3: WARNING"
  45730. msgstr ""
  45731. #. type: itemize
  45732. #: guix-git/doc/guix.texi:30764 guix-git/doc/guix.texi:30809
  45733. #: guix-git/doc/guix.texi:30991 guix-git/doc/guix.texi:31036
  45734. msgid "4: ERROR"
  45735. msgstr ""
  45736. #. type: deftypevr
  45737. #: guix-git/doc/guix.texi:30769 guix-git/doc/guix.texi:30996
  45738. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  45739. msgstr ""
  45740. #. type: deftypevr
  45741. #: guix-git/doc/guix.texi:30771 guix-git/doc/guix.texi:30998
  45742. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  45743. msgstr ""
  45744. #. type: deftypevr
  45745. #: guix-git/doc/guix.texi:30774
  45746. #, no-wrap
  45747. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  45748. msgstr ""
  45749. #. type: deftypevr
  45750. #: guix-git/doc/guix.texi:30776 guix-git/doc/guix.texi:31003
  45751. msgid "Logging outputs."
  45752. msgstr ""
  45753. #. type: deftypevr
  45754. #: guix-git/doc/guix.texi:30779
  45755. msgid "An output is one of the places to save logging information. The format for an output can be:"
  45756. msgstr ""
  45757. #. type: item
  45758. #: guix-git/doc/guix.texi:30781 guix-git/doc/guix.texi:31008
  45759. #, no-wrap
  45760. msgid "x:stderr"
  45761. msgstr ""
  45762. #. type: table
  45763. #: guix-git/doc/guix.texi:30783 guix-git/doc/guix.texi:31010
  45764. msgid "output goes to stderr"
  45765. msgstr ""
  45766. #. type: item
  45767. #: guix-git/doc/guix.texi:30784 guix-git/doc/guix.texi:31011
  45768. #, no-wrap
  45769. msgid "x:syslog:name"
  45770. msgstr ""
  45771. #. type: table
  45772. #: guix-git/doc/guix.texi:30786 guix-git/doc/guix.texi:31013
  45773. msgid "use syslog for the output and use the given name as the ident"
  45774. msgstr ""
  45775. #. type: item
  45776. #: guix-git/doc/guix.texi:30787 guix-git/doc/guix.texi:31014
  45777. #, no-wrap
  45778. msgid "x:file:file_path"
  45779. msgstr ""
  45780. #. type: table
  45781. #: guix-git/doc/guix.texi:30789 guix-git/doc/guix.texi:31016
  45782. msgid "output to a file, with the given filepath"
  45783. msgstr ""
  45784. #. type: item
  45785. #: guix-git/doc/guix.texi:30790 guix-git/doc/guix.texi:31017
  45786. #, no-wrap
  45787. msgid "x:journald"
  45788. msgstr ""
  45789. #. type: table
  45790. #: guix-git/doc/guix.texi:30792 guix-git/doc/guix.texi:31019
  45791. msgid "output to journald logging system"
  45792. msgstr ""
  45793. #. type: deftypevr
  45794. #: guix-git/doc/guix.texi:30796 guix-git/doc/guix.texi:31023
  45795. msgid "In all case the x prefix is the minimal level, acting as a filter"
  45796. msgstr ""
  45797. #. type: deftypevr
  45798. #: guix-git/doc/guix.texi:30814 guix-git/doc/guix.texi:31041
  45799. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  45800. msgstr ""
  45801. #. type: deftypevr
  45802. #: guix-git/doc/guix.texi:30816 guix-git/doc/guix.texi:31043
  45803. msgid "Defaults to @samp{\"3:stderr\"}."
  45804. msgstr ""
  45805. #. type: deftypevr
  45806. #: guix-git/doc/guix.texi:30819
  45807. #, no-wrap
  45808. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  45809. msgstr ""
  45810. #. type: deftypevr
  45811. #: guix-git/doc/guix.texi:30821
  45812. msgid "Allows usage of the auditing subsystem to be altered"
  45813. msgstr ""
  45814. #. type: itemize
  45815. #: guix-git/doc/guix.texi:30825
  45816. msgid "0: disable all auditing"
  45817. msgstr ""
  45818. #. type: itemize
  45819. #: guix-git/doc/guix.texi:30828
  45820. msgid "1: enable auditing, only if enabled on host"
  45821. msgstr ""
  45822. #. type: itemize
  45823. #: guix-git/doc/guix.texi:30831
  45824. msgid "2: enable auditing, and exit if disabled on host."
  45825. msgstr ""
  45826. #. type: deftypevr
  45827. #: guix-git/doc/guix.texi:30838
  45828. #, no-wrap
  45829. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  45830. msgstr ""
  45831. #. type: deftypevr
  45832. #: guix-git/doc/guix.texi:30840
  45833. msgid "Send audit messages via libvirt logging infrastructure."
  45834. msgstr ""
  45835. #. type: deftypevr
  45836. #: guix-git/doc/guix.texi:30845
  45837. #, no-wrap
  45838. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  45839. msgstr ""
  45840. #. type: deftypevr
  45841. #: guix-git/doc/guix.texi:30847
  45842. msgid "Host UUID@. UUID must not have all digits be the same."
  45843. msgstr ""
  45844. #. type: deftypevr
  45845. #: guix-git/doc/guix.texi:30852
  45846. #, no-wrap
  45847. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  45848. msgstr ""
  45849. #. type: deftypevr
  45850. #: guix-git/doc/guix.texi:30854
  45851. msgid "Source to read host UUID."
  45852. msgstr ""
  45853. #. type: itemize
  45854. #: guix-git/doc/guix.texi:30858
  45855. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  45856. msgstr ""
  45857. #. type: itemize
  45858. #: guix-git/doc/guix.texi:30861
  45859. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  45860. msgstr ""
  45861. #. type: deftypevr
  45862. #: guix-git/doc/guix.texi:30866
  45863. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  45864. msgstr ""
  45865. #. type: deftypevr
  45866. #: guix-git/doc/guix.texi:30868
  45867. msgid "Defaults to @samp{\"smbios\"}."
  45868. msgstr ""
  45869. #. type: deftypevr
  45870. #: guix-git/doc/guix.texi:30871
  45871. #, no-wrap
  45872. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  45873. msgstr ""
  45874. #. type: deftypevr
  45875. #: guix-git/doc/guix.texi:30876
  45876. 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."
  45877. msgstr ""
  45878. #. type: deftypevr
  45879. #: guix-git/doc/guix.texi:30881
  45880. #, no-wrap
  45881. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  45882. msgstr ""
  45883. #. type: deftypevr
  45884. #: guix-git/doc/guix.texi:30885
  45885. 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."
  45886. msgstr ""
  45887. #. type: deftypevr
  45888. #: guix-git/doc/guix.texi:30892
  45889. 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."
  45890. msgstr ""
  45891. #. type: deftypevr
  45892. #: guix-git/doc/guix.texi:30897
  45893. #, no-wrap
  45894. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  45895. msgstr ""
  45896. #. type: deftypevr
  45897. #: guix-git/doc/guix.texi:30899 guix-git/doc/guix.texi:30906
  45898. msgid "Same as above but for admin interface."
  45899. msgstr ""
  45900. #. type: deftypevr
  45901. #: guix-git/doc/guix.texi:30904
  45902. #, no-wrap
  45903. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  45904. msgstr ""
  45905. #. type: deftypevr
  45906. #: guix-git/doc/guix.texi:30911
  45907. #, no-wrap
  45908. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  45909. msgstr ""
  45910. #. type: deftypevr
  45911. #: guix-git/doc/guix.texi:30913
  45912. msgid "Timeout for Open vSwitch calls."
  45913. msgstr ""
  45914. #. type: deftypevr
  45915. #: guix-git/doc/guix.texi:30917
  45916. 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."
  45917. msgstr ""
  45918. #. type: subsubheading
  45919. #: guix-git/doc/guix.texi:30924
  45920. #, no-wrap
  45921. msgid "Virtlog daemon"
  45922. msgstr ""
  45923. #. type: Plain text
  45924. #: guix-git/doc/guix.texi:30927
  45925. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  45926. msgstr ""
  45927. #. type: Plain text
  45928. #: guix-git/doc/guix.texi:30933
  45929. 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."
  45930. msgstr ""
  45931. #. type: deffn
  45932. #: guix-git/doc/guix.texi:30934
  45933. #, no-wrap
  45934. msgid "{Scheme Variable} virtlog-service-type"
  45935. msgstr ""
  45936. #. type: deffn
  45937. #: guix-git/doc/guix.texi:30937
  45938. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  45939. msgstr ""
  45940. #. type: lisp
  45941. #: guix-git/doc/guix.texi:30942
  45942. #, no-wrap
  45943. msgid ""
  45944. "(service virtlog-service-type\n"
  45945. " (virtlog-configuration\n"
  45946. " (max-clients 1000)))\n"
  45947. msgstr ""
  45948. #. type: deftypevar
  45949. #: guix-git/doc/guix.texi:30945
  45950. #, no-wrap
  45951. msgid "{@code{libvirt} parameter} package libvirt"
  45952. msgstr ""
  45953. #. type: deftypevr
  45954. #: guix-git/doc/guix.texi:30949
  45955. #, no-wrap
  45956. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  45957. msgstr ""
  45958. #. type: deftypevr
  45959. #: guix-git/doc/guix.texi:30956
  45960. #, no-wrap
  45961. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  45962. msgstr ""
  45963. #. type: deftypevr
  45964. #: guix-git/doc/guix.texi:30961
  45965. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  45966. msgstr ""
  45967. #. type: deftypevr
  45968. #: guix-git/doc/guix.texi:30978
  45969. 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:"
  45970. msgstr ""
  45971. #. type: deftypevr
  45972. #: guix-git/doc/guix.texi:31001
  45973. #, no-wrap
  45974. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  45975. msgstr ""
  45976. #. type: deftypevr
  45977. #: guix-git/doc/guix.texi:31006
  45978. msgid "An output is one of the places to save logging information The format for an output can be:"
  45979. msgstr ""
  45980. #. type: deftypevr
  45981. #: guix-git/doc/guix.texi:31046
  45982. #, no-wrap
  45983. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  45984. msgstr ""
  45985. #. type: deftypevr
  45986. #: guix-git/doc/guix.texi:31051
  45987. msgid "Defaults to @samp{1024}."
  45988. msgstr ""
  45989. #. type: deftypevr
  45990. #: guix-git/doc/guix.texi:31054
  45991. #, no-wrap
  45992. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  45993. msgstr ""
  45994. #. type: deftypevr
  45995. #: guix-git/doc/guix.texi:31056
  45996. msgid "Maximum file size before rolling over."
  45997. msgstr ""
  45998. #. type: deftypevr
  45999. #: guix-git/doc/guix.texi:31058
  46000. msgid "Defaults to @samp{2MB}"
  46001. msgstr ""
  46002. #. type: deftypevr
  46003. #: guix-git/doc/guix.texi:31061
  46004. #, no-wrap
  46005. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  46006. msgstr ""
  46007. #. type: deftypevr
  46008. #: guix-git/doc/guix.texi:31063
  46009. msgid "Maximum number of backup files to keep."
  46010. msgstr ""
  46011. #. type: deftypevr
  46012. #: guix-git/doc/guix.texi:31065
  46013. msgid "Defaults to @samp{3}"
  46014. msgstr ""
  46015. #. type: anchor{#1}
  46016. #: guix-git/doc/guix.texi:31069
  46017. msgid "transparent-emulation-qemu"
  46018. msgstr ""
  46019. #. type: subsubheading
  46020. #: guix-git/doc/guix.texi:31069
  46021. #, no-wrap
  46022. msgid "Transparent Emulation with QEMU"
  46023. msgstr ""
  46024. #. type: cindex
  46025. #: guix-git/doc/guix.texi:31071 guix-git/doc/guix.texi:31151
  46026. #, no-wrap
  46027. msgid "emulation"
  46028. msgstr ""
  46029. #. type: code{#1}
  46030. #: guix-git/doc/guix.texi:31072
  46031. #, no-wrap
  46032. msgid "binfmt_misc"
  46033. msgstr ""
  46034. #. type: Plain text
  46035. #: guix-git/doc/guix.texi:31080
  46036. 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."
  46037. msgstr ""
  46038. #. type: defvr
  46039. #: guix-git/doc/guix.texi:31081
  46040. #, no-wrap
  46041. msgid "{Scheme Variable} qemu-binfmt-service-type"
  46042. msgstr ""
  46043. #. type: defvr
  46044. #: guix-git/doc/guix.texi:31086
  46045. 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:"
  46046. msgstr ""
  46047. #. type: lisp
  46048. #: guix-git/doc/guix.texi:31091
  46049. #, no-wrap
  46050. msgid ""
  46051. "(service qemu-binfmt-service-type\n"
  46052. " (qemu-binfmt-configuration\n"
  46053. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  46054. msgstr ""
  46055. #. type: defvr
  46056. #: guix-git/doc/guix.texi:31097
  46057. 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})."
  46058. msgstr ""
  46059. #. type: deftp
  46060. #: guix-git/doc/guix.texi:31099
  46061. #, no-wrap
  46062. msgid "{Data Type} qemu-binfmt-configuration"
  46063. msgstr ""
  46064. #. type: deftp
  46065. #: guix-git/doc/guix.texi:31101
  46066. msgid "This is the configuration for the @code{qemu-binfmt} service."
  46067. msgstr ""
  46068. #. type: item
  46069. #: guix-git/doc/guix.texi:31103
  46070. #, no-wrap
  46071. msgid "@code{platforms} (default: @code{'()})"
  46072. msgstr ""
  46073. #. type: table
  46074. #: guix-git/doc/guix.texi:31106
  46075. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  46076. msgstr ""
  46077. #. type: table
  46078. #: guix-git/doc/guix.texi:31109
  46079. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  46080. msgstr ""
  46081. #. type: lisp
  46082. #: guix-git/doc/guix.texi:31114
  46083. #, no-wrap
  46084. msgid ""
  46085. "(service qemu-binfmt-service-type\n"
  46086. " (qemu-binfmt-configuration\n"
  46087. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  46088. msgstr ""
  46089. #. type: table
  46090. #: guix-git/doc/guix.texi:31117
  46091. msgid "You can run:"
  46092. msgstr ""
  46093. #. type: example
  46094. #: guix-git/doc/guix.texi:31120
  46095. #, no-wrap
  46096. msgid "guix build -s armhf-linux inkscape\n"
  46097. msgstr ""
  46098. #. type: table
  46099. #: guix-git/doc/guix.texi:31127
  46100. 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!"
  46101. msgstr ""
  46102. #. type: item
  46103. #: guix-git/doc/guix.texi:31128
  46104. #, no-wrap
  46105. msgid "@code{qemu} (default: @code{qemu})"
  46106. msgstr ""
  46107. #. type: table
  46108. #: guix-git/doc/guix.texi:31130 guix-git/doc/guix.texi:31188
  46109. #: guix-git/doc/guix.texi:31270
  46110. msgid "The QEMU package to use."
  46111. msgstr ""
  46112. #. type: deffn
  46113. #: guix-git/doc/guix.texi:31133
  46114. #, no-wrap
  46115. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  46116. msgstr ""
  46117. #. type: deffn
  46118. #: guix-git/doc/guix.texi:31138
  46119. 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."
  46120. msgstr ""
  46121. #. type: deffn
  46122. #: guix-git/doc/guix.texi:31140
  46123. #, no-wrap
  46124. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  46125. msgstr ""
  46126. #. type: deffn
  46127. #: guix-git/doc/guix.texi:31142
  46128. msgid "Return true if @var{obj} is a platform object."
  46129. msgstr ""
  46130. #. type: deffn
  46131. #: guix-git/doc/guix.texi:31144
  46132. #, no-wrap
  46133. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  46134. msgstr ""
  46135. #. type: deffn
  46136. #: guix-git/doc/guix.texi:31146
  46137. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  46138. msgstr ""
  46139. #. type: subsubheading
  46140. #: guix-git/doc/guix.texi:31149
  46141. #, no-wrap
  46142. msgid "QEMU Guest Agent"
  46143. msgstr ""
  46144. #. type: Plain text
  46145. #: guix-git/doc/guix.texi:31157
  46146. msgid "The QEMU guest agent provides control over the emulated system to the host. The @code{qemu-guest-agent} service runs the agent on Guix guests. To control the agent from the host, open a socket by invoking QEMU with the following arguments:"
  46147. msgstr ""
  46148. #. type: example
  46149. #: guix-git/doc/guix.texi:31164
  46150. #, no-wrap
  46151. msgid ""
  46152. "qemu-system-x86_64 \\\n"
  46153. "\t-chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \\\n"
  46154. "\t-device virtio-serial \\\n"
  46155. "\t-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 \\\n"
  46156. "\t...\n"
  46157. msgstr ""
  46158. #. type: Plain text
  46159. #: guix-git/doc/guix.texi:31168
  46160. msgid "This creates a socket at @file{/tmp/qga.sock} on the host. Once the guest agent is running, you can issue commands with @code{socat}:"
  46161. msgstr ""
  46162. #. type: example
  46163. #: guix-git/doc/guix.texi:31173
  46164. #, no-wrap
  46165. msgid ""
  46166. "$ guix shell socat -- socat unix-connect:/tmp/qga.sock stdio\n"
  46167. "@{\"execute\": \"guest-get-host-name\"@}\n"
  46168. "@{\"return\": @{\"host-name\": \"guix\"@}@}\n"
  46169. msgstr ""
  46170. #. type: Plain text
  46171. #: guix-git/doc/guix.texi:31177
  46172. msgid "See @url{https://wiki.qemu.org/Features/GuestAgent,QEMU guest agent documentation} for more options and commands."
  46173. msgstr ""
  46174. #. type: defvr
  46175. #: guix-git/doc/guix.texi:31178
  46176. #, no-wrap
  46177. msgid "{Scheme Variable} qemu-guest-agent-service-type"
  46178. msgstr ""
  46179. #. type: defvr
  46180. #: guix-git/doc/guix.texi:31180
  46181. msgid "Service type for the QEMU guest agent service."
  46182. msgstr ""
  46183. #. type: deftp
  46184. #: guix-git/doc/guix.texi:31182
  46185. #, no-wrap
  46186. msgid "{Data Type} qemu-guest-agent-configuration"
  46187. msgstr ""
  46188. #. type: deftp
  46189. #: guix-git/doc/guix.texi:31184
  46190. msgid "Configuration for the @code{qemu-guest-agent} service."
  46191. msgstr ""
  46192. #. type: item
  46193. #: guix-git/doc/guix.texi:31186 guix-git/doc/guix.texi:31268
  46194. #, no-wrap
  46195. msgid "@code{qemu} (default: @code{qemu-minimal})"
  46196. msgstr ""
  46197. #. type: item
  46198. #: guix-git/doc/guix.texi:31189
  46199. #, no-wrap
  46200. msgid "@code{device} (default: @code{\"\"})"
  46201. msgstr ""
  46202. #. type: table
  46203. #: guix-git/doc/guix.texi:31192
  46204. msgid "File name of the device or socket the agent uses to communicate with the host. If empty, QEMU uses a default file name."
  46205. msgstr ""
  46206. #. type: subsubheading
  46207. #: guix-git/doc/guix.texi:31196
  46208. #, no-wrap
  46209. msgid "The Hurd in a Virtual Machine"
  46210. msgstr ""
  46211. #. type: cindex
  46212. #: guix-git/doc/guix.texi:31199
  46213. #, no-wrap
  46214. msgid "the Hurd"
  46215. msgstr ""
  46216. #. type: cindex
  46217. #: guix-git/doc/guix.texi:31200
  46218. #, no-wrap
  46219. msgid "childhurd"
  46220. msgstr ""
  46221. #. type: Plain text
  46222. #: guix-git/doc/guix.texi:31208
  46223. 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:"
  46224. msgstr ""
  46225. #. type: example
  46226. #: guix-git/doc/guix.texi:31212
  46227. #, no-wrap
  46228. msgid ""
  46229. "herd start hurd-vm\n"
  46230. "herd stop childhurd\n"
  46231. msgstr ""
  46232. #. type: Plain text
  46233. #: guix-git/doc/guix.texi:31216
  46234. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  46235. msgstr ""
  46236. #. type: example
  46237. #: guix-git/doc/guix.texi:31219
  46238. #, no-wrap
  46239. msgid "guix shell tigervnc-client -- vncviewer localhost:5900\n"
  46240. msgstr ""
  46241. #. type: Plain text
  46242. #: guix-git/doc/guix.texi:31225
  46243. 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:"
  46244. msgstr ""
  46245. #. type: example
  46246. #: guix-git/doc/guix.texi:31228
  46247. #, no-wrap
  46248. msgid "ssh root@@localhost -p 10022\n"
  46249. msgstr ""
  46250. #. type: Plain text
  46251. #: guix-git/doc/guix.texi:31237
  46252. 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."
  46253. msgstr ""
  46254. #. type: defvr
  46255. #: guix-git/doc/guix.texi:31238
  46256. #, no-wrap
  46257. msgid "{Scheme Variable} hurd-vm-service-type"
  46258. msgstr ""
  46259. #. type: defvr
  46260. #: guix-git/doc/guix.texi:31244
  46261. 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."
  46262. msgstr ""
  46263. #. type: defvr
  46264. #: guix-git/doc/guix.texi:31246
  46265. msgid "For example:"
  46266. msgstr ""
  46267. #. type: lisp
  46268. #: guix-git/doc/guix.texi:31252
  46269. #, no-wrap
  46270. msgid ""
  46271. "(service hurd-vm-service-type\n"
  46272. " (hurd-vm-configuration\n"
  46273. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  46274. " (memory-size 1024))) ;1024MiB\n"
  46275. msgstr ""
  46276. #. type: defvr
  46277. #: guix-git/doc/guix.texi:31256
  46278. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  46279. msgstr ""
  46280. #. type: deftp
  46281. #: guix-git/doc/guix.texi:31258
  46282. #, no-wrap
  46283. msgid "{Data Type} hurd-vm-configuration"
  46284. msgstr ""
  46285. #. type: deftp
  46286. #: guix-git/doc/guix.texi:31261
  46287. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  46288. msgstr ""
  46289. #. type: item
  46290. #: guix-git/doc/guix.texi:31263
  46291. #, no-wrap
  46292. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  46293. msgstr ""
  46294. #. type: table
  46295. #: guix-git/doc/guix.texi:31267
  46296. 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}})."
  46297. msgstr ""
  46298. #. type: item
  46299. #: guix-git/doc/guix.texi:31271
  46300. #, no-wrap
  46301. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  46302. msgstr ""
  46303. #. type: table
  46304. #: guix-git/doc/guix.texi:31274
  46305. msgid "The procedure used to build the disk-image built from this configuration."
  46306. msgstr ""
  46307. #. type: item
  46308. #: guix-git/doc/guix.texi:31275
  46309. #, no-wrap
  46310. msgid "@code{disk-size} (default: @code{'guess})"
  46311. msgstr ""
  46312. #. type: table
  46313. #: guix-git/doc/guix.texi:31277
  46314. msgid "The size of the disk image."
  46315. msgstr ""
  46316. #. type: item
  46317. #: guix-git/doc/guix.texi:31278
  46318. #, no-wrap
  46319. msgid "@code{memory-size} (default: @code{512})"
  46320. msgstr ""
  46321. #. type: table
  46322. #: guix-git/doc/guix.texi:31280
  46323. msgid "The memory size of the Virtual Machine in mebibytes."
  46324. msgstr ""
  46325. #. type: item
  46326. #: guix-git/doc/guix.texi:31281
  46327. #, no-wrap
  46328. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  46329. msgstr ""
  46330. #. type: table
  46331. #: guix-git/doc/guix.texi:31283
  46332. msgid "The extra options for running QEMU."
  46333. msgstr ""
  46334. #. type: table
  46335. #: guix-git/doc/guix.texi:31288
  46336. 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}."
  46337. msgstr ""
  46338. #. type: item
  46339. #: guix-git/doc/guix.texi:31289
  46340. #, no-wrap
  46341. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  46342. msgstr ""
  46343. #. type: table
  46344. #: guix-git/doc/guix.texi:31291
  46345. msgid "The procedure used to produce the list of QEMU networking options."
  46346. msgstr ""
  46347. #. type: table
  46348. #: guix-git/doc/guix.texi:31293
  46349. msgid "By default, it produces"
  46350. msgstr ""
  46351. #. type: lisp
  46352. #: guix-git/doc/guix.texi:31301
  46353. #, no-wrap
  46354. msgid ""
  46355. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  46356. " \"--netdev\" (string-append\n"
  46357. " \"user,id=net0,\"\n"
  46358. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  46359. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  46360. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  46361. msgstr ""
  46362. #. type: table
  46363. #: guix-git/doc/guix.texi:31304
  46364. msgid "with forwarded ports:"
  46365. msgstr ""
  46366. #. type: example
  46367. #: guix-git/doc/guix.texi:31309
  46368. #, no-wrap
  46369. msgid ""
  46370. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  46371. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  46372. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  46373. msgstr ""
  46374. #. type: item
  46375. #: guix-git/doc/guix.texi:31311
  46376. #, no-wrap
  46377. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  46378. msgstr ""
  46379. #. type: table
  46380. #: guix-git/doc/guix.texi:31316
  46381. 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."
  46382. msgstr ""
  46383. #. type: table
  46384. #: guix-git/doc/guix.texi:31320
  46385. 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."
  46386. msgstr ""
  46387. #. type: table
  46388. #: guix-git/doc/guix.texi:31323
  46389. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  46390. msgstr ""
  46391. #. type: example
  46392. #: guix-git/doc/guix.texi:31332
  46393. #, no-wrap
  46394. msgid ""
  46395. "/etc/childhurd/etc/guix/acl\n"
  46396. "/etc/childhurd/etc/guix/signing-key.pub\n"
  46397. "/etc/childhurd/etc/guix/signing-key.sec\n"
  46398. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  46399. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  46400. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  46401. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  46402. msgstr ""
  46403. #. type: table
  46404. #: guix-git/doc/guix.texi:31336
  46405. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  46406. msgstr ""
  46407. #. type: cindex
  46408. #: guix-git/doc/guix.texi:31337
  46409. #, no-wrap
  46410. msgid "childhurd, offloading"
  46411. msgstr ""
  46412. #. type: cindex
  46413. #: guix-git/doc/guix.texi:31338
  46414. #, no-wrap
  46415. msgid "Hurd, offloading"
  46416. msgstr ""
  46417. #. type: table
  46418. #: guix-git/doc/guix.texi:31342
  46419. 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:"
  46420. msgstr ""
  46421. #. type: enumerate
  46422. #: guix-git/doc/guix.texi:31347
  46423. 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:"
  46424. msgstr ""
  46425. #. type: example
  46426. #: guix-git/doc/guix.texi:31351
  46427. #, no-wrap
  46428. msgid ""
  46429. "guix archive --authorize < \\\n"
  46430. " /etc/childhurd/etc/guix/signing-key.pub\n"
  46431. msgstr ""
  46432. #. type: enumerate
  46433. #: guix-git/doc/guix.texi:31356
  46434. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  46435. msgstr ""
  46436. #. type: table
  46437. #: guix-git/doc/guix.texi:31360
  46438. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  46439. msgstr ""
  46440. #. type: Plain text
  46441. #: guix-git/doc/guix.texi:31367
  46442. 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:"
  46443. msgstr ""
  46444. #. type: lisp
  46445. #: guix-git/doc/guix.texi:31373
  46446. #, no-wrap
  46447. msgid ""
  46448. "(service hurd-vm-service-type\n"
  46449. " (hurd-vm-configuration\n"
  46450. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  46451. " (options '())))\n"
  46452. msgstr ""
  46453. #. type: subsubheading
  46454. #: guix-git/doc/guix.texi:31375
  46455. #, no-wrap
  46456. msgid "Ganeti"
  46457. msgstr ""
  46458. #. type: cindex
  46459. #: guix-git/doc/guix.texi:31377
  46460. #, no-wrap
  46461. msgid "ganeti"
  46462. msgstr ""
  46463. #. type: quotation
  46464. #: guix-git/doc/guix.texi:31384
  46465. 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}."
  46466. msgstr ""
  46467. #. type: Plain text
  46468. #: guix-git/doc/guix.texi:31394
  46469. 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)."
  46470. msgstr ""
  46471. #. type: Plain text
  46472. #: guix-git/doc/guix.texi:31399
  46473. 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}:"
  46474. msgstr ""
  46475. #. type: lisp
  46476. #: guix-git/doc/guix.texi:31409
  46477. #, no-wrap
  46478. msgid ""
  46479. "(use-package-modules virtualization)\n"
  46480. "(use-service-modules base ganeti networking ssh)\n"
  46481. "(operating-system\n"
  46482. " ;; @dots{}\n"
  46483. " (host-name \"node1\")\n"
  46484. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  46485. "127.0.0.1 localhost\n"
  46486. "::1 localhost\n"
  46487. "\n"
  46488. msgstr ""
  46489. #. type: lisp
  46490. #: guix-git/doc/guix.texi:31414
  46491. #, no-wrap
  46492. msgid ""
  46493. "192.168.1.200 ganeti.example.com\n"
  46494. "192.168.1.201 node1.example.com node1\n"
  46495. "192.168.1.202 node2.example.com node2\n"
  46496. "\")))\n"
  46497. "\n"
  46498. msgstr ""
  46499. #. type: lisp
  46500. #: guix-git/doc/guix.texi:31435
  46501. #, no-wrap
  46502. msgid ""
  46503. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  46504. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  46505. " (packages (append (map specification->package\n"
  46506. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  46507. " ;; Add the debootstrap and guix OS providers.\n"
  46508. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  46509. " %base-packages))\n"
  46510. " (services\n"
  46511. " (append (list (service static-networking-service-type\n"
  46512. " (list (static-networking\n"
  46513. " (addresses\n"
  46514. " (list (network-address\n"
  46515. " (device \"eth0\")\n"
  46516. " (value \"192.168.1.201/24\"))))\n"
  46517. " (routes\n"
  46518. " (list (network-route\n"
  46519. " (destination \"default\")\n"
  46520. " (gateway \"192.168.1.254\"))))\n"
  46521. " (name-servers '(\"192.168.1.252\"\n"
  46522. " \"192.168.1.253\")))))\n"
  46523. "\n"
  46524. msgstr ""
  46525. #. type: lisp
  46526. #: guix-git/doc/guix.texi:31440
  46527. #, no-wrap
  46528. msgid ""
  46529. " ;; Ganeti uses SSH to communicate between nodes.\n"
  46530. " (service openssh-service-type\n"
  46531. " (openssh-configuration\n"
  46532. " (permit-root-login 'prohibit-password)))\n"
  46533. "\n"
  46534. msgstr ""
  46535. #. type: lisp
  46536. #: guix-git/doc/guix.texi:31450
  46537. #, no-wrap
  46538. msgid ""
  46539. " (service ganeti-service-type\n"
  46540. " (ganeti-configuration\n"
  46541. " ;; This list specifies allowed file system paths\n"
  46542. " ;; for storing virtual machine images.\n"
  46543. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  46544. " ;; This variable configures a single \"variant\" for\n"
  46545. " ;; both Debootstrap and Guix that works with KVM.\n"
  46546. " (os %default-ganeti-os))))\n"
  46547. " %base-services)))\n"
  46548. msgstr ""
  46549. #. type: Plain text
  46550. #: guix-git/doc/guix.texi:31458
  46551. 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."
  46552. msgstr ""
  46553. #. type: defvr
  46554. #: guix-git/doc/guix.texi:31459
  46555. #, no-wrap
  46556. msgid "{Scheme Variable} ganeti-service-type"
  46557. msgstr ""
  46558. #. type: defvr
  46559. #: guix-git/doc/guix.texi:31462
  46560. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  46561. msgstr ""
  46562. #. type: defvr
  46563. #: guix-git/doc/guix.texi:31467
  46564. 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."
  46565. msgstr ""
  46566. #. type: deftp
  46567. #: guix-git/doc/guix.texi:31469
  46568. #, no-wrap
  46569. msgid "{Data Type} ganeti-configuration"
  46570. msgstr ""
  46571. #. type: deftp
  46572. #: guix-git/doc/guix.texi:31471
  46573. msgid "The @code{ganeti} service takes the following configuration options:"
  46574. msgstr ""
  46575. #. type: item
  46576. #: guix-git/doc/guix.texi:31473 guix-git/doc/guix.texi:31701
  46577. #: guix-git/doc/guix.texi:31751 guix-git/doc/guix.texi:31781
  46578. #: guix-git/doc/guix.texi:31808 guix-git/doc/guix.texi:31840
  46579. #: guix-git/doc/guix.texi:31893 guix-git/doc/guix.texi:31913
  46580. #: guix-git/doc/guix.texi:31939 guix-git/doc/guix.texi:31972
  46581. #: guix-git/doc/guix.texi:32012
  46582. #, no-wrap
  46583. msgid "@code{ganeti} (default: @code{ganeti})"
  46584. msgstr ""
  46585. #. type: table
  46586. #: guix-git/doc/guix.texi:31478
  46587. 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)."
  46588. msgstr ""
  46589. #. type: item
  46590. #: guix-git/doc/guix.texi:31479
  46591. #, no-wrap
  46592. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  46593. msgstr ""
  46594. #. type: itemx
  46595. #: guix-git/doc/guix.texi:31480
  46596. #, no-wrap
  46597. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  46598. msgstr ""
  46599. #. type: itemx
  46600. #: guix-git/doc/guix.texi:31481
  46601. #, no-wrap
  46602. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  46603. msgstr ""
  46604. #. type: itemx
  46605. #: guix-git/doc/guix.texi:31482
  46606. #, no-wrap
  46607. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  46608. msgstr ""
  46609. #. type: itemx
  46610. #: guix-git/doc/guix.texi:31483
  46611. #, no-wrap
  46612. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  46613. msgstr ""
  46614. #. type: itemx
  46615. #: guix-git/doc/guix.texi:31484
  46616. #, no-wrap
  46617. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  46618. msgstr ""
  46619. #. type: itemx
  46620. #: guix-git/doc/guix.texi:31485
  46621. #, no-wrap
  46622. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  46623. msgstr ""
  46624. #. type: itemx
  46625. #: guix-git/doc/guix.texi:31486
  46626. #, no-wrap
  46627. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  46628. msgstr ""
  46629. #. type: itemx
  46630. #: guix-git/doc/guix.texi:31487
  46631. #, no-wrap
  46632. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  46633. msgstr ""
  46634. #. type: itemx
  46635. #: guix-git/doc/guix.texi:31488
  46636. #, no-wrap
  46637. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  46638. msgstr ""
  46639. #. type: table
  46640. #: guix-git/doc/guix.texi:31493
  46641. 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:"
  46642. msgstr ""
  46643. #. type: lisp
  46644. #: guix-git/doc/guix.texi:31503
  46645. #, no-wrap
  46646. msgid ""
  46647. "(service ganeti-service-type\n"
  46648. " (ganeti-configuration\n"
  46649. " (rapi-configuration\n"
  46650. " (ganeti-rapi-configuration\n"
  46651. " (interface \"eth1\"))))\n"
  46652. " (watcher-configuration\n"
  46653. " (ganeti-watcher-configuration\n"
  46654. " (rapi-ip \"10.0.0.1\"))))\n"
  46655. msgstr ""
  46656. #. type: item
  46657. #: guix-git/doc/guix.texi:31505
  46658. #, no-wrap
  46659. msgid "@code{file-storage-paths} (default: @code{'()})"
  46660. msgstr ""
  46661. #. type: table
  46662. #: guix-git/doc/guix.texi:31507
  46663. msgid "List of allowed directories for file storage backend."
  46664. msgstr ""
  46665. #. type: item
  46666. #: guix-git/doc/guix.texi:31508
  46667. #, no-wrap
  46668. msgid "@code{os} (default: @code{%default-ganeti-os})"
  46669. msgstr ""
  46670. #. type: table
  46671. #: guix-git/doc/guix.texi:31510
  46672. msgid "List of @code{<ganeti-os>} records."
  46673. msgstr ""
  46674. #. type: deftp
  46675. #: guix-git/doc/guix.texi:31514
  46676. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  46677. msgstr ""
  46678. #. type: lisp
  46679. #: guix-git/doc/guix.texi:31525
  46680. #, no-wrap
  46681. msgid ""
  46682. "(service ganeti-noded-service-type)\n"
  46683. "(service ganeti-confd-service-type)\n"
  46684. "(service ganeti-wconfd-service-type)\n"
  46685. "(service ganeti-luxid-service-type)\n"
  46686. "(service ganeti-kvmd-service-type)\n"
  46687. "(service ganeti-mond-service-type)\n"
  46688. "(service ganeti-metad-service-type)\n"
  46689. "(service ganeti-watcher-service-type)\n"
  46690. "(service ganeti-cleaner-service-type)\n"
  46691. msgstr ""
  46692. #. type: deftp
  46693. #: guix-git/doc/guix.texi:31529
  46694. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  46695. msgstr ""
  46696. #. type: deftp
  46697. #: guix-git/doc/guix.texi:31532
  46698. #, no-wrap
  46699. msgid "{Data Type} ganeti-os"
  46700. msgstr ""
  46701. #. type: deftp
  46702. #: guix-git/doc/guix.texi:31535
  46703. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  46704. msgstr ""
  46705. #. type: table
  46706. #: guix-git/doc/guix.texi:31541
  46707. 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}."
  46708. msgstr ""
  46709. #. type: code{#1}
  46710. #: guix-git/doc/guix.texi:31542
  46711. #, no-wrap
  46712. msgid "extension"
  46713. msgstr ""
  46714. #. type: table
  46715. #: guix-git/doc/guix.texi:31545
  46716. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  46717. msgstr ""
  46718. #. type: item
  46719. #: guix-git/doc/guix.texi:31546
  46720. #, no-wrap
  46721. msgid "@code{variants} (default: @code{'()})"
  46722. msgstr ""
  46723. #. type: table
  46724. #: guix-git/doc/guix.texi:31548
  46725. msgid "List of @code{ganeti-os-variant} objects for this OS."
  46726. msgstr ""
  46727. #. type: deftp
  46728. #: guix-git/doc/guix.texi:31552
  46729. #, no-wrap
  46730. msgid "{Data Type} ganeti-os-variant"
  46731. msgstr ""
  46732. #. type: deftp
  46733. #: guix-git/doc/guix.texi:31555
  46734. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  46735. msgstr ""
  46736. #. type: table
  46737. #: guix-git/doc/guix.texi:31559
  46738. msgid "The name of this variant."
  46739. msgstr ""
  46740. #. type: code{#1}
  46741. #: guix-git/doc/guix.texi:31560
  46742. #, no-wrap
  46743. msgid "configuration"
  46744. msgstr ""
  46745. #. type: table
  46746. #: guix-git/doc/guix.texi:31562
  46747. msgid "A configuration file for this variant."
  46748. msgstr ""
  46749. #. type: defvr
  46750. #: guix-git/doc/guix.texi:31565
  46751. #, no-wrap
  46752. msgid "{Scheme Variable} %default-debootstrap-hooks"
  46753. msgstr ""
  46754. #. type: defvr
  46755. #: guix-git/doc/guix.texi:31567
  46756. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  46757. msgstr ""
  46758. #. type: defvr
  46759. #: guix-git/doc/guix.texi:31569
  46760. #, no-wrap
  46761. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  46762. msgstr ""
  46763. #. type: defvr
  46764. #: guix-git/doc/guix.texi:31571
  46765. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  46766. msgstr ""
  46767. #. type: deftp
  46768. #: guix-git/doc/guix.texi:31573
  46769. #, no-wrap
  46770. msgid "{Data Type} debootstrap-configuration"
  46771. msgstr ""
  46772. #. type: deftp
  46773. #: guix-git/doc/guix.texi:31576
  46774. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  46775. msgstr ""
  46776. #. type: item
  46777. #: guix-git/doc/guix.texi:31578
  46778. #, no-wrap
  46779. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  46780. msgstr ""
  46781. #. type: table
  46782. #: guix-git/doc/guix.texi:31582
  46783. 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:"
  46784. msgstr ""
  46785. #. type: lisp
  46786. #: guix-git/doc/guix.texi:31585
  46787. #, no-wrap
  46788. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  46789. msgstr ""
  46790. #. type: table
  46791. #: guix-git/doc/guix.texi:31590
  46792. 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."
  46793. msgstr ""
  46794. #. type: item
  46795. #: guix-git/doc/guix.texi:31590
  46796. #, no-wrap
  46797. msgid "@code{proxy} (default: @code{#f})"
  46798. msgstr ""
  46799. #. type: table
  46800. #: guix-git/doc/guix.texi:31592
  46801. msgid "Optional HTTP proxy to use."
  46802. msgstr ""
  46803. #. type: item
  46804. #: guix-git/doc/guix.texi:31592 guix-git/doc/guix.texi:33785
  46805. #, no-wrap
  46806. msgid "@code{mirror} (default: @code{#f})"
  46807. msgstr ""
  46808. #. type: table
  46809. #: guix-git/doc/guix.texi:31595
  46810. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  46811. msgstr ""
  46812. #. type: item
  46813. #: guix-git/doc/guix.texi:31595
  46814. #, no-wrap
  46815. msgid "@code{arch} (default: @code{#f})"
  46816. msgstr ""
  46817. #. type: table
  46818. #: guix-git/doc/guix.texi:31598
  46819. 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."
  46820. msgstr ""
  46821. #. type: item
  46822. #: guix-git/doc/guix.texi:31598
  46823. #, no-wrap
  46824. msgid "@code{suite} (default: @code{\"stable\"})"
  46825. msgstr ""
  46826. #. type: table
  46827. #: guix-git/doc/guix.texi:31601
  46828. 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."
  46829. msgstr ""
  46830. #. type: item
  46831. #: guix-git/doc/guix.texi:31601
  46832. #, no-wrap
  46833. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  46834. msgstr ""
  46835. #. type: table
  46836. #: guix-git/doc/guix.texi:31604
  46837. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  46838. msgstr ""
  46839. #. type: item
  46840. #: guix-git/doc/guix.texi:31604
  46841. #, no-wrap
  46842. msgid "@code{components} (default: @code{#f})"
  46843. msgstr ""
  46844. #. type: table
  46845. #: guix-git/doc/guix.texi:31607
  46846. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  46847. msgstr ""
  46848. #. type: item
  46849. #: guix-git/doc/guix.texi:31607
  46850. #, no-wrap
  46851. msgid "@code{generate-cache?} (default: @code{#t})"
  46852. msgstr ""
  46853. #. type: table
  46854. #: guix-git/doc/guix.texi:31609
  46855. msgid "Whether to automatically cache the generated debootstrap archive."
  46856. msgstr ""
  46857. #. type: item
  46858. #: guix-git/doc/guix.texi:31609
  46859. #, no-wrap
  46860. msgid "@code{clean-cache} (default: @code{14})"
  46861. msgstr ""
  46862. #. type: table
  46863. #: guix-git/doc/guix.texi:31612
  46864. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  46865. msgstr ""
  46866. #. type: item
  46867. #: guix-git/doc/guix.texi:31612
  46868. #, no-wrap
  46869. msgid "@code{partition-style} (default: @code{'msdos})"
  46870. msgstr ""
  46871. #. type: table
  46872. #: guix-git/doc/guix.texi:31615
  46873. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  46874. msgstr ""
  46875. #. type: item
  46876. #: guix-git/doc/guix.texi:31615
  46877. #, no-wrap
  46878. msgid "@code{partition-alignment} (default: @code{2048})"
  46879. msgstr ""
  46880. #. type: table
  46881. #: guix-git/doc/guix.texi:31617
  46882. msgid "Alignment of the partition in sectors."
  46883. msgstr ""
  46884. #. type: deffn
  46885. #: guix-git/doc/guix.texi:31620
  46886. #, no-wrap
  46887. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  46888. msgstr ""
  46889. #. type: deffn
  46890. #: guix-git/doc/guix.texi:31623
  46891. 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."
  46892. msgstr ""
  46893. #. type: deffn
  46894. #: guix-git/doc/guix.texi:31625
  46895. #, no-wrap
  46896. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  46897. msgstr ""
  46898. #. type: deffn
  46899. #: guix-git/doc/guix.texi:31628
  46900. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  46901. msgstr ""
  46902. #. type: deffn
  46903. #: guix-git/doc/guix.texi:31630
  46904. #, no-wrap
  46905. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  46906. msgstr ""
  46907. #. type: deffn
  46908. #: guix-git/doc/guix.texi:31635
  46909. 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."
  46910. msgstr ""
  46911. #. type: deffn
  46912. #: guix-git/doc/guix.texi:31637
  46913. #, no-wrap
  46914. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  46915. msgstr ""
  46916. #. type: deffn
  46917. #: guix-git/doc/guix.texi:31640
  46918. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  46919. msgstr ""
  46920. #. type: defvr
  46921. #: guix-git/doc/guix.texi:31642
  46922. #, no-wrap
  46923. msgid "{Scheme Variable} %default-debootstrap-variants"
  46924. msgstr ""
  46925. #. type: defvr
  46926. #: guix-git/doc/guix.texi:31646
  46927. 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:"
  46928. msgstr ""
  46929. #. type: lisp
  46930. #: guix-git/doc/guix.texi:31651
  46931. #, no-wrap
  46932. msgid ""
  46933. "(list (debootstrap-variant\n"
  46934. " \"default\"\n"
  46935. " (debootstrap-configuration)))\n"
  46936. msgstr ""
  46937. #. type: defvr
  46938. #: guix-git/doc/guix.texi:31654
  46939. #, no-wrap
  46940. msgid "{Scheme Variable} %default-guix-variants"
  46941. msgstr ""
  46942. #. type: defvr
  46943. #: guix-git/doc/guix.texi:31658
  46944. 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."
  46945. msgstr ""
  46946. #. type: lisp
  46947. #: guix-git/doc/guix.texi:31664
  46948. #, no-wrap
  46949. msgid ""
  46950. "(list (guix-variant\n"
  46951. " \"default\"\n"
  46952. " (file-append ganeti-instance-guix\n"
  46953. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  46954. msgstr ""
  46955. #. type: Plain text
  46956. #: guix-git/doc/guix.texi:31670
  46957. 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:"
  46958. msgstr ""
  46959. #. type: lisp
  46960. #: guix-git/doc/guix.texi:31679
  46961. #, no-wrap
  46962. msgid ""
  46963. "(ganeti-os\n"
  46964. " (name \"custom\")\n"
  46965. " (extension \".conf\")\n"
  46966. " (variants\n"
  46967. " (list (ganeti-os-variant\n"
  46968. " (name \"foo\")\n"
  46969. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  46970. msgstr ""
  46971. #. type: Plain text
  46972. #: guix-git/doc/guix.texi:31684
  46973. 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}."
  46974. msgstr ""
  46975. #. type: Plain text
  46976. #: guix-git/doc/guix.texi:31687
  46977. 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}."
  46978. msgstr ""
  46979. #. type: Plain text
  46980. #: guix-git/doc/guix.texi:31690
  46981. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  46982. msgstr ""
  46983. #. type: defvr
  46984. #: guix-git/doc/guix.texi:31691
  46985. #, no-wrap
  46986. msgid "{Scheme Variable} ganeti-noded-service-type"
  46987. msgstr ""
  46988. #. type: defvr
  46989. #: guix-git/doc/guix.texi:31695
  46990. 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."
  46991. msgstr ""
  46992. #. type: deftp
  46993. #: guix-git/doc/guix.texi:31697
  46994. #, no-wrap
  46995. msgid "{Data Type} ganeti-noded-configuration"
  46996. msgstr ""
  46997. #. type: deftp
  46998. #: guix-git/doc/guix.texi:31699
  46999. msgid "This is the configuration for the @code{ganeti-noded} service."
  47000. msgstr ""
  47001. #. type: table
  47002. #: guix-git/doc/guix.texi:31703 guix-git/doc/guix.texi:31753
  47003. #: guix-git/doc/guix.texi:31783 guix-git/doc/guix.texi:31810
  47004. #: guix-git/doc/guix.texi:31842 guix-git/doc/guix.texi:31895
  47005. #: guix-git/doc/guix.texi:31915 guix-git/doc/guix.texi:31941
  47006. #: guix-git/doc/guix.texi:31974
  47007. msgid "The @code{ganeti} package to use for this service."
  47008. msgstr ""
  47009. #. type: item
  47010. #: guix-git/doc/guix.texi:31704
  47011. #, no-wrap
  47012. msgid "@code{port} (default: @code{1811})"
  47013. msgstr ""
  47014. #. type: table
  47015. #: guix-git/doc/guix.texi:31706
  47016. msgid "The TCP port on which the node daemon listens for network requests."
  47017. msgstr ""
  47018. #. type: item
  47019. #: guix-git/doc/guix.texi:31707 guix-git/doc/guix.texi:31757
  47020. #: guix-git/doc/guix.texi:31849 guix-git/doc/guix.texi:31919
  47021. #, no-wrap
  47022. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  47023. msgstr ""
  47024. #. type: table
  47025. #: guix-git/doc/guix.texi:31710
  47026. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  47027. msgstr ""
  47028. #. type: table
  47029. #: guix-git/doc/guix.texi:31714
  47030. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  47031. msgstr ""
  47032. #. type: item
  47033. #: guix-git/doc/guix.texi:31715 guix-git/doc/guix.texi:31857
  47034. #, no-wrap
  47035. msgid "@code{max-clients} (default: @code{20})"
  47036. msgstr ""
  47037. #. type: table
  47038. #: guix-git/doc/guix.texi:31719
  47039. 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."
  47040. msgstr ""
  47041. #. type: item
  47042. #: guix-git/doc/guix.texi:31720 guix-git/doc/guix.texi:31862
  47043. #, no-wrap
  47044. msgid "@code{ssl?} (default: @code{#t})"
  47045. msgstr ""
  47046. #. type: table
  47047. #: guix-git/doc/guix.texi:31724
  47048. 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}."
  47049. msgstr ""
  47050. #. type: item
  47051. #: guix-git/doc/guix.texi:31725 guix-git/doc/guix.texi:31865
  47052. #, no-wrap
  47053. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47054. msgstr ""
  47055. #. type: table
  47056. #: guix-git/doc/guix.texi:31727 guix-git/doc/guix.texi:31867
  47057. msgid "This can be used to provide a specific encryption key for TLS communications."
  47058. msgstr ""
  47059. #. type: item
  47060. #: guix-git/doc/guix.texi:31728 guix-git/doc/guix.texi:31868
  47061. #, no-wrap
  47062. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47063. msgstr ""
  47064. #. type: table
  47065. #: guix-git/doc/guix.texi:31730 guix-git/doc/guix.texi:31870
  47066. msgid "This can be used to provide a specific certificate for TLS communications."
  47067. msgstr ""
  47068. #. type: table
  47069. #: guix-git/doc/guix.texi:31734 guix-git/doc/guix.texi:31874
  47070. 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."
  47071. msgstr ""
  47072. #. type: defvr
  47073. #: guix-git/doc/guix.texi:31738
  47074. #, no-wrap
  47075. msgid "{Scheme Variable} ganeti-confd-service-type"
  47076. msgstr ""
  47077. #. type: defvr
  47078. #: guix-git/doc/guix.texi:31744
  47079. 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."
  47080. msgstr ""
  47081. #. type: deftp
  47082. #: guix-git/doc/guix.texi:31747
  47083. #, no-wrap
  47084. msgid "{Data Type} ganeti-confd-configuration"
  47085. msgstr ""
  47086. #. type: deftp
  47087. #: guix-git/doc/guix.texi:31749
  47088. msgid "This is the configuration for the @code{ganeti-confd} service."
  47089. msgstr ""
  47090. #. type: item
  47091. #: guix-git/doc/guix.texi:31754
  47092. #, no-wrap
  47093. msgid "@code{port} (default: @code{1814})"
  47094. msgstr ""
  47095. #. type: table
  47096. #: guix-git/doc/guix.texi:31756
  47097. msgid "The UDP port on which to listen for network requests."
  47098. msgstr ""
  47099. #. type: table
  47100. #: guix-git/doc/guix.texi:31759
  47101. msgid "Network address that the daemon will bind to."
  47102. msgstr ""
  47103. #. type: table
  47104. #: guix-git/doc/guix.texi:31762 guix-git/doc/guix.texi:31791
  47105. #: guix-git/doc/guix.texi:31818 guix-git/doc/guix.texi:31898
  47106. #: guix-git/doc/guix.texi:31925 guix-git/doc/guix.texi:31951
  47107. msgid "When true, the daemon performs additional logging for debugging purposes."
  47108. msgstr ""
  47109. #. type: defvr
  47110. #: guix-git/doc/guix.texi:31766
  47111. #, no-wrap
  47112. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  47113. msgstr ""
  47114. #. type: defvr
  47115. #: guix-git/doc/guix.texi:31772
  47116. 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."
  47117. msgstr ""
  47118. #. type: defvr
  47119. #: guix-git/doc/guix.texi:31775
  47120. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  47121. msgstr ""
  47122. #. type: deftp
  47123. #: guix-git/doc/guix.texi:31777
  47124. #, no-wrap
  47125. msgid "{Data Type} ganeti-wconfd-configuration"
  47126. msgstr ""
  47127. #. type: deftp
  47128. #: guix-git/doc/guix.texi:31779
  47129. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  47130. msgstr ""
  47131. #. type: item
  47132. #: guix-git/doc/guix.texi:31784 guix-git/doc/guix.texi:31811
  47133. #, no-wrap
  47134. msgid "@code{no-voting?} (default: @code{#f})"
  47135. msgstr ""
  47136. #. type: table
  47137. #: guix-git/doc/guix.texi:31788
  47138. 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)."
  47139. msgstr ""
  47140. #. type: defvr
  47141. #: guix-git/doc/guix.texi:31795
  47142. #, no-wrap
  47143. msgid "{Scheme Variable} ganeti-luxid-service-type"
  47144. msgstr ""
  47145. #. type: defvr
  47146. #: guix-git/doc/guix.texi:31800
  47147. 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."
  47148. msgstr ""
  47149. #. type: defvr
  47150. #: guix-git/doc/guix.texi:31802
  47151. msgid "It takes a @code{ganeti-luxid-configuration} object."
  47152. msgstr ""
  47153. #. type: deftp
  47154. #: guix-git/doc/guix.texi:31804
  47155. #, no-wrap
  47156. msgid "{Data Type} ganeti-luxid-configuration"
  47157. msgstr ""
  47158. #. type: deftp
  47159. #: guix-git/doc/guix.texi:31806
  47160. msgid "This is the configuration for the @code{ganeti-luxid} service."
  47161. msgstr ""
  47162. #. type: table
  47163. #: guix-git/doc/guix.texi:31815
  47164. 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)."
  47165. msgstr ""
  47166. #. type: defvr
  47167. #: guix-git/doc/guix.texi:31822
  47168. #, no-wrap
  47169. msgid "{Scheme Variable} ganeti-rapi-service-type"
  47170. msgstr ""
  47171. #. type: defvr
  47172. #: guix-git/doc/guix.texi:31826
  47173. 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."
  47174. msgstr ""
  47175. #. type: defvr
  47176. #: guix-git/doc/guix.texi:31832
  47177. 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."
  47178. msgstr ""
  47179. #. type: defvr
  47180. #: guix-git/doc/guix.texi:31834
  47181. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  47182. msgstr ""
  47183. #. type: deftp
  47184. #: guix-git/doc/guix.texi:31836
  47185. #, no-wrap
  47186. msgid "{Data Type} ganeti-rapi-configuration"
  47187. msgstr ""
  47188. #. type: deftp
  47189. #: guix-git/doc/guix.texi:31838
  47190. msgid "This is the configuration for the @code{ganeti-rapi} service."
  47191. msgstr ""
  47192. #. type: item
  47193. #: guix-git/doc/guix.texi:31843
  47194. #, no-wrap
  47195. msgid "@code{require-authentication?} (default: @code{#f})"
  47196. msgstr ""
  47197. #. type: table
  47198. #: guix-git/doc/guix.texi:31845
  47199. msgid "Whether to require authentication even for read-only operations."
  47200. msgstr ""
  47201. #. type: item
  47202. #: guix-git/doc/guix.texi:31846
  47203. #, no-wrap
  47204. msgid "@code{port} (default: @code{5080})"
  47205. msgstr ""
  47206. #. type: table
  47207. #: guix-git/doc/guix.texi:31848
  47208. msgid "The TCP port on which to listen to API requests."
  47209. msgstr ""
  47210. #. type: table
  47211. #: guix-git/doc/guix.texi:31852
  47212. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  47213. msgstr ""
  47214. #. type: table
  47215. #: guix-git/doc/guix.texi:31856
  47216. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  47217. msgstr ""
  47218. #. type: table
  47219. #: guix-git/doc/guix.texi:31861
  47220. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  47221. msgstr ""
  47222. #. type: table
  47223. #: guix-git/doc/guix.texi:31864
  47224. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  47225. msgstr ""
  47226. #. type: defvr
  47227. #: guix-git/doc/guix.texi:31878
  47228. #, no-wrap
  47229. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  47230. msgstr ""
  47231. #. type: defvr
  47232. #: guix-git/doc/guix.texi:31886
  47233. 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."
  47234. msgstr ""
  47235. #. type: defvr
  47236. #: guix-git/doc/guix.texi:31888
  47237. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  47238. msgstr ""
  47239. #. type: deftp
  47240. #: guix-git/doc/guix.texi:31890
  47241. #, no-wrap
  47242. msgid "{Data Type} ganeti-kvmd-configuration"
  47243. msgstr ""
  47244. #. type: defvr
  47245. #: guix-git/doc/guix.texi:31902
  47246. #, no-wrap
  47247. msgid "{Scheme Variable} ganeti-mond-service-type"
  47248. msgstr ""
  47249. #. type: defvr
  47250. #: guix-git/doc/guix.texi:31906
  47251. 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."
  47252. msgstr ""
  47253. #. type: defvr
  47254. #: guix-git/doc/guix.texi:31908
  47255. msgid "It takes a @code{ganeti-mond-configuration} object."
  47256. msgstr ""
  47257. #. type: deftp
  47258. #: guix-git/doc/guix.texi:31910
  47259. #, no-wrap
  47260. msgid "{Data Type} ganeti-mond-configuration"
  47261. msgstr ""
  47262. #. type: item
  47263. #: guix-git/doc/guix.texi:31916
  47264. #, no-wrap
  47265. msgid "@code{port} (default: @code{1815})"
  47266. msgstr ""
  47267. #. type: table
  47268. #: guix-git/doc/guix.texi:31918 guix-git/doc/guix.texi:31944
  47269. msgid "The port on which the daemon will listen."
  47270. msgstr ""
  47271. #. type: table
  47272. #: guix-git/doc/guix.texi:31922
  47273. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  47274. msgstr ""
  47275. #. type: defvr
  47276. #: guix-git/doc/guix.texi:31929
  47277. #, no-wrap
  47278. msgid "{Scheme Variable} ganeti-metad-service-type"
  47279. msgstr ""
  47280. #. type: defvr
  47281. #: guix-git/doc/guix.texi:31932
  47282. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  47283. msgstr ""
  47284. #. type: defvr
  47285. #: guix-git/doc/guix.texi:31934
  47286. msgid "It takes a @code{ganeti-metad-configuration} object."
  47287. msgstr ""
  47288. #. type: deftp
  47289. #: guix-git/doc/guix.texi:31936
  47290. #, no-wrap
  47291. msgid "{Data Type} ganeti-metad-configuration"
  47292. msgstr ""
  47293. #. type: table
  47294. #: guix-git/doc/guix.texi:31948
  47295. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  47296. msgstr ""
  47297. #. type: defvr
  47298. #: guix-git/doc/guix.texi:31955
  47299. #, no-wrap
  47300. msgid "{Scheme Variable} ganeti-watcher-service-type"
  47301. msgstr ""
  47302. #. type: defvr
  47303. #: guix-git/doc/guix.texi:31963
  47304. 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."
  47305. msgstr ""
  47306. #. type: defvr
  47307. #: guix-git/doc/guix.texi:31965
  47308. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  47309. msgstr ""
  47310. #. type: defvr
  47311. #: guix-git/doc/guix.texi:31967
  47312. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  47313. msgstr ""
  47314. #. type: deftp
  47315. #: guix-git/doc/guix.texi:31969
  47316. #, no-wrap
  47317. msgid "{Data Type} ganeti-watcher-configuration"
  47318. msgstr ""
  47319. #. type: item
  47320. #: guix-git/doc/guix.texi:31975
  47321. #, no-wrap
  47322. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  47323. msgstr ""
  47324. #. type: table
  47325. #: guix-git/doc/guix.texi:31977
  47326. msgid "How often to run the script. The default is every five minutes."
  47327. msgstr ""
  47328. #. type: item
  47329. #: guix-git/doc/guix.texi:31978
  47330. #, no-wrap
  47331. msgid "@code{rapi-ip} (default: @code{#f})"
  47332. msgstr ""
  47333. #. type: table
  47334. #: guix-git/doc/guix.texi:31981
  47335. 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."
  47336. msgstr ""
  47337. #. type: item
  47338. #: guix-git/doc/guix.texi:31982
  47339. #, no-wrap
  47340. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  47341. msgstr ""
  47342. #. type: table
  47343. #: guix-git/doc/guix.texi:31985
  47344. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  47345. msgstr ""
  47346. #. type: item
  47347. #: guix-git/doc/guix.texi:31986
  47348. #, no-wrap
  47349. msgid "@code{verify-disks?} (default: @code{#t})"
  47350. msgstr ""
  47351. #. type: table
  47352. #: guix-git/doc/guix.texi:31990
  47353. 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."
  47354. msgstr ""
  47355. #. type: table
  47356. #: guix-git/doc/guix.texi:31993
  47357. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  47358. msgstr ""
  47359. #. type: defvr
  47360. #: guix-git/doc/guix.texi:31997
  47361. #, no-wrap
  47362. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  47363. msgstr ""
  47364. #. type: defvr
  47365. #: guix-git/doc/guix.texi:32005
  47366. 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."
  47367. msgstr ""
  47368. #. type: defvr
  47369. #: guix-git/doc/guix.texi:32007
  47370. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  47371. msgstr ""
  47372. #. type: deftp
  47373. #: guix-git/doc/guix.texi:32009
  47374. #, no-wrap
  47375. msgid "{Data Type} ganeti-cleaner-configuration"
  47376. msgstr ""
  47377. #. type: table
  47378. #: guix-git/doc/guix.texi:32014
  47379. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  47380. msgstr ""
  47381. #. type: item
  47382. #: guix-git/doc/guix.texi:32015
  47383. #, no-wrap
  47384. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  47385. msgstr ""
  47386. #. type: table
  47387. #: guix-git/doc/guix.texi:32018
  47388. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  47389. msgstr ""
  47390. #. type: item
  47391. #: guix-git/doc/guix.texi:32019
  47392. #, no-wrap
  47393. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  47394. msgstr ""
  47395. #. type: table
  47396. #: guix-git/doc/guix.texi:32022
  47397. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  47398. msgstr ""
  47399. #. type: Plain text
  47400. #: guix-git/doc/guix.texi:32036
  47401. 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}."
  47402. msgstr ""
  47403. #. type: deffn
  47404. #: guix-git/doc/guix.texi:32037
  47405. #, no-wrap
  47406. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  47407. msgstr ""
  47408. #. type: deffn
  47409. #: guix-git/doc/guix.texi:32041
  47410. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  47411. msgstr ""
  47412. #. type: deffn
  47413. #: guix-git/doc/guix.texi:32047
  47414. 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}."
  47415. msgstr ""
  47416. #. type: deftp
  47417. #: guix-git/doc/guix.texi:32050
  47418. #, no-wrap
  47419. msgid "{Data Type} git-daemon-configuration"
  47420. msgstr ""
  47421. #. type: deftp
  47422. #: guix-git/doc/guix.texi:32052
  47423. msgid "Data type representing the configuration for @code{git-daemon-service}."
  47424. msgstr ""
  47425. #. type: item
  47426. #: guix-git/doc/guix.texi:32054
  47427. #, no-wrap
  47428. msgid "@code{package} (default: @code{git})"
  47429. msgstr ""
  47430. #. type: table
  47431. #: guix-git/doc/guix.texi:32056 guix-git/doc/guix.texi:32116
  47432. msgid "Package object of the Git distributed version control system."
  47433. msgstr ""
  47434. #. type: item
  47435. #: guix-git/doc/guix.texi:32057 guix-git/doc/guix.texi:32120
  47436. #, no-wrap
  47437. msgid "@code{export-all?} (default: @code{#f})"
  47438. msgstr ""
  47439. #. type: table
  47440. #: guix-git/doc/guix.texi:32060
  47441. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  47442. msgstr ""
  47443. #. type: item
  47444. #: guix-git/doc/guix.texi:32061
  47445. #, no-wrap
  47446. msgid "@code{base-path} (default: @file{/srv/git})"
  47447. msgstr ""
  47448. #. type: table
  47449. #: guix-git/doc/guix.texi:32067
  47450. 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}."
  47451. msgstr ""
  47452. #. type: item
  47453. #: guix-git/doc/guix.texi:32068
  47454. #, no-wrap
  47455. msgid "@code{user-path} (default: @code{#f})"
  47456. msgstr ""
  47457. #. type: table
  47458. #: guix-git/doc/guix.texi:32076
  47459. 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}."
  47460. msgstr ""
  47461. #. type: item
  47462. #: guix-git/doc/guix.texi:32077
  47463. #, no-wrap
  47464. msgid "@code{listen} (default: @code{'()})"
  47465. msgstr ""
  47466. #. type: table
  47467. #: guix-git/doc/guix.texi:32080
  47468. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  47469. msgstr ""
  47470. #. type: item
  47471. #: guix-git/doc/guix.texi:32081
  47472. #, no-wrap
  47473. msgid "@code{port} (default: @code{#f})"
  47474. msgstr ""
  47475. #. type: table
  47476. #: guix-git/doc/guix.texi:32083
  47477. msgid "Whether to listen on an alternative port, which defaults to 9418."
  47478. msgstr ""
  47479. #. type: item
  47480. #: guix-git/doc/guix.texi:32084
  47481. #, no-wrap
  47482. msgid "@code{whitelist} (default: @code{'()})"
  47483. msgstr ""
  47484. #. type: table
  47485. #: guix-git/doc/guix.texi:32086
  47486. msgid "If not empty, only allow access to this list of directories."
  47487. msgstr ""
  47488. #. type: table
  47489. #: guix-git/doc/guix.texi:32090
  47490. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  47491. msgstr ""
  47492. #. type: Plain text
  47493. #: guix-git/doc/guix.texi:32104
  47494. 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."
  47495. msgstr ""
  47496. #. type: Plain text
  47497. #: guix-git/doc/guix.texi:32107
  47498. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  47499. msgstr ""
  47500. #. type: deftp
  47501. #: guix-git/doc/guix.texi:32108
  47502. #, no-wrap
  47503. msgid "{Data Type} git-http-configuration"
  47504. msgstr ""
  47505. #. type: deftp
  47506. #: guix-git/doc/guix.texi:32112
  47507. 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}."
  47508. msgstr ""
  47509. #. type: item
  47510. #: guix-git/doc/guix.texi:32114
  47511. #, no-wrap
  47512. msgid "@code{package} (default: @var{git})"
  47513. msgstr ""
  47514. #. type: item
  47515. #: guix-git/doc/guix.texi:32117
  47516. #, no-wrap
  47517. msgid "@code{git-root} (default: @file{/srv/git})"
  47518. msgstr ""
  47519. #. type: table
  47520. #: guix-git/doc/guix.texi:32119
  47521. msgid "Directory containing the Git repositories to expose to the world."
  47522. msgstr ""
  47523. #. type: table
  47524. #: guix-git/doc/guix.texi:32123
  47525. 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."
  47526. msgstr ""
  47527. #. type: item
  47528. #: guix-git/doc/guix.texi:32124
  47529. #, no-wrap
  47530. msgid "@code{uri-path} (default: @samp{/git/})"
  47531. msgstr ""
  47532. #. type: table
  47533. #: guix-git/doc/guix.texi:32129
  47534. 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."
  47535. msgstr ""
  47536. #. type: item
  47537. #: guix-git/doc/guix.texi:32130
  47538. #, no-wrap
  47539. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  47540. msgstr ""
  47541. #. type: table
  47542. #: guix-git/doc/guix.texi:32133
  47543. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  47544. msgstr ""
  47545. #. type: Plain text
  47546. #: guix-git/doc/guix.texi:32140
  47547. 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."
  47548. msgstr ""
  47549. #. type: deffn
  47550. #: guix-git/doc/guix.texi:32141
  47551. #, no-wrap
  47552. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  47553. msgstr ""
  47554. #. type: deffn
  47555. #: guix-git/doc/guix.texi:32146
  47556. 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:"
  47557. msgstr ""
  47558. #. type: lisp
  47559. #: guix-git/doc/guix.texi:32163
  47560. #, no-wrap
  47561. msgid ""
  47562. "(service nginx-service-type\n"
  47563. " (nginx-configuration\n"
  47564. " (server-blocks\n"
  47565. " (list\n"
  47566. " (nginx-server-configuration\n"
  47567. " (listen '(\"443 ssl\"))\n"
  47568. " (server-name \"git.my-host.org\")\n"
  47569. " (ssl-certificate\n"
  47570. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  47571. " (ssl-certificate-key\n"
  47572. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  47573. " (locations\n"
  47574. " (list\n"
  47575. " (git-http-nginx-location-configuration\n"
  47576. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  47577. msgstr ""
  47578. #. type: deffn
  47579. #: guix-git/doc/guix.texi:32170
  47580. 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}."
  47581. msgstr ""
  47582. #. type: subsubheading
  47583. #: guix-git/doc/guix.texi:32172
  47584. #, no-wrap
  47585. msgid "Cgit Service"
  47586. msgstr ""
  47587. #. type: cindex
  47588. #: guix-git/doc/guix.texi:32174
  47589. #, no-wrap
  47590. msgid "Cgit service"
  47591. msgstr ""
  47592. #. type: cindex
  47593. #: guix-git/doc/guix.texi:32175
  47594. #, no-wrap
  47595. msgid "Git, web interface"
  47596. msgstr ""
  47597. #. type: Plain text
  47598. #: guix-git/doc/guix.texi:32178
  47599. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  47600. msgstr ""
  47601. #. type: Plain text
  47602. #: guix-git/doc/guix.texi:32181
  47603. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  47604. msgstr ""
  47605. #. type: lisp
  47606. #: guix-git/doc/guix.texi:32184
  47607. #, no-wrap
  47608. msgid "(service cgit-service-type)\n"
  47609. msgstr ""
  47610. #. type: Plain text
  47611. #: guix-git/doc/guix.texi:32188
  47612. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  47613. msgstr ""
  47614. #. type: Plain text
  47615. #: guix-git/doc/guix.texi:32192
  47616. msgid "Available @code{cgit-configuration} fields are:"
  47617. msgstr ""
  47618. #. type: deftypevr
  47619. #: guix-git/doc/guix.texi:32193
  47620. #, no-wrap
  47621. msgid "{@code{cgit-configuration} parameter} package package"
  47622. msgstr ""
  47623. #. type: deftypevr
  47624. #: guix-git/doc/guix.texi:32195
  47625. msgid "The CGIT package."
  47626. msgstr ""
  47627. #. type: deftypevr
  47628. #: guix-git/doc/guix.texi:32198
  47629. #, no-wrap
  47630. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  47631. msgstr ""
  47632. #. type: deftypevr
  47633. #: guix-git/doc/guix.texi:32200
  47634. msgid "NGINX configuration."
  47635. msgstr ""
  47636. #. type: deftypevr
  47637. #: guix-git/doc/guix.texi:32203
  47638. #, no-wrap
  47639. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  47640. msgstr ""
  47641. #. type: deftypevr
  47642. #: guix-git/doc/guix.texi:32206
  47643. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  47644. msgstr ""
  47645. #. type: deftypevr
  47646. #: guix-git/doc/guix.texi:32211
  47647. #, no-wrap
  47648. msgid "{@code{cgit-configuration} parameter} string agefile"
  47649. msgstr ""
  47650. #. type: deftypevr
  47651. #: guix-git/doc/guix.texi:32214
  47652. 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."
  47653. msgstr ""
  47654. #. type: deftypevr
  47655. #: guix-git/doc/guix.texi:32219
  47656. #, no-wrap
  47657. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  47658. msgstr ""
  47659. #. type: deftypevr
  47660. #: guix-git/doc/guix.texi:32222
  47661. msgid "Specifies a command that will be invoked for authenticating repository access."
  47662. msgstr ""
  47663. #. type: deftypevr
  47664. #: guix-git/doc/guix.texi:32227
  47665. #, no-wrap
  47666. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  47667. msgstr ""
  47668. #. type: deftypevr
  47669. #: guix-git/doc/guix.texi:32230
  47670. 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."
  47671. msgstr ""
  47672. #. type: deftypevr
  47673. #: guix-git/doc/guix.texi:32232
  47674. msgid "Defaults to @samp{\"name\"}."
  47675. msgstr ""
  47676. #. type: deftypevr
  47677. #: guix-git/doc/guix.texi:32235
  47678. #, no-wrap
  47679. msgid "{@code{cgit-configuration} parameter} string cache-root"
  47680. msgstr ""
  47681. #. type: deftypevr
  47682. #: guix-git/doc/guix.texi:32237
  47683. msgid "Path used to store the cgit cache entries."
  47684. msgstr ""
  47685. #. type: deftypevr
  47686. #: guix-git/doc/guix.texi:32239
  47687. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  47688. msgstr ""
  47689. #. type: deftypevr
  47690. #: guix-git/doc/guix.texi:32242
  47691. #, no-wrap
  47692. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  47693. msgstr ""
  47694. #. type: deftypevr
  47695. #: guix-git/doc/guix.texi:32245
  47696. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  47697. msgstr ""
  47698. #. type: deftypevr
  47699. #: guix-git/doc/guix.texi:32247 guix-git/doc/guix.texi:32690
  47700. msgid "Defaults to @samp{-1}."
  47701. msgstr ""
  47702. #. type: deftypevr
  47703. #: guix-git/doc/guix.texi:32250
  47704. #, no-wrap
  47705. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  47706. msgstr ""
  47707. #. type: deftypevr
  47708. #: guix-git/doc/guix.texi:32253
  47709. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  47710. msgstr ""
  47711. #. type: deftypevr
  47712. #: guix-git/doc/guix.texi:32258
  47713. #, no-wrap
  47714. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  47715. msgstr ""
  47716. #. type: deftypevr
  47717. #: guix-git/doc/guix.texi:32261
  47718. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  47719. msgstr ""
  47720. #. type: deftypevr
  47721. #: guix-git/doc/guix.texi:32266
  47722. #, no-wrap
  47723. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  47724. msgstr ""
  47725. #. type: deftypevr
  47726. #: guix-git/doc/guix.texi:32269
  47727. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  47728. msgstr ""
  47729. #. type: deftypevr
  47730. #: guix-git/doc/guix.texi:32274
  47731. #, no-wrap
  47732. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  47733. msgstr ""
  47734. #. type: deftypevr
  47735. #: guix-git/doc/guix.texi:32277
  47736. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  47737. msgstr ""
  47738. #. type: deftypevr
  47739. #: guix-git/doc/guix.texi:32282
  47740. #, no-wrap
  47741. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  47742. msgstr ""
  47743. #. type: deftypevr
  47744. #: guix-git/doc/guix.texi:32285
  47745. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  47746. msgstr ""
  47747. #. type: deftypevr
  47748. #: guix-git/doc/guix.texi:32290
  47749. #, no-wrap
  47750. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  47751. msgstr ""
  47752. #. type: deftypevr
  47753. #: guix-git/doc/guix.texi:32293
  47754. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  47755. msgstr ""
  47756. #. type: deftypevr
  47757. #: guix-git/doc/guix.texi:32298
  47758. #, no-wrap
  47759. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  47760. msgstr ""
  47761. #. type: deftypevr
  47762. #: guix-git/doc/guix.texi:32301
  47763. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  47764. msgstr ""
  47765. #. type: deftypevr
  47766. #: guix-git/doc/guix.texi:32306
  47767. #, no-wrap
  47768. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  47769. msgstr ""
  47770. #. type: deftypevr
  47771. #: guix-git/doc/guix.texi:32308
  47772. msgid "Sort items in the repo list case sensitively."
  47773. msgstr ""
  47774. #. type: deftypevr
  47775. #: guix-git/doc/guix.texi:32313
  47776. #, no-wrap
  47777. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  47778. msgstr ""
  47779. #. type: deftypevr
  47780. #: guix-git/doc/guix.texi:32316
  47781. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  47782. msgstr ""
  47783. #. type: deftypevr
  47784. #: guix-git/doc/guix.texi:32321
  47785. #, no-wrap
  47786. msgid "{@code{cgit-configuration} parameter} list clone-url"
  47787. msgstr ""
  47788. #. type: deftypevr
  47789. #: guix-git/doc/guix.texi:32323
  47790. msgid "List of @code{clone-url} templates."
  47791. msgstr ""
  47792. #. type: deftypevr
  47793. #: guix-git/doc/guix.texi:32328
  47794. #, no-wrap
  47795. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  47796. msgstr ""
  47797. #. type: deftypevr
  47798. #: guix-git/doc/guix.texi:32330
  47799. msgid "Command which will be invoked to format commit messages."
  47800. msgstr ""
  47801. #. type: deftypevr
  47802. #: guix-git/doc/guix.texi:32335
  47803. #, no-wrap
  47804. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  47805. msgstr ""
  47806. #. type: deftypevr
  47807. #: guix-git/doc/guix.texi:32339 guix-git/doc/guix.texi:32897
  47808. 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."
  47809. msgstr ""
  47810. #. type: deftypevr
  47811. #: guix-git/doc/guix.texi:32341
  47812. msgid "Defaults to @samp{\"git log\"}."
  47813. msgstr ""
  47814. #. type: deftypevr
  47815. #: guix-git/doc/guix.texi:32344
  47816. #, no-wrap
  47817. msgid "{@code{cgit-configuration} parameter} file-object css"
  47818. msgstr ""
  47819. #. type: deftypevr
  47820. #: guix-git/doc/guix.texi:32346
  47821. msgid "URL which specifies the css document to include in all cgit pages."
  47822. msgstr ""
  47823. #. type: deftypevr
  47824. #: guix-git/doc/guix.texi:32348
  47825. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  47826. msgstr ""
  47827. #. type: deftypevr
  47828. #: guix-git/doc/guix.texi:32351
  47829. #, no-wrap
  47830. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  47831. msgstr ""
  47832. #. type: deftypevr
  47833. #: guix-git/doc/guix.texi:32355
  47834. 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."
  47835. msgstr ""
  47836. #. type: deftypevr
  47837. #: guix-git/doc/guix.texi:32360
  47838. #, no-wrap
  47839. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  47840. msgstr ""
  47841. #. type: deftypevr
  47842. #: guix-git/doc/guix.texi:32363
  47843. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  47844. msgstr ""
  47845. #. type: deftypevr
  47846. #: guix-git/doc/guix.texi:32368
  47847. #, no-wrap
  47848. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  47849. msgstr ""
  47850. #. type: deftypevr
  47851. #: guix-git/doc/guix.texi:32372
  47852. 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."
  47853. msgstr ""
  47854. #. type: deftypevr
  47855. #: guix-git/doc/guix.texi:32377
  47856. #, no-wrap
  47857. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  47858. msgstr ""
  47859. #. type: deftypevr
  47860. #: guix-git/doc/guix.texi:32380
  47861. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  47862. msgstr ""
  47863. #. type: deftypevr
  47864. #: guix-git/doc/guix.texi:32385
  47865. #, no-wrap
  47866. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  47867. msgstr ""
  47868. #. type: deftypevr
  47869. #: guix-git/doc/guix.texi:32388
  47870. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  47871. msgstr ""
  47872. #. type: deftypevr
  47873. #: guix-git/doc/guix.texi:32393
  47874. #, no-wrap
  47875. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  47876. msgstr ""
  47877. #. type: deftypevr
  47878. #: guix-git/doc/guix.texi:32396
  47879. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  47880. msgstr ""
  47881. #. type: deftypevr
  47882. #: guix-git/doc/guix.texi:32401
  47883. #, no-wrap
  47884. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  47885. msgstr ""
  47886. #. type: deftypevr
  47887. #: guix-git/doc/guix.texi:32404
  47888. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  47889. msgstr ""
  47890. #. type: deftypevr
  47891. #: guix-git/doc/guix.texi:32409
  47892. #, no-wrap
  47893. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  47894. msgstr ""
  47895. #. type: deftypevr
  47896. #: guix-git/doc/guix.texi:32412
  47897. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  47898. msgstr ""
  47899. #. type: deftypevr
  47900. #: guix-git/doc/guix.texi:32417
  47901. #, no-wrap
  47902. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  47903. msgstr ""
  47904. #. type: deftypevr
  47905. #: guix-git/doc/guix.texi:32420
  47906. 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."
  47907. msgstr ""
  47908. #. type: deftypevr
  47909. #: guix-git/doc/guix.texi:32425
  47910. #, no-wrap
  47911. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  47912. msgstr ""
  47913. #. type: deftypevr
  47914. #: guix-git/doc/guix.texi:32428
  47915. 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."
  47916. msgstr ""
  47917. #. type: deftypevr
  47918. #: guix-git/doc/guix.texi:32433
  47919. #, no-wrap
  47920. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  47921. msgstr ""
  47922. #. type: deftypevr
  47923. #: guix-git/doc/guix.texi:32436 guix-git/doc/guix.texi:32960
  47924. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  47925. msgstr ""
  47926. #. type: deftypevr
  47927. #: guix-git/doc/guix.texi:32441
  47928. #, no-wrap
  47929. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  47930. msgstr ""
  47931. #. type: deftypevr
  47932. #: guix-git/doc/guix.texi:32445
  47933. 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."
  47934. msgstr ""
  47935. #. type: deftypevr
  47936. #: guix-git/doc/guix.texi:32450
  47937. #, no-wrap
  47938. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  47939. msgstr ""
  47940. #. type: deftypevr
  47941. #: guix-git/doc/guix.texi:32454
  47942. 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."
  47943. msgstr ""
  47944. #. type: deftypevr
  47945. #: guix-git/doc/guix.texi:32459
  47946. #, no-wrap
  47947. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  47948. msgstr ""
  47949. #. type: deftypevr
  47950. #: guix-git/doc/guix.texi:32462
  47951. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  47952. msgstr ""
  47953. #. type: deftypevr
  47954. #: guix-git/doc/guix.texi:32467
  47955. #, no-wrap
  47956. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  47957. msgstr ""
  47958. #. type: deftypevr
  47959. #: guix-git/doc/guix.texi:32470
  47960. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  47961. msgstr ""
  47962. #. type: deftypevr
  47963. #: guix-git/doc/guix.texi:32475
  47964. #, no-wrap
  47965. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  47966. msgstr ""
  47967. #. type: deftypevr
  47968. #: guix-git/doc/guix.texi:32477
  47969. msgid "URL used as link to a shortcut icon for cgit."
  47970. msgstr ""
  47971. #. type: deftypevr
  47972. #: guix-git/doc/guix.texi:32479
  47973. msgid "Defaults to @samp{\"/favicon.ico\"}."
  47974. msgstr ""
  47975. #. type: deftypevr
  47976. #: guix-git/doc/guix.texi:32482
  47977. #, no-wrap
  47978. msgid "{@code{cgit-configuration} parameter} string footer"
  47979. msgstr ""
  47980. #. type: deftypevr
  47981. #: guix-git/doc/guix.texi:32486
  47982. 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)."
  47983. msgstr ""
  47984. #. type: deftypevr
  47985. #: guix-git/doc/guix.texi:32491
  47986. #, no-wrap
  47987. msgid "{@code{cgit-configuration} parameter} string head-include"
  47988. msgstr ""
  47989. #. type: deftypevr
  47990. #: guix-git/doc/guix.texi:32494
  47991. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  47992. msgstr ""
  47993. #. type: deftypevr
  47994. #: guix-git/doc/guix.texi:32499
  47995. #, no-wrap
  47996. msgid "{@code{cgit-configuration} parameter} string header"
  47997. msgstr ""
  47998. #. type: deftypevr
  47999. #: guix-git/doc/guix.texi:32502
  48000. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  48001. msgstr ""
  48002. #. type: deftypevr
  48003. #: guix-git/doc/guix.texi:32507
  48004. #, no-wrap
  48005. msgid "{@code{cgit-configuration} parameter} file-object include"
  48006. msgstr ""
  48007. #. type: deftypevr
  48008. #: guix-git/doc/guix.texi:32510
  48009. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  48010. msgstr ""
  48011. #. type: deftypevr
  48012. #: guix-git/doc/guix.texi:32515
  48013. #, no-wrap
  48014. msgid "{@code{cgit-configuration} parameter} string index-header"
  48015. msgstr ""
  48016. #. type: deftypevr
  48017. #: guix-git/doc/guix.texi:32518
  48018. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  48019. msgstr ""
  48020. #. type: deftypevr
  48021. #: guix-git/doc/guix.texi:32523
  48022. #, no-wrap
  48023. msgid "{@code{cgit-configuration} parameter} string index-info"
  48024. msgstr ""
  48025. #. type: deftypevr
  48026. #: guix-git/doc/guix.texi:32526
  48027. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  48028. msgstr ""
  48029. #. type: deftypevr
  48030. #: guix-git/doc/guix.texi:32531
  48031. #, no-wrap
  48032. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  48033. msgstr ""
  48034. #. type: deftypevr
  48035. #: guix-git/doc/guix.texi:32534
  48036. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  48037. msgstr ""
  48038. #. type: deftypevr
  48039. #: guix-git/doc/guix.texi:32539
  48040. #, no-wrap
  48041. msgid "{@code{cgit-configuration} parameter} file-object logo"
  48042. msgstr ""
  48043. #. type: deftypevr
  48044. #: guix-git/doc/guix.texi:32542
  48045. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  48046. msgstr ""
  48047. #. type: deftypevr
  48048. #: guix-git/doc/guix.texi:32544
  48049. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  48050. msgstr ""
  48051. #. type: deftypevr
  48052. #: guix-git/doc/guix.texi:32547
  48053. #, no-wrap
  48054. msgid "{@code{cgit-configuration} parameter} string logo-link"
  48055. msgstr ""
  48056. #. type: deftypevr
  48057. #: guix-git/doc/guix.texi:32549 guix-git/doc/guix.texi:33006
  48058. msgid "URL loaded when clicking on the cgit logo image."
  48059. msgstr ""
  48060. #. type: deftypevr
  48061. #: guix-git/doc/guix.texi:32554
  48062. #, no-wrap
  48063. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  48064. msgstr ""
  48065. #. type: deftypevr
  48066. #: guix-git/doc/guix.texi:32557
  48067. msgid "Command which will be invoked to format the Owner column of the main page."
  48068. msgstr ""
  48069. #. type: deftypevr
  48070. #: guix-git/doc/guix.texi:32562
  48071. #, no-wrap
  48072. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  48073. msgstr ""
  48074. #. type: deftypevr
  48075. #: guix-git/doc/guix.texi:32564
  48076. msgid "Number of items to display in atom feeds view."
  48077. msgstr ""
  48078. #. type: deftypevr
  48079. #: guix-git/doc/guix.texi:32569
  48080. #, no-wrap
  48081. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  48082. msgstr ""
  48083. #. type: deftypevr
  48084. #: guix-git/doc/guix.texi:32571
  48085. msgid "Number of entries to list per page in \"log\" view."
  48086. msgstr ""
  48087. #. type: deftypevr
  48088. #: guix-git/doc/guix.texi:32576
  48089. #, no-wrap
  48090. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  48091. msgstr ""
  48092. #. type: deftypevr
  48093. #: guix-git/doc/guix.texi:32578
  48094. msgid "Number of commit message characters to display in \"log\" view."
  48095. msgstr ""
  48096. #. type: deftypevr
  48097. #: guix-git/doc/guix.texi:32580 guix-git/doc/guix.texi:32596
  48098. msgid "Defaults to @samp{80}."
  48099. msgstr ""
  48100. #. type: deftypevr
  48101. #: guix-git/doc/guix.texi:32583
  48102. #, no-wrap
  48103. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  48104. msgstr ""
  48105. #. type: deftypevr
  48106. #: guix-git/doc/guix.texi:32586
  48107. msgid "Specifies the number of entries to list per page on the repository index page."
  48108. msgstr ""
  48109. #. type: deftypevr
  48110. #: guix-git/doc/guix.texi:32591
  48111. #, no-wrap
  48112. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  48113. msgstr ""
  48114. #. type: deftypevr
  48115. #: guix-git/doc/guix.texi:32594
  48116. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  48117. msgstr ""
  48118. #. type: deftypevr
  48119. #: guix-git/doc/guix.texi:32599
  48120. #, no-wrap
  48121. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  48122. msgstr ""
  48123. #. type: deftypevr
  48124. #: guix-git/doc/guix.texi:32601
  48125. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  48126. msgstr ""
  48127. #. type: deftypevr
  48128. #: guix-git/doc/guix.texi:32606
  48129. #, no-wrap
  48130. msgid "{@code{cgit-configuration} parameter} string max-stats"
  48131. msgstr ""
  48132. #. type: deftypevr
  48133. #: guix-git/doc/guix.texi:32609
  48134. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  48135. msgstr ""
  48136. #. type: deftypevr
  48137. #: guix-git/doc/guix.texi:32614
  48138. #, no-wrap
  48139. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  48140. msgstr ""
  48141. #. type: deftypevr
  48142. #: guix-git/doc/guix.texi:32616
  48143. msgid "Mimetype for the specified filename extension."
  48144. msgstr ""
  48145. #. type: deftypevr
  48146. #: guix-git/doc/guix.texi:32620
  48147. 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\"))}."
  48148. msgstr ""
  48149. #. type: deftypevr
  48150. #: guix-git/doc/guix.texi:32623
  48151. #, no-wrap
  48152. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  48153. msgstr ""
  48154. #. type: deftypevr
  48155. #: guix-git/doc/guix.texi:32625
  48156. msgid "Specifies the file to use for automatic mimetype lookup."
  48157. msgstr ""
  48158. #. type: deftypevr
  48159. #: guix-git/doc/guix.texi:32630
  48160. #, no-wrap
  48161. msgid "{@code{cgit-configuration} parameter} string module-link"
  48162. msgstr ""
  48163. #. type: deftypevr
  48164. #: guix-git/doc/guix.texi:32633
  48165. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  48166. msgstr ""
  48167. #. type: deftypevr
  48168. #: guix-git/doc/guix.texi:32638
  48169. #, no-wrap
  48170. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  48171. msgstr ""
  48172. #. type: deftypevr
  48173. #: guix-git/doc/guix.texi:32640
  48174. msgid "If set to the value @samp{#t} caching will be disabled."
  48175. msgstr ""
  48176. #. type: deftypevr
  48177. #: guix-git/doc/guix.texi:32645
  48178. #, no-wrap
  48179. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  48180. msgstr ""
  48181. #. type: deftypevr
  48182. #: guix-git/doc/guix.texi:32648
  48183. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  48184. msgstr ""
  48185. #. type: deftypevr
  48186. #: guix-git/doc/guix.texi:32653
  48187. #, no-wrap
  48188. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  48189. msgstr ""
  48190. #. type: deftypevr
  48191. #: guix-git/doc/guix.texi:32656
  48192. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  48193. msgstr ""
  48194. #. type: deftypevr
  48195. #: guix-git/doc/guix.texi:32661
  48196. #, no-wrap
  48197. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  48198. msgstr ""
  48199. #. type: deftypevr
  48200. #: guix-git/doc/guix.texi:32665
  48201. 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."
  48202. msgstr ""
  48203. #. type: deftypevr
  48204. #: guix-git/doc/guix.texi:32670
  48205. #, no-wrap
  48206. msgid "{@code{cgit-configuration} parameter} file-object readme"
  48207. msgstr ""
  48208. #. type: deftypevr
  48209. #: guix-git/doc/guix.texi:32672
  48210. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  48211. msgstr ""
  48212. #. type: deftypevr
  48213. #: guix-git/doc/guix.texi:32677
  48214. #, no-wrap
  48215. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  48216. msgstr ""
  48217. #. type: deftypevr
  48218. #: guix-git/doc/guix.texi:32681
  48219. 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."
  48220. msgstr ""
  48221. #. type: deftypevr
  48222. #: guix-git/doc/guix.texi:32686
  48223. #, no-wrap
  48224. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  48225. msgstr ""
  48226. #. type: deftypevr
  48227. #: guix-git/doc/guix.texi:32688
  48228. msgid "Maximum number of files to consider when detecting renames."
  48229. msgstr ""
  48230. #. type: deftypevr
  48231. #: guix-git/doc/guix.texi:32693
  48232. #, no-wrap
  48233. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  48234. msgstr ""
  48235. #. type: deftypevr
  48236. #: guix-git/doc/guix.texi:32695
  48237. msgid "The way in which repositories in each section are sorted."
  48238. msgstr ""
  48239. #. type: deftypevr
  48240. #: guix-git/doc/guix.texi:32700
  48241. #, no-wrap
  48242. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  48243. msgstr ""
  48244. #. type: deftypevr
  48245. #: guix-git/doc/guix.texi:32702
  48246. msgid "Text used as content for the @code{robots} meta-tag."
  48247. msgstr ""
  48248. #. type: deftypevr
  48249. #: guix-git/doc/guix.texi:32704
  48250. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  48251. msgstr ""
  48252. #. type: deftypevr
  48253. #: guix-git/doc/guix.texi:32707
  48254. #, no-wrap
  48255. msgid "{@code{cgit-configuration} parameter} string root-desc"
  48256. msgstr ""
  48257. #. type: deftypevr
  48258. #: guix-git/doc/guix.texi:32709
  48259. msgid "Text printed below the heading on the repository index page."
  48260. msgstr ""
  48261. #. type: deftypevr
  48262. #: guix-git/doc/guix.texi:32711
  48263. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  48264. msgstr ""
  48265. #. type: deftypevr
  48266. #: guix-git/doc/guix.texi:32714
  48267. #, no-wrap
  48268. msgid "{@code{cgit-configuration} parameter} string root-readme"
  48269. msgstr ""
  48270. #. type: deftypevr
  48271. #: guix-git/doc/guix.texi:32717
  48272. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  48273. msgstr ""
  48274. #. type: deftypevr
  48275. #: guix-git/doc/guix.texi:32722
  48276. #, no-wrap
  48277. msgid "{@code{cgit-configuration} parameter} string root-title"
  48278. msgstr ""
  48279. #. type: deftypevr
  48280. #: guix-git/doc/guix.texi:32724
  48281. msgid "Text printed as heading on the repository index page."
  48282. msgstr ""
  48283. #. type: deftypevr
  48284. #: guix-git/doc/guix.texi:32729
  48285. #, no-wrap
  48286. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  48287. msgstr ""
  48288. #. type: deftypevr
  48289. #: guix-git/doc/guix.texi:32735
  48290. 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."
  48291. msgstr ""
  48292. #. type: deftypevr
  48293. #: guix-git/doc/guix.texi:32740
  48294. #, no-wrap
  48295. msgid "{@code{cgit-configuration} parameter} list snapshots"
  48296. msgstr ""
  48297. #. type: deftypevr
  48298. #: guix-git/doc/guix.texi:32743
  48299. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  48300. msgstr ""
  48301. #. type: deftypevr
  48302. #: guix-git/doc/guix.texi:32748
  48303. #, no-wrap
  48304. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  48305. msgstr ""
  48306. #. type: deftypevr
  48307. #: guix-git/doc/guix.texi:32751
  48308. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  48309. msgstr ""
  48310. #. type: deftypevr
  48311. #: guix-git/doc/guix.texi:32753
  48312. msgid "Defaults to @samp{\"/srv/git\"}."
  48313. msgstr ""
  48314. #. type: deftypevr
  48315. #: guix-git/doc/guix.texi:32756
  48316. #, no-wrap
  48317. msgid "{@code{cgit-configuration} parameter} string section"
  48318. msgstr ""
  48319. #. type: deftypevr
  48320. #: guix-git/doc/guix.texi:32759 guix-git/doc/guix.texi:33075
  48321. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  48322. msgstr ""
  48323. #. type: deftypevr
  48324. #: guix-git/doc/guix.texi:32764
  48325. #, no-wrap
  48326. msgid "{@code{cgit-configuration} parameter} string section-sort"
  48327. msgstr ""
  48328. #. type: deftypevr
  48329. #: guix-git/doc/guix.texi:32767
  48330. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  48331. msgstr ""
  48332. #. type: deftypevr
  48333. #: guix-git/doc/guix.texi:32772
  48334. #, no-wrap
  48335. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  48336. msgstr ""
  48337. #. type: deftypevr
  48338. #: guix-git/doc/guix.texi:32775
  48339. 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."
  48340. msgstr ""
  48341. #. type: deftypevr
  48342. #: guix-git/doc/guix.texi:32780
  48343. #, no-wrap
  48344. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  48345. msgstr ""
  48346. #. type: deftypevr
  48347. #: guix-git/doc/guix.texi:32783
  48348. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  48349. msgstr ""
  48350. #. type: deftypevr
  48351. #: guix-git/doc/guix.texi:32788
  48352. #, no-wrap
  48353. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  48354. msgstr ""
  48355. #. type: deftypevr
  48356. #: guix-git/doc/guix.texi:32791
  48357. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  48358. msgstr ""
  48359. #. type: deftypevr
  48360. #: guix-git/doc/guix.texi:32796
  48361. #, no-wrap
  48362. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  48363. msgstr ""
  48364. #. type: deftypevr
  48365. #: guix-git/doc/guix.texi:32799
  48366. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  48367. msgstr ""
  48368. #. type: deftypevr
  48369. #: guix-git/doc/guix.texi:32804
  48370. #, no-wrap
  48371. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  48372. msgstr ""
  48373. #. type: deftypevr
  48374. #: guix-git/doc/guix.texi:32807
  48375. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  48376. msgstr ""
  48377. #. type: deftypevr
  48378. #: guix-git/doc/guix.texi:32812
  48379. #, no-wrap
  48380. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  48381. msgstr ""
  48382. #. type: deftypevr
  48383. #: guix-git/doc/guix.texi:32815
  48384. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  48385. msgstr ""
  48386. #. type: deftypevr
  48387. #: guix-git/doc/guix.texi:32820
  48388. #, no-wrap
  48389. msgid "{@code{cgit-configuration} parameter} string strict-export"
  48390. msgstr ""
  48391. #. type: deftypevr
  48392. #: guix-git/doc/guix.texi:32823
  48393. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  48394. msgstr ""
  48395. #. type: deftypevr
  48396. #: guix-git/doc/guix.texi:32828
  48397. #, no-wrap
  48398. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  48399. msgstr ""
  48400. #. type: deftypevr
  48401. #: guix-git/doc/guix.texi:32830
  48402. msgid "URL which, if specified, will be used as root for all cgit links."
  48403. msgstr ""
  48404. #. type: deftypevr
  48405. #: guix-git/doc/guix.texi:32832
  48406. msgid "Defaults to @samp{\"/\"}."
  48407. msgstr ""
  48408. #. type: deftypevr
  48409. #: guix-git/doc/guix.texi:32835
  48410. #, no-wrap
  48411. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  48412. msgstr ""
  48413. #. type: deftypevr
  48414. #: guix-git/doc/guix.texi:32837
  48415. msgid "A list of @dfn{cgit-repo} records to use with config."
  48416. msgstr ""
  48417. #. type: deftypevr
  48418. #: guix-git/doc/guix.texi:32841
  48419. msgid "Available @code{repository-cgit-configuration} fields are:"
  48420. msgstr ""
  48421. #. type: deftypevr
  48422. #: guix-git/doc/guix.texi:32842
  48423. #, no-wrap
  48424. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  48425. msgstr ""
  48426. #. type: deftypevr
  48427. #: guix-git/doc/guix.texi:32845
  48428. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  48429. msgstr ""
  48430. #. type: deftypevr
  48431. #: guix-git/doc/guix.texi:32850
  48432. #, no-wrap
  48433. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  48434. msgstr ""
  48435. #. type: deftypevr
  48436. #: guix-git/doc/guix.texi:32852
  48437. msgid "Override the default @code{source-filter}."
  48438. msgstr ""
  48439. #. type: deftypevr
  48440. #: guix-git/doc/guix.texi:32857
  48441. #, no-wrap
  48442. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  48443. msgstr ""
  48444. #. type: deftypevr
  48445. #: guix-git/doc/guix.texi:32859
  48446. msgid "The relative URL used to access the repository."
  48447. msgstr ""
  48448. #. type: deftypevr
  48449. #: guix-git/doc/guix.texi:32864
  48450. #, no-wrap
  48451. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  48452. msgstr ""
  48453. #. type: deftypevr
  48454. #: guix-git/doc/guix.texi:32866
  48455. msgid "Override the default @code{about-filter}."
  48456. msgstr ""
  48457. #. type: deftypevr
  48458. #: guix-git/doc/guix.texi:32871
  48459. #, no-wrap
  48460. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  48461. msgstr ""
  48462. #. type: deftypevr
  48463. #: guix-git/doc/guix.texi:32874
  48464. 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."
  48465. msgstr ""
  48466. #. type: deftypevr
  48467. #: guix-git/doc/guix.texi:32879
  48468. #, no-wrap
  48469. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  48470. msgstr ""
  48471. #. type: deftypevr
  48472. #: guix-git/doc/guix.texi:32881
  48473. msgid "A list of URLs which can be used to clone repo."
  48474. msgstr ""
  48475. #. type: deftypevr
  48476. #: guix-git/doc/guix.texi:32886
  48477. #, no-wrap
  48478. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  48479. msgstr ""
  48480. #. type: deftypevr
  48481. #: guix-git/doc/guix.texi:32888
  48482. msgid "Override the default @code{commit-filter}."
  48483. msgstr ""
  48484. #. type: deftypevr
  48485. #: guix-git/doc/guix.texi:32893
  48486. #, no-wrap
  48487. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  48488. msgstr ""
  48489. #. type: deftypevr
  48490. #: guix-git/doc/guix.texi:32902
  48491. #, no-wrap
  48492. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  48493. msgstr ""
  48494. #. type: deftypevr
  48495. #: guix-git/doc/guix.texi:32907
  48496. 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."
  48497. msgstr ""
  48498. #. type: deftypevr
  48499. #: guix-git/doc/guix.texi:32912
  48500. #, no-wrap
  48501. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  48502. msgstr ""
  48503. #. type: deftypevr
  48504. #: guix-git/doc/guix.texi:32914
  48505. msgid "The value to show as repository description."
  48506. msgstr ""
  48507. #. type: deftypevr
  48508. #: guix-git/doc/guix.texi:32919
  48509. #, no-wrap
  48510. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  48511. msgstr ""
  48512. #. type: deftypevr
  48513. #: guix-git/doc/guix.texi:32921
  48514. msgid "The value to show as repository homepage."
  48515. msgstr ""
  48516. #. type: deftypevr
  48517. #: guix-git/doc/guix.texi:32926
  48518. #, no-wrap
  48519. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  48520. msgstr ""
  48521. #. type: deftypevr
  48522. #: guix-git/doc/guix.texi:32928
  48523. msgid "Override the default @code{email-filter}."
  48524. msgstr ""
  48525. #. type: deftypevr
  48526. #: guix-git/doc/guix.texi:32933
  48527. #, no-wrap
  48528. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  48529. msgstr ""
  48530. #. type: deftypevr
  48531. #: guix-git/doc/guix.texi:32936
  48532. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  48533. msgstr ""
  48534. #. type: deftypevr
  48535. #: guix-git/doc/guix.texi:32941
  48536. #, no-wrap
  48537. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  48538. msgstr ""
  48539. #. type: deftypevr
  48540. #: guix-git/doc/guix.texi:32944
  48541. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  48542. msgstr ""
  48543. #. type: deftypevr
  48544. #: guix-git/doc/guix.texi:32949
  48545. #, no-wrap
  48546. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  48547. msgstr ""
  48548. #. type: deftypevr
  48549. #: guix-git/doc/guix.texi:32952
  48550. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  48551. msgstr ""
  48552. #. type: deftypevr
  48553. #: guix-git/doc/guix.texi:32957
  48554. #, no-wrap
  48555. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  48556. msgstr ""
  48557. #. type: deftypevr
  48558. #: guix-git/doc/guix.texi:32965
  48559. #, no-wrap
  48560. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  48561. msgstr ""
  48562. #. type: deftypevr
  48563. #: guix-git/doc/guix.texi:32968
  48564. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  48565. msgstr ""
  48566. #. type: deftypevr
  48567. #: guix-git/doc/guix.texi:32973
  48568. #, no-wrap
  48569. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  48570. msgstr ""
  48571. #. type: deftypevr
  48572. #: guix-git/doc/guix.texi:32976
  48573. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  48574. msgstr ""
  48575. #. type: deftypevr
  48576. #: guix-git/doc/guix.texi:32981
  48577. #, no-wrap
  48578. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  48579. msgstr ""
  48580. #. type: deftypevr
  48581. #: guix-git/doc/guix.texi:32984
  48582. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  48583. msgstr ""
  48584. #. type: deftypevr
  48585. #: guix-git/doc/guix.texi:32989
  48586. #, no-wrap
  48587. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  48588. msgstr ""
  48589. #. type: deftypevr
  48590. #: guix-git/doc/guix.texi:32991
  48591. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  48592. msgstr ""
  48593. #. type: deftypevr
  48594. #: guix-git/doc/guix.texi:32996
  48595. #, no-wrap
  48596. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  48597. msgstr ""
  48598. #. type: deftypevr
  48599. #: guix-git/doc/guix.texi:32999
  48600. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  48601. msgstr ""
  48602. #. type: deftypevr
  48603. #: guix-git/doc/guix.texi:33004
  48604. #, no-wrap
  48605. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  48606. msgstr ""
  48607. #. type: deftypevr
  48608. #: guix-git/doc/guix.texi:33011
  48609. #, no-wrap
  48610. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  48611. msgstr ""
  48612. #. type: deftypevr
  48613. #: guix-git/doc/guix.texi:33013
  48614. msgid "Override the default @code{owner-filter}."
  48615. msgstr ""
  48616. #. type: deftypevr
  48617. #: guix-git/doc/guix.texi:33018
  48618. #, no-wrap
  48619. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  48620. msgstr ""
  48621. #. type: deftypevr
  48622. #: guix-git/doc/guix.texi:33022
  48623. 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."
  48624. msgstr ""
  48625. #. type: deftypevr
  48626. #: guix-git/doc/guix.texi:33027
  48627. #, no-wrap
  48628. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  48629. msgstr ""
  48630. #. type: deftypevr
  48631. #: guix-git/doc/guix.texi:33031
  48632. 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."
  48633. msgstr ""
  48634. #. type: deftypevr
  48635. #: guix-git/doc/guix.texi:33036
  48636. #, no-wrap
  48637. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  48638. msgstr ""
  48639. #. type: deftypevr
  48640. #: guix-git/doc/guix.texi:33038
  48641. msgid "Override the default maximum statistics period."
  48642. msgstr ""
  48643. #. type: deftypevr
  48644. #: guix-git/doc/guix.texi:33043
  48645. #, no-wrap
  48646. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  48647. msgstr ""
  48648. #. type: deftypevr
  48649. #: guix-git/doc/guix.texi:33045
  48650. msgid "The value to show as repository name."
  48651. msgstr ""
  48652. #. type: deftypevr
  48653. #: guix-git/doc/guix.texi:33050
  48654. #, no-wrap
  48655. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  48656. msgstr ""
  48657. #. type: deftypevr
  48658. #: guix-git/doc/guix.texi:33052
  48659. msgid "A value used to identify the owner of the repository."
  48660. msgstr ""
  48661. #. type: deftypevr
  48662. #: guix-git/doc/guix.texi:33057
  48663. #, no-wrap
  48664. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  48665. msgstr ""
  48666. #. type: deftypevr
  48667. #: guix-git/doc/guix.texi:33059
  48668. msgid "An absolute path to the repository directory."
  48669. msgstr ""
  48670. #. type: deftypevr
  48671. #: guix-git/doc/guix.texi:33064
  48672. #, no-wrap
  48673. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  48674. msgstr ""
  48675. #. type: deftypevr
  48676. #: guix-git/doc/guix.texi:33067
  48677. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  48678. msgstr ""
  48679. #. type: deftypevr
  48680. #: guix-git/doc/guix.texi:33072
  48681. #, no-wrap
  48682. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  48683. msgstr ""
  48684. #. type: deftypevr
  48685. #: guix-git/doc/guix.texi:33080
  48686. #, no-wrap
  48687. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  48688. msgstr ""
  48689. #. type: deftypevr
  48690. #: guix-git/doc/guix.texi:33082 guix-git/doc/guix.texi:33091
  48691. msgid "Extra options will be appended to cgitrc file."
  48692. msgstr ""
  48693. #. type: deftypevr
  48694. #: guix-git/doc/guix.texi:33089
  48695. #, no-wrap
  48696. msgid "{@code{cgit-configuration} parameter} list extra-options"
  48697. msgstr ""
  48698. #. type: Plain text
  48699. #: guix-git/doc/guix.texi:33103
  48700. 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."
  48701. msgstr ""
  48702. #. type: Plain text
  48703. #: guix-git/doc/guix.texi:33105
  48704. msgid "Available @code{opaque-cgit-configuration} fields are:"
  48705. msgstr ""
  48706. #. type: deftypevr
  48707. #: guix-git/doc/guix.texi:33106
  48708. #, no-wrap
  48709. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  48710. msgstr ""
  48711. #. type: deftypevr
  48712. #: guix-git/doc/guix.texi:33108
  48713. msgid "The cgit package."
  48714. msgstr ""
  48715. #. type: deftypevr
  48716. #: guix-git/doc/guix.texi:33110
  48717. #, no-wrap
  48718. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  48719. msgstr ""
  48720. #. type: deftypevr
  48721. #: guix-git/doc/guix.texi:33112
  48722. msgid "The contents of the @code{cgitrc}, as a string."
  48723. msgstr ""
  48724. #. type: Plain text
  48725. #: guix-git/doc/guix.texi:33116
  48726. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  48727. msgstr ""
  48728. #. type: lisp
  48729. #: guix-git/doc/guix.texi:33121
  48730. #, no-wrap
  48731. msgid ""
  48732. "(service cgit-service-type\n"
  48733. " (opaque-cgit-configuration\n"
  48734. " (cgitrc \"\")))\n"
  48735. msgstr ""
  48736. #. type: subsubheading
  48737. #: guix-git/doc/guix.texi:33123
  48738. #, no-wrap
  48739. msgid "Gitolite Service"
  48740. msgstr ""
  48741. #. type: cindex
  48742. #: guix-git/doc/guix.texi:33125
  48743. #, no-wrap
  48744. msgid "Gitolite service"
  48745. msgstr ""
  48746. #. type: cindex
  48747. #: guix-git/doc/guix.texi:33126
  48748. #, no-wrap
  48749. msgid "Git, hosting"
  48750. msgstr ""
  48751. #. type: Plain text
  48752. #: guix-git/doc/guix.texi:33129
  48753. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  48754. msgstr ""
  48755. #. type: Plain text
  48756. #: guix-git/doc/guix.texi:33132
  48757. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  48758. msgstr ""
  48759. #. type: Plain text
  48760. #: guix-git/doc/guix.texi:33135
  48761. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  48762. msgstr ""
  48763. #. type: lisp
  48764. #: guix-git/doc/guix.texi:33142
  48765. #, no-wrap
  48766. msgid ""
  48767. "(service gitolite-service-type\n"
  48768. " (gitolite-configuration\n"
  48769. " (admin-pubkey (plain-file\n"
  48770. " \"yourname.pub\"\n"
  48771. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  48772. msgstr ""
  48773. #. type: Plain text
  48774. #: guix-git/doc/guix.texi:33147
  48775. 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."
  48776. msgstr ""
  48777. #. type: example
  48778. #: guix-git/doc/guix.texi:33150
  48779. #, no-wrap
  48780. msgid "git clone git@@example.com:gitolite-admin\n"
  48781. msgstr ""
  48782. #. type: Plain text
  48783. #: guix-git/doc/guix.texi:33156
  48784. 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''."
  48785. msgstr ""
  48786. #. type: deftp
  48787. #: guix-git/doc/guix.texi:33157
  48788. #, no-wrap
  48789. msgid "{Data Type} gitolite-configuration"
  48790. msgstr ""
  48791. #. type: deftp
  48792. #: guix-git/doc/guix.texi:33159
  48793. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  48794. msgstr ""
  48795. #. type: item
  48796. #: guix-git/doc/guix.texi:33161
  48797. #, no-wrap
  48798. msgid "@code{package} (default: @var{gitolite})"
  48799. msgstr ""
  48800. #. type: table
  48801. #: guix-git/doc/guix.texi:33163
  48802. msgid "Gitolite package to use."
  48803. msgstr ""
  48804. #. type: item
  48805. #: guix-git/doc/guix.texi:33164
  48806. #, no-wrap
  48807. msgid "@code{user} (default: @var{git})"
  48808. msgstr ""
  48809. #. type: table
  48810. #: guix-git/doc/guix.texi:33167
  48811. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  48812. msgstr ""
  48813. #. type: item
  48814. #: guix-git/doc/guix.texi:33168
  48815. #, no-wrap
  48816. msgid "@code{group} (default: @var{git})"
  48817. msgstr ""
  48818. #. type: table
  48819. #: guix-git/doc/guix.texi:33170
  48820. msgid "Group to use for Gitolite."
  48821. msgstr ""
  48822. #. type: item
  48823. #: guix-git/doc/guix.texi:33171
  48824. #, no-wrap
  48825. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  48826. msgstr ""
  48827. #. type: table
  48828. #: guix-git/doc/guix.texi:33173
  48829. msgid "Directory in which to store the Gitolite configuration and repositories."
  48830. msgstr ""
  48831. #. type: item
  48832. #: guix-git/doc/guix.texi:33174
  48833. #, no-wrap
  48834. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  48835. msgstr ""
  48836. #. type: table
  48837. #: guix-git/doc/guix.texi:33177
  48838. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  48839. msgstr ""
  48840. #. type: item
  48841. #: guix-git/doc/guix.texi:33178
  48842. #, no-wrap
  48843. msgid "@code{admin-pubkey} (default: @var{#f})"
  48844. msgstr ""
  48845. #. type: table
  48846. #: guix-git/doc/guix.texi:33182
  48847. 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."
  48848. msgstr ""
  48849. #. type: table
  48850. #: guix-git/doc/guix.texi:33184
  48851. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  48852. msgstr ""
  48853. #. type: lisp
  48854. #: guix-git/doc/guix.texi:33187
  48855. #, no-wrap
  48856. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  48857. msgstr ""
  48858. #. type: deftp
  48859. #: guix-git/doc/guix.texi:33192
  48860. #, no-wrap
  48861. msgid "{Data Type} gitolite-rc-file"
  48862. msgstr ""
  48863. #. type: deftp
  48864. #: guix-git/doc/guix.texi:33194
  48865. msgid "Data type representing the Gitolite RC file."
  48866. msgstr ""
  48867. #. type: item
  48868. #: guix-git/doc/guix.texi:33196
  48869. #, no-wrap
  48870. msgid "@code{umask} (default: @code{#o0077})"
  48871. msgstr ""
  48872. #. type: table
  48873. #: guix-git/doc/guix.texi:33199
  48874. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  48875. msgstr ""
  48876. #. type: table
  48877. #: guix-git/doc/guix.texi:33203
  48878. 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."
  48879. msgstr ""
  48880. #. type: item
  48881. #: guix-git/doc/guix.texi:33204
  48882. #, no-wrap
  48883. msgid "@code{unsafe-pattern} (default: @code{#f})"
  48884. msgstr ""
  48885. #. type: table
  48886. #: guix-git/doc/guix.texi:33209
  48887. msgid "An optional Perl regular expression for catching unsafe configurations in the configuration file. See @uref{https://gitolite.com/gitolite/git-config.html#compensating-for-unsafe_patt, Gitolite's documentation} for more information."
  48888. msgstr ""
  48889. #. type: table
  48890. #: guix-git/doc/guix.texi:33216
  48891. msgid "When the value is not @code{#f}, it should be a string containing a Perl regular expression, such as @samp{\"[`~#\\$\\&()|;<>]\"}, which is the default value used by gitolite. It rejects any special character in configuration that might be interpreted by a shell, which is useful when sharing the administration burden with other people that do not otherwise have shell access on the server."
  48892. msgstr ""
  48893. #. type: item
  48894. #: guix-git/doc/guix.texi:33217
  48895. #, no-wrap
  48896. msgid "@code{git-config-keys} (default: @code{\"\"})"
  48897. msgstr ""
  48898. #. type: table
  48899. #: guix-git/doc/guix.texi:33220
  48900. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  48901. msgstr ""
  48902. #. type: item
  48903. #: guix-git/doc/guix.texi:33221
  48904. #, no-wrap
  48905. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  48906. msgstr ""
  48907. #. type: table
  48908. #: guix-git/doc/guix.texi:33223
  48909. msgid "Set the role names allowed to be used by users running the perms command."
  48910. msgstr ""
  48911. #. type: item
  48912. #: guix-git/doc/guix.texi:33224
  48913. #, no-wrap
  48914. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  48915. msgstr ""
  48916. #. type: table
  48917. #: guix-git/doc/guix.texi:33226
  48918. msgid "This setting controls the commands and features to enable within Gitolite."
  48919. msgstr ""
  48920. #. type: subsubheading
  48921. #: guix-git/doc/guix.texi:33231
  48922. #, no-wrap
  48923. msgid "Gitile Service"
  48924. msgstr ""
  48925. #. type: cindex
  48926. #: guix-git/doc/guix.texi:33233
  48927. #, no-wrap
  48928. msgid "Gitile service"
  48929. msgstr ""
  48930. #. type: cindex
  48931. #: guix-git/doc/guix.texi:33234
  48932. #, no-wrap
  48933. msgid "Git, forge"
  48934. msgstr ""
  48935. #. type: Plain text
  48936. #: guix-git/doc/guix.texi:33237
  48937. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  48938. msgstr ""
  48939. #. type: Plain text
  48940. #: guix-git/doc/guix.texi:33243
  48941. msgid "Gitile works best in collaboration with Gitolite, and will serve the public repositories from Gitolite by default. The service should listen only on a local port, and a webserver should be configured to serve static resources. The gitile service provides an easy way to extend the Nginx service for that purpose (@pxref{NGINX})."
  48942. msgstr ""
  48943. #. type: Plain text
  48944. #: guix-git/doc/guix.texi:33247
  48945. msgid "The following example will configure Gitile to serve repositories from a custom location, with some default messages for the home page and the footers."
  48946. msgstr ""
  48947. #. type: lisp
  48948. #: guix-git/doc/guix.texi:33270
  48949. #, no-wrap
  48950. msgid ""
  48951. "(service gitile-service-type\n"
  48952. " (gitile-configuration\n"
  48953. " (repositories \"/srv/git\")\n"
  48954. " (base-git-url \"https://myweb.site/git\")\n"
  48955. " (index-title \"My git repositories\")\n"
  48956. " (intro '((p \"This is all my public work!\")))\n"
  48957. " (footer '((p \"This is the end\")))\n"
  48958. " (nginx-server-block\n"
  48959. " (nginx-server-configuration\n"
  48960. " (ssl-certificate\n"
  48961. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  48962. " (ssl-certificate-key\n"
  48963. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  48964. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  48965. " (locations\n"
  48966. " (list\n"
  48967. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  48968. " (git-http-nginx-location-configuration\n"
  48969. " (git-http-configuration\n"
  48970. " (uri-path \"/git/\")\n"
  48971. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  48972. msgstr ""
  48973. #. type: Plain text
  48974. #: guix-git/doc/guix.texi:33279
  48975. msgid "In addition to the configuration record, you should configure your git repositories to contain some optional information. First, your public repositories need to contain the @file{git-daemon-export-ok} magic file that allows Git to export the repository. Gitile uses the presence of this file to detect public repositories it should make accessible. To do so with Gitolite for instance, modify your @file{conf/gitolite.conf} to include this in the repositories you want to make public:"
  48976. msgstr ""
  48977. #. type: example
  48978. #: guix-git/doc/guix.texi:33283
  48979. #, no-wrap
  48980. msgid ""
  48981. "repo foo\n"
  48982. " R = daemon\n"
  48983. msgstr ""
  48984. #. type: Plain text
  48985. #: guix-git/doc/guix.texi:33289
  48986. msgid "In addition, Gitile can read the repository configuration to display more information on the repository. Gitile uses the gitweb namespace for its configuration. As an example, you can use the following in your @file{conf/gitolite.conf}:"
  48987. msgstr ""
  48988. #. type: example
  48989. #: guix-git/doc/guix.texi:33296
  48990. #, no-wrap
  48991. msgid ""
  48992. "repo foo\n"
  48993. " R = daemon\n"
  48994. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  48995. " config gitweb.name = The Foo Project\n"
  48996. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  48997. msgstr ""
  48998. #. type: Plain text
  48999. #: guix-git/doc/guix.texi:33302
  49000. msgid "Do not forget to commit and push these changes once you are satisfied. You may need to change your gitolite configuration to allow the previous configuration options to be set. One way to do that is to add the following service definition:"
  49001. msgstr ""
  49002. #. type: lisp
  49003. #: guix-git/doc/guix.texi:33314
  49004. #, no-wrap
  49005. msgid ""
  49006. "(service gitolite-service-type\n"
  49007. " (gitolite-configuration\n"
  49008. " (admin-pubkey (local-file \"key.pub\"))\n"
  49009. " (rc-file\n"
  49010. " (gitolite-rc-file\n"
  49011. " (umask #o0027)\n"
  49012. " ;; Allow to set any configuration key\n"
  49013. " (git-config-keys \".*\")\n"
  49014. " ;; Allow any text as a valid configuration value\n"
  49015. " (unsafe-patt \"^$\")))))\n"
  49016. msgstr ""
  49017. #. type: deftp
  49018. #: guix-git/doc/guix.texi:33316
  49019. #, no-wrap
  49020. msgid "{Data Type} gitile-configuration"
  49021. msgstr ""
  49022. #. type: deftp
  49023. #: guix-git/doc/guix.texi:33318
  49024. msgid "Data type representing the configuration for @code{gitile-service-type}."
  49025. msgstr ""
  49026. #. type: item
  49027. #: guix-git/doc/guix.texi:33320
  49028. #, no-wrap
  49029. msgid "@code{package} (default: @var{gitile})"
  49030. msgstr ""
  49031. #. type: table
  49032. #: guix-git/doc/guix.texi:33322
  49033. msgid "Gitile package to use."
  49034. msgstr ""
  49035. #. type: table
  49036. #: guix-git/doc/guix.texi:33325
  49037. msgid "The host on which gitile is listening."
  49038. msgstr ""
  49039. #. type: item
  49040. #: guix-git/doc/guix.texi:33326
  49041. #, no-wrap
  49042. msgid "@code{port} (default: @code{8080})"
  49043. msgstr ""
  49044. #. type: table
  49045. #: guix-git/doc/guix.texi:33328
  49046. msgid "The port on which gitile is listening."
  49047. msgstr ""
  49048. #. type: item
  49049. #: guix-git/doc/guix.texi:33329
  49050. #, no-wrap
  49051. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  49052. msgstr ""
  49053. #. type: table
  49054. #: guix-git/doc/guix.texi:33331
  49055. msgid "The location of the database."
  49056. msgstr ""
  49057. #. type: item
  49058. #: guix-git/doc/guix.texi:33332
  49059. #, no-wrap
  49060. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  49061. msgstr ""
  49062. #. type: table
  49063. #: guix-git/doc/guix.texi:33336
  49064. msgid "The location of the repositories. Note that only public repositories will be shown by Gitile. To make a repository public, add an empty @file{git-daemon-export-ok} file at the root of that repository."
  49065. msgstr ""
  49066. #. type: code{#1}
  49067. #: guix-git/doc/guix.texi:33337
  49068. #, no-wrap
  49069. msgid "base-git-url"
  49070. msgstr ""
  49071. #. type: table
  49072. #: guix-git/doc/guix.texi:33339
  49073. msgid "The base git url that will be used to show clone commands."
  49074. msgstr ""
  49075. #. type: item
  49076. #: guix-git/doc/guix.texi:33340
  49077. #, no-wrap
  49078. msgid "@code{index-title} (default: @code{\"Index\"})"
  49079. msgstr ""
  49080. #. type: table
  49081. #: guix-git/doc/guix.texi:33342
  49082. msgid "The page title for the index page that lists all the available repositories."
  49083. msgstr ""
  49084. #. type: item
  49085. #: guix-git/doc/guix.texi:33343
  49086. #, no-wrap
  49087. msgid "@code{intro} (default: @code{'()})"
  49088. msgstr ""
  49089. #. type: table
  49090. #: guix-git/doc/guix.texi:33346
  49091. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  49092. msgstr ""
  49093. #. type: item
  49094. #: guix-git/doc/guix.texi:33347
  49095. #, no-wrap
  49096. msgid "@code{footer} (default: @code{'()})"
  49097. msgstr ""
  49098. #. type: table
  49099. #: guix-git/doc/guix.texi:33350
  49100. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  49101. msgstr ""
  49102. #. type: code{#1}
  49103. #: guix-git/doc/guix.texi:33351
  49104. #, no-wrap
  49105. msgid "nginx-server-block"
  49106. msgstr ""
  49107. #. type: table
  49108. #: guix-git/doc/guix.texi:33354
  49109. msgid "An nginx server block that will be extended and used as a reverse proxy by Gitile to serve its pages, and as a normal web server to serve its assets."
  49110. msgstr ""
  49111. #. type: table
  49112. #: guix-git/doc/guix.texi:33358
  49113. msgid "You can use this block to add more custom URLs to your domain, such as a @code{/git/} URL for anonymous clones, or serving any other files you would like to serve."
  49114. msgstr ""
  49115. #. type: subsubheading
  49116. #: guix-git/doc/guix.texi:33365
  49117. #, no-wrap
  49118. msgid "The Battle for Wesnoth Service"
  49119. msgstr ""
  49120. #. type: cindex
  49121. #: guix-git/doc/guix.texi:33366
  49122. #, no-wrap
  49123. msgid "wesnothd"
  49124. msgstr ""
  49125. #. type: Plain text
  49126. #: guix-git/doc/guix.texi:33370
  49127. 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)."
  49128. msgstr ""
  49129. #. type: defvar
  49130. #: guix-git/doc/guix.texi:33371
  49131. #, no-wrap
  49132. msgid "{Scheme Variable} wesnothd-service-type"
  49133. msgstr ""
  49134. #. type: defvar
  49135. #: guix-git/doc/guix.texi:33375
  49136. 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:"
  49137. msgstr ""
  49138. #. type: lisp
  49139. #: guix-git/doc/guix.texi:33378
  49140. #, no-wrap
  49141. msgid "(service wesnothd-service-type)\n"
  49142. msgstr ""
  49143. #. type: deftp
  49144. #: guix-git/doc/guix.texi:33381
  49145. #, no-wrap
  49146. msgid "{Data Type} wesnothd-configuration"
  49147. msgstr ""
  49148. #. type: deftp
  49149. #: guix-git/doc/guix.texi:33383
  49150. msgid "Data type representing the configuration of @command{wesnothd}."
  49151. msgstr ""
  49152. #. type: item
  49153. #: guix-git/doc/guix.texi:33385
  49154. #, no-wrap
  49155. msgid "@code{package} (default: @code{wesnoth-server})"
  49156. msgstr ""
  49157. #. type: table
  49158. #: guix-git/doc/guix.texi:33387
  49159. msgid "The wesnoth server package to use."
  49160. msgstr ""
  49161. #. type: item
  49162. #: guix-git/doc/guix.texi:33388
  49163. #, no-wrap
  49164. msgid "@code{port} (default: @code{15000})"
  49165. msgstr ""
  49166. #. type: table
  49167. #: guix-git/doc/guix.texi:33390 guix-git/doc/guix.texi:33781
  49168. msgid "The port to bind the server to."
  49169. msgstr ""
  49170. #. type: cindex
  49171. #: guix-git/doc/guix.texi:33396
  49172. #, no-wrap
  49173. msgid "pam-mount"
  49174. msgstr ""
  49175. #. type: Plain text
  49176. #: guix-git/doc/guix.texi:33401
  49177. 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."
  49178. msgstr ""
  49179. #. type: defvar
  49180. #: guix-git/doc/guix.texi:33402
  49181. #, no-wrap
  49182. msgid "{Scheme Variable} pam-mount-service-type"
  49183. msgstr ""
  49184. #. type: defvar
  49185. #: guix-git/doc/guix.texi:33404
  49186. msgid "Service type for PAM Mount support."
  49187. msgstr ""
  49188. #. type: deftp
  49189. #: guix-git/doc/guix.texi:33406
  49190. #, no-wrap
  49191. msgid "{Data Type} pam-mount-configuration"
  49192. msgstr ""
  49193. #. type: deftp
  49194. #: guix-git/doc/guix.texi:33408
  49195. msgid "Data type representing the configuration of PAM Mount."
  49196. msgstr ""
  49197. #. type: code{#1}
  49198. #: guix-git/doc/guix.texi:33412
  49199. #, no-wrap
  49200. msgid "rules"
  49201. msgstr ""
  49202. #. type: table
  49203. #: guix-git/doc/guix.texi:33415
  49204. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  49205. msgstr ""
  49206. #. type: table
  49207. #: guix-git/doc/guix.texi:33419
  49208. 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:"
  49209. msgstr ""
  49210. #. type: lisp
  49211. #: guix-git/doc/guix.texi:33434
  49212. #, no-wrap
  49213. msgid ""
  49214. "`((debug (@@ (enable \"0\")))\n"
  49215. " (mntoptions (@@ (allow ,(string-join\n"
  49216. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49217. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49218. " \"allow_root\" \"allow_other\")\n"
  49219. " \",\"))))\n"
  49220. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49221. " (logout (@@ (wait \"0\")\n"
  49222. " (hup \"0\")\n"
  49223. " (term \"no\")\n"
  49224. " (kill \"no\")))\n"
  49225. " (mkmountpoint (@@ (enable \"1\")\n"
  49226. " (remove \"true\"))))\n"
  49227. msgstr ""
  49228. #. type: table
  49229. #: guix-git/doc/guix.texi:33440
  49230. 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:"
  49231. msgstr ""
  49232. #. type: lisp
  49233. #: guix-git/doc/guix.texi:33465
  49234. #, no-wrap
  49235. msgid ""
  49236. "(define pam-mount-rules\n"
  49237. "`((debug (@@ (enable \"0\")))\n"
  49238. " (volume (@@ (user \"alice\")\n"
  49239. " (fstype \"crypt\")\n"
  49240. " (path \"/dev/sda2\")\n"
  49241. " (mountpoint \"/home/alice\")))\n"
  49242. " (volume (@@ (user \"bob\")\n"
  49243. " (fstype \"auto\")\n"
  49244. " (path \"/dev/sdb3\")\n"
  49245. " (mountpoint \"/home/bob/data\")\n"
  49246. " (options \"defaults,autodefrag,compress\")))\n"
  49247. " (mntoptions (@@ (allow ,(string-join\n"
  49248. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49249. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49250. " \"allow_root\" \"allow_other\")\n"
  49251. " \",\"))))\n"
  49252. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49253. " (logout (@@ (wait \"0\")\n"
  49254. " (hup \"0\")\n"
  49255. " (term \"no\")\n"
  49256. " (kill \"no\")))\n"
  49257. " (mkmountpoint (@@ (enable \"1\")\n"
  49258. " (remove \"true\")))))\n"
  49259. "\n"
  49260. msgstr ""
  49261. #. type: lisp
  49262. #: guix-git/doc/guix.texi:33469
  49263. #, no-wrap
  49264. msgid ""
  49265. "(service pam-mount-service-type\n"
  49266. " (pam-mount-configuration\n"
  49267. " (rules pam-mount-rules)))\n"
  49268. msgstr ""
  49269. #. type: table
  49270. #: guix-git/doc/guix.texi:33473
  49271. 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}."
  49272. msgstr ""
  49273. #. type: subsubheading
  49274. #: guix-git/doc/guix.texi:33480
  49275. #, no-wrap
  49276. msgid "Guix Build Coordinator"
  49277. msgstr ""
  49278. #. type: Plain text
  49279. #: guix-git/doc/guix.texi:33486
  49280. 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."
  49281. msgstr ""
  49282. #. type: Plain text
  49283. #: guix-git/doc/guix.texi:33492
  49284. 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."
  49285. msgstr ""
  49286. #. type: Plain text
  49287. #: guix-git/doc/guix.texi:33496
  49288. 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."
  49289. msgstr ""
  49290. #. type: defvar
  49291. #: guix-git/doc/guix.texi:33497
  49292. #, no-wrap
  49293. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  49294. msgstr ""
  49295. #. type: defvar
  49296. #: guix-git/doc/guix.texi:33500
  49297. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  49298. msgstr ""
  49299. #. type: deftp
  49300. #: guix-git/doc/guix.texi:33502
  49301. #, no-wrap
  49302. msgid "{Data Type} guix-build-coordinator-configuration"
  49303. msgstr ""
  49304. #. type: deftp
  49305. #: guix-git/doc/guix.texi:33504
  49306. msgid "Data type representing the configuration of the Guix Build Coordinator."
  49307. msgstr ""
  49308. #. type: item
  49309. #: guix-git/doc/guix.texi:33506 guix-git/doc/guix.texi:33676
  49310. #, no-wrap
  49311. msgid "@code{package} (default: @code{guix-build-coordinator})"
  49312. msgstr ""
  49313. #. type: table
  49314. #: guix-git/doc/guix.texi:33508 guix-git/doc/guix.texi:33552
  49315. #: guix-git/doc/guix.texi:33678
  49316. msgid "The Guix Build Coordinator package to use."
  49317. msgstr ""
  49318. #. type: item
  49319. #: guix-git/doc/guix.texi:33509
  49320. #, no-wrap
  49321. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  49322. msgstr ""
  49323. #. type: table
  49324. #: guix-git/doc/guix.texi:33511 guix-git/doc/guix.texi:33555
  49325. #: guix-git/doc/guix.texi:33681 guix-git/doc/guix.texi:33727
  49326. #: guix-git/doc/guix.texi:33775
  49327. msgid "The system user to run the service as."
  49328. msgstr ""
  49329. #. type: item
  49330. #: guix-git/doc/guix.texi:33512
  49331. #, no-wrap
  49332. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  49333. msgstr ""
  49334. #. type: table
  49335. #: guix-git/doc/guix.texi:33514 guix-git/doc/guix.texi:33730
  49336. #: guix-git/doc/guix.texi:33778
  49337. msgid "The system group to run the service as."
  49338. msgstr ""
  49339. #. type: item
  49340. #: guix-git/doc/guix.texi:33515
  49341. #, no-wrap
  49342. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  49343. msgstr ""
  49344. #. type: table
  49345. #: guix-git/doc/guix.texi:33517
  49346. msgid "The URI to use for the database."
  49347. msgstr ""
  49348. #. type: item
  49349. #: guix-git/doc/guix.texi:33518
  49350. #, no-wrap
  49351. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  49352. msgstr ""
  49353. #. type: table
  49354. #: guix-git/doc/guix.texi:33520
  49355. msgid "The URI describing how to listen to requests from agent processes."
  49356. msgstr ""
  49357. #. type: item
  49358. #: guix-git/doc/guix.texi:33521
  49359. #, no-wrap
  49360. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  49361. msgstr ""
  49362. #. type: table
  49363. #: guix-git/doc/guix.texi:33525
  49364. 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."
  49365. msgstr ""
  49366. #. type: item
  49367. #: guix-git/doc/guix.texi:33526
  49368. #, no-wrap
  49369. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  49370. msgstr ""
  49371. #. type: table
  49372. #: guix-git/doc/guix.texi:33530
  49373. 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."
  49374. msgstr ""
  49375. #. type: item
  49376. #: guix-git/doc/guix.texi:33531
  49377. #, no-wrap
  49378. msgid "@code{hooks} (default: @var{'()})"
  49379. msgstr ""
  49380. #. type: table
  49381. #: guix-git/doc/guix.texi:33534
  49382. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  49383. msgstr ""
  49384. #. type: item
  49385. #: guix-git/doc/guix.texi:33535
  49386. #, no-wrap
  49387. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  49388. msgstr ""
  49389. #. type: table
  49390. #: guix-git/doc/guix.texi:33537
  49391. msgid "The Guile package with which to run the Guix Build Coordinator."
  49392. msgstr ""
  49393. #. type: defvar
  49394. #: guix-git/doc/guix.texi:33541
  49395. #, no-wrap
  49396. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  49397. msgstr ""
  49398. #. type: defvar
  49399. #: guix-git/doc/guix.texi:33544
  49400. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  49401. msgstr ""
  49402. #. type: deftp
  49403. #: guix-git/doc/guix.texi:33546
  49404. #, no-wrap
  49405. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  49406. msgstr ""
  49407. #. type: deftp
  49408. #: guix-git/doc/guix.texi:33548
  49409. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  49410. msgstr ""
  49411. #. type: item
  49412. #: guix-git/doc/guix.texi:33550
  49413. #, no-wrap
  49414. msgid "@code{package} (default: @code{guix-build-coordinator/agent-only})"
  49415. msgstr ""
  49416. #. type: item
  49417. #: guix-git/doc/guix.texi:33553
  49418. #, no-wrap
  49419. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  49420. msgstr ""
  49421. #. type: item
  49422. #: guix-git/doc/guix.texi:33556
  49423. #, no-wrap
  49424. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  49425. msgstr ""
  49426. #. type: table
  49427. #: guix-git/doc/guix.texi:33558 guix-git/doc/guix.texi:33684
  49428. msgid "The URI to use when connecting to the coordinator."
  49429. msgstr ""
  49430. #. type: code{#1}
  49431. #: guix-git/doc/guix.texi:33559
  49432. #, no-wrap
  49433. msgid "authentication"
  49434. msgstr ""
  49435. #. type: table
  49436. #: guix-git/doc/guix.texi:33562
  49437. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  49438. msgstr ""
  49439. #. type: item
  49440. #: guix-git/doc/guix.texi:33563 guix-git/doc/guix.texi:33685
  49441. #, no-wrap
  49442. msgid "@code{systems} (default: @code{#f})"
  49443. msgstr ""
  49444. #. type: table
  49445. #: guix-git/doc/guix.texi:33566
  49446. 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."
  49447. msgstr ""
  49448. #. type: item
  49449. #: guix-git/doc/guix.texi:33567
  49450. #, no-wrap
  49451. msgid "@code{max-parallel-builds} (default: @code{1})"
  49452. msgstr ""
  49453. #. type: table
  49454. #: guix-git/doc/guix.texi:33569
  49455. msgid "The number of builds to perform in parallel."
  49456. msgstr ""
  49457. #. type: item
  49458. #: guix-git/doc/guix.texi:33570
  49459. #, no-wrap
  49460. msgid "@code{max-1min-load-average} (default: @code{#f})"
  49461. msgstr ""
  49462. #. type: table
  49463. #: guix-git/doc/guix.texi:33574
  49464. 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."
  49465. msgstr ""
  49466. #. type: table
  49467. #: guix-git/doc/guix.texi:33578
  49468. 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."
  49469. msgstr ""
  49470. #. type: item
  49471. #: guix-git/doc/guix.texi:33579
  49472. #, no-wrap
  49473. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  49474. msgstr ""
  49475. #. type: table
  49476. #: guix-git/doc/guix.texi:33582
  49477. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  49478. msgstr ""
  49479. #. type: item
  49480. #: guix-git/doc/guix.texi:33583
  49481. #, no-wrap
  49482. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  49483. msgstr ""
  49484. #. type: table
  49485. #: guix-git/doc/guix.texi:33586
  49486. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  49487. msgstr ""
  49488. #. type: deftp
  49489. #: guix-git/doc/guix.texi:33590
  49490. #, no-wrap
  49491. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  49492. msgstr ""
  49493. #. type: deftp
  49494. #: guix-git/doc/guix.texi:33593
  49495. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  49496. msgstr ""
  49497. #. type: table
  49498. #: guix-git/doc/guix.texi:33599 guix-git/doc/guix.texi:33615
  49499. 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."
  49500. msgstr ""
  49501. #. type: table
  49502. #: guix-git/doc/guix.texi:33602
  49503. msgid "The password to use when connecting to the coordinator."
  49504. msgstr ""
  49505. #. type: deftp
  49506. #: guix-git/doc/guix.texi:33606
  49507. #, no-wrap
  49508. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  49509. msgstr ""
  49510. #. type: deftp
  49511. #: guix-git/doc/guix.texi:33609
  49512. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  49513. msgstr ""
  49514. #. type: code{#1}
  49515. #: guix-git/doc/guix.texi:33616
  49516. #, no-wrap
  49517. msgid "password-file"
  49518. msgstr ""
  49519. #. type: table
  49520. #: guix-git/doc/guix.texi:33619
  49521. msgid "A file containing the password to use when connecting to the coordinator."
  49522. msgstr ""
  49523. #. type: deftp
  49524. #: guix-git/doc/guix.texi:33623
  49525. #, no-wrap
  49526. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  49527. msgstr ""
  49528. #. type: deftp
  49529. #: guix-git/doc/guix.texi:33626
  49530. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  49531. msgstr ""
  49532. #. type: code{#1}
  49533. #: guix-git/doc/guix.texi:33628 guix-git/doc/guix.texi:33645
  49534. #, fuzzy, no-wrap
  49535. msgid "agent-name"
  49536. msgstr "نام بسته"
  49537. #. type: table
  49538. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33649
  49539. 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."
  49540. msgstr ""
  49541. #. type: code{#1}
  49542. #: guix-git/doc/guix.texi:33633
  49543. #, no-wrap
  49544. msgid "token"
  49545. msgstr ""
  49546. #. type: table
  49547. #: guix-git/doc/guix.texi:33636
  49548. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49549. msgstr ""
  49550. #. type: deftp
  49551. #: guix-git/doc/guix.texi:33640
  49552. #, no-wrap
  49553. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  49554. msgstr ""
  49555. #. type: deftp
  49556. #: guix-git/doc/guix.texi:33643
  49557. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  49558. msgstr ""
  49559. #. type: code{#1}
  49560. #: guix-git/doc/guix.texi:33650
  49561. #, no-wrap
  49562. msgid "token-file"
  49563. msgstr ""
  49564. #. type: table
  49565. #: guix-git/doc/guix.texi:33653
  49566. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49567. msgstr ""
  49568. #. type: Plain text
  49569. #: guix-git/doc/guix.texi:33663
  49570. 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."
  49571. msgstr ""
  49572. #. type: defvar
  49573. #: guix-git/doc/guix.texi:33664
  49574. #, no-wrap
  49575. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  49576. msgstr ""
  49577. #. type: defvar
  49578. #: guix-git/doc/guix.texi:33669
  49579. 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."
  49580. msgstr ""
  49581. #. type: deftp
  49582. #: guix-git/doc/guix.texi:33671
  49583. #, no-wrap
  49584. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  49585. msgstr ""
  49586. #. type: deftp
  49587. #: guix-git/doc/guix.texi:33674
  49588. msgid "Data type representing the options to the queue builds from guix data service script."
  49589. msgstr ""
  49590. #. type: item
  49591. #: guix-git/doc/guix.texi:33679
  49592. #, no-wrap
  49593. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  49594. msgstr ""
  49595. #. type: item
  49596. #: guix-git/doc/guix.texi:33682
  49597. #, no-wrap
  49598. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  49599. msgstr ""
  49600. #. type: table
  49601. #: guix-git/doc/guix.texi:33687
  49602. msgid "The systems for which to fetch derivations to build."
  49603. msgstr ""
  49604. #. type: item
  49605. #: guix-git/doc/guix.texi:33688
  49606. #, no-wrap
  49607. msgid "@code{systems-and-targets} (default: @code{#f})"
  49608. msgstr ""
  49609. #. type: table
  49610. #: guix-git/doc/guix.texi:33691
  49611. msgid "An association list of system and target pairs for which to fetch derivations to build."
  49612. msgstr ""
  49613. #. type: item
  49614. #: guix-git/doc/guix.texi:33692
  49615. #, no-wrap
  49616. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  49617. msgstr ""
  49618. #. type: table
  49619. #: guix-git/doc/guix.texi:33695
  49620. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  49621. msgstr ""
  49622. #. type: item
  49623. #: guix-git/doc/guix.texi:33696
  49624. #, no-wrap
  49625. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  49626. msgstr ""
  49627. #. type: table
  49628. #: guix-git/doc/guix.texi:33699
  49629. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  49630. msgstr ""
  49631. #. type: subsubheading
  49632. #: guix-git/doc/guix.texi:33703
  49633. #, no-wrap
  49634. msgid "Guix Data Service"
  49635. msgstr ""
  49636. #. type: Plain text
  49637. #: guix-git/doc/guix.texi:33707
  49638. 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."
  49639. msgstr ""
  49640. #. type: Plain text
  49641. #: guix-git/doc/guix.texi:33710
  49642. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  49643. msgstr ""
  49644. #. type: defvar
  49645. #: guix-git/doc/guix.texi:33711
  49646. #, no-wrap
  49647. msgid "{Scheme Variable} guix-data-service-type"
  49648. msgstr ""
  49649. #. type: defvar
  49650. #: guix-git/doc/guix.texi:33716
  49651. 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."
  49652. msgstr ""
  49653. #. type: deftp
  49654. #: guix-git/doc/guix.texi:33718
  49655. #, no-wrap
  49656. msgid "{Data Type} guix-data-service-configuration"
  49657. msgstr ""
  49658. #. type: deftp
  49659. #: guix-git/doc/guix.texi:33720 guix-git/doc/guix.texi:33768
  49660. msgid "Data type representing the configuration of the Guix Data Service."
  49661. msgstr ""
  49662. #. type: item
  49663. #: guix-git/doc/guix.texi:33722
  49664. #, no-wrap
  49665. msgid "@code{package} (default: @code{guix-data-service})"
  49666. msgstr ""
  49667. #. type: table
  49668. #: guix-git/doc/guix.texi:33724
  49669. msgid "The Guix Data Service package to use."
  49670. msgstr ""
  49671. #. type: item
  49672. #: guix-git/doc/guix.texi:33725
  49673. #, no-wrap
  49674. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  49675. msgstr ""
  49676. #. type: item
  49677. #: guix-git/doc/guix.texi:33728
  49678. #, no-wrap
  49679. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  49680. msgstr ""
  49681. #. type: item
  49682. #: guix-git/doc/guix.texi:33731
  49683. #, no-wrap
  49684. msgid "@code{port} (default: @code{8765})"
  49685. msgstr ""
  49686. #. type: table
  49687. #: guix-git/doc/guix.texi:33733
  49688. msgid "The port to bind the web service to."
  49689. msgstr ""
  49690. #. type: item
  49691. #: guix-git/doc/guix.texi:33734 guix-git/doc/guix.texi:33782
  49692. #, no-wrap
  49693. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  49694. msgstr ""
  49695. #. type: table
  49696. #: guix-git/doc/guix.texi:33736
  49697. msgid "The host to bind the web service to."
  49698. msgstr ""
  49699. #. type: item
  49700. #: guix-git/doc/guix.texi:33737
  49701. #, no-wrap
  49702. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  49703. msgstr ""
  49704. #. type: table
  49705. #: guix-git/doc/guix.texi:33740
  49706. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  49707. msgstr ""
  49708. #. type: item
  49709. #: guix-git/doc/guix.texi:33741
  49710. #, no-wrap
  49711. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  49712. msgstr ""
  49713. #. type: table
  49714. #: guix-git/doc/guix.texi:33745
  49715. 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."
  49716. msgstr ""
  49717. #. type: item
  49718. #: guix-git/doc/guix.texi:33746
  49719. #, no-wrap
  49720. msgid "@code{extra-options} (default: @var{'()})"
  49721. msgstr ""
  49722. #. type: table
  49723. #: guix-git/doc/guix.texi:33748
  49724. msgid "Extra command line options for @code{guix-data-service}."
  49725. msgstr ""
  49726. #. type: item
  49727. #: guix-git/doc/guix.texi:33749
  49728. #, no-wrap
  49729. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  49730. msgstr ""
  49731. #. type: table
  49732. #: guix-git/doc/guix.texi:33751
  49733. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  49734. msgstr ""
  49735. #. type: subsubheading
  49736. #: guix-git/doc/guix.texi:33755
  49737. #, no-wrap
  49738. msgid "Nar Herder"
  49739. msgstr ""
  49740. #. type: Plain text
  49741. #: guix-git/doc/guix.texi:33758
  49742. msgid "The @uref{https://git.cbaines.net/guix/nar-herder/about/,Nar Herder} is a utility for managing a collection of nars."
  49743. msgstr ""
  49744. #. type: defvar
  49745. #: guix-git/doc/guix.texi:33759
  49746. #, no-wrap
  49747. msgid "{Scheme Variable} nar-herder-type"
  49748. msgstr ""
  49749. #. type: defvar
  49750. #: guix-git/doc/guix.texi:33764
  49751. msgid "Service type for the Guix Data Service. Its value must be a @code{nar-herder-configuration} object. The service optionally extends the getmail service, as the guix-commits mailing list is used to find out about changes in the Guix git repository."
  49752. msgstr ""
  49753. #. type: deftp
  49754. #: guix-git/doc/guix.texi:33766
  49755. #, no-wrap
  49756. msgid "{Data Type} nar-herder-configuration"
  49757. msgstr ""
  49758. #. type: item
  49759. #: guix-git/doc/guix.texi:33770
  49760. #, no-wrap
  49761. msgid "@code{package} (default: @code{nar-herder})"
  49762. msgstr ""
  49763. #. type: table
  49764. #: guix-git/doc/guix.texi:33772
  49765. msgid "The Nar Herder package to use."
  49766. msgstr ""
  49767. #. type: item
  49768. #: guix-git/doc/guix.texi:33773
  49769. #, no-wrap
  49770. msgid "@code{user} (default: @code{\"nar-herder\"})"
  49771. msgstr ""
  49772. #. type: item
  49773. #: guix-git/doc/guix.texi:33776
  49774. #, no-wrap
  49775. msgid "@code{group} (default: @code{\"nar-herder\"})"
  49776. msgstr ""
  49777. #. type: item
  49778. #: guix-git/doc/guix.texi:33779
  49779. #, no-wrap
  49780. msgid "@code{port} (default: @code{8734})"
  49781. msgstr ""
  49782. #. type: table
  49783. #: guix-git/doc/guix.texi:33784
  49784. msgid "The host to bind the server to."
  49785. msgstr ""
  49786. #. type: table
  49787. #: guix-git/doc/guix.texi:33789
  49788. msgid "Optional URL of the other Nar Herder instance which should be mirrored. This means that this Nar Herder instance will download it's database, and keep it up to date."
  49789. msgstr ""
  49790. #. type: item
  49791. #: guix-git/doc/guix.texi:33790
  49792. #, no-wrap
  49793. msgid "@code{database} (default: @code{\"/var/lib/nar-herder/nar_herder.db\"})"
  49794. msgstr ""
  49795. #. type: table
  49796. #: guix-git/doc/guix.texi:33795
  49797. msgid "Location for the database. If this Nar Herder instance is mirroring another, the database will be downloaded if it doesn't exist. If this Nar Herder instance isn't mirroring another, an empty database will be created."
  49798. msgstr ""
  49799. #. type: item
  49800. #: guix-git/doc/guix.texi:33796
  49801. #, no-wrap
  49802. msgid "@code{database-dump} (default: @code{\"/var/lib/nar-herder/nar_herder_dump.db\"})"
  49803. msgstr ""
  49804. #. type: table
  49805. #: guix-git/doc/guix.texi:33800
  49806. msgid "Location of the database dump. This is created and regularly updated by taking a copy of the database. This is the version of the database that is available to download."
  49807. msgstr ""
  49808. #. type: item
  49809. #: guix-git/doc/guix.texi:33801
  49810. #, no-wrap
  49811. msgid "@code{storage} (default: @code{#f})"
  49812. msgstr ""
  49813. #. type: table
  49814. #: guix-git/doc/guix.texi:33803
  49815. msgid "Optional location in which to store nars."
  49816. msgstr ""
  49817. #. type: item
  49818. #: guix-git/doc/guix.texi:33804
  49819. #, no-wrap
  49820. msgid "@code{storage-limit} (default: @code{\"none\"})"
  49821. msgstr ""
  49822. #. type: table
  49823. #: guix-git/doc/guix.texi:33807
  49824. msgid "Limit in bytes for the nars stored in the storage location. This can also be set to ``none'' so that there is no limit."
  49825. msgstr ""
  49826. #. type: table
  49827. #: guix-git/doc/guix.texi:33810
  49828. msgid "When the storage location exceeds this size, nars are removed according to the nar removal criteria."
  49829. msgstr ""
  49830. #. type: item
  49831. #: guix-git/doc/guix.texi:33811
  49832. #, no-wrap
  49833. msgid "@code{storage-nar-removal-criteria} (default: @code{'()})"
  49834. msgstr ""
  49835. #. type: table
  49836. #: guix-git/doc/guix.texi:33814
  49837. msgid "Criteria used to remove nars from the storage location. These are used in conjunction with the storage limit."
  49838. msgstr ""
  49839. #. type: table
  49840. #: guix-git/doc/guix.texi:33819
  49841. msgid "When the storage location exceeds the storage limit size, nars will be checked against the nar removal criteria and if any of the criteria match, they will be removed. This will continue until the storage location is below the storage limit size."
  49842. msgstr ""
  49843. #. type: table
  49844. #: guix-git/doc/guix.texi:33823
  49845. msgid "Each criteria is specified by a string, then an equals sign, then another string. Currently, only one criteria is supported, checking if a nar is stored on another Nar Herder instance."
  49846. msgstr ""
  49847. #. type: table
  49848. #: guix-git/doc/guix.texi:33831
  49849. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}."
  49850. msgstr ""
  49851. #. type: cindex
  49852. #: guix-git/doc/guix.texi:33844
  49853. #, no-wrap
  49854. msgid "oom"
  49855. msgstr ""
  49856. #. type: cindex
  49857. #: guix-git/doc/guix.texi:33845
  49858. #, no-wrap
  49859. msgid "out of memory killer"
  49860. msgstr ""
  49861. #. type: cindex
  49862. #: guix-git/doc/guix.texi:33846
  49863. #, no-wrap
  49864. msgid "earlyoom"
  49865. msgstr ""
  49866. #. type: cindex
  49867. #: guix-git/doc/guix.texi:33847
  49868. #, no-wrap
  49869. msgid "early out of memory daemon"
  49870. msgstr ""
  49871. #. type: subsubheading
  49872. #: guix-git/doc/guix.texi:33848
  49873. #, no-wrap
  49874. msgid "Early OOM Service"
  49875. msgstr ""
  49876. #. type: Plain text
  49877. #: guix-git/doc/guix.texi:33855
  49878. 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."
  49879. msgstr ""
  49880. #. type: deffn
  49881. #: guix-git/doc/guix.texi:33856
  49882. #, no-wrap
  49883. msgid "{Scheme Variable} earlyoom-service-type"
  49884. msgstr ""
  49885. #. type: deffn
  49886. #: guix-git/doc/guix.texi:33861
  49887. 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:"
  49888. msgstr ""
  49889. #. type: lisp
  49890. #: guix-git/doc/guix.texi:33864
  49891. #, no-wrap
  49892. msgid "(service earlyoom-service-type)\n"
  49893. msgstr ""
  49894. #. type: deftp
  49895. #: guix-git/doc/guix.texi:33867
  49896. #, no-wrap
  49897. msgid "{Data Type} earlyoom-configuration"
  49898. msgstr ""
  49899. #. type: deftp
  49900. #: guix-git/doc/guix.texi:33869
  49901. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  49902. msgstr ""
  49903. #. type: item
  49904. #: guix-git/doc/guix.texi:33871
  49905. #, no-wrap
  49906. msgid "@code{earlyoom} (default: @var{earlyoom})"
  49907. msgstr ""
  49908. #. type: table
  49909. #: guix-git/doc/guix.texi:33873
  49910. msgid "The Earlyoom package to use."
  49911. msgstr ""
  49912. #. type: item
  49913. #: guix-git/doc/guix.texi:33874
  49914. #, no-wrap
  49915. msgid "@code{minimum-available-memory} (default: @code{10})"
  49916. msgstr ""
  49917. #. type: table
  49918. #: guix-git/doc/guix.texi:33876
  49919. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  49920. msgstr ""
  49921. #. type: item
  49922. #: guix-git/doc/guix.texi:33877
  49923. #, no-wrap
  49924. msgid "@code{minimum-free-swap} (default: @code{10})"
  49925. msgstr ""
  49926. #. type: table
  49927. #: guix-git/doc/guix.texi:33879
  49928. msgid "The threshold for the minimum free swap memory, in percentages."
  49929. msgstr ""
  49930. #. type: item
  49931. #: guix-git/doc/guix.texi:33880
  49932. #, no-wrap
  49933. msgid "@code{prefer-regexp} (default: @code{#f})"
  49934. msgstr ""
  49935. #. type: table
  49936. #: guix-git/doc/guix.texi:33883
  49937. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  49938. msgstr ""
  49939. #. type: item
  49940. #: guix-git/doc/guix.texi:33884
  49941. #, no-wrap
  49942. msgid "@code{avoid-regexp} (default: @code{#f})"
  49943. msgstr ""
  49944. #. type: table
  49945. #: guix-git/doc/guix.texi:33887
  49946. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  49947. msgstr ""
  49948. #. type: item
  49949. #: guix-git/doc/guix.texi:33888
  49950. #, no-wrap
  49951. msgid "@code{memory-report-interval} (default: @code{0})"
  49952. msgstr ""
  49953. #. type: table
  49954. #: guix-git/doc/guix.texi:33891
  49955. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  49956. msgstr ""
  49957. #. type: item
  49958. #: guix-git/doc/guix.texi:33892
  49959. #, no-wrap
  49960. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  49961. msgstr ""
  49962. #. type: table
  49963. #: guix-git/doc/guix.texi:33895
  49964. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  49965. msgstr ""
  49966. #. type: item
  49967. #: guix-git/doc/guix.texi:33896
  49968. #, no-wrap
  49969. msgid "@code{show-debug-messages?} (default: @code{#f})"
  49970. msgstr ""
  49971. #. type: table
  49972. #: guix-git/doc/guix.texi:33899
  49973. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  49974. msgstr ""
  49975. #. type: item
  49976. #: guix-git/doc/guix.texi:33900
  49977. #, no-wrap
  49978. msgid "@code{send-notification-command} (default: @code{#f})"
  49979. msgstr ""
  49980. #. type: table
  49981. #: guix-git/doc/guix.texi:33903
  49982. msgid "This can be used to provide a custom command used for sending notifications."
  49983. msgstr ""
  49984. #. type: cindex
  49985. #: guix-git/doc/guix.texi:33906
  49986. #, no-wrap
  49987. msgid "modprobe"
  49988. msgstr ""
  49989. #. type: cindex
  49990. #: guix-git/doc/guix.texi:33907
  49991. #, no-wrap
  49992. msgid "kernel module loader"
  49993. msgstr ""
  49994. #. type: subsubheading
  49995. #: guix-git/doc/guix.texi:33908
  49996. #, no-wrap
  49997. msgid "Kernel Module Loader Service"
  49998. msgstr ""
  49999. #. type: Plain text
  50000. #: guix-git/doc/guix.texi:33914
  50001. 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}."
  50002. msgstr ""
  50003. #. type: deffn
  50004. #: guix-git/doc/guix.texi:33915
  50005. #, no-wrap
  50006. msgid "{Scheme Variable} kernel-module-loader-service-type"
  50007. msgstr ""
  50008. #. type: deffn
  50009. #: guix-git/doc/guix.texi:33921
  50010. 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:"
  50011. msgstr ""
  50012. #. type: lisp
  50013. #: guix-git/doc/guix.texi:33926
  50014. #, no-wrap
  50015. msgid ""
  50016. "(use-modules (gnu) (gnu services))\n"
  50017. "(use-package-modules linux)\n"
  50018. "(use-service-modules linux)\n"
  50019. "\n"
  50020. msgstr ""
  50021. #. type: lisp
  50022. #: guix-git/doc/guix.texi:33930
  50023. #, no-wrap
  50024. msgid ""
  50025. "(define ddcci-config\n"
  50026. " (plain-file \"ddcci.conf\"\n"
  50027. " \"options ddcci dyndbg delay=120\"))\n"
  50028. "\n"
  50029. msgstr ""
  50030. #. type: lisp
  50031. #: guix-git/doc/guix.texi:33940
  50032. #, no-wrap
  50033. msgid ""
  50034. "(operating-system\n"
  50035. " ...\n"
  50036. " (services (cons* (service kernel-module-loader-service-type\n"
  50037. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  50038. " (simple-service 'ddcci-config etc-service-type\n"
  50039. " (list `(\"modprobe.d/ddcci.conf\"\n"
  50040. " ,ddcci-config)))\n"
  50041. " %base-services))\n"
  50042. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  50043. msgstr ""
  50044. #. type: cindex
  50045. #: guix-git/doc/guix.texi:33943
  50046. #, no-wrap
  50047. msgid "rasdaemon"
  50048. msgstr ""
  50049. #. type: cindex
  50050. #: guix-git/doc/guix.texi:33944
  50051. #, no-wrap
  50052. msgid "Platform Reliability, Availability and Serviceability daemon"
  50053. msgstr ""
  50054. #. type: subsubheading
  50055. #: guix-git/doc/guix.texi:33945
  50056. #, no-wrap
  50057. msgid "Rasdaemon Service"
  50058. msgstr ""
  50059. #. type: Plain text
  50060. #: guix-git/doc/guix.texi:33950
  50061. 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."
  50062. msgstr ""
  50063. #. type: Plain text
  50064. #: guix-git/doc/guix.texi:33953
  50065. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  50066. msgstr ""
  50067. #. type: Plain text
  50068. #: guix-git/doc/guix.texi:33956
  50069. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  50070. msgstr ""
  50071. #. type: item
  50072. #: guix-git/doc/guix.texi:33958
  50073. #, no-wrap
  50074. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  50075. msgstr ""
  50076. #. type: item
  50077. #: guix-git/doc/guix.texi:33959
  50078. #, no-wrap
  50079. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  50080. msgstr ""
  50081. #. type: itemize
  50082. #: guix-git/doc/guix.texi:33961
  50083. msgid "faults"
  50084. msgstr ""
  50085. #. type: Plain text
  50086. #: guix-git/doc/guix.texi:33965
  50087. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  50088. msgstr ""
  50089. #. type: item
  50090. #: guix-git/doc/guix.texi:33967
  50091. #, no-wrap
  50092. msgid "Generally measured as a percentage of downtime per a period of time, and"
  50093. msgstr ""
  50094. #. type: item
  50095. #: guix-git/doc/guix.texi:33968
  50096. #, no-wrap
  50097. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  50098. msgstr ""
  50099. #. type: Plain text
  50100. #: guix-git/doc/guix.texi:33973
  50101. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  50102. msgstr ""
  50103. #. type: item
  50104. #: guix-git/doc/guix.texi:33975
  50105. #, no-wrap
  50106. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  50107. msgstr ""
  50108. #. type: Plain text
  50109. #: guix-git/doc/guix.texi:33980
  50110. msgid "Among the monitoring measures, the most usual ones include:"
  50111. msgstr ""
  50112. #. type: item
  50113. #: guix-git/doc/guix.texi:33982
  50114. #, no-wrap
  50115. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  50116. msgstr ""
  50117. #. type: item
  50118. #: guix-git/doc/guix.texi:33983
  50119. #, no-wrap
  50120. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  50121. msgstr ""
  50122. #. type: item
  50123. #: guix-git/doc/guix.texi:33984
  50124. #, no-wrap
  50125. msgid "I/O – add CRC checksums for transferred data;"
  50126. msgstr ""
  50127. #. type: item
  50128. #: guix-git/doc/guix.texi:33985
  50129. #, no-wrap
  50130. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  50131. msgstr ""
  50132. #. type: itemize
  50133. #: guix-git/doc/guix.texi:33987
  50134. msgid "Analysis and Reporting Technology (SMART)."
  50135. msgstr ""
  50136. #. type: Plain text
  50137. #: guix-git/doc/guix.texi:33993
  50138. 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."
  50139. msgstr ""
  50140. #. type: Plain text
  50141. #: guix-git/doc/guix.texi:33997
  50142. 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}."
  50143. msgstr ""
  50144. #. type: defvr
  50145. #: guix-git/doc/guix.texi:33998
  50146. #, no-wrap
  50147. msgid "{Scheme Variable} rasdaemon-service-type"
  50148. msgstr ""
  50149. #. type: defvr
  50150. #: guix-git/doc/guix.texi:34001
  50151. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  50152. msgstr ""
  50153. #. type: lisp
  50154. #: guix-git/doc/guix.texi:34004
  50155. #, no-wrap
  50156. msgid "(service rasdaemon-service-type)\n"
  50157. msgstr ""
  50158. #. type: defvr
  50159. #: guix-git/doc/guix.texi:34008
  50160. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  50161. msgstr ""
  50162. #. type: deftp
  50163. #: guix-git/doc/guix.texi:34010
  50164. #, no-wrap
  50165. msgid "{Data Type} rasdaemon-configuration"
  50166. msgstr ""
  50167. #. type: deftp
  50168. #: guix-git/doc/guix.texi:34012
  50169. msgid "The data type representing the configuration of @command{rasdaemon}."
  50170. msgstr ""
  50171. #. type: item
  50172. #: guix-git/doc/guix.texi:34014
  50173. #, no-wrap
  50174. msgid "@code{record?} (default: @code{#f})"
  50175. msgstr ""
  50176. #. type: table
  50177. #: guix-git/doc/guix.texi:34019
  50178. 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}."
  50179. msgstr ""
  50180. #. type: cindex
  50181. #: guix-git/doc/guix.texi:34023
  50182. #, no-wrap
  50183. msgid "zram"
  50184. msgstr ""
  50185. #. type: cindex
  50186. #: guix-git/doc/guix.texi:34024
  50187. #, no-wrap
  50188. msgid "compressed swap"
  50189. msgstr ""
  50190. #. type: cindex
  50191. #: guix-git/doc/guix.texi:34025
  50192. #, no-wrap
  50193. msgid "Compressed RAM-based block devices"
  50194. msgstr ""
  50195. #. type: subsubheading
  50196. #: guix-git/doc/guix.texi:34026
  50197. #, no-wrap
  50198. msgid "Zram Device Service"
  50199. msgstr ""
  50200. #. type: Plain text
  50201. #: guix-git/doc/guix.texi:34032
  50202. 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."
  50203. msgstr ""
  50204. #. type: deffn
  50205. #: guix-git/doc/guix.texi:34033
  50206. #, no-wrap
  50207. msgid "{Scheme Variable} zram-device-service-type"
  50208. msgstr ""
  50209. #. type: deffn
  50210. #: guix-git/doc/guix.texi:34037
  50211. 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."
  50212. msgstr ""
  50213. #. type: deftp
  50214. #: guix-git/doc/guix.texi:34038
  50215. #, no-wrap
  50216. msgid "{Data Type} zram-device-configuration"
  50217. msgstr ""
  50218. #. type: deftp
  50219. #: guix-git/doc/guix.texi:34041
  50220. msgid "This is the data type representing the configuration for the zram-device service."
  50221. msgstr ""
  50222. #. type: item
  50223. #: guix-git/doc/guix.texi:34043
  50224. #, no-wrap
  50225. msgid "@code{size} (default @code{\"1G\"})"
  50226. msgstr ""
  50227. #. type: table
  50228. #: guix-git/doc/guix.texi:34047
  50229. 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}."
  50230. msgstr ""
  50231. #. type: item
  50232. #: guix-git/doc/guix.texi:34047
  50233. #, no-wrap
  50234. msgid "@code{compression-algorithm} (default @code{'lzo})"
  50235. msgstr ""
  50236. #. type: table
  50237. #: guix-git/doc/guix.texi:34051
  50238. 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}."
  50239. msgstr ""
  50240. #. type: item
  50241. #: guix-git/doc/guix.texi:34051
  50242. #, no-wrap
  50243. msgid "@code{memory-limit} (default @code{0})"
  50244. msgstr ""
  50245. #. type: table
  50246. #: guix-git/doc/guix.texi:34058
  50247. 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\"}."
  50248. msgstr ""
  50249. #. type: item
  50250. #: guix-git/doc/guix.texi:34058
  50251. #, no-wrap
  50252. msgid "@code{priority} (default @code{-1})"
  50253. msgstr ""
  50254. #. type: table
  50255. #: guix-git/doc/guix.texi:34063
  50256. 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."
  50257. msgstr ""
  50258. #. type: defvr
  50259. #: guix-git/doc/guix.texi:34071
  50260. #, no-wrap
  50261. msgid "{Scheme Variable} hurd-console-service-type"
  50262. msgstr ""
  50263. #. type: defvr
  50264. #: guix-git/doc/guix.texi:34073
  50265. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  50266. msgstr ""
  50267. #. type: defvr
  50268. #: guix-git/doc/guix.texi:34075
  50269. msgid "The service's value is a @code{hurd-console-configuration} record."
  50270. msgstr ""
  50271. #. type: deftp
  50272. #: guix-git/doc/guix.texi:34077
  50273. #, no-wrap
  50274. msgid "{Data Type} hurd-console-configuration"
  50275. msgstr ""
  50276. #. type: deftp
  50277. #: guix-git/doc/guix.texi:34080
  50278. msgid "This is the data type representing the configuration for the hurd-console-service."
  50279. msgstr ""
  50280. #. type: item
  50281. #: guix-git/doc/guix.texi:34082 guix-git/doc/guix.texi:34098
  50282. #, no-wrap
  50283. msgid "@code{hurd} (default: @var{hurd})"
  50284. msgstr ""
  50285. #. type: table
  50286. #: guix-git/doc/guix.texi:34084 guix-git/doc/guix.texi:34100
  50287. msgid "The Hurd package to use."
  50288. msgstr ""
  50289. #. type: defvr
  50290. #: guix-git/doc/guix.texi:34087
  50291. #, no-wrap
  50292. msgid "{Scheme Variable} hurd-getty-service-type"
  50293. msgstr ""
  50294. #. type: defvr
  50295. #: guix-git/doc/guix.texi:34089
  50296. msgid "This service starts a tty using the Hurd @code{getty} program."
  50297. msgstr ""
  50298. #. type: defvr
  50299. #: guix-git/doc/guix.texi:34091
  50300. msgid "The service's value is a @code{hurd-getty-configuration} record."
  50301. msgstr ""
  50302. #. type: deftp
  50303. #: guix-git/doc/guix.texi:34093
  50304. #, no-wrap
  50305. msgid "{Data Type} hurd-getty-configuration"
  50306. msgstr ""
  50307. #. type: deftp
  50308. #: guix-git/doc/guix.texi:34096
  50309. msgid "This is the data type representing the configuration for the hurd-getty-service."
  50310. msgstr ""
  50311. #. type: table
  50312. #: guix-git/doc/guix.texi:34103
  50313. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  50314. msgstr ""
  50315. #. type: item
  50316. #: guix-git/doc/guix.texi:34104
  50317. #, no-wrap
  50318. msgid "@code{baud-rate} (default: @code{38400})"
  50319. msgstr ""
  50320. #. type: table
  50321. #: guix-git/doc/guix.texi:34106
  50322. msgid "An integer specifying the baud rate of the tty."
  50323. msgstr ""
  50324. #. type: cindex
  50325. #: guix-git/doc/guix.texi:34113
  50326. #, no-wrap
  50327. msgid "fingerprint"
  50328. msgstr ""
  50329. #. type: subsubheading
  50330. #: guix-git/doc/guix.texi:34114
  50331. #, no-wrap
  50332. msgid "Fingerprint Service"
  50333. msgstr ""
  50334. #. type: Plain text
  50335. #: guix-git/doc/guix.texi:34118
  50336. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  50337. msgstr ""
  50338. #. type: defvr
  50339. #: guix-git/doc/guix.texi:34119
  50340. #, no-wrap
  50341. msgid "{Scheme Variable} fprintd-service-type"
  50342. msgstr ""
  50343. #. type: defvr
  50344. #: guix-git/doc/guix.texi:34122
  50345. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  50346. msgstr ""
  50347. #. type: lisp
  50348. #: guix-git/doc/guix.texi:34125
  50349. #, no-wrap
  50350. msgid "(service fprintd-service-type)\n"
  50351. msgstr ""
  50352. #. type: cindex
  50353. #: guix-git/doc/guix.texi:34128
  50354. #, no-wrap
  50355. msgid "sysctl"
  50356. msgstr ""
  50357. #. type: subsubheading
  50358. #: guix-git/doc/guix.texi:34129
  50359. #, no-wrap
  50360. msgid "System Control Service"
  50361. msgstr ""
  50362. #. type: Plain text
  50363. #: guix-git/doc/guix.texi:34133
  50364. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  50365. msgstr ""
  50366. #. type: defvr
  50367. #: guix-git/doc/guix.texi:34134
  50368. #, no-wrap
  50369. msgid "{Scheme Variable} sysctl-service-type"
  50370. msgstr ""
  50371. #. type: defvr
  50372. #: guix-git/doc/guix.texi:34138
  50373. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  50374. msgstr ""
  50375. #. type: lisp
  50376. #: guix-git/doc/guix.texi:34143
  50377. #, no-wrap
  50378. msgid ""
  50379. "(service sysctl-service-type\n"
  50380. " (sysctl-configuration\n"
  50381. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  50382. msgstr ""
  50383. #. type: defvr
  50384. #: guix-git/doc/guix.texi:34150
  50385. 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}})."
  50386. msgstr ""
  50387. #. type: lisp
  50388. #: guix-git/doc/guix.texi:34157
  50389. #, no-wrap
  50390. msgid ""
  50391. "(modify-services %base-services\n"
  50392. " (sysctl-service-type config =>\n"
  50393. " (sysctl-configuration\n"
  50394. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  50395. " %default-sysctl-settings)))))\n"
  50396. msgstr ""
  50397. #. type: deftp
  50398. #: guix-git/doc/guix.texi:34161
  50399. #, no-wrap
  50400. msgid "{Data Type} sysctl-configuration"
  50401. msgstr ""
  50402. #. type: deftp
  50403. #: guix-git/doc/guix.texi:34163
  50404. msgid "The data type representing the configuration of @command{sysctl}."
  50405. msgstr ""
  50406. #. type: item
  50407. #: guix-git/doc/guix.texi:34165
  50408. #, no-wrap
  50409. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  50410. msgstr ""
  50411. #. type: table
  50412. #: guix-git/doc/guix.texi:34167
  50413. msgid "The @command{sysctl} executable to use."
  50414. msgstr ""
  50415. #. type: item
  50416. #: guix-git/doc/guix.texi:34168
  50417. #, no-wrap
  50418. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  50419. msgstr ""
  50420. #. type: table
  50421. #: guix-git/doc/guix.texi:34170
  50422. msgid "An association list specifies kernel parameters and their values."
  50423. msgstr ""
  50424. #. type: defvr
  50425. #: guix-git/doc/guix.texi:34173
  50426. #, no-wrap
  50427. msgid "{Scheme Variable} %default-sysctl-settings"
  50428. msgstr ""
  50429. #. type: defvr
  50430. #: guix-git/doc/guix.texi:34176
  50431. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  50432. msgstr ""
  50433. #. type: cindex
  50434. #: guix-git/doc/guix.texi:34178
  50435. #, no-wrap
  50436. msgid "pcscd"
  50437. msgstr ""
  50438. #. type: subsubheading
  50439. #: guix-git/doc/guix.texi:34179
  50440. #, no-wrap
  50441. msgid "PC/SC Smart Card Daemon Service"
  50442. msgstr ""
  50443. #. type: Plain text
  50444. #: guix-git/doc/guix.texi:34186
  50445. 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."
  50446. msgstr ""
  50447. #. type: defvr
  50448. #: guix-git/doc/guix.texi:34187
  50449. #, no-wrap
  50450. msgid "{Scheme Variable} pcscd-service-type"
  50451. msgstr ""
  50452. #. type: defvr
  50453. #: guix-git/doc/guix.texi:34191
  50454. 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:"
  50455. msgstr ""
  50456. #. type: lisp
  50457. #: guix-git/doc/guix.texi:34194
  50458. #, no-wrap
  50459. msgid "(service pcscd-service-type)\n"
  50460. msgstr ""
  50461. #. type: deftp
  50462. #: guix-git/doc/guix.texi:34197
  50463. #, no-wrap
  50464. msgid "{Data Type} pcscd-configuration"
  50465. msgstr ""
  50466. #. type: deftp
  50467. #: guix-git/doc/guix.texi:34199
  50468. msgid "The data type representing the configuration of @command{pcscd}."
  50469. msgstr ""
  50470. #. type: item
  50471. #: guix-git/doc/guix.texi:34201
  50472. #, no-wrap
  50473. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  50474. msgstr ""
  50475. #. type: table
  50476. #: guix-git/doc/guix.texi:34203
  50477. msgid "The pcsc-lite package that provides pcscd."
  50478. msgstr ""
  50479. #. type: item
  50480. #: guix-git/doc/guix.texi:34203
  50481. #, no-wrap
  50482. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  50483. msgstr ""
  50484. #. type: table
  50485. #: guix-git/doc/guix.texi:34206
  50486. 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."
  50487. msgstr ""
  50488. #. type: cindex
  50489. #: guix-git/doc/guix.texi:34209
  50490. #, no-wrap
  50491. msgid "lirc"
  50492. msgstr ""
  50493. #. type: subsubheading
  50494. #: guix-git/doc/guix.texi:34210
  50495. #, no-wrap
  50496. msgid "Lirc Service"
  50497. msgstr ""
  50498. #. type: Plain text
  50499. #: guix-git/doc/guix.texi:34213
  50500. msgid "The @code{(gnu services lirc)} module provides the following service."
  50501. msgstr ""
  50502. #. type: deffn
  50503. #: guix-git/doc/guix.texi:34214
  50504. #, no-wrap
  50505. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  50506. msgstr ""
  50507. #. type: deffn
  50508. #: guix-git/doc/guix.texi:34219
  50509. 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."
  50510. msgstr ""
  50511. #. type: deffn
  50512. #: guix-git/doc/guix.texi:34223
  50513. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  50514. msgstr ""
  50515. #. type: deffn
  50516. #: guix-git/doc/guix.texi:34226
  50517. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  50518. msgstr ""
  50519. #. type: cindex
  50520. #: guix-git/doc/guix.texi:34228
  50521. #, no-wrap
  50522. msgid "spice"
  50523. msgstr ""
  50524. #. type: subsubheading
  50525. #: guix-git/doc/guix.texi:34229
  50526. #, no-wrap
  50527. msgid "Spice Service"
  50528. msgstr ""
  50529. #. type: Plain text
  50530. #: guix-git/doc/guix.texi:34232
  50531. msgid "The @code{(gnu services spice)} module provides the following service."
  50532. msgstr ""
  50533. #. type: deffn
  50534. #: guix-git/doc/guix.texi:34233
  50535. #, no-wrap
  50536. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  50537. msgstr ""
  50538. #. type: deffn
  50539. #: guix-git/doc/guix.texi:34237
  50540. 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."
  50541. msgstr ""
  50542. #. type: cindex
  50543. #: guix-git/doc/guix.texi:34239
  50544. #, no-wrap
  50545. msgid "inputattach"
  50546. msgstr ""
  50547. #. type: subsubheading
  50548. #: guix-git/doc/guix.texi:34240
  50549. #, no-wrap
  50550. msgid "inputattach Service"
  50551. msgstr ""
  50552. #. type: cindex
  50553. #: guix-git/doc/guix.texi:34242
  50554. #, no-wrap
  50555. msgid "tablet input, for Xorg"
  50556. msgstr ""
  50557. #. type: cindex
  50558. #: guix-git/doc/guix.texi:34243
  50559. #, no-wrap
  50560. msgid "touchscreen input, for Xorg"
  50561. msgstr ""
  50562. #. type: Plain text
  50563. #: guix-git/doc/guix.texi:34247
  50564. 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."
  50565. msgstr ""
  50566. #. type: deffn
  50567. #: guix-git/doc/guix.texi:34248
  50568. #, no-wrap
  50569. msgid "{Scheme Variable} inputattach-service-type"
  50570. msgstr ""
  50571. #. type: deffn
  50572. #: guix-git/doc/guix.texi:34251
  50573. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  50574. msgstr ""
  50575. #. type: deftp
  50576. #: guix-git/doc/guix.texi:34253
  50577. #, no-wrap
  50578. msgid "{Data Type} inputattach-configuration"
  50579. msgstr ""
  50580. #. type: item
  50581. #: guix-git/doc/guix.texi:34255
  50582. #, no-wrap
  50583. msgid "@code{device-type} (default: @code{\"wacom\"})"
  50584. msgstr ""
  50585. #. type: table
  50586. #: guix-git/doc/guix.texi:34258
  50587. 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."
  50588. msgstr ""
  50589. #. type: item
  50590. #: guix-git/doc/guix.texi:34259
  50591. #, no-wrap
  50592. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  50593. msgstr ""
  50594. #. type: table
  50595. #: guix-git/doc/guix.texi:34261
  50596. msgid "The device file to connect to the device."
  50597. msgstr ""
  50598. #. type: table
  50599. #: guix-git/doc/guix.texi:34265
  50600. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  50601. msgstr ""
  50602. #. type: item
  50603. #: guix-git/doc/guix.texi:34266
  50604. #, no-wrap
  50605. msgid "@code{log-file} (default: @code{#f})"
  50606. msgstr ""
  50607. #. type: table
  50608. #: guix-git/doc/guix.texi:34268
  50609. msgid "If true, this must be the name of a file to log messages to."
  50610. msgstr ""
  50611. #. type: subsubheading
  50612. #: guix-git/doc/guix.texi:34271
  50613. #, no-wrap
  50614. msgid "Dictionary Service"
  50615. msgstr ""
  50616. #. type: cindex
  50617. #: guix-git/doc/guix.texi:34272
  50618. #, no-wrap
  50619. msgid "dictionary"
  50620. msgstr ""
  50621. #. type: Plain text
  50622. #: guix-git/doc/guix.texi:34274
  50623. msgid "The @code{(gnu services dict)} module provides the following service:"
  50624. msgstr ""
  50625. #. type: defvr
  50626. #: guix-git/doc/guix.texi:34275
  50627. #, no-wrap
  50628. msgid "{Scheme Variable} dicod-service-type"
  50629. msgstr ""
  50630. #. type: defvr
  50631. #: guix-git/doc/guix.texi:34278
  50632. 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})."
  50633. msgstr ""
  50634. #. type: deffn
  50635. #: guix-git/doc/guix.texi:34280
  50636. #, no-wrap
  50637. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  50638. msgstr ""
  50639. #. type: deffn
  50640. #: guix-git/doc/guix.texi:34283
  50641. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  50642. msgstr ""
  50643. #. type: deffn
  50644. #: guix-git/doc/guix.texi:34287
  50645. 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."
  50646. msgstr ""
  50647. #. type: deffn
  50648. #: guix-git/doc/guix.texi:34291
  50649. 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})."
  50650. msgstr ""
  50651. #. type: deftp
  50652. #: guix-git/doc/guix.texi:34293
  50653. #, no-wrap
  50654. msgid "{Data Type} dicod-configuration"
  50655. msgstr ""
  50656. #. type: deftp
  50657. #: guix-git/doc/guix.texi:34295
  50658. msgid "Data type representing the configuration of dicod."
  50659. msgstr ""
  50660. #. type: item
  50661. #: guix-git/doc/guix.texi:34297
  50662. #, no-wrap
  50663. msgid "@code{dico} (default: @var{dico})"
  50664. msgstr ""
  50665. #. type: table
  50666. #: guix-git/doc/guix.texi:34299
  50667. msgid "Package object of the GNU Dico dictionary server."
  50668. msgstr ""
  50669. #. type: item
  50670. #: guix-git/doc/guix.texi:34300
  50671. #, no-wrap
  50672. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  50673. msgstr ""
  50674. #. type: table
  50675. #: guix-git/doc/guix.texi:34304
  50676. 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})."
  50677. msgstr ""
  50678. #. type: item
  50679. #: guix-git/doc/guix.texi:34305
  50680. #, no-wrap
  50681. msgid "@code{handlers} (default: @var{'()})"
  50682. msgstr ""
  50683. #. type: table
  50684. #: guix-git/doc/guix.texi:34307
  50685. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  50686. msgstr ""
  50687. #. type: item
  50688. #: guix-git/doc/guix.texi:34308
  50689. #, no-wrap
  50690. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  50691. msgstr ""
  50692. #. type: table
  50693. #: guix-git/doc/guix.texi:34310
  50694. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  50695. msgstr ""
  50696. #. type: deftp
  50697. #: guix-git/doc/guix.texi:34313
  50698. #, no-wrap
  50699. msgid "{Data Type} dicod-handler"
  50700. msgstr ""
  50701. #. type: deftp
  50702. #: guix-git/doc/guix.texi:34315
  50703. msgid "Data type representing a dictionary handler (module instance)."
  50704. msgstr ""
  50705. #. type: table
  50706. #: guix-git/doc/guix.texi:34319
  50707. msgid "Name of the handler (module instance)."
  50708. msgstr ""
  50709. #. type: item
  50710. #: guix-git/doc/guix.texi:34320
  50711. #, no-wrap
  50712. msgid "@code{module} (default: @var{#f})"
  50713. msgstr ""
  50714. #. type: table
  50715. #: guix-git/doc/guix.texi:34324
  50716. 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})."
  50717. msgstr ""
  50718. #. type: table
  50719. #: guix-git/doc/guix.texi:34327
  50720. msgid "List of strings or gexps representing the arguments for the module handler"
  50721. msgstr ""
  50722. #. type: deftp
  50723. #: guix-git/doc/guix.texi:34330
  50724. #, no-wrap
  50725. msgid "{Data Type} dicod-database"
  50726. msgstr ""
  50727. #. type: deftp
  50728. #: guix-git/doc/guix.texi:34332
  50729. msgid "Data type representing a dictionary database."
  50730. msgstr ""
  50731. #. type: table
  50732. #: guix-git/doc/guix.texi:34336
  50733. msgid "Name of the database, will be used in DICT commands."
  50734. msgstr ""
  50735. #. type: code{#1}
  50736. #: guix-git/doc/guix.texi:34337
  50737. #, no-wrap
  50738. msgid "handler"
  50739. msgstr ""
  50740. #. type: table
  50741. #: guix-git/doc/guix.texi:34340
  50742. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  50743. msgstr ""
  50744. #. type: item
  50745. #: guix-git/doc/guix.texi:34341
  50746. #, no-wrap
  50747. msgid "@code{complex?} (default: @var{#f})"
  50748. msgstr ""
  50749. #. type: table
  50750. #: guix-git/doc/guix.texi:34344
  50751. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  50752. msgstr ""
  50753. #. type: table
  50754. #: guix-git/doc/guix.texi:34348
  50755. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  50756. msgstr ""
  50757. #. type: defvr
  50758. #: guix-git/doc/guix.texi:34351
  50759. #, no-wrap
  50760. msgid "{Scheme Variable} %dicod-database:gcide"
  50761. msgstr ""
  50762. #. type: defvr
  50763. #: guix-git/doc/guix.texi:34354
  50764. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  50765. msgstr ""
  50766. #. type: Plain text
  50767. #: guix-git/doc/guix.texi:34357
  50768. msgid "The following is an example @code{dicod-service} configuration."
  50769. msgstr ""
  50770. #. type: lisp
  50771. #: guix-git/doc/guix.texi:34372
  50772. #, no-wrap
  50773. msgid ""
  50774. "(dicod-service #:config\n"
  50775. " (dicod-configuration\n"
  50776. " (handlers (list (dicod-handler\n"
  50777. " (name \"wordnet\")\n"
  50778. " (module \"dictorg\")\n"
  50779. " (options\n"
  50780. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  50781. " (databases (list (dicod-database\n"
  50782. " (name \"wordnet\")\n"
  50783. " (complex? #t)\n"
  50784. " (handler \"wordnet\")\n"
  50785. " (options '(\"database=wn\")))\n"
  50786. " %dicod-database:gcide))))\n"
  50787. msgstr ""
  50788. #. type: cindex
  50789. #: guix-git/doc/guix.texi:34374
  50790. #, no-wrap
  50791. msgid "Docker"
  50792. msgstr ""
  50793. #. type: subsubheading
  50794. #: guix-git/doc/guix.texi:34375
  50795. #, no-wrap
  50796. msgid "Docker Service"
  50797. msgstr ""
  50798. #. type: Plain text
  50799. #: guix-git/doc/guix.texi:34378
  50800. msgid "The @code{(gnu services docker)} module provides the following services."
  50801. msgstr ""
  50802. #. type: defvr
  50803. #: guix-git/doc/guix.texi:34379
  50804. #, no-wrap
  50805. msgid "{Scheme Variable} docker-service-type"
  50806. msgstr ""
  50807. #. type: defvr
  50808. #: guix-git/doc/guix.texi:34384
  50809. 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."
  50810. msgstr ""
  50811. #. type: deftp
  50812. #: guix-git/doc/guix.texi:34387
  50813. #, no-wrap
  50814. msgid "{Data Type} docker-configuration"
  50815. msgstr ""
  50816. #. type: deftp
  50817. #: guix-git/doc/guix.texi:34389
  50818. msgid "This is the data type representing the configuration of Docker and Containerd."
  50819. msgstr ""
  50820. #. type: item
  50821. #: guix-git/doc/guix.texi:34392
  50822. #, no-wrap
  50823. msgid "@code{docker} (default: @code{docker})"
  50824. msgstr ""
  50825. #. type: table
  50826. #: guix-git/doc/guix.texi:34394
  50827. msgid "The Docker daemon package to use."
  50828. msgstr ""
  50829. #. type: item
  50830. #: guix-git/doc/guix.texi:34395
  50831. #, no-wrap
  50832. msgid "@code{docker-cli} (default: @code{docker-cli})"
  50833. msgstr ""
  50834. #. type: table
  50835. #: guix-git/doc/guix.texi:34397
  50836. msgid "The Docker client package to use."
  50837. msgstr ""
  50838. #. type: item
  50839. #: guix-git/doc/guix.texi:34398
  50840. #, no-wrap
  50841. msgid "@code{containerd} (default: @var{containerd})"
  50842. msgstr ""
  50843. #. type: table
  50844. #: guix-git/doc/guix.texi:34400
  50845. msgid "The Containerd package to use."
  50846. msgstr ""
  50847. #. type: item
  50848. #: guix-git/doc/guix.texi:34401
  50849. #, no-wrap
  50850. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  50851. msgstr ""
  50852. #. type: table
  50853. #: guix-git/doc/guix.texi:34403
  50854. msgid "The Docker user-land networking proxy package to use."
  50855. msgstr ""
  50856. #. type: item
  50857. #: guix-git/doc/guix.texi:34404
  50858. #, no-wrap
  50859. msgid "@code{enable-proxy?} (default @code{#t})"
  50860. msgstr ""
  50861. #. type: table
  50862. #: guix-git/doc/guix.texi:34406
  50863. msgid "Enable or disable the use of the Docker user-land networking proxy."
  50864. msgstr ""
  50865. #. type: item
  50866. #: guix-git/doc/guix.texi:34407
  50867. #, no-wrap
  50868. msgid "@code{debug?} (default @code{#f})"
  50869. msgstr ""
  50870. #. type: table
  50871. #: guix-git/doc/guix.texi:34409
  50872. msgid "Enable or disable debug output."
  50873. msgstr ""
  50874. #. type: item
  50875. #: guix-git/doc/guix.texi:34410
  50876. #, no-wrap
  50877. msgid "@code{enable-iptables?} (default @code{#t})"
  50878. msgstr ""
  50879. #. type: table
  50880. #: guix-git/doc/guix.texi:34412
  50881. msgid "Enable or disable the addition of iptables rules."
  50882. msgstr ""
  50883. #. type: item
  50884. #: guix-git/doc/guix.texi:34413
  50885. #, no-wrap
  50886. msgid "@code{environment-variables} (default: @code{()})"
  50887. msgstr ""
  50888. #. type: table
  50889. #: guix-git/doc/guix.texi:34415
  50890. msgid "List of environment variables to set for @command{dockerd}."
  50891. msgstr ""
  50892. #. type: table
  50893. #: guix-git/doc/guix.texi:34418
  50894. msgid "This must be a list of strings where each string has the form @samp{@var{key}=@var{value}} as in this example:"
  50895. msgstr ""
  50896. #. type: lisp
  50897. #: guix-git/doc/guix.texi:34422
  50898. #, no-wrap
  50899. msgid ""
  50900. "(list \"LANGUAGE=eo:ca:eu\"\n"
  50901. " \"TMPDIR=/tmp/dockerd\")\n"
  50902. msgstr ""
  50903. #. type: cindex
  50904. #: guix-git/doc/guix.texi:34427
  50905. #, no-wrap
  50906. msgid "Singularity, container service"
  50907. msgstr ""
  50908. #. type: defvr
  50909. #: guix-git/doc/guix.texi:34428
  50910. #, no-wrap
  50911. msgid "{Scheme Variable} singularity-service-type"
  50912. msgstr ""
  50913. #. type: defvr
  50914. #: guix-git/doc/guix.texi:34433
  50915. 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."
  50916. msgstr ""
  50917. #. type: defvr
  50918. #: guix-git/doc/guix.texi:34437
  50919. 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."
  50920. msgstr ""
  50921. #. type: cindex
  50922. #: guix-git/doc/guix.texi:34439
  50923. #, no-wrap
  50924. msgid "Audit"
  50925. msgstr ""
  50926. #. type: subsubheading
  50927. #: guix-git/doc/guix.texi:34440
  50928. #, no-wrap
  50929. msgid "Auditd Service"
  50930. msgstr ""
  50931. #. type: Plain text
  50932. #: guix-git/doc/guix.texi:34443
  50933. msgid "The @code{(gnu services auditd)} module provides the following service."
  50934. msgstr ""
  50935. #. type: defvr
  50936. #: guix-git/doc/guix.texi:34444
  50937. #, no-wrap
  50938. msgid "{Scheme Variable} auditd-service-type"
  50939. msgstr ""
  50940. #. type: defvr
  50941. #: guix-git/doc/guix.texi:34449
  50942. 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."
  50943. msgstr ""
  50944. #. type: defvr
  50945. #: guix-git/doc/guix.texi:34451
  50946. msgid "Examples of things that can be tracked:"
  50947. msgstr ""
  50948. #. type: enumerate
  50949. #: guix-git/doc/guix.texi:34455
  50950. msgid "File accesses"
  50951. msgstr ""
  50952. #. type: enumerate
  50953. #: guix-git/doc/guix.texi:34457
  50954. msgid "System calls"
  50955. msgstr ""
  50956. #. type: enumerate
  50957. #: guix-git/doc/guix.texi:34459
  50958. msgid "Invoked commands"
  50959. msgstr ""
  50960. #. type: enumerate
  50961. #: guix-git/doc/guix.texi:34461
  50962. msgid "Failed login attempts"
  50963. msgstr ""
  50964. #. type: enumerate
  50965. #: guix-git/doc/guix.texi:34463
  50966. msgid "Firewall filtering"
  50967. msgstr ""
  50968. #. type: enumerate
  50969. #: guix-git/doc/guix.texi:34465
  50970. msgid "Network access"
  50971. msgstr ""
  50972. #. type: defvr
  50973. #: guix-git/doc/guix.texi:34476
  50974. 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}."
  50975. msgstr ""
  50976. #. type: deftp
  50977. #: guix-git/doc/guix.texi:34479
  50978. #, no-wrap
  50979. msgid "{Data Type} auditd-configuration"
  50980. msgstr ""
  50981. #. type: deftp
  50982. #: guix-git/doc/guix.texi:34481
  50983. msgid "This is the data type representing the configuration of auditd."
  50984. msgstr ""
  50985. #. type: item
  50986. #: guix-git/doc/guix.texi:34484
  50987. #, no-wrap
  50988. msgid "@code{audit} (default: @code{audit})"
  50989. msgstr ""
  50990. #. type: table
  50991. #: guix-git/doc/guix.texi:34486
  50992. msgid "The audit package to use."
  50993. msgstr ""
  50994. #. type: item
  50995. #: guix-git/doc/guix.texi:34487
  50996. #, no-wrap
  50997. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  50998. msgstr ""
  50999. #. type: table
  51000. #: guix-git/doc/guix.texi:34491
  51001. 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."
  51002. msgstr ""
  51003. #. type: cindex
  51004. #: guix-git/doc/guix.texi:34495
  51005. #, no-wrap
  51006. msgid "rshiny"
  51007. msgstr ""
  51008. #. type: subsubheading
  51009. #: guix-git/doc/guix.texi:34496
  51010. #, no-wrap
  51011. msgid "R-Shiny service"
  51012. msgstr ""
  51013. #. type: Plain text
  51014. #: guix-git/doc/guix.texi:34499
  51015. msgid "The @code{(gnu services science)} module provides the following service."
  51016. msgstr ""
  51017. #. type: defvr
  51018. #: guix-git/doc/guix.texi:34500
  51019. #, no-wrap
  51020. msgid "{Scheme Variable} rshiny-service-type"
  51021. msgstr ""
  51022. #. type: defvr
  51023. #: guix-git/doc/guix.texi:34505
  51024. 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}."
  51025. msgstr ""
  51026. #. type: deftp
  51027. #: guix-git/doc/guix.texi:34506
  51028. #, no-wrap
  51029. msgid "{Data Type} rshiny-configuration"
  51030. msgstr ""
  51031. #. type: deftp
  51032. #: guix-git/doc/guix.texi:34508
  51033. msgid "This is the data type representing the configuration of rshiny."
  51034. msgstr ""
  51035. #. type: item
  51036. #: guix-git/doc/guix.texi:34511
  51037. #, no-wrap
  51038. msgid "@code{package} (default: @code{r-shiny})"
  51039. msgstr ""
  51040. #. type: table
  51041. #: guix-git/doc/guix.texi:34513
  51042. msgid "The package to use."
  51043. msgstr ""
  51044. #. type: item
  51045. #: guix-git/doc/guix.texi:34514
  51046. #, no-wrap
  51047. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  51048. msgstr ""
  51049. #. type: table
  51050. #: guix-git/doc/guix.texi:34517
  51051. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  51052. msgstr ""
  51053. #. type: table
  51054. #: guix-git/doc/guix.texi:34519
  51055. msgid "The common way to create this file is as follows:"
  51056. msgstr ""
  51057. #. type: lisp
  51058. #: guix-git/doc/guix.texi:34536
  51059. #, no-wrap
  51060. msgid ""
  51061. "@dots{}\n"
  51062. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  51063. " (targetdir (string-append out \"/share/\" ,name))\n"
  51064. " (app (string-append out \"/bin/\" ,name))\n"
  51065. " (Rbin (search-input-file %build-inputs \"/bin/Rscript\")))\n"
  51066. " ;; @dots{}\n"
  51067. " (mkdir-p (string-append out \"/bin\"))\n"
  51068. " (call-with-output-file app\n"
  51069. " (lambda (port)\n"
  51070. " (format port\n"
  51071. "\"#!~a\n"
  51072. "library(shiny)\n"
  51073. "setwd(\\\"~a\\\")\n"
  51074. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  51075. " Rbin targetdir))))\n"
  51076. msgstr ""
  51077. #. type: cindex
  51078. #: guix-git/doc/guix.texi:34542
  51079. #, no-wrap
  51080. msgid "Nix"
  51081. msgstr ""
  51082. #. type: subsubheading
  51083. #: guix-git/doc/guix.texi:34543
  51084. #, no-wrap
  51085. msgid "Nix service"
  51086. msgstr ""
  51087. #. type: Plain text
  51088. #: guix-git/doc/guix.texi:34546
  51089. msgid "The @code{(gnu services nix)} module provides the following service."
  51090. msgstr ""
  51091. #. type: defvr
  51092. #: guix-git/doc/guix.texi:34547
  51093. #, no-wrap
  51094. msgid "{Scheme Variable} nix-service-type"
  51095. msgstr ""
  51096. #. type: defvr
  51097. #: guix-git/doc/guix.texi:34552
  51098. 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:"
  51099. msgstr ""
  51100. #. type: lisp
  51101. #: guix-git/doc/guix.texi:34557
  51102. #, no-wrap
  51103. msgid ""
  51104. "(use-modules (gnu))\n"
  51105. "(use-service-modules nix)\n"
  51106. "(use-package-modules package-management)\n"
  51107. "\n"
  51108. msgstr ""
  51109. #. type: lisp
  51110. #: guix-git/doc/guix.texi:34562
  51111. #, no-wrap
  51112. msgid ""
  51113. "(operating-system\n"
  51114. " ;; @dots{}\n"
  51115. " (packages (append (list nix)\n"
  51116. " %base-packages))\n"
  51117. "\n"
  51118. msgstr ""
  51119. #. type: lisp
  51120. #: guix-git/doc/guix.texi:34565
  51121. #, no-wrap
  51122. msgid ""
  51123. " (services (append (list (service nix-service-type))\n"
  51124. " %base-services)))\n"
  51125. msgstr ""
  51126. #. type: defvr
  51127. #: guix-git/doc/guix.texi:34568
  51128. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  51129. msgstr ""
  51130. #. type: item
  51131. #: guix-git/doc/guix.texi:34570
  51132. #, no-wrap
  51133. msgid "Add a Nix channel and update it. See"
  51134. msgstr ""
  51135. #. type: itemize
  51136. #: guix-git/doc/guix.texi:34572
  51137. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  51138. msgstr ""
  51139. #. type: item
  51140. #: guix-git/doc/guix.texi:34573
  51141. #, no-wrap
  51142. msgid "Create a symlink to your profile and activate Nix profile:"
  51143. msgstr ""
  51144. #. type: example
  51145. #: guix-git/doc/guix.texi:34579
  51146. #, no-wrap
  51147. msgid ""
  51148. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  51149. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  51150. msgstr ""
  51151. #. type: deftp
  51152. #: guix-git/doc/guix.texi:34583
  51153. #, no-wrap
  51154. msgid "{Data Type} nix-configuration"
  51155. msgstr ""
  51156. #. type: deftp
  51157. #: guix-git/doc/guix.texi:34585
  51158. msgid "This data type represents the configuration of the Nix daemon."
  51159. msgstr ""
  51160. #. type: item
  51161. #: guix-git/doc/guix.texi:34587
  51162. #, no-wrap
  51163. msgid "@code{nix} (default: @code{nix})"
  51164. msgstr ""
  51165. #. type: table
  51166. #: guix-git/doc/guix.texi:34589
  51167. msgid "The Nix package to use."
  51168. msgstr ""
  51169. #. type: item
  51170. #: guix-git/doc/guix.texi:34590
  51171. #, no-wrap
  51172. msgid "@code{sandbox} (default: @code{#t})"
  51173. msgstr ""
  51174. #. type: table
  51175. #: guix-git/doc/guix.texi:34592
  51176. msgid "Specifies whether builds are sandboxed by default."
  51177. msgstr ""
  51178. #. type: item
  51179. #: guix-git/doc/guix.texi:34593
  51180. #, no-wrap
  51181. msgid "@code{build-sandbox-items} (default: @code{'()})"
  51182. msgstr ""
  51183. #. type: table
  51184. #: guix-git/doc/guix.texi:34596
  51185. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  51186. msgstr ""
  51187. #. type: table
  51188. #: guix-git/doc/guix.texi:34604
  51189. msgid "Extra command line options for @code{nix-service-type}."
  51190. msgstr ""
  51191. #. type: cindex
  51192. #: guix-git/doc/guix.texi:34610
  51193. #, no-wrap
  51194. msgid "setuid programs"
  51195. msgstr ""
  51196. #. type: Plain text
  51197. #: guix-git/doc/guix.texi:34620
  51198. 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)."
  51199. msgstr ""
  51200. #. type: Plain text
  51201. #: guix-git/doc/guix.texi:34627
  51202. 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."
  51203. msgstr ""
  51204. #. type: Plain text
  51205. #: guix-git/doc/guix.texi:34634
  51206. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of @code{<setuid-program>} denoting the names of programs to have a setuid or setgid bit set (@pxref{Using the Configuration System}). For instance, the @command{mount.nfs} program, which is part of the nfs-utils package, with a setuid root can be designated like this:"
  51207. msgstr ""
  51208. #. type: lisp
  51209. #: guix-git/doc/guix.texi:34638
  51210. #, no-wrap
  51211. msgid ""
  51212. "(setuid-program\n"
  51213. " (program (file-append nfs-utils \"/sbin/mount.nfs\")))\n"
  51214. msgstr ""
  51215. #. type: Plain text
  51216. #: guix-git/doc/guix.texi:34643
  51217. msgid "And then, to make @command{mount.nfs} setuid on your system, add the previous example to your operating system declaration by appending it to @code{%setuid-programs} like this:"
  51218. msgstr ""
  51219. #. type: lisp
  51220. #: guix-git/doc/guix.texi:34651
  51221. #, no-wrap
  51222. msgid ""
  51223. "(operating-system\n"
  51224. " ;; Some fields omitted...\n"
  51225. " (setuid-programs\n"
  51226. " (append (list (setuid-program\n"
  51227. " (program (file-append nfs-utils \"/sbin/mount.nfs\"))))\n"
  51228. " %setuid-programs)))\n"
  51229. msgstr ""
  51230. #. type: deftp
  51231. #: guix-git/doc/guix.texi:34653
  51232. #, no-wrap
  51233. msgid "{Data Type} setuid-program"
  51234. msgstr ""
  51235. #. type: deftp
  51236. #: guix-git/doc/guix.texi:34655
  51237. msgid "This data type represents a program with a setuid or setgid bit set."
  51238. msgstr ""
  51239. #. type: code{#1}
  51240. #: guix-git/doc/guix.texi:34657
  51241. #, no-wrap
  51242. msgid "program"
  51243. msgstr ""
  51244. #. type: table
  51245. #: guix-git/doc/guix.texi:34659
  51246. msgid "A file-like object having its setuid and/or setgid bit set."
  51247. msgstr ""
  51248. #. type: item
  51249. #: guix-git/doc/guix.texi:34660
  51250. #, no-wrap
  51251. msgid "@code{setuid?} (default: @code{#t})"
  51252. msgstr ""
  51253. #. type: table
  51254. #: guix-git/doc/guix.texi:34662
  51255. msgid "Whether to set user setuid bit."
  51256. msgstr ""
  51257. #. type: item
  51258. #: guix-git/doc/guix.texi:34663
  51259. #, no-wrap
  51260. msgid "@code{setgid?} (default: @code{#f})"
  51261. msgstr ""
  51262. #. type: table
  51263. #: guix-git/doc/guix.texi:34665
  51264. msgid "Whether to set group setgid bit."
  51265. msgstr ""
  51266. #. type: item
  51267. #: guix-git/doc/guix.texi:34666
  51268. #, no-wrap
  51269. msgid "@code{user} (default: @code{0})"
  51270. msgstr ""
  51271. #. type: table
  51272. #: guix-git/doc/guix.texi:34669
  51273. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  51274. msgstr ""
  51275. #. type: item
  51276. #: guix-git/doc/guix.texi:34670
  51277. #, no-wrap
  51278. msgid "@code{group} (default: @code{0})"
  51279. msgstr ""
  51280. #. type: table
  51281. #: guix-git/doc/guix.texi:34673
  51282. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  51283. msgstr ""
  51284. #. type: Plain text
  51285. #: guix-git/doc/guix.texi:34679
  51286. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  51287. msgstr ""
  51288. #. type: defvr
  51289. #: guix-git/doc/guix.texi:34680
  51290. #, no-wrap
  51291. msgid "{Scheme Variable} %setuid-programs"
  51292. msgstr ""
  51293. #. type: defvr
  51294. #: guix-git/doc/guix.texi:34683
  51295. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  51296. msgstr ""
  51297. #. type: defvr
  51298. #: guix-git/doc/guix.texi:34686
  51299. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  51300. msgstr ""
  51301. #. type: Plain text
  51302. #: guix-git/doc/guix.texi:34692
  51303. 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."
  51304. msgstr ""
  51305. #. type: cindex
  51306. #: guix-git/doc/guix.texi:34696
  51307. #, no-wrap
  51308. msgid "HTTPS, certificates"
  51309. msgstr ""
  51310. #. type: cindex
  51311. #: guix-git/doc/guix.texi:34697
  51312. #, no-wrap
  51313. msgid "X.509 certificates"
  51314. msgstr ""
  51315. #. type: cindex
  51316. #: guix-git/doc/guix.texi:34698
  51317. #, no-wrap
  51318. msgid "TLS"
  51319. msgstr ""
  51320. #. type: Plain text
  51321. #: guix-git/doc/guix.texi:34705
  51322. 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."
  51323. msgstr ""
  51324. #. type: Plain text
  51325. #: guix-git/doc/guix.texi:34709
  51326. 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."
  51327. msgstr ""
  51328. #. type: Plain text
  51329. #: guix-git/doc/guix.texi:34713
  51330. 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."
  51331. msgstr ""
  51332. #. type: Plain text
  51333. #: guix-git/doc/guix.texi:34720
  51334. 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."
  51335. msgstr ""
  51336. #. type: Plain text
  51337. #: guix-git/doc/guix.texi:34725
  51338. 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."
  51339. msgstr ""
  51340. #. type: Plain text
  51341. #: guix-git/doc/guix.texi:34735
  51342. 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:"
  51343. msgstr ""
  51344. #. type: example
  51345. #: guix-git/doc/guix.texi:34741
  51346. #, no-wrap
  51347. msgid ""
  51348. "guix install nss-certs\n"
  51349. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  51350. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51351. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  51352. msgstr ""
  51353. #. type: Plain text
  51354. #: guix-git/doc/guix.texi:34746
  51355. 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:"
  51356. msgstr ""
  51357. #. type: example
  51358. #: guix-git/doc/guix.texi:34750
  51359. #, no-wrap
  51360. msgid ""
  51361. "guix install nss-certs\n"
  51362. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51363. msgstr ""
  51364. #. type: Plain text
  51365. #: guix-git/doc/guix.texi:34754
  51366. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  51367. msgstr ""
  51368. #. type: cindex
  51369. #: guix-git/doc/guix.texi:34759
  51370. #, no-wrap
  51371. msgid "name service switch"
  51372. msgstr ""
  51373. #. type: cindex
  51374. #: guix-git/doc/guix.texi:34760
  51375. #, no-wrap
  51376. msgid "NSS"
  51377. msgstr ""
  51378. #. type: Plain text
  51379. #: guix-git/doc/guix.texi:34769
  51380. 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})."
  51381. msgstr ""
  51382. #. type: Plain text
  51383. #: guix-git/doc/guix.texi:34776
  51384. 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}})."
  51385. msgstr ""
  51386. #. type: cindex
  51387. #: guix-git/doc/guix.texi:34777
  51388. #, no-wrap
  51389. msgid "nss-mdns"
  51390. msgstr ""
  51391. #. type: cindex
  51392. #: guix-git/doc/guix.texi:34778
  51393. #, no-wrap
  51394. msgid ".local, host name lookup"
  51395. msgstr ""
  51396. #. type: Plain text
  51397. #: guix-git/doc/guix.texi:34783
  51398. 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}:"
  51399. msgstr ""
  51400. #. type: lisp
  51401. #: guix-git/doc/guix.texi:34787
  51402. #, no-wrap
  51403. msgid ""
  51404. "(name-service-switch\n"
  51405. " (hosts (list %files ;first, check /etc/hosts\n"
  51406. "\n"
  51407. msgstr ""
  51408. #. type: lisp
  51409. #: guix-git/doc/guix.texi:34792
  51410. #, no-wrap
  51411. msgid ""
  51412. " ;; If the above did not succeed, try\n"
  51413. " ;; with 'mdns_minimal'.\n"
  51414. " (name-service\n"
  51415. " (name \"mdns_minimal\")\n"
  51416. "\n"
  51417. msgstr ""
  51418. #. type: lisp
  51419. #: guix-git/doc/guix.texi:34798
  51420. #, no-wrap
  51421. msgid ""
  51422. " ;; 'mdns_minimal' is authoritative for\n"
  51423. " ;; '.local'. When it returns \"not found\",\n"
  51424. " ;; no need to try the next methods.\n"
  51425. " (reaction (lookup-specification\n"
  51426. " (not-found => return))))\n"
  51427. "\n"
  51428. msgstr ""
  51429. #. type: lisp
  51430. #: guix-git/doc/guix.texi:34802
  51431. #, no-wrap
  51432. msgid ""
  51433. " ;; Then fall back to DNS.\n"
  51434. " (name-service\n"
  51435. " (name \"dns\"))\n"
  51436. "\n"
  51437. msgstr ""
  51438. #. type: lisp
  51439. #: guix-git/doc/guix.texi:34806
  51440. #, no-wrap
  51441. msgid ""
  51442. " ;; Finally, try with the \"full\" 'mdns'.\n"
  51443. " (name-service\n"
  51444. " (name \"mdns\")))))\n"
  51445. msgstr ""
  51446. #. type: Plain text
  51447. #: guix-git/doc/guix.texi:34811
  51448. 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."
  51449. msgstr ""
  51450. #. type: Plain text
  51451. #: guix-git/doc/guix.texi:34819
  51452. 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}})."
  51453. msgstr ""
  51454. #. type: Plain text
  51455. #: guix-git/doc/guix.texi:34822
  51456. msgid "For convenience, the following variables provide typical NSS configurations."
  51457. msgstr ""
  51458. #. type: defvr
  51459. #: guix-git/doc/guix.texi:34823
  51460. #, no-wrap
  51461. msgid "{Scheme Variable} %default-nss"
  51462. msgstr ""
  51463. #. type: defvr
  51464. #: guix-git/doc/guix.texi:34826
  51465. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  51466. msgstr ""
  51467. #. type: defvr
  51468. #: guix-git/doc/guix.texi:34828
  51469. #, no-wrap
  51470. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  51471. msgstr ""
  51472. #. type: defvr
  51473. #: guix-git/doc/guix.texi:34831
  51474. 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}."
  51475. msgstr ""
  51476. #. type: Plain text
  51477. #: guix-git/doc/guix.texi:34841
  51478. 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}."
  51479. msgstr ""
  51480. #. type: deftp
  51481. #: guix-git/doc/guix.texi:34842
  51482. #, no-wrap
  51483. msgid "{Data Type} name-service-switch"
  51484. msgstr ""
  51485. #. type: deftp
  51486. #: guix-git/doc/guix.texi:34847
  51487. 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."
  51488. msgstr ""
  51489. #. type: item
  51490. #: guix-git/doc/guix.texi:34849
  51491. #, no-wrap
  51492. msgid "aliases"
  51493. msgstr ""
  51494. #. type: itemx
  51495. #: guix-git/doc/guix.texi:34850
  51496. #, no-wrap
  51497. msgid "ethers"
  51498. msgstr ""
  51499. #. type: itemx
  51500. #: guix-git/doc/guix.texi:34852
  51501. #, no-wrap
  51502. msgid "gshadow"
  51503. msgstr ""
  51504. #. type: itemx
  51505. #: guix-git/doc/guix.texi:34853
  51506. #, no-wrap
  51507. msgid "hosts"
  51508. msgstr ""
  51509. #. type: itemx
  51510. #: guix-git/doc/guix.texi:34854
  51511. #, no-wrap
  51512. msgid "initgroups"
  51513. msgstr ""
  51514. #. type: itemx
  51515. #: guix-git/doc/guix.texi:34855
  51516. #, no-wrap
  51517. msgid "netgroup"
  51518. msgstr ""
  51519. #. type: itemx
  51520. #: guix-git/doc/guix.texi:34856
  51521. #, no-wrap
  51522. msgid "networks"
  51523. msgstr ""
  51524. #. type: itemx
  51525. #: guix-git/doc/guix.texi:34859
  51526. #, no-wrap
  51527. msgid "rpc"
  51528. msgstr ""
  51529. #. type: itemx
  51530. #: guix-git/doc/guix.texi:34861
  51531. #, no-wrap
  51532. msgid "shadow"
  51533. msgstr ""
  51534. #. type: table
  51535. #: guix-git/doc/guix.texi:34864
  51536. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  51537. msgstr ""
  51538. #. type: deftp
  51539. #: guix-git/doc/guix.texi:34867
  51540. #, no-wrap
  51541. msgid "{Data Type} name-service"
  51542. msgstr ""
  51543. #. type: deftp
  51544. #: guix-git/doc/guix.texi:34871
  51545. msgid "This is the data type representing an actual name service and the associated lookup action."
  51546. msgstr ""
  51547. #. type: table
  51548. #: guix-git/doc/guix.texi:34876
  51549. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  51550. msgstr ""
  51551. #. type: table
  51552. #: guix-git/doc/guix.texi:34881
  51553. 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}})."
  51554. msgstr ""
  51555. #. type: item
  51556. #: guix-git/doc/guix.texi:34882
  51557. #, no-wrap
  51558. msgid "reaction"
  51559. msgstr ""
  51560. #. type: table
  51561. #: guix-git/doc/guix.texi:34886
  51562. 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:"
  51563. msgstr ""
  51564. #. type: lisp
  51565. #: guix-git/doc/guix.texi:34890
  51566. #, no-wrap
  51567. msgid ""
  51568. "(lookup-specification (unavailable => continue)\n"
  51569. " (success => return))\n"
  51570. msgstr ""
  51571. #. type: Plain text
  51572. #: guix-git/doc/guix.texi:34904
  51573. 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."
  51574. msgstr ""
  51575. #. type: Plain text
  51576. #: guix-git/doc/guix.texi:34913
  51577. 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:"
  51578. msgstr ""
  51579. #. type: lisp
  51580. #: guix-git/doc/guix.texi:34918
  51581. #, no-wrap
  51582. msgid ""
  51583. "(operating-system\n"
  51584. " ;; @dots{}\n"
  51585. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  51586. msgstr ""
  51587. #. type: defvr
  51588. #: guix-git/doc/guix.texi:34920
  51589. #, no-wrap
  51590. msgid "{Scheme Variable} %base-initrd-modules"
  51591. msgstr ""
  51592. #. type: defvr
  51593. #: guix-git/doc/guix.texi:34922
  51594. msgid "This is the list of kernel modules included in the initrd by default."
  51595. msgstr ""
  51596. #. type: Plain text
  51597. #: guix-git/doc/guix.texi:34930
  51598. 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."
  51599. msgstr ""
  51600. #. type: Plain text
  51601. #: guix-git/doc/guix.texi:34935
  51602. 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:"
  51603. msgstr ""
  51604. #. type: lisp
  51605. #: guix-git/doc/guix.texi:34943
  51606. #, no-wrap
  51607. msgid ""
  51608. "(initrd (lambda (file-systems . rest)\n"
  51609. " ;; Create a standard initrd but set up networking\n"
  51610. " ;; with the parameters QEMU expects by default.\n"
  51611. " (apply base-initrd file-systems\n"
  51612. " #:qemu-networking? #t\n"
  51613. " rest)))\n"
  51614. msgstr ""
  51615. #. type: Plain text
  51616. #: guix-git/doc/guix.texi:34948
  51617. 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."
  51618. msgstr ""
  51619. #. type: Plain text
  51620. #: guix-git/doc/guix.texi:34955
  51621. 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."
  51622. msgstr ""
  51623. #. type: Plain text
  51624. #: guix-git/doc/guix.texi:34960
  51625. 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:"
  51626. msgstr ""
  51627. #. type: item
  51628. #: guix-git/doc/guix.texi:34962
  51629. #, no-wrap
  51630. msgid "--load=@var{boot}"
  51631. msgstr ""
  51632. #. type: table
  51633. #: guix-git/doc/guix.texi:34965
  51634. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  51635. msgstr ""
  51636. #. type: table
  51637. #: guix-git/doc/guix.texi:34969
  51638. 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."
  51639. msgstr ""
  51640. #. type: item
  51641. #: guix-git/doc/guix.texi:34970
  51642. #, no-wrap
  51643. msgid "--root=@var{root}"
  51644. msgstr ""
  51645. #. type: table
  51646. #: guix-git/doc/guix.texi:34975
  51647. 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."
  51648. msgstr ""
  51649. #. type: item
  51650. #: guix-git/doc/guix.texi:34976
  51651. #, no-wrap
  51652. msgid "fsck.mode=@var{mode}"
  51653. msgstr ""
  51654. #. type: table
  51655. #: guix-git/doc/guix.texi:34982
  51656. msgid "Whether to check the @var{root} file system for errors before mounting it. @var{mode} is one of @code{skip} (never check), @code{force} (always check), or @code{auto} to respect the root file-system object's 'check?' setting (@pxref{File Systems}) and run a full scan only if the file system was not cleanly shut down."
  51657. msgstr ""
  51658. #. type: table
  51659. #: guix-git/doc/guix.texi:34985
  51660. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  51661. msgstr ""
  51662. #. type: item
  51663. #: guix-git/doc/guix.texi:34986
  51664. #, no-wrap
  51665. msgid "fsck.repair=@var{level}"
  51666. msgstr ""
  51667. #. type: table
  51668. #: guix-git/doc/guix.texi:34991
  51669. msgid "The level of repairs to perform automatically if errors are found in the @var{root} file system. @var{level} is one of @code{no} (do not write to @var{root} at all if possible), @code{yes} (repair as much as possible), or @code{preen} to repair problems considered safe to repair automatically."
  51670. msgstr ""
  51671. #. type: table
  51672. #: guix-git/doc/guix.texi:34994
  51673. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  51674. msgstr ""
  51675. #. type: table
  51676. #: guix-git/doc/guix.texi:34998
  51677. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  51678. msgstr ""
  51679. #. type: item
  51680. #: guix-git/doc/guix.texi:34999
  51681. #, no-wrap
  51682. msgid "modprobe.blacklist=@var{modules}@dots{}"
  51683. msgstr ""
  51684. #. type: cindex
  51685. #: guix-git/doc/guix.texi:35000
  51686. #, no-wrap
  51687. msgid "module, black-listing"
  51688. msgstr ""
  51689. #. type: cindex
  51690. #: guix-git/doc/guix.texi:35001
  51691. #, no-wrap
  51692. msgid "black list, of kernel modules"
  51693. msgstr ""
  51694. #. type: table
  51695. #: guix-git/doc/guix.texi:35006
  51696. 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}."
  51697. msgstr ""
  51698. #. type: item
  51699. #: guix-git/doc/guix.texi:35007
  51700. #, no-wrap
  51701. msgid "--repl"
  51702. msgstr ""
  51703. #. type: table
  51704. #: guix-git/doc/guix.texi:35013
  51705. 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."
  51706. msgstr ""
  51707. #. type: Plain text
  51708. #: guix-git/doc/guix.texi:35019
  51709. 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."
  51710. msgstr ""
  51711. #. type: deffn
  51712. #: guix-git/doc/guix.texi:35022
  51713. #, no-wrap
  51714. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  51715. msgstr ""
  51716. #. type: deffn
  51717. #: guix-git/doc/guix.texi:35036
  51718. 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."
  51719. msgstr ""
  51720. #. type: deffn
  51721. #: guix-git/doc/guix.texi:35042 guix-git/doc/guix.texi:35066
  51722. 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."
  51723. msgstr ""
  51724. #. type: deffn
  51725. #: guix-git/doc/guix.texi:35046
  51726. 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."
  51727. msgstr ""
  51728. #. type: deffn
  51729. #: guix-git/doc/guix.texi:35049
  51730. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  51731. msgstr ""
  51732. #. type: deffn
  51733. #: guix-git/doc/guix.texi:35051
  51734. #, no-wrap
  51735. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  51736. msgstr ""
  51737. #. type: deffn
  51738. #: guix-git/doc/guix.texi:35060
  51739. 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."
  51740. msgstr ""
  51741. #. type: deffn
  51742. #: guix-git/doc/guix.texi:35068
  51743. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  51744. msgstr ""
  51745. #. type: deffn
  51746. #: guix-git/doc/guix.texi:35073
  51747. 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."
  51748. msgstr ""
  51749. #. type: Plain text
  51750. #: guix-git/doc/guix.texi:35080
  51751. 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."
  51752. msgstr ""
  51753. #. type: deffn
  51754. #: guix-git/doc/guix.texi:35081
  51755. #, no-wrap
  51756. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  51757. msgstr ""
  51758. #. type: deffn
  51759. #: guix-git/doc/guix.texi:35087
  51760. 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."
  51761. msgstr ""
  51762. #. type: cindex
  51763. #: guix-git/doc/guix.texi:35093
  51764. #, no-wrap
  51765. msgid "boot loader"
  51766. msgstr ""
  51767. #. type: Plain text
  51768. #: guix-git/doc/guix.texi:35100
  51769. 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."
  51770. msgstr ""
  51771. #. type: Plain text
  51772. #: guix-git/doc/guix.texi:35105
  51773. 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."
  51774. msgstr ""
  51775. #. type: deftp
  51776. #: guix-git/doc/guix.texi:35106
  51777. #, no-wrap
  51778. msgid "{Data Type} bootloader-configuration"
  51779. msgstr ""
  51780. #. type: deftp
  51781. #: guix-git/doc/guix.texi:35108
  51782. msgid "The type of a bootloader configuration declaration."
  51783. msgstr ""
  51784. #. type: cindex
  51785. #: guix-git/doc/guix.texi:35112
  51786. #, no-wrap
  51787. msgid "EFI, bootloader"
  51788. msgstr ""
  51789. #. type: cindex
  51790. #: guix-git/doc/guix.texi:35113
  51791. #, no-wrap
  51792. msgid "UEFI, bootloader"
  51793. msgstr ""
  51794. #. type: cindex
  51795. #: guix-git/doc/guix.texi:35114
  51796. #, no-wrap
  51797. msgid "BIOS, bootloader"
  51798. msgstr ""
  51799. #. type: table
  51800. #: guix-git/doc/guix.texi:35119
  51801. 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."
  51802. msgstr ""
  51803. #. type: cindex
  51804. #: guix-git/doc/guix.texi:35120
  51805. #, no-wrap
  51806. msgid "ARM, bootloaders"
  51807. msgstr ""
  51808. #. type: cindex
  51809. #: guix-git/doc/guix.texi:35121
  51810. #, no-wrap
  51811. msgid "AArch64, bootloaders"
  51812. msgstr ""
  51813. #. type: table
  51814. #: guix-git/doc/guix.texi:35126
  51815. 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}."
  51816. msgstr ""
  51817. #. type: table
  51818. #: guix-git/doc/guix.texi:35132
  51819. 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."
  51820. msgstr ""
  51821. #. type: table
  51822. #: guix-git/doc/guix.texi:35136
  51823. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  51824. msgstr ""
  51825. #. type: vindex
  51826. #: guix-git/doc/guix.texi:35137
  51827. #, no-wrap
  51828. msgid "grub-efi-netboot-bootloader"
  51829. msgstr ""
  51830. #. type: table
  51831. #: guix-git/doc/guix.texi:35141
  51832. 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."
  51833. msgstr ""
  51834. #. type: table
  51835. #: guix-git/doc/guix.texi:35147
  51836. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{targets} (@pxref{Bootloader Configuration, @code{targets}}), to be served by a TFTP server. You may want to mount your TFTP server directories onto the @code{targets} to move the required files to the TFTP server automatically."
  51837. msgstr ""
  51838. #. type: table
  51839. #: guix-git/doc/guix.texi:35156
  51840. 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}."
  51841. msgstr ""
  51842. #. type: table
  51843. #: guix-git/doc/guix.texi:35165
  51844. msgid "Two symlinks are created to make this possible. For each target in the @code{targets} field, the first symlink is @samp{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @samp{target} may be @file{/boot}. In this case the link is not leaving the served TFTP root directory, but otherwise it does. The second link is @samp{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  51845. msgstr ""
  51846. #. type: table
  51847. #: guix-git/doc/guix.texi:35171
  51848. msgid "The assumption behind all this is that you have an NFS server exporting the root file system for your Guix system, and additionally a TFTP server exporting your @code{targets} directories—usually a single @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  51849. msgstr ""
  51850. #. type: table
  51851. #: guix-git/doc/guix.texi:35176
  51852. msgid "For other constellations you will have to program your own bootloader installer, which then takes care to make necessary files from the store accessible through TFTP, for example by copying them into the TFTP root directory to your @code{targets}."
  51853. msgstr ""
  51854. #. type: table
  51855. #: guix-git/doc/guix.texi:35181
  51856. 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."
  51857. msgstr ""
  51858. #. type: table
  51859. #: guix-git/doc/guix.texi:35186
  51860. 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}."
  51861. msgstr ""
  51862. #. type: table
  51863. #: guix-git/doc/guix.texi:35190
  51864. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  51865. msgstr ""
  51866. #. type: table
  51867. #: guix-git/doc/guix.texi:35200
  51868. msgid "The interpretation of targets depends on the bootloader in question. For @code{grub-bootloader}, for example, they should be device names understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader}, they should be mount points of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{targets} should be the mount points corresponding to TFTP root directories served by your TFTP server."
  51869. msgstr ""
  51870. #. type: item
  51871. #: guix-git/doc/guix.texi:35201
  51872. #, no-wrap
  51873. msgid "@code{menu-entries} (default: @code{()})"
  51874. msgstr ""
  51875. #. type: table
  51876. #: guix-git/doc/guix.texi:35205
  51877. 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."
  51878. msgstr ""
  51879. #. type: item
  51880. #: guix-git/doc/guix.texi:35206
  51881. #, no-wrap
  51882. msgid "@code{default-entry} (default: @code{0})"
  51883. msgstr ""
  51884. #. type: table
  51885. #: guix-git/doc/guix.texi:35209
  51886. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  51887. msgstr ""
  51888. #. type: item
  51889. #: guix-git/doc/guix.texi:35210
  51890. #, no-wrap
  51891. msgid "@code{timeout} (default: @code{5})"
  51892. msgstr ""
  51893. #. type: table
  51894. #: guix-git/doc/guix.texi:35213
  51895. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  51896. msgstr ""
  51897. #. type: cindex
  51898. #: guix-git/doc/guix.texi:35214
  51899. #, no-wrap
  51900. msgid "keyboard layout, for the bootloader"
  51901. msgstr ""
  51902. #. type: table
  51903. #: guix-git/doc/guix.texi:35218
  51904. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  51905. msgstr ""
  51906. #. type: table
  51907. #: guix-git/doc/guix.texi:35221
  51908. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  51909. msgstr ""
  51910. #. type: quotation
  51911. #: guix-git/doc/guix.texi:35225
  51912. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  51913. msgstr ""
  51914. #. type: item
  51915. #: guix-git/doc/guix.texi:35227
  51916. #, no-wrap
  51917. msgid "@code{theme} (default: @var{#f})"
  51918. msgstr ""
  51919. #. type: table
  51920. #: guix-git/doc/guix.texi:35231
  51921. 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."
  51922. msgstr ""
  51923. #. type: item
  51924. #: guix-git/doc/guix.texi:35232
  51925. #, no-wrap
  51926. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  51927. msgstr ""
  51928. #. type: table
  51929. #: guix-git/doc/guix.texi:35239
  51930. 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})."
  51931. msgstr ""
  51932. #. type: item
  51933. #: guix-git/doc/guix.texi:35240
  51934. #, no-wrap
  51935. msgid "@code{terminal-inputs} (default: @code{'()})"
  51936. msgstr ""
  51937. #. type: table
  51938. #: guix-git/doc/guix.texi:35248
  51939. 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})."
  51940. msgstr ""
  51941. #. type: item
  51942. #: guix-git/doc/guix.texi:35249
  51943. #, no-wrap
  51944. msgid "@code{serial-unit} (default: @code{#f})"
  51945. msgstr ""
  51946. #. type: table
  51947. #: guix-git/doc/guix.texi:35253
  51948. 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})."
  51949. msgstr ""
  51950. #. type: item
  51951. #: guix-git/doc/guix.texi:35254
  51952. #, no-wrap
  51953. msgid "@code{serial-speed} (default: @code{#f})"
  51954. msgstr ""
  51955. #. type: table
  51956. #: guix-git/doc/guix.texi:35258
  51957. 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})."
  51958. msgstr ""
  51959. #. type: cindex
  51960. #: guix-git/doc/guix.texi:35262
  51961. #, no-wrap
  51962. msgid "dual boot"
  51963. msgstr ""
  51964. #. type: cindex
  51965. #: guix-git/doc/guix.texi:35263
  51966. #, no-wrap
  51967. msgid "boot menu"
  51968. msgstr ""
  51969. #. type: Plain text
  51970. #: guix-git/doc/guix.texi:35269
  51971. 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:"
  51972. msgstr ""
  51973. #. type: lisp
  51974. #: guix-git/doc/guix.texi:35276
  51975. #, no-wrap
  51976. msgid ""
  51977. "(menu-entry\n"
  51978. " (label \"The Other Distro\")\n"
  51979. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  51980. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  51981. " (initrd \"/boot/old/initrd\"))\n"
  51982. msgstr ""
  51983. #. type: Plain text
  51984. #: guix-git/doc/guix.texi:35279
  51985. msgid "Details below."
  51986. msgstr ""
  51987. #. type: deftp
  51988. #: guix-git/doc/guix.texi:35280
  51989. #, no-wrap
  51990. msgid "{Data Type} menu-entry"
  51991. msgstr ""
  51992. #. type: deftp
  51993. #: guix-git/doc/guix.texi:35282
  51994. msgid "The type of an entry in the bootloader menu."
  51995. msgstr ""
  51996. #. type: table
  51997. #: guix-git/doc/guix.texi:35287
  51998. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  51999. msgstr ""
  52000. #. type: item
  52001. #: guix-git/doc/guix.texi:35288
  52002. #, no-wrap
  52003. msgid "@code{linux} (default: @code{#f})"
  52004. msgstr ""
  52005. #. type: table
  52006. #: guix-git/doc/guix.texi:35290
  52007. msgid "The Linux kernel image to boot, for example:"
  52008. msgstr ""
  52009. #. type: lisp
  52010. #: guix-git/doc/guix.texi:35293
  52011. #, no-wrap
  52012. msgid "(file-append linux-libre \"/bzImage\")\n"
  52013. msgstr ""
  52014. #. type: table
  52015. #: guix-git/doc/guix.texi:35298
  52016. 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:"
  52017. msgstr ""
  52018. #. type: example
  52019. #: guix-git/doc/guix.texi:35301
  52020. #, no-wrap
  52021. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  52022. msgstr ""
  52023. #. type: table
  52024. #: guix-git/doc/guix.texi:35305
  52025. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  52026. msgstr ""
  52027. #. type: item
  52028. #: guix-git/doc/guix.texi:35306
  52029. #, no-wrap
  52030. msgid "@code{linux-arguments} (default: @code{()})"
  52031. msgstr ""
  52032. #. type: table
  52033. #: guix-git/doc/guix.texi:35309
  52034. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  52035. msgstr ""
  52036. #. type: item
  52037. #: guix-git/doc/guix.texi:35310
  52038. #, no-wrap
  52039. msgid "@code{initrd} (default: @code{#f})"
  52040. msgstr ""
  52041. #. type: table
  52042. #: guix-git/doc/guix.texi:35313
  52043. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  52044. msgstr ""
  52045. #. type: table
  52046. #: guix-git/doc/guix.texi:35317
  52047. 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})."
  52048. msgstr ""
  52049. #. type: table
  52050. #: guix-git/doc/guix.texi:35323
  52051. 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}."
  52052. msgstr ""
  52053. #. type: item
  52054. #: guix-git/doc/guix.texi:35324
  52055. #, no-wrap
  52056. msgid "@code{multiboot-kernel} (default: @code{#f})"
  52057. msgstr ""
  52058. #. type: table
  52059. #: guix-git/doc/guix.texi:35328
  52060. 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:"
  52061. msgstr ""
  52062. #. type: lisp
  52063. #: guix-git/doc/guix.texi:35331
  52064. #, no-wrap
  52065. msgid "(file-append mach \"/boot/gnumach\")\n"
  52066. msgstr ""
  52067. #. type: item
  52068. #: guix-git/doc/guix.texi:35333
  52069. #, no-wrap
  52070. msgid "@code{multiboot-arguments} (default: @code{()})"
  52071. msgstr ""
  52072. #. type: table
  52073. #: guix-git/doc/guix.texi:35335
  52074. msgid "The list of extra command-line arguments for the multiboot-kernel."
  52075. msgstr ""
  52076. #. type: item
  52077. #: guix-git/doc/guix.texi:35336
  52078. #, no-wrap
  52079. msgid "@code{multiboot-modules} (default: @code{()})"
  52080. msgstr ""
  52081. #. type: table
  52082. #: guix-git/doc/guix.texi:35338
  52083. msgid "The list of commands for loading Multiboot modules. For example:"
  52084. msgstr ""
  52085. #. type: lisp
  52086. #: guix-git/doc/guix.texi:35344
  52087. #, no-wrap
  52088. msgid ""
  52089. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  52090. " @dots{})\n"
  52091. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  52092. " @dots{}))\n"
  52093. msgstr ""
  52094. #. type: cindex
  52095. #: guix-git/doc/guix.texi:35349 guix-git/doc/guix.texi:35408
  52096. #, no-wrap
  52097. msgid "HDPI"
  52098. msgstr ""
  52099. #. type: cindex
  52100. #: guix-git/doc/guix.texi:35350 guix-git/doc/guix.texi:35409
  52101. #, no-wrap
  52102. msgid "HiDPI"
  52103. msgstr ""
  52104. #. type: cindex
  52105. #: guix-git/doc/guix.texi:35351 guix-git/doc/guix.texi:35410
  52106. #, no-wrap
  52107. msgid "resolution"
  52108. msgstr ""
  52109. #. type: Plain text
  52110. #: guix-git/doc/guix.texi:35355
  52111. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  52112. msgstr ""
  52113. #. type: deftp
  52114. #: guix-git/doc/guix.texi:35356
  52115. #, no-wrap
  52116. msgid "{Data Type} grub-theme"
  52117. msgstr ""
  52118. #. type: deftp
  52119. #: guix-git/doc/guix.texi:35358
  52120. msgid "Data type representing the configuration of the GRUB theme."
  52121. msgstr ""
  52122. #. type: item
  52123. #: guix-git/doc/guix.texi:35360
  52124. #, no-wrap
  52125. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  52126. msgstr ""
  52127. #. type: table
  52128. #: guix-git/doc/guix.texi:35363
  52129. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  52130. msgstr ""
  52131. #. type: deffn
  52132. #: guix-git/doc/guix.texi:35366
  52133. #, no-wrap
  52134. msgid "{Scheme Procedure} grub-theme"
  52135. msgstr ""
  52136. #. type: deffn
  52137. #: guix-git/doc/guix.texi:35370
  52138. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  52139. msgstr ""
  52140. #. type: deffn
  52141. #: guix-git/doc/guix.texi:35373
  52142. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  52143. msgstr ""
  52144. #. type: Plain text
  52145. #: guix-git/doc/guix.texi:35377
  52146. msgid "For example, to override the default resolution, you may use something like"
  52147. msgstr ""
  52148. #. type: lisp
  52149. #: guix-git/doc/guix.texi:35385
  52150. #, no-wrap
  52151. msgid ""
  52152. "(bootloader\n"
  52153. " (bootloader-configuration\n"
  52154. " ;; @dots{}\n"
  52155. " (theme (grub-theme\n"
  52156. " (inherit (grub-theme))\n"
  52157. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  52158. msgstr ""
  52159. #. type: section
  52160. #: guix-git/doc/guix.texi:35388
  52161. #, no-wrap
  52162. msgid "Invoking @code{guix system}"
  52163. msgstr ""
  52164. #. type: Plain text
  52165. #: guix-git/doc/guix.texi:35393
  52166. 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:"
  52167. msgstr ""
  52168. #. type: example
  52169. #: guix-git/doc/guix.texi:35396
  52170. #, no-wrap
  52171. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  52172. msgstr ""
  52173. #. type: Plain text
  52174. #: guix-git/doc/guix.texi:35402
  52175. 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:"
  52176. msgstr ""
  52177. #. type: item
  52178. #: guix-git/doc/guix.texi:35404 guix-git/doc/guix.texi:38186
  52179. #, no-wrap
  52180. msgid "search"
  52181. msgstr ""
  52182. #. type: table
  52183. #: guix-git/doc/guix.texi:35407
  52184. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  52185. msgstr ""
  52186. #. type: example
  52187. #: guix-git/doc/guix.texi:35429
  52188. #, no-wrap
  52189. msgid ""
  52190. "$ guix system search console\n"
  52191. "name: console-fonts\n"
  52192. "location: gnu/services/base.scm:806:2\n"
  52193. "extends: shepherd-root\n"
  52194. "description: Install the given fonts on the specified ttys (fonts are per\n"
  52195. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  52196. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  52197. "+ package or any valid argument to `setfont', as in this example:\n"
  52198. "+\n"
  52199. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  52200. "+ (\"tty2\" . (file-append\n"
  52201. "+ font-tamzen\n"
  52202. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  52203. "+ (\"tty3\" . (file-append\n"
  52204. "+ font-terminus\n"
  52205. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  52206. "relevance: 9\n"
  52207. "\n"
  52208. msgstr ""
  52209. #. type: example
  52210. #: guix-git/doc/guix.texi:35435
  52211. #, no-wrap
  52212. msgid ""
  52213. "name: mingetty\n"
  52214. "location: gnu/services/base.scm:1190:2\n"
  52215. "extends: shepherd-root\n"
  52216. "description: Provide console login using the `mingetty' program.\n"
  52217. "relevance: 2\n"
  52218. "\n"
  52219. msgstr ""
  52220. #. type: example
  52221. #: guix-git/doc/guix.texi:35442
  52222. #, no-wrap
  52223. msgid ""
  52224. "name: login\n"
  52225. "location: gnu/services/base.scm:860:2\n"
  52226. "extends: pam\n"
  52227. "description: Provide a console log-in service as specified by its\n"
  52228. "+ configuration value, a `login-configuration' object.\n"
  52229. "relevance: 2\n"
  52230. "\n"
  52231. msgstr ""
  52232. #. type: example
  52233. #: guix-git/doc/guix.texi:35444 guix-git/doc/guix.texi:38222
  52234. #, no-wrap
  52235. msgid "@dots{}\n"
  52236. msgstr ""
  52237. #. type: table
  52238. #: guix-git/doc/guix.texi:35449
  52239. 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})."
  52240. msgstr ""
  52241. #. type: item
  52242. #: guix-git/doc/guix.texi:35450 guix-git/doc/guix.texi:38228
  52243. #, no-wrap
  52244. msgid "reconfigure"
  52245. msgstr ""
  52246. #. type: table
  52247. #: guix-git/doc/guix.texi:35455
  52248. 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.}."
  52249. msgstr ""
  52250. #. type: quotation
  52251. #: guix-git/doc/guix.texi:35463
  52252. 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."
  52253. msgstr ""
  52254. #. type: table
  52255. #: guix-git/doc/guix.texi:35471
  52256. 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})."
  52257. msgstr ""
  52258. #. type: table
  52259. #: guix-git/doc/guix.texi:35477
  52260. 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})."
  52261. msgstr ""
  52262. #. type: table
  52263. #: guix-git/doc/guix.texi:35482
  52264. 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."
  52265. msgstr ""
  52266. #. type: cindex
  52267. #: guix-git/doc/guix.texi:35483 guix-git/doc/guix.texi:35819
  52268. #: guix-git/doc/guix.texi:36827
  52269. #, no-wrap
  52270. msgid "provenance tracking, of the operating system"
  52271. msgstr ""
  52272. #. type: table
  52273. #: guix-git/doc/guix.texi:35488
  52274. 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:"
  52275. msgstr ""
  52276. #. type: example
  52277. #: guix-git/doc/guix.texi:35491
  52278. #, no-wrap
  52279. msgid "guix system describe\n"
  52280. msgstr ""
  52281. #. type: table
  52282. #: guix-git/doc/guix.texi:35497
  52283. 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:"
  52284. msgstr ""
  52285. #. type: example
  52286. #: guix-git/doc/guix.texi:35503
  52287. #, no-wrap
  52288. msgid ""
  52289. "guix time-machine \\\n"
  52290. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  52291. " system reconfigure \\\n"
  52292. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  52293. msgstr ""
  52294. #. type: table
  52295. #: guix-git/doc/guix.texi:35509
  52296. 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."
  52297. msgstr ""
  52298. #. type: table
  52299. #: guix-git/doc/guix.texi:35515
  52300. 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}."
  52301. msgstr ""
  52302. #. type: item
  52303. #: guix-git/doc/guix.texi:35516 guix-git/doc/guix.texi:38287
  52304. #, no-wrap
  52305. msgid "switch-generation"
  52306. msgstr ""
  52307. #. type: table
  52308. #: guix-git/doc/guix.texi:35525
  52309. 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."
  52310. msgstr ""
  52311. #. type: table
  52312. #: guix-git/doc/guix.texi:35529
  52313. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  52314. msgstr ""
  52315. #. type: table
  52316. #: guix-git/doc/guix.texi:35533
  52317. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  52318. msgstr ""
  52319. #. type: example
  52320. #: guix-git/doc/guix.texi:35536
  52321. #, no-wrap
  52322. msgid "guix system switch-generation 7\n"
  52323. msgstr ""
  52324. #. type: table
  52325. #: guix-git/doc/guix.texi:35544 guix-git/doc/guix.texi:38306
  52326. 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:"
  52327. msgstr ""
  52328. #. type: example
  52329. #: guix-git/doc/guix.texi:35547
  52330. #, no-wrap
  52331. msgid "guix system switch-generation -- -1\n"
  52332. msgstr ""
  52333. #. type: table
  52334. #: guix-git/doc/guix.texi:35555
  52335. 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."
  52336. msgstr ""
  52337. #. type: table
  52338. #: guix-git/doc/guix.texi:35557 guix-git/doc/guix.texi:38312
  52339. msgid "This action will fail if the specified generation does not exist."
  52340. msgstr ""
  52341. #. type: item
  52342. #: guix-git/doc/guix.texi:35558 guix-git/doc/guix.texi:38313
  52343. #, no-wrap
  52344. msgid "roll-back"
  52345. msgstr ""
  52346. #. type: table
  52347. #: guix-git/doc/guix.texi:35564
  52348. 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}."
  52349. msgstr ""
  52350. #. type: table
  52351. #: guix-git/doc/guix.texi:35568
  52352. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  52353. msgstr ""
  52354. #. type: item
  52355. #: guix-git/doc/guix.texi:35569 guix-git/doc/guix.texi:38319
  52356. #, no-wrap
  52357. msgid "delete-generations"
  52358. msgstr ""
  52359. #. type: cindex
  52360. #: guix-git/doc/guix.texi:35570
  52361. #, no-wrap
  52362. msgid "deleting system generations"
  52363. msgstr ""
  52364. #. type: cindex
  52365. #: guix-git/doc/guix.texi:35571 guix-git/doc/guix.texi:38321
  52366. #, no-wrap
  52367. msgid "saving space"
  52368. msgstr ""
  52369. #. type: table
  52370. #: guix-git/doc/guix.texi:35575
  52371. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  52372. msgstr ""
  52373. #. type: table
  52374. #: guix-git/doc/guix.texi:35579
  52375. 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:"
  52376. msgstr ""
  52377. #. type: example
  52378. #: guix-git/doc/guix.texi:35582
  52379. #, no-wrap
  52380. msgid "guix system delete-generations\n"
  52381. msgstr ""
  52382. #. type: table
  52383. #: guix-git/doc/guix.texi:35586
  52384. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two months old:"
  52385. msgstr ""
  52386. #. type: example
  52387. #: guix-git/doc/guix.texi:35589
  52388. #, no-wrap
  52389. msgid "guix system delete-generations 2m\n"
  52390. msgstr ""
  52391. #. type: table
  52392. #: guix-git/doc/guix.texi:35594
  52393. 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."
  52394. msgstr ""
  52395. #. type: table
  52396. #: guix-git/doc/guix.texi:35599
  52397. 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."
  52398. msgstr ""
  52399. #. type: item
  52400. #: guix-git/doc/guix.texi:35600
  52401. #, no-wrap
  52402. msgid "init"
  52403. msgstr ""
  52404. #. type: table
  52405. #: guix-git/doc/guix.texi:35604
  52406. 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:"
  52407. msgstr ""
  52408. #. type: example
  52409. #: guix-git/doc/guix.texi:35607
  52410. #, no-wrap
  52411. msgid "guix system init my-os-config.scm /mnt\n"
  52412. msgstr ""
  52413. #. type: table
  52414. #: guix-git/doc/guix.texi:35614
  52415. 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."
  52416. msgstr ""
  52417. #. type: table
  52418. #: guix-git/doc/guix.texi:35618
  52419. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  52420. msgstr ""
  52421. #. type: item
  52422. #: guix-git/doc/guix.texi:35619
  52423. #, no-wrap
  52424. msgid "vm"
  52425. msgstr ""
  52426. #. type: cindex
  52427. #: guix-git/doc/guix.texi:35620 guix-git/doc/guix.texi:36238
  52428. #, no-wrap
  52429. msgid "virtual machine"
  52430. msgstr ""
  52431. #. type: cindex
  52432. #: guix-git/doc/guix.texi:35621
  52433. #, no-wrap
  52434. msgid "VM"
  52435. msgstr ""
  52436. #. type: anchor{#1}
  52437. #: guix-git/doc/guix.texi:35625
  52438. msgid "guix system vm"
  52439. msgstr ""
  52440. #. type: table
  52441. #: guix-git/doc/guix.texi:35625
  52442. msgid "Build a virtual machine (VM) that contains the operating system declared in @var{file}, and return a script to run that VM."
  52443. msgstr ""
  52444. #. type: quotation
  52445. #: guix-git/doc/guix.texi:35633
  52446. 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})."
  52447. msgstr ""
  52448. #. type: table
  52449. #: guix-git/doc/guix.texi:35638
  52450. 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:"
  52451. msgstr ""
  52452. #. type: example
  52453. #: guix-git/doc/guix.texi:35641
  52454. #, no-wrap
  52455. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52456. msgstr ""
  52457. #. type: table
  52458. #: guix-git/doc/guix.texi:35644
  52459. msgid "It's possible to combine the two steps into one:"
  52460. msgstr ""
  52461. #. type: example
  52462. #: guix-git/doc/guix.texi:35647
  52463. #, no-wrap
  52464. msgid "$ $(guix system vm my-config.scm) -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52465. msgstr ""
  52466. #. type: table
  52467. #: guix-git/doc/guix.texi:35650
  52468. msgid "The VM shares its store with the host system."
  52469. msgstr ""
  52470. #. type: table
  52471. #: guix-git/doc/guix.texi:35655
  52472. msgid "By default, the root file system of the VM is mounted volatile; the @option{--persistent} option can be provided to make it persistent instead. In that case, the VM disk-image file will be copied from the store to the @env{TMPDIR} directory to make it writable."
  52473. msgstr ""
  52474. #. type: table
  52475. #: guix-git/doc/guix.texi:35660
  52476. 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."
  52477. msgstr ""
  52478. #. type: table
  52479. #: guix-git/doc/guix.texi:35664
  52480. 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:"
  52481. msgstr ""
  52482. #. type: example
  52483. #: guix-git/doc/guix.texi:35668
  52484. #, no-wrap
  52485. msgid ""
  52486. "guix system vm my-config.scm \\\n"
  52487. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52488. msgstr ""
  52489. #. type: table
  52490. #: guix-git/doc/guix.texi:35673
  52491. 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."
  52492. msgstr ""
  52493. #. type: table
  52494. #: guix-git/doc/guix.texi:35678
  52495. 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."
  52496. msgstr ""
  52497. #. type: table
  52498. #: guix-git/doc/guix.texi:35681
  52499. msgid "The @option{--image-size} option can be used to specify the size of the image."
  52500. msgstr ""
  52501. #. type: table
  52502. #: guix-git/doc/guix.texi:35688
  52503. msgid "The @option{--no-graphic} option will instruct @command{guix system} to spawn a headless VM that will use the invoking tty for IO. Among other things, this enables copy-pasting, and scrollback. Use the @kbd{ctrl-a} prefix to issue QEMU commands; e.g. @kbd{ctrl-a h} prints a help, @kbd{ctrl-a x} quits the VM, and @kbd{ctrl-a c} switches between the QEMU monitor and the VM."
  52504. msgstr ""
  52505. #. type: cindex
  52506. #: guix-git/doc/guix.texi:35689
  52507. #, no-wrap
  52508. msgid "System images, creation in various formats"
  52509. msgstr ""
  52510. #. type: cindex
  52511. #: guix-git/doc/guix.texi:35690
  52512. #, no-wrap
  52513. msgid "Creating system images in various formats"
  52514. msgstr ""
  52515. #. type: item
  52516. #: guix-git/doc/guix.texi:35691
  52517. #, no-wrap
  52518. msgid "image"
  52519. msgstr ""
  52520. #. type: cindex
  52521. #: guix-git/doc/guix.texi:35692
  52522. #, no-wrap
  52523. msgid "image, creating disk images"
  52524. msgstr ""
  52525. #. type: table
  52526. #: guix-git/doc/guix.texi:35704
  52527. 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:"
  52528. msgstr ""
  52529. #. type: example
  52530. #: guix-git/doc/guix.texi:35712
  52531. #, no-wrap
  52532. msgid ""
  52533. "image=$(guix system image --image-type=qcow2 \\\n"
  52534. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  52535. "cp $image /tmp/my-image.qcow2\n"
  52536. "chmod +w /tmp/my-image.qcow2\n"
  52537. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  52538. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  52539. msgstr ""
  52540. #. type: table
  52541. #: guix-git/doc/guix.texi:35718
  52542. 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:"
  52543. msgstr ""
  52544. #. type: example
  52545. #: guix-git/doc/guix.texi:35721
  52546. #, no-wrap
  52547. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  52548. msgstr ""
  52549. #. type: table
  52550. #: guix-git/doc/guix.texi:35725
  52551. msgid "The @code{--list-image-types} command lists all the available image types."
  52552. msgstr ""
  52553. #. type: cindex
  52554. #: guix-git/doc/guix.texi:35726
  52555. #, no-wrap
  52556. msgid "creating virtual machine images"
  52557. msgstr ""
  52558. #. type: table
  52559. #: guix-git/doc/guix.texi:35735
  52560. 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)."
  52561. msgstr ""
  52562. #. type: cindex
  52563. #: guix-git/doc/guix.texi:35736
  52564. #, no-wrap
  52565. msgid "docker-image, creating docker images"
  52566. msgstr ""
  52567. #. type: table
  52568. #: guix-git/doc/guix.texi:35742
  52569. msgid "When using the @code{docker} image type, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:"
  52570. msgstr ""
  52571. #. type: example
  52572. #: guix-git/doc/guix.texi:35747
  52573. #, no-wrap
  52574. msgid ""
  52575. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  52576. "container_id=\"$(docker create $image_id)\"\n"
  52577. "docker start $container_id\n"
  52578. msgstr ""
  52579. #. type: table
  52580. #: guix-git/doc/guix.texi:35754
  52581. 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}:"
  52582. msgstr ""
  52583. #. type: example
  52584. #: guix-git/doc/guix.texi:35757
  52585. #, no-wrap
  52586. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  52587. msgstr ""
  52588. #. type: table
  52589. #: guix-git/doc/guix.texi:35764
  52590. 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}."
  52591. msgstr ""
  52592. #. type: table
  52593. #: guix-git/doc/guix.texi:35768
  52594. 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."
  52595. msgstr ""
  52596. #. type: table
  52597. #: guix-git/doc/guix.texi:35776
  52598. 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."
  52599. msgstr ""
  52600. #. type: table
  52601. #: guix-git/doc/guix.texi:35780
  52602. 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."
  52603. msgstr ""
  52604. #. type: table
  52605. #: guix-git/doc/guix.texi:35784
  52606. 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:"
  52607. msgstr ""
  52608. #. type: example
  52609. #: guix-git/doc/guix.texi:35788
  52610. #, no-wrap
  52611. msgid ""
  52612. "guix system container my-config.scm \\\n"
  52613. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52614. msgstr ""
  52615. #. type: quotation
  52616. #: guix-git/doc/guix.texi:35792
  52617. msgid "This option requires Linux-libre 3.19 or newer."
  52618. msgstr ""
  52619. #. type: Plain text
  52620. #: guix-git/doc/guix.texi:35799 guix-git/doc/guix.texi:38383
  52621. 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:"
  52622. msgstr ""
  52623. #. type: table
  52624. #: guix-git/doc/guix.texi:35808
  52625. 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})."
  52626. msgstr ""
  52627. #. type: table
  52628. #: guix-git/doc/guix.texi:35813
  52629. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  52630. msgstr ""
  52631. #. type: table
  52632. #: guix-git/doc/guix.texi:35818
  52633. msgid "Return the derivation file name of the given operating system without building anything."
  52634. msgstr ""
  52635. #. type: table
  52636. #: guix-git/doc/guix.texi:35827
  52637. 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:"
  52638. msgstr ""
  52639. #. type: example
  52640. #: guix-git/doc/guix.texi:35830
  52641. #, no-wrap
  52642. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  52643. msgstr ""
  52644. #. type: table
  52645. #: guix-git/doc/guix.texi:35837
  52646. 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."
  52647. msgstr ""
  52648. #. type: item
  52649. #: guix-git/doc/guix.texi:35838
  52650. #, no-wrap
  52651. msgid "--image-type=@var{type}"
  52652. msgstr ""
  52653. #. type: table
  52654. #: guix-git/doc/guix.texi:35841
  52655. msgid "For the @code{image} action, create an image with given @var{type}."
  52656. msgstr ""
  52657. #. type: table
  52658. #: guix-git/doc/guix.texi:35844
  52659. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  52660. msgstr ""
  52661. #. type: cindex
  52662. #: guix-git/doc/guix.texi:35845
  52663. #, no-wrap
  52664. msgid "ISO-9660 format"
  52665. msgstr ""
  52666. #. type: cindex
  52667. #: guix-git/doc/guix.texi:35846
  52668. #, no-wrap
  52669. msgid "CD image format"
  52670. msgstr ""
  52671. #. type: cindex
  52672. #: guix-git/doc/guix.texi:35847
  52673. #, no-wrap
  52674. msgid "DVD image format"
  52675. msgstr ""
  52676. #. type: table
  52677. #: guix-git/doc/guix.texi:35850
  52678. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  52679. msgstr ""
  52680. #. type: item
  52681. #: guix-git/doc/guix.texi:35851
  52682. #, no-wrap
  52683. msgid "--image-size=@var{size}"
  52684. msgstr ""
  52685. #. type: table
  52686. #: guix-git/doc/guix.texi:35856
  52687. 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})."
  52688. msgstr ""
  52689. #. type: table
  52690. #: guix-git/doc/guix.texi:35860
  52691. 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}."
  52692. msgstr ""
  52693. #. type: table
  52694. #: guix-git/doc/guix.texi:35865
  52695. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  52696. msgstr ""
  52697. #. type: item
  52698. #: guix-git/doc/guix.texi:35871
  52699. #, no-wrap
  52700. msgid "--skip-checks"
  52701. msgstr ""
  52702. #. type: table
  52703. #: guix-git/doc/guix.texi:35873
  52704. msgid "Skip pre-installation safety checks."
  52705. msgstr ""
  52706. #. type: table
  52707. #: guix-git/doc/guix.texi:35880
  52708. 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."
  52709. msgstr ""
  52710. #. type: table
  52711. #: guix-git/doc/guix.texi:35883
  52712. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  52713. msgstr ""
  52714. #. type: table
  52715. #: guix-git/doc/guix.texi:35891
  52716. 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."
  52717. msgstr ""
  52718. #. type: cindex
  52719. #: guix-git/doc/guix.texi:35897
  52720. #, no-wrap
  52721. msgid "on-error"
  52722. msgstr ""
  52723. #. type: cindex
  52724. #: guix-git/doc/guix.texi:35898
  52725. #, no-wrap
  52726. msgid "on-error strategy"
  52727. msgstr ""
  52728. #. type: cindex
  52729. #: guix-git/doc/guix.texi:35899
  52730. #, no-wrap
  52731. msgid "error strategy"
  52732. msgstr ""
  52733. #. type: item
  52734. #: guix-git/doc/guix.texi:35900
  52735. #, no-wrap
  52736. msgid "--on-error=@var{strategy}"
  52737. msgstr ""
  52738. #. type: table
  52739. #: guix-git/doc/guix.texi:35903
  52740. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  52741. msgstr ""
  52742. #. type: item
  52743. #: guix-git/doc/guix.texi:35905
  52744. #, no-wrap
  52745. msgid "nothing-special"
  52746. msgstr ""
  52747. #. type: table
  52748. #: guix-git/doc/guix.texi:35907
  52749. msgid "Report the error concisely and exit. This is the default strategy."
  52750. msgstr ""
  52751. #. type: item
  52752. #: guix-git/doc/guix.texi:35908
  52753. #, no-wrap
  52754. msgid "backtrace"
  52755. msgstr ""
  52756. #. type: table
  52757. #: guix-git/doc/guix.texi:35910
  52758. msgid "Likewise, but also display a backtrace."
  52759. msgstr ""
  52760. #. type: item
  52761. #: guix-git/doc/guix.texi:35911
  52762. #, no-wrap
  52763. msgid "debug"
  52764. msgstr ""
  52765. #. type: table
  52766. #: guix-git/doc/guix.texi:35917
  52767. 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."
  52768. msgstr ""
  52769. #. type: Plain text
  52770. #: guix-git/doc/guix.texi:35924
  52771. 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:"
  52772. msgstr ""
  52773. #. type: item
  52774. #: guix-git/doc/guix.texi:35927 guix-git/doc/guix.texi:38346
  52775. #, no-wrap
  52776. msgid "describe"
  52777. msgstr ""
  52778. #. type: table
  52779. #: guix-git/doc/guix.texi:35930
  52780. msgid "Describe the running system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  52781. msgstr ""
  52782. #. type: quotation
  52783. #: guix-git/doc/guix.texi:35937
  52784. msgid "The @emph{running} system generation---referred to by @file{/run/current-system}---is not necessarily the @emph{current} system generation---referred to by @file{/var/guix/profiles/system}: it differs when, for instance, you chose from the bootloader menu to boot an older generation."
  52785. msgstr ""
  52786. #. type: quotation
  52787. #: guix-git/doc/guix.texi:35941
  52788. msgid "It can also differ from the @emph{booted} system generation---referred to by @file{/run/booted-system}---for instance because you reconfigured the system in the meantime."
  52789. msgstr ""
  52790. #. type: item
  52791. #: guix-git/doc/guix.texi:35943 guix-git/doc/guix.texi:38350
  52792. #, no-wrap
  52793. msgid "list-generations"
  52794. msgstr ""
  52795. #. type: table
  52796. #: guix-git/doc/guix.texi:35948
  52797. 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})."
  52798. msgstr ""
  52799. #. type: table
  52800. #: guix-git/doc/guix.texi:35953 guix-git/doc/guix.texi:38360
  52801. 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:"
  52802. msgstr ""
  52803. #. type: example
  52804. #: guix-git/doc/guix.texi:35956
  52805. #, no-wrap
  52806. msgid "$ guix system list-generations 10d\n"
  52807. msgstr ""
  52808. #. type: Plain text
  52809. #: guix-git/doc/guix.texi:35963
  52810. 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:"
  52811. msgstr ""
  52812. #. type: anchor{#1}
  52813. #: guix-git/doc/guix.texi:35965
  52814. msgid "system-extension-graph"
  52815. msgstr ""
  52816. #. type: item
  52817. #: guix-git/doc/guix.texi:35967
  52818. #, no-wrap
  52819. msgid "extension-graph"
  52820. msgstr ""
  52821. #. type: table
  52822. #: guix-git/doc/guix.texi:35974
  52823. 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}}):"
  52824. msgstr ""
  52825. #. type: table
  52826. #: guix-git/doc/guix.texi:35976
  52827. msgid "The command:"
  52828. msgstr ""
  52829. #. type: example
  52830. #: guix-git/doc/guix.texi:35979
  52831. #, no-wrap
  52832. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  52833. msgstr ""
  52834. #. type: table
  52835. #: guix-git/doc/guix.texi:35982
  52836. msgid "shows the extension relations among services."
  52837. msgstr ""
  52838. #. type: anchor{#1}
  52839. #: guix-git/doc/guix.texi:35984
  52840. msgid "system-shepherd-graph"
  52841. msgstr ""
  52842. #. type: item
  52843. #: guix-git/doc/guix.texi:35984
  52844. #, no-wrap
  52845. msgid "shepherd-graph"
  52846. msgstr ""
  52847. #. type: table
  52848. #: guix-git/doc/guix.texi:35989
  52849. 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."
  52850. msgstr ""
  52851. #. type: table
  52852. #: guix-git/doc/guix.texi:35992
  52853. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  52854. msgstr ""
  52855. #. type: section
  52856. #: guix-git/doc/guix.texi:35996
  52857. #, no-wrap
  52858. msgid "Invoking @code{guix deploy}"
  52859. msgstr ""
  52860. #. type: Plain text
  52861. #: guix-git/doc/guix.texi:36004
  52862. 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''."
  52863. msgstr ""
  52864. #. type: quotation
  52865. #: guix-git/doc/guix.texi:36009 guix-git/doc/guix.texi:37504
  52866. 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}!"
  52867. msgstr ""
  52868. #. type: example
  52869. #: guix-git/doc/guix.texi:36013
  52870. #, no-wrap
  52871. msgid "guix deploy @var{file}\n"
  52872. msgstr ""
  52873. #. type: Plain text
  52874. #: guix-git/doc/guix.texi:36017
  52875. 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:"
  52876. msgstr ""
  52877. #. type: lisp
  52878. #: guix-git/doc/guix.texi:36024
  52879. #, no-wrap
  52880. msgid ""
  52881. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  52882. ";; no X11 display server, to a machine with an SSH daemon\n"
  52883. ";; listening on localhost:2222. A configuration such as this\n"
  52884. ";; may be appropriate for virtual machine with ports\n"
  52885. ";; forwarded to the host's loopback interface.\n"
  52886. "\n"
  52887. msgstr ""
  52888. #. type: lisp
  52889. #: guix-git/doc/guix.texi:36027
  52890. #, no-wrap
  52891. msgid ""
  52892. "(use-service-modules networking ssh)\n"
  52893. "(use-package-modules bootloaders)\n"
  52894. "\n"
  52895. msgstr ""
  52896. #. type: lisp
  52897. #: guix-git/doc/guix.texi:36048
  52898. #, no-wrap
  52899. msgid ""
  52900. "(define %system\n"
  52901. " (operating-system\n"
  52902. " (host-name \"gnu-deployed\")\n"
  52903. " (timezone \"Etc/UTC\")\n"
  52904. " (bootloader (bootloader-configuration\n"
  52905. " (bootloader grub-bootloader)\n"
  52906. " (targets '(\"/dev/vda\"))\n"
  52907. " (terminal-outputs '(console))))\n"
  52908. " (file-systems (cons (file-system\n"
  52909. " (mount-point \"/\")\n"
  52910. " (device \"/dev/vda1\")\n"
  52911. " (type \"ext4\"))\n"
  52912. " %base-file-systems))\n"
  52913. " (services\n"
  52914. " (append (list (service dhcp-client-service-type)\n"
  52915. " (service openssh-service-type\n"
  52916. " (openssh-configuration\n"
  52917. " (permit-root-login #t)\n"
  52918. " (allow-empty-passwords? #t))))\n"
  52919. " %base-services))))\n"
  52920. "\n"
  52921. msgstr ""
  52922. #. type: lisp
  52923. #: guix-git/doc/guix.texi:36058
  52924. #, no-wrap
  52925. msgid ""
  52926. "(list (machine\n"
  52927. " (operating-system %system)\n"
  52928. " (environment managed-host-environment-type)\n"
  52929. " (configuration (machine-ssh-configuration\n"
  52930. " (host-name \"localhost\")\n"
  52931. " (system \"x86_64-linux\")\n"
  52932. " (user \"alice\")\n"
  52933. " (identity \"./id_rsa\")\n"
  52934. " (port 2222)))))\n"
  52935. msgstr ""
  52936. #. type: Plain text
  52937. #: guix-git/doc/guix.texi:36071
  52938. 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."
  52939. msgstr ""
  52940. #. type: Plain text
  52941. #: guix-git/doc/guix.texi:36076
  52942. 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:"
  52943. msgstr ""
  52944. #. type: Plain text
  52945. #: guix-git/doc/guix.texi:36084
  52946. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  52947. msgstr ""
  52948. #. type: example
  52949. #: guix-git/doc/guix.texi:36087
  52950. #, no-wrap
  52951. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  52952. msgstr ""
  52953. #. type: Plain text
  52954. #: guix-git/doc/guix.texi:36098
  52955. 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:"
  52956. msgstr ""
  52957. #. type: lisp
  52958. #: guix-git/doc/guix.texi:36102
  52959. #, no-wrap
  52960. msgid ""
  52961. "(use-modules ...\n"
  52962. " (gnu system)) ;for %sudoers-specification\n"
  52963. "\n"
  52964. msgstr ""
  52965. #. type: lisp
  52966. #: guix-git/doc/guix.texi:36104
  52967. #, no-wrap
  52968. msgid ""
  52969. "(define %user \"username\")\n"
  52970. "\n"
  52971. msgstr ""
  52972. #. type: lisp
  52973. #: guix-git/doc/guix.texi:36112
  52974. #, no-wrap
  52975. msgid ""
  52976. "(operating-system\n"
  52977. " ...\n"
  52978. " (sudoers-file\n"
  52979. " (plain-file \"sudoers\"\n"
  52980. " (string-append (plain-file-content %sudoers-specification)\n"
  52981. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  52982. " %user)))))\n"
  52983. "\n"
  52984. msgstr ""
  52985. #. type: Plain text
  52986. #: guix-git/doc/guix.texi:36117
  52987. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  52988. msgstr ""
  52989. #. type: Plain text
  52990. #: guix-git/doc/guix.texi:36122
  52991. msgid "Once you've deployed a system on a set of machines, you may find it useful to run a command on all of them. The @option{--execute} or @option{-x} option lets you do that; the example below runs @command{uname -a} on all the machines listed in the deployment file:"
  52992. msgstr ""
  52993. #. type: example
  52994. #: guix-git/doc/guix.texi:36125
  52995. #, no-wrap
  52996. msgid "guix deploy @var{file} -x -- uname -a\n"
  52997. msgstr ""
  52998. #. type: Plain text
  52999. #: guix-git/doc/guix.texi:36129
  53000. msgid "One thing you may often need to do after deployment is restart specific services on all the machines, which you can do like so:"
  53001. msgstr ""
  53002. #. type: example
  53003. #: guix-git/doc/guix.texi:36132
  53004. #, no-wrap
  53005. msgid "guix deploy @var{file} -x -- herd restart @var{service}\n"
  53006. msgstr ""
  53007. #. type: Plain text
  53008. #: guix-git/doc/guix.texi:36136
  53009. msgid "The @command{guix deploy -x} command returns zero if and only if the command succeeded on all the machines."
  53010. msgstr ""
  53011. #. type: Plain text
  53012. #: guix-git/doc/guix.texi:36141
  53013. msgid "Below are the data types you need to know about when writing a deployment file."
  53014. msgstr ""
  53015. #. type: deftp
  53016. #: guix-git/doc/guix.texi:36142
  53017. #, no-wrap
  53018. msgid "{Data Type} machine"
  53019. msgstr ""
  53020. #. type: deftp
  53021. #: guix-git/doc/guix.texi:36145
  53022. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  53023. msgstr ""
  53024. #. type: table
  53025. #: guix-git/doc/guix.texi:36149
  53026. msgid "The object of the operating system configuration to deploy."
  53027. msgstr ""
  53028. #. type: code{#1}
  53029. #: guix-git/doc/guix.texi:36150
  53030. #, no-wrap
  53031. msgid "environment"
  53032. msgstr ""
  53033. #. type: table
  53034. #: guix-git/doc/guix.texi:36152
  53035. msgid "An @code{environment-type} describing how the machine should be provisioned."
  53036. msgstr ""
  53037. #. type: item
  53038. #: guix-git/doc/guix.texi:36153
  53039. #, no-wrap
  53040. msgid "@code{configuration} (default: @code{#f})"
  53041. msgstr ""
  53042. #. type: table
  53043. #: guix-git/doc/guix.texi:36158
  53044. 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."
  53045. msgstr ""
  53046. #. type: deftp
  53047. #: guix-git/doc/guix.texi:36161
  53048. #, no-wrap
  53049. msgid "{Data Type} machine-ssh-configuration"
  53050. msgstr ""
  53051. #. type: deftp
  53052. #: guix-git/doc/guix.texi:36164
  53053. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  53054. msgstr ""
  53055. #. type: item
  53056. #: guix-git/doc/guix.texi:36167
  53057. #, no-wrap
  53058. msgid "@code{build-locally?} (default: @code{#t})"
  53059. msgstr ""
  53060. #. type: table
  53061. #: guix-git/doc/guix.texi:36169
  53062. msgid "If false, system derivations will be built on the machine being deployed to."
  53063. msgstr ""
  53064. #. type: code{#1}
  53065. #: guix-git/doc/guix.texi:36169
  53066. #, no-wrap
  53067. msgid "system"
  53068. msgstr ""
  53069. #. type: table
  53070. #: guix-git/doc/guix.texi:36172
  53071. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  53072. msgstr ""
  53073. #. type: item
  53074. #: guix-git/doc/guix.texi:36172
  53075. #, no-wrap
  53076. msgid "@code{authorize?} (default: @code{#t})"
  53077. msgstr ""
  53078. #. type: table
  53079. #: guix-git/doc/guix.texi:36175
  53080. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  53081. msgstr ""
  53082. #. type: item
  53083. #: guix-git/doc/guix.texi:36177
  53084. #, no-wrap
  53085. msgid "@code{identity} (default: @code{#f})"
  53086. msgstr ""
  53087. #. type: table
  53088. #: guix-git/doc/guix.texi:36180
  53089. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  53090. msgstr ""
  53091. #. type: item
  53092. #: guix-git/doc/guix.texi:36181
  53093. #, no-wrap
  53094. msgid "@code{host-key} (default: @code{#f})"
  53095. msgstr ""
  53096. #. type: table
  53097. #: guix-git/doc/guix.texi:36183
  53098. msgid "This should be the SSH host key of the machine, which looks like this:"
  53099. msgstr ""
  53100. #. type: example
  53101. #: guix-git/doc/guix.texi:36186
  53102. #, no-wrap
  53103. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  53104. msgstr ""
  53105. #. type: table
  53106. #: guix-git/doc/guix.texi:36191
  53107. 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."
  53108. msgstr ""
  53109. #. type: item
  53110. #: guix-git/doc/guix.texi:36192
  53111. #, no-wrap
  53112. msgid "@code{allow-downgrades?} (default: @code{#f})"
  53113. msgstr ""
  53114. #. type: table
  53115. #: guix-git/doc/guix.texi:36194
  53116. msgid "Whether to allow potential downgrades."
  53117. msgstr ""
  53118. #. type: table
  53119. #: guix-git/doc/guix.texi:36202
  53120. 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."
  53121. msgstr ""
  53122. #. type: item
  53123. #: guix-git/doc/guix.texi:36203
  53124. #, no-wrap
  53125. msgid "@code{safety-checks?} (default: @code{#t})"
  53126. msgstr ""
  53127. #. type: table
  53128. #: guix-git/doc/guix.texi:36209
  53129. msgid "Whether to perform ``safety checks'' before deployment. This includes verifying that devices and file systems referred to in the operating system configuration actually exist on the target machine, and making sure that Linux modules required to access storage devices at boot time are listed in the @code{initrd-modules} field of the operating system."
  53130. msgstr ""
  53131. #. type: table
  53132. #: guix-git/doc/guix.texi:36212
  53133. msgid "These safety checks ensure that you do not inadvertently deploy a system that would fail to boot. Be careful before turning them off!"
  53134. msgstr ""
  53135. #. type: deftp
  53136. #: guix-git/doc/guix.texi:36215
  53137. #, no-wrap
  53138. msgid "{Data Type} digital-ocean-configuration"
  53139. msgstr ""
  53140. #. type: deftp
  53141. #: guix-git/doc/guix.texi:36218
  53142. 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}."
  53143. msgstr ""
  53144. #. type: code{#1}
  53145. #: guix-git/doc/guix.texi:36220
  53146. #, no-wrap
  53147. msgid "ssh-key"
  53148. msgstr ""
  53149. #. type: table
  53150. #: guix-git/doc/guix.texi:36223
  53151. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  53152. msgstr ""
  53153. #. type: code{#1}
  53154. #: guix-git/doc/guix.texi:36223
  53155. #, no-wrap
  53156. msgid "tags"
  53157. msgstr ""
  53158. #. type: table
  53159. #: guix-git/doc/guix.texi:36226
  53160. 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."
  53161. msgstr ""
  53162. #. type: code{#1}
  53163. #: guix-git/doc/guix.texi:36226
  53164. #, no-wrap
  53165. msgid "region"
  53166. msgstr ""
  53167. #. type: table
  53168. #: guix-git/doc/guix.texi:36228
  53169. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  53170. msgstr ""
  53171. #. type: table
  53172. #: guix-git/doc/guix.texi:36230
  53173. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  53174. msgstr ""
  53175. #. type: code{#1}
  53176. #: guix-git/doc/guix.texi:36230
  53177. #, no-wrap
  53178. msgid "enable-ipv6?"
  53179. msgstr ""
  53180. #. type: table
  53181. #: guix-git/doc/guix.texi:36232
  53182. msgid "Whether or not the droplet should be created with IPv6 networking."
  53183. msgstr ""
  53184. #. type: section
  53185. #: guix-git/doc/guix.texi:36236
  53186. #, no-wrap
  53187. msgid "Running Guix in a Virtual Machine"
  53188. msgstr ""
  53189. #. type: Plain text
  53190. #: guix-git/doc/guix.texi:36244
  53191. 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)."
  53192. msgstr ""
  53193. #. type: Plain text
  53194. #: guix-git/doc/guix.texi:36251
  53195. 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})."
  53196. msgstr ""
  53197. #. type: Plain text
  53198. #: guix-git/doc/guix.texi:36254
  53199. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  53200. msgstr ""
  53201. #. type: cindex
  53202. #: guix-git/doc/guix.texi:36255
  53203. #, no-wrap
  53204. msgid "QEMU"
  53205. msgstr ""
  53206. #. type: Plain text
  53207. #: guix-git/doc/guix.texi:36262
  53208. 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:"
  53209. msgstr ""
  53210. #. type: example
  53211. #: guix-git/doc/guix.texi:36269
  53212. #, no-wrap
  53213. msgid ""
  53214. "$ qemu-system-x86_64 \\\n"
  53215. " -nic user,model=virtio-net-pci \\\n"
  53216. " -enable-kvm -m 1024 \\\n"
  53217. " -device virtio-blk,drive=myhd \\\n"
  53218. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  53219. msgstr ""
  53220. #. type: Plain text
  53221. #: guix-git/doc/guix.texi:36272
  53222. msgid "Here is what each of these options means:"
  53223. msgstr ""
  53224. #. type: item
  53225. #: guix-git/doc/guix.texi:36274
  53226. #, no-wrap
  53227. msgid "qemu-system-x86_64"
  53228. msgstr ""
  53229. #. type: table
  53230. #: guix-git/doc/guix.texi:36277
  53231. msgid "This specifies the hardware platform to emulate. This should match the host."
  53232. msgstr ""
  53233. #. type: item
  53234. #: guix-git/doc/guix.texi:36278
  53235. #, no-wrap
  53236. msgid "-nic user,model=virtio-net-pci"
  53237. msgstr ""
  53238. #. type: table
  53239. #: guix-git/doc/guix.texi:36286
  53240. 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}."
  53241. msgstr ""
  53242. #. type: item
  53243. #: guix-git/doc/guix.texi:36287
  53244. #, no-wrap
  53245. msgid "-enable-kvm"
  53246. msgstr ""
  53247. #. type: table
  53248. #: guix-git/doc/guix.texi:36291
  53249. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  53250. msgstr ""
  53251. #. type: item
  53252. #: guix-git/doc/guix.texi:36293
  53253. #, no-wrap
  53254. msgid "-m 1024"
  53255. msgstr ""
  53256. #. type: table
  53257. #: guix-git/doc/guix.texi:36296
  53258. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  53259. msgstr ""
  53260. #. type: item
  53261. #: guix-git/doc/guix.texi:36297
  53262. #, no-wrap
  53263. msgid "-device virtio-blk,drive=myhd"
  53264. msgstr ""
  53265. #. type: table
  53266. #: guix-git/doc/guix.texi:36302
  53267. 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."
  53268. msgstr ""
  53269. #. type: item
  53270. #: guix-git/doc/guix.texi:36303
  53271. #, no-wrap
  53272. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  53273. msgstr ""
  53274. #. type: table
  53275. #: guix-git/doc/guix.texi:36306
  53276. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  53277. msgstr ""
  53278. #. type: Plain text
  53279. #: guix-git/doc/guix.texi:36316
  53280. 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}."
  53281. msgstr ""
  53282. #. type: subsection
  53283. #: guix-git/doc/guix.texi:36317
  53284. #, no-wrap
  53285. msgid "Connecting Through SSH"
  53286. msgstr ""
  53287. #. type: Plain text
  53288. #: guix-git/doc/guix.texi:36325
  53289. 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"
  53290. msgstr ""
  53291. #. type: example
  53292. #: guix-git/doc/guix.texi:36328
  53293. #, no-wrap
  53294. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  53295. msgstr ""
  53296. #. type: Plain text
  53297. #: guix-git/doc/guix.texi:36331
  53298. msgid "To connect to the VM you can run"
  53299. msgstr ""
  53300. #. type: example
  53301. #: guix-git/doc/guix.texi:36334
  53302. #, no-wrap
  53303. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  53304. msgstr ""
  53305. #. type: Plain text
  53306. #: guix-git/doc/guix.texi:36341
  53307. 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."
  53308. msgstr ""
  53309. #. type: quotation
  53310. #: guix-git/doc/guix.texi:36347
  53311. 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."
  53312. msgstr ""
  53313. #. type: subsection
  53314. #: guix-git/doc/guix.texi:36349
  53315. #, no-wrap
  53316. msgid "Using @command{virt-viewer} with Spice"
  53317. msgstr ""
  53318. #. type: Plain text
  53319. #: guix-git/doc/guix.texi:36355
  53320. 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."
  53321. msgstr ""
  53322. #. type: Plain text
  53323. #: guix-git/doc/guix.texi:36358
  53324. 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}:"
  53325. msgstr ""
  53326. #. type: example
  53327. #: guix-git/doc/guix.texi:36364
  53328. #, no-wrap
  53329. msgid ""
  53330. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  53331. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  53332. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\\\n"
  53333. "name=com.redhat.spice.0\n"
  53334. msgstr ""
  53335. #. type: Plain text
  53336. #: guix-git/doc/guix.texi:36368
  53337. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  53338. msgstr ""
  53339. #. type: Plain text
  53340. #: guix-git/doc/guix.texi:36375
  53341. 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?"
  53342. msgstr ""
  53343. #. type: cindex
  53344. #: guix-git/doc/guix.texi:36388
  53345. #, no-wrap
  53346. msgid "daemons"
  53347. msgstr ""
  53348. #. type: Plain text
  53349. #: guix-git/doc/guix.texi:36401
  53350. 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."
  53351. msgstr ""
  53352. #. type: cindex
  53353. #: guix-git/doc/guix.texi:36402
  53354. #, no-wrap
  53355. msgid "service extensions"
  53356. msgstr ""
  53357. #. type: Plain text
  53358. #: guix-git/doc/guix.texi:36414
  53359. 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})."
  53360. msgstr ""
  53361. #. type: Plain text
  53362. #: guix-git/doc/guix.texi:36418
  53363. 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:"
  53364. msgstr ""
  53365. #. type: Plain text
  53366. #: guix-git/doc/guix.texi:36420
  53367. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  53368. msgstr ""
  53369. #. type: cindex
  53370. #: guix-git/doc/guix.texi:36421
  53371. #, no-wrap
  53372. msgid "system service"
  53373. msgstr ""
  53374. #. type: Plain text
  53375. #: guix-git/doc/guix.texi:36429
  53376. 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."
  53377. msgstr ""
  53378. #. type: cindex
  53379. #: guix-git/doc/guix.texi:36430
  53380. #, no-wrap
  53381. msgid "service types"
  53382. msgstr ""
  53383. #. type: Plain text
  53384. #: guix-git/doc/guix.texi:36436
  53385. 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."
  53386. msgstr ""
  53387. #. type: Plain text
  53388. #: guix-git/doc/guix.texi:36439
  53389. msgid "The following section describes the programming interface for service types and services."
  53390. msgstr ""
  53391. #. type: Plain text
  53392. #: guix-git/doc/guix.texi:36446
  53393. 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}):"
  53394. msgstr ""
  53395. #. type: lisp
  53396. #: guix-git/doc/guix.texi:36456
  53397. #, no-wrap
  53398. msgid ""
  53399. "(define guix-service-type\n"
  53400. " (service-type\n"
  53401. " (name 'guix)\n"
  53402. " (extensions\n"
  53403. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  53404. " (service-extension account-service-type guix-accounts)\n"
  53405. " (service-extension activation-service-type guix-activation)))\n"
  53406. " (default-value (guix-configuration))))\n"
  53407. msgstr ""
  53408. #. type: Plain text
  53409. #: guix-git/doc/guix.texi:36460
  53410. msgid "It defines three things:"
  53411. msgstr ""
  53412. #. type: enumerate
  53413. #: guix-git/doc/guix.texi:36464
  53414. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  53415. msgstr ""
  53416. #. type: enumerate
  53417. #: guix-git/doc/guix.texi:36469
  53418. 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."
  53419. msgstr ""
  53420. #. type: enumerate
  53421. #: guix-git/doc/guix.texi:36472
  53422. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  53423. msgstr ""
  53424. #. type: enumerate
  53425. #: guix-git/doc/guix.texi:36475
  53426. msgid "Optionally, a default value for instances of this type."
  53427. msgstr ""
  53428. #. type: Plain text
  53429. #: guix-git/doc/guix.texi:36478
  53430. msgid "In this example, @code{guix-service-type} extends three services:"
  53431. msgstr ""
  53432. #. type: item
  53433. #: guix-git/doc/guix.texi:36480
  53434. #, no-wrap
  53435. msgid "shepherd-root-service-type"
  53436. msgstr ""
  53437. #. type: table
  53438. #: guix-git/doc/guix.texi:36485
  53439. 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})."
  53440. msgstr ""
  53441. #. type: item
  53442. #: guix-git/doc/guix.texi:36486
  53443. #, no-wrap
  53444. msgid "account-service-type"
  53445. msgstr ""
  53446. #. type: table
  53447. #: guix-git/doc/guix.texi:36491
  53448. 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})."
  53449. msgstr ""
  53450. #. type: item
  53451. #: guix-git/doc/guix.texi:36492
  53452. #, no-wrap
  53453. msgid "activation-service-type"
  53454. msgstr ""
  53455. #. type: table
  53456. #: guix-git/doc/guix.texi:36496
  53457. 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."
  53458. msgstr ""
  53459. #. type: Plain text
  53460. #: guix-git/doc/guix.texi:36499
  53461. msgid "A service of this type is instantiated like this:"
  53462. msgstr ""
  53463. #. type: lisp
  53464. #: guix-git/doc/guix.texi:36505
  53465. #, no-wrap
  53466. msgid ""
  53467. "(service guix-service-type\n"
  53468. " (guix-configuration\n"
  53469. " (build-accounts 5)\n"
  53470. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  53471. msgstr ""
  53472. #. type: Plain text
  53473. #: guix-git/doc/guix.texi:36513
  53474. 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:"
  53475. msgstr ""
  53476. #. type: lisp
  53477. #: guix-git/doc/guix.texi:36516
  53478. #, no-wrap
  53479. msgid "(service guix-service-type)\n"
  53480. msgstr ""
  53481. #. type: Plain text
  53482. #: guix-git/doc/guix.texi:36520
  53483. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  53484. msgstr ""
  53485. #. type: Plain text
  53486. #: guix-git/doc/guix.texi:36524
  53487. msgid "The service type for an @emph{extensible} service looks like this:"
  53488. msgstr ""
  53489. #. type: lisp
  53490. #: guix-git/doc/guix.texi:36531
  53491. #, no-wrap
  53492. msgid ""
  53493. "(define udev-service-type\n"
  53494. " (service-type (name 'udev)\n"
  53495. " (extensions\n"
  53496. " (list (service-extension shepherd-root-service-type\n"
  53497. " udev-shepherd-service)))\n"
  53498. "\n"
  53499. msgstr ""
  53500. #. type: lisp
  53501. #: guix-git/doc/guix.texi:36539
  53502. #, no-wrap
  53503. msgid ""
  53504. " (compose concatenate) ;concatenate the list of rules\n"
  53505. " (extend (lambda (config rules)\n"
  53506. " (match config\n"
  53507. " (($ <udev-configuration> udev initial-rules)\n"
  53508. " (udev-configuration\n"
  53509. " (udev udev) ;the udev package to use\n"
  53510. " (rules (append initial-rules rules)))))))))\n"
  53511. msgstr ""
  53512. #. type: Plain text
  53513. #: guix-git/doc/guix.texi:36545
  53514. 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:"
  53515. msgstr ""
  53516. #. type: item
  53517. #: guix-git/doc/guix.texi:36547
  53518. #, no-wrap
  53519. msgid "compose"
  53520. msgstr ""
  53521. #. type: table
  53522. #: guix-git/doc/guix.texi:36550
  53523. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  53524. msgstr ""
  53525. #. type: table
  53526. #: guix-git/doc/guix.texi:36553
  53527. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  53528. msgstr ""
  53529. #. type: item
  53530. #: guix-git/doc/guix.texi:36554
  53531. #, no-wrap
  53532. msgid "extend"
  53533. msgstr ""
  53534. #. type: table
  53535. #: guix-git/doc/guix.texi:36557
  53536. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  53537. msgstr ""
  53538. #. type: table
  53539. #: guix-git/doc/guix.texi:36562
  53540. 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."
  53541. msgstr ""
  53542. #. type: table
  53543. #: guix-git/doc/guix.texi:36568
  53544. 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})."
  53545. msgstr ""
  53546. #. type: Plain text
  53547. #: guix-git/doc/guix.texi:36573
  53548. 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."
  53549. msgstr ""
  53550. #. type: Plain text
  53551. #: guix-git/doc/guix.texi:36576
  53552. msgid "Still here? The next section provides a reference of the programming interface for services."
  53553. msgstr ""
  53554. #. type: Plain text
  53555. #: guix-git/doc/guix.texi:36584
  53556. 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."
  53557. msgstr ""
  53558. #. type: deffn
  53559. #: guix-git/doc/guix.texi:36585
  53560. #, no-wrap
  53561. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  53562. msgstr ""
  53563. #. type: deffn
  53564. #: guix-git/doc/guix.texi:36589
  53565. 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."
  53566. msgstr ""
  53567. #. type: deffn
  53568. #: guix-git/doc/guix.texi:36593
  53569. 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."
  53570. msgstr ""
  53571. #. type: deffn
  53572. #: guix-git/doc/guix.texi:36595
  53573. msgid "For instance, this:"
  53574. msgstr ""
  53575. #. type: lisp
  53576. #: guix-git/doc/guix.texi:36598
  53577. #, no-wrap
  53578. msgid "(service openssh-service-type)\n"
  53579. msgstr ""
  53580. #. type: deffn
  53581. #: guix-git/doc/guix.texi:36602
  53582. msgid "is equivalent to this:"
  53583. msgstr ""
  53584. #. type: lisp
  53585. #: guix-git/doc/guix.texi:36606
  53586. #, no-wrap
  53587. msgid ""
  53588. "(service openssh-service-type\n"
  53589. " (openssh-configuration))\n"
  53590. msgstr ""
  53591. #. type: deffn
  53592. #: guix-git/doc/guix.texi:36610
  53593. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  53594. msgstr ""
  53595. #. type: deffn
  53596. #: guix-git/doc/guix.texi:36612
  53597. #, no-wrap
  53598. msgid "{Scheme Procedure} service? @var{obj}"
  53599. msgstr ""
  53600. #. type: deffn
  53601. #: guix-git/doc/guix.texi:36614
  53602. msgid "Return true if @var{obj} is a service."
  53603. msgstr ""
  53604. #. type: deffn
  53605. #: guix-git/doc/guix.texi:36616
  53606. #, no-wrap
  53607. msgid "{Scheme Procedure} service-kind @var{service}"
  53608. msgstr ""
  53609. #. type: deffn
  53610. #: guix-git/doc/guix.texi:36618
  53611. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  53612. msgstr ""
  53613. #. type: deffn
  53614. #: guix-git/doc/guix.texi:36620
  53615. #, no-wrap
  53616. msgid "{Scheme Procedure} service-value @var{service}"
  53617. msgstr ""
  53618. #. type: deffn
  53619. #: guix-git/doc/guix.texi:36623
  53620. msgid "Return the value associated with @var{service}. It represents its parameters."
  53621. msgstr ""
  53622. #. type: Plain text
  53623. #: guix-git/doc/guix.texi:36626
  53624. msgid "Here is an example of how a service is created and manipulated:"
  53625. msgstr ""
  53626. #. type: lisp
  53627. #: guix-git/doc/guix.texi:36635
  53628. #, no-wrap
  53629. msgid ""
  53630. "(define s\n"
  53631. " (service nginx-service-type\n"
  53632. " (nginx-configuration\n"
  53633. " (nginx nginx)\n"
  53634. " (log-directory log-directory)\n"
  53635. " (run-directory run-directory)\n"
  53636. " (file config-file))))\n"
  53637. "\n"
  53638. msgstr ""
  53639. #. type: lisp
  53640. #: guix-git/doc/guix.texi:36638
  53641. #, no-wrap
  53642. msgid ""
  53643. "(service? s)\n"
  53644. "@result{} #t\n"
  53645. "\n"
  53646. msgstr ""
  53647. #. type: lisp
  53648. #: guix-git/doc/guix.texi:36641
  53649. #, no-wrap
  53650. msgid ""
  53651. "(eq? (service-kind s) nginx-service-type)\n"
  53652. "@result{} #t\n"
  53653. msgstr ""
  53654. #. type: Plain text
  53655. #: guix-git/doc/guix.texi:36651
  53656. 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."
  53657. msgstr ""
  53658. #. type: deffn
  53659. #: guix-git/doc/guix.texi:36652
  53660. #, no-wrap
  53661. msgid "{Scheme Syntax} modify-services @var{services} @"
  53662. msgstr ""
  53663. #. type: deffn
  53664. #: guix-git/doc/guix.texi:36654
  53665. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  53666. msgstr ""
  53667. #. type: deffn
  53668. #: guix-git/doc/guix.texi:36657
  53669. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  53670. msgstr ""
  53671. #. type: example
  53672. #: guix-git/doc/guix.texi:36660
  53673. #, no-wrap
  53674. msgid "(@var{type} @var{variable} => @var{body})\n"
  53675. msgstr ""
  53676. #. type: deffn
  53677. #: guix-git/doc/guix.texi:36667
  53678. 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}."
  53679. msgstr ""
  53680. #. type: deffn
  53681. #: guix-git/doc/guix.texi:36674
  53682. 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."
  53683. msgstr ""
  53684. #. type: deffn
  53685. #: guix-git/doc/guix.texi:36676
  53686. msgid "Clauses can also have the following form:"
  53687. msgstr ""
  53688. #. type: lisp
  53689. #: guix-git/doc/guix.texi:36679
  53690. #, no-wrap
  53691. msgid "(delete @var{type})\n"
  53692. msgstr ""
  53693. #. type: deffn
  53694. #: guix-git/doc/guix.texi:36683
  53695. msgid "Such a clause removes all services of the given @var{type} from @var{services}."
  53696. msgstr ""
  53697. #. type: deffn
  53698. #: guix-git/doc/guix.texi:36685
  53699. msgid "@xref{Using the Configuration System}, for example usage."
  53700. msgstr ""
  53701. #. type: Plain text
  53702. #: guix-git/doc/guix.texi:36692
  53703. 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."
  53704. msgstr ""
  53705. #. type: deftp
  53706. #: guix-git/doc/guix.texi:36693
  53707. #, no-wrap
  53708. msgid "{Data Type} service-type"
  53709. msgstr ""
  53710. #. type: cindex
  53711. #: guix-git/doc/guix.texi:36694
  53712. #, no-wrap
  53713. msgid "service type"
  53714. msgstr ""
  53715. #. type: deftp
  53716. #: guix-git/doc/guix.texi:36697
  53717. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  53718. msgstr ""
  53719. #. type: table
  53720. #: guix-git/doc/guix.texi:36701
  53721. msgid "This is a symbol, used only to simplify inspection and debugging."
  53722. msgstr ""
  53723. #. type: code{#1}
  53724. #: guix-git/doc/guix.texi:36702
  53725. #, no-wrap
  53726. msgid "extensions"
  53727. msgstr ""
  53728. #. type: table
  53729. #: guix-git/doc/guix.texi:36704
  53730. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  53731. msgstr ""
  53732. #. type: item
  53733. #: guix-git/doc/guix.texi:36705
  53734. #, no-wrap
  53735. msgid "@code{compose} (default: @code{#f})"
  53736. msgstr ""
  53737. #. type: table
  53738. #: guix-git/doc/guix.texi:36709
  53739. 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."
  53740. msgstr ""
  53741. #. type: table
  53742. #: guix-git/doc/guix.texi:36713
  53743. 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."
  53744. msgstr ""
  53745. #. type: item
  53746. #: guix-git/doc/guix.texi:36714
  53747. #, no-wrap
  53748. msgid "@code{extend} (default: @code{#f})"
  53749. msgstr ""
  53750. #. type: table
  53751. #: guix-git/doc/guix.texi:36716
  53752. msgid "If this is @code{#f}, services of this type cannot be extended."
  53753. msgstr ""
  53754. #. type: table
  53755. #: guix-git/doc/guix.texi:36722
  53756. 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."
  53757. msgstr ""
  53758. #. type: table
  53759. #: guix-git/doc/guix.texi:36728
  53760. 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})."
  53761. msgstr ""
  53762. #. type: item
  53763. #: guix-git/doc/guix.texi:36729
  53764. #, no-wrap
  53765. msgid "@code{default-value} (default: @code{&no-default-value})"
  53766. msgstr ""
  53767. #. type: table
  53768. #: guix-git/doc/guix.texi:36732
  53769. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  53770. msgstr ""
  53771. #. type: lisp
  53772. #: guix-git/doc/guix.texi:36735
  53773. #, no-wrap
  53774. msgid "(service @var{type})\n"
  53775. msgstr ""
  53776. #. type: table
  53777. #: guix-git/doc/guix.texi:36739
  53778. msgid "The returned service in this case has the default value specified by @var{type}."
  53779. msgstr ""
  53780. #. type: deftp
  53781. #: guix-git/doc/guix.texi:36742
  53782. msgid "@xref{Service Types and Services}, for examples."
  53783. msgstr ""
  53784. #. type: deffn
  53785. #: guix-git/doc/guix.texi:36744
  53786. #, no-wrap
  53787. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  53788. msgstr ""
  53789. #. type: deffn
  53790. #: guix-git/doc/guix.texi:36750
  53791. 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."
  53792. msgstr ""
  53793. #. type: deffn
  53794. #: guix-git/doc/guix.texi:36752
  53795. #, no-wrap
  53796. msgid "{Scheme Procedure} service-extension? @var{obj}"
  53797. msgstr ""
  53798. #. type: deffn
  53799. #: guix-git/doc/guix.texi:36754
  53800. msgid "Return true if @var{obj} is a service extension."
  53801. msgstr ""
  53802. #. type: Plain text
  53803. #: guix-git/doc/guix.texi:36760
  53804. 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."
  53805. msgstr ""
  53806. #. type: deffn
  53807. #: guix-git/doc/guix.texi:36761
  53808. #, no-wrap
  53809. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  53810. msgstr ""
  53811. #. type: deffn
  53812. #: guix-git/doc/guix.texi:36765
  53813. 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."
  53814. msgstr ""
  53815. #. type: deffn
  53816. #: guix-git/doc/guix.texi:36768
  53817. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  53818. msgstr ""
  53819. #. type: lisp
  53820. #: guix-git/doc/guix.texi:36772
  53821. #, no-wrap
  53822. msgid ""
  53823. "(simple-service 'my-mcron-job mcron-service-type\n"
  53824. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  53825. msgstr ""
  53826. #. type: Plain text
  53827. #: guix-git/doc/guix.texi:36782
  53828. 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."
  53829. msgstr ""
  53830. #. type: deffn
  53831. #: guix-git/doc/guix.texi:36783
  53832. #, no-wrap
  53833. msgid "{Scheme Procedure} fold-services @var{services} @"
  53834. msgstr ""
  53835. #. type: deffn
  53836. #: guix-git/doc/guix.texi:36787
  53837. 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."
  53838. msgstr ""
  53839. #. type: Plain text
  53840. #: guix-git/doc/guix.texi:36791
  53841. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  53842. msgstr ""
  53843. #. type: defvr
  53844. #: guix-git/doc/guix.texi:36792
  53845. #, no-wrap
  53846. msgid "{Scheme Variable} system-service-type"
  53847. msgstr ""
  53848. #. type: defvr
  53849. #: guix-git/doc/guix.texi:36795
  53850. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  53851. msgstr ""
  53852. #. type: defvr
  53853. #: guix-git/doc/guix.texi:36797
  53854. #, no-wrap
  53855. msgid "{Scheme Variable} boot-service-type"
  53856. msgstr ""
  53857. #. type: defvr
  53858. #: guix-git/doc/guix.texi:36800
  53859. 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."
  53860. msgstr ""
  53861. #. type: defvr
  53862. #: guix-git/doc/guix.texi:36802
  53863. #, no-wrap
  53864. msgid "{Scheme Variable} etc-service-type"
  53865. msgstr ""
  53866. #. type: defvr
  53867. #: guix-git/doc/guix.texi:36806
  53868. 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:"
  53869. msgstr ""
  53870. #. type: lisp
  53871. #: guix-git/doc/guix.texi:36809
  53872. #, no-wrap
  53873. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  53874. msgstr ""
  53875. #. type: defvr
  53876. #: guix-git/doc/guix.texi:36813
  53877. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  53878. msgstr ""
  53879. #. type: defvr
  53880. #: guix-git/doc/guix.texi:36815
  53881. #, no-wrap
  53882. msgid "{Scheme Variable} setuid-program-service-type"
  53883. msgstr ""
  53884. #. type: defvr
  53885. #: guix-git/doc/guix.texi:36819
  53886. 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})."
  53887. msgstr ""
  53888. #. type: defvr
  53889. #: guix-git/doc/guix.texi:36821
  53890. #, no-wrap
  53891. msgid "{Scheme Variable} profile-service-type"
  53892. msgstr ""
  53893. #. type: defvr
  53894. #: guix-git/doc/guix.texi:36825
  53895. 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."
  53896. msgstr ""
  53897. #. type: anchor{#1}
  53898. #: guix-git/doc/guix.texi:36829
  53899. msgid "provenance-service-type"
  53900. msgstr ""
  53901. #. type: defvr
  53902. #: guix-git/doc/guix.texi:36829
  53903. #, no-wrap
  53904. msgid "{Scheme Variable} provenance-service-type"
  53905. msgstr ""
  53906. #. type: defvr
  53907. #: guix-git/doc/guix.texi:36833
  53908. 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}:"
  53909. msgstr ""
  53910. #. type: item
  53911. #: guix-git/doc/guix.texi:36835
  53912. #, no-wrap
  53913. msgid "channels.scm"
  53914. msgstr ""
  53915. #. type: table
  53916. #: guix-git/doc/guix.texi:36840
  53917. 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})."
  53918. msgstr ""
  53919. #. type: item
  53920. #: guix-git/doc/guix.texi:36841
  53921. #, no-wrap
  53922. msgid "configuration.scm"
  53923. msgstr ""
  53924. #. type: table
  53925. #: guix-git/doc/guix.texi:36846
  53926. 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."
  53927. msgstr ""
  53928. #. type: item
  53929. #: guix-git/doc/guix.texi:36847
  53930. #, no-wrap
  53931. msgid "provenance"
  53932. msgstr ""
  53933. #. type: table
  53934. #: guix-git/doc/guix.texi:36850
  53935. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  53936. msgstr ""
  53937. #. type: defvr
  53938. #: guix-git/doc/guix.texi:36854
  53939. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  53940. msgstr ""
  53941. #. type: quotation
  53942. #: guix-git/doc/guix.texi:36855
  53943. #, no-wrap
  53944. msgid "Caveats"
  53945. msgstr ""
  53946. #. type: quotation
  53947. #: guix-git/doc/guix.texi:36862
  53948. 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."
  53949. msgstr ""
  53950. #. type: quotation
  53951. #: guix-git/doc/guix.texi:36870
  53952. 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."
  53953. msgstr ""
  53954. #. type: defvr
  53955. #: guix-git/doc/guix.texi:36875
  53956. 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}."
  53957. msgstr ""
  53958. #. type: defvr
  53959. #: guix-git/doc/guix.texi:36877
  53960. #, no-wrap
  53961. msgid "{Scheme Variable} linux-loadable-module-service-type"
  53962. msgstr ""
  53963. #. type: defvr
  53964. #: guix-git/doc/guix.texi:36881
  53965. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  53966. msgstr ""
  53967. #. type: defvr
  53968. #: guix-git/doc/guix.texi:36884
  53969. msgid "This service type is intended to be extended by other service types, such as below:"
  53970. msgstr ""
  53971. #. type: lisp
  53972. #: guix-git/doc/guix.texi:36890
  53973. #, no-wrap
  53974. msgid ""
  53975. "(simple-service 'installing-module\n"
  53976. " linux-loadable-module-service-type\n"
  53977. " (list module-to-install-1\n"
  53978. " module-to-install-2))\n"
  53979. msgstr ""
  53980. #. type: defvr
  53981. #: guix-git/doc/guix.texi:36894
  53982. 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."
  53983. msgstr ""
  53984. #. type: cindex
  53985. #: guix-git/doc/guix.texi:36899
  53986. #, no-wrap
  53987. msgid "shepherd services"
  53988. msgstr ""
  53989. #. type: cindex
  53990. #: guix-git/doc/guix.texi:36900
  53991. #, no-wrap
  53992. msgid "PID 1"
  53993. msgstr ""
  53994. #. type: cindex
  53995. #: guix-git/doc/guix.texi:36901
  53996. #, no-wrap
  53997. msgid "init system"
  53998. msgstr ""
  53999. #. type: Plain text
  54000. #: guix-git/doc/guix.texi:36907
  54001. 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})."
  54002. msgstr ""
  54003. #. type: Plain text
  54004. #: guix-git/doc/guix.texi:36913
  54005. 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:"
  54006. msgstr ""
  54007. #. type: Plain text
  54008. #: guix-git/doc/guix.texi:36915
  54009. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  54010. msgstr ""
  54011. #. type: Plain text
  54012. #: guix-git/doc/guix.texi:36919
  54013. 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}})."
  54014. msgstr ""
  54015. #. type: Plain text
  54016. #: guix-git/doc/guix.texi:36923
  54017. 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."
  54018. msgstr ""
  54019. #. type: deftp
  54020. #: guix-git/doc/guix.texi:36924
  54021. #, no-wrap
  54022. msgid "{Data Type} shepherd-service"
  54023. msgstr ""
  54024. #. type: deftp
  54025. #: guix-git/doc/guix.texi:36926
  54026. msgid "The data type representing a service managed by the Shepherd."
  54027. msgstr ""
  54028. #. type: code{#1}
  54029. #: guix-git/doc/guix.texi:36928
  54030. #, no-wrap
  54031. msgid "provision"
  54032. msgstr ""
  54033. #. type: table
  54034. #: guix-git/doc/guix.texi:36930
  54035. msgid "This is a list of symbols denoting what the service provides."
  54036. msgstr ""
  54037. #. type: table
  54038. #: guix-git/doc/guix.texi:36935
  54039. 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."
  54040. msgstr ""
  54041. #. type: item
  54042. #: guix-git/doc/guix.texi:36936
  54043. #, no-wrap
  54044. msgid "@code{requirement} (default: @code{'()})"
  54045. msgstr ""
  54046. #. type: table
  54047. #: guix-git/doc/guix.texi:36938
  54048. msgid "List of symbols denoting the Shepherd services this one depends on."
  54049. msgstr ""
  54050. #. type: cindex
  54051. #: guix-git/doc/guix.texi:36939
  54052. #, no-wrap
  54053. msgid "one-shot services, for the Shepherd"
  54054. msgstr ""
  54055. #. type: table
  54056. #: guix-git/doc/guix.texi:36944
  54057. 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."
  54058. msgstr ""
  54059. #. type: item
  54060. #: guix-git/doc/guix.texi:36945
  54061. #, no-wrap
  54062. msgid "@code{respawn?} (default: @code{#t})"
  54063. msgstr ""
  54064. #. type: table
  54065. #: guix-git/doc/guix.texi:36948
  54066. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  54067. msgstr ""
  54068. #. type: code{#1}
  54069. #: guix-git/doc/guix.texi:36949
  54070. #, no-wrap
  54071. msgid "start"
  54072. msgstr ""
  54073. #. type: itemx
  54074. #: guix-git/doc/guix.texi:36950
  54075. #, no-wrap
  54076. msgid "@code{stop} (default: @code{#~(const #f)})"
  54077. msgstr ""
  54078. #. type: table
  54079. #: guix-git/doc/guix.texi:36956
  54080. 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})."
  54081. msgstr ""
  54082. #. type: item
  54083. #: guix-git/doc/guix.texi:36957
  54084. #, no-wrap
  54085. msgid "@code{actions} (default: @code{'()})"
  54086. msgstr ""
  54087. #. type: cindex
  54088. #: guix-git/doc/guix.texi:36958
  54089. #, no-wrap
  54090. msgid "actions, of Shepherd services"
  54091. msgstr ""
  54092. #. type: table
  54093. #: guix-git/doc/guix.texi:36963
  54094. 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:"
  54095. msgstr ""
  54096. #. type: example
  54097. #: guix-git/doc/guix.texi:36966
  54098. #, no-wrap
  54099. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  54100. msgstr ""
  54101. #. type: item
  54102. #: guix-git/doc/guix.texi:36968
  54103. #, no-wrap
  54104. msgid "@code{auto-start?} (default: @code{#t})"
  54105. msgstr ""
  54106. #. type: table
  54107. #: guix-git/doc/guix.texi:36971
  54108. 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}."
  54109. msgstr ""
  54110. #. type: table
  54111. #: guix-git/doc/guix.texi:36974
  54112. msgid "A documentation string, as shown when running:"
  54113. msgstr ""
  54114. #. type: example
  54115. #: guix-git/doc/guix.texi:36977
  54116. #, no-wrap
  54117. msgid "herd doc @var{service-name}\n"
  54118. msgstr ""
  54119. #. type: table
  54120. #: guix-git/doc/guix.texi:36981
  54121. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  54122. msgstr ""
  54123. #. type: table
  54124. #: guix-git/doc/guix.texi:36985
  54125. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  54126. msgstr ""
  54127. #. type: Plain text
  54128. #: guix-git/doc/guix.texi:36993
  54129. 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}):"
  54130. msgstr ""
  54131. #. type: example
  54132. #: guix-git/doc/guix.texi:37005
  54133. #, no-wrap
  54134. msgid ""
  54135. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  54136. " (shepherd-service\n"
  54137. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  54138. " (provision '(syslogd))\n"
  54139. " (requirement '(user-processes))\n"
  54140. " (start #~(make-forkexec-constructor\n"
  54141. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  54142. " \"--rcfile\" #$config)\n"
  54143. " #:pid-file \"/var/run/syslog.pid\"))\n"
  54144. " (stop #~(make-kill-destructor))))\n"
  54145. msgstr ""
  54146. #. type: Plain text
  54147. #: guix-git/doc/guix.texi:37020
  54148. 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})."
  54149. msgstr ""
  54150. #. type: deftp
  54151. #: guix-git/doc/guix.texi:37021
  54152. #, no-wrap
  54153. msgid "{Data Type} shepherd-action"
  54154. msgstr ""
  54155. #. type: deftp
  54156. #: guix-git/doc/guix.texi:37024
  54157. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  54158. msgstr ""
  54159. #. type: table
  54160. #: guix-git/doc/guix.texi:37028
  54161. msgid "Symbol naming the action."
  54162. msgstr ""
  54163. #. type: table
  54164. #: guix-git/doc/guix.texi:37031
  54165. msgid "This is a documentation string for the action. It can be viewed by running:"
  54166. msgstr ""
  54167. #. type: example
  54168. #: guix-git/doc/guix.texi:37034
  54169. #, no-wrap
  54170. msgid "herd doc @var{service} action @var{action}\n"
  54171. msgstr ""
  54172. #. type: item
  54173. #: guix-git/doc/guix.texi:37036
  54174. #, no-wrap
  54175. msgid "procedure"
  54176. msgstr ""
  54177. #. type: table
  54178. #: guix-git/doc/guix.texi:37040
  54179. 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})."
  54180. msgstr ""
  54181. #. type: deftp
  54182. #: guix-git/doc/guix.texi:37044
  54183. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  54184. msgstr ""
  54185. #. type: lisp
  54186. #: guix-git/doc/guix.texi:37053
  54187. #, no-wrap
  54188. msgid ""
  54189. "(shepherd-action\n"
  54190. " (name 'say-hello)\n"
  54191. " (documentation \"Say hi!\")\n"
  54192. " (procedure #~(lambda (running . args)\n"
  54193. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  54194. " args)\n"
  54195. " #t)))\n"
  54196. msgstr ""
  54197. #. type: deftp
  54198. #: guix-git/doc/guix.texi:37056
  54199. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  54200. msgstr ""
  54201. #. type: example
  54202. #: guix-git/doc/guix.texi:37062
  54203. #, no-wrap
  54204. msgid ""
  54205. "# herd say-hello example\n"
  54206. "Hello, friend! arguments: ()\n"
  54207. "# herd say-hello example a b c\n"
  54208. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  54209. msgstr ""
  54210. #. type: deftp
  54211. #: guix-git/doc/guix.texi:37067
  54212. 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."
  54213. msgstr ""
  54214. #. type: defvr
  54215. #: guix-git/doc/guix.texi:37069
  54216. #, no-wrap
  54217. msgid "{Scheme Variable} shepherd-root-service-type"
  54218. msgstr ""
  54219. #. type: defvr
  54220. #: guix-git/doc/guix.texi:37071
  54221. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  54222. msgstr ""
  54223. #. type: defvr
  54224. #: guix-git/doc/guix.texi:37076
  54225. 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."
  54226. msgstr ""
  54227. #. type: deftp
  54228. #: guix-git/doc/guix.texi:37078
  54229. #, no-wrap
  54230. msgid "{Data Type} shepherd-configuration"
  54231. msgstr ""
  54232. #. type: deftp
  54233. #: guix-git/doc/guix.texi:37080 guix-git/doc/guix.texi:38074
  54234. msgid "This data type represents the Shepherd's configuration."
  54235. msgstr ""
  54236. #. type: item
  54237. #: guix-git/doc/guix.texi:37082 guix-git/doc/guix.texi:38076
  54238. #, no-wrap
  54239. msgid "shepherd (default: @code{shepherd})"
  54240. msgstr ""
  54241. #. type: table
  54242. #: guix-git/doc/guix.texi:37084 guix-git/doc/guix.texi:38078
  54243. msgid "The Shepherd package to use."
  54244. msgstr ""
  54245. #. type: item
  54246. #: guix-git/doc/guix.texi:37085 guix-git/doc/guix.texi:38082
  54247. #, no-wrap
  54248. msgid "services (default: @code{'()})"
  54249. msgstr ""
  54250. #. type: table
  54251. #: guix-git/doc/guix.texi:37089 guix-git/doc/guix.texi:38086
  54252. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  54253. msgstr ""
  54254. #. type: Plain text
  54255. #: guix-git/doc/guix.texi:37094
  54256. msgid "The following example specifies the Shepherd package for the operating system:"
  54257. msgstr ""
  54258. #. type: lisp
  54259. #: guix-git/doc/guix.texi:37109
  54260. #, no-wrap
  54261. msgid ""
  54262. "(operating-system\n"
  54263. " ;; ...\n"
  54264. " (services (append (list openssh-service-type))\n"
  54265. " ;; ...\n"
  54266. " %desktop-services)\n"
  54267. " ;; ...\n"
  54268. " ;; Use own Shepherd package.\n"
  54269. " (essential-services\n"
  54270. " (modify-services (operating-system-default-essential-services\n"
  54271. " this-operating-system)\n"
  54272. " (shepherd-root-service-type config => (shepherd-configuration\n"
  54273. " (inherit config)\n"
  54274. " (shepherd my-shepherd))))))\n"
  54275. msgstr ""
  54276. #. type: defvr
  54277. #: guix-git/doc/guix.texi:37111
  54278. #, no-wrap
  54279. msgid "{Scheme Variable} %shepherd-root-service"
  54280. msgstr ""
  54281. #. type: defvr
  54282. #: guix-git/doc/guix.texi:37113
  54283. msgid "This service represents PID@tie{}1."
  54284. msgstr ""
  54285. #. type: cindex
  54286. #: guix-git/doc/guix.texi:37117
  54287. #, fuzzy, no-wrap
  54288. #| msgid "Documentation"
  54289. msgid "complex configurations"
  54290. msgstr "مستندات"
  54291. #. type: Plain text
  54292. #: guix-git/doc/guix.texi:37122
  54293. msgid "Some programs might have rather complex configuration files or formats, and to make it easier to create Scheme bindings for these configuration files, you can use the utilities defined in the @code{(gnu services configuration)} module."
  54294. msgstr ""
  54295. #. type: Plain text
  54296. #: guix-git/doc/guix.texi:37130
  54297. msgid "The main utility is the @code{define-configuration} macro, which you will use to define a Scheme record type (@pxref{Record Overview,,, guile, GNU Guile Reference Manual}). The Scheme record will be serialized to a configuration file by using @dfn{serializers}, which are procedures that take some kind of Scheme value and returns a G-expression (@pxref{G-Expressions}), which should, once serialized to the disk, return a string. More details are listed below."
  54298. msgstr ""
  54299. #. type: deffn
  54300. #: guix-git/doc/guix.texi:37131
  54301. #, no-wrap
  54302. msgid "{Scheme Syntax} define-configuration @var{name} @var{clause1} @"
  54303. msgstr ""
  54304. #. type: deffn
  54305. #: guix-git/doc/guix.texi:37135
  54306. msgid "@var{clause2} ... Create a record type named @code{@var{name}} that contains the fields found in the clauses."
  54307. msgstr ""
  54308. #. type: deffn
  54309. #: guix-git/doc/guix.texi:37137
  54310. msgid "A clause can have one of the following forms:"
  54311. msgstr ""
  54312. #. type: example
  54313. #: guix-git/doc/guix.texi:37142
  54314. #, no-wrap
  54315. msgid ""
  54316. "(@var{field-name}\n"
  54317. " (@var{type} @var{default-value})\n"
  54318. " @var{documentation})\n"
  54319. " \n"
  54320. msgstr ""
  54321. #. type: example
  54322. #: guix-git/doc/guix.texi:37147
  54323. #, no-wrap
  54324. msgid ""
  54325. "(@var{field-name}\n"
  54326. " (@var{type} @var{default-value})\n"
  54327. " @var{documentation}\n"
  54328. " @var{serializer})\n"
  54329. "\n"
  54330. msgstr ""
  54331. #. type: example
  54332. #: guix-git/doc/guix.texi:37151
  54333. #, no-wrap
  54334. msgid ""
  54335. "(@var{field-name}\n"
  54336. " (@var{type})\n"
  54337. " @var{documentation})\n"
  54338. "\n"
  54339. msgstr ""
  54340. #. type: example
  54341. #: guix-git/doc/guix.texi:37156
  54342. #, no-wrap
  54343. msgid ""
  54344. "(@var{field-name}\n"
  54345. " (@var{type})\n"
  54346. " @var{documentation}\n"
  54347. " @var{serializer})\n"
  54348. msgstr ""
  54349. #. type: deffn
  54350. #: guix-git/doc/guix.texi:37160
  54351. msgid "@var{field-name} is an identifier that denotes the name of the field in the generated record."
  54352. msgstr ""
  54353. #. type: deffn
  54354. #: guix-git/doc/guix.texi:37168
  54355. msgid "@var{type} is the type of the value corresponding to @var{field-name}; since Guile is untyped, a predicate procedure---@code{@var{type}?}---will be called on the value corresponding to the field to ensure that the value is of the correct type. This means that if say, @var{type} is @code{package}, then a procedure named @code{package?} will be applied on the value to make sure that it is indeed a @code{<package>} object."
  54356. msgstr ""
  54357. #. type: deffn
  54358. #: guix-git/doc/guix.texi:37172
  54359. msgid "@var{default-value} is the default value corresponding to the field; if none is specified, the user is forced to provide a value when creating an object of the record type."
  54360. msgstr ""
  54361. #. type: deffn
  54362. #: guix-git/doc/guix.texi:37177
  54363. msgid "@var{documentation} is a string formatted with Texinfo syntax which should provide a description of what setting this field does."
  54364. msgstr ""
  54365. #. type: deffn
  54366. #: guix-git/doc/guix.texi:37184
  54367. msgid "@var{serializer} is the name of a procedure which takes two arguments, the first is the name of the field, and the second is the value corresponding to the field. The procedure should return a string or G-expression (@pxref{G-Expressions}) that represents the content that will be serialized to the configuration file. If none is specified, a procedure of the name @code{serialize-@var{type}} will be used."
  54368. msgstr ""
  54369. #. type: deffn
  54370. #: guix-git/doc/guix.texi:37186
  54371. msgid "A simple serializer procedure could look like this:"
  54372. msgstr ""
  54373. #. type: lisp
  54374. #: guix-git/doc/guix.texi:37191
  54375. #, no-wrap
  54376. msgid ""
  54377. "(define (serialize-boolean field-name value)\n"
  54378. " (let ((value (if value \"true\" \"false\")))\n"
  54379. " #~(string-append #$field-name #$value)))\n"
  54380. msgstr ""
  54381. #. type: deffn
  54382. #: guix-git/doc/guix.texi:37202
  54383. msgid "In some cases multiple different configuration records might be defined in the same file, but their serializers for the same type might have to be different, because they have different configuration formats. For example, the @code{serialize-boolean} procedure for the Getmail service would have to be different for the one for the Transmission service. To make it easier to deal with this situation, one can specify a serializer prefix by using the @code{prefix} literal in the @code{define-configuration} form. This means that one doesn't have to manually specify a custom @var{serializer} for every field."
  54384. msgstr ""
  54385. #. type: lisp
  54386. #: guix-git/doc/guix.texi:37206
  54387. #, no-wrap
  54388. msgid ""
  54389. "(define (foo-serialize-string field-name value)\n"
  54390. " @dots{})\n"
  54391. "\n"
  54392. msgstr ""
  54393. #. type: lisp
  54394. #: guix-git/doc/guix.texi:37209
  54395. #, no-wrap
  54396. msgid ""
  54397. "(define (bar-serialize-string field-name value)\n"
  54398. " @dots{})\n"
  54399. " \n"
  54400. msgstr ""
  54401. #. type: lisp
  54402. #: guix-git/doc/guix.texi:37215
  54403. #, no-wrap
  54404. msgid ""
  54405. "(define-configuration foo-configuration\n"
  54406. " (label\n"
  54407. " (string)\n"
  54408. " \"The name of label.\")\n"
  54409. " (prefix foo-))\n"
  54410. "\n"
  54411. msgstr ""
  54412. #. type: lisp
  54413. #: guix-git/doc/guix.texi:37221
  54414. #, no-wrap
  54415. msgid ""
  54416. "(define-configuration bar-configuration\n"
  54417. " (ip-address\n"
  54418. " (string)\n"
  54419. " \"The IPv4 address for this device.\")\n"
  54420. " (prefix bar-))\n"
  54421. msgstr ""
  54422. #. type: deffn
  54423. #: guix-git/doc/guix.texi:37227
  54424. msgid "However, in some cases you might not want to serialize any of the values of the record, to do this, you can use the @code{no-serialization} literal. There is also the @code{define-configuration/no-serialization} macro which is a shorthand of this."
  54425. msgstr ""
  54426. #. type: lisp
  54427. #: guix-git/doc/guix.texi:37235
  54428. #, no-wrap
  54429. msgid ""
  54430. ";; Nothing will be serialized to disk.\n"
  54431. "(define-configuration foo-configuration\n"
  54432. " (field\n"
  54433. " (string \"test\")\n"
  54434. " \"Some documentation.\")\n"
  54435. " (no-serialization))\n"
  54436. "\n"
  54437. msgstr ""
  54438. #. type: lisp
  54439. #: guix-git/doc/guix.texi:37241
  54440. #, no-wrap
  54441. msgid ""
  54442. ";; The same thing as above.\n"
  54443. "(define-configuration/no-serialization bar-configuration\n"
  54444. " (field\n"
  54445. " (string \"test\")\n"
  54446. " \"Some documentation.\"))\n"
  54447. msgstr ""
  54448. #. type: deffn
  54449. #: guix-git/doc/guix.texi:37244
  54450. #, no-wrap
  54451. msgid "{Scheme Syntax} define-maybe @var{type}"
  54452. msgstr ""
  54453. #. type: deffn
  54454. #: guix-git/doc/guix.texi:37249
  54455. msgid "Sometimes a field should not be serialized if the user doesn’t specify a value. To achieve this, you can use the @code{define-maybe} macro to define a ``maybe type''; if the value of a maybe type is set to the @code{disabled}, it will not be serialized."
  54456. msgstr ""
  54457. #. type: deffn
  54458. #: guix-git/doc/guix.texi:37256
  54459. msgid "When defining a ``maybe type'', the corresponding serializer for the regular type will be used by default. For example, a field of type @code{maybe-string} will be serialized using the @code{serialize-string} procedure by default, you can of course change this by specifying a custom serializer procedure. Likewise, the type of the value would have to be a string, unless it is set to the @code{disabled} symbol."
  54460. msgstr ""
  54461. #. type: lisp
  54462. #: guix-git/doc/guix.texi:37259
  54463. #, no-wrap
  54464. msgid ""
  54465. "(define-maybe string)\n"
  54466. "\n"
  54467. msgstr ""
  54468. #. type: lisp
  54469. #: guix-git/doc/guix.texi:37262
  54470. #, no-wrap
  54471. msgid ""
  54472. "(define (serialize-string field-name value)\n"
  54473. " @dots{})\n"
  54474. "\n"
  54475. msgstr ""
  54476. #. type: lisp
  54477. #: guix-git/doc/guix.texi:37269
  54478. #, no-wrap
  54479. msgid ""
  54480. "(define-configuration baz-configuration\n"
  54481. " (name\n"
  54482. " ;; Nothing will be serialized by default. If set to a string, the\n"
  54483. " ;; `serialize-string' procedure will be used to serialize the string.\n"
  54484. " (maybe-string 'disabled)\n"
  54485. " \"The name of this module.\"))\n"
  54486. msgstr ""
  54487. #. type: deffn
  54488. #: guix-git/doc/guix.texi:37273
  54489. msgid "Like with @code{define-configuration}, one can set a prefix for the serializer name by using the @code{prefix} literal."
  54490. msgstr ""
  54491. #. type: lisp
  54492. #: guix-git/doc/guix.texi:37277
  54493. #, no-wrap
  54494. msgid ""
  54495. "(define-maybe integer\n"
  54496. " (prefix baz-))\n"
  54497. "\n"
  54498. msgstr ""
  54499. #. type: lisp
  54500. #: guix-git/doc/guix.texi:37280
  54501. #, no-wrap
  54502. msgid ""
  54503. "(define (baz-serialize-interger field-name value)\n"
  54504. " @dots{})\n"
  54505. msgstr ""
  54506. #. type: deffn
  54507. #: guix-git/doc/guix.texi:37287
  54508. msgid "There is also the @code{no-serialization} literal, which when set means that no serializer will be defined for the ``maybe type'', regardless of its value is @code{disabled} or not. @code{define-maybe/no-serialization} is a shorthand for specifying the @code{no-serialization} literal."
  54509. msgstr ""
  54510. #. type: lisp
  54511. #: guix-git/doc/guix.texi:37290
  54512. #, no-wrap
  54513. msgid ""
  54514. "(define-maybe/no-serialization symbol)\n"
  54515. "\n"
  54516. msgstr ""
  54517. #. type: lisp
  54518. #: guix-git/doc/guix.texi:37295
  54519. #, no-wrap
  54520. msgid ""
  54521. "(define-configuration/no-serialization test-configuration\n"
  54522. " (mode\n"
  54523. " (maybe-symbol 'disabled)\n"
  54524. " \"Docstring.\"))\n"
  54525. msgstr ""
  54526. #. type: deffn
  54527. #: guix-git/doc/guix.texi:37298
  54528. #, no-wrap
  54529. msgid "{Scheme Procedure} serialize-configuration @var{configuration} @"
  54530. msgstr ""
  54531. #. type: deffn
  54532. #: guix-git/doc/guix.texi:37304
  54533. msgid "@var{fields} Return a G-expression that contains the values corresponding to the @var{fields} of @var{configuration}, a record that has been generated by @code{define-configuration}. The G-expression can then be serialized to disk by using something like @code{mixed-text-file}."
  54534. msgstr ""
  54535. #. type: deffn
  54536. #: guix-git/doc/guix.texi:37306
  54537. #, no-wrap
  54538. msgid "{Scheme Procedure} validate-configuration @var{configuration}"
  54539. msgstr ""
  54540. #. type: deffn
  54541. #: guix-git/doc/guix.texi:37310
  54542. msgid "@var{fields} Type-check @var{fields}, a list of field names of @var{configuration}, a configuration record created by @code{define-configuration}."
  54543. msgstr ""
  54544. #. type: deffn
  54545. #: guix-git/doc/guix.texi:37312
  54546. #, no-wrap
  54547. msgid "{Scheme Procedure} empty-serializer @var{field-name} @var{value}"
  54548. msgstr ""
  54549. #. type: deffn
  54550. #: guix-git/doc/guix.texi:37315
  54551. msgid "A serializer that just returns an empty string. The @code{serialize-package} procedure is an alias for this."
  54552. msgstr ""
  54553. #. type: Plain text
  54554. #: guix-git/doc/guix.texi:37320
  54555. msgid "Once you have defined a configuration record, you will most likely also want to document it so that other people know to use it. To help with that, there are two procedures, both of which are documented below."
  54556. msgstr ""
  54557. #. type: deffn
  54558. #: guix-git/doc/guix.texi:37321
  54559. #, no-wrap
  54560. msgid "{Scheme Procedure} generate-documentation @var{documentation} @"
  54561. msgstr ""
  54562. #. type: deffn
  54563. #: guix-git/doc/guix.texi:37328
  54564. msgid "@var{documentation-name} Generate a Texinfo fragment from the docstrings in @var{documentation}, a list of @code{(@var{label} @var{fields} @var{sub-documentation} ...)}. @var{label} should be a symbol and should be the name of the configuration record. @var{fields} should be a list of all the fields available for the configuration record."
  54565. msgstr ""
  54566. #. type: deffn
  54567. #: guix-git/doc/guix.texi:37333
  54568. msgid "@var{sub-documentation} is a @code{(@var{field-name} @var{configuration-name})} tuple. @var{field-name} is the name of the field which takes another configuration record as its value, and @var{configuration-name} is the name of that configuration record."
  54569. msgstr ""
  54570. #. type: deffn
  54571. #: guix-git/doc/guix.texi:37340
  54572. msgid "@var{sub-documentation} is only needed if there are nested configuration records. For example, the @code{getmail-configuration} record (@pxref{Mail Services}) accepts a @code{getmail-configuration-file} record in one of its @code{rcfile} field, therefore documentation for @code{getmail-configuration-file} is nested in @code{getmail-configuration}."
  54573. msgstr ""
  54574. #. type: lisp
  54575. #: guix-git/doc/guix.texi:37347
  54576. #, no-wrap
  54577. msgid ""
  54578. "(generate-documentation\n"
  54579. " `((getmail-configuration ,getmail-configuration-fields\n"
  54580. " (rcfile getmail-configuration-file))\n"
  54581. " @dots{})\n"
  54582. " 'getmail-configuration)\n"
  54583. msgstr ""
  54584. #. type: deffn
  54585. #: guix-git/doc/guix.texi:37351
  54586. msgid "@var{documentation-name} should be a symbol and should be the name of the configuration record."
  54587. msgstr ""
  54588. #. type: deffn
  54589. #: guix-git/doc/guix.texi:37354
  54590. #, no-wrap
  54591. msgid "{Scheme Procedure} configuration->documentation"
  54592. msgstr ""
  54593. #. type: deffn
  54594. #: guix-git/doc/guix.texi:37361
  54595. msgid "@var{configuration-symbol} Take @var{configuration-symbol}, the symbol corresponding to the name used when defining a configuration record with @code{define-configuration}, and print the Texinfo documentation of its fields. This is useful if there aren’t any nested configuration records since it only prints the documentation for the top-level fields."
  54596. msgstr ""
  54597. #. type: Plain text
  54598. #: guix-git/doc/guix.texi:37369
  54599. msgid "As of right now, there is no automated way to generate documentation for configuration records and put them in the manual. Instead, every time you make a change to the docstrings of a configuration record, you have to manually call @code{generate-documentation} or @code{configuration->documentation}, and paste the output into the @file{doc/guix.texi} file."
  54600. msgstr ""
  54601. #. type: Plain text
  54602. #: guix-git/doc/guix.texi:37373
  54603. msgid "Below is an example of a record type created using @code{define-configuration} and friends."
  54604. msgstr ""
  54605. #. type: lisp
  54606. #: guix-git/doc/guix.texi:37380
  54607. #, no-wrap
  54608. msgid ""
  54609. "(use-modules (gnu services)\n"
  54610. " (guix gexp)\n"
  54611. " (gnu services configuration)\n"
  54612. " (srfi srfi-26)\n"
  54613. " (srfi srfi-1))\n"
  54614. "\n"
  54615. msgstr ""
  54616. #. type: lisp
  54617. #: guix-git/doc/guix.texi:37388
  54618. #, no-wrap
  54619. msgid ""
  54620. ";; Turn field names, which are Scheme symbols into strings\n"
  54621. "(define (uglify-field-name field-name)\n"
  54622. " (let ((str (symbol->string field-name)))\n"
  54623. " ;; field? -> is-field\n"
  54624. " (if (string-suffix? \"?\" str)\n"
  54625. " (string-append \"is-\" (string-drop-right str 1))\n"
  54626. " str)))\n"
  54627. "\n"
  54628. msgstr ""
  54629. #. type: lisp
  54630. #: guix-git/doc/guix.texi:37391
  54631. #, no-wrap
  54632. msgid ""
  54633. "(define (serialize-string field-name value)\n"
  54634. " #~(string-append #$(uglify-field-name field-name) \" = \" #$value \"\\n\"))\n"
  54635. "\n"
  54636. msgstr ""
  54637. #. type: lisp
  54638. #: guix-git/doc/guix.texi:37394
  54639. #, no-wrap
  54640. msgid ""
  54641. "(define (serialize-integer field-name value)\n"
  54642. " (serialize-string field-name (number->string value)))\n"
  54643. "\n"
  54644. msgstr ""
  54645. #. type: lisp
  54646. #: guix-git/doc/guix.texi:37397
  54647. #, no-wrap
  54648. msgid ""
  54649. "(define (serialize-boolean field-name value)\n"
  54650. " (serialize-string field-name (if value \"true\" \"false\")))\n"
  54651. "\n"
  54652. msgstr ""
  54653. #. type: lisp
  54654. #: guix-git/doc/guix.texi:37400
  54655. #, no-wrap
  54656. msgid ""
  54657. "(define (serialize-contact-name field-name value)\n"
  54658. " #~(string-append \"\\n[\" #$value \"]\\n\"))\n"
  54659. "\n"
  54660. msgstr ""
  54661. #. type: lisp
  54662. #: guix-git/doc/guix.texi:37403
  54663. #, no-wrap
  54664. msgid ""
  54665. "(define (list-of-contact-configurations? lst)\n"
  54666. " (every contact-configuration? lst))\n"
  54667. "\n"
  54668. msgstr ""
  54669. #. type: lisp
  54670. #: guix-git/doc/guix.texi:37408
  54671. #, no-wrap
  54672. msgid ""
  54673. "(define (serialize-list-of-contact-configurations field-name value)\n"
  54674. " #~(string-append #$@@(map (cut serialize-configuration <>\n"
  54675. " contact-configuration-fields)\n"
  54676. " value)))\n"
  54677. "\n"
  54678. msgstr ""
  54679. #. type: lisp
  54680. #: guix-git/doc/guix.texi:37415
  54681. #, no-wrap
  54682. msgid ""
  54683. "(define (serialize-contacts-list-configuration configuration)\n"
  54684. " (mixed-text-file\n"
  54685. " \"contactrc\"\n"
  54686. " #~(string-append \"[Owner]\\n\"\n"
  54687. " #$(serialize-configuration\n"
  54688. " configuration contacts-list-configuration-fields))))\n"
  54689. "\n"
  54690. msgstr ""
  54691. #. type: lisp
  54692. #: guix-git/doc/guix.texi:37418
  54693. #, no-wrap
  54694. msgid ""
  54695. "(define-maybe integer)\n"
  54696. "(define-maybe string)\n"
  54697. "\n"
  54698. msgstr ""
  54699. #. type: lisp
  54700. #: guix-git/doc/guix.texi:37433
  54701. #, no-wrap
  54702. msgid ""
  54703. "(define-configuration contact-configuration\n"
  54704. " (name\n"
  54705. " (string)\n"
  54706. " \"The name of the contact.\"\n"
  54707. " serialize-contact-name)\n"
  54708. " (phone-number\n"
  54709. " (maybe-integer 'disabled)\n"
  54710. " \"The person's phone number.\")\n"
  54711. " (email\n"
  54712. " (maybe-string 'disabled)\n"
  54713. " \"The person's email address.\")\n"
  54714. " (married?\n"
  54715. " (boolean)\n"
  54716. " \"Whether the person is married.\"))\n"
  54717. "\n"
  54718. msgstr ""
  54719. #. type: lisp
  54720. #: guix-git/doc/guix.texi:37445
  54721. #, no-wrap
  54722. msgid ""
  54723. "(define-configuration contacts-list-configuration\n"
  54724. " (name\n"
  54725. " (string)\n"
  54726. " \"The name of the owner of this contact list.\")\n"
  54727. " (email\n"
  54728. " (string)\n"
  54729. " \"The owner's email address.\")\n"
  54730. " (contacts\n"
  54731. " (list-of-contact-configurations '())\n"
  54732. " \"A list of @@code@{contact-configuation@} records which contain\n"
  54733. "information about all your contacts.\"))\n"
  54734. msgstr ""
  54735. #. type: Plain text
  54736. #: guix-git/doc/guix.texi:37448
  54737. msgid "A contacts list configuration could then be created like this:"
  54738. msgstr ""
  54739. #. type: lisp
  54740. #: guix-git/doc/guix.texi:37464
  54741. #, no-wrap
  54742. msgid ""
  54743. "(define my-contacts\n"
  54744. " (contacts-list-configuration\n"
  54745. " (name \"Alice\")\n"
  54746. " (email \"alice@@example.org\")\n"
  54747. " (contacts\n"
  54748. " (list (contact-configuration\n"
  54749. " (name \"Bob\")\n"
  54750. " (phone-number 1234)\n"
  54751. " (email \"bob@@gnu.org\")\n"
  54752. " (married? #f))\n"
  54753. " (contact-configuration\n"
  54754. " (name \"Charlie\")\n"
  54755. " (phone-number 0000)\n"
  54756. " (married? #t))))))\n"
  54757. msgstr ""
  54758. #. type: Plain text
  54759. #: guix-git/doc/guix.texi:37468
  54760. msgid "After serializing the configuration to disk, the resulting file would look like this:"
  54761. msgstr ""
  54762. #. type: example
  54763. #: guix-git/doc/guix.texi:37473
  54764. #, no-wrap
  54765. msgid ""
  54766. "[owner]\n"
  54767. "name = Alice\n"
  54768. "email = alice@@example.org\n"
  54769. "\n"
  54770. msgstr ""
  54771. #. type: example
  54772. #: guix-git/doc/guix.texi:37478
  54773. #, no-wrap
  54774. msgid ""
  54775. "[Bob]\n"
  54776. "phone-number = 1234\n"
  54777. "email = bob@@gnu.org\n"
  54778. "is-married = false\n"
  54779. "\n"
  54780. msgstr ""
  54781. #. type: example
  54782. #: guix-git/doc/guix.texi:37482
  54783. #, no-wrap
  54784. msgid ""
  54785. "[Charlie]\n"
  54786. "phone-number = 0\n"
  54787. "is-married = true\n"
  54788. msgstr ""
  54789. #. type: cindex
  54790. #: guix-git/doc/guix.texi:37487
  54791. #, no-wrap
  54792. msgid "home configuration"
  54793. msgstr ""
  54794. #. type: Plain text
  54795. #: guix-git/doc/guix.texi:37499
  54796. msgid "Guix supports declarative configuration of @dfn{home environments} by utilizing the configuration mechanism described in the previous chapter (@pxref{Defining Services}), but for user's dotfiles and packages. It works both on Guix System and foreign distros and allows users to declare all the packages and services that should be installed and configured for the user. Once a user has written a file containing @code{home-environment} record, such a configuration can be @dfn{instantiated} by an unprivileged user with the @command{guix home} command (@pxref{Invoking guix home})."
  54797. msgstr ""
  54798. #. type: Plain text
  54799. #: guix-git/doc/guix.texi:37516
  54800. msgid "The user's home environment usually consists of three basic parts: software, configuration, and state. Software in mainstream distros are usually installed system-wide, but with GNU Guix most software packages can be installed on a per-user basis without needing root privileges, and are thus considered part of the user’s @dfn{home environment}. Packages on their own not very useful in many cases, because often they require some additional configuration, usually config files that reside in @env{XDG_CONFIG_HOME} (@file{~/.config} by default) or other directories. Everything else can be considered state, like media files, application databases, and logs."
  54801. msgstr ""
  54802. #. type: Plain text
  54803. #: guix-git/doc/guix.texi:37519
  54804. msgid "Using Guix for managing home environments provides a number of advantages:"
  54805. msgstr ""
  54806. #. type: item
  54807. #: guix-git/doc/guix.texi:37522
  54808. #, no-wrap
  54809. msgid "All software can be configured in one language (Guile Scheme),"
  54810. msgstr ""
  54811. #. type: itemize
  54812. #: guix-git/doc/guix.texi:37525
  54813. msgid "this gives users the ability to share values between configurations of different programs."
  54814. msgstr ""
  54815. #. type: item
  54816. #: guix-git/doc/guix.texi:37526
  54817. #, no-wrap
  54818. msgid "A well-defined home environment is self-contained and can be"
  54819. msgstr ""
  54820. #. type: itemize
  54821. #: guix-git/doc/guix.texi:37529
  54822. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  54823. msgstr ""
  54824. #. type: item
  54825. #: guix-git/doc/guix.texi:37530
  54826. #, no-wrap
  54827. msgid "After every @command{guix home reconfigure} invocation, a new home"
  54828. msgstr ""
  54829. #. type: itemize
  54830. #: guix-git/doc/guix.texi:37534
  54831. msgid "environment generation will be created. This means that users can rollback to a previous home environment generation so they don’t have to worry about breaking their configuration."
  54832. msgstr ""
  54833. #. type: item
  54834. #: guix-git/doc/guix.texi:37535
  54835. #, no-wrap
  54836. msgid "It is possible to manage stateful data with Guix Home, this"
  54837. msgstr ""
  54838. #. type: itemize
  54839. #: guix-git/doc/guix.texi:37540
  54840. msgid "includes the ability to automatically clone Git repositories on the initial setup of the machine, and periodically running commands like @command{rsync} to sync data with another host. This functionality is still in an experimental stage, though."
  54841. msgstr ""
  54842. #. type: section
  54843. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37550
  54844. #: guix-git/doc/guix.texi:37551
  54845. #, no-wrap
  54846. msgid "Declaring the Home Environment"
  54847. msgstr ""
  54848. #. type: menuentry
  54849. #: guix-git/doc/guix.texi:37548
  54850. msgid "Customizing your Home."
  54851. msgstr ""
  54852. #. type: section
  54853. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37618
  54854. #: guix-git/doc/guix.texi:37619
  54855. #, no-wrap
  54856. msgid "Configuring the Shell"
  54857. msgstr ""
  54858. #. type: menuentry
  54859. #: guix-git/doc/guix.texi:37548
  54860. msgid "Enabling home environment."
  54861. msgstr ""
  54862. #. type: section
  54863. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37665
  54864. #: guix-git/doc/guix.texi:37666
  54865. #, no-wrap
  54866. msgid "Home Services"
  54867. msgstr ""
  54868. #. type: menuentry
  54869. #: guix-git/doc/guix.texi:37548
  54870. msgid "Specifying home services."
  54871. msgstr ""
  54872. #. type: menuentry
  54873. #: guix-git/doc/guix.texi:37548
  54874. msgid "Instantiating a home configuration."
  54875. msgstr ""
  54876. #. type: Plain text
  54877. #: guix-git/doc/guix.texi:37557
  54878. msgid "The home environment is configured by providing a @code{home-environment} declaration in a file that can be passed to the @command{guix home} command (@pxref{Invoking guix home}). The easiest way to get started is by generating an initial configuration with @command{guix home import}:"
  54879. msgstr ""
  54880. #. type: example
  54881. #: guix-git/doc/guix.texi:37560
  54882. #, no-wrap
  54883. msgid "guix home import ~/src/guix-config\n"
  54884. msgstr ""
  54885. #. type: Plain text
  54886. #: guix-git/doc/guix.texi:37568
  54887. msgid "The @command{guix home import} command reads some of the ``dot files'' such as @file{~/.bashrc} found in your home directory and copies them to the given directory, @file{~/src/guix-config} in this case; it also reads the contents of your profile, @file{~/.guix-profile}, and, based on that, it populates @file{~/src/guix-config/home-configuration.scm} with a Home configuration that resembles your current configuration."
  54888. msgstr ""
  54889. #. type: Plain text
  54890. #: guix-git/doc/guix.texi:37574
  54891. msgid "A simple setup can include Bash and a custom text configuration, like in the example below. Don't be afraid to declare home environment parts, which overlaps with your current dot files: before installing any configuration files, Guix Home will back up existing config files to a separate place in the home directory."
  54892. msgstr ""
  54893. #. type: quotation
  54894. #: guix-git/doc/guix.texi:37580
  54895. msgid "It is highly recommended that you manage your shell or shells with Guix Home, because it will make sure that all the necessary scripts are sourced by the shell configuration file. Otherwise you will need to do it manually. (@pxref{Configuring the Shell})."
  54896. msgstr ""
  54897. #. type: findex
  54898. #: guix-git/doc/guix.texi:37582
  54899. #, no-wrap
  54900. msgid "home-environment"
  54901. msgstr ""
  54902. #. type: include
  54903. #: guix-git/doc/guix.texi:37584
  54904. #, no-wrap
  54905. msgid "he-config-bare-bones.scm"
  54906. msgstr ""
  54907. #. type: Plain text
  54908. #: guix-git/doc/guix.texi:37591
  54909. msgid "The @code{packages} field should be self-explanatory, it will install the list of packages into the user's profile. The most important field is @code{services}, it contains a list of @dfn{home services}, which are the basic building blocks of a home environment."
  54910. msgstr ""
  54911. #. type: Plain text
  54912. #: guix-git/doc/guix.texi:37599
  54913. msgid "There is no daemon (at least not necessarily) related to a home service, a home service is just an element that is used to declare part of home environment and extend other parts of it. The extension mechanism discussed in the previous chapter (@pxref{Defining Services}) should not be confused with Shepherd services (@pxref{Shepherd Services}). Using this extension mechanism and some Scheme code that glues things together gives the user the freedom to declare their own, very custom, home environments."
  54914. msgstr ""
  54915. #. type: Plain text
  54916. #: guix-git/doc/guix.texi:37602
  54917. msgid "Once you have a configuration file that suits your needs, you can reconfigure your home by running:"
  54918. msgstr ""
  54919. #. type: example
  54920. #: guix-git/doc/guix.texi:37605
  54921. #, no-wrap
  54922. msgid "guix home reconfigure config.scm\n"
  54923. msgstr ""
  54924. #. type: Plain text
  54925. #: guix-git/doc/guix.texi:37609
  54926. msgid "This ``builds'' your home environment and creates @file{~/.guix-home} pointing to it. Voilà!"
  54927. msgstr ""
  54928. #. type: quotation
  54929. #: guix-git/doc/guix.texi:37616
  54930. msgid "Make sure the operating system has elogind, systemd, or a similar mechanism to create the XDG run-time directory and has the @env{XDG_RUNTIME_DIR} variable set. Failing that, the @file{on-first-login} script will not execute anything, and processes like user Shepherd and its descendants will not start."
  54931. msgstr ""
  54932. #. type: Plain text
  54933. #: guix-git/doc/guix.texi:37622
  54934. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  54935. msgstr ""
  54936. #. type: Plain text
  54937. #: guix-git/doc/guix.texi:37629
  54938. msgid "There are a few scripts that must be evaluated by a login shell to activate the home environment. The shell startup files only read by login shells often have @code{profile} suffix. For more information about login shells see @ref{Invoking Bash,,, bash, The GNU Bash Reference Manual} and see @ref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  54939. msgstr ""
  54940. #. type: Plain text
  54941. #: guix-git/doc/guix.texi:37636
  54942. msgid "The first script that needs to be sourced is @file{setup-environment}, which sets all the necessary environment variables (including variables declared by the user) and the second one is @file{on-first-login}, which starts Shepherd for the current user and performs actions declared by other home services that extends @code{home-run-on-first-login-service-type}."
  54943. msgstr ""
  54944. #. type: Plain text
  54945. #: guix-git/doc/guix.texi:37639
  54946. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  54947. msgstr ""
  54948. #. type: example
  54949. #: guix-git/doc/guix.texi:37644
  54950. #, no-wrap
  54951. msgid ""
  54952. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  54953. ". $HOME_ENVIRONMENT/setup-environment\n"
  54954. "$HOME_ENVIRONMENT/on-first-login\n"
  54955. msgstr ""
  54956. #. type: Plain text
  54957. #: guix-git/doc/guix.texi:37654
  54958. msgid "This makes POSIX compliant login shells activate the home environment. However, in most cases this file won't be read by most modern shells, because they are run in non POSIX mode by default and have their own @file{*profile} startup files. For example Bash will prefer @file{~/.bash_profile} in case it exists and only if it doesn't will it fallback to @file{~/.profile}. Zsh (if no additional options are specified) will ignore @file{~/.profile}, even if @file{~/.zprofile} doesn't exist."
  54959. msgstr ""
  54960. #. type: Plain text
  54961. #: guix-git/doc/guix.texi:37659
  54962. msgid "To make your shell respect @file{~/.profile}, add @code{. ~/.profile} or @code{source ~/profile} to the startup file for the login shell. In case of Bash, it is @file{~/.bash_profile}, and in case of Zsh, it is @file{~/.zprofile}."
  54963. msgstr ""
  54964. #. type: quotation
  54965. #: guix-git/doc/guix.texi:37663
  54966. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  54967. msgstr ""
  54968. #. type: cindex
  54969. #: guix-git/doc/guix.texi:37667
  54970. #, no-wrap
  54971. msgid "home services"
  54972. msgstr ""
  54973. #. type: Plain text
  54974. #: guix-git/doc/guix.texi:37676
  54975. msgid "A @dfn{home service} is not necessarily something that has a daemon and is managed by Shepherd (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}), in most cases it doesn't. It's a simple building block of the home environment, often declaring a set of packages to be installed in the home environment profile, a set of config files to be symlinked into @env{XDG_CONFIG_HOME} (@file{~/.config} by default), and environment variables to be set by a login shell."
  54976. msgstr ""
  54977. #. type: Plain text
  54978. #: guix-git/doc/guix.texi:37684
  54979. msgid "There is a service extension mechanism (@pxref{Service Composition}) which allows home services to extend other home services and utilize capabilities they provide; for example: declare mcron jobs (@pxref{Top,,, mcron, GNU@tie{}Mcron}) by extending @ref{Mcron Home Service}; declare daemons by extending @ref{Shepherd Home Service}; add commands, which will be invoked on by the Bash by extending @ref{Shells Home Services, @code{home-bash-service-type}}."
  54980. msgstr ""
  54981. #. type: Plain text
  54982. #: guix-git/doc/guix.texi:37695
  54983. msgid "A good way to discover available home services is using the @command{guix home search} command (@pxref{Invoking guix home}). After the required home services are found, include its module with the @code{use-modules} form (@pxref{use-modules,, Using Guile Modules, guile, The GNU Guile Reference Manual}), or the @code{#:use-modules} directive (@pxref{define-module,, Creating Guile Modules, guile, The GNU Guile Reference Manual}) and declare a home service using the @code{service} function, or extend a service type by declaring a new service with the @code{simple-service} procedure from @code{(gnu services)}."
  54984. msgstr ""
  54985. #. type: subsection
  54986. #: guix-git/doc/guix.texi:37702 guix-git/doc/guix.texi:37705
  54987. #: guix-git/doc/guix.texi:37706
  54988. #, no-wrap
  54989. msgid "Essential Home Services"
  54990. msgstr ""
  54991. #. type: menuentry
  54992. #: guix-git/doc/guix.texi:37702
  54993. msgid "Environment variables, packages, on-* scripts."
  54994. msgstr ""
  54995. #. type: menuentry
  54996. #: guix-git/doc/guix.texi:37702
  54997. msgid "Shells: Shells Home Services"
  54998. msgstr ""
  54999. #. type: menuentry
  55000. #: guix-git/doc/guix.texi:37702
  55001. msgid "POSIX shells, Bash, Zsh."
  55002. msgstr ""
  55003. #. type: menuentry
  55004. #: guix-git/doc/guix.texi:37702
  55005. msgid "Mcron: Mcron Home Service"
  55006. msgstr ""
  55007. #. type: menuentry
  55008. #: guix-git/doc/guix.texi:37702
  55009. msgid "Scheduled User's Job Execution."
  55010. msgstr ""
  55011. #. type: menuentry
  55012. #: guix-git/doc/guix.texi:37702
  55013. msgid "Shepherd: Shepherd Home Service"
  55014. msgstr ""
  55015. #. type: menuentry
  55016. #: guix-git/doc/guix.texi:37702
  55017. msgid "Managing User's Daemons."
  55018. msgstr ""
  55019. #. type: menuentry
  55020. #: guix-git/doc/guix.texi:37702
  55021. msgid "Desktop: Desktop Home Services"
  55022. msgstr ""
  55023. #. type: menuentry
  55024. #: guix-git/doc/guix.texi:37702
  55025. msgid "Services for graphical environments."
  55026. msgstr ""
  55027. #. type: Plain text
  55028. #: guix-git/doc/guix.texi:37711
  55029. msgid "There are a few essential home services defined in @code{(gnu services)}, they are mostly for internal use and are required to build a home environment, but some of them will be useful for the end user."
  55030. msgstr ""
  55031. #. type: cindex
  55032. #: guix-git/doc/guix.texi:37712
  55033. #, no-wrap
  55034. msgid "environment variables"
  55035. msgstr ""
  55036. #. type: defvr
  55037. #: guix-git/doc/guix.texi:37714
  55038. #, no-wrap
  55039. msgid "{Scheme Variable} home-environment-variables-service-type"
  55040. msgstr ""
  55041. #. type: defvr
  55042. #: guix-git/doc/guix.texi:37719
  55043. msgid "The service of this type will be instantiated by every home environment automatically by default, there is no need to define it, but someone may want to extend it with a list of pairs to set some environment variables."
  55044. msgstr ""
  55045. #. type: lisp
  55046. #: guix-git/doc/guix.texi:37723
  55047. #, no-wrap
  55048. msgid ""
  55049. "(list (\"ENV_VAR1\" . \"value1\")\n"
  55050. " (\"ENV_VAR2\" . \"value2\"))\n"
  55051. msgstr ""
  55052. #. type: defvr
  55053. #: guix-git/doc/guix.texi:37728
  55054. msgid "The easiest way to extend a service type, without defining new service type is to use the @code{simple-service} helper from @code{(gnu services)}."
  55055. msgstr ""
  55056. #. type: lisp
  55057. #: guix-git/doc/guix.texi:37736
  55058. #, no-wrap
  55059. msgid ""
  55060. "(simple-service 'some-useful-env-vars-service\n"
  55061. "\t\thome-environment-variables-service-type\n"
  55062. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  55063. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  55064. " (\"USELESS_VAR\" . #f)\n"
  55065. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  55066. msgstr ""
  55067. #. type: defvr
  55068. #: guix-git/doc/guix.texi:37741
  55069. msgid "If you include such a service in you home environment definition, it will add the following content to the @file{setup-environment} script (which is expected to be sourced by the login shell):"
  55070. msgstr ""
  55071. #. type: example
  55072. #: guix-git/doc/guix.texi:37746
  55073. #, no-wrap
  55074. msgid ""
  55075. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  55076. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  55077. "export _JAVA_AWT_WM_NONREPARENTING\n"
  55078. msgstr ""
  55079. #. type: quotation
  55080. #: guix-git/doc/guix.texi:37753
  55081. msgid "Make sure that module @code{(gnu packages shells)} is imported with @code{use-modules} or any other way, this namespace contains the definition of the @code{zsh} packages, which is used in the example above."
  55082. msgstr ""
  55083. #. type: defvr
  55084. #: guix-git/doc/guix.texi:37766
  55085. msgid "The association list (@pxref{Association Lists, alists, Association Lists, guile, The GNU Guile Reference manual}) is a data structure containing key-value pairs, for @code{home-environment-variables-service-type} the key is always a string, the value can be a string, string-valued gexp (@pxref{G-Expressions}), file-like object (@pxref{G-Expressions, file-like object}) or boolean. For gexps, the variable will be set to the value of the gexp; for file-like objects, it will be set to the path of the file in the store (@pxref{The Store}); for @code{#t}, it will export the variable without any value; and for @code{#f}, it will omit variable."
  55086. msgstr ""
  55087. #. type: defvr
  55088. #: guix-git/doc/guix.texi:37769
  55089. #, no-wrap
  55090. msgid "{Scheme Variable} home-profile-service-type"
  55091. msgstr ""
  55092. #. type: defvr
  55093. #: guix-git/doc/guix.texi:37775
  55094. msgid "The service of this type will be instantiated by every home environment automatically, there is no need to define it, but you may want to extend it with a list of packages if you want to install additional packages into your profile. Other services, which need to make some programs available to the user will also extend this service type."
  55095. msgstr ""
  55096. #. type: defvr
  55097. #: guix-git/doc/guix.texi:37777
  55098. msgid "The extension value is just a list of packages:"
  55099. msgstr ""
  55100. #. type: lisp
  55101. #: guix-git/doc/guix.texi:37780
  55102. #, no-wrap
  55103. msgid "(list htop vim emacs)\n"
  55104. msgstr ""
  55105. #. type: defvr
  55106. #: guix-git/doc/guix.texi:37790
  55107. msgid "The same approach as @code{simple-service} (@pxref{Service Reference, simple-service}) for @code{home-environment-variables-service-type} can be used here, too. Make sure that modules containing the specified packages are imported with @code{use-modules}. To find a package or information about its module use @command{guix search} (@pxref{Invoking guix package}). Alternatively, @code{specification->package} can be used to get the package record from string without importing related module."
  55108. msgstr ""
  55109. #. type: Plain text
  55110. #: guix-git/doc/guix.texi:37794
  55111. msgid "There are few more essential services, but users are not expected to extend them."
  55112. msgstr ""
  55113. #. type: defvr
  55114. #: guix-git/doc/guix.texi:37795
  55115. #, no-wrap
  55116. msgid "{Scheme Variable} home-service-type"
  55117. msgstr ""
  55118. #. type: defvr
  55119. #: guix-git/doc/guix.texi:37800
  55120. msgid "The root of home services DAG, it generates a folder, which later will be symlinked to @file{~/.guix-home}, it contains configurations, profile with binaries and libraries, and some necessary scripts to glue things together."
  55121. msgstr ""
  55122. #. type: defvr
  55123. #: guix-git/doc/guix.texi:37802
  55124. #, no-wrap
  55125. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  55126. msgstr ""
  55127. #. type: defvr
  55128. #: guix-git/doc/guix.texi:37807
  55129. msgid "The service of this type generates a Guile script, which is expected to be executed by the login shell. It is only executed if the special flag file inside @env{XDG_RUNTIME_DIR} hasn't been created, this prevents redundant executions of the script if multiple login shells are spawned."
  55130. msgstr ""
  55131. #. type: defvr
  55132. #: guix-git/doc/guix.texi:37813
  55133. msgid "It can be extended with a gexp. However, to autostart an application, users @emph{should not} use this service, in most cases it's better to extend @code{home-shepherd-service-type} with a Shepherd service (@pxref{Shepherd Services}), or extend the shell's startup file with the required command using the appropriate service type."
  55134. msgstr ""
  55135. #. type: defvr
  55136. #: guix-git/doc/guix.texi:37815
  55137. #, no-wrap
  55138. msgid "{Scheme Variable} home-activation-service-type"
  55139. msgstr ""
  55140. #. type: defvr
  55141. #: guix-git/doc/guix.texi:37819
  55142. msgid "The service of this type generates a guile script, which runs on every @command{guix home reconfigure} invocation or any other action, which leads to the activation of the home environment."
  55143. msgstr ""
  55144. #. type: node
  55145. #: guix-git/doc/guix.texi:37821
  55146. #, no-wrap
  55147. msgid "Shells Home Services"
  55148. msgstr ""
  55149. #. type: subsection
  55150. #: guix-git/doc/guix.texi:37822
  55151. #, no-wrap
  55152. msgid "Shells"
  55153. msgstr ""
  55154. #. type: cindex
  55155. #: guix-git/doc/guix.texi:37824 guix-git/doc/guix.texi:38190
  55156. #, no-wrap
  55157. msgid "shell"
  55158. msgstr ""
  55159. #. type: cindex
  55160. #: guix-git/doc/guix.texi:37825
  55161. #, no-wrap
  55162. msgid "login shell"
  55163. msgstr ""
  55164. #. type: cindex
  55165. #: guix-git/doc/guix.texi:37826
  55166. #, no-wrap
  55167. msgid "interactive shell"
  55168. msgstr ""
  55169. #. type: cindex
  55170. #: guix-git/doc/guix.texi:37827 guix-git/doc/guix.texi:38192
  55171. #, no-wrap
  55172. msgid "bash"
  55173. msgstr ""
  55174. #. type: cindex
  55175. #: guix-git/doc/guix.texi:37828 guix-git/doc/guix.texi:38193
  55176. #, no-wrap
  55177. msgid "zsh"
  55178. msgstr ""
  55179. #. type: Plain text
  55180. #: guix-git/doc/guix.texi:37834
  55181. msgid "Shells play a quite important role in the environment initialization process, you can configure them manually as described in section @ref{Configuring the Shell}, but the recommended way is to use home services listed below. It's both easier and more reliable."
  55182. msgstr ""
  55183. #. type: Plain text
  55184. #: guix-git/doc/guix.texi:37844
  55185. msgid "Each home environment instantiates @code{home-shell-profile-service-type}, which creates a @file{~/.profile} startup file for all POSIX-compatible shells. This file contains all the necessary steps to properly initialize the environment, but many modern shells like Bash or Zsh prefer their own startup files, that's why the respective home services (@code{home-bash-service-type} and @code{home-zsh-service-type}) ensure that @file{~/.profile} is sourced by @file{~/.bash_profile} and @file{~/.zprofile}, respectively."
  55186. msgstr ""
  55187. #. type: subsubheading
  55188. #: guix-git/doc/guix.texi:37845
  55189. #, no-wrap
  55190. msgid "Shell Profile Service"
  55191. msgstr ""
  55192. #. type: deftp
  55193. #: guix-git/doc/guix.texi:37847
  55194. #, no-wrap
  55195. msgid "{Data Type} home-shell-profile-configuration"
  55196. msgstr ""
  55197. #. type: deftp
  55198. #: guix-git/doc/guix.texi:37849
  55199. msgid "Available @code{home-shell-profile-configuration} fields are:"
  55200. msgstr ""
  55201. #. type: item
  55202. #: guix-git/doc/guix.texi:37851
  55203. #, no-wrap
  55204. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  55205. msgstr ""
  55206. #. type: table
  55207. #: guix-git/doc/guix.texi:37861
  55208. msgid "@code{home-shell-profile} is instantiated automatically by @code{home-environment}, DO NOT create this service manually, it can only be extended. @code{profile} is a list of file-like objects, which will go to @file{~/.profile}. By default @file{~/.profile} contains the initialization code which must be evaluated by the login shell to make home-environment's profile available to the user, but other commands can be added to the file if it is really necessary. In most cases shell's configuration files are preferred places for user's customizations. Extend home-shell-profile service only if you really know what you do."
  55209. msgstr ""
  55210. #. type: subsubheading
  55211. #: guix-git/doc/guix.texi:37866
  55212. #, no-wrap
  55213. msgid "Bash Home Service"
  55214. msgstr ""
  55215. #. type: anchor{#1}
  55216. #: guix-git/doc/guix.texi:37869
  55217. msgid "home-bash-configuration"
  55218. msgstr ""
  55219. #. type: deftp
  55220. #: guix-git/doc/guix.texi:37869
  55221. #, no-wrap
  55222. msgid "{Data Type} home-bash-configuration"
  55223. msgstr ""
  55224. #. type: deftp
  55225. #: guix-git/doc/guix.texi:37871
  55226. msgid "Available @code{home-bash-configuration} fields are:"
  55227. msgstr ""
  55228. #. type: item
  55229. #: guix-git/doc/guix.texi:37873
  55230. #, no-wrap
  55231. msgid "@code{package} (default: @code{bash}) (type: package)"
  55232. msgstr ""
  55233. #. type: table
  55234. #: guix-git/doc/guix.texi:37875
  55235. msgid "The Bash package to use."
  55236. msgstr ""
  55237. #. type: item
  55238. #: guix-git/doc/guix.texi:37876
  55239. #, no-wrap
  55240. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  55241. msgstr ""
  55242. #. type: table
  55243. #: guix-git/doc/guix.texi:37879
  55244. msgid "Add sane defaults like reading @file{/etc/bashrc} and coloring the output of @command{ls} to the end of the @file{.bashrc} file."
  55245. msgstr ""
  55246. #. type: item
  55247. #: guix-git/doc/guix.texi:37880 guix-git/doc/guix.texi:37934
  55248. #: guix-git/doc/guix.texi:37973
  55249. #, no-wrap
  55250. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  55251. msgstr ""
  55252. #. type: table
  55253. #: guix-git/doc/guix.texi:37885
  55254. msgid "Association list of environment variables to set for the Bash session. The rules for the @code{home-environment-variables-service-type} apply here (@pxref{Essential Home Services}). The contents of this field will be added after the contents of the @code{bash-profile} field."
  55255. msgstr ""
  55256. #. type: item
  55257. #: guix-git/doc/guix.texi:37886 guix-git/doc/guix.texi:37939
  55258. #, no-wrap
  55259. msgid "@code{aliases} (default: @code{()}) (type: alist)"
  55260. msgstr ""
  55261. #. type: table
  55262. #: guix-git/doc/guix.texi:37891
  55263. msgid "Association list of aliases to set for the Bash session. The aliases will be defined after the contents of the @code{bashrc} field has been put in the @file{.bashrc} file. The alias will automatically be quoted, so something line this:"
  55264. msgstr ""
  55265. #. type: lisp
  55266. #: guix-git/doc/guix.texi:37894
  55267. #, no-wrap
  55268. msgid "'((\\\"ls\\\" . \\\"ls -alF\\\"))\n"
  55269. msgstr ""
  55270. #. type: table
  55271. #: guix-git/doc/guix.texi:37897
  55272. msgid "turns into"
  55273. msgstr ""
  55274. #. type: example
  55275. #: guix-git/doc/guix.texi:37900
  55276. #, no-wrap
  55277. msgid "alias ls=\\\"ls -alF\\\"\n"
  55278. msgstr ""
  55279. #. type: item
  55280. #: guix-git/doc/guix.texi:37902 guix-git/doc/guix.texi:37943
  55281. #, no-wrap
  55282. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  55283. msgstr ""
  55284. #. type: table
  55285. #: guix-git/doc/guix.texi:37907
  55286. msgid "List of file-like objects, which will be added to @file{.bash_profile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). @file{.bash_login} won't be ever read, because @file{.bash_profile} always present."
  55287. msgstr ""
  55288. #. type: item
  55289. #: guix-git/doc/guix.texi:37908 guix-git/doc/guix.texi:37947
  55290. #, no-wrap
  55291. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  55292. msgstr ""
  55293. #. type: table
  55294. #: guix-git/doc/guix.texi:37913
  55295. msgid "List of file-like objects, which will be added to @file{.bashrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{bash} or by terminal app or any other program)."
  55296. msgstr ""
  55297. #. type: item
  55298. #: guix-git/doc/guix.texi:37914 guix-git/doc/guix.texi:37951
  55299. #, no-wrap
  55300. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  55301. msgstr ""
  55302. #. type: table
  55303. #: guix-git/doc/guix.texi:37919
  55304. msgid "List of file-like objects, which will be added to @file{.bash_logout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  55305. msgstr ""
  55306. #. type: Plain text
  55307. #: guix-git/doc/guix.texi:37929
  55308. msgid "You can extend the Bash service by using the @code{home-bash-extension} configuration record, whose fields most mirror that of @code{home-bash-configuration} (@pxref{home-bash-configuration}). The contents of the extensions will be added to the end of the corresponding Bash configuration files (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  55309. msgstr ""
  55310. #. type: deftp
  55311. #: guix-git/doc/guix.texi:37930
  55312. #, no-wrap
  55313. msgid "{Data Type} home-bash-extension"
  55314. msgstr ""
  55315. #. type: deftp
  55316. #: guix-git/doc/guix.texi:37932
  55317. msgid "Available @code{home-bash-extension} fields are:"
  55318. msgstr ""
  55319. #. type: table
  55320. #: guix-git/doc/guix.texi:37938
  55321. msgid "Additional environment variables to set. These will be combined with the environment variables from other extensions and the base service to form one coherent block of environment variables."
  55322. msgstr ""
  55323. #. type: table
  55324. #: guix-git/doc/guix.texi:37942
  55325. msgid "Additional aliases to set. These will be combined with the aliases from other extensions and the base service."
  55326. msgstr ""
  55327. #. type: table
  55328. #: guix-git/doc/guix.texi:37946
  55329. msgid "Additional text blocks to add to @file{.bash_profile}, which will be combined with text blocks from other extensions and the base service."
  55330. msgstr ""
  55331. #. type: table
  55332. #: guix-git/doc/guix.texi:37950
  55333. msgid "Additional text blocks to add to @file{.bashrc}, which will be combined with text blocks from other extensions and the base service."
  55334. msgstr ""
  55335. #. type: table
  55336. #: guix-git/doc/guix.texi:37954
  55337. msgid "Additional text blocks to add to @file{.bash_logout}, which will be combined with text blocks from other extensions and the base service."
  55338. msgstr ""
  55339. #. type: subsubheading
  55340. #: guix-git/doc/guix.texi:37958
  55341. #, no-wrap
  55342. msgid "Zsh Home Service"
  55343. msgstr ""
  55344. #. type: deftp
  55345. #: guix-git/doc/guix.texi:37960
  55346. #, no-wrap
  55347. msgid "{Data Type} home-zsh-configuration"
  55348. msgstr ""
  55349. #. type: deftp
  55350. #: guix-git/doc/guix.texi:37962
  55351. msgid "Available @code{home-zsh-configuration} fields are:"
  55352. msgstr ""
  55353. #. type: item
  55354. #: guix-git/doc/guix.texi:37964
  55355. #, no-wrap
  55356. msgid "@code{package} (default: @code{zsh}) (type: package)"
  55357. msgstr ""
  55358. #. type: table
  55359. #: guix-git/doc/guix.texi:37966
  55360. msgid "The Zsh package to use."
  55361. msgstr ""
  55362. #. type: item
  55363. #: guix-git/doc/guix.texi:37967
  55364. #, no-wrap
  55365. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  55366. msgstr ""
  55367. #. type: table
  55368. #: guix-git/doc/guix.texi:37972
  55369. msgid "Place all the configs to @file{$XDG_CONFIG_HOME/zsh}. Makes @file{~/.zshenv} to set @env{ZDOTDIR} to @file{$XDG_CONFIG_HOME/zsh}. Shell startup process will continue with @file{$XDG_CONFIG_HOME/zsh/.zshenv}."
  55370. msgstr ""
  55371. #. type: table
  55372. #: guix-git/doc/guix.texi:37975
  55373. msgid "Association list of environment variables to set for the Zsh session."
  55374. msgstr ""
  55375. #. type: item
  55376. #: guix-git/doc/guix.texi:37976
  55377. #, no-wrap
  55378. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  55379. msgstr ""
  55380. #. type: table
  55381. #: guix-git/doc/guix.texi:37981
  55382. msgid "List of file-like objects, which will be added to @file{.zshenv}. Used for setting user's shell environment variables. Must not contain commands assuming the presence of tty or producing output. Will be read always. Will be read before any other file in @env{ZDOTDIR}."
  55383. msgstr ""
  55384. #. type: item
  55385. #: guix-git/doc/guix.texi:37982
  55386. #, no-wrap
  55387. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  55388. msgstr ""
  55389. #. type: table
  55390. #: guix-git/doc/guix.texi:37987
  55391. msgid "List of file-like objects, which will be added to @file{.zprofile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). Will be read before @file{.zlogin}."
  55392. msgstr ""
  55393. #. type: item
  55394. #: guix-git/doc/guix.texi:37988
  55395. #, no-wrap
  55396. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  55397. msgstr ""
  55398. #. type: table
  55399. #: guix-git/doc/guix.texi:37993
  55400. msgid "List of file-like objects, which will be added to @file{.zshrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{zsh} or by terminal app or any other program)."
  55401. msgstr ""
  55402. #. type: item
  55403. #: guix-git/doc/guix.texi:37994
  55404. #, no-wrap
  55405. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  55406. msgstr ""
  55407. #. type: table
  55408. #: guix-git/doc/guix.texi:37998
  55409. msgid "List of file-like objects, which will be added to @file{.zlogin}. Used for executing user's commands at the end of starting process of login shell."
  55410. msgstr ""
  55411. #. type: item
  55412. #: guix-git/doc/guix.texi:37999
  55413. #, no-wrap
  55414. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  55415. msgstr ""
  55416. #. type: table
  55417. #: guix-git/doc/guix.texi:38004
  55418. msgid "List of file-like objects, which will be added to @file{.zlogout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  55419. msgstr ""
  55420. #. type: node
  55421. #: guix-git/doc/guix.texi:38009
  55422. #, no-wrap
  55423. msgid "Mcron Home Service"
  55424. msgstr ""
  55425. #. type: subsection
  55426. #: guix-git/doc/guix.texi:38010
  55427. #, no-wrap
  55428. msgid "Scheduled User's Job Execution"
  55429. msgstr ""
  55430. #. type: Plain text
  55431. #: guix-git/doc/guix.texi:38023
  55432. msgid "The @code{(gnu home services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). The information about system's mcron is applicable here (@pxref{Scheduled Job Execution}), the only difference for home services is that they have to be declared in a @code{home-envirnoment} record instead of an @code{operating-system} record."
  55433. msgstr ""
  55434. #. type: defvr
  55435. #: guix-git/doc/guix.texi:38024
  55436. #, no-wrap
  55437. msgid "{Scheme Variable} home-mcron-service-type"
  55438. msgstr ""
  55439. #. type: defvr
  55440. #: guix-git/doc/guix.texi:38028
  55441. msgid "This is the type of the @code{mcron} home service, whose value is an @code{home-mcron-configuration} object. It allows to manage scheduled tasks."
  55442. msgstr ""
  55443. #. type: deftp
  55444. #: guix-git/doc/guix.texi:38035
  55445. #, no-wrap
  55446. msgid "{Data Type} home-mcron-configuration"
  55447. msgstr ""
  55448. #. type: node
  55449. #: guix-git/doc/guix.texi:38049
  55450. #, no-wrap
  55451. msgid "Shepherd Home Service"
  55452. msgstr ""
  55453. #. type: subsection
  55454. #: guix-git/doc/guix.texi:38050
  55455. #, no-wrap
  55456. msgid "Managing User Daemons"
  55457. msgstr ""
  55458. #. type: cindex
  55459. #: guix-git/doc/guix.texi:38052
  55460. #, no-wrap
  55461. msgid "shepherd services, for users"
  55462. msgstr ""
  55463. #. type: Plain text
  55464. #: guix-git/doc/guix.texi:38059
  55465. msgid "The @code{(gnu home services shepherd)} module supports the definitions of per-user Shepherd services (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual}). You extend @code{home-shepherd-service-type} with new services; Guix Home then takes care of starting the @code{shepherd} daemon for you when you log in, which in turns starts the services you asked for."
  55466. msgstr ""
  55467. #. type: defvr
  55468. #: guix-git/doc/guix.texi:38060
  55469. #, no-wrap
  55470. msgid "{Scheme Variable} home-shepherd-service-type"
  55471. msgstr ""
  55472. #. type: defvr
  55473. #: guix-git/doc/guix.texi:38065
  55474. msgid "The service type for the userland Shepherd, which allows one to manage long-running processes or one-shot tasks. User's Shepherd is not an init process (PID 1), but almost all other information described in (@pxref{Shepherd Services}) is applicable here too."
  55475. msgstr ""
  55476. #. type: defvr
  55477. #: guix-git/doc/guix.texi:38070
  55478. msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{<shepherd-service>}. Its value must be a @code{home-shepherd-configuration}, as described below."
  55479. msgstr ""
  55480. #. type: deftp
  55481. #: guix-git/doc/guix.texi:38072
  55482. #, no-wrap
  55483. msgid "{Data Type} home-shepherd-configuration"
  55484. msgstr ""
  55485. #. type: item
  55486. #: guix-git/doc/guix.texi:38079
  55487. #, no-wrap
  55488. msgid "auto-start? (default: @code{#t})"
  55489. msgstr ""
  55490. #. type: table
  55491. #: guix-git/doc/guix.texi:38081
  55492. msgid "Whether or not to start Shepherd on first login."
  55493. msgstr ""
  55494. #. type: subsection
  55495. #: guix-git/doc/guix.texi:38089 guix-git/doc/guix.texi:38090
  55496. #, no-wrap
  55497. msgid "Desktop Home Services"
  55498. msgstr ""
  55499. #. type: Plain text
  55500. #: guix-git/doc/guix.texi:38095
  55501. msgid "The @code{(gnu home services desktop)} module provides services that you may find useful on ``desktop'' systems running a graphical user environment such as Xorg."
  55502. msgstr ""
  55503. #. type: defvr
  55504. #: guix-git/doc/guix.texi:38096
  55505. #, no-wrap
  55506. msgid "{Scheme Variable} home-redshift-service-type"
  55507. msgstr ""
  55508. #. type: defvr
  55509. #: guix-git/doc/guix.texi:38101
  55510. msgid "This is the service type for @uref{https://github.com/jonls/redshift, Redshift}, a program that adjusts the display color temperature according to the time of day. Its associated value must be a @code{home-redshift-configuration} record, as shown below."
  55511. msgstr ""
  55512. #. type: defvr
  55513. #: guix-git/doc/guix.texi:38104
  55514. msgid "A typical configuration, where we manually specify the latitude and longitude, might look like this:"
  55515. msgstr ""
  55516. #. type: lisp
  55517. #: guix-git/doc/guix.texi:38111
  55518. #, no-wrap
  55519. msgid ""
  55520. "(service home-redshift-service-type\n"
  55521. " (home-redshift-configuration\n"
  55522. " (location-provider 'manual)\n"
  55523. " (latitude 35.81) ;northern hemisphere\n"
  55524. " (longitude -0.80))) ;west of Greenwich\n"
  55525. msgstr ""
  55526. #. type: deftp
  55527. #: guix-git/doc/guix.texi:38114
  55528. #, no-wrap
  55529. msgid "{Data Type} home-redshift-configuration"
  55530. msgstr ""
  55531. #. type: deftp
  55532. #: guix-git/doc/guix.texi:38116
  55533. msgid "Available @code{home-redshift-configuration} fields are:"
  55534. msgstr ""
  55535. #. type: item
  55536. #: guix-git/doc/guix.texi:38118
  55537. #, no-wrap
  55538. msgid "@code{redshift} (default: @code{redshift}) (type: file-like)"
  55539. msgstr ""
  55540. #. type: table
  55541. #: guix-git/doc/guix.texi:38120
  55542. msgid "Redshift package to use."
  55543. msgstr ""
  55544. #. type: item
  55545. #: guix-git/doc/guix.texi:38121
  55546. #, no-wrap
  55547. msgid "@code{location-provider} (default: @code{geoclue2}) (type: symbol)"
  55548. msgstr ""
  55549. #. type: table
  55550. #: guix-git/doc/guix.texi:38127
  55551. msgid "Geolocation provider---@code{'manual} or @code{'geoclue2}. In the former case, you must also specify the @code{latitude} and @code{longitude} fields so Redshift can determine daytime at your place. In the latter case, the Geoclue system service must be running; it will be queried for location information."
  55552. msgstr ""
  55553. #. type: item
  55554. #: guix-git/doc/guix.texi:38128
  55555. #, no-wrap
  55556. msgid "@code{adjustment-method} (default: @code{randr}) (type: symbol)"
  55557. msgstr ""
  55558. #. type: table
  55559. #: guix-git/doc/guix.texi:38130
  55560. msgid "Color adjustment method."
  55561. msgstr ""
  55562. #. type: item
  55563. #: guix-git/doc/guix.texi:38131
  55564. #, no-wrap
  55565. msgid "@code{daytime-temperature} (default: @code{6500}) (type: integer)"
  55566. msgstr ""
  55567. #. type: table
  55568. #: guix-git/doc/guix.texi:38133
  55569. msgid "Daytime color temperature (kelvins)."
  55570. msgstr ""
  55571. #. type: item
  55572. #: guix-git/doc/guix.texi:38134
  55573. #, no-wrap
  55574. msgid "@code{nighttime-temperature} (default: @code{4500}) (type: integer)"
  55575. msgstr ""
  55576. #. type: table
  55577. #: guix-git/doc/guix.texi:38136
  55578. msgid "Nighttime color temperature (kelvins)."
  55579. msgstr ""
  55580. #. type: item
  55581. #: guix-git/doc/guix.texi:38137
  55582. #, no-wrap
  55583. msgid "@code{daytime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  55584. msgstr ""
  55585. #. type: table
  55586. #: guix-git/doc/guix.texi:38139
  55587. msgid "Daytime screen brightness, between 0.1 and 1.0."
  55588. msgstr ""
  55589. #. type: item
  55590. #: guix-git/doc/guix.texi:38140
  55591. #, no-wrap
  55592. msgid "@code{nighttime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  55593. msgstr ""
  55594. #. type: table
  55595. #: guix-git/doc/guix.texi:38142
  55596. msgid "Nighttime screen brightness, between 0.1 and 1.0."
  55597. msgstr ""
  55598. #. type: item
  55599. #: guix-git/doc/guix.texi:38143
  55600. #, no-wrap
  55601. msgid "@code{latitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  55602. msgstr ""
  55603. #. type: table
  55604. #: guix-git/doc/guix.texi:38145
  55605. msgid "Latitude, when @code{location-provider} is @code{'manual}."
  55606. msgstr ""
  55607. #. type: item
  55608. #: guix-git/doc/guix.texi:38146
  55609. #, no-wrap
  55610. msgid "@code{longitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  55611. msgstr ""
  55612. #. type: table
  55613. #: guix-git/doc/guix.texi:38148
  55614. msgid "Longitude, when @code{location-provider} is @code{'manual}."
  55615. msgstr ""
  55616. #. type: item
  55617. #: guix-git/doc/guix.texi:38149
  55618. #, no-wrap
  55619. msgid "@code{dawn-time} (default: @code{disabled}) (type: maybe-string)"
  55620. msgstr ""
  55621. #. type: table
  55622. #: guix-git/doc/guix.texi:38153
  55623. msgid "Custom time for the transition from night to day in the morning---@code{\"HH:MM\"} format. When specified, solar elevation is not used to determine the daytime/nighttime period."
  55624. msgstr ""
  55625. #. type: item
  55626. #: guix-git/doc/guix.texi:38154
  55627. #, no-wrap
  55628. msgid "@code{dusk-time} (default: @code{disabled}) (type: maybe-string)"
  55629. msgstr ""
  55630. #. type: table
  55631. #: guix-git/doc/guix.texi:38157
  55632. msgid "Likewise, custom time for the transition from day to night in the evening."
  55633. msgstr ""
  55634. #. type: item
  55635. #: guix-git/doc/guix.texi:38158
  55636. #, no-wrap
  55637. msgid "@code{extra-content} (default: @code{\"\"}) (type: raw-configuration-string)"
  55638. msgstr ""
  55639. #. type: table
  55640. #: guix-git/doc/guix.texi:38162
  55641. msgid "Extra content appended as-is to the Redshift configuration file. Run @command{man redshift} for more information about the configuration file format."
  55642. msgstr ""
  55643. #. type: section
  55644. #: guix-git/doc/guix.texi:38169
  55645. #, no-wrap
  55646. msgid "Invoking @code{guix home}"
  55647. msgstr ""
  55648. #. type: Plain text
  55649. #: guix-git/doc/guix.texi:38174
  55650. msgid "Once you have written a home environment declaration (@pxref{Declaring the Home Environment,,,,}, it can be @dfn{instantiated} using the @command{guix home} command. The synopsis is:"
  55651. msgstr ""
  55652. #. type: example
  55653. #: guix-git/doc/guix.texi:38177
  55654. #, no-wrap
  55655. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  55656. msgstr ""
  55657. #. type: Plain text
  55658. #: guix-git/doc/guix.texi:38184
  55659. msgid "@var{file} must be the name of a file containing a @code{home-environment} declaration. @var{action} specifies how the home environment is instantiated, but there are few auxiliary actions which don't instantiate it. Currently the following values are supported:"
  55660. msgstr ""
  55661. #. type: table
  55662. #: guix-git/doc/guix.texi:38189
  55663. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  55664. msgstr ""
  55665. #. type: cindex
  55666. #: guix-git/doc/guix.texi:38191
  55667. #, no-wrap
  55668. msgid "shell-profile"
  55669. msgstr ""
  55670. #. type: example
  55671. #: guix-git/doc/guix.texi:38202
  55672. #, no-wrap
  55673. msgid ""
  55674. "$ guix home search shell\n"
  55675. "name: home-shell-profile\n"
  55676. "location: gnu/home/services/shells.scm:100:2\n"
  55677. "extends: home-files\n"
  55678. "description: Create `~/.profile', which is used for environment initialization of POSIX compliant login shells.\n"
  55679. "+ This service type can be extended with a list of file-like objects.\n"
  55680. "relevance: 6\n"
  55681. "\n"
  55682. msgstr ""
  55683. #. type: example
  55684. #: guix-git/doc/guix.texi:38208
  55685. #, no-wrap
  55686. msgid ""
  55687. "name: home-fish\n"
  55688. "location: gnu/home/services/shells.scm:640:2\n"
  55689. "extends: home-files home-profile\n"
  55690. "description: Install and configure Fish, the friendly interactive shell.\n"
  55691. "relevance: 3\n"
  55692. "\n"
  55693. msgstr ""
  55694. #. type: example
  55695. #: guix-git/doc/guix.texi:38214
  55696. #, no-wrap
  55697. msgid ""
  55698. "name: home-zsh\n"
  55699. "location: gnu/home/services/shells.scm:290:2\n"
  55700. "extends: home-files home-profile\n"
  55701. "description: Install and configure Zsh.\n"
  55702. "relevance: 1\n"
  55703. "\n"
  55704. msgstr ""
  55705. #. type: example
  55706. #: guix-git/doc/guix.texi:38220
  55707. #, no-wrap
  55708. msgid ""
  55709. "name: home-bash\n"
  55710. "location: gnu/home/services/shells.scm:508:2\n"
  55711. "extends: home-files home-profile\n"
  55712. "description: Install and configure GNU Bash.\n"
  55713. "relevance: 1\n"
  55714. "\n"
  55715. msgstr ""
  55716. #. type: table
  55717. #: guix-git/doc/guix.texi:38227
  55718. msgid "As for @command{guix search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  55719. msgstr ""
  55720. #. type: table
  55721. #: guix-git/doc/guix.texi:38236
  55722. msgid "Build the home environment described in @var{file}, and switch to it. Switching means that the activation script will be evaluated and (in basic scenario) symlinks to configuration files generated from @code{home-environment} declaration will be created in @file{~}. If the file with the same path already exists in home folder it will be moved to @file{~/@var{timestamp}-guix-home-legacy-configs-backup}, where @var{timestamp} is a current UNIX epoch time."
  55723. msgstr ""
  55724. #. type: quotation
  55725. #: guix-git/doc/guix.texi:38241
  55726. msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix home reconfigure} for the first time (@pxref{Invoking guix pull})."
  55727. msgstr ""
  55728. #. type: table
  55729. #: guix-git/doc/guix.texi:38248
  55730. msgid "This effects all the configuration specified in @var{file}. The command starts Shepherd services specified in @var{file} that are not currently running; if a service is currently running, this command will arrange for it to be upgraded the next time it is stopped (e.g.@: by @code{herd stop @var{service}} or @code{herd restart @var{service}})."
  55731. msgstr ""
  55732. #. type: table
  55733. #: guix-git/doc/guix.texi:38254
  55734. msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix home list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})."
  55735. msgstr ""
  55736. #. type: cindex
  55737. #: guix-git/doc/guix.texi:38255
  55738. #, no-wrap
  55739. msgid "provenance tracking, of the home environment"
  55740. msgstr ""
  55741. #. type: table
  55742. #: guix-git/doc/guix.texi:38260
  55743. msgid "Upon completion, the new home is deployed under @file{~/.guix-home}. This directory contains @dfn{provenance meta-data}: the list of channels in use (@pxref{Channels}) and @var{file} itself, when available. You can view the provenance information by running:"
  55744. msgstr ""
  55745. #. type: example
  55746. #: guix-git/doc/guix.texi:38263
  55747. #, no-wrap
  55748. msgid "guix home describe\n"
  55749. msgstr ""
  55750. #. type: table
  55751. #: guix-git/doc/guix.texi:38269
  55752. msgid "This information is useful should you later want to inspect how this particular generation was built. In fact, assuming @var{file} is self-contained, you can later rebuild generation @var{n} of your home environment with:"
  55753. msgstr ""
  55754. #. type: example
  55755. #: guix-git/doc/guix.texi:38275
  55756. #, no-wrap
  55757. msgid ""
  55758. "guix time-machine \\\n"
  55759. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  55760. " home reconfigure \\\n"
  55761. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  55762. "\n"
  55763. msgstr ""
  55764. #. type: table
  55765. #: guix-git/doc/guix.texi:38282
  55766. msgid "You can think of it as some sort of built-in version control! Your home is not just a binary artifact: @emph{it carries its own source}."
  55767. msgstr ""
  55768. #. type: cindex
  55769. #: guix-git/doc/guix.texi:38288
  55770. #, fuzzy, no-wrap
  55771. #| msgid "Documentation"
  55772. msgid "home generations"
  55773. msgstr "مستندات"
  55774. #. type: table
  55775. #: guix-git/doc/guix.texi:38291
  55776. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  55777. msgstr ""
  55778. #. type: table
  55779. #: guix-git/doc/guix.texi:38295
  55780. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  55781. msgstr ""
  55782. #. type: example
  55783. #: guix-git/doc/guix.texi:38298
  55784. #, no-wrap
  55785. msgid "guix home switch-generation 7\n"
  55786. msgstr ""
  55787. #. type: example
  55788. #: guix-git/doc/guix.texi:38309
  55789. #, no-wrap
  55790. msgid "guix home switch-generation -- -1\n"
  55791. msgstr ""
  55792. #. type: table
  55793. #: guix-git/doc/guix.texi:38318
  55794. msgid "Switch to the preceding home generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}."
  55795. msgstr ""
  55796. #. type: cindex
  55797. #: guix-git/doc/guix.texi:38320
  55798. #, no-wrap
  55799. msgid "deleting home generations"
  55800. msgstr ""
  55801. #. type: table
  55802. #: guix-git/doc/guix.texi:38325
  55803. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  55804. msgstr ""
  55805. #. type: table
  55806. #: guix-git/doc/guix.texi:38329
  55807. msgid "This works in the same way as @samp{guix package --delete-generations} (@pxref{Invoking guix package, @option{--delete-generations}}). With no arguments, all home generations but the current one are deleted:"
  55808. msgstr ""
  55809. #. type: example
  55810. #: guix-git/doc/guix.texi:38332
  55811. #, no-wrap
  55812. msgid "guix home delete-generations\n"
  55813. msgstr ""
  55814. #. type: table
  55815. #: guix-git/doc/guix.texi:38336
  55816. msgid "You can also select the generations you want to delete. The example below deletes all the home generations that are more than two months old:"
  55817. msgstr ""
  55818. #. type: example
  55819. #: guix-git/doc/guix.texi:38339
  55820. #, no-wrap
  55821. msgid "guix home delete-generations 2m\n"
  55822. msgstr ""
  55823. #. type: table
  55824. #: guix-git/doc/guix.texi:38345
  55825. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  55826. msgstr ""
  55827. #. type: table
  55828. #: guix-git/doc/guix.texi:38349
  55829. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  55830. msgstr ""
  55831. #. type: table
  55832. #: guix-git/doc/guix.texi:38355
  55833. msgid "List a summary of each generation of the home environment available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})."
  55834. msgstr ""
  55835. #. type: example
  55836. #: guix-git/doc/guix.texi:38363
  55837. #, no-wrap
  55838. msgid "$ guix home list-generations 10d\n"
  55839. msgstr ""
  55840. #. type: item
  55841. #: guix-git/doc/guix.texi:38365
  55842. #, no-wrap
  55843. msgid "import"
  55844. msgstr ""
  55845. #. type: table
  55846. #: guix-git/doc/guix.texi:38372
  55847. msgid "Generate a @dfn{home environment} from the packages in the default profile and configuration files found in the user's home directory. The configuration files will be copied to the specified directory, and a @file{home-configuration.scm} will be populated with the home environment. Note that not every home service that exists is supported (@pxref{Home Services})."
  55848. msgstr ""
  55849. #. type: example
  55850. #: guix-git/doc/guix.texi:38376
  55851. #, no-wrap
  55852. msgid ""
  55853. "$ guix home import ~/guix-config\n"
  55854. "guix home: '/home/alice/guix-config' populated with all the Home configuration files\n"
  55855. msgstr ""
  55856. #. type: table
  55857. #: guix-git/doc/guix.texi:38391
  55858. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  55859. msgstr ""
  55860. #. type: table
  55861. #: guix-git/doc/guix.texi:38394
  55862. msgid "Instruct @command{guix home reconfigure} to allow system downgrades."
  55863. msgstr ""
  55864. #. type: table
  55865. #: guix-git/doc/guix.texi:38401
  55866. msgid "Just like @command{guix system}, @command{guix home reconfigure}, by default, prevents you from downgrading your home to older or unrelated revisions compared to the channel revisions that were used to deploy it---those shown by @command{guix home describe}. Using @option{--allow-downgrades} allows you to bypass that check, at the risk of downgrading your home---be careful!"
  55867. msgstr ""
  55868. #. type: cindex
  55869. #: guix-git/doc/guix.texi:38407
  55870. #, no-wrap
  55871. msgid "documentation, searching for"
  55872. msgstr ""
  55873. #. type: cindex
  55874. #: guix-git/doc/guix.texi:38408
  55875. #, no-wrap
  55876. msgid "searching for documentation"
  55877. msgstr ""
  55878. #. type: cindex
  55879. #: guix-git/doc/guix.texi:38409
  55880. #, no-wrap
  55881. msgid "Info, documentation format"
  55882. msgstr ""
  55883. #. type: cindex
  55884. #: guix-git/doc/guix.texi:38410
  55885. #, no-wrap
  55886. msgid "man pages"
  55887. msgstr ""
  55888. #. type: cindex
  55889. #: guix-git/doc/guix.texi:38411
  55890. #, no-wrap
  55891. msgid "manual pages"
  55892. msgstr ""
  55893. #. type: Plain text
  55894. #: guix-git/doc/guix.texi:38418
  55895. 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}."
  55896. msgstr ""
  55897. #. type: Plain text
  55898. #: guix-git/doc/guix.texi:38422
  55899. 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:"
  55900. msgstr ""
  55901. #. type: example
  55902. #: guix-git/doc/guix.texi:38430
  55903. #, no-wrap
  55904. msgid ""
  55905. "$ info -k TLS\n"
  55906. "\"(emacs)Network Security\" -- STARTTLS\n"
  55907. "\"(emacs)Network Security\" -- TLS\n"
  55908. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  55909. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  55910. "@dots{}\n"
  55911. msgstr ""
  55912. #. type: Plain text
  55913. #: guix-git/doc/guix.texi:38436
  55914. msgid "The command below searches for the same keyword in man pages@footnote{The database searched by @command{man -k} is only created in profiles that contain the @code{man-db} package.}:"
  55915. msgstr ""
  55916. #. type: example
  55917. #: guix-git/doc/guix.texi:38442
  55918. #, no-wrap
  55919. msgid ""
  55920. "$ man -k TLS\n"
  55921. "SSL (7) - OpenSSL SSL/TLS library\n"
  55922. "certtool (1) - GnuTLS certificate tool\n"
  55923. "@dots {}\n"
  55924. msgstr ""
  55925. #. type: Plain text
  55926. #: guix-git/doc/guix.texi:38448
  55927. 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."
  55928. msgstr ""
  55929. #. type: Plain text
  55930. #: guix-git/doc/guix.texi:38451
  55931. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  55932. msgstr ""
  55933. #. type: example
  55934. #: guix-git/doc/guix.texi:38454
  55935. #, no-wrap
  55936. msgid "$ info \"(gnutls)Core TLS API\"\n"
  55937. msgstr ""
  55938. #. type: Plain text
  55939. #: guix-git/doc/guix.texi:38458
  55940. msgid "or:"
  55941. msgstr ""
  55942. #. type: example
  55943. #: guix-git/doc/guix.texi:38461
  55944. #, no-wrap
  55945. msgid "$ man certtool\n"
  55946. msgstr ""
  55947. #. type: Plain text
  55948. #: guix-git/doc/guix.texi:38469
  55949. 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."
  55950. msgstr ""
  55951. #. type: cindex
  55952. #: guix-git/doc/guix.texi:38473
  55953. #, no-wrap
  55954. msgid "debugging files"
  55955. msgstr ""
  55956. #. type: Plain text
  55957. #: guix-git/doc/guix.texi:38479
  55958. 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."
  55959. msgstr ""
  55960. #. type: Plain text
  55961. #: guix-git/doc/guix.texi:38483
  55962. 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."
  55963. msgstr ""
  55964. #. type: Plain text
  55965. #: guix-git/doc/guix.texi:38499
  55966. 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})."
  55967. msgstr ""
  55968. #. type: Plain text
  55969. #: guix-git/doc/guix.texi:38506
  55970. 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})."
  55971. msgstr ""
  55972. #. type: Plain text
  55973. #: guix-git/doc/guix.texi:38514
  55974. 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:"
  55975. msgstr ""
  55976. #. type: example
  55977. #: guix-git/doc/guix.texi:38517
  55978. #, no-wrap
  55979. msgid "guix install glibc:debug guile:debug\n"
  55980. msgstr ""
  55981. #. type: Plain text
  55982. #: guix-git/doc/guix.texi:38523
  55983. 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}):"
  55984. msgstr ""
  55985. #. type: example
  55986. #: guix-git/doc/guix.texi:38526
  55987. #, no-wrap
  55988. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  55989. msgstr ""
  55990. #. type: Plain text
  55991. #: guix-git/doc/guix.texi:38530
  55992. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  55993. msgstr ""
  55994. #. type: Plain text
  55995. #: guix-git/doc/guix.texi:38535
  55996. msgid "Below is an alternative GDB script which is useful when working with other profiles. It takes advantage of the optional Guile integration in GDB. This snippet is included by default on Guix System in the @file{~/.gdbinit} file."
  55997. msgstr ""
  55998. #. type: example
  55999. #: guix-git/doc/guix.texi:38543
  56000. #, no-wrap
  56001. msgid ""
  56002. "guile\n"
  56003. "(use-modules (gdb))\n"
  56004. "(execute (string-append \"set debug-file-directory \"\n"
  56005. " (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\")\n"
  56006. " \"~/.guix-profile/lib/debug\")))\n"
  56007. "end\n"
  56008. msgstr ""
  56009. #. type: Plain text
  56010. #: guix-git/doc/guix.texi:38551
  56011. 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})."
  56012. msgstr ""
  56013. #. type: Plain text
  56014. #: guix-git/doc/guix.texi:38559
  56015. 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})."
  56016. msgstr ""
  56017. #. type: Plain text
  56018. #: guix-git/doc/guix.texi:38561
  56019. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  56020. msgstr ""
  56021. #. type: Plain text
  56022. #: guix-git/doc/guix.texi:38573
  56023. 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."
  56024. msgstr ""
  56025. #. type: Plain text
  56026. #: guix-git/doc/guix.texi:38578
  56027. 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:"
  56028. msgstr ""
  56029. #. type: example
  56030. #: guix-git/doc/guix.texi:38589
  56031. #, no-wrap
  56032. msgid ""
  56033. "(gdb) bt\n"
  56034. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  56035. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  56036. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  56037. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  56038. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  56039. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  56040. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  56041. " at dl-init.c:118\n"
  56042. msgstr ""
  56043. #. type: Plain text
  56044. #: guix-git/doc/guix.texi:38593
  56045. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  56046. msgstr ""
  56047. #. type: Plain text
  56048. #: guix-git/doc/guix.texi:38599
  56049. msgid "This time, debugging will be a whole lot nicer:"
  56050. msgstr ""
  56051. #. type: example
  56052. #: guix-git/doc/guix.texi:38617
  56053. #, no-wrap
  56054. msgid ""
  56055. "$ gdb --args sh -c 'exec inkscape'\n"
  56056. "@dots{}\n"
  56057. "(gdb) b g_getenv\n"
  56058. "Function \"g_getenv\" not defined.\n"
  56059. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  56060. "Breakpoint 1 (g_getenv) pending.\n"
  56061. "(gdb) r\n"
  56062. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  56063. "@dots{}\n"
  56064. "(gdb) bt\n"
  56065. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  56066. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  56067. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  56068. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  56069. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  56070. "@dots{}\n"
  56071. msgstr ""
  56072. #. type: Plain text
  56073. #: guix-git/doc/guix.texi:38620
  56074. msgid "Much better!"
  56075. msgstr ""
  56076. #. type: Plain text
  56077. #: guix-git/doc/guix.texi:38624
  56078. 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."
  56079. msgstr ""
  56080. #. type: cindex
  56081. #: guix-git/doc/guix.texi:38628
  56082. #, no-wrap
  56083. msgid "security updates"
  56084. msgstr ""
  56085. #. type: Plain text
  56086. #: guix-git/doc/guix.texi:38637
  56087. 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:"
  56088. msgstr ""
  56089. #. type: smallexample
  56090. #: guix-git/doc/guix.texi:38644
  56091. #, no-wrap
  56092. msgid ""
  56093. "$ guix lint -c cve\n"
  56094. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  56095. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  56096. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  56097. "@dots{}\n"
  56098. msgstr ""
  56099. #. type: Plain text
  56100. #: guix-git/doc/guix.texi:38647
  56101. msgid "@xref{Invoking guix lint}, for more information."
  56102. msgstr ""
  56103. #. type: Plain text
  56104. #: guix-git/doc/guix.texi:38656
  56105. 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."
  56106. msgstr ""
  56107. #. type: cindex
  56108. #: guix-git/doc/guix.texi:38657
  56109. #, no-wrap
  56110. msgid "grafts"
  56111. msgstr ""
  56112. #. type: Plain text
  56113. #: guix-git/doc/guix.texi:38665
  56114. 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."
  56115. msgstr ""
  56116. #. type: cindex
  56117. #: guix-git/doc/guix.texi:38666
  56118. #, no-wrap
  56119. msgid "replacements of packages, for grafts"
  56120. msgstr ""
  56121. #. type: Plain text
  56122. #: guix-git/doc/guix.texi:38672
  56123. 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:"
  56124. msgstr ""
  56125. #. type: lisp
  56126. #: guix-git/doc/guix.texi:38679
  56127. #, no-wrap
  56128. msgid ""
  56129. "(define bash\n"
  56130. " (package\n"
  56131. " (name \"bash\")\n"
  56132. " ;; @dots{}\n"
  56133. " (replacement bash-fixed)))\n"
  56134. msgstr ""
  56135. #. type: Plain text
  56136. #: guix-git/doc/guix.texi:38689
  56137. 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."
  56138. msgstr ""
  56139. #. type: Plain text
  56140. #: guix-git/doc/guix.texi:38697
  56141. 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."
  56142. msgstr ""
  56143. #. type: Plain text
  56144. #: guix-git/doc/guix.texi:38701
  56145. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  56146. msgstr ""
  56147. #. type: example
  56148. #: guix-git/doc/guix.texi:38704
  56149. #, no-wrap
  56150. msgid "guix build bash --no-grafts\n"
  56151. msgstr ""
  56152. #. type: Plain text
  56153. #: guix-git/doc/guix.texi:38708
  56154. msgid "returns the store file name of the original Bash, whereas:"
  56155. msgstr ""
  56156. #. type: example
  56157. #: guix-git/doc/guix.texi:38711
  56158. #, no-wrap
  56159. msgid "guix build bash\n"
  56160. msgstr ""
  56161. #. type: Plain text
  56162. #: guix-git/doc/guix.texi:38716
  56163. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  56164. msgstr ""
  56165. #. type: Plain text
  56166. #: guix-git/doc/guix.texi:38719
  56167. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  56168. msgstr ""
  56169. #. type: example
  56170. #: guix-git/doc/guix.texi:38722
  56171. #, no-wrap
  56172. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  56173. msgstr ""
  56174. #. type: Plain text
  56175. #: guix-git/doc/guix.texi:38727
  56176. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  56177. msgstr ""
  56178. #. type: example
  56179. #: guix-git/doc/guix.texi:38730
  56180. #, no-wrap
  56181. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  56182. msgstr ""
  56183. #. type: Plain text
  56184. #: guix-git/doc/guix.texi:38734
  56185. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  56186. msgstr ""
  56187. #. type: example
  56188. #: guix-git/doc/guix.texi:38737
  56189. #, no-wrap
  56190. msgid "lsof | grep /gnu/store/.*bash\n"
  56191. msgstr ""
  56192. #. type: cindex
  56193. #: guix-git/doc/guix.texi:38745
  56194. #, no-wrap
  56195. msgid "bootstrapping"
  56196. msgstr ""
  56197. #. type: Plain text
  56198. #: guix-git/doc/guix.texi:38752
  56199. 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?"
  56200. msgstr ""
  56201. #. type: Plain text
  56202. #: guix-git/doc/guix.texi:38760
  56203. 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."
  56204. msgstr ""
  56205. #. type: cindex
  56206. #: guix-git/doc/guix.texi:38761 guix-git/doc/guix.texi:38973
  56207. #, no-wrap
  56208. msgid "bootstrap binaries"
  56209. msgstr ""
  56210. #. type: Plain text
  56211. #: guix-git/doc/guix.texi:38771
  56212. 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}."
  56213. msgstr ""
  56214. #. type: Plain text
  56215. #: guix-git/doc/guix.texi:38775
  56216. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  56217. msgstr ""
  56218. #. type: section
  56219. #: guix-git/doc/guix.texi:38782
  56220. #, no-wrap
  56221. msgid "The Reduced Binary Seed Bootstrap"
  56222. msgstr ""
  56223. #. type: Plain text
  56224. #: guix-git/doc/guix.texi:38789
  56225. 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.''"
  56226. msgstr ""
  56227. #. type: Plain text
  56228. #: guix-git/doc/guix.texi:38795
  56229. 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."
  56230. msgstr ""
  56231. #. type: Plain text
  56232. #: guix-git/doc/guix.texi:38800
  56233. 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.}."
  56234. msgstr ""
  56235. #. type: Plain text
  56236. #: guix-git/doc/guix.texi:38806
  56237. 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)."
  56238. msgstr ""
  56239. #. type: Plain text
  56240. #: guix-git/doc/guix.texi:38811
  56241. 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."
  56242. msgstr ""
  56243. #. type: Plain text
  56244. #: guix-git/doc/guix.texi:38819
  56245. 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."
  56246. msgstr ""
  56247. #. type: Plain text
  56248. #: guix-git/doc/guix.texi:38829
  56249. 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."
  56250. msgstr ""
  56251. #. type: Plain text
  56252. #: guix-git/doc/guix.texi:38833
  56253. 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."
  56254. msgstr ""
  56255. #. type: Plain text
  56256. #: guix-git/doc/guix.texi:38836
  56257. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  56258. msgstr ""
  56259. #. type: Plain text
  56260. #: guix-git/doc/guix.texi:38843
  56261. 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.}."
  56262. msgstr ""
  56263. #. type: Plain text
  56264. #: guix-git/doc/guix.texi:38846
  56265. 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}."
  56266. msgstr ""
  56267. #. type: Plain text
  56268. #: guix-git/doc/guix.texi:38851
  56269. 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."
  56270. msgstr ""
  56271. #. type: Plain text
  56272. #: guix-git/doc/guix.texi:38855
  56273. 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}."
  56274. msgstr ""
  56275. #. type: Plain text
  56276. #: guix-git/doc/guix.texi:38862
  56277. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  56278. msgstr ""
  56279. #. type: Plain text
  56280. #: guix-git/doc/guix.texi:38867
  56281. 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:"
  56282. msgstr ""
  56283. #. type: example
  56284. #: guix-git/doc/guix.texi:38872
  56285. #, no-wrap
  56286. msgid ""
  56287. "guix graph -t derivation \\\n"
  56288. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  56289. " | dot -Tps > gcc.ps\n"
  56290. msgstr ""
  56291. #. type: Plain text
  56292. #: guix-git/doc/guix.texi:38875
  56293. msgid "or, for the further Reduced Binary Seed bootstrap"
  56294. msgstr ""
  56295. #. type: example
  56296. #: guix-git/doc/guix.texi:38880
  56297. #, no-wrap
  56298. msgid ""
  56299. "guix graph -t derivation \\\n"
  56300. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  56301. " | dot -Tps > mes.ps\n"
  56302. msgstr ""
  56303. #. type: Plain text
  56304. #: guix-git/doc/guix.texi:38889
  56305. 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})."
  56306. msgstr ""
  56307. #. type: Plain text
  56308. #: guix-git/doc/guix.texi:38898
  56309. 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."
  56310. msgstr ""
  56311. #. type: Plain text
  56312. #: guix-git/doc/guix.texi:38910
  56313. 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})."
  56314. msgstr ""
  56315. #. type: Plain text
  56316. #: guix-git/doc/guix.texi:38915
  56317. 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."
  56318. msgstr ""
  56319. #. type: unnumberedsec
  56320. #: guix-git/doc/guix.texi:38916
  56321. #, no-wrap
  56322. msgid "Building the Build Tools"
  56323. msgstr ""
  56324. #. type: Plain text
  56325. #: guix-git/doc/guix.texi:38925
  56326. 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."
  56327. msgstr ""
  56328. #. type: Plain text
  56329. #: guix-git/doc/guix.texi:38932
  56330. 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:"
  56331. msgstr ""
  56332. #. type: example
  56333. #: guix-git/doc/guix.texi:38937
  56334. #, no-wrap
  56335. msgid ""
  56336. "guix graph -t bag \\\n"
  56337. " -e '(@@@@ (gnu packages commencement)\n"
  56338. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  56339. msgstr ""
  56340. #. type: Plain text
  56341. #: guix-git/doc/guix.texi:38944
  56342. 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."
  56343. msgstr ""
  56344. #. type: Plain text
  56345. #: guix-git/doc/guix.texi:38946
  56346. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  56347. msgstr ""
  56348. #. type: Plain text
  56349. #: guix-git/doc/guix.texi:38952
  56350. 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."
  56351. msgstr ""
  56352. #. type: Plain text
  56353. #: guix-git/doc/guix.texi:38957
  56354. 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."
  56355. msgstr ""
  56356. #. type: Plain text
  56357. #: guix-git/doc/guix.texi:38963
  56358. 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."
  56359. msgstr ""
  56360. #. type: Plain text
  56361. #: guix-git/doc/guix.texi:38969
  56362. 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}})."
  56363. msgstr ""
  56364. #. type: unnumberedsec
  56365. #: guix-git/doc/guix.texi:38971
  56366. #, no-wrap
  56367. msgid "Building the Bootstrap Binaries"
  56368. msgstr ""
  56369. #. type: Plain text
  56370. #: guix-git/doc/guix.texi:38978
  56371. 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."
  56372. msgstr ""
  56373. #. type: Plain text
  56374. #: guix-git/doc/guix.texi:38984
  56375. 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):"
  56376. msgstr ""
  56377. #. type: example
  56378. #: guix-git/doc/guix.texi:38987
  56379. #, no-wrap
  56380. msgid "guix build bootstrap-tarballs\n"
  56381. msgstr ""
  56382. #. type: Plain text
  56383. #: guix-git/doc/guix.texi:38992
  56384. 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."
  56385. msgstr ""
  56386. #. type: Plain text
  56387. #: guix-git/doc/guix.texi:38998
  56388. 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."
  56389. msgstr ""
  56390. #. type: unnumberedsec
  56391. #: guix-git/doc/guix.texi:38999
  56392. #, no-wrap
  56393. msgid "Reducing the Set of Bootstrap Binaries"
  56394. msgstr ""
  56395. #. type: Plain text
  56396. #: guix-git/doc/guix.texi:39007
  56397. 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}."
  56398. msgstr ""
  56399. #. type: Plain text
  56400. #: guix-git/doc/guix.texi:39013
  56401. 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."
  56402. msgstr ""
  56403. #. type: Plain text
  56404. #: guix-git/doc/guix.texi:39019
  56405. 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."
  56406. msgstr ""
  56407. #. type: Plain text
  56408. #: guix-git/doc/guix.texi:39028
  56409. 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."
  56410. msgstr ""
  56411. #. type: Plain text
  56412. #: guix-git/doc/guix.texi:39031
  56413. 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!"
  56414. msgstr ""
  56415. #. type: chapter
  56416. #: guix-git/doc/guix.texi:39033
  56417. #, no-wrap
  56418. msgid "Porting to a New Platform"
  56419. msgstr ""
  56420. #. type: Plain text
  56421. #: guix-git/doc/guix.texi:39042
  56422. 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."
  56423. msgstr ""
  56424. #. type: Plain text
  56425. #: guix-git/doc/guix.texi:39047
  56426. 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:"
  56427. msgstr ""
  56428. #. type: example
  56429. #: guix-git/doc/guix.texi:39050
  56430. #, no-wrap
  56431. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  56432. msgstr ""
  56433. #. type: Plain text
  56434. #: guix-git/doc/guix.texi:39057
  56435. 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."
  56436. msgstr ""
  56437. #. type: Plain text
  56438. #: guix-git/doc/guix.texi:39066
  56439. 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."
  56440. msgstr ""
  56441. #. type: Plain text
  56442. #: guix-git/doc/guix.texi:39075
  56443. 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."
  56444. msgstr ""
  56445. #. type: include
  56446. #: guix-git/doc/guix.texi:39077
  56447. #, no-wrap
  56448. msgid "contributing.texi"
  56449. msgstr "contributing.fa.texi"
  56450. #. type: Plain text
  56451. #: guix-git/doc/guix.texi:39090
  56452. 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."
  56453. msgstr ""
  56454. #. type: Plain text
  56455. #: guix-git/doc/guix.texi:39093
  56456. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  56457. msgstr ""
  56458. #. type: Plain text
  56459. #: guix-git/doc/guix.texi:39099
  56460. 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!"
  56461. msgstr ""
  56462. #. type: cindex
  56463. #: guix-git/doc/guix.texi:39104
  56464. #, no-wrap
  56465. msgid "license, GNU Free Documentation License"
  56466. msgstr ""
  56467. #. type: include
  56468. #: guix-git/doc/guix.texi:39105
  56469. #, no-wrap
  56470. msgid "fdl-1.3.texi"
  56471. msgstr ""