guix-manual.it.po 2.2 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715647166471764718647196472064721647226472364724647256472664727647286472964730647316473264733647346473564736647376473864739647406474164742647436474464745647466474764748647496475064751647526475364754647556475664757647586475964760647616476264763647646476564766647676476864769647706477164772647736477464775647766477764778647796478064781647826478364784647856478664787647886478964790647916479264793647946479564796647976479864799648006480164802648036480464805648066480764808648096481064811648126481364814648156481664817648186481964820648216482264823648246482564826648276482864829648306483164832648336483464835648366483764838648396484064841648426484364844648456484664847648486484964850648516485264853648546485564856648576485864859648606486164862648636486464865648666486764868648696487064871648726487364874648756487664877648786487964880648816488264883648846488564886648876488864889648906489164892648936489464895648966489764898648996490064901649026490364904649056490664907649086490964910649116491264913649146491564916649176491864919649206492164922649236492464925649266492764928649296493064931649326493364934649356493664937649386493964940649416494264943649446494564946649476494864949649506495164952649536495464955649566495764958649596496064961649626496364964649656496664967649686496964970649716497264973649746497564976649776497864979649806498164982649836498464985649866498764988649896499064991649926499364994649956499664997649986499965000650016500265003650046500565006650076500865009650106501165012650136501465015650166501765018650196502065021650226502365024650256502665027650286502965030650316503265033650346503565036650376503865039650406504165042650436504465045650466504765048650496505065051650526505365054650556505665057650586505965060650616506265063650646506565066650676506865069650706507165072650736507465075650766507765078650796508065081650826508365084650856508665087650886508965090650916509265093650946509565096650976509865099651006510165102651036510465105651066510765108651096511065111651126511365114651156511665117651186511965120651216512265123651246512565126651276512865129651306513165132651336513465135651366513765138651396514065141651426514365144651456514665147651486514965150651516515265153651546515565156651576515865159651606516165162651636516465165651666516765168651696517065171651726517365174651756517665177651786517965180651816518265183651846518565186651876518865189651906519165192651936519465195651966519765198651996520065201652026520365204652056520665207652086520965210652116521265213652146521565216652176521865219652206522165222652236522465225652266522765228652296523065231652326523365234652356523665237652386523965240652416524265243652446524565246652476524865249652506525165252652536525465255652566525765258652596526065261652626526365264652656526665267652686526965270652716527265273652746527565276652776527865279652806528165282652836528465285652866528765288652896529065291652926529365294652956529665297652986529965300653016530265303653046530565306653076530865309653106531165312653136531465315653166531765318653196532065321653226532365324653256532665327653286532965330653316533265333653346533565336653376533865339653406534165342653436534465345653466534765348653496535065351653526535365354653556535665357653586535965360653616536265363653646536565366653676536865369653706537165372653736537465375653766537765378653796538065381653826538365384653856538665387653886538965390653916539265393653946539565396653976539865399654006540165402654036540465405654066540765408654096541065411654126541365414654156541665417654186541965420654216542265423654246542565426654276542865429654306543165432654336543465435654366543765438654396544065441654426544365444654456544665447654486544965450654516545265453654546545565456654576545865459654606546165462654636546465465654666546765468654696547065471654726547365474654756547665477654786547965480654816548265483654846548565486654876548865489654906549165492654936549465495654966549765498654996550065501655026550365504655056550665507655086550965510655116551265513655146551565516655176551865519655206552165522655236552465525655266552765528655296553065531655326553365534655356553665537655386553965540655416554265543655446554565546655476554865549655506555165552655536555465555655566555765558655596556065561655626556365564655656556665567655686556965570655716557265573655746557565576655776557865579655806558165582655836558465585655866558765588655896559065591655926559365594655956559665597655986559965600656016560265603656046560565606656076560865609656106561165612656136561465615656166561765618656196562065621656226562365624656256562665627656286562965630656316563265633656346563565636656376563865639656406564165642656436564465645656466564765648656496565065651656526565365654656556565665657656586565965660656616566265663656646566565666656676566865669656706567165672656736567465675656766567765678656796568065681656826568365684656856568665687656886568965690656916569265693656946569565696656976569865699657006570165702657036570465705657066570765708657096571065711657126571365714657156571665717657186571965720657216572265723657246572565726657276572865729657306573165732657336573465735657366573765738657396574065741657426574365744657456574665747657486574965750657516575265753657546575565756657576575865759657606576165762657636576465765657666576765768657696577065771657726577365774657756577665777657786577965780657816578265783657846578565786657876578865789657906579165792657936579465795657966579765798657996580065801658026580365804658056580665807658086580965810658116581265813658146581565816658176581865819658206582165822658236582465825658266582765828658296583065831658326583365834658356583665837658386583965840658416584265843658446584565846658476584865849658506585165852658536585465855658566585765858658596586065861658626586365864658656586665867658686586965870658716587265873658746587565876658776587865879658806588165882658836588465885658866588765888658896589065891658926589365894658956589665897658986589965900659016590265903659046590565906659076590865909659106591165912659136591465915659166591765918659196592065921659226592365924659256592665927659286592965930659316593265933659346593565936659376593865939659406594165942659436594465945659466594765948659496595065951659526595365954659556595665957659586595965960659616596265963659646596565966659676596865969659706597165972659736597465975659766597765978659796598065981659826598365984659856598665987659886598965990659916599265993659946599565996659976599865999660006600166002660036600466005660066600766008660096601066011660126601366014660156601666017660186601966020660216602266023660246602566026660276602866029660306603166032660336603466035660366603766038660396604066041660426604366044660456604666047660486604966050660516605266053660546605566056660576605866059660606606166062660636606466065660666606766068660696607066071660726607366074660756607666077660786607966080660816608266083660846608566086660876608866089660906609166092660936609466095660966609766098660996610066101661026610366104661056610666107661086610966110661116611266113661146611566116661176611866119661206612166122661236612466125661266612766128661296613066131661326613366134661356613666137661386613966140661416614266143661446614566146661476614866149661506615166152661536615466155661566615766158661596616066161661626616366164661656616666167661686616966170661716617266173661746617566176661776617866179661806618166182661836618466185661866618766188661896619066191661926619366194661956619666197661986619966200662016620266203662046620566206662076620866209662106621166212662136621466215662166621766218662196622066221662226622366224662256622666227662286622966230662316623266233662346623566236662376623866239662406624166242662436624466245662466624766248662496625066251662526625366254662556625666257662586625966260662616626266263662646626566266662676626866269662706627166272662736627466275662766627766278662796628066281662826628366284662856628666287662886628966290662916629266293662946629566296662976629866299663006630166302663036630466305663066630766308663096631066311663126631366314663156631666317663186631966320663216632266323663246632566326663276632866329663306633166332663336633466335663366633766338663396634066341663426634366344663456634666347663486634966350663516635266353663546635566356663576635866359663606636166362663636636466365663666636766368663696637066371663726637366374663756637666377663786637966380663816638266383663846638566386663876638866389663906639166392663936639466395663966639766398663996640066401664026640366404664056640666407664086640966410664116641266413664146641566416664176641866419664206642166422664236642466425664266642766428664296643066431664326643366434664356643666437664386643966440664416644266443664446644566446664476644866449664506645166452664536645466455664566645766458664596646066461664626646366464664656646666467664686646966470664716647266473664746647566476664776647866479664806648166482664836648466485664866648766488664896649066491664926649366494664956649666497664986649966500665016650266503665046650566506665076650866509665106651166512665136651466515665166651766518665196652066521665226652366524665256652666527665286652966530665316653266533665346653566536665376653866539665406654166542665436654466545665466654766548665496655066551665526655366554665556655666557665586655966560665616656266563665646656566566665676656866569665706657166572665736657466575665766657766578665796658066581665826658366584665856658666587665886658966590665916659266593665946659566596665976659866599666006660166602666036660466605666066660766608666096661066611666126661366614666156661666617666186661966620666216662266623666246662566626666276662866629666306663166632666336663466635666366663766638666396664066641666426664366644666456664666647666486664966650666516665266653666546665566656666576665866659666606666166662666636666466665666666666766668666696667066671666726667366674666756667666677666786667966680666816668266683666846668566686666876668866689666906669166692666936669466695666966669766698666996670066701667026670366704667056670666707667086670966710667116671266713667146671566716667176671866719667206672166722667236672466725667266672766728667296673066731667326673366734667356673666737667386673966740667416674266743667446674566746667476674866749667506675166752667536675466755667566675766758667596676066761667626676366764667656676666767667686676966770667716677266773667746677566776667776677866779667806678166782667836678466785667866678766788667896679066791667926679366794667956679666797667986679966800668016680266803668046680566806668076680866809668106681166812668136681466815668166681766818668196682066821668226682366824668256682666827668286682966830668316683266833668346683566836668376683866839668406684166842668436684466845668466684766848668496685066851668526685366854668556685666857668586685966860668616686266863668646686566866668676686866869668706687166872668736687466875668766687766878668796688066881668826688366884668856688666887668886688966890668916689266893668946689566896668976689866899669006690166902669036690466905669066690766908669096691066911669126691366914669156691666917669186691966920669216692266923669246692566926669276692866929669306693166932669336693466935669366693766938669396694066941669426694366944669456694666947669486694966950669516695266953669546695566956669576695866959669606696166962669636696466965669666696766968669696697066971669726697366974669756697666977669786697966980669816698266983669846698566986669876698866989669906699166992669936699466995669966699766998669996700067001670026700367004670056700667007670086700967010670116701267013670146701567016670176701867019670206702167022670236702467025670266702767028670296703067031670326703367034670356703667037670386703967040670416704267043670446704567046670476704867049670506705167052670536705467055670566705767058670596706067061670626706367064670656706667067670686706967070670716707267073670746707567076670776707867079670806708167082670836708467085670866708767088670896709067091670926709367094670956709667097670986709967100671016710267103671046710567106671076710867109671106711167112671136711467115671166711767118671196712067121671226712367124671256712667127671286712967130671316713267133671346713567136671376713867139671406714167142671436714467145671466714767148671496715067151671526715367154671556715667157671586715967160671616716267163671646716567166671676716867169671706717167172671736717467175671766717767178671796718067181671826718367184671856718667187671886718967190671916719267193671946719567196671976719867199672006720167202672036720467205672066720767208672096721067211672126721367214672156721667217672186721967220672216722267223672246722567226672276722867229672306723167232672336723467235672366723767238672396724067241672426724367244672456724667247672486724967250672516725267253672546725567256672576725867259672606726167262672636726467265672666726767268672696727067271672726727367274672756727667277672786727967280672816728267283672846728567286672876728867289672906729167292672936729467295672966729767298672996730067301673026730367304673056730667307673086730967310673116731267313673146731567316673176731867319673206732167322673236732467325673266732767328673296733067331673326733367334673356733667337673386733967340673416734267343673446734567346673476734867349673506735167352673536735467355673566735767358673596736067361673626736367364673656736667367673686736967370673716737267373673746737567376673776737867379673806738167382673836738467385673866738767388673896739067391673926739367394673956739667397673986739967400674016740267403674046740567406674076740867409674106741167412674136741467415674166741767418674196742067421674226742367424674256742667427674286742967430674316743267433674346743567436674376743867439674406744167442674436744467445674466744767448674496745067451674526745367454674556745667457674586745967460674616746267463674646746567466674676746867469674706747167472674736747467475674766747767478674796748067481674826748367484674856748667487674886748967490674916749267493674946749567496674976749867499675006750167502675036750467505675066750767508675096751067511675126751367514675156751667517675186751967520675216752267523675246752567526675276752867529675306753167532675336753467535675366753767538675396754067541675426754367544675456754667547675486754967550675516755267553675546755567556675576755867559675606756167562675636756467565675666756767568675696757067571675726757367574675756757667577675786757967580675816758267583675846758567586675876758867589675906759167592675936759467595675966759767598675996760067601676026760367604676056760667607676086760967610676116761267613676146761567616676176761867619676206762167622676236762467625676266762767628676296763067631676326763367634676356763667637676386763967640676416764267643676446764567646676476764867649676506765167652676536765467655676566765767658676596766067661676626766367664676656766667667676686766967670676716767267673676746767567676676776767867679676806768167682676836768467685676866768767688676896769067691676926769367694676956769667697676986769967700677016770267703677046770567706677076770867709677106771167712677136771467715677166771767718677196772067721677226772367724677256772667727677286772967730677316773267733677346773567736677376773867739677406774167742677436774467745677466774767748677496775067751677526775367754677556775667757677586775967760677616776267763677646776567766677676776867769677706777167772677736777467775677766777767778677796778067781677826778367784677856778667787677886778967790677916779267793677946779567796677976779867799678006780167802678036780467805678066780767808678096781067811678126781367814678156781667817678186781967820678216782267823678246782567826678276782867829678306783167832678336783467835678366783767838678396784067841678426784367844678456784667847678486784967850678516785267853678546785567856678576785867859678606786167862678636786467865678666786767868678696787067871678726787367874678756787667877678786787967880678816788267883678846788567886678876788867889678906789167892678936789467895678966789767898678996790067901679026790367904679056790667907679086790967910679116791267913679146791567916679176791867919679206792167922679236792467925679266792767928679296793067931679326793367934679356793667937679386793967940679416794267943679446794567946679476794867949679506795167952679536795467955679566795767958679596796067961679626796367964679656796667967679686796967970679716797267973679746797567976679776797867979679806798167982679836798467985679866798767988679896799067991679926799367994679956799667997679986799968000680016800268003680046800568006680076800868009680106801168012680136801468015680166801768018680196802068021680226802368024680256802668027680286802968030680316803268033680346803568036680376803868039680406804168042680436804468045680466804768048680496805068051680526805368054680556805668057680586805968060680616806268063680646806568066680676806868069680706807168072680736807468075680766807768078680796808068081680826808368084680856808668087680886808968090680916809268093680946809568096680976809868099681006810168102681036810468105681066810768108681096811068111681126811368114681156811668117681186811968120681216812268123681246812568126681276812868129681306813168132681336813468135681366813768138681396814068141681426814368144681456814668147681486814968150681516815268153681546815568156681576815868159681606816168162681636816468165681666816768168681696817068171681726817368174681756817668177681786817968180681816818268183681846818568186681876818868189681906819168192681936819468195681966819768198681996820068201682026820368204682056820668207682086820968210682116821268213682146821568216682176821868219682206822168222682236822468225682266822768228682296823068231682326823368234682356823668237682386823968240682416824268243682446824568246682476824868249682506825168252682536825468255682566825768258682596826068261682626826368264682656826668267682686826968270682716827268273682746827568276682776827868279
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) 2021 the authors of Guix (msgids) and the following authors (msgstr)
  3. # This file is distributed under the same license as the guix manual package.
  4. # Nicolo Balzarotti <nicolo@nixo.xyz>, 2021.
  5. # Nathan <nathan95@live.it>, 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-08-26 14:42+0000\n"
  12. "Last-Translator: Nathan <nathan95@live.it>\n"
  13. "Language-Team: Italian <https://translate.fedoraproject.org/projects/guix/documentation-manual/it/>\n"
  14. "Language: it\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.8\n"
  20. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  21. #. type: chapter
  22. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  23. #. type: menuentry
  24. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  25. #: guix-git/doc/guix.texi:182
  26. #, no-wrap
  27. msgid "Contributing"
  28. msgstr "Contribuire"
  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 "Invia delle Patches"
  107. #. type: menuentry
  108. #: guix-git/doc/contributing.texi:33
  109. msgid "Share your work."
  110. msgstr "Condividi il tuo lavoro."
  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 "Traccia Bug e Patches"
  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 "Acesso Commit"
  127. #. type: menuentry
  128. #: guix-git/doc/contributing.texi:33
  129. msgid "Pushing to the official repository."
  130. msgstr "Esegui il Pushing sul repository ufficiale."
  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 "Aggiornamento del pacchetto Guix"
  137. #. type: menuentry
  138. #: guix-git/doc/contributing.texi:33
  139. msgid "Updating the Guix package definition."
  140. msgstr "Aggiornamento della definizione del pacchetto Guix."
  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 "Traduzione di Guix"
  147. #. type: menuentry
  148. #: guix-git/doc/contributing.texi:33
  149. msgid "Make Guix speak your native language."
  150. msgstr "Fai in modo che Guix parli la tua lingua madre."
  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 "Note"
  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 "modelli"
  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 "Font"
  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 "software libero"
  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 "python"
  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 "font"
  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 "Moduli"
  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. #, fuzzy, no-wrap
  1949. #| msgid "Installation"
  1950. msgid "translation"
  1951. msgstr "Installazione"
  1952. #. type: cindex
  1953. #: guix-git/doc/contributing.texi:1701
  1954. #, no-wrap
  1955. msgid "l10n"
  1956. msgstr ""
  1957. #. type: cindex
  1958. #: guix-git/doc/contributing.texi:1702
  1959. #, no-wrap
  1960. msgid "i18n"
  1961. msgstr ""
  1962. #. type: cindex
  1963. #: guix-git/doc/contributing.texi:1703
  1964. #, no-wrap
  1965. msgid "native language support"
  1966. msgstr ""
  1967. #. type: Plain text
  1968. #: guix-git/doc/contributing.texi:1713
  1969. 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!"
  1970. msgstr ""
  1971. #. type: Plain text
  1972. #: guix-git/doc/contributing.texi:1719
  1973. 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."
  1974. msgstr ""
  1975. #. type: Plain text
  1976. #: guix-git/doc/contributing.texi:1726
  1977. 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."
  1978. msgstr ""
  1979. #. type: Plain text
  1980. #: guix-git/doc/contributing.texi:1731
  1981. 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}."
  1982. msgstr ""
  1983. #. type: Plain text
  1984. #: guix-git/doc/contributing.texi:1733
  1985. msgid "Guix has five components hosted on Weblate."
  1986. msgstr ""
  1987. #. type: item
  1988. #: guix-git/doc/contributing.texi:1735
  1989. #, no-wrap
  1990. msgid "@code{guix} contains all the strings from the Guix software (the"
  1991. msgstr ""
  1992. #. type: itemize
  1993. #: guix-git/doc/contributing.texi:1737
  1994. msgid "guided system installer, the package manager, etc), excluding packages."
  1995. msgstr ""
  1996. #. type: item
  1997. #: guix-git/doc/contributing.texi:1737
  1998. #, no-wrap
  1999. msgid "@code{packages} contains the synopsis (single-sentence description"
  2000. msgstr ""
  2001. #. type: itemize
  2002. #: guix-git/doc/contributing.texi:1739
  2003. msgid "of a package) and description (longer description) of packages in Guix."
  2004. msgstr ""
  2005. #. type: item
  2006. #: guix-git/doc/contributing.texi:1739
  2007. #, no-wrap
  2008. msgid "@code{website} contains the official Guix website, except for"
  2009. msgstr ""
  2010. #. type: itemize
  2011. #: guix-git/doc/contributing.texi:1741
  2012. msgid "blog posts and multimedia content."
  2013. msgstr ""
  2014. #. type: item
  2015. #: guix-git/doc/contributing.texi:1741
  2016. #, no-wrap
  2017. msgid "@code{documentation-manual} corresponds to this manual."
  2018. msgstr ""
  2019. #. type: item
  2020. #: guix-git/doc/contributing.texi:1742
  2021. #, no-wrap
  2022. msgid "@code{documentation-cookbook} is the component for the cookbook."
  2023. msgstr ""
  2024. #. type: subsubheading
  2025. #: guix-git/doc/contributing.texi:1745
  2026. #, no-wrap
  2027. msgid "General Directions"
  2028. msgstr ""
  2029. #. type: Plain text
  2030. #: guix-git/doc/contributing.texi:1753
  2031. 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."
  2032. msgstr ""
  2033. #. type: Plain text
  2034. #: guix-git/doc/contributing.texi:1758
  2035. 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."
  2036. msgstr ""
  2037. #. type: Plain text
  2038. #: guix-git/doc/contributing.texi:1769
  2039. 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."
  2040. msgstr ""
  2041. #. type: Plain text
  2042. #: guix-git/doc/contributing.texi:1774
  2043. 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."
  2044. msgstr ""
  2045. #. type: subsubheading
  2046. #: guix-git/doc/contributing.texi:1775
  2047. #, no-wrap
  2048. msgid "Translation Components"
  2049. msgstr ""
  2050. #. type: Plain text
  2051. #: guix-git/doc/contributing.texi:1780
  2052. 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!"
  2053. msgstr ""
  2054. #. type: item
  2055. #: guix-git/doc/contributing.texi:1782 guix-git/doc/guix.texi:9838
  2056. #, no-wrap
  2057. msgid "guix"
  2058. msgstr ""
  2059. #. type: table
  2060. #: guix-git/doc/contributing.texi:1787
  2061. 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."
  2062. msgstr ""
  2063. #. type: table
  2064. #: guix-git/doc/contributing.texi:1796
  2065. 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."
  2066. msgstr ""
  2067. #. type: table
  2068. #: guix-git/doc/contributing.texi:1800
  2069. 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."
  2070. msgstr ""
  2071. #. type: table
  2072. #: guix-git/doc/contributing.texi:1808
  2073. 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."
  2074. msgstr ""
  2075. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2076. #. type: item
  2077. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2078. #. type: cindex
  2079. #: guix-git/doc/contributing.texi:1809 guix-git/doc/guix.texi:3021
  2080. #, no-wrap
  2081. msgid "packages"
  2082. msgstr ""
  2083. #. type: table
  2084. #: guix-git/doc/contributing.texi:1814
  2085. 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."
  2086. msgstr ""
  2087. #. type: table
  2088. #: guix-git/doc/contributing.texi:1823
  2089. 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})."
  2090. msgstr ""
  2091. #. type: item
  2092. #: guix-git/doc/contributing.texi:1824
  2093. #, no-wrap
  2094. msgid "documentation-manual and documentation-cookbook"
  2095. msgstr ""
  2096. #. type: table
  2097. #: guix-git/doc/contributing.texi:1828
  2098. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2099. msgstr ""
  2100. #. type: item
  2101. #: guix-git/doc/contributing.texi:1830
  2102. #, no-wrap
  2103. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2104. msgstr ""
  2105. #. type: itemize
  2106. #: guix-git/doc/contributing.texi:1833
  2107. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2108. msgstr ""
  2109. #. type: item
  2110. #: guix-git/doc/contributing.texi:1833
  2111. #, no-wrap
  2112. msgid "@code{contributing.texi}: Translate this string as"
  2113. msgstr ""
  2114. #. type: itemize
  2115. #: guix-git/doc/contributing.texi:1835
  2116. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2117. msgstr ""
  2118. #. type: item
  2119. #: guix-git/doc/contributing.texi:1835
  2120. #, no-wrap
  2121. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2122. msgstr ""
  2123. #. type: itemize
  2124. #: guix-git/doc/contributing.texi:1838
  2125. 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."
  2126. msgstr ""
  2127. #. type: table
  2128. #: guix-git/doc/contributing.texi:1843
  2129. 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."
  2130. msgstr ""
  2131. #. type: table
  2132. #: guix-git/doc/contributing.texi:1850
  2133. 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."
  2134. msgstr ""
  2135. #. type: table
  2136. #: guix-git/doc/contributing.texi:1858
  2137. 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."
  2138. msgstr ""
  2139. #. type: table
  2140. #: guix-git/doc/contributing.texi:1868
  2141. 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."
  2142. msgstr ""
  2143. #. type: item
  2144. #: guix-git/doc/contributing.texi:1869
  2145. #, no-wrap
  2146. msgid "website"
  2147. msgstr ""
  2148. #. type: table
  2149. #: guix-git/doc/contributing.texi:1876
  2150. 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."
  2151. msgstr ""
  2152. #. type: example
  2153. #: guix-git/doc/contributing.texi:1883
  2154. #, no-wrap
  2155. msgid ""
  2156. "#. TRANSLATORS: Defining Packages is a section name\n"
  2157. "#. in the English (en) manual.\n"
  2158. "#: apps/base/templates/about.scm:64\n"
  2159. "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"
  2160. "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"
  2161. msgstr ""
  2162. #. type: table
  2163. #: guix-git/doc/contributing.texi:1886
  2164. msgid "Note that you need to include the same markups. You cannot skip any."
  2165. msgstr ""
  2166. #. type: Plain text
  2167. #: guix-git/doc/contributing.texi:1894
  2168. 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."
  2169. msgstr ""
  2170. #. type: subsubheading
  2171. #: guix-git/doc/contributing.texi:1895
  2172. #, no-wrap
  2173. msgid "Outside of Weblate"
  2174. msgstr ""
  2175. #. type: Plain text
  2176. #: guix-git/doc/contributing.texi:1898
  2177. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2178. msgstr ""
  2179. #. type: item
  2180. #: guix-git/doc/contributing.texi:1900
  2181. #, no-wrap
  2182. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2183. msgstr ""
  2184. #. type: itemize
  2185. #: guix-git/doc/contributing.texi:1906
  2186. 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."
  2187. msgstr ""
  2188. #. type: item
  2189. #: guix-git/doc/contributing.texi:1906
  2190. #, no-wrap
  2191. msgid "Guix blog posts cannot currently be translated."
  2192. msgstr ""
  2193. #. type: item
  2194. #: guix-git/doc/contributing.texi:1907
  2195. #, no-wrap
  2196. msgid "The installer script (for foreign distributions) is entirely in English."
  2197. msgstr ""
  2198. #. type: item
  2199. #: guix-git/doc/contributing.texi:1908
  2200. #, no-wrap
  2201. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2202. msgstr ""
  2203. #. type: itemize
  2204. #: guix-git/doc/contributing.texi:1910
  2205. msgid "outside of the Guix project. Guile itself is not internationalized."
  2206. msgstr ""
  2207. #. type: item
  2208. #: guix-git/doc/contributing.texi:1910
  2209. #, no-wrap
  2210. msgid "Other manuals linked from this manual or the cookbook might not be"
  2211. msgstr ""
  2212. #. type: itemize
  2213. #: guix-git/doc/contributing.texi:1912
  2214. msgid "translated."
  2215. msgstr ""
  2216. #. type: subsubheading
  2217. #: guix-git/doc/contributing.texi:1914
  2218. #, no-wrap
  2219. msgid "Translation Infrastructure"
  2220. msgstr ""
  2221. #. type: Plain text
  2222. #: guix-git/doc/contributing.texi:1925
  2223. 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."
  2224. msgstr ""
  2225. #. type: Plain text
  2226. #: guix-git/doc/contributing.texi:1929
  2227. 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."
  2228. msgstr ""
  2229. #. type: Plain text
  2230. #: guix-git/doc/contributing.texi:1935
  2231. 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."
  2232. msgstr ""
  2233. #. type: Plain text
  2234. #: guix-git/doc/contributing.texi:1939
  2235. 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."
  2236. msgstr ""
  2237. #. type: item
  2238. #: guix-git/doc/contributing.texi:1941
  2239. #, no-wrap
  2240. msgid "New po files for the @code{guix} and @code{packages} components must"
  2241. msgstr ""
  2242. #. type: itemize
  2243. #: guix-git/doc/contributing.texi:1944
  2244. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2245. msgstr ""
  2246. #. type: item
  2247. #: guix-git/doc/contributing.texi:1944
  2248. #, no-wrap
  2249. msgid "New po files for the @code{documentation-manual} component must be"
  2250. msgstr ""
  2251. #. type: itemize
  2252. #: guix-git/doc/contributing.texi:1950
  2253. 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}."
  2254. msgstr ""
  2255. #. type: item
  2256. #: guix-git/doc/contributing.texi:1950
  2257. #, no-wrap
  2258. msgid "New po files for the @code{documentation-cookbook} component must be"
  2259. msgstr ""
  2260. #. type: itemize
  2261. #: guix-git/doc/contributing.texi:1956
  2262. 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}."
  2263. msgstr ""
  2264. #. type: item
  2265. #: guix-git/doc/contributing.texi:1956
  2266. #, no-wrap
  2267. msgid "New po files for the @code{website} component must be added to the"
  2268. msgstr ""
  2269. #. type: itemize
  2270. #: guix-git/doc/contributing.texi:1961
  2271. 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)."
  2272. msgstr ""
  2273. #. type: Plain text
  2274. #: guix-git/doc/guix.texi:7
  2275. msgid "@documentencoding UTF-8"
  2276. msgstr ""
  2277. #. type: title
  2278. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:131
  2279. #, no-wrap
  2280. msgid "GNU Guix Reference Manual"
  2281. msgstr ""
  2282. #. type: include
  2283. #: guix-git/doc/guix.texi:10
  2284. #, no-wrap
  2285. msgid "version.texi"
  2286. msgstr "version-it.texi"
  2287. #. type: copying
  2288. #: guix-git/doc/guix.texi:103
  2289. 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@*"
  2290. msgstr ""
  2291. #. type: copying
  2292. #: guix-git/doc/guix.texi:110
  2293. 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''."
  2294. msgstr ""
  2295. #. type: dircategory
  2296. #: guix-git/doc/guix.texi:112
  2297. #, no-wrap
  2298. msgid "System administration"
  2299. msgstr ""
  2300. #. type: menuentry
  2301. #: guix-git/doc/guix.texi:120
  2302. msgid "Guix: (guix)"
  2303. msgstr ""
  2304. #. type: menuentry
  2305. #: guix-git/doc/guix.texi:120
  2306. msgid "Manage installed software and system configuration."
  2307. msgstr ""
  2308. #. type: menuentry
  2309. #: guix-git/doc/guix.texi:120
  2310. msgid "guix package: (guix)Invoking guix package"
  2311. msgstr ""
  2312. #. type: menuentry
  2313. #: guix-git/doc/guix.texi:120
  2314. msgid "Installing, removing, and upgrading packages."
  2315. msgstr ""
  2316. #. type: menuentry
  2317. #: guix-git/doc/guix.texi:120
  2318. msgid "guix gc: (guix)Invoking guix gc"
  2319. msgstr ""
  2320. #. type: menuentry
  2321. #: guix-git/doc/guix.texi:120
  2322. msgid "Reclaiming unused disk space."
  2323. msgstr ""
  2324. #. type: menuentry
  2325. #: guix-git/doc/guix.texi:120
  2326. msgid "guix pull: (guix)Invoking guix pull"
  2327. msgstr ""
  2328. #. type: menuentry
  2329. #: guix-git/doc/guix.texi:120
  2330. msgid "Update the list of available packages."
  2331. msgstr ""
  2332. #. type: menuentry
  2333. #: guix-git/doc/guix.texi:120
  2334. msgid "guix system: (guix)Invoking guix system"
  2335. msgstr ""
  2336. #. type: menuentry
  2337. #: guix-git/doc/guix.texi:120
  2338. msgid "Manage the operating system configuration."
  2339. msgstr ""
  2340. #. type: menuentry
  2341. #: guix-git/doc/guix.texi:120
  2342. msgid "guix deploy: (guix)Invoking guix deploy"
  2343. msgstr ""
  2344. #. type: menuentry
  2345. #: guix-git/doc/guix.texi:120
  2346. msgid "Manage operating system configurations for remote hosts."
  2347. msgstr ""
  2348. #. type: dircategory
  2349. #: guix-git/doc/guix.texi:122
  2350. #, no-wrap
  2351. msgid "Software development"
  2352. msgstr ""
  2353. #. type: menuentry
  2354. #: guix-git/doc/guix.texi:128
  2355. msgid "guix shell: (guix)Invoking guix shell"
  2356. msgstr ""
  2357. #. type: menuentry
  2358. #: guix-git/doc/guix.texi:128
  2359. msgid "Creating software environments."
  2360. msgstr ""
  2361. #. type: menuentry
  2362. #: guix-git/doc/guix.texi:128
  2363. msgid "guix environment: (guix)Invoking guix environment"
  2364. msgstr ""
  2365. #. type: menuentry
  2366. #: guix-git/doc/guix.texi:128
  2367. msgid "Building development environments with Guix."
  2368. msgstr ""
  2369. #. type: menuentry
  2370. #: guix-git/doc/guix.texi:128
  2371. msgid "guix build: (guix)Invoking guix build"
  2372. msgstr ""
  2373. #. type: menuentry
  2374. #: guix-git/doc/guix.texi:128
  2375. msgid "Building packages."
  2376. msgstr ""
  2377. #. type: menuentry
  2378. #: guix-git/doc/guix.texi:128
  2379. msgid "guix pack: (guix)Invoking guix pack"
  2380. msgstr ""
  2381. #. type: menuentry
  2382. #: guix-git/doc/guix.texi:128
  2383. msgid "Creating binary bundles."
  2384. msgstr ""
  2385. #. type: subtitle
  2386. #: guix-git/doc/guix.texi:132
  2387. #, no-wrap
  2388. msgid "Using the GNU Guix Functional Package Manager"
  2389. msgstr ""
  2390. #. type: author
  2391. #: guix-git/doc/guix.texi:133
  2392. #, no-wrap
  2393. msgid "The GNU Guix Developers"
  2394. msgstr ""
  2395. #. type: titlepage
  2396. #: guix-git/doc/guix.texi:139
  2397. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2398. msgstr ""
  2399. #. type: node
  2400. #: guix-git/doc/guix.texi:146
  2401. #, no-wrap
  2402. msgid "Top"
  2403. msgstr ""
  2404. #. type: top
  2405. #: guix-git/doc/guix.texi:147
  2406. #, no-wrap
  2407. msgid "GNU Guix"
  2408. msgstr ""
  2409. #. type: Plain text
  2410. #: guix-git/doc/guix.texi:151
  2411. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2412. msgstr ""
  2413. #. type: Plain text
  2414. #: guix-git/doc/guix.texi:163
  2415. 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})."
  2416. msgstr ""
  2417. #. type: chapter
  2418. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:192
  2419. #: guix-git/doc/guix.texi:403 guix-git/doc/guix.texi:404
  2420. #, no-wrap
  2421. msgid "Introduction"
  2422. msgstr ""
  2423. #. type: menuentry
  2424. #: guix-git/doc/guix.texi:182
  2425. msgid "What is Guix about?"
  2426. msgstr ""
  2427. #. type: chapter
  2428. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:197
  2429. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:601
  2430. #, no-wrap
  2431. msgid "Installation"
  2432. msgstr "Installazione"
  2433. #. type: menuentry
  2434. #: guix-git/doc/guix.texi:182
  2435. msgid "Installing Guix."
  2436. msgstr ""
  2437. #. type: chapter
  2438. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:213
  2439. #: guix-git/doc/guix.texi:2082 guix-git/doc/guix.texi:2083
  2440. #, no-wrap
  2441. msgid "System Installation"
  2442. msgstr ""
  2443. #. type: menuentry
  2444. #: guix-git/doc/guix.texi:182
  2445. msgid "Installing the whole operating system."
  2446. msgstr ""
  2447. #. type: chapter
  2448. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:2810
  2449. #: guix-git/doc/guix.texi:2811
  2450. #, no-wrap
  2451. msgid "Getting Started"
  2452. msgstr ""
  2453. #. type: menuentry
  2454. #: guix-git/doc/guix.texi:182
  2455. msgid "Your first steps."
  2456. msgstr ""
  2457. #. type: chapter
  2458. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:230
  2459. #: guix-git/doc/guix.texi:3018 guix-git/doc/guix.texi:3019
  2460. #, no-wrap
  2461. msgid "Package Management"
  2462. msgstr ""
  2463. #. type: menuentry
  2464. #: guix-git/doc/guix.texi:182
  2465. msgid "Package installation, upgrade, etc."
  2466. msgstr ""
  2467. #. type: chapter
  2468. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:253
  2469. #: guix-git/doc/guix.texi:5091 guix-git/doc/guix.texi:5092
  2470. #, no-wrap
  2471. msgid "Channels"
  2472. msgstr "Canali"
  2473. #. type: menuentry
  2474. #: guix-git/doc/guix.texi:182
  2475. msgid "Customizing the package collection."
  2476. msgstr ""
  2477. #. type: chapter
  2478. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:267
  2479. #: guix-git/doc/guix.texi:5621 guix-git/doc/guix.texi:5622
  2480. #, no-wrap
  2481. msgid "Development"
  2482. msgstr "Sviluppo"
  2483. #. type: menuentry
  2484. #: guix-git/doc/guix.texi:182
  2485. msgid "Guix-aided software development."
  2486. msgstr ""
  2487. #. type: chapter
  2488. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:275
  2489. #: guix-git/doc/guix.texi:6864 guix-git/doc/guix.texi:6865
  2490. #, no-wrap
  2491. msgid "Programming Interface"
  2492. msgstr ""
  2493. #. type: menuentry
  2494. #: guix-git/doc/guix.texi:182
  2495. msgid "Using Guix in Scheme."
  2496. msgstr ""
  2497. #. type: chapter
  2498. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:295
  2499. #: guix-git/doc/guix.texi:11192 guix-git/doc/guix.texi:11193
  2500. #, no-wrap
  2501. msgid "Utilities"
  2502. msgstr ""
  2503. #. type: menuentry
  2504. #: guix-git/doc/guix.texi:182
  2505. msgid "Package management commands."
  2506. msgstr ""
  2507. #. type: chapter
  2508. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:321
  2509. #: guix-git/doc/guix.texi:14739 guix-git/doc/guix.texi:14740
  2510. #, no-wrap
  2511. msgid "System Configuration"
  2512. msgstr ""
  2513. #. type: menuentry
  2514. #: guix-git/doc/guix.texi:182
  2515. msgid "Configuring the operating system."
  2516. msgstr ""
  2517. #. type: chapter
  2518. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37485
  2519. #: guix-git/doc/guix.texi:37486
  2520. #, no-wrap
  2521. msgid "Home Configuration"
  2522. msgstr ""
  2523. #. type: menuentry
  2524. #: guix-git/doc/guix.texi:182
  2525. msgid "Configuring the home environment."
  2526. msgstr ""
  2527. #. type: chapter
  2528. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38404
  2529. #: guix-git/doc/guix.texi:38405
  2530. #, no-wrap
  2531. msgid "Documentation"
  2532. msgstr "Documentazione"
  2533. #. type: menuentry
  2534. #: guix-git/doc/guix.texi:182
  2535. msgid "Browsing software user manuals."
  2536. msgstr ""
  2537. #. type: chapter
  2538. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:390
  2539. #: guix-git/doc/guix.texi:38470 guix-git/doc/guix.texi:38471
  2540. #, no-wrap
  2541. msgid "Installing Debugging Files"
  2542. msgstr ""
  2543. #. type: menuentry
  2544. #: guix-git/doc/guix.texi:182
  2545. msgid "Feeding the debugger."
  2546. msgstr ""
  2547. #. type: chapter
  2548. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38625
  2549. #: guix-git/doc/guix.texi:38626
  2550. #, no-wrap
  2551. msgid "Security Updates"
  2552. msgstr ""
  2553. #. type: menuentry
  2554. #: guix-git/doc/guix.texi:182
  2555. msgid "Deploying security fixes quickly."
  2556. msgstr ""
  2557. #. type: chapter
  2558. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:395
  2559. #: guix-git/doc/guix.texi:38740 guix-git/doc/guix.texi:38741
  2560. #, no-wrap
  2561. msgid "Bootstrapping"
  2562. msgstr ""
  2563. #. type: menuentry
  2564. #: guix-git/doc/guix.texi:182
  2565. msgid "GNU/Linux built from scratch."
  2566. msgstr ""
  2567. #. type: node
  2568. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:39032
  2569. #, no-wrap
  2570. msgid "Porting"
  2571. msgstr ""
  2572. #. type: menuentry
  2573. #: guix-git/doc/guix.texi:182
  2574. msgid "Targeting another platform or kernel."
  2575. msgstr ""
  2576. #. type: menuentry
  2577. #: guix-git/doc/guix.texi:182
  2578. msgid "Your help needed!"
  2579. msgstr ""
  2580. #. type: chapter
  2581. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39080
  2582. #: guix-git/doc/guix.texi:39081
  2583. #, no-wrap
  2584. msgid "Acknowledgments"
  2585. msgstr ""
  2586. #. type: menuentry
  2587. #: guix-git/doc/guix.texi:187
  2588. msgid "Thanks!"
  2589. msgstr ""
  2590. #. type: appendix
  2591. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39102
  2592. #: guix-git/doc/guix.texi:39103
  2593. #, no-wrap
  2594. msgid "GNU Free Documentation License"
  2595. msgstr ""
  2596. #. type: menuentry
  2597. #: guix-git/doc/guix.texi:187
  2598. msgid "The license of this manual."
  2599. msgstr ""
  2600. #. type: unnumbered
  2601. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39108
  2602. #: guix-git/doc/guix.texi:39109
  2603. #, no-wrap
  2604. msgid "Concept Index"
  2605. msgstr ""
  2606. #. type: menuentry
  2607. #: guix-git/doc/guix.texi:187
  2608. msgid "Concepts."
  2609. msgstr ""
  2610. #. type: unnumbered
  2611. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39112
  2612. #: guix-git/doc/guix.texi:39113
  2613. #, no-wrap
  2614. msgid "Programming Index"
  2615. msgstr ""
  2616. #. type: menuentry
  2617. #: guix-git/doc/guix.texi:187
  2618. msgid "Data types, functions, and variables."
  2619. msgstr ""
  2620. #. type: menuentry
  2621. #: guix-git/doc/guix.texi:190
  2622. msgid "--- The Detailed Node Listing ---"
  2623. msgstr ""
  2624. #. type: section
  2625. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2626. #: guix-git/doc/guix.texi:432 guix-git/doc/guix.texi:433
  2627. #, no-wrap
  2628. msgid "Managing Software the Guix Way"
  2629. msgstr ""
  2630. #. type: menuentry
  2631. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2632. msgid "What's special."
  2633. msgstr ""
  2634. #. type: section
  2635. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2636. #: guix-git/doc/guix.texi:487 guix-git/doc/guix.texi:488
  2637. #, no-wrap
  2638. msgid "GNU Distribution"
  2639. msgstr ""
  2640. #. type: menuentry
  2641. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2642. msgid "The packages and tools."
  2643. msgstr ""
  2644. #. type: section
  2645. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2646. #: guix-git/doc/guix.texi:642 guix-git/doc/guix.texi:643
  2647. #, no-wrap
  2648. msgid "Binary Installation"
  2649. msgstr ""
  2650. #. type: menuentry
  2651. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2652. msgid "Getting Guix running in no time!"
  2653. msgstr ""
  2654. #. type: section
  2655. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2656. #: guix-git/doc/guix.texi:882 guix-git/doc/guix.texi:883
  2657. #, no-wrap
  2658. msgid "Requirements"
  2659. msgstr ""
  2660. #. type: menuentry
  2661. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2662. msgid "Software needed to build and run Guix."
  2663. msgstr ""
  2664. #. type: section
  2665. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2666. #: guix-git/doc/guix.texi:969 guix-git/doc/guix.texi:970
  2667. #, no-wrap
  2668. msgid "Running the Test Suite"
  2669. msgstr ""
  2670. #. type: menuentry
  2671. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2672. msgid "Testing Guix."
  2673. msgstr ""
  2674. #. type: section
  2675. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:207
  2676. #: guix-git/doc/guix.texi:640 guix-git/doc/guix.texi:1066
  2677. #: guix-git/doc/guix.texi:1067
  2678. #, no-wrap
  2679. msgid "Setting Up the Daemon"
  2680. msgstr ""
  2681. #. type: menuentry
  2682. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2683. msgid "Preparing the build daemon's environment."
  2684. msgstr ""
  2685. #. type: node
  2686. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2687. #: guix-git/doc/guix.texi:1542
  2688. #, no-wrap
  2689. msgid "Invoking guix-daemon"
  2690. msgstr ""
  2691. #. type: menuentry
  2692. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2693. msgid "Running the build daemon."
  2694. msgstr ""
  2695. #. type: section
  2696. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2697. #: guix-git/doc/guix.texi:1844 guix-git/doc/guix.texi:1845
  2698. #, no-wrap
  2699. msgid "Application Setup"
  2700. msgstr ""
  2701. #. type: menuentry
  2702. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2703. msgid "Application-specific setup."
  2704. msgstr ""
  2705. #. type: section
  2706. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2707. #: guix-git/doc/guix.texi:2045 guix-git/doc/guix.texi:2046
  2708. #, no-wrap
  2709. msgid "Upgrading Guix"
  2710. msgstr ""
  2711. #. type: menuentry
  2712. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2713. msgid "Upgrading Guix and its build daemon."
  2714. msgstr ""
  2715. #. type: subsection
  2716. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2717. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1089
  2718. #, no-wrap
  2719. msgid "Build Environment Setup"
  2720. msgstr ""
  2721. #. type: menuentry
  2722. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2723. msgid "Preparing the isolated build environment."
  2724. msgstr ""
  2725. #. type: node
  2726. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2727. #: guix-git/doc/guix.texi:1212
  2728. #, no-wrap
  2729. msgid "Daemon Offload Setup"
  2730. msgstr ""
  2731. #. type: menuentry
  2732. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2733. msgid "Offloading builds to remote machines."
  2734. msgstr ""
  2735. #. type: subsection
  2736. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2737. #: guix-git/doc/guix.texi:1451 guix-git/doc/guix.texi:1452
  2738. #, no-wrap
  2739. msgid "SELinux Support"
  2740. msgstr ""
  2741. #. type: menuentry
  2742. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2743. msgid "Using an SELinux policy for the daemon."
  2744. msgstr ""
  2745. #. type: section
  2746. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:1487
  2747. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2118
  2748. #: guix-git/doc/guix.texi:2119
  2749. #, no-wrap
  2750. msgid "Limitations"
  2751. msgstr ""
  2752. #. type: menuentry
  2753. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2754. msgid "What you can expect."
  2755. msgstr ""
  2756. #. type: section
  2757. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2758. #: guix-git/doc/guix.texi:2144 guix-git/doc/guix.texi:2145
  2759. #, no-wrap
  2760. msgid "Hardware Considerations"
  2761. msgstr ""
  2762. #. type: menuentry
  2763. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2764. msgid "Supported hardware."
  2765. msgstr ""
  2766. #. type: section
  2767. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2768. #: guix-git/doc/guix.texi:2179 guix-git/doc/guix.texi:2180
  2769. #, no-wrap
  2770. msgid "USB Stick and DVD Installation"
  2771. msgstr ""
  2772. #. type: menuentry
  2773. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2774. msgid "Preparing the installation medium."
  2775. msgstr ""
  2776. #. type: section
  2777. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2778. #: guix-git/doc/guix.texi:2260 guix-git/doc/guix.texi:2261
  2779. #, no-wrap
  2780. msgid "Preparing for Installation"
  2781. msgstr ""
  2782. #. type: menuentry
  2783. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2784. msgid "Networking, partitioning, etc."
  2785. msgstr ""
  2786. #. type: section
  2787. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2788. #: guix-git/doc/guix.texi:2283 guix-git/doc/guix.texi:2284
  2789. #, no-wrap
  2790. msgid "Guided Graphical Installation"
  2791. msgstr ""
  2792. #. type: menuentry
  2793. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2794. msgid "Easy graphical installation."
  2795. msgstr ""
  2796. #. type: section
  2797. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:225
  2798. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2314
  2799. #: guix-git/doc/guix.texi:2315
  2800. #, no-wrap
  2801. msgid "Manual Installation"
  2802. msgstr ""
  2803. #. type: menuentry
  2804. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2805. msgid "Manual installation for wizards."
  2806. msgstr ""
  2807. #. type: section
  2808. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2809. #: guix-git/doc/guix.texi:2693 guix-git/doc/guix.texi:2694
  2810. #, no-wrap
  2811. msgid "After System Installation"
  2812. msgstr ""
  2813. #. type: menuentry
  2814. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2815. msgid "When installation succeeded."
  2816. msgstr ""
  2817. #. type: node
  2818. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2819. #: guix-git/doc/guix.texi:2727
  2820. #, no-wrap
  2821. msgid "Installing Guix in a VM"
  2822. msgstr ""
  2823. #. type: menuentry
  2824. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2825. msgid "Guix System playground."
  2826. msgstr ""
  2827. #. type: section
  2828. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2829. #: guix-git/doc/guix.texi:2778 guix-git/doc/guix.texi:2779
  2830. #, no-wrap
  2831. msgid "Building the Installation Image"
  2832. msgstr ""
  2833. #. type: menuentry
  2834. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2835. msgid "How this comes to be."
  2836. msgstr ""
  2837. #. type: node
  2838. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2839. #: guix-git/doc/guix.texi:2334
  2840. #, no-wrap
  2841. msgid "Keyboard Layout and Networking and Partitioning"
  2842. msgstr ""
  2843. #. type: menuentry
  2844. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2845. msgid "Initial setup."
  2846. msgstr "Configurazione iniziale."
  2847. #. type: subsection
  2848. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2849. #: guix-git/doc/guix.texi:2604 guix-git/doc/guix.texi:2605
  2850. #, no-wrap
  2851. msgid "Proceeding with the Installation"
  2852. msgstr ""
  2853. #. type: menuentry
  2854. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2855. msgid "Installing."
  2856. msgstr ""
  2857. #. type: section
  2858. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2859. #: guix-git/doc/guix.texi:3052 guix-git/doc/guix.texi:3053
  2860. #, no-wrap
  2861. msgid "Features"
  2862. msgstr ""
  2863. #. type: menuentry
  2864. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2865. msgid "How Guix will make your life brighter."
  2866. msgstr ""
  2867. #. type: node
  2868. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2869. #: guix-git/doc/guix.texi:3142
  2870. #, no-wrap
  2871. msgid "Invoking guix package"
  2872. msgstr ""
  2873. #. type: menuentry
  2874. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2875. msgid "Package installation, removal, etc."
  2876. msgstr ""
  2877. #. type: section
  2878. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:243
  2879. #: guix-git/doc/guix.texi:3050 guix-git/doc/guix.texi:3772
  2880. #: guix-git/doc/guix.texi:3773
  2881. #, no-wrap
  2882. msgid "Substitutes"
  2883. msgstr ""
  2884. #. type: menuentry
  2885. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2886. msgid "Downloading pre-built binaries."
  2887. msgstr ""
  2888. #. type: section
  2889. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2890. #: guix-git/doc/guix.texi:4108 guix-git/doc/guix.texi:4109
  2891. #, no-wrap
  2892. msgid "Packages with Multiple Outputs"
  2893. msgstr ""
  2894. #. type: menuentry
  2895. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2896. msgid "Single source package, multiple outputs."
  2897. msgstr ""
  2898. #. type: node
  2899. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2900. #: guix-git/doc/guix.texi:4162
  2901. #, no-wrap
  2902. msgid "Invoking guix gc"
  2903. msgstr ""
  2904. #. type: menuentry
  2905. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2906. msgid "Running the garbage collector."
  2907. msgstr ""
  2908. #. type: node
  2909. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2910. #: guix-git/doc/guix.texi:4372
  2911. #, no-wrap
  2912. msgid "Invoking guix pull"
  2913. msgstr ""
  2914. #. type: menuentry
  2915. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2916. msgid "Fetching the latest Guix and distribution."
  2917. msgstr ""
  2918. #. type: node
  2919. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2920. #: guix-git/doc/guix.texi:4623
  2921. #, no-wrap
  2922. msgid "Invoking guix time-machine"
  2923. msgstr ""
  2924. #. type: menuentry
  2925. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2926. msgid "Running an older revision of Guix."
  2927. msgstr ""
  2928. #. type: section
  2929. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2930. #: guix-git/doc/guix.texi:4678 guix-git/doc/guix.texi:4679
  2931. #, no-wrap
  2932. msgid "Inferiors"
  2933. msgstr ""
  2934. #. type: menuentry
  2935. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2936. msgid "Interacting with another revision of Guix."
  2937. msgstr ""
  2938. #. type: node
  2939. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2940. #: guix-git/doc/guix.texi:4806
  2941. #, no-wrap
  2942. msgid "Invoking guix describe"
  2943. msgstr ""
  2944. #. type: menuentry
  2945. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2946. msgid "Display information about your Guix revision."
  2947. msgstr ""
  2948. #. type: node
  2949. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2950. #: guix-git/doc/guix.texi:4901
  2951. #, no-wrap
  2952. msgid "Invoking guix archive"
  2953. msgstr ""
  2954. #. type: menuentry
  2955. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2956. msgid "Exporting and importing store files."
  2957. msgstr ""
  2958. #. type: subsection
  2959. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2960. #: guix-git/doc/guix.texi:3798 guix-git/doc/guix.texi:3799
  2961. #, no-wrap
  2962. msgid "Official Substitute Servers"
  2963. msgstr ""
  2964. #. type: menuentry
  2965. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2966. msgid "One particular source of substitutes."
  2967. msgstr ""
  2968. #. type: subsection
  2969. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2970. #: guix-git/doc/guix.texi:3828 guix-git/doc/guix.texi:3829
  2971. #, no-wrap
  2972. msgid "Substitute Server Authorization"
  2973. msgstr ""
  2974. #. type: menuentry
  2975. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2976. msgid "How to enable or disable substitutes."
  2977. msgstr ""
  2978. #. type: subsection
  2979. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2980. #: guix-git/doc/guix.texi:3898 guix-git/doc/guix.texi:3899
  2981. #, no-wrap
  2982. msgid "Getting Substitutes from Other Servers"
  2983. msgstr ""
  2984. #. type: menuentry
  2985. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2986. msgid "Substitute diversity."
  2987. msgstr ""
  2988. #. type: subsection
  2989. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2990. #: guix-git/doc/guix.texi:4003 guix-git/doc/guix.texi:4004
  2991. #, no-wrap
  2992. msgid "Substitute Authentication"
  2993. msgstr ""
  2994. #. type: menuentry
  2995. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2996. msgid "How Guix verifies substitutes."
  2997. msgstr ""
  2998. #. type: subsection
  2999. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3000. #: guix-git/doc/guix.texi:4038 guix-git/doc/guix.texi:4039
  3001. #, no-wrap
  3002. msgid "Proxy Settings"
  3003. msgstr ""
  3004. #. type: menuentry
  3005. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3006. msgid "How to get substitutes via proxy."
  3007. msgstr ""
  3008. #. type: subsection
  3009. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3010. #: guix-git/doc/guix.texi:4050 guix-git/doc/guix.texi:4051
  3011. #, no-wrap
  3012. msgid "Substitution Failure"
  3013. msgstr ""
  3014. #. type: menuentry
  3015. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3016. msgid "What happens when substitution fails."
  3017. msgstr ""
  3018. #. type: subsection
  3019. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3020. #: guix-git/doc/guix.texi:4078 guix-git/doc/guix.texi:4079
  3021. #, no-wrap
  3022. msgid "On Trusting Binaries"
  3023. msgstr ""
  3024. #. type: menuentry
  3025. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3026. msgid "How can you trust that binary blob?"
  3027. msgstr ""
  3028. #. type: section
  3029. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3030. #: guix-git/doc/guix.texi:5124 guix-git/doc/guix.texi:5125
  3031. #, no-wrap
  3032. msgid "Specifying Additional Channels"
  3033. msgstr ""
  3034. #. type: menuentry
  3035. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3036. msgid "Extending the package collection."
  3037. msgstr ""
  3038. #. type: section
  3039. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3040. #: guix-git/doc/guix.texi:5174 guix-git/doc/guix.texi:5175
  3041. #, no-wrap
  3042. msgid "Using a Custom Guix Channel"
  3043. msgstr ""
  3044. #. type: menuentry
  3045. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3046. msgid "Using a customized Guix."
  3047. msgstr ""
  3048. #. type: section
  3049. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3050. #: guix-git/doc/guix.texi:5196 guix-git/doc/guix.texi:5197
  3051. #, no-wrap
  3052. msgid "Replicating Guix"
  3053. msgstr ""
  3054. #. type: menuentry
  3055. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3056. msgid "Running the @emph{exact same} Guix."
  3057. msgstr ""
  3058. #. type: section
  3059. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3060. #: guix-git/doc/guix.texi:5237 guix-git/doc/guix.texi:5238
  3061. #, no-wrap
  3062. msgid "Channel Authentication"
  3063. msgstr ""
  3064. #. type: menuentry
  3065. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3066. msgid "How Guix verifies what it fetches."
  3067. msgstr ""
  3068. #. type: section
  3069. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3070. #: guix-git/doc/guix.texi:5277 guix-git/doc/guix.texi:5278
  3071. #, no-wrap
  3072. msgid "Channels with Substitutes"
  3073. msgstr ""
  3074. #. type: menuentry
  3075. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3076. msgid "Using channels with available substitutes."
  3077. msgstr ""
  3078. #. type: section
  3079. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3080. #: guix-git/doc/guix.texi:5302 guix-git/doc/guix.texi:5303
  3081. #, no-wrap
  3082. msgid "Creating a Channel"
  3083. msgstr ""
  3084. #. type: menuentry
  3085. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3086. msgid "How to write your custom channel."
  3087. msgstr ""
  3088. #. type: section
  3089. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3090. #: guix-git/doc/guix.texi:5369 guix-git/doc/guix.texi:5370
  3091. #, no-wrap
  3092. msgid "Package Modules in a Sub-directory"
  3093. msgstr ""
  3094. #. type: menuentry
  3095. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3096. msgid "Specifying the channel's package modules location."
  3097. msgstr ""
  3098. #. type: section
  3099. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3100. #: guix-git/doc/guix.texi:5383 guix-git/doc/guix.texi:5384
  3101. #, no-wrap
  3102. msgid "Declaring Channel Dependencies"
  3103. msgstr ""
  3104. #. type: menuentry
  3105. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3106. msgid "How to depend on other channels."
  3107. msgstr ""
  3108. #. type: section
  3109. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3110. #: guix-git/doc/guix.texi:5425 guix-git/doc/guix.texi:5426
  3111. #, no-wrap
  3112. msgid "Specifying Channel Authorizations"
  3113. msgstr ""
  3114. #. type: menuentry
  3115. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3116. msgid "Defining channel authors authorizations."
  3117. msgstr ""
  3118. #. type: section
  3119. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3120. #: guix-git/doc/guix.texi:5528 guix-git/doc/guix.texi:5529
  3121. #, no-wrap
  3122. msgid "Primary URL"
  3123. msgstr ""
  3124. #. type: menuentry
  3125. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3126. msgid "Distinguishing mirror to original."
  3127. msgstr ""
  3128. #. type: section
  3129. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3130. #: guix-git/doc/guix.texi:5551 guix-git/doc/guix.texi:5552
  3131. #, no-wrap
  3132. msgid "Writing Channel News"
  3133. msgstr ""
  3134. #. type: menuentry
  3135. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3136. msgid "Communicating information to channel's users."
  3137. msgstr ""
  3138. #. type: node
  3139. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3140. #: guix-git/doc/guix.texi:5643
  3141. #, no-wrap
  3142. msgid "Invoking guix shell"
  3143. msgstr ""
  3144. #. type: menuentry
  3145. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3146. msgid "Spawning one-off software environments."
  3147. msgstr ""
  3148. #. type: node
  3149. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3150. #: guix-git/doc/guix.texi:6015
  3151. #, no-wrap
  3152. msgid "Invoking guix environment"
  3153. msgstr ""
  3154. #. type: menuentry
  3155. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3156. msgid "Setting up development environments."
  3157. msgstr ""
  3158. #. type: node
  3159. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3160. #: guix-git/doc/guix.texi:6390
  3161. #, no-wrap
  3162. msgid "Invoking guix pack"
  3163. msgstr ""
  3164. #. type: menuentry
  3165. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3166. msgid "Creating software bundles."
  3167. msgstr ""
  3168. #. type: section
  3169. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3170. #: guix-git/doc/guix.texi:6776 guix-git/doc/guix.texi:6777
  3171. #, no-wrap
  3172. msgid "The GCC toolchain"
  3173. msgstr ""
  3174. #. type: menuentry
  3175. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3176. msgid "Working with languages supported by GCC."
  3177. msgstr ""
  3178. #. type: node
  3179. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3180. #: guix-git/doc/guix.texi:6802
  3181. #, no-wrap
  3182. msgid "Invoking guix git authenticate"
  3183. msgstr ""
  3184. #. type: menuentry
  3185. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3186. msgid "Authenticating Git repositories."
  3187. msgstr ""
  3188. #. type: section
  3189. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3190. #: guix-git/doc/guix.texi:6907 guix-git/doc/guix.texi:6908
  3191. #, no-wrap
  3192. msgid "Package Modules"
  3193. msgstr ""
  3194. #. type: menuentry
  3195. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3196. msgid "Packages from the programmer's viewpoint."
  3197. msgstr ""
  3198. #. type: section
  3199. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:290
  3200. #: guix-git/doc/guix.texi:6905 guix-git/doc/guix.texi:6969
  3201. #: guix-git/doc/guix.texi:6970
  3202. #, no-wrap
  3203. msgid "Defining Packages"
  3204. msgstr ""
  3205. #. type: menuentry
  3206. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3207. msgid "Defining new packages."
  3208. msgstr ""
  3209. #. type: section
  3210. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3211. #: guix-git/doc/guix.texi:7634 guix-git/doc/guix.texi:7635
  3212. #, no-wrap
  3213. msgid "Defining Package Variants"
  3214. msgstr ""
  3215. #. type: menuentry
  3216. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3217. msgid "Customizing packages."
  3218. msgstr ""
  3219. #. type: section
  3220. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3221. #: guix-git/doc/guix.texi:7901 guix-git/doc/guix.texi:7902
  3222. #, no-wrap
  3223. msgid "Build Systems"
  3224. msgstr ""
  3225. #. type: menuentry
  3226. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3227. msgid "Specifying how packages are built."
  3228. msgstr ""
  3229. #. type: subsection
  3230. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3231. #: guix-git/doc/guix.texi:8940 guix-git/doc/guix.texi:8941
  3232. #: guix-git/doc/guix.texi:9449
  3233. #, no-wrap
  3234. msgid "Build Phases"
  3235. msgstr ""
  3236. #. type: menuentry
  3237. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3238. msgid "Phases of the build process of a package."
  3239. msgstr ""
  3240. #. type: section
  3241. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3242. #: guix-git/doc/guix.texi:9138 guix-git/doc/guix.texi:9139
  3243. #, no-wrap
  3244. msgid "Build Utilities"
  3245. msgstr ""
  3246. #. type: menuentry
  3247. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3248. msgid "Helpers for your package definitions and more."
  3249. msgstr ""
  3250. #. type: section
  3251. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3252. #: guix-git/doc/guix.texi:9608 guix-git/doc/guix.texi:9609
  3253. #, no-wrap
  3254. msgid "Search Paths"
  3255. msgstr ""
  3256. #. type: menuentry
  3257. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3258. msgid "Declaring search path environment variables."
  3259. msgstr ""
  3260. #. type: section
  3261. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3262. #: guix-git/doc/guix.texi:9787 guix-git/doc/guix.texi:9788
  3263. #, no-wrap
  3264. msgid "The Store"
  3265. msgstr ""
  3266. #. type: menuentry
  3267. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3268. msgid "Manipulating the package store."
  3269. msgstr ""
  3270. #. type: section
  3271. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3272. #: guix-git/doc/guix.texi:9940 guix-git/doc/guix.texi:9941
  3273. #, no-wrap
  3274. msgid "Derivations"
  3275. msgstr ""
  3276. #. type: menuentry
  3277. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3278. msgid "Low-level interface to package derivations."
  3279. msgstr ""
  3280. #. type: section
  3281. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3282. #: guix-git/doc/guix.texi:10134 guix-git/doc/guix.texi:10135
  3283. #, no-wrap
  3284. msgid "The Store Monad"
  3285. msgstr ""
  3286. #. type: menuentry
  3287. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3288. msgid "Purely functional interface to the store."
  3289. msgstr ""
  3290. #. type: section
  3291. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3292. #: guix-git/doc/guix.texi:10453 guix-git/doc/guix.texi:10454
  3293. #, no-wrap
  3294. msgid "G-Expressions"
  3295. msgstr ""
  3296. #. type: menuentry
  3297. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3298. msgid "Manipulating build expressions."
  3299. msgstr ""
  3300. #. type: node
  3301. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3302. #: guix-git/doc/guix.texi:11092
  3303. #, no-wrap
  3304. msgid "Invoking guix repl"
  3305. msgstr ""
  3306. #. type: menuentry
  3307. #: guix-git/doc/guix.texi:288
  3308. msgid "Programming Guix in Guile."
  3309. msgstr ""
  3310. #. type: node
  3311. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3312. #: guix-git/doc/guix.texi:7169
  3313. #, no-wrap
  3314. msgid "package Reference"
  3315. msgstr ""
  3316. #. type: menuentry
  3317. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3318. msgid "The package data type."
  3319. msgstr ""
  3320. #. type: node
  3321. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3322. #: guix-git/doc/guix.texi:7442
  3323. #, no-wrap
  3324. msgid "origin Reference"
  3325. msgstr ""
  3326. #. type: menuentry
  3327. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3328. msgid "The origin data type."
  3329. msgstr ""
  3330. #. type: node
  3331. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3332. #: guix-git/doc/guix.texi:11219
  3333. #, no-wrap
  3334. msgid "Invoking guix build"
  3335. msgstr ""
  3336. #. type: menuentry
  3337. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3338. msgid "Building packages from the command line."
  3339. msgstr ""
  3340. #. type: node
  3341. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3342. #: guix-git/doc/guix.texi:12117
  3343. #, no-wrap
  3344. msgid "Invoking guix edit"
  3345. msgstr ""
  3346. #. type: menuentry
  3347. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3348. msgid "Editing package definitions."
  3349. msgstr ""
  3350. #. type: node
  3351. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3352. #: guix-git/doc/guix.texi:12147
  3353. #, no-wrap
  3354. msgid "Invoking guix download"
  3355. msgstr ""
  3356. #. type: menuentry
  3357. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3358. msgid "Downloading a file and printing its hash."
  3359. msgstr ""
  3360. #. type: node
  3361. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3362. #: guix-git/doc/guix.texi:12205
  3363. #, no-wrap
  3364. msgid "Invoking guix hash"
  3365. msgstr ""
  3366. #. type: menuentry
  3367. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3368. msgid "Computing the cryptographic hash of a file."
  3369. msgstr ""
  3370. #. type: node
  3371. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3372. #: guix-git/doc/guix.texi:12296
  3373. #, no-wrap
  3374. msgid "Invoking guix import"
  3375. msgstr ""
  3376. #. type: menuentry
  3377. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3378. msgid "Importing package definitions."
  3379. msgstr ""
  3380. #. type: node
  3381. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3382. #: guix-git/doc/guix.texi:12831
  3383. #, no-wrap
  3384. msgid "Invoking guix refresh"
  3385. msgstr ""
  3386. #. type: menuentry
  3387. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3388. msgid "Updating package definitions."
  3389. msgstr ""
  3390. #. type: node
  3391. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3392. #: guix-git/doc/guix.texi:13203
  3393. #, no-wrap
  3394. msgid "Invoking guix style"
  3395. msgstr ""
  3396. #. type: menuentry
  3397. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3398. #, fuzzy
  3399. #| msgid "Updating the Guix package definition."
  3400. msgid "Styling package definitions."
  3401. msgstr "Aggiornamento della definizione del pacchetto Guix."
  3402. #. type: node
  3403. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3404. #: guix-git/doc/guix.texi:13341
  3405. #, no-wrap
  3406. msgid "Invoking guix lint"
  3407. msgstr ""
  3408. #. type: menuentry
  3409. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3410. msgid "Finding errors in package definitions."
  3411. msgstr ""
  3412. #. type: node
  3413. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3414. #: guix-git/doc/guix.texi:13517
  3415. #, no-wrap
  3416. msgid "Invoking guix size"
  3417. msgstr ""
  3418. #. type: menuentry
  3419. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3420. msgid "Profiling disk usage."
  3421. msgstr ""
  3422. #. type: node
  3423. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3424. #: guix-git/doc/guix.texi:13661
  3425. #, no-wrap
  3426. msgid "Invoking guix graph"
  3427. msgstr ""
  3428. #. type: menuentry
  3429. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3430. msgid "Visualizing the graph of packages."
  3431. msgstr ""
  3432. #. type: node
  3433. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3434. #: guix-git/doc/guix.texi:13942
  3435. #, no-wrap
  3436. msgid "Invoking guix publish"
  3437. msgstr ""
  3438. #. type: menuentry
  3439. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3440. msgid "Sharing substitutes."
  3441. msgstr ""
  3442. #. type: node
  3443. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3444. #: guix-git/doc/guix.texi:14211
  3445. #, no-wrap
  3446. msgid "Invoking guix challenge"
  3447. msgstr ""
  3448. #. type: menuentry
  3449. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3450. msgid "Challenging substitute servers."
  3451. msgstr ""
  3452. #. type: node
  3453. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3454. #: guix-git/doc/guix.texi:14394
  3455. #, no-wrap
  3456. msgid "Invoking guix copy"
  3457. msgstr ""
  3458. #. type: menuentry
  3459. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3460. msgid "Copying to and from a remote store."
  3461. msgstr ""
  3462. #. type: node
  3463. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3464. #: guix-git/doc/guix.texi:14457
  3465. #, no-wrap
  3466. msgid "Invoking guix container"
  3467. msgstr ""
  3468. #. type: menuentry
  3469. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3470. msgid "Process isolation."
  3471. msgstr ""
  3472. #. type: node
  3473. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3474. #: guix-git/doc/guix.texi:14511
  3475. #, no-wrap
  3476. msgid "Invoking guix weather"
  3477. msgstr ""
  3478. #. type: menuentry
  3479. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3480. msgid "Assessing substitute availability."
  3481. msgstr ""
  3482. #. type: node
  3483. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3484. #: guix-git/doc/guix.texi:14641
  3485. #, no-wrap
  3486. msgid "Invoking guix processes"
  3487. msgstr ""
  3488. #. type: menuentry
  3489. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3490. msgid "Listing client processes."
  3491. msgstr ""
  3492. #. type: section
  3493. #: guix-git/doc/guix.texi:314 guix-git/doc/guix.texi:11220
  3494. #, no-wrap
  3495. msgid "Invoking @command{guix build}"
  3496. msgstr ""
  3497. #. type: subsection
  3498. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3499. #: guix-git/doc/guix.texi:11273 guix-git/doc/guix.texi:11274
  3500. #, no-wrap
  3501. msgid "Common Build Options"
  3502. msgstr ""
  3503. #. type: menuentry
  3504. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3505. msgid "Build options for most commands."
  3506. msgstr ""
  3507. #. type: subsection
  3508. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3509. #: guix-git/doc/guix.texi:11428 guix-git/doc/guix.texi:11429
  3510. #, no-wrap
  3511. msgid "Package Transformation Options"
  3512. msgstr ""
  3513. #. type: menuentry
  3514. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3515. msgid "Creating variants of packages."
  3516. msgstr ""
  3517. #. type: subsection
  3518. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3519. #: guix-git/doc/guix.texi:11799 guix-git/doc/guix.texi:11800
  3520. #, no-wrap
  3521. msgid "Additional Build Options"
  3522. msgstr ""
  3523. #. type: menuentry
  3524. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3525. msgid "Options specific to 'guix build'."
  3526. msgstr ""
  3527. #. type: subsection
  3528. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3529. #: guix-git/doc/guix.texi:12037 guix-git/doc/guix.texi:12038
  3530. #, no-wrap
  3531. msgid "Debugging Build Failures"
  3532. msgstr ""
  3533. #. type: menuentry
  3534. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3535. msgid "Real life packaging experience."
  3536. msgstr ""
  3537. #. type: section
  3538. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3539. #: guix-git/doc/guix.texi:14785 guix-git/doc/guix.texi:14786
  3540. #, no-wrap
  3541. msgid "Using the Configuration System"
  3542. msgstr ""
  3543. #. type: menuentry
  3544. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3545. msgid "Customizing your GNU system."
  3546. msgstr ""
  3547. #. type: node
  3548. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3549. #: guix-git/doc/guix.texi:15036
  3550. #, no-wrap
  3551. msgid "operating-system Reference"
  3552. msgstr ""
  3553. #. type: menuentry
  3554. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3555. msgid "Detail of operating-system declarations."
  3556. msgstr ""
  3557. #. type: section
  3558. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3559. #: guix-git/doc/guix.texi:15259 guix-git/doc/guix.texi:15260
  3560. #, no-wrap
  3561. msgid "File Systems"
  3562. msgstr "Filesystem"
  3563. #. type: menuentry
  3564. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3565. msgid "Configuring file system mounts."
  3566. msgstr ""
  3567. #. type: section
  3568. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3569. #: guix-git/doc/guix.texi:15612 guix-git/doc/guix.texi:15613
  3570. #, no-wrap
  3571. msgid "Mapped Devices"
  3572. msgstr ""
  3573. #. type: menuentry
  3574. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3575. msgid "Block device extra processing."
  3576. msgstr ""
  3577. #. type: section
  3578. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3579. #: guix-git/doc/guix.texi:15761 guix-git/doc/guix.texi:15762
  3580. #, no-wrap
  3581. msgid "Swap Space"
  3582. msgstr ""
  3583. #. type: menuentry
  3584. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3585. msgid "Backing RAM with disk space."
  3586. msgstr ""
  3587. #. type: section
  3588. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3589. #: guix-git/doc/guix.texi:15878 guix-git/doc/guix.texi:15879
  3590. #, no-wrap
  3591. msgid "User Accounts"
  3592. msgstr ""
  3593. #. type: menuentry
  3594. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3595. msgid "Specifying user accounts."
  3596. msgstr ""
  3597. #. type: section
  3598. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2341
  3599. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16059
  3600. #: guix-git/doc/guix.texi:16060
  3601. #, no-wrap
  3602. msgid "Keyboard Layout"
  3603. msgstr ""
  3604. #. type: menuentry
  3605. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3606. msgid "How the system interprets key strokes."
  3607. msgstr ""
  3608. #. type: section
  3609. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1852
  3610. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16205
  3611. #: guix-git/doc/guix.texi:16206
  3612. #, no-wrap
  3613. msgid "Locales"
  3614. msgstr "Lingue"
  3615. #. type: menuentry
  3616. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3617. msgid "Language and cultural convention settings."
  3618. msgstr ""
  3619. #. type: section
  3620. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:346
  3621. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16345
  3622. #: guix-git/doc/guix.texi:16346
  3623. #, no-wrap
  3624. msgid "Services"
  3625. msgstr "Servizi"
  3626. #. type: menuentry
  3627. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3628. msgid "Specifying system services."
  3629. msgstr ""
  3630. #. type: section
  3631. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3632. #: guix-git/doc/guix.texi:34607 guix-git/doc/guix.texi:34608
  3633. #, no-wrap
  3634. msgid "Setuid Programs"
  3635. msgstr ""
  3636. #. type: menuentry
  3637. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3638. msgid "Programs running with root privileges."
  3639. msgstr ""
  3640. #. type: section
  3641. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2017
  3642. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34693
  3643. #: guix-git/doc/guix.texi:34694
  3644. #, no-wrap
  3645. msgid "X.509 Certificates"
  3646. msgstr ""
  3647. #. type: menuentry
  3648. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3649. msgid "Authenticating HTTPS servers."
  3650. msgstr ""
  3651. #. type: section
  3652. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1911
  3653. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34756
  3654. #: guix-git/doc/guix.texi:34757
  3655. #, no-wrap
  3656. msgid "Name Service Switch"
  3657. msgstr ""
  3658. #. type: menuentry
  3659. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3660. msgid "Configuring libc's name service switch."
  3661. msgstr ""
  3662. #. type: section
  3663. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3664. #: guix-git/doc/guix.texi:34894 guix-git/doc/guix.texi:34895
  3665. #, no-wrap
  3666. msgid "Initial RAM Disk"
  3667. msgstr ""
  3668. #. type: menuentry
  3669. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3670. msgid "Linux-Libre bootstrapping."
  3671. msgstr ""
  3672. #. type: section
  3673. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3674. #: guix-git/doc/guix.texi:35089 guix-git/doc/guix.texi:35090
  3675. #, no-wrap
  3676. msgid "Bootloader Configuration"
  3677. msgstr ""
  3678. #. type: menuentry
  3679. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3680. msgid "Configuring the boot loader."
  3681. msgstr ""
  3682. #. type: node
  3683. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3684. #: guix-git/doc/guix.texi:35387
  3685. #, no-wrap
  3686. msgid "Invoking guix system"
  3687. msgstr ""
  3688. #. type: menuentry
  3689. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3690. msgid "Instantiating a system configuration."
  3691. msgstr ""
  3692. #. type: node
  3693. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3694. #: guix-git/doc/guix.texi:35995
  3695. #, no-wrap
  3696. msgid "Invoking guix deploy"
  3697. msgstr ""
  3698. #. type: menuentry
  3699. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3700. msgid "Deploying a system configuration to a remote host."
  3701. msgstr ""
  3702. #. type: node
  3703. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3704. #: guix-git/doc/guix.texi:36235
  3705. #, no-wrap
  3706. msgid "Running Guix in a VM"
  3707. msgstr ""
  3708. #. type: menuentry
  3709. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3710. msgid "How to run Guix System in a virtual machine."
  3711. msgstr ""
  3712. #. type: section
  3713. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:382
  3714. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:36369
  3715. #: guix-git/doc/guix.texi:36370
  3716. #, no-wrap
  3717. msgid "Defining Services"
  3718. msgstr ""
  3719. #. type: menuentry
  3720. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3721. msgid "Adding new service definitions."
  3722. msgstr ""
  3723. #. type: menuentry
  3724. #: guix-git/doc/guix.texi:342
  3725. msgid "Home Environment Configuration"
  3726. msgstr ""
  3727. #. type: node
  3728. #: guix-git/doc/guix.texi:344 guix-git/doc/guix.texi:37548
  3729. #: guix-git/doc/guix.texi:38168
  3730. #, no-wrap
  3731. msgid "Invoking guix home"
  3732. msgstr ""
  3733. #. type: menuentry
  3734. #: guix-git/doc/guix.texi:344
  3735. msgid "Instantiating a home environment configuration."
  3736. msgstr ""
  3737. #. type: subsection
  3738. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3739. #: guix-git/doc/guix.texi:16431 guix-git/doc/guix.texi:16432
  3740. #, no-wrap
  3741. msgid "Base Services"
  3742. msgstr ""
  3743. #. type: menuentry
  3744. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3745. msgid "Essential system services."
  3746. msgstr ""
  3747. #. type: subsection
  3748. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3749. #: guix-git/doc/guix.texi:17367 guix-git/doc/guix.texi:17368
  3750. #, no-wrap
  3751. msgid "Scheduled Job Execution"
  3752. msgstr ""
  3753. #. type: menuentry
  3754. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3755. msgid "The mcron service."
  3756. msgstr ""
  3757. #. type: subsection
  3758. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3759. #: guix-git/doc/guix.texi:17517 guix-git/doc/guix.texi:17518
  3760. #, no-wrap
  3761. msgid "Log Rotation"
  3762. msgstr ""
  3763. #. type: menuentry
  3764. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3765. msgid "The rottlog service."
  3766. msgstr ""
  3767. #. type: subsection
  3768. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3769. #: guix-git/doc/guix.texi:17630 guix-git/doc/guix.texi:17631
  3770. #, fuzzy, no-wrap
  3771. #| msgid "Networking"
  3772. msgid "Networking Setup"
  3773. msgstr "Rete"
  3774. #. type: menuentry
  3775. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3776. msgid "Setting up network interfaces."
  3777. msgstr ""
  3778. #. type: subsection
  3779. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3780. #: guix-git/doc/guix.texi:18048 guix-git/doc/guix.texi:18049
  3781. #, no-wrap
  3782. msgid "Networking Services"
  3783. msgstr ""
  3784. #. type: menuentry
  3785. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3786. msgid "Firewall, SSH daemon, etc."
  3787. msgstr ""
  3788. #. type: subsection
  3789. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3790. #: guix-git/doc/guix.texi:19507 guix-git/doc/guix.texi:19508
  3791. #, no-wrap
  3792. msgid "Unattended Upgrades"
  3793. msgstr ""
  3794. #. type: menuentry
  3795. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3796. msgid "Automated system upgrades."
  3797. msgstr ""
  3798. #. type: subsection
  3799. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3800. #: guix-git/doc/guix.texi:19645 guix-git/doc/guix.texi:19646
  3801. #, no-wrap
  3802. msgid "X Window"
  3803. msgstr ""
  3804. #. type: menuentry
  3805. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3806. msgid "Graphical display."
  3807. msgstr ""
  3808. #. type: subsection
  3809. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3810. #: guix-git/doc/guix.texi:20043 guix-git/doc/guix.texi:20044
  3811. #, no-wrap
  3812. msgid "Printing Services"
  3813. msgstr ""
  3814. #. type: menuentry
  3815. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3816. msgid "Local and remote printer support."
  3817. msgstr ""
  3818. #. type: subsection
  3819. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3820. #: guix-git/doc/guix.texi:20896 guix-git/doc/guix.texi:20897
  3821. #, no-wrap
  3822. msgid "Desktop Services"
  3823. msgstr ""
  3824. #. type: menuentry
  3825. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3826. msgid "D-Bus and desktop services."
  3827. msgstr ""
  3828. #. type: subsection
  3829. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3830. #: guix-git/doc/guix.texi:21415 guix-git/doc/guix.texi:21416
  3831. #, no-wrap
  3832. msgid "Sound Services"
  3833. msgstr ""
  3834. #. type: menuentry
  3835. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3836. msgid "ALSA and Pulseaudio services."
  3837. msgstr ""
  3838. #. type: subsection
  3839. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3840. #: guix-git/doc/guix.texi:21588 guix-git/doc/guix.texi:21589
  3841. #, no-wrap
  3842. msgid "Database Services"
  3843. msgstr ""
  3844. #. type: menuentry
  3845. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3846. msgid "SQL databases, key-value stores, etc."
  3847. msgstr ""
  3848. #. type: subsection
  3849. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3850. #: guix-git/doc/guix.texi:21923 guix-git/doc/guix.texi:21924
  3851. #, no-wrap
  3852. msgid "Mail Services"
  3853. msgstr ""
  3854. #. type: menuentry
  3855. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3856. msgid "IMAP, POP3, SMTP, and all that."
  3857. msgstr ""
  3858. #. type: subsection
  3859. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3860. #: guix-git/doc/guix.texi:23782 guix-git/doc/guix.texi:23783
  3861. #, no-wrap
  3862. msgid "Messaging Services"
  3863. msgstr ""
  3864. #. type: menuentry
  3865. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3866. msgid "Messaging services."
  3867. msgstr ""
  3868. #. type: subsection
  3869. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3870. #: guix-git/doc/guix.texi:24285 guix-git/doc/guix.texi:24286
  3871. #, no-wrap
  3872. msgid "Telephony Services"
  3873. msgstr ""
  3874. #. type: menuentry
  3875. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3876. msgid "Telephony services."
  3877. msgstr ""
  3878. #. type: subsection
  3879. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3880. #: guix-git/doc/guix.texi:25516 guix-git/doc/guix.texi:25517
  3881. #, no-wrap
  3882. msgid "Monitoring Services"
  3883. msgstr ""
  3884. #. type: menuentry
  3885. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3886. msgid "Monitoring services."
  3887. msgstr ""
  3888. #. type: subsection
  3889. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3890. #: guix-git/doc/guix.texi:25937 guix-git/doc/guix.texi:25938
  3891. #, no-wrap
  3892. msgid "Kerberos Services"
  3893. msgstr ""
  3894. #. type: menuentry
  3895. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3896. msgid "Kerberos services."
  3897. msgstr ""
  3898. #. type: subsection
  3899. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3900. #: guix-git/doc/guix.texi:26063 guix-git/doc/guix.texi:26064
  3901. #, no-wrap
  3902. msgid "LDAP Services"
  3903. msgstr ""
  3904. #. type: menuentry
  3905. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3906. msgid "LDAP services."
  3907. msgstr ""
  3908. #. type: subsection
  3909. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3910. #: guix-git/doc/guix.texi:26542 guix-git/doc/guix.texi:26543
  3911. #, no-wrap
  3912. msgid "Web Services"
  3913. msgstr ""
  3914. #. type: menuentry
  3915. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3916. msgid "Web servers."
  3917. msgstr ""
  3918. #. type: subsection
  3919. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3920. #: guix-git/doc/guix.texi:27753 guix-git/doc/guix.texi:27754
  3921. #, no-wrap
  3922. msgid "Certificate Services"
  3923. msgstr ""
  3924. #. type: menuentry
  3925. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3926. msgid "TLS certificates via Let's Encrypt."
  3927. msgstr ""
  3928. #. type: subsection
  3929. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3930. #: guix-git/doc/guix.texi:27934 guix-git/doc/guix.texi:27935
  3931. #, no-wrap
  3932. msgid "DNS Services"
  3933. msgstr ""
  3934. #. type: menuentry
  3935. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3936. msgid "DNS daemons."
  3937. msgstr ""
  3938. #. type: subsection
  3939. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3940. #: guix-git/doc/guix.texi:28679 guix-git/doc/guix.texi:28680
  3941. #, no-wrap
  3942. msgid "VPN Services"
  3943. msgstr ""
  3944. #. type: menuentry
  3945. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3946. msgid "VPN daemons."
  3947. msgstr ""
  3948. #. type: subsection
  3949. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3950. #: guix-git/doc/guix.texi:29191 guix-git/doc/guix.texi:29192
  3951. #, no-wrap
  3952. msgid "Network File System"
  3953. msgstr "Filesystem di rete"
  3954. #. type: menuentry
  3955. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3956. msgid "NFS related services."
  3957. msgstr ""
  3958. #. type: subsection
  3959. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3960. #: guix-git/doc/guix.texi:29387 guix-git/doc/guix.texi:29388
  3961. #, no-wrap
  3962. msgid "Continuous Integration"
  3963. msgstr ""
  3964. #. type: menuentry
  3965. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3966. msgid "Cuirass and Laminar services."
  3967. msgstr ""
  3968. #. type: subsection
  3969. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3970. #: guix-git/doc/guix.texi:29673 guix-git/doc/guix.texi:29674
  3971. #, no-wrap
  3972. msgid "Power Management Services"
  3973. msgstr ""
  3974. #. type: menuentry
  3975. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3976. msgid "Extending battery life."
  3977. msgstr ""
  3978. #. type: subsection
  3979. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3980. #: guix-git/doc/guix.texi:30235 guix-git/doc/guix.texi:30236
  3981. #, no-wrap
  3982. msgid "Audio Services"
  3983. msgstr ""
  3984. #. type: menuentry
  3985. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3986. msgid "The MPD."
  3987. msgstr ""
  3988. #. type: subsection
  3989. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3990. #: guix-git/doc/guix.texi:30354 guix-git/doc/guix.texi:30355
  3991. #, no-wrap
  3992. msgid "Virtualization Services"
  3993. msgstr ""
  3994. #. type: menuentry
  3995. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3996. msgid "Virtualization services."
  3997. msgstr ""
  3998. #. type: subsection
  3999. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4000. #: guix-git/doc/guix.texi:32026 guix-git/doc/guix.texi:32027
  4001. #, no-wrap
  4002. msgid "Version Control Services"
  4003. msgstr ""
  4004. #. type: menuentry
  4005. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4006. msgid "Providing remote access to Git repositories."
  4007. msgstr ""
  4008. #. type: subsection
  4009. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4010. #: guix-git/doc/guix.texi:33362 guix-git/doc/guix.texi:33363
  4011. #, no-wrap
  4012. msgid "Game Services"
  4013. msgstr ""
  4014. #. type: menuentry
  4015. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4016. msgid "Game servers."
  4017. msgstr ""
  4018. #. type: subsection
  4019. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4020. #: guix-git/doc/guix.texi:33394 guix-git/doc/guix.texi:33395
  4021. #, no-wrap
  4022. msgid "PAM Mount Service"
  4023. msgstr ""
  4024. #. type: menuentry
  4025. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4026. msgid "Service to mount volumes when logging in."
  4027. msgstr ""
  4028. #. type: subsection
  4029. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4030. #: guix-git/doc/guix.texi:33477 guix-git/doc/guix.texi:33478
  4031. #, no-wrap
  4032. msgid "Guix Services"
  4033. msgstr ""
  4034. #. type: menuentry
  4035. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4036. msgid "Services relating specifically to Guix."
  4037. msgstr ""
  4038. #. type: subsection
  4039. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4040. #: guix-git/doc/guix.texi:33841 guix-git/doc/guix.texi:33842
  4041. #, no-wrap
  4042. msgid "Linux Services"
  4043. msgstr ""
  4044. #. type: menuentry
  4045. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4046. msgid "Services tied to the Linux kernel."
  4047. msgstr ""
  4048. #. type: subsection
  4049. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4050. #: guix-git/doc/guix.texi:34068 guix-git/doc/guix.texi:34069
  4051. #, no-wrap
  4052. msgid "Hurd Services"
  4053. msgstr ""
  4054. #. type: menuentry
  4055. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4056. msgid "Services specific for a Hurd System."
  4057. msgstr ""
  4058. #. type: subsection
  4059. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4060. #: guix-git/doc/guix.texi:34110 guix-git/doc/guix.texi:34111
  4061. #, no-wrap
  4062. msgid "Miscellaneous Services"
  4063. msgstr ""
  4064. #. type: menuentry
  4065. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4066. msgid "Other services."
  4067. msgstr ""
  4068. #. type: subsection
  4069. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4070. #: guix-git/doc/guix.texi:36384 guix-git/doc/guix.texi:36385
  4071. #, no-wrap
  4072. msgid "Service Composition"
  4073. msgstr ""
  4074. #. type: menuentry
  4075. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4076. msgid "The model for composing services."
  4077. msgstr ""
  4078. #. type: subsection
  4079. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4080. #: guix-git/doc/guix.texi:36440 guix-git/doc/guix.texi:36441
  4081. #, no-wrap
  4082. msgid "Service Types and Services"
  4083. msgstr ""
  4084. #. type: menuentry
  4085. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4086. msgid "Types and services."
  4087. msgstr ""
  4088. #. type: subsection
  4089. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4090. #: guix-git/doc/guix.texi:36577 guix-git/doc/guix.texi:36578
  4091. #, no-wrap
  4092. msgid "Service Reference"
  4093. msgstr ""
  4094. #. type: menuentry
  4095. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4096. msgid "API reference."
  4097. msgstr ""
  4098. #. type: subsection
  4099. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4100. #: guix-git/doc/guix.texi:36896 guix-git/doc/guix.texi:36897
  4101. #, no-wrap
  4102. msgid "Shepherd Services"
  4103. msgstr ""
  4104. #. type: menuentry
  4105. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4106. msgid "A particular type of service."
  4107. msgstr ""
  4108. #. type: subsection
  4109. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4110. #: guix-git/doc/guix.texi:37115 guix-git/doc/guix.texi:37116
  4111. #, fuzzy, no-wrap
  4112. #| msgid "Documentation"
  4113. msgid "Complex Configurations"
  4114. msgstr "Documentazione"
  4115. #. type: menuentry
  4116. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4117. msgid "Defining bindings for complex configurations."
  4118. msgstr ""
  4119. #. type: section
  4120. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4121. #: guix-git/doc/guix.texi:38489 guix-git/doc/guix.texi:38490
  4122. #, no-wrap
  4123. msgid "Separate Debug Info"
  4124. msgstr ""
  4125. #. type: menuentry
  4126. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4127. msgid "Installing 'debug' outputs."
  4128. msgstr ""
  4129. #. type: section
  4130. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4131. #: guix-git/doc/guix.texi:38562 guix-git/doc/guix.texi:38563
  4132. #, no-wrap
  4133. msgid "Rebuilding Debug Info"
  4134. msgstr ""
  4135. #. type: menuentry
  4136. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4137. msgid "Building missing debug info."
  4138. msgstr ""
  4139. #. type: node
  4140. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4141. #: guix-git/doc/guix.texi:38781
  4142. #, no-wrap
  4143. msgid "Reduced Binary Seed Bootstrap"
  4144. msgstr ""
  4145. #. type: menuentry
  4146. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4147. msgid "A Bootstrap worthy of GNU."
  4148. msgstr ""
  4149. #. type: section
  4150. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4151. #: guix-git/doc/guix.texi:38856 guix-git/doc/guix.texi:38857
  4152. #, no-wrap
  4153. msgid "Preparing to Use the Bootstrap Binaries"
  4154. msgstr ""
  4155. #. type: menuentry
  4156. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4157. msgid "Building that what matters most."
  4158. msgstr ""
  4159. #. type: cindex
  4160. #: guix-git/doc/guix.texi:406
  4161. #, no-wrap
  4162. msgid "purpose"
  4163. msgstr "scopo"
  4164. #. type: Plain text
  4165. #: guix-git/doc/guix.texi:414
  4166. 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."
  4167. msgstr ""
  4168. #. type: cindex
  4169. #: guix-git/doc/guix.texi:415 guix-git/doc/guix.texi:490
  4170. #, no-wrap
  4171. msgid "Guix System"
  4172. msgstr ""
  4173. #. type: cindex
  4174. #: guix-git/doc/guix.texi:416
  4175. #, no-wrap
  4176. msgid "GuixSD, now Guix System"
  4177. msgstr ""
  4178. #. type: cindex
  4179. #: guix-git/doc/guix.texi:417
  4180. #, no-wrap
  4181. msgid "Guix System Distribution, now Guix System"
  4182. msgstr ""
  4183. #. type: Plain text
  4184. #: guix-git/doc/guix.texi:426
  4185. 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}."
  4186. msgstr ""
  4187. #. type: cindex
  4188. #: guix-git/doc/guix.texi:435
  4189. #, no-wrap
  4190. msgid "user interfaces"
  4191. msgstr ""
  4192. #. type: Plain text
  4193. #: guix-git/doc/guix.texi:441
  4194. 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})."
  4195. msgstr ""
  4196. #. type: cindex
  4197. #: guix-git/doc/guix.texi:441
  4198. #, no-wrap
  4199. msgid "build daemon"
  4200. msgstr ""
  4201. #. type: Plain text
  4202. #: guix-git/doc/guix.texi:445
  4203. 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})."
  4204. msgstr ""
  4205. #. type: cindex
  4206. #: guix-git/doc/guix.texi:446
  4207. #, no-wrap
  4208. msgid "extensibility of the distribution"
  4209. msgstr ""
  4210. #. type: cindex
  4211. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:6929
  4212. #, no-wrap
  4213. msgid "customization, of packages"
  4214. msgstr ""
  4215. #. type: Plain text
  4216. #: guix-git/doc/guix.texi:456
  4217. 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})."
  4218. msgstr ""
  4219. #. type: cindex
  4220. #: guix-git/doc/guix.texi:457
  4221. #, no-wrap
  4222. msgid "functional package management"
  4223. msgstr ""
  4224. #. type: cindex
  4225. #: guix-git/doc/guix.texi:458
  4226. #, no-wrap
  4227. msgid "isolation"
  4228. msgstr ""
  4229. #. type: Plain text
  4230. #: guix-git/doc/guix.texi:473
  4231. 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."
  4232. msgstr ""
  4233. #. type: cindex
  4234. #: guix-git/doc/guix.texi:474 guix-git/doc/guix.texi:9790
  4235. #, no-wrap
  4236. msgid "store"
  4237. msgstr ""
  4238. #. type: Plain text
  4239. #: guix-git/doc/guix.texi:481
  4240. 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."
  4241. msgstr ""
  4242. #. type: Plain text
  4243. #: guix-git/doc/guix.texi:485
  4244. 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})."
  4245. msgstr ""
  4246. #. type: Plain text
  4247. #: guix-git/doc/guix.texi:500
  4248. 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."
  4249. msgstr ""
  4250. #. type: Plain text
  4251. #: guix-git/doc/guix.texi:506
  4252. 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}):"
  4253. msgstr ""
  4254. #. type: example
  4255. #: guix-git/doc/guix.texi:509
  4256. #, no-wrap
  4257. msgid "guix package --list-available\n"
  4258. msgstr ""
  4259. #. type: Plain text
  4260. #: guix-git/doc/guix.texi:515
  4261. 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."
  4262. msgstr ""
  4263. #. type: Plain text
  4264. #: guix-git/doc/guix.texi:517
  4265. msgid "Packages are currently available on the following platforms:"
  4266. msgstr ""
  4267. #. type: item
  4268. #: guix-git/doc/guix.texi:520 guix-git/doc/guix.texi:2188
  4269. #, no-wrap
  4270. msgid "x86_64-linux"
  4271. msgstr ""
  4272. #. type: table
  4273. #: guix-git/doc/guix.texi:522
  4274. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4275. msgstr ""
  4276. #. type: item
  4277. #: guix-git/doc/guix.texi:523 guix-git/doc/guix.texi:2191
  4278. #, no-wrap
  4279. msgid "i686-linux"
  4280. msgstr ""
  4281. #. type: table
  4282. #: guix-git/doc/guix.texi:525
  4283. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4284. msgstr ""
  4285. #. type: item
  4286. #: guix-git/doc/guix.texi:526
  4287. #, no-wrap
  4288. msgid "armhf-linux"
  4289. msgstr ""
  4290. #. type: table
  4291. #: guix-git/doc/guix.texi:530
  4292. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4293. msgstr ""
  4294. #. type: item
  4295. #: guix-git/doc/guix.texi:531
  4296. #, no-wrap
  4297. msgid "aarch64-linux"
  4298. msgstr ""
  4299. #. type: table
  4300. #: guix-git/doc/guix.texi:533
  4301. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4302. msgstr ""
  4303. #. type: item
  4304. #: guix-git/doc/guix.texi:534
  4305. #, no-wrap
  4306. msgid "i586-gnu"
  4307. msgstr ""
  4308. #. type: table
  4309. #: guix-git/doc/guix.texi:537
  4310. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4311. msgstr ""
  4312. #. type: table
  4313. #: guix-git/doc/guix.texi:543
  4314. 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!"
  4315. msgstr ""
  4316. #. type: item
  4317. #: guix-git/doc/guix.texi:544
  4318. #, no-wrap
  4319. msgid "mips64el-linux (unsupported)"
  4320. msgstr ""
  4321. #. type: table
  4322. #: guix-git/doc/guix.texi:550
  4323. 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."
  4324. msgstr ""
  4325. #. type: item
  4326. #: guix-git/doc/guix.texi:551
  4327. #, no-wrap
  4328. msgid "powerpc-linux (unsupported)"
  4329. msgstr ""
  4330. #. type: table
  4331. #: guix-git/doc/guix.texi:556
  4332. 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."
  4333. msgstr ""
  4334. #. type: table
  4335. #: guix-git/doc/guix.texi:567
  4336. 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!"
  4337. msgstr ""
  4338. #. type: item
  4339. #: guix-git/doc/guix.texi:568
  4340. #, no-wrap
  4341. msgid "riscv64-linux"
  4342. msgstr ""
  4343. #. type: table
  4344. #: guix-git/doc/guix.texi:576
  4345. 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!"
  4346. msgstr ""
  4347. #. type: Plain text
  4348. #: guix-git/doc/guix.texi:586
  4349. 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."
  4350. msgstr ""
  4351. #. type: Plain text
  4352. #: guix-git/doc/guix.texi:590
  4353. msgid "Guix System is available on all the above platforms except @code{mips64el-linux}, @code{powerpc-linux}, @code{powerpc64le-linux} and @code{riscv64-linux}."
  4354. msgstr ""
  4355. #. type: Plain text
  4356. #: guix-git/doc/guix.texi:594
  4357. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4358. msgstr ""
  4359. #. type: Plain text
  4360. #: guix-git/doc/guix.texi:597
  4361. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4362. msgstr ""
  4363. #. type: cindex
  4364. #: guix-git/doc/guix.texi:603
  4365. #, no-wrap
  4366. msgid "installing Guix"
  4367. msgstr ""
  4368. #. type: quotation
  4369. #: guix-git/doc/guix.texi:615
  4370. 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."
  4371. msgstr ""
  4372. #. type: cindex
  4373. #: guix-git/doc/guix.texi:617 guix-git/doc/guix.texi:1847
  4374. #, no-wrap
  4375. msgid "foreign distro"
  4376. msgstr ""
  4377. #. type: cindex
  4378. #: guix-git/doc/guix.texi:618
  4379. #, no-wrap
  4380. msgid "directories related to foreign distro"
  4381. msgstr ""
  4382. #. type: Plain text
  4383. #: guix-git/doc/guix.texi:623
  4384. 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."
  4385. msgstr ""
  4386. #. type: Plain text
  4387. #: guix-git/doc/guix.texi:626
  4388. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4389. msgstr ""
  4390. #. type: Plain text
  4391. #: guix-git/doc/guix.texi:631
  4392. 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."
  4393. msgstr ""
  4394. #. type: cindex
  4395. #: guix-git/doc/guix.texi:645
  4396. #, no-wrap
  4397. msgid "installing Guix from binaries"
  4398. msgstr ""
  4399. #. type: cindex
  4400. #: guix-git/doc/guix.texi:646
  4401. #, no-wrap
  4402. msgid "installer script"
  4403. msgstr ""
  4404. #. type: Plain text
  4405. #: guix-git/doc/guix.texi:652
  4406. 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."
  4407. msgstr ""
  4408. #. type: quotation
  4409. #: guix-git/doc/guix.texi:660
  4410. 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:"
  4411. msgstr ""
  4412. #. type: example
  4413. #: guix-git/doc/guix.texi:666
  4414. #, no-wrap
  4415. msgid ""
  4416. "cd /tmp\n"
  4417. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4418. "chmod +x guix-install.sh\n"
  4419. "./guix-install.sh\n"
  4420. msgstr ""
  4421. #. type: quotation
  4422. #: guix-git/doc/guix.texi:670
  4423. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4424. msgstr ""
  4425. #. type: Plain text
  4426. #: guix-git/doc/guix.texi:673
  4427. msgid "Installing goes along these lines:"
  4428. msgstr ""
  4429. #. type: cindex
  4430. #: guix-git/doc/guix.texi:676
  4431. #, no-wrap
  4432. msgid "downloading Guix binary"
  4433. msgstr ""
  4434. #. type: enumerate
  4435. #: guix-git/doc/guix.texi:682
  4436. 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})."
  4437. msgstr ""
  4438. #. type: enumerate
  4439. #: guix-git/doc/guix.texi:686
  4440. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4441. msgstr ""
  4442. #. type: example
  4443. #: guix-git/doc/guix.texi:690
  4444. #, no-wrap
  4445. msgid ""
  4446. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4447. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4448. msgstr ""
  4449. #. type: Plain text
  4450. #: guix-git/doc/guix.texi:694 guix-git/doc/guix.texi:2206
  4451. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4452. msgstr ""
  4453. #. type: example
  4454. #: guix-git/doc/guix.texi:698
  4455. #, no-wrap
  4456. msgid ""
  4457. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4458. " -qO - | gpg --import -\n"
  4459. msgstr ""
  4460. #. type: Plain text
  4461. #: guix-git/doc/guix.texi:702 guix-git/doc/guix.texi:2214
  4462. msgid "and rerun the @code{gpg --verify} command."
  4463. msgstr ""
  4464. #. type: Plain text
  4465. #: guix-git/doc/guix.texi:705 guix-git/doc/guix.texi:2217
  4466. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4467. msgstr ""
  4468. #. type: enumerate
  4469. #: guix-git/doc/guix.texi:711
  4470. 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:"
  4471. msgstr ""
  4472. #. type: example
  4473. #: guix-git/doc/guix.texi:717
  4474. #, no-wrap
  4475. msgid ""
  4476. "# cd /tmp\n"
  4477. "# tar --warning=no-timestamp -xf \\\n"
  4478. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4479. "# mv var/guix /var/ && mv gnu /\n"
  4480. msgstr ""
  4481. #. type: enumerate
  4482. #: guix-git/doc/guix.texi:722
  4483. 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)."
  4484. msgstr ""
  4485. #. type: enumerate
  4486. #: guix-git/doc/guix.texi:725
  4487. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4488. msgstr ""
  4489. #. type: enumerate
  4490. #: guix-git/doc/guix.texi:735
  4491. 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."
  4492. msgstr ""
  4493. #. type: enumerate
  4494. #: guix-git/doc/guix.texi:739
  4495. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4496. msgstr ""
  4497. #. type: example
  4498. #: guix-git/doc/guix.texi:744
  4499. #, no-wrap
  4500. msgid ""
  4501. "# mkdir -p ~root/.config/guix\n"
  4502. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4503. " ~root/.config/guix/current\n"
  4504. msgstr ""
  4505. #. type: enumerate
  4506. #: guix-git/doc/guix.texi:748
  4507. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4508. msgstr ""
  4509. #. type: example
  4510. #: guix-git/doc/guix.texi:752
  4511. #, no-wrap
  4512. msgid ""
  4513. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4514. " source $GUIX_PROFILE/etc/profile\n"
  4515. msgstr ""
  4516. #. type: enumerate
  4517. #: guix-git/doc/guix.texi:757
  4518. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4519. msgstr ""
  4520. #. type: enumerate
  4521. #: guix-git/doc/guix.texi:760
  4522. msgid "Run the daemon, and set it to automatically start on boot."
  4523. msgstr ""
  4524. #. type: enumerate
  4525. #: guix-git/doc/guix.texi:763
  4526. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4527. msgstr ""
  4528. #. type: example
  4529. #: guix-git/doc/guix.texi:776
  4530. #, no-wrap
  4531. msgid ""
  4532. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4533. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4534. " /etc/systemd/system/\n"
  4535. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4536. msgstr ""
  4537. #. type: enumerate
  4538. #: guix-git/doc/guix.texi:779
  4539. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4540. msgstr ""
  4541. #. type: example
  4542. #: guix-git/doc/guix.texi:785
  4543. #, no-wrap
  4544. msgid ""
  4545. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4546. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4547. " /etc/systemd/system/\n"
  4548. "# systemctl enable --now guix-gc.timer\n"
  4549. msgstr ""
  4550. #. type: enumerate
  4551. #: guix-git/doc/guix.texi:789
  4552. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4553. msgstr ""
  4554. #. type: itemize
  4555. #: guix-git/doc/guix.texi:791 guix-git/doc/guix.texi:14201
  4556. msgid "If your host distro uses the Upstart init system:"
  4557. msgstr ""
  4558. #. type: example
  4559. #: guix-git/doc/guix.texi:797
  4560. #, no-wrap
  4561. msgid ""
  4562. "# initctl reload-configuration\n"
  4563. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4564. " /etc/init/\n"
  4565. "# start guix-daemon\n"
  4566. msgstr ""
  4567. #. type: enumerate
  4568. #: guix-git/doc/guix.texi:800
  4569. msgid "Otherwise, you can still start the daemon manually with:"
  4570. msgstr ""
  4571. #. type: example
  4572. #: guix-git/doc/guix.texi:804
  4573. #, no-wrap
  4574. msgid ""
  4575. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4576. " --build-users-group=guixbuild\n"
  4577. msgstr ""
  4578. #. type: enumerate
  4579. #: guix-git/doc/guix.texi:809
  4580. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4581. msgstr ""
  4582. #. type: example
  4583. #: guix-git/doc/guix.texi:814
  4584. #, no-wrap
  4585. msgid ""
  4586. "# mkdir -p /usr/local/bin\n"
  4587. "# cd /usr/local/bin\n"
  4588. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4589. msgstr ""
  4590. #. type: enumerate
  4591. #: guix-git/doc/guix.texi:818
  4592. msgid "It is also a good idea to make the Info version of this manual available there:"
  4593. msgstr ""
  4594. #. type: example
  4595. #: guix-git/doc/guix.texi:824
  4596. #, no-wrap
  4597. msgid ""
  4598. "# mkdir -p /usr/local/share/info\n"
  4599. "# cd /usr/local/share/info\n"
  4600. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4601. " do ln -s $i ; done\n"
  4602. msgstr ""
  4603. #. type: enumerate
  4604. #: guix-git/doc/guix.texi:830
  4605. 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)."
  4606. msgstr ""
  4607. #. type: cindex
  4608. #: guix-git/doc/guix.texi:832 guix-git/doc/guix.texi:3832
  4609. #: guix-git/doc/guix.texi:16976
  4610. #, no-wrap
  4611. msgid "substitutes, authorization thereof"
  4612. msgstr ""
  4613. #. type: enumerate
  4614. #: guix-git/doc/guix.texi:836
  4615. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4616. msgstr ""
  4617. #. type: example
  4618. #: guix-git/doc/guix.texi:842
  4619. #, no-wrap
  4620. msgid ""
  4621. "# guix archive --authorize < \\\n"
  4622. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4623. "# guix archive --authorize < \\\n"
  4624. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4625. msgstr ""
  4626. #. type: quotation
  4627. #: guix-git/doc/guix.texi:849
  4628. 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."
  4629. msgstr ""
  4630. #. type: enumerate
  4631. #: guix-git/doc/guix.texi:854
  4632. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4633. msgstr ""
  4634. #. type: Plain text
  4635. #: guix-git/doc/guix.texi:857
  4636. msgid "Voilà, the installation is complete!"
  4637. msgstr ""
  4638. #. type: Plain text
  4639. #: guix-git/doc/guix.texi:860
  4640. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4641. msgstr ""
  4642. #. type: example
  4643. #: guix-git/doc/guix.texi:863
  4644. #, no-wrap
  4645. msgid "# guix install hello\n"
  4646. msgstr ""
  4647. #. type: Plain text
  4648. #: guix-git/doc/guix.texi:867
  4649. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4650. msgstr ""
  4651. #. type: example
  4652. #: guix-git/doc/guix.texi:870
  4653. #, no-wrap
  4654. msgid "make guix-binary.@var{system}.tar.xz\n"
  4655. msgstr ""
  4656. #. type: Plain text
  4657. #: guix-git/doc/guix.texi:874
  4658. msgid "...@: which, in turn, runs:"
  4659. msgstr ""
  4660. #. type: example
  4661. #: guix-git/doc/guix.texi:878
  4662. #, no-wrap
  4663. msgid ""
  4664. "guix pack -s @var{system} --localstatedir \\\n"
  4665. " --profile-name=current-guix guix\n"
  4666. msgstr ""
  4667. #. type: Plain text
  4668. #: guix-git/doc/guix.texi:881
  4669. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4670. msgstr ""
  4671. #. type: Plain text
  4672. #: guix-git/doc/guix.texi:889
  4673. 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."
  4674. msgstr ""
  4675. #. type: cindex
  4676. #: guix-git/doc/guix.texi:890
  4677. #, no-wrap
  4678. msgid "official website"
  4679. msgstr ""
  4680. #. type: Plain text
  4681. #: guix-git/doc/guix.texi:893
  4682. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4683. msgstr ""
  4684. #. type: Plain text
  4685. #: guix-git/doc/guix.texi:895
  4686. msgid "GNU Guix depends on the following packages:"
  4687. msgstr ""
  4688. #. type: item
  4689. #: guix-git/doc/guix.texi:897
  4690. #, no-wrap
  4691. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x,"
  4692. msgstr ""
  4693. #. type: itemize
  4694. #: guix-git/doc/guix.texi:899
  4695. msgid "version 3.0.3 or later;"
  4696. msgstr ""
  4697. #. type: item
  4698. #: guix-git/doc/guix.texi:899
  4699. #, no-wrap
  4700. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4701. msgstr ""
  4702. #. type: itemize
  4703. #: guix-git/doc/guix.texi:901
  4704. msgid "0.1.0 or later;"
  4705. msgstr ""
  4706. #. type: itemize
  4707. #: guix-git/doc/guix.texi:905
  4708. 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});"
  4709. msgstr ""
  4710. #. type: itemize
  4711. #: guix-git/doc/guix.texi:908
  4712. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4713. msgstr ""
  4714. #. type: item
  4715. #: guix-git/doc/guix.texi:908
  4716. #, no-wrap
  4717. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4718. msgstr ""
  4719. #. type: itemize
  4720. #: guix-git/doc/guix.texi:910
  4721. msgid "version 0.1.0 or later;"
  4722. msgstr ""
  4723. #. type: item
  4724. #: guix-git/doc/guix.texi:910
  4725. #, no-wrap
  4726. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4727. msgstr ""
  4728. #. type: item
  4729. #: guix-git/doc/guix.texi:911
  4730. #, no-wrap
  4731. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4732. msgstr ""
  4733. #. type: itemize
  4734. #: guix-git/doc/guix.texi:915
  4735. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4736. msgstr ""
  4737. #. type: item
  4738. #: guix-git/doc/guix.texi:915
  4739. #, no-wrap
  4740. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4741. msgstr ""
  4742. #. type: itemize
  4743. #: guix-git/doc/guix.texi:917
  4744. msgid "4.3.0 or later;"
  4745. msgstr ""
  4746. #. type: item
  4747. #: guix-git/doc/guix.texi:917
  4748. #, no-wrap
  4749. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4750. msgstr ""
  4751. #. type: Plain text
  4752. #: guix-git/doc/guix.texi:921
  4753. msgid "The following dependencies are optional:"
  4754. msgstr ""
  4755. #. type: itemize
  4756. #: guix-git/doc/guix.texi:929
  4757. 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."
  4758. msgstr ""
  4759. #. type: itemize
  4760. #: guix-git/doc/guix.texi:934
  4761. 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})."
  4762. msgstr ""
  4763. #. type: itemize
  4764. #: guix-git/doc/guix.texi:938
  4765. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4766. msgstr ""
  4767. #. type: itemize
  4768. #: guix-git/doc/guix.texi:943
  4769. 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})."
  4770. msgstr ""
  4771. #. type: itemize
  4772. #: guix-git/doc/guix.texi:947
  4773. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4774. msgstr ""
  4775. #. type: Plain text
  4776. #: guix-git/doc/guix.texi:951
  4777. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4778. msgstr ""
  4779. #. type: item
  4780. #: guix-git/doc/guix.texi:953
  4781. #, no-wrap
  4782. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4783. msgstr ""
  4784. #. type: item
  4785. #: guix-git/doc/guix.texi:954
  4786. #, no-wrap
  4787. msgid "@url{https://sqlite.org, SQLite 3};"
  4788. msgstr ""
  4789. #. type: item
  4790. #: guix-git/doc/guix.texi:955
  4791. #, no-wrap
  4792. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4793. msgstr ""
  4794. #. type: itemize
  4795. #: guix-git/doc/guix.texi:957
  4796. msgid "C++11 standard."
  4797. msgstr ""
  4798. #. type: cindex
  4799. #: guix-git/doc/guix.texi:959
  4800. #, no-wrap
  4801. msgid "state directory"
  4802. msgstr ""
  4803. #. type: Plain text
  4804. #: guix-git/doc/guix.texi:968
  4805. 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})."
  4806. msgstr ""
  4807. #. type: cindex
  4808. #: guix-git/doc/guix.texi:972
  4809. #, no-wrap
  4810. msgid "test suite"
  4811. msgstr ""
  4812. #. type: Plain text
  4813. #: guix-git/doc/guix.texi:978
  4814. 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:"
  4815. msgstr ""
  4816. #. type: example
  4817. #: guix-git/doc/guix.texi:981
  4818. #, no-wrap
  4819. msgid "make check\n"
  4820. msgstr ""
  4821. #. type: Plain text
  4822. #: guix-git/doc/guix.texi:988
  4823. 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."
  4824. msgstr ""
  4825. #. type: Plain text
  4826. #: guix-git/doc/guix.texi:991
  4827. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4828. msgstr ""
  4829. #. type: example
  4830. #: guix-git/doc/guix.texi:994
  4831. #, no-wrap
  4832. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4833. msgstr ""
  4834. #. type: Plain text
  4835. #: guix-git/doc/guix.texi:999
  4836. 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:"
  4837. msgstr ""
  4838. #. type: example
  4839. #: guix-git/doc/guix.texi:1002
  4840. #, no-wrap
  4841. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4842. msgstr ""
  4843. #. type: Plain text
  4844. #: guix-git/doc/guix.texi:1010
  4845. 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'':"
  4846. msgstr ""
  4847. #. type: example
  4848. #: guix-git/doc/guix.texi:1014
  4849. #, no-wrap
  4850. msgid ""
  4851. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4852. "make check TESTS=\"tests/packages.scm\"\n"
  4853. msgstr ""
  4854. #. type: Plain text
  4855. #: guix-git/doc/guix.texi:1020
  4856. 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:"
  4857. msgstr ""
  4858. #. type: example
  4859. #: guix-git/doc/guix.texi:1023
  4860. #, no-wrap
  4861. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4862. msgstr ""
  4863. #. type: Plain text
  4864. #: guix-git/doc/guix.texi:1028
  4865. 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}:"
  4866. msgstr ""
  4867. #. type: example
  4868. #: guix-git/doc/guix.texi:1031
  4869. #, no-wrap
  4870. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4871. msgstr ""
  4872. #. type: Plain text
  4873. #: guix-git/doc/guix.texi:1035
  4874. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4875. msgstr ""
  4876. #. type: Plain text
  4877. #: guix-git/doc/guix.texi:1040
  4878. 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."
  4879. msgstr ""
  4880. #. type: Plain text
  4881. #: guix-git/doc/guix.texi:1044
  4882. 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:"
  4883. msgstr ""
  4884. #. type: example
  4885. #: guix-git/doc/guix.texi:1047
  4886. #, no-wrap
  4887. msgid "make check-system\n"
  4888. msgstr ""
  4889. #. type: Plain text
  4890. #: guix-git/doc/guix.texi:1051
  4891. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4892. msgstr ""
  4893. #. type: example
  4894. #: guix-git/doc/guix.texi:1054
  4895. #, no-wrap
  4896. msgid "make check-system TESTS=\"basic mcron\"\n"
  4897. msgstr ""
  4898. #. type: Plain text
  4899. #: guix-git/doc/guix.texi:1062
  4900. 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."
  4901. msgstr ""
  4902. #. type: Plain text
  4903. #: guix-git/doc/guix.texi:1065
  4904. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4905. msgstr ""
  4906. #. type: cindex
  4907. #: guix-git/doc/guix.texi:1069
  4908. #, no-wrap
  4909. msgid "daemon"
  4910. msgstr ""
  4911. #. type: Plain text
  4912. #: guix-git/doc/guix.texi:1077
  4913. 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."
  4914. msgstr ""
  4915. #. type: Plain text
  4916. #: guix-git/doc/guix.texi:1081
  4917. 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."
  4918. msgstr ""
  4919. #. type: cindex
  4920. #: guix-git/doc/guix.texi:1091 guix-git/doc/guix.texi:1559
  4921. #, no-wrap
  4922. msgid "build environment"
  4923. msgstr ""
  4924. #. type: Plain text
  4925. #: guix-git/doc/guix.texi:1099
  4926. 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."
  4927. msgstr ""
  4928. #. type: cindex
  4929. #: guix-git/doc/guix.texi:1100
  4930. #, no-wrap
  4931. msgid "build users"
  4932. msgstr ""
  4933. #. type: Plain text
  4934. #: guix-git/doc/guix.texi:1111
  4935. 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})."
  4936. msgstr ""
  4937. #. type: Plain text
  4938. #: guix-git/doc/guix.texi:1114
  4939. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4940. msgstr ""
  4941. #. type: example
  4942. #: guix-git/doc/guix.texi:1126
  4943. #, no-wrap
  4944. msgid ""
  4945. "# groupadd --system guixbuild\n"
  4946. "# for i in $(seq -w 1 10);\n"
  4947. " do\n"
  4948. " useradd -g guixbuild -G guixbuild \\\n"
  4949. " -d /var/empty -s $(which nologin) \\\n"
  4950. " -c \"Guix build user $i\" --system \\\n"
  4951. " guixbuilder$i;\n"
  4952. " done\n"
  4953. msgstr ""
  4954. #. type: Plain text
  4955. #: guix-git/doc/guix.texi:1136
  4956. 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})."
  4957. msgstr ""
  4958. #. type: Plain text
  4959. #: guix-git/doc/guix.texi:1145
  4960. 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}.}:"
  4961. msgstr ""
  4962. #. type: example
  4963. #: guix-git/doc/guix.texi:1148 guix-git/doc/guix.texi:1552
  4964. #, no-wrap
  4965. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4966. msgstr ""
  4967. #. type: cindex
  4968. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1557
  4969. #, no-wrap
  4970. msgid "chroot"
  4971. msgstr ""
  4972. #. type: Plain text
  4973. #: guix-git/doc/guix.texi:1155
  4974. 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:"
  4975. msgstr ""
  4976. #. type: itemize
  4977. #: guix-git/doc/guix.texi:1163
  4978. 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.};"
  4979. msgstr ""
  4980. #. type: itemize
  4981. #: guix-git/doc/guix.texi:1167
  4982. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4983. msgstr ""
  4984. #. type: itemize
  4985. #: guix-git/doc/guix.texi:1171
  4986. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4987. msgstr ""
  4988. #. type: itemize
  4989. #: guix-git/doc/guix.texi:1174
  4990. msgid "@file{/etc/group} with an entry for the user's group;"
  4991. msgstr ""
  4992. #. type: itemize
  4993. #: guix-git/doc/guix.texi:1178
  4994. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4995. msgstr ""
  4996. #. type: itemize
  4997. #: guix-git/doc/guix.texi:1181
  4998. msgid "a writable @file{/tmp} directory."
  4999. msgstr ""
  5000. #. type: Plain text
  5001. #: guix-git/doc/guix.texi:1187
  5002. 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."
  5003. msgstr ""
  5004. #. type: Plain text
  5005. #: guix-git/doc/guix.texi:1195
  5006. 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."
  5007. msgstr ""
  5008. #. type: vindex
  5009. #: guix-git/doc/guix.texi:1196 guix-git/doc/guix.texi:4041
  5010. #, no-wrap
  5011. msgid "http_proxy"
  5012. msgstr ""
  5013. #. type: vindex
  5014. #: guix-git/doc/guix.texi:1197 guix-git/doc/guix.texi:4042
  5015. #, no-wrap
  5016. msgid "https_proxy"
  5017. msgstr ""
  5018. #. type: Plain text
  5019. #: guix-git/doc/guix.texi:1202
  5020. 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})."
  5021. msgstr ""
  5022. #. type: Plain text
  5023. #: guix-git/doc/guix.texi:1210
  5024. 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."
  5025. msgstr ""
  5026. #. type: subsection
  5027. #: guix-git/doc/guix.texi:1213
  5028. #, no-wrap
  5029. msgid "Using the Offload Facility"
  5030. msgstr ""
  5031. #. type: cindex
  5032. #: guix-git/doc/guix.texi:1215 guix-git/doc/guix.texi:1618
  5033. #, no-wrap
  5034. msgid "offloading"
  5035. msgstr ""
  5036. #. type: cindex
  5037. #: guix-git/doc/guix.texi:1216
  5038. #, no-wrap
  5039. msgid "build hook"
  5040. msgstr ""
  5041. #. type: Plain text
  5042. #: guix-git/doc/guix.texi:1235
  5043. 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:"
  5044. msgstr ""
  5045. #. type: enumerate
  5046. #: guix-git/doc/guix.texi:1241
  5047. 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."
  5048. msgstr ""
  5049. #. type: enumerate
  5050. #: guix-git/doc/guix.texi:1245
  5051. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  5052. msgstr ""
  5053. #. type: enumerate
  5054. #: guix-git/doc/guix.texi:1250
  5055. 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."
  5056. msgstr ""
  5057. #. type: enumerate
  5058. #: guix-git/doc/guix.texi:1253
  5059. msgid "Disk space availability. More than a 100 MiB must be available."
  5060. msgstr ""
  5061. #. type: Plain text
  5062. #: guix-git/doc/guix.texi:1256
  5063. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  5064. msgstr ""
  5065. #. type: lisp
  5066. #: guix-git/doc/guix.texi:1264
  5067. #, no-wrap
  5068. msgid ""
  5069. "(list (build-machine\n"
  5070. " (name \"eightysix.example.org\")\n"
  5071. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  5072. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  5073. " (user \"bob\")\n"
  5074. " (speed 2.)) ;incredibly fast!\n"
  5075. "\n"
  5076. msgstr ""
  5077. #. type: lisp
  5078. #: guix-git/doc/guix.texi:1270
  5079. #, no-wrap
  5080. msgid ""
  5081. " (build-machine\n"
  5082. " (name \"armeight.example.org\")\n"
  5083. " (systems (list \"aarch64-linux\"))\n"
  5084. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  5085. " (user \"alice\")\n"
  5086. "\n"
  5087. msgstr ""
  5088. #. type: lisp
  5089. #: guix-git/doc/guix.texi:1274
  5090. #, no-wrap
  5091. msgid ""
  5092. " ;; Remember 'guix offload' is spawned by\n"
  5093. " ;; 'guix-daemon' as root.\n"
  5094. " (private-key \"/root/.ssh/identity-for-guix\")))\n"
  5095. msgstr ""
  5096. #. type: Plain text
  5097. #: guix-git/doc/guix.texi:1280
  5098. 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."
  5099. msgstr ""
  5100. #. type: Plain text
  5101. #: guix-git/doc/guix.texi:1289
  5102. 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."
  5103. msgstr ""
  5104. #. type: deftp
  5105. #: guix-git/doc/guix.texi:1290
  5106. #, no-wrap
  5107. msgid "{Data Type} build-machine"
  5108. msgstr ""
  5109. #. type: deftp
  5110. #: guix-git/doc/guix.texi:1293
  5111. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  5112. msgstr ""
  5113. #. type: item
  5114. #: guix-git/doc/guix.texi:1296 guix-git/doc/guix.texi:7179
  5115. #: guix-git/doc/guix.texi:15924 guix-git/doc/guix.texi:16023
  5116. #: guix-git/doc/guix.texi:16264 guix-git/doc/guix.texi:17801
  5117. #: guix-git/doc/guix.texi:18422 guix-git/doc/guix.texi:18696
  5118. #: guix-git/doc/guix.texi:21789 guix-git/doc/guix.texi:24699
  5119. #: guix-git/doc/guix.texi:25998 guix-git/doc/guix.texi:26610
  5120. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:27005
  5121. #: guix-git/doc/guix.texi:29168 guix-git/doc/guix.texi:31537
  5122. #: guix-git/doc/guix.texi:31557 guix-git/doc/guix.texi:34317
  5123. #: guix-git/doc/guix.texi:34334 guix-git/doc/guix.texi:34873
  5124. #: guix-git/doc/guix.texi:36699 guix-git/doc/guix.texi:37026
  5125. #, no-wrap
  5126. msgid "name"
  5127. msgstr "nome"
  5128. #. type: table
  5129. #: guix-git/doc/guix.texi:1298
  5130. msgid "The host name of the remote machine."
  5131. msgstr ""
  5132. #. type: item
  5133. #: guix-git/doc/guix.texi:1299
  5134. #, no-wrap
  5135. msgid "systems"
  5136. msgstr ""
  5137. #. type: table
  5138. #: guix-git/doc/guix.texi:1302
  5139. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  5140. msgstr ""
  5141. #. type: code{#1}
  5142. #: guix-git/doc/guix.texi:1303 guix-git/doc/guix.texi:18432
  5143. #, no-wrap
  5144. msgid "user"
  5145. msgstr "utente"
  5146. #. type: table
  5147. #: guix-git/doc/guix.texi:1307
  5148. 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."
  5149. msgstr ""
  5150. #. type: item
  5151. #: guix-git/doc/guix.texi:1308
  5152. #, no-wrap
  5153. msgid "host-key"
  5154. msgstr ""
  5155. #. type: table
  5156. #: guix-git/doc/guix.texi:1312
  5157. 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:"
  5158. msgstr ""
  5159. #. type: example
  5160. #: guix-git/doc/guix.texi:1315
  5161. #, no-wrap
  5162. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5163. msgstr ""
  5164. #. type: table
  5165. #: guix-git/doc/guix.texi:1320
  5166. 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}."
  5167. msgstr ""
  5168. #. type: table
  5169. #: guix-git/doc/guix.texi:1325
  5170. 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}):"
  5171. msgstr ""
  5172. #. type: example
  5173. #: guix-git/doc/guix.texi:1329
  5174. #, no-wrap
  5175. msgid ""
  5176. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5177. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5178. msgstr ""
  5179. #. type: deftp
  5180. #: guix-git/doc/guix.texi:1334
  5181. msgid "A number of optional fields may be specified:"
  5182. msgstr ""
  5183. #. type: item
  5184. #: guix-git/doc/guix.texi:1337 guix-git/doc/guix.texi:36175
  5185. #, no-wrap
  5186. msgid "@code{port} (default: @code{22})"
  5187. msgstr ""
  5188. #. type: table
  5189. #: guix-git/doc/guix.texi:1339
  5190. msgid "Port number of SSH server on the machine."
  5191. msgstr ""
  5192. #. type: item
  5193. #: guix-git/doc/guix.texi:1340
  5194. #, no-wrap
  5195. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5196. msgstr ""
  5197. #. type: table
  5198. #: guix-git/doc/guix.texi:1343
  5199. 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."
  5200. msgstr ""
  5201. #. type: table
  5202. #: guix-git/doc/guix.texi:1346
  5203. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5204. msgstr ""
  5205. #. type: item
  5206. #: guix-git/doc/guix.texi:1347
  5207. #, no-wrap
  5208. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5209. msgstr ""
  5210. #. type: itemx
  5211. #: guix-git/doc/guix.texi:1348
  5212. #, no-wrap
  5213. msgid "@code{compression-level} (default: @code{3})"
  5214. msgstr ""
  5215. #. type: table
  5216. #: guix-git/doc/guix.texi:1350
  5217. msgid "The SSH-level compression methods and compression level requested."
  5218. msgstr ""
  5219. #. type: table
  5220. #: guix-git/doc/guix.texi:1353
  5221. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5222. msgstr ""
  5223. #. type: item
  5224. #: guix-git/doc/guix.texi:1354
  5225. #, no-wrap
  5226. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5227. msgstr ""
  5228. #. type: table
  5229. #: guix-git/doc/guix.texi:1357
  5230. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5231. msgstr ""
  5232. #. type: item
  5233. #: guix-git/doc/guix.texi:1358
  5234. #, no-wrap
  5235. msgid "@code{overload-threshold} (default: @code{0.6})"
  5236. msgstr ""
  5237. #. type: table
  5238. #: guix-git/doc/guix.texi:1364
  5239. 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}."
  5240. msgstr ""
  5241. #. type: item
  5242. #: guix-git/doc/guix.texi:1365
  5243. #, no-wrap
  5244. msgid "@code{parallel-builds} (default: @code{1})"
  5245. msgstr ""
  5246. #. type: table
  5247. #: guix-git/doc/guix.texi:1367
  5248. msgid "The number of builds that may run in parallel on the machine."
  5249. msgstr ""
  5250. #. type: item
  5251. #: guix-git/doc/guix.texi:1368
  5252. #, no-wrap
  5253. msgid "@code{speed} (default: @code{1.0})"
  5254. msgstr ""
  5255. #. type: table
  5256. #: guix-git/doc/guix.texi:1371
  5257. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5258. msgstr ""
  5259. #. type: item
  5260. #: guix-git/doc/guix.texi:1372
  5261. #, no-wrap
  5262. msgid "@code{features} (default: @code{'()})"
  5263. msgstr ""
  5264. #. type: table
  5265. #: guix-git/doc/guix.texi:1377
  5266. 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."
  5267. msgstr ""
  5268. #. type: Plain text
  5269. #: guix-git/doc/guix.texi:1383
  5270. 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:"
  5271. msgstr ""
  5272. #. type: example
  5273. #: guix-git/doc/guix.texi:1386
  5274. #, no-wrap
  5275. msgid "ssh build-machine guix repl --version\n"
  5276. msgstr ""
  5277. #. type: Plain text
  5278. #: guix-git/doc/guix.texi:1393
  5279. 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}):"
  5280. msgstr ""
  5281. #. type: example
  5282. #: guix-git/doc/guix.texi:1396 guix-git/doc/guix.texi:36079
  5283. #, no-wrap
  5284. msgid "# guix archive --generate-key\n"
  5285. msgstr ""
  5286. #. type: Plain text
  5287. #: guix-git/doc/guix.texi:1401
  5288. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5289. msgstr ""
  5290. #. type: example
  5291. #: guix-git/doc/guix.texi:1404
  5292. #, no-wrap
  5293. msgid "# guix archive --authorize < master-public-key.txt\n"
  5294. msgstr ""
  5295. #. type: Plain text
  5296. #: guix-git/doc/guix.texi:1408
  5297. msgid "Likewise, the master machine must authorize the key of each build machine."
  5298. msgstr ""
  5299. #. type: Plain text
  5300. #: guix-git/doc/guix.texi:1414
  5301. 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."
  5302. msgstr ""
  5303. #. type: cindex
  5304. #: guix-git/doc/guix.texi:1415
  5305. #, no-wrap
  5306. msgid "offload test"
  5307. msgstr ""
  5308. #. type: Plain text
  5309. #: guix-git/doc/guix.texi:1418
  5310. msgid "To test whether your setup is operational, run this command on the master node:"
  5311. msgstr ""
  5312. #. type: example
  5313. #: guix-git/doc/guix.texi:1421
  5314. #, no-wrap
  5315. msgid "# guix offload test\n"
  5316. msgstr ""
  5317. #. type: Plain text
  5318. #: guix-git/doc/guix.texi:1427
  5319. 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."
  5320. msgstr ""
  5321. #. type: Plain text
  5322. #: guix-git/doc/guix.texi:1430
  5323. msgid "If you want to test a different machine file, just specify it on the command line:"
  5324. msgstr ""
  5325. #. type: example
  5326. #: guix-git/doc/guix.texi:1433
  5327. #, no-wrap
  5328. msgid "# guix offload test machines-qualif.scm\n"
  5329. msgstr ""
  5330. #. type: Plain text
  5331. #: guix-git/doc/guix.texi:1437
  5332. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5333. msgstr ""
  5334. #. type: example
  5335. #: guix-git/doc/guix.texi:1440
  5336. #, no-wrap
  5337. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5338. msgstr ""
  5339. #. type: cindex
  5340. #: guix-git/doc/guix.texi:1442
  5341. #, no-wrap
  5342. msgid "offload status"
  5343. msgstr ""
  5344. #. type: Plain text
  5345. #: guix-git/doc/guix.texi:1445
  5346. msgid "To display the current load of all build hosts, run this command on the main node:"
  5347. msgstr ""
  5348. #. type: example
  5349. #: guix-git/doc/guix.texi:1448
  5350. #, no-wrap
  5351. msgid "# guix offload status\n"
  5352. msgstr ""
  5353. #. type: cindex
  5354. #: guix-git/doc/guix.texi:1454
  5355. #, no-wrap
  5356. msgid "SELinux, daemon policy"
  5357. msgstr ""
  5358. #. type: cindex
  5359. #: guix-git/doc/guix.texi:1455
  5360. #, no-wrap
  5361. msgid "mandatory access control, SELinux"
  5362. msgstr ""
  5363. #. type: cindex
  5364. #: guix-git/doc/guix.texi:1456
  5365. #, no-wrap
  5366. msgid "security, guix-daemon"
  5367. msgstr ""
  5368. #. type: Plain text
  5369. #: guix-git/doc/guix.texi:1462
  5370. 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."
  5371. msgstr ""
  5372. #. type: subsubsection
  5373. #: guix-git/doc/guix.texi:1463
  5374. #, no-wrap
  5375. msgid "Installing the SELinux policy"
  5376. msgstr ""
  5377. #. type: cindex
  5378. #: guix-git/doc/guix.texi:1464
  5379. #, no-wrap
  5380. msgid "SELinux, policy installation"
  5381. msgstr ""
  5382. #. type: Plain text
  5383. #: guix-git/doc/guix.texi:1466
  5384. msgid "To install the policy run this command as root:"
  5385. msgstr ""
  5386. #. type: example
  5387. #: guix-git/doc/guix.texi:1469
  5388. #, no-wrap
  5389. msgid "semodule -i etc/guix-daemon.cil\n"
  5390. msgstr ""
  5391. #. type: Plain text
  5392. #: guix-git/doc/guix.texi:1473
  5393. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5394. msgstr ""
  5395. #. type: Plain text
  5396. #: guix-git/doc/guix.texi:1478
  5397. 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:"
  5398. msgstr ""
  5399. #. type: example
  5400. #: guix-git/doc/guix.texi:1481
  5401. #, no-wrap
  5402. msgid "ps -Zax | grep guix-daemon\n"
  5403. msgstr ""
  5404. #. type: Plain text
  5405. #: guix-git/doc/guix.texi:1486
  5406. 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."
  5407. msgstr ""
  5408. #. type: cindex
  5409. #: guix-git/doc/guix.texi:1488
  5410. #, no-wrap
  5411. msgid "SELinux, limitations"
  5412. msgstr ""
  5413. #. type: Plain text
  5414. #: guix-git/doc/guix.texi:1493
  5415. 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."
  5416. msgstr ""
  5417. #. type: enumerate
  5418. #: guix-git/doc/guix.texi:1500
  5419. 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."
  5420. msgstr ""
  5421. #. type: enumerate
  5422. #: guix-git/doc/guix.texi:1511
  5423. 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."
  5424. msgstr ""
  5425. #. type: enumerate
  5426. #: guix-git/doc/guix.texi:1516
  5427. 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."
  5428. msgstr ""
  5429. #. type: enumerate
  5430. #: guix-git/doc/guix.texi:1527
  5431. 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."
  5432. msgstr ""
  5433. #. type: enumerate
  5434. #: guix-git/doc/guix.texi:1532
  5435. 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."
  5436. msgstr ""
  5437. #. type: enumerate
  5438. #: guix-git/doc/guix.texi:1540
  5439. 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."
  5440. msgstr ""
  5441. #. type: section
  5442. #: guix-git/doc/guix.texi:1543
  5443. #, no-wrap
  5444. msgid "Invoking @command{guix-daemon}"
  5445. msgstr ""
  5446. #. type: Plain text
  5447. #: guix-git/doc/guix.texi:1549
  5448. 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:"
  5449. msgstr ""
  5450. #. type: Plain text
  5451. #: guix-git/doc/guix.texi:1556
  5452. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5453. msgstr ""
  5454. #. type: cindex
  5455. #: guix-git/doc/guix.texi:1558
  5456. #, no-wrap
  5457. msgid "container, build environment"
  5458. msgstr ""
  5459. #. type: cindex
  5460. #: guix-git/doc/guix.texi:1560 guix-git/doc/guix.texi:3104
  5461. #: guix-git/doc/guix.texi:4022 guix-git/doc/guix.texi:14214
  5462. #, no-wrap
  5463. msgid "reproducible builds"
  5464. msgstr ""
  5465. #. type: Plain text
  5466. #: guix-git/doc/guix.texi:1572
  5467. 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})."
  5468. msgstr ""
  5469. #. type: Plain text
  5470. #: guix-git/doc/guix.texi:1578
  5471. 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}."
  5472. msgstr ""
  5473. #. type: Plain text
  5474. #: guix-git/doc/guix.texi:1582
  5475. 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}})."
  5476. msgstr ""
  5477. #. type: Plain text
  5478. #: guix-git/doc/guix.texi:1588
  5479. 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."
  5480. msgstr ""
  5481. #. type: Plain text
  5482. #: guix-git/doc/guix.texi:1590
  5483. msgid "The following command-line options are supported:"
  5484. msgstr ""
  5485. #. type: item
  5486. #: guix-git/doc/guix.texi:1592
  5487. #, no-wrap
  5488. msgid "--build-users-group=@var{group}"
  5489. msgstr ""
  5490. #. type: table
  5491. #: guix-git/doc/guix.texi:1595
  5492. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5493. msgstr ""
  5494. #. type: item
  5495. #: guix-git/doc/guix.texi:1596 guix-git/doc/guix.texi:11333
  5496. #, no-wrap
  5497. msgid "--no-substitutes"
  5498. msgstr ""
  5499. #. type: cindex
  5500. #: guix-git/doc/guix.texi:1597 guix-git/doc/guix.texi:3116
  5501. #: guix-git/doc/guix.texi:3775
  5502. #, no-wrap
  5503. msgid "substitutes"
  5504. msgstr ""
  5505. #. type: table
  5506. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:11337
  5507. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5508. msgstr ""
  5509. #. type: table
  5510. #: guix-git/doc/guix.texi:1605
  5511. 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})."
  5512. msgstr ""
  5513. #. type: anchor{#1}
  5514. #: guix-git/doc/guix.texi:1607
  5515. msgid "daemon-substitute-urls"
  5516. msgstr ""
  5517. #. type: item
  5518. #: guix-git/doc/guix.texi:1607 guix-git/doc/guix.texi:11320
  5519. #: guix-git/doc/guix.texi:13621 guix-git/doc/guix.texi:14360
  5520. #: guix-git/doc/guix.texi:14585
  5521. #, no-wrap
  5522. msgid "--substitute-urls=@var{urls}"
  5523. msgstr ""
  5524. #. type: table
  5525. #: guix-git/doc/guix.texi:1611
  5526. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5527. msgstr ""
  5528. #. type: table
  5529. #: guix-git/doc/guix.texi:1614
  5530. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5531. msgstr ""
  5532. #. type: table
  5533. #: guix-git/doc/guix.texi:1617
  5534. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5535. msgstr ""
  5536. #. type: item
  5537. #: guix-git/doc/guix.texi:1619 guix-git/doc/guix.texi:11356
  5538. #, no-wrap
  5539. msgid "--no-offload"
  5540. msgstr ""
  5541. #. type: table
  5542. #: guix-git/doc/guix.texi:1623 guix-git/doc/guix.texi:11360
  5543. 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."
  5544. msgstr ""
  5545. #. type: item
  5546. #: guix-git/doc/guix.texi:1624
  5547. #, no-wrap
  5548. msgid "--cache-failures"
  5549. msgstr ""
  5550. #. type: table
  5551. #: guix-git/doc/guix.texi:1626
  5552. msgid "Cache build failures. By default, only successful builds are cached."
  5553. msgstr ""
  5554. #. type: table
  5555. #: guix-git/doc/guix.texi:1631
  5556. 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}."
  5557. msgstr ""
  5558. #. type: item
  5559. #: guix-git/doc/guix.texi:1632 guix-git/doc/guix.texi:11386
  5560. #, no-wrap
  5561. msgid "--cores=@var{n}"
  5562. msgstr ""
  5563. #. type: itemx
  5564. #: guix-git/doc/guix.texi:1633 guix-git/doc/guix.texi:11387
  5565. #, no-wrap
  5566. msgid "-c @var{n}"
  5567. msgstr ""
  5568. #. type: table
  5569. #: guix-git/doc/guix.texi:1636
  5570. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5571. msgstr ""
  5572. #. type: table
  5573. #: guix-git/doc/guix.texi:1640
  5574. 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})."
  5575. msgstr ""
  5576. #. type: table
  5577. #: guix-git/doc/guix.texi:1644
  5578. 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}."
  5579. msgstr ""
  5580. #. type: item
  5581. #: guix-git/doc/guix.texi:1645 guix-git/doc/guix.texi:11391
  5582. #, no-wrap
  5583. msgid "--max-jobs=@var{n}"
  5584. msgstr ""
  5585. #. type: itemx
  5586. #: guix-git/doc/guix.texi:1646 guix-git/doc/guix.texi:11392
  5587. #, no-wrap
  5588. msgid "-M @var{n}"
  5589. msgstr ""
  5590. #. type: table
  5591. #: guix-git/doc/guix.texi:1651
  5592. 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."
  5593. msgstr ""
  5594. #. type: item
  5595. #: guix-git/doc/guix.texi:1652 guix-git/doc/guix.texi:11361
  5596. #, no-wrap
  5597. msgid "--max-silent-time=@var{seconds}"
  5598. msgstr ""
  5599. #. type: table
  5600. #: guix-git/doc/guix.texi:1655 guix-git/doc/guix.texi:11364
  5601. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5602. msgstr ""
  5603. #. type: table
  5604. #: guix-git/doc/guix.texi:1657 guix-git/doc/guix.texi:1666
  5605. msgid "The default value is @code{0}, which disables the timeout."
  5606. msgstr ""
  5607. #. type: table
  5608. #: guix-git/doc/guix.texi:1660
  5609. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5610. msgstr ""
  5611. #. type: item
  5612. #: guix-git/doc/guix.texi:1661 guix-git/doc/guix.texi:11368
  5613. #, no-wrap
  5614. msgid "--timeout=@var{seconds}"
  5615. msgstr ""
  5616. #. type: table
  5617. #: guix-git/doc/guix.texi:1664 guix-git/doc/guix.texi:11371
  5618. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5619. msgstr ""
  5620. #. type: table
  5621. #: guix-git/doc/guix.texi:1669
  5622. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5623. msgstr ""
  5624. #. type: item
  5625. #: guix-git/doc/guix.texi:1670
  5626. #, no-wrap
  5627. msgid "--rounds=@var{N}"
  5628. msgstr ""
  5629. #. type: table
  5630. #: guix-git/doc/guix.texi:1675
  5631. 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})."
  5632. msgstr ""
  5633. #. type: table
  5634. #: guix-git/doc/guix.texi:1679 guix-git/doc/guix.texi:11355
  5635. #: guix-git/doc/guix.texi:11979
  5636. 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."
  5637. msgstr ""
  5638. #. type: item
  5639. #: guix-git/doc/guix.texi:1680
  5640. #, no-wrap
  5641. msgid "--debug"
  5642. msgstr ""
  5643. #. type: table
  5644. #: guix-git/doc/guix.texi:1682
  5645. msgid "Produce debugging output."
  5646. msgstr ""
  5647. #. type: table
  5648. #: guix-git/doc/guix.texi:1686
  5649. 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})."
  5650. msgstr ""
  5651. #. type: item
  5652. #: guix-git/doc/guix.texi:1687
  5653. #, no-wrap
  5654. msgid "--chroot-directory=@var{dir}"
  5655. msgstr ""
  5656. #. type: table
  5657. #: guix-git/doc/guix.texi:1689
  5658. msgid "Add @var{dir} to the build chroot."
  5659. msgstr ""
  5660. #. type: table
  5661. #: guix-git/doc/guix.texi:1695
  5662. 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."
  5663. msgstr ""
  5664. #. type: item
  5665. #: guix-git/doc/guix.texi:1696
  5666. #, no-wrap
  5667. msgid "--disable-chroot"
  5668. msgstr ""
  5669. #. type: table
  5670. #: guix-git/doc/guix.texi:1698
  5671. msgid "Disable chroot builds."
  5672. msgstr ""
  5673. #. type: table
  5674. #: guix-git/doc/guix.texi:1703
  5675. 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."
  5676. msgstr ""
  5677. #. type: item
  5678. #: guix-git/doc/guix.texi:1704
  5679. #, no-wrap
  5680. msgid "--log-compression=@var{type}"
  5681. msgstr ""
  5682. #. type: table
  5683. #: guix-git/doc/guix.texi:1707
  5684. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5685. msgstr ""
  5686. #. type: table
  5687. #: guix-git/doc/guix.texi:1711
  5688. 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."
  5689. msgstr ""
  5690. #. type: item
  5691. #: guix-git/doc/guix.texi:1712
  5692. #, no-wrap
  5693. msgid "--discover[=yes|no]"
  5694. msgstr ""
  5695. #. type: table
  5696. #: guix-git/doc/guix.texi:1715 guix-git/doc/guix.texi:17045
  5697. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5698. msgstr ""
  5699. #. type: table
  5700. #: guix-git/doc/guix.texi:1718
  5701. msgid "This feature is still experimental. However, here are a few considerations."
  5702. msgstr ""
  5703. #. type: enumerate
  5704. #: guix-git/doc/guix.texi:1722
  5705. msgid "It might be faster/less expensive than fetching from remote servers;"
  5706. msgstr ""
  5707. #. type: enumerate
  5708. #: guix-git/doc/guix.texi:1725
  5709. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5710. msgstr ""
  5711. #. type: enumerate
  5712. #: guix-git/doc/guix.texi:1729
  5713. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5714. msgstr ""
  5715. #. type: enumerate
  5716. #: guix-git/doc/guix.texi:1732
  5717. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5718. msgstr ""
  5719. #. type: table
  5720. #: guix-git/doc/guix.texi:1736
  5721. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5722. msgstr ""
  5723. #. type: example
  5724. #: guix-git/doc/guix.texi:1740
  5725. #, no-wrap
  5726. msgid ""
  5727. "herd discover guix-daemon on\n"
  5728. "herd discover guix-daemon off\n"
  5729. msgstr ""
  5730. #. type: item
  5731. #: guix-git/doc/guix.texi:1742
  5732. #, no-wrap
  5733. msgid "--disable-deduplication"
  5734. msgstr ""
  5735. #. type: cindex
  5736. #: guix-git/doc/guix.texi:1743 guix-git/doc/guix.texi:4360
  5737. #, no-wrap
  5738. msgid "deduplication"
  5739. msgstr "deduplicazione"
  5740. #. type: table
  5741. #: guix-git/doc/guix.texi:1745
  5742. msgid "Disable automatic file ``deduplication'' in the store."
  5743. msgstr ""
  5744. #. type: table
  5745. #: guix-git/doc/guix.texi:1752
  5746. 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."
  5747. msgstr ""
  5748. #. type: item
  5749. #: guix-git/doc/guix.texi:1753
  5750. #, no-wrap
  5751. msgid "--gc-keep-outputs[=yes|no]"
  5752. msgstr ""
  5753. #. type: table
  5754. #: guix-git/doc/guix.texi:1756
  5755. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5756. msgstr ""
  5757. #. type: cindex
  5758. #: guix-git/doc/guix.texi:1757 guix-git/doc/guix.texi:4173
  5759. #, no-wrap
  5760. msgid "GC roots"
  5761. msgstr ""
  5762. #. type: cindex
  5763. #: guix-git/doc/guix.texi:1758 guix-git/doc/guix.texi:4174
  5764. #, no-wrap
  5765. msgid "garbage collector roots"
  5766. msgstr ""
  5767. #. type: table
  5768. #: guix-git/doc/guix.texi:1764
  5769. 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."
  5770. msgstr ""
  5771. #. type: item
  5772. #: guix-git/doc/guix.texi:1765
  5773. #, no-wrap
  5774. msgid "--gc-keep-derivations[=yes|no]"
  5775. msgstr ""
  5776. #. type: table
  5777. #: guix-git/doc/guix.texi:1768
  5778. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5779. msgstr ""
  5780. #. type: table
  5781. #: guix-git/doc/guix.texi:1774
  5782. 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."
  5783. msgstr ""
  5784. #. type: table
  5785. #: guix-git/doc/guix.texi:1783
  5786. 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."
  5787. msgstr ""
  5788. #. type: item
  5789. #: guix-git/doc/guix.texi:1784
  5790. #, no-wrap
  5791. msgid "--impersonate-linux-2.6"
  5792. msgstr ""
  5793. #. type: table
  5794. #: guix-git/doc/guix.texi:1787
  5795. 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."
  5796. msgstr ""
  5797. #. type: table
  5798. #: guix-git/doc/guix.texi:1790
  5799. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5800. msgstr ""
  5801. #. type: item
  5802. #: guix-git/doc/guix.texi:1791
  5803. #, no-wrap
  5804. msgid "--lose-logs"
  5805. msgstr ""
  5806. #. type: table
  5807. #: guix-git/doc/guix.texi:1794
  5808. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5809. msgstr ""
  5810. #. type: item
  5811. #: guix-git/doc/guix.texi:1795 guix-git/doc/guix.texi:4605
  5812. #: guix-git/doc/guix.texi:5881 guix-git/doc/guix.texi:6294
  5813. #: guix-git/doc/guix.texi:6694 guix-git/doc/guix.texi:11923
  5814. #: guix-git/doc/guix.texi:13648 guix-git/doc/guix.texi:13913
  5815. #: guix-git/doc/guix.texi:14590 guix-git/doc/guix.texi:34995
  5816. #: guix-git/doc/guix.texi:35809
  5817. #, no-wrap
  5818. msgid "--system=@var{system}"
  5819. msgstr ""
  5820. #. type: table
  5821. #: guix-git/doc/guix.texi:1799
  5822. 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}."
  5823. msgstr ""
  5824. #. type: item
  5825. #: guix-git/doc/guix.texi:1800 guix-git/doc/guix.texi:11165
  5826. #, no-wrap
  5827. msgid "--listen=@var{endpoint}"
  5828. msgstr ""
  5829. #. type: table
  5830. #: guix-git/doc/guix.texi:1805
  5831. 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:"
  5832. msgstr ""
  5833. #. type: item
  5834. #: guix-git/doc/guix.texi:1807
  5835. #, no-wrap
  5836. msgid "--listen=/gnu/var/daemon"
  5837. msgstr ""
  5838. #. type: table
  5839. #: guix-git/doc/guix.texi:1810
  5840. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5841. msgstr ""
  5842. #. type: item
  5843. #: guix-git/doc/guix.texi:1811
  5844. #, no-wrap
  5845. msgid "--listen=localhost"
  5846. msgstr ""
  5847. #. type: cindex
  5848. #: guix-git/doc/guix.texi:1812 guix-git/doc/guix.texi:9839
  5849. #, no-wrap
  5850. msgid "daemon, remote access"
  5851. msgstr ""
  5852. #. type: cindex
  5853. #: guix-git/doc/guix.texi:1813 guix-git/doc/guix.texi:9840
  5854. #, no-wrap
  5855. msgid "remote access to the daemon"
  5856. msgstr ""
  5857. #. type: cindex
  5858. #: guix-git/doc/guix.texi:1814 guix-git/doc/guix.texi:9841
  5859. #, no-wrap
  5860. msgid "daemon, cluster setup"
  5861. msgstr ""
  5862. #. type: cindex
  5863. #: guix-git/doc/guix.texi:1815 guix-git/doc/guix.texi:9842
  5864. #, no-wrap
  5865. msgid "clusters, daemon setup"
  5866. msgstr ""
  5867. #. type: table
  5868. #: guix-git/doc/guix.texi:1818
  5869. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5870. msgstr ""
  5871. #. type: item
  5872. #: guix-git/doc/guix.texi:1819
  5873. #, no-wrap
  5874. msgid "--listen=128.0.0.42:1234"
  5875. msgstr ""
  5876. #. type: table
  5877. #: guix-git/doc/guix.texi:1822
  5878. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5879. msgstr ""
  5880. #. type: table
  5881. #: guix-git/doc/guix.texi:1829
  5882. 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}})."
  5883. msgstr ""
  5884. #. type: quotation
  5885. #: guix-git/doc/guix.texi:1836
  5886. 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."
  5887. msgstr ""
  5888. #. type: table
  5889. #: guix-git/doc/guix.texi:1841
  5890. 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}."
  5891. msgstr ""
  5892. #. type: Plain text
  5893. #: guix-git/doc/guix.texi:1851
  5894. 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."
  5895. msgstr ""
  5896. #. type: anchor{#1}
  5897. #: guix-git/doc/guix.texi:1855
  5898. msgid "locales-and-locpath"
  5899. msgstr ""
  5900. #. type: cindex
  5901. #: guix-git/doc/guix.texi:1855
  5902. #, no-wrap
  5903. msgid "locales, when not on Guix System"
  5904. msgstr ""
  5905. #. type: vindex
  5906. #: guix-git/doc/guix.texi:1856 guix-git/doc/guix.texi:16248
  5907. #, no-wrap
  5908. msgid "LOCPATH"
  5909. msgstr ""
  5910. #. type: vindex
  5911. #: guix-git/doc/guix.texi:1857
  5912. #, no-wrap
  5913. msgid "GUIX_LOCPATH"
  5914. msgstr ""
  5915. #. type: Plain text
  5916. #: guix-git/doc/guix.texi:1862
  5917. 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:"
  5918. msgstr ""
  5919. #. type: example
  5920. #: guix-git/doc/guix.texi:1866
  5921. #, no-wrap
  5922. msgid ""
  5923. "$ guix install glibc-locales\n"
  5924. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5925. msgstr ""
  5926. #. type: Plain text
  5927. #: guix-git/doc/guix.texi:1878
  5928. 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:"
  5929. msgstr ""
  5930. #. type: lisp
  5931. #: guix-git/doc/guix.texi:1881
  5932. #, no-wrap
  5933. msgid ""
  5934. "(use-modules (gnu packages base))\n"
  5935. "\n"
  5936. msgstr ""
  5937. #. type: lisp
  5938. #: guix-git/doc/guix.texi:1887
  5939. #, no-wrap
  5940. msgid ""
  5941. "(define my-glibc-locales\n"
  5942. " (make-glibc-utf8-locales\n"
  5943. " glibc\n"
  5944. " #:locales (list \"en_CA\" \"fr_CA\" \"ik_CA\" \"iu_CA\" \"shs_CA\")\n"
  5945. " #:name \"glibc-canadian-utf8-locales\"))\n"
  5946. msgstr ""
  5947. #. type: Plain text
  5948. #: guix-git/doc/guix.texi:1892
  5949. 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:"
  5950. msgstr ""
  5951. #. type: enumerate
  5952. #: guix-git/doc/guix.texi:1899
  5953. 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."
  5954. msgstr ""
  5955. #. type: enumerate
  5956. #: guix-git/doc/guix.texi:1906
  5957. 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."
  5958. msgstr ""
  5959. #. type: Plain text
  5960. #: guix-git/doc/guix.texi:1910
  5961. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5962. msgstr ""
  5963. #. type: cindex
  5964. #: guix-git/doc/guix.texi:1913
  5965. #, no-wrap
  5966. msgid "name service switch, glibc"
  5967. msgstr ""
  5968. #. type: cindex
  5969. #: guix-git/doc/guix.texi:1914
  5970. #, no-wrap
  5971. msgid "NSS (name service switch), glibc"
  5972. msgstr ""
  5973. #. type: cindex
  5974. #: guix-git/doc/guix.texi:1915
  5975. #, no-wrap
  5976. msgid "nscd (name service caching daemon)"
  5977. msgstr ""
  5978. #. type: cindex
  5979. #: guix-git/doc/guix.texi:1916
  5980. #, no-wrap
  5981. msgid "name service caching daemon (nscd)"
  5982. msgstr ""
  5983. #. type: Plain text
  5984. #: guix-git/doc/guix.texi:1923
  5985. 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."
  5986. msgstr ""
  5987. #. type: file{#1}
  5988. #: guix-git/doc/guix.texi:1924
  5989. #, no-wrap
  5990. msgid "nsswitch.conf"
  5991. msgstr ""
  5992. #. type: Plain text
  5993. #: guix-git/doc/guix.texi:1929
  5994. 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})."
  5995. msgstr ""
  5996. #. type: cindex
  5997. #: guix-git/doc/guix.texi:1930
  5998. #, no-wrap
  5999. msgid "Network information service (NIS)"
  6000. msgstr ""
  6001. #. type: cindex
  6002. #: guix-git/doc/guix.texi:1931
  6003. #, no-wrap
  6004. msgid "NIS (Network information service)"
  6005. msgstr ""
  6006. #. type: Plain text
  6007. #: guix-git/doc/guix.texi:1940
  6008. 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})."
  6009. msgstr ""
  6010. #. type: Plain text
  6011. #: guix-git/doc/guix.texi:1950
  6012. 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)."
  6013. msgstr ""
  6014. #. type: Plain text
  6015. #: guix-git/doc/guix.texi:1955
  6016. 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."
  6017. msgstr ""
  6018. #. type: Plain text
  6019. #: guix-git/doc/guix.texi:1960
  6020. 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."
  6021. msgstr ""
  6022. #. type: subsection
  6023. #: guix-git/doc/guix.texi:1961
  6024. #, no-wrap
  6025. msgid "X11 Fonts"
  6026. msgstr ""
  6027. #. type: Plain text
  6028. #: guix-git/doc/guix.texi:1971
  6029. 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}."
  6030. msgstr ""
  6031. #. type: code{#1}
  6032. #: guix-git/doc/guix.texi:1972
  6033. #, no-wrap
  6034. msgid "fc-cache"
  6035. msgstr ""
  6036. #. type: cindex
  6037. #: guix-git/doc/guix.texi:1973
  6038. #, no-wrap
  6039. msgid "font cache"
  6040. msgstr ""
  6041. #. type: Plain text
  6042. #: guix-git/doc/guix.texi:1977
  6043. 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:"
  6044. msgstr ""
  6045. #. type: example
  6046. #: guix-git/doc/guix.texi:1981
  6047. #, no-wrap
  6048. msgid ""
  6049. "guix install fontconfig\n"
  6050. "fc-cache -rv\n"
  6051. msgstr ""
  6052. #. type: Plain text
  6053. #: guix-git/doc/guix.texi:1989
  6054. 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:"
  6055. msgstr ""
  6056. #. type: example
  6057. #: guix-git/doc/guix.texi:1992
  6058. #, no-wrap
  6059. msgid "guix install font-adobe-source-han-sans:cn\n"
  6060. msgstr ""
  6061. #. type: code{#1}
  6062. #: guix-git/doc/guix.texi:1994
  6063. #, no-wrap
  6064. msgid "xterm"
  6065. msgstr ""
  6066. #. type: Plain text
  6067. #: guix-git/doc/guix.texi:1998
  6068. 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:"
  6069. msgstr ""
  6070. #. type: example
  6071. #: guix-git/doc/guix.texi:2001
  6072. #, no-wrap
  6073. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  6074. msgstr ""
  6075. #. type: Plain text
  6076. #: guix-git/doc/guix.texi:2005
  6077. 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:"
  6078. msgstr ""
  6079. #. type: example
  6080. #: guix-git/doc/guix.texi:2010
  6081. #, no-wrap
  6082. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  6083. msgstr ""
  6084. #. type: code{#1}
  6085. #: guix-git/doc/guix.texi:2012
  6086. #, no-wrap
  6087. msgid "xlsfonts"
  6088. msgstr ""
  6089. #. type: Plain text
  6090. #: guix-git/doc/guix.texi:2015
  6091. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  6092. msgstr ""
  6093. #. type: code{#1}
  6094. #: guix-git/doc/guix.texi:2019 guix-git/doc/guix.texi:34714
  6095. #, no-wrap
  6096. msgid "nss-certs"
  6097. msgstr ""
  6098. #. type: Plain text
  6099. #: guix-git/doc/guix.texi:2022
  6100. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  6101. msgstr ""
  6102. #. type: Plain text
  6103. #: guix-git/doc/guix.texi:2027
  6104. 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."
  6105. msgstr ""
  6106. #. type: code{#1}
  6107. #: guix-git/doc/guix.texi:2030
  6108. #, no-wrap
  6109. msgid "emacs"
  6110. msgstr "emacs"
  6111. #. type: Plain text
  6112. #: guix-git/doc/guix.texi:2036
  6113. 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."
  6114. msgstr ""
  6115. #. type: Plain text
  6116. #: guix-git/doc/guix.texi:2043
  6117. 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})."
  6118. msgstr ""
  6119. #. type: cindex
  6120. #: guix-git/doc/guix.texi:2048
  6121. #, no-wrap
  6122. msgid "Upgrading Guix, on a foreign distro"
  6123. msgstr ""
  6124. #. type: Plain text
  6125. #: guix-git/doc/guix.texi:2051
  6126. msgid "To upgrade Guix, run:"
  6127. msgstr ""
  6128. #. type: example
  6129. #: guix-git/doc/guix.texi:2054 guix-git/doc/guix.texi:2912
  6130. #, no-wrap
  6131. msgid "guix pull\n"
  6132. msgstr ""
  6133. #. type: Plain text
  6134. #: guix-git/doc/guix.texi:2057
  6135. msgid "@xref{Invoking guix pull}, for more information."
  6136. msgstr ""
  6137. #. type: cindex
  6138. #: guix-git/doc/guix.texi:2058
  6139. #, no-wrap
  6140. msgid "upgrading Guix for the root user, on a foreign distro"
  6141. msgstr ""
  6142. #. type: cindex
  6143. #: guix-git/doc/guix.texi:2059
  6144. #, no-wrap
  6145. msgid "upgrading the Guix daemon, on a foreign distro"
  6146. msgstr ""
  6147. #. type: cindex
  6148. #: guix-git/doc/guix.texi:2060
  6149. #, no-wrap
  6150. msgid "@command{guix pull} for the root user, on a foreign distro"
  6151. msgstr ""
  6152. #. type: Plain text
  6153. #: guix-git/doc/guix.texi:2063
  6154. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  6155. msgstr ""
  6156. #. type: example
  6157. #: guix-git/doc/guix.texi:2066
  6158. #, no-wrap
  6159. msgid "sudo -i guix pull\n"
  6160. msgstr ""
  6161. #. type: Plain text
  6162. #: guix-git/doc/guix.texi:2071
  6163. msgid "followed by (assuming your distro uses the systemd service management tool):"
  6164. msgstr ""
  6165. #. type: example
  6166. #: guix-git/doc/guix.texi:2074
  6167. #, no-wrap
  6168. msgid "systemctl restart guix-daemon.service\n"
  6169. msgstr ""
  6170. #. type: Plain text
  6171. #: guix-git/doc/guix.texi:2078
  6172. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6173. msgstr ""
  6174. #. type: cindex
  6175. #: guix-git/doc/guix.texi:2085
  6176. #, no-wrap
  6177. msgid "installing Guix System"
  6178. msgstr ""
  6179. #. type: cindex
  6180. #: guix-git/doc/guix.texi:2086
  6181. #, no-wrap
  6182. msgid "Guix System, installation"
  6183. msgstr ""
  6184. #. type: Plain text
  6185. #: guix-git/doc/guix.texi:2091
  6186. 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}."
  6187. msgstr ""
  6188. #. type: quotation
  6189. #: guix-git/doc/guix.texi:2100
  6190. 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."
  6191. msgstr ""
  6192. #. type: quotation
  6193. #: guix-git/doc/guix.texi:2103
  6194. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6195. msgstr ""
  6196. #. type: Plain text
  6197. #: guix-git/doc/guix.texi:2124
  6198. 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."
  6199. msgstr ""
  6200. #. type: Plain text
  6201. #: guix-git/doc/guix.texi:2127
  6202. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6203. msgstr ""
  6204. #. type: itemize
  6205. #: guix-git/doc/guix.texi:2132
  6206. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6207. msgstr ""
  6208. #. type: itemize
  6209. #: guix-git/doc/guix.texi:2137
  6210. 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."
  6211. msgstr ""
  6212. #. type: Plain text
  6213. #: guix-git/doc/guix.texi:2142
  6214. 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."
  6215. msgstr ""
  6216. #. type: cindex
  6217. #: guix-git/doc/guix.texi:2147
  6218. #, no-wrap
  6219. msgid "hardware support on Guix System"
  6220. msgstr ""
  6221. #. type: Plain text
  6222. #: guix-git/doc/guix.texi:2156
  6223. 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."
  6224. msgstr ""
  6225. #. type: cindex
  6226. #: guix-git/doc/guix.texi:2157
  6227. #, no-wrap
  6228. msgid "WiFi, hardware support"
  6229. msgstr ""
  6230. #. type: Plain text
  6231. #: guix-git/doc/guix.texi:2166
  6232. 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}})."
  6233. msgstr ""
  6234. #. type: cindex
  6235. #: guix-git/doc/guix.texi:2167
  6236. #, no-wrap
  6237. msgid "RYF, Respects Your Freedom"
  6238. msgstr ""
  6239. #. type: Plain text
  6240. #: guix-git/doc/guix.texi:2173
  6241. 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."
  6242. msgstr ""
  6243. #. type: Plain text
  6244. #: guix-git/doc/guix.texi:2177
  6245. 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."
  6246. msgstr ""
  6247. #. type: Plain text
  6248. #: guix-git/doc/guix.texi:2186
  6249. 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:"
  6250. msgstr ""
  6251. #. type: table
  6252. #: guix-git/doc/guix.texi:2190
  6253. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6254. msgstr ""
  6255. #. type: table
  6256. #: guix-git/doc/guix.texi:2193
  6257. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6258. msgstr ""
  6259. #. type: Plain text
  6260. #: guix-git/doc/guix.texi:2198
  6261. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6262. msgstr ""
  6263. #. type: example
  6264. #: guix-git/doc/guix.texi:2202
  6265. #, no-wrap
  6266. msgid ""
  6267. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6268. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6269. msgstr ""
  6270. #. type: example
  6271. #: guix-git/doc/guix.texi:2210
  6272. #, no-wrap
  6273. msgid ""
  6274. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6275. " -qO - | gpg --import -\n"
  6276. msgstr ""
  6277. #. type: Plain text
  6278. #: guix-git/doc/guix.texi:2222
  6279. 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."
  6280. msgstr ""
  6281. #. type: unnumberedsubsec
  6282. #: guix-git/doc/guix.texi:2223
  6283. #, no-wrap
  6284. msgid "Copying to a USB Stick"
  6285. msgstr ""
  6286. #. type: Plain text
  6287. #: guix-git/doc/guix.texi:2228
  6288. 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:"
  6289. msgstr ""
  6290. #. type: example
  6291. #: guix-git/doc/guix.texi:2232
  6292. #, no-wrap
  6293. msgid ""
  6294. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6295. "sync\n"
  6296. msgstr ""
  6297. #. type: Plain text
  6298. #: guix-git/doc/guix.texi:2235
  6299. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6300. msgstr ""
  6301. #. type: unnumberedsubsec
  6302. #: guix-git/doc/guix.texi:2236
  6303. #, no-wrap
  6304. msgid "Burning on a DVD"
  6305. msgstr ""
  6306. #. type: Plain text
  6307. #: guix-git/doc/guix.texi:2241
  6308. 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:"
  6309. msgstr ""
  6310. #. type: example
  6311. #: guix-git/doc/guix.texi:2244
  6312. #, no-wrap
  6313. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6314. msgstr ""
  6315. #. type: Plain text
  6316. #: guix-git/doc/guix.texi:2247
  6317. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6318. msgstr ""
  6319. #. type: unnumberedsubsec
  6320. #: guix-git/doc/guix.texi:2248
  6321. #, no-wrap
  6322. msgid "Booting"
  6323. msgstr ""
  6324. #. type: Plain text
  6325. #: guix-git/doc/guix.texi:2255
  6326. 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}."
  6327. msgstr ""
  6328. #. type: Plain text
  6329. #: guix-git/doc/guix.texi:2258
  6330. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6331. msgstr ""
  6332. #. type: Plain text
  6333. #: guix-git/doc/guix.texi:2268
  6334. 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})."
  6335. msgstr ""
  6336. #. type: Plain text
  6337. #: guix-git/doc/guix.texi:2276
  6338. 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."
  6339. msgstr ""
  6340. #. type: quotation
  6341. #: guix-git/doc/guix.texi:2281
  6342. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6343. msgstr ""
  6344. #. type: Plain text
  6345. #: guix-git/doc/guix.texi:2288
  6346. 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."
  6347. msgstr ""
  6348. #. type: Plain text
  6349. #: guix-git/doc/guix.texi:2293
  6350. 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."
  6351. msgstr ""
  6352. #. type: Plain text
  6353. #: guix-git/doc/guix.texi:2295
  6354. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6355. msgstr ""
  6356. #. type: Plain text
  6357. #: guix-git/doc/guix.texi:2300
  6358. 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."
  6359. msgstr ""
  6360. #. type: Plain text
  6361. #: guix-git/doc/guix.texi:2302
  6362. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6363. msgstr ""
  6364. #. type: Plain text
  6365. #: guix-git/doc/guix.texi:2305
  6366. 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."
  6367. msgstr ""
  6368. #. type: Plain text
  6369. #: guix-git/doc/guix.texi:2307
  6370. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6371. msgstr ""
  6372. #. type: Plain text
  6373. #: guix-git/doc/guix.texi:2312
  6374. 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!"
  6375. msgstr ""
  6376. #. type: Plain text
  6377. #: guix-git/doc/guix.texi:2322
  6378. 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})."
  6379. msgstr ""
  6380. #. type: Plain text
  6381. #: guix-git/doc/guix.texi:2328
  6382. 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})."
  6383. msgstr ""
  6384. #. type: subsection
  6385. #: guix-git/doc/guix.texi:2335
  6386. #, no-wrap
  6387. msgid "Keyboard Layout, Networking, and Partitioning"
  6388. msgstr ""
  6389. #. type: Plain text
  6390. #: guix-git/doc/guix.texi:2340
  6391. 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."
  6392. msgstr ""
  6393. #. type: cindex
  6394. #: guix-git/doc/guix.texi:2343 guix-git/doc/guix.texi:16062
  6395. #, no-wrap
  6396. msgid "keyboard layout"
  6397. msgstr ""
  6398. #. type: Plain text
  6399. #: guix-git/doc/guix.texi:2347
  6400. 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:"
  6401. msgstr ""
  6402. #. type: example
  6403. #: guix-git/doc/guix.texi:2350
  6404. #, no-wrap
  6405. msgid "loadkeys dvorak\n"
  6406. msgstr ""
  6407. #. type: Plain text
  6408. #: guix-git/doc/guix.texi:2355
  6409. 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."
  6410. msgstr ""
  6411. #. type: subsubsection
  6412. #: guix-git/doc/guix.texi:2356
  6413. #, no-wrap
  6414. msgid "Networking"
  6415. msgstr "Rete"
  6416. #. type: Plain text
  6417. #: guix-git/doc/guix.texi:2359
  6418. msgid "Run the following command to see what your network interfaces are called:"
  6419. msgstr ""
  6420. #. type: example
  6421. #: guix-git/doc/guix.texi:2362
  6422. #, no-wrap
  6423. msgid "ifconfig -a\n"
  6424. msgstr ""
  6425. #. type: table
  6426. #: guix-git/doc/guix.texi:2366 guix-git/doc/guix.texi:2388
  6427. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6428. msgstr ""
  6429. #. type: example
  6430. #: guix-git/doc/guix.texi:2369
  6431. #, no-wrap
  6432. msgid "ip address\n"
  6433. msgstr ""
  6434. #. type: Plain text
  6435. #: guix-git/doc/guix.texi:2376
  6436. 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}."
  6437. msgstr ""
  6438. #. type: item
  6439. #: guix-git/doc/guix.texi:2378
  6440. #, no-wrap
  6441. msgid "Wired connection"
  6442. msgstr ""
  6443. #. type: table
  6444. #: guix-git/doc/guix.texi:2381
  6445. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6446. msgstr ""
  6447. #. type: example
  6448. #: guix-git/doc/guix.texi:2384
  6449. #, no-wrap
  6450. msgid "ifconfig @var{interface} up\n"
  6451. msgstr ""
  6452. #. type: example
  6453. #: guix-git/doc/guix.texi:2391
  6454. #, no-wrap
  6455. msgid "ip link set @var{interface} up\n"
  6456. msgstr ""
  6457. #. type: item
  6458. #: guix-git/doc/guix.texi:2393
  6459. #, no-wrap
  6460. msgid "Wireless connection"
  6461. msgstr ""
  6462. #. type: cindex
  6463. #: guix-git/doc/guix.texi:2394 guix-git/doc/guix.texi:17971
  6464. #, no-wrap
  6465. msgid "wireless"
  6466. msgstr ""
  6467. #. type: cindex
  6468. #: guix-git/doc/guix.texi:2395 guix-git/doc/guix.texi:17972
  6469. #, no-wrap
  6470. msgid "WiFi"
  6471. msgstr ""
  6472. #. type: table
  6473. #: guix-git/doc/guix.texi:2400
  6474. 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}:"
  6475. msgstr ""
  6476. #. type: example
  6477. #: guix-git/doc/guix.texi:2403
  6478. #, no-wrap
  6479. msgid "nano wpa_supplicant.conf\n"
  6480. msgstr ""
  6481. #. type: table
  6482. #: guix-git/doc/guix.texi:2408
  6483. 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:"
  6484. msgstr ""
  6485. #. type: example
  6486. #: guix-git/doc/guix.texi:2415
  6487. #, no-wrap
  6488. msgid ""
  6489. "network=@{\n"
  6490. " ssid=\"@var{my-ssid}\"\n"
  6491. " key_mgmt=WPA-PSK\n"
  6492. " psk=\"the network's secret passphrase\"\n"
  6493. "@}\n"
  6494. msgstr ""
  6495. #. type: table
  6496. #: guix-git/doc/guix.texi:2420
  6497. 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):"
  6498. msgstr ""
  6499. #. type: example
  6500. #: guix-git/doc/guix.texi:2423
  6501. #, no-wrap
  6502. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6503. msgstr ""
  6504. #. type: table
  6505. #: guix-git/doc/guix.texi:2426
  6506. msgid "Run @command{man wpa_supplicant} for more information."
  6507. msgstr ""
  6508. #. type: cindex
  6509. #: guix-git/doc/guix.texi:2428
  6510. #, no-wrap
  6511. msgid "DHCP"
  6512. msgstr ""
  6513. #. type: Plain text
  6514. #: guix-git/doc/guix.texi:2431
  6515. 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:"
  6516. msgstr ""
  6517. #. type: example
  6518. #: guix-git/doc/guix.texi:2434
  6519. #, no-wrap
  6520. msgid "dhclient -v @var{interface}\n"
  6521. msgstr ""
  6522. #. type: Plain text
  6523. #: guix-git/doc/guix.texi:2437
  6524. msgid "Try to ping a server to see if networking is up and running:"
  6525. msgstr ""
  6526. #. type: example
  6527. #: guix-git/doc/guix.texi:2440
  6528. #, no-wrap
  6529. msgid "ping -c 3 gnu.org\n"
  6530. msgstr ""
  6531. #. type: Plain text
  6532. #: guix-git/doc/guix.texi:2444
  6533. 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."
  6534. msgstr ""
  6535. #. type: cindex
  6536. #: guix-git/doc/guix.texi:2445
  6537. #, no-wrap
  6538. msgid "proxy, during system installation"
  6539. msgstr ""
  6540. #. type: Plain text
  6541. #: guix-git/doc/guix.texi:2448
  6542. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6543. msgstr ""
  6544. #. type: example
  6545. #: guix-git/doc/guix.texi:2451
  6546. #, no-wrap
  6547. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6548. msgstr ""
  6549. #. type: Plain text
  6550. #: guix-git/doc/guix.texi:2456
  6551. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6552. msgstr ""
  6553. #. type: cindex
  6554. #: guix-git/doc/guix.texi:2457
  6555. #, no-wrap
  6556. msgid "installing over SSH"
  6557. msgstr ""
  6558. #. type: Plain text
  6559. #: guix-git/doc/guix.texi:2460
  6560. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6561. msgstr ""
  6562. #. type: example
  6563. #: guix-git/doc/guix.texi:2463
  6564. #, no-wrap
  6565. msgid "herd start ssh-daemon\n"
  6566. msgstr ""
  6567. #. type: Plain text
  6568. #: guix-git/doc/guix.texi:2467
  6569. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6570. msgstr ""
  6571. #. type: subsubsection
  6572. #: guix-git/doc/guix.texi:2468
  6573. #, no-wrap
  6574. msgid "Disk Partitioning"
  6575. msgstr ""
  6576. #. type: Plain text
  6577. #: guix-git/doc/guix.texi:2472
  6578. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6579. msgstr ""
  6580. #. type: Plain text
  6581. #: guix-git/doc/guix.texi:2477
  6582. 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:"
  6583. msgstr ""
  6584. #. type: example
  6585. #: guix-git/doc/guix.texi:2480
  6586. #, no-wrap
  6587. msgid "cfdisk\n"
  6588. msgstr ""
  6589. #. type: Plain text
  6590. #: guix-git/doc/guix.texi:2486
  6591. 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})."
  6592. msgstr ""
  6593. #. type: cindex
  6594. #: guix-git/doc/guix.texi:2487
  6595. #, no-wrap
  6596. msgid "EFI, installation"
  6597. msgstr ""
  6598. #. type: cindex
  6599. #: guix-git/doc/guix.texi:2488
  6600. #, no-wrap
  6601. msgid "UEFI, installation"
  6602. msgstr ""
  6603. #. type: cindex
  6604. #: guix-git/doc/guix.texi:2489
  6605. #, no-wrap
  6606. msgid "ESP, EFI system partition"
  6607. msgstr ""
  6608. #. type: Plain text
  6609. #: guix-git/doc/guix.texi:2493
  6610. 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}:"
  6611. msgstr ""
  6612. #. type: example
  6613. #: guix-git/doc/guix.texi:2496
  6614. #, no-wrap
  6615. msgid "parted /dev/sda set 1 esp on\n"
  6616. msgstr ""
  6617. #. type: vindex
  6618. #: guix-git/doc/guix.texi:2499 guix-git/doc/guix.texi:35133
  6619. #, no-wrap
  6620. msgid "grub-bootloader"
  6621. msgstr ""
  6622. #. type: vindex
  6623. #: guix-git/doc/guix.texi:2500 guix-git/doc/guix.texi:35127
  6624. #, no-wrap
  6625. msgid "grub-efi-bootloader"
  6626. msgstr ""
  6627. #. type: quotation
  6628. #: guix-git/doc/guix.texi:2507
  6629. 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."
  6630. msgstr ""
  6631. #. type: Plain text
  6632. #: guix-git/doc/guix.texi:2515
  6633. 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:"
  6634. msgstr ""
  6635. #. type: example
  6636. #: guix-git/doc/guix.texi:2518
  6637. #, no-wrap
  6638. msgid "mkfs.fat -F32 /dev/sda1\n"
  6639. msgstr ""
  6640. #. type: Plain text
  6641. #: guix-git/doc/guix.texi:2525
  6642. 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})."
  6643. msgstr ""
  6644. #. type: Plain text
  6645. #: guix-git/doc/guix.texi:2532
  6646. 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:"
  6647. msgstr ""
  6648. #. type: example
  6649. #: guix-git/doc/guix.texi:2535
  6650. #, no-wrap
  6651. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6652. msgstr ""
  6653. #. type: cindex
  6654. #: guix-git/doc/guix.texi:2537 guix-git/doc/guix.texi:14936
  6655. #, no-wrap
  6656. msgid "encrypted disk"
  6657. msgstr ""
  6658. #. type: Plain text
  6659. #: guix-git/doc/guix.texi:2542
  6660. 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)."
  6661. msgstr ""
  6662. #. type: quotation
  6663. #: guix-git/doc/guix.texi:2543 guix-git/doc/guix.texi:5318
  6664. #: guix-git/doc/guix.texi:6554 guix-git/doc/guix.texi:15062
  6665. #: guix-git/doc/guix.texi:21500 guix-git/doc/guix.texi:21507
  6666. #, no-wrap
  6667. msgid "Warning"
  6668. msgstr ""
  6669. #. type: quotation
  6670. #: guix-git/doc/guix.texi:2550
  6671. 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."
  6672. msgstr ""
  6673. #. type: Plain text
  6674. #: guix-git/doc/guix.texi:2555
  6675. 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:"
  6676. msgstr ""
  6677. #. type: example
  6678. #: guix-git/doc/guix.texi:2560
  6679. #, no-wrap
  6680. msgid ""
  6681. "cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2\n"
  6682. "cryptsetup open /dev/sda2 my-partition\n"
  6683. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6684. msgstr ""
  6685. #. type: Plain text
  6686. #: guix-git/doc/guix.texi:2565
  6687. 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):"
  6688. msgstr ""
  6689. #. type: example
  6690. #: guix-git/doc/guix.texi:2568
  6691. #, no-wrap
  6692. msgid "mount LABEL=my-root /mnt\n"
  6693. msgstr ""
  6694. #. type: Plain text
  6695. #: guix-git/doc/guix.texi:2574
  6696. 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."
  6697. msgstr ""
  6698. #. type: Plain text
  6699. #: guix-git/doc/guix.texi:2578
  6700. 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:"
  6701. msgstr ""
  6702. #. type: example
  6703. #: guix-git/doc/guix.texi:2582
  6704. #, no-wrap
  6705. msgid ""
  6706. "mkswap /dev/sda3\n"
  6707. "swapon /dev/sda3\n"
  6708. msgstr ""
  6709. #. type: Plain text
  6710. #: guix-git/doc/guix.texi:2590
  6711. 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}.}:"
  6712. msgstr ""
  6713. #. type: example
  6714. #: guix-git/doc/guix.texi:2598
  6715. #, no-wrap
  6716. msgid ""
  6717. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6718. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6719. "# For security, make the file readable and writable only by root.\n"
  6720. "chmod 600 /mnt/swapfile\n"
  6721. "mkswap /mnt/swapfile\n"
  6722. "swapon /mnt/swapfile\n"
  6723. msgstr ""
  6724. #. type: Plain text
  6725. #: guix-git/doc/guix.texi:2603
  6726. 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."
  6727. msgstr ""
  6728. #. type: Plain text
  6729. #: guix-git/doc/guix.texi:2609
  6730. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6731. msgstr ""
  6732. #. type: example
  6733. #: guix-git/doc/guix.texi:2612
  6734. #, no-wrap
  6735. msgid "herd start cow-store /mnt\n"
  6736. msgstr ""
  6737. #. type: Plain text
  6738. #: guix-git/doc/guix.texi:2619
  6739. 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."
  6740. msgstr ""
  6741. #. type: Plain text
  6742. #: guix-git/doc/guix.texi:2630
  6743. 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."
  6744. msgstr ""
  6745. #. type: Plain text
  6746. #: guix-git/doc/guix.texi:2637
  6747. 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:"
  6748. msgstr ""
  6749. #. type: example
  6750. #: guix-git/doc/guix.texi:2642
  6751. #, no-wrap
  6752. msgid ""
  6753. "# mkdir /mnt/etc\n"
  6754. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6755. "# nano /mnt/etc/config.scm\n"
  6756. msgstr ""
  6757. #. type: Plain text
  6758. #: guix-git/doc/guix.texi:2646
  6759. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6760. msgstr ""
  6761. #. type: itemize
  6762. #: guix-git/doc/guix.texi:2658
  6763. 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."
  6764. msgstr ""
  6765. #. type: itemize
  6766. #: guix-git/doc/guix.texi:2664
  6767. 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."
  6768. msgstr ""
  6769. #. type: itemize
  6770. #: guix-git/doc/guix.texi:2668
  6771. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6772. msgstr ""
  6773. #. type: Plain text
  6774. #: guix-git/doc/guix.texi:2673
  6775. 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}):"
  6776. msgstr ""
  6777. #. type: example
  6778. #: guix-git/doc/guix.texi:2676
  6779. #, no-wrap
  6780. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6781. msgstr ""
  6782. #. type: Plain text
  6783. #: guix-git/doc/guix.texi:2683
  6784. 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."
  6785. msgstr ""
  6786. #. type: Plain text
  6787. #: guix-git/doc/guix.texi:2691
  6788. 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!"
  6789. msgstr ""
  6790. #. type: Plain text
  6791. #: guix-git/doc/guix.texi:2698
  6792. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6793. msgstr ""
  6794. #. type: example
  6795. #: guix-git/doc/guix.texi:2702
  6796. #, no-wrap
  6797. msgid ""
  6798. "guix pull\n"
  6799. "sudo guix system reconfigure /etc/config.scm\n"
  6800. msgstr ""
  6801. #. type: Plain text
  6802. #: guix-git/doc/guix.texi:2708
  6803. 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})."
  6804. msgstr ""
  6805. #. type: cindex
  6806. #: guix-git/doc/guix.texi:2711
  6807. #, no-wrap
  6808. msgid "sudo vs. @command{guix pull}"
  6809. msgstr ""
  6810. #. type: quotation
  6811. #: guix-git/doc/guix.texi:2715
  6812. 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{}}."
  6813. msgstr ""
  6814. #. type: quotation
  6815. #: guix-git/doc/guix.texi:2720
  6816. 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."
  6817. msgstr ""
  6818. #. type: Plain text
  6819. #: guix-git/doc/guix.texi:2725
  6820. 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!"
  6821. msgstr ""
  6822. #. type: section
  6823. #: guix-git/doc/guix.texi:2728
  6824. #, no-wrap
  6825. msgid "Installing Guix in a Virtual Machine"
  6826. msgstr ""
  6827. #. type: cindex
  6828. #: guix-git/doc/guix.texi:2730
  6829. #, no-wrap
  6830. msgid "virtual machine, Guix System installation"
  6831. msgstr ""
  6832. #. type: cindex
  6833. #: guix-git/doc/guix.texi:2731
  6834. #, no-wrap
  6835. msgid "virtual private server (VPS)"
  6836. msgstr ""
  6837. #. type: cindex
  6838. #: guix-git/doc/guix.texi:2732
  6839. #, no-wrap
  6840. msgid "VPS (virtual private server)"
  6841. msgstr ""
  6842. #. type: Plain text
  6843. #: guix-git/doc/guix.texi:2736
  6844. 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."
  6845. msgstr ""
  6846. #. type: Plain text
  6847. #: guix-git/doc/guix.texi:2739
  6848. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6849. msgstr ""
  6850. #. type: enumerate
  6851. #: guix-git/doc/guix.texi:2744
  6852. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6853. msgstr ""
  6854. #. type: enumerate
  6855. #: guix-git/doc/guix.texi:2748
  6856. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6857. msgstr ""
  6858. #. type: example
  6859. #: guix-git/doc/guix.texi:2751
  6860. #, no-wrap
  6861. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6862. msgstr ""
  6863. #. type: enumerate
  6864. #: guix-git/doc/guix.texi:2755
  6865. 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."
  6866. msgstr ""
  6867. #. type: enumerate
  6868. #: guix-git/doc/guix.texi:2758
  6869. msgid "Boot the USB installation image in an VM:"
  6870. msgstr ""
  6871. #. type: example
  6872. #: guix-git/doc/guix.texi:2764
  6873. #, no-wrap
  6874. msgid ""
  6875. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6876. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6877. " -drive file=guix-system.img \\\n"
  6878. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6879. msgstr ""
  6880. #. type: enumerate
  6881. #: guix-git/doc/guix.texi:2768
  6882. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6883. msgstr ""
  6884. #. type: enumerate
  6885. #: guix-git/doc/guix.texi:2772
  6886. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6887. msgstr ""
  6888. #. type: Plain text
  6889. #: guix-git/doc/guix.texi:2777
  6890. 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."
  6891. msgstr ""
  6892. #. type: cindex
  6893. #: guix-git/doc/guix.texi:2781
  6894. #, no-wrap
  6895. msgid "installation image"
  6896. msgstr ""
  6897. #. type: Plain text
  6898. #: guix-git/doc/guix.texi:2784
  6899. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6900. msgstr ""
  6901. #. type: example
  6902. #: guix-git/doc/guix.texi:2787
  6903. #, no-wrap
  6904. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6905. msgstr ""
  6906. #. type: Plain text
  6907. #: guix-git/doc/guix.texi:2792
  6908. 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."
  6909. msgstr ""
  6910. #. type: section
  6911. #: guix-git/doc/guix.texi:2793
  6912. #, no-wrap
  6913. msgid "Building the Installation Image for ARM Boards"
  6914. msgstr ""
  6915. #. type: Plain text
  6916. #: guix-git/doc/guix.texi:2797
  6917. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6918. msgstr ""
  6919. #. type: Plain text
  6920. #: guix-git/doc/guix.texi:2801
  6921. 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:"
  6922. msgstr ""
  6923. #. type: example
  6924. #: guix-git/doc/guix.texi:2804
  6925. #, no-wrap
  6926. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6927. msgstr ""
  6928. #. type: Plain text
  6929. #: guix-git/doc/guix.texi:2808
  6930. 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."
  6931. msgstr ""
  6932. #. type: Plain text
  6933. #: guix-git/doc/guix.texi:2818
  6934. 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."
  6935. msgstr ""
  6936. #. type: Plain text
  6937. #: guix-git/doc/guix.texi:2822
  6938. 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:"
  6939. msgstr ""
  6940. #. type: example
  6941. #: guix-git/doc/guix.texi:2825
  6942. #, no-wrap
  6943. msgid "guix search text editor\n"
  6944. msgstr ""
  6945. #. type: Plain text
  6946. #: guix-git/doc/guix.texi:2832
  6947. 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}!):"
  6948. msgstr ""
  6949. #. type: example
  6950. #: guix-git/doc/guix.texi:2835
  6951. #, no-wrap
  6952. msgid "guix install emacs\n"
  6953. msgstr ""
  6954. #. type: cindex
  6955. #: guix-git/doc/guix.texi:2837 guix-git/doc/guix.texi:3149
  6956. #: guix-git/doc/guix.texi:3201
  6957. #, no-wrap
  6958. msgid "profile"
  6959. msgstr ""
  6960. #. type: Plain text
  6961. #: guix-git/doc/guix.texi:2845
  6962. 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)."
  6963. msgstr ""
  6964. #. type: Plain text
  6965. #: guix-git/doc/guix.texi:2848
  6966. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6967. msgstr ""
  6968. #. type: example
  6969. #: guix-git/doc/guix.texi:2851
  6970. #, no-wrap
  6971. msgid ""
  6972. "hint: Consider setting the necessary environment variables by running:\n"
  6973. "\n"
  6974. msgstr ""
  6975. #. type: example
  6976. #: guix-git/doc/guix.texi:2854
  6977. #, no-wrap
  6978. msgid ""
  6979. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6980. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6981. "\n"
  6982. msgstr ""
  6983. #. type: example
  6984. #: guix-git/doc/guix.texi:2856
  6985. #, no-wrap
  6986. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6987. msgstr ""
  6988. #. type: Plain text
  6989. #: guix-git/doc/guix.texi:2870
  6990. 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."
  6991. msgstr ""
  6992. #. type: Plain text
  6993. #: guix-git/doc/guix.texi:2873
  6994. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6995. msgstr ""
  6996. #. type: example
  6997. #: guix-git/doc/guix.texi:2876
  6998. #, no-wrap
  6999. msgid "guix package --list-installed\n"
  7000. msgstr ""
  7001. #. type: Plain text
  7002. #: guix-git/doc/guix.texi:2881
  7003. 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:"
  7004. msgstr ""
  7005. #. type: example
  7006. #: guix-git/doc/guix.texi:2884
  7007. #, no-wrap
  7008. msgid "guix package --roll-back\n"
  7009. msgstr ""
  7010. #. type: Plain text
  7011. #: guix-git/doc/guix.texi:2889
  7012. 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:"
  7013. msgstr ""
  7014. #. type: example
  7015. #: guix-git/doc/guix.texi:2892
  7016. #, no-wrap
  7017. msgid "guix package --list-generations\n"
  7018. msgstr ""
  7019. #. type: Plain text
  7020. #: guix-git/doc/guix.texi:2895
  7021. msgid "Now you know the basics of package management!"
  7022. msgstr ""
  7023. #. type: quotation
  7024. #: guix-git/doc/guix.texi:2896 guix-git/doc/guix.texi:2955
  7025. #, no-wrap
  7026. msgid "Going further"
  7027. msgstr ""
  7028. #. type: quotation
  7029. #: guix-git/doc/guix.texi:2904
  7030. 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."
  7031. msgstr ""
  7032. #. type: Plain text
  7033. #: guix-git/doc/guix.texi:2909
  7034. 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:"
  7035. msgstr ""
  7036. #. type: Plain text
  7037. #: guix-git/doc/guix.texi:2919
  7038. 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}:"
  7039. msgstr ""
  7040. #. type: example
  7041. #: guix-git/doc/guix.texi:2923
  7042. #, no-wrap
  7043. msgid ""
  7044. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  7045. ". \"$GUIX_PROFILE/etc/profile\"\n"
  7046. msgstr ""
  7047. #. type: Plain text
  7048. #: guix-git/doc/guix.texi:2927
  7049. msgid "You must also instruct your shell to point to this new @command{guix}:"
  7050. msgstr ""
  7051. #. type: example
  7052. #: guix-git/doc/guix.texi:2930
  7053. #, no-wrap
  7054. msgid "hash guix\n"
  7055. msgstr ""
  7056. #. type: Plain text
  7057. #: guix-git/doc/guix.texi:2934
  7058. 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:"
  7059. msgstr ""
  7060. #. type: example
  7061. #: guix-git/doc/guix.texi:2937
  7062. #, no-wrap
  7063. msgid "guix upgrade\n"
  7064. msgstr ""
  7065. #. type: Plain text
  7066. #: guix-git/doc/guix.texi:2943
  7067. 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!"
  7068. msgstr ""
  7069. #. type: Plain text
  7070. #: guix-git/doc/guix.texi:2946
  7071. msgid "You can display the exact revision of Guix you're currently using by running:"
  7072. msgstr ""
  7073. #. type: example
  7074. #: guix-git/doc/guix.texi:2949
  7075. #, no-wrap
  7076. msgid "guix describe\n"
  7077. msgstr ""
  7078. #. type: Plain text
  7079. #: guix-git/doc/guix.texi:2954
  7080. 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."
  7081. msgstr ""
  7082. #. type: quotation
  7083. #: guix-git/doc/guix.texi:2960
  7084. 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})."
  7085. msgstr ""
  7086. #. type: Plain text
  7087. #: guix-git/doc/guix.texi:2965
  7088. 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:"
  7089. msgstr ""
  7090. #. type: example
  7091. #: guix-git/doc/guix.texi:2968
  7092. #, no-wrap
  7093. msgid "sudo guix system reconfigure /etc/config.scm\n"
  7094. msgstr ""
  7095. #. type: Plain text
  7096. #: guix-git/doc/guix.texi:2977
  7097. 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}:"
  7098. msgstr ""
  7099. #. type: example
  7100. #: guix-git/doc/guix.texi:2980
  7101. #, no-wrap
  7102. msgid "sudo guix system roll-back\n"
  7103. msgstr ""
  7104. #. type: Plain text
  7105. #: guix-git/doc/guix.texi:2987
  7106. 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."
  7107. msgstr ""
  7108. #. type: Plain text
  7109. #: guix-git/doc/guix.texi:2989
  7110. msgid "Now you know enough to get started!"
  7111. msgstr ""
  7112. #. type: quotation
  7113. #: guix-git/doc/guix.texi:2990
  7114. #, no-wrap
  7115. msgid "Resources"
  7116. msgstr ""
  7117. #. type: quotation
  7118. #: guix-git/doc/guix.texi:2993
  7119. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  7120. msgstr ""
  7121. #. type: itemize
  7122. #: guix-git/doc/guix.texi:2998
  7123. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  7124. msgstr ""
  7125. #. type: itemize
  7126. #: guix-git/doc/guix.texi:3003
  7127. 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."
  7128. msgstr ""
  7129. #. type: itemize
  7130. #: guix-git/doc/guix.texi:3008
  7131. 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."
  7132. msgstr ""
  7133. #. type: itemize
  7134. #: guix-git/doc/guix.texi:3012
  7135. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  7136. msgstr ""
  7137. #. type: quotation
  7138. #: guix-git/doc/guix.texi:3015
  7139. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  7140. msgstr ""
  7141. #. type: Plain text
  7142. #: guix-git/doc/guix.texi:3026
  7143. 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."
  7144. msgstr ""
  7145. #. type: Plain text
  7146. #: guix-git/doc/guix.texi:3034
  7147. 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):"
  7148. msgstr ""
  7149. #. type: example
  7150. #: guix-git/doc/guix.texi:3037
  7151. #, no-wrap
  7152. msgid "guix install emacs-guix\n"
  7153. msgstr ""
  7154. #. type: Plain text
  7155. #: guix-git/doc/guix.texi:3058
  7156. 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."
  7157. msgstr ""
  7158. #. type: Plain text
  7159. #: guix-git/doc/guix.texi:3062
  7160. 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."
  7161. msgstr ""
  7162. #. type: Plain text
  7163. #: guix-git/doc/guix.texi:3067
  7164. 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}."
  7165. msgstr ""
  7166. #. type: Plain text
  7167. #: guix-git/doc/guix.texi:3075
  7168. 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."
  7169. msgstr ""
  7170. #. type: Plain text
  7171. #: guix-git/doc/guix.texi:3079
  7172. 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}."
  7173. msgstr ""
  7174. #. type: cindex
  7175. #: guix-git/doc/guix.texi:3080 guix-git/doc/guix.texi:3163
  7176. #, no-wrap
  7177. msgid "transactions"
  7178. msgstr ""
  7179. #. type: Plain text
  7180. #: guix-git/doc/guix.texi:3087
  7181. 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."
  7182. msgstr ""
  7183. #. type: Plain text
  7184. #: guix-git/doc/guix.texi:3095
  7185. 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})."
  7186. msgstr ""
  7187. #. type: Plain text
  7188. #: guix-git/doc/guix.texi:3102
  7189. 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."
  7190. msgstr ""
  7191. #. type: Plain text
  7192. #: guix-git/doc/guix.texi:3115
  7193. 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})."
  7194. msgstr ""
  7195. #. type: Plain text
  7196. #: guix-git/doc/guix.texi:3126
  7197. 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})."
  7198. msgstr ""
  7199. #. type: Plain text
  7200. #: guix-git/doc/guix.texi:3132
  7201. 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})."
  7202. msgstr ""
  7203. #. type: cindex
  7204. #: guix-git/doc/guix.texi:3133
  7205. #, no-wrap
  7206. msgid "replication, of software environments"
  7207. msgstr ""
  7208. #. type: cindex
  7209. #: guix-git/doc/guix.texi:3134
  7210. #, no-wrap
  7211. msgid "provenance tracking, of software artifacts"
  7212. msgstr ""
  7213. #. type: Plain text
  7214. #: guix-git/doc/guix.texi:3141
  7215. 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."
  7216. msgstr ""
  7217. #. type: section
  7218. #: guix-git/doc/guix.texi:3143
  7219. #, no-wrap
  7220. msgid "Invoking @command{guix package}"
  7221. msgstr ""
  7222. #. type: cindex
  7223. #: guix-git/doc/guix.texi:3145
  7224. #, no-wrap
  7225. msgid "installing packages"
  7226. msgstr ""
  7227. #. type: cindex
  7228. #: guix-git/doc/guix.texi:3146
  7229. #, no-wrap
  7230. msgid "removing packages"
  7231. msgstr ""
  7232. #. type: cindex
  7233. #: guix-git/doc/guix.texi:3147
  7234. #, no-wrap
  7235. msgid "package installation"
  7236. msgstr ""
  7237. #. type: cindex
  7238. #: guix-git/doc/guix.texi:3148
  7239. #, no-wrap
  7240. msgid "package removal"
  7241. msgstr ""
  7242. #. type: Plain text
  7243. #: guix-git/doc/guix.texi:3158
  7244. 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:"
  7245. msgstr ""
  7246. #. type: example
  7247. #: guix-git/doc/guix.texi:3161
  7248. #, no-wrap
  7249. msgid "guix package @var{options}\n"
  7250. msgstr ""
  7251. #. type: Plain text
  7252. #: guix-git/doc/guix.texi:3168
  7253. 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."
  7254. msgstr ""
  7255. #. type: Plain text
  7256. #: guix-git/doc/guix.texi:3171
  7257. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7258. msgstr ""
  7259. #. type: example
  7260. #: guix-git/doc/guix.texi:3174
  7261. #, no-wrap
  7262. msgid "guix package -r lua -i guile guile-cairo\n"
  7263. msgstr ""
  7264. #. type: cindex
  7265. #: guix-git/doc/guix.texi:3176
  7266. #, no-wrap
  7267. msgid "aliases, for @command{guix package}"
  7268. msgstr ""
  7269. #. type: Plain text
  7270. #: guix-git/doc/guix.texi:3178
  7271. msgid "For your convenience, we also provide the following aliases:"
  7272. msgstr ""
  7273. #. type: itemize
  7274. #: guix-git/doc/guix.texi:3182
  7275. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7276. msgstr ""
  7277. #. type: itemize
  7278. #: guix-git/doc/guix.texi:3184
  7279. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7280. msgstr ""
  7281. #. type: itemize
  7282. #: guix-git/doc/guix.texi:3186
  7283. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7284. msgstr ""
  7285. #. type: itemize
  7286. #: guix-git/doc/guix.texi:3188
  7287. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7288. msgstr ""
  7289. #. type: itemize
  7290. #: guix-git/doc/guix.texi:3190
  7291. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7292. msgstr ""
  7293. #. type: Plain text
  7294. #: guix-git/doc/guix.texi:3195
  7295. 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."
  7296. msgstr ""
  7297. #. type: Plain text
  7298. #: guix-git/doc/guix.texi:3200
  7299. 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}})."
  7300. msgstr ""
  7301. #. type: Plain text
  7302. #: guix-git/doc/guix.texi:3207
  7303. 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."
  7304. msgstr ""
  7305. #. type: cindex
  7306. #: guix-git/doc/guix.texi:3207 guix-git/doc/guix.texi:3451
  7307. #, no-wrap
  7308. msgid "search paths"
  7309. msgstr ""
  7310. #. type: Plain text
  7311. #: guix-git/doc/guix.texi:3212
  7312. 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:"
  7313. msgstr ""
  7314. #. type: example
  7315. #: guix-git/doc/guix.texi:3216
  7316. #, no-wrap
  7317. msgid ""
  7318. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7319. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7320. msgstr ""
  7321. #. type: Plain text
  7322. #: guix-git/doc/guix.texi:3227
  7323. 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}."
  7324. msgstr ""
  7325. #. type: Plain text
  7326. #: guix-git/doc/guix.texi:3229
  7327. msgid "The @var{options} can be among the following:"
  7328. msgstr ""
  7329. #. type: item
  7330. #: guix-git/doc/guix.texi:3232
  7331. #, no-wrap
  7332. msgid "--install=@var{package} @dots{}"
  7333. msgstr ""
  7334. #. type: itemx
  7335. #: guix-git/doc/guix.texi:3233
  7336. #, no-wrap
  7337. msgid "-i @var{package} @dots{}"
  7338. msgstr ""
  7339. #. type: table
  7340. #: guix-git/doc/guix.texi:3235
  7341. msgid "Install the specified @var{package}s."
  7342. msgstr ""
  7343. #. type: table
  7344. #: guix-git/doc/guix.texi:3240
  7345. 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)."
  7346. msgstr ""
  7347. #. type: table
  7348. #: guix-git/doc/guix.texi:3248
  7349. 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})."
  7350. msgstr ""
  7351. #. type: cindex
  7352. #: guix-git/doc/guix.texi:3249
  7353. #, no-wrap
  7354. msgid "propagated inputs"
  7355. msgstr ""
  7356. #. type: table
  7357. #: guix-git/doc/guix.texi:3255
  7358. 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)."
  7359. msgstr ""
  7360. #. type: anchor{#1}
  7361. #: guix-git/doc/guix.texi:3262
  7362. msgid "package-cmd-propagated-inputs"
  7363. msgstr ""
  7364. #. type: table
  7365. #: guix-git/doc/guix.texi:3262
  7366. 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."
  7367. msgstr ""
  7368. #. type: table
  7369. #: guix-git/doc/guix.texi:3267
  7370. 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."
  7371. msgstr ""
  7372. #. type: item
  7373. #: guix-git/doc/guix.texi:3268
  7374. #, no-wrap
  7375. msgid "--install-from-expression=@var{exp}"
  7376. msgstr ""
  7377. #. type: itemx
  7378. #: guix-git/doc/guix.texi:3269
  7379. #, no-wrap
  7380. msgid "-e @var{exp}"
  7381. msgstr ""
  7382. #. type: table
  7383. #: guix-git/doc/guix.texi:3271
  7384. msgid "Install the package @var{exp} evaluates to."
  7385. msgstr ""
  7386. #. type: table
  7387. #: guix-git/doc/guix.texi:3276
  7388. 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)}."
  7389. msgstr ""
  7390. #. type: table
  7391. #: guix-git/doc/guix.texi:3280
  7392. 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."
  7393. msgstr ""
  7394. #. type: item
  7395. #: guix-git/doc/guix.texi:3281
  7396. #, no-wrap
  7397. msgid "--install-from-file=@var{file}"
  7398. msgstr ""
  7399. #. type: itemx
  7400. #: guix-git/doc/guix.texi:3282 guix-git/doc/guix.texi:5821
  7401. #: guix-git/doc/guix.texi:11814
  7402. #, no-wrap
  7403. msgid "-f @var{file}"
  7404. msgstr ""
  7405. #. type: table
  7406. #: guix-git/doc/guix.texi:3284
  7407. msgid "Install the package that the code within @var{file} evaluates to."
  7408. msgstr ""
  7409. #. type: table
  7410. #: guix-git/doc/guix.texi:3287 guix-git/doc/guix.texi:5827
  7411. #: guix-git/doc/guix.texi:6221
  7412. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7413. msgstr ""
  7414. #. type: include
  7415. #: guix-git/doc/guix.texi:3289 guix-git/doc/guix.texi:11822
  7416. #, no-wrap
  7417. msgid "package-hello.scm"
  7418. msgstr ""
  7419. #. type: table
  7420. #: guix-git/doc/guix.texi:3296
  7421. 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})."
  7422. msgstr ""
  7423. #. type: table
  7424. #: guix-git/doc/guix.texi:3301
  7425. 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}:"
  7426. msgstr ""
  7427. #. type: example
  7428. #: guix-git/doc/guix.texi:3304 guix-git/doc/guix.texi:11832
  7429. #, no-wrap
  7430. msgid "@verbatiminclude package-hello.json\n"
  7431. msgstr ""
  7432. #. type: item
  7433. #: guix-git/doc/guix.texi:3306
  7434. #, no-wrap
  7435. msgid "--remove=@var{package} @dots{}"
  7436. msgstr ""
  7437. #. type: itemx
  7438. #: guix-git/doc/guix.texi:3307
  7439. #, no-wrap
  7440. msgid "-r @var{package} @dots{}"
  7441. msgstr ""
  7442. #. type: table
  7443. #: guix-git/doc/guix.texi:3309
  7444. msgid "Remove the specified @var{package}s."
  7445. msgstr ""
  7446. #. type: table
  7447. #: guix-git/doc/guix.texi:3314
  7448. 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}."
  7449. msgstr ""
  7450. #. type: item
  7451. #: guix-git/doc/guix.texi:3315
  7452. #, no-wrap
  7453. msgid "--upgrade[=@var{regexp} @dots{}]"
  7454. msgstr ""
  7455. #. type: itemx
  7456. #: guix-git/doc/guix.texi:3316
  7457. #, no-wrap
  7458. msgid "-u [@var{regexp} @dots{}]"
  7459. msgstr ""
  7460. #. type: cindex
  7461. #: guix-git/doc/guix.texi:3317
  7462. #, no-wrap
  7463. msgid "upgrading packages"
  7464. msgstr ""
  7465. #. type: table
  7466. #: guix-git/doc/guix.texi:3321
  7467. 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."
  7468. msgstr ""
  7469. #. type: table
  7470. #: guix-git/doc/guix.texi:3326
  7471. 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})."
  7472. msgstr ""
  7473. #. type: cindex
  7474. #: guix-git/doc/guix.texi:3327
  7475. #, no-wrap
  7476. msgid "package transformations, upgrades"
  7477. msgstr ""
  7478. #. type: table
  7479. #: guix-git/doc/guix.texi:3332
  7480. 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:"
  7481. msgstr ""
  7482. #. type: example
  7483. #: guix-git/doc/guix.texi:3335
  7484. #, no-wrap
  7485. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7486. msgstr ""
  7487. #. type: table
  7488. #: guix-git/doc/guix.texi:3340
  7489. 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."
  7490. msgstr ""
  7491. #. type: table
  7492. #: guix-git/doc/guix.texi:3345
  7493. 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:"
  7494. msgstr ""
  7495. #. type: example
  7496. #: guix-git/doc/guix.texi:3348
  7497. #, no-wrap
  7498. msgid "guix install @var{package}\n"
  7499. msgstr ""
  7500. #. type: item
  7501. #: guix-git/doc/guix.texi:3350
  7502. #, no-wrap
  7503. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7504. msgstr ""
  7505. #. type: table
  7506. #: guix-git/doc/guix.texi:3355
  7507. 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'':"
  7508. msgstr ""
  7509. #. type: example
  7510. #: guix-git/doc/guix.texi:3358
  7511. #, no-wrap
  7512. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7513. msgstr ""
  7514. #. type: anchor{#1}
  7515. #: guix-git/doc/guix.texi:3360
  7516. #, no-wrap
  7517. msgid "profile-manifest"
  7518. msgstr ""
  7519. #. type: item
  7520. #: guix-git/doc/guix.texi:3360 guix-git/doc/guix.texi:5839
  7521. #: guix-git/doc/guix.texi:6226 guix-git/doc/guix.texi:6680
  7522. #: guix-git/doc/guix.texi:12954 guix-git/doc/guix.texi:14596
  7523. #, no-wrap
  7524. msgid "--manifest=@var{file}"
  7525. msgstr ""
  7526. #. type: itemx
  7527. #: guix-git/doc/guix.texi:3361 guix-git/doc/guix.texi:5840
  7528. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:6681
  7529. #: guix-git/doc/guix.texi:12955
  7530. #, no-wrap
  7531. msgid "-m @var{file}"
  7532. msgstr ""
  7533. #. type: cindex
  7534. #: guix-git/doc/guix.texi:3362
  7535. #, no-wrap
  7536. msgid "profile declaration"
  7537. msgstr ""
  7538. #. type: cindex
  7539. #: guix-git/doc/guix.texi:3363
  7540. #, no-wrap
  7541. msgid "profile manifest"
  7542. msgstr ""
  7543. #. type: table
  7544. #: guix-git/doc/guix.texi:3367
  7545. 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."
  7546. msgstr ""
  7547. #. type: table
  7548. #: guix-git/doc/guix.texi:3373
  7549. 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."
  7550. msgstr ""
  7551. #. type: table
  7552. #: guix-git/doc/guix.texi:3377
  7553. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7554. msgstr ""
  7555. #. type: findex
  7556. #: guix-git/doc/guix.texi:3378
  7557. #, no-wrap
  7558. msgid "packages->manifest"
  7559. msgstr ""
  7560. #. type: lisp
  7561. #: guix-git/doc/guix.texi:3381
  7562. #, no-wrap
  7563. msgid ""
  7564. "(use-package-modules guile emacs)\n"
  7565. "\n"
  7566. msgstr ""
  7567. #. type: lisp
  7568. #: guix-git/doc/guix.texi:3387
  7569. #, no-wrap
  7570. msgid ""
  7571. "(packages->manifest\n"
  7572. " (list emacs\n"
  7573. " guile-2.0\n"
  7574. " ;; Use a specific package output.\n"
  7575. " (list guile-2.0 \"debug\")))\n"
  7576. msgstr ""
  7577. #. type: findex
  7578. #: guix-git/doc/guix.texi:3389
  7579. #, no-wrap
  7580. msgid "specifications->manifest"
  7581. msgstr ""
  7582. #. type: table
  7583. #: guix-git/doc/guix.texi:3396
  7584. 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:"
  7585. msgstr ""
  7586. #. type: lisp
  7587. #: guix-git/doc/guix.texi:3400
  7588. #, no-wrap
  7589. msgid ""
  7590. "(specifications->manifest\n"
  7591. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7592. msgstr ""
  7593. #. type: findex
  7594. #: guix-git/doc/guix.texi:3402
  7595. #, no-wrap
  7596. msgid "package->development-manifest"
  7597. msgstr ""
  7598. #. type: table
  7599. #: guix-git/doc/guix.texi:3405
  7600. msgid "You might also want to create a manifest for all the dependencies of a package, rather than the package itself:"
  7601. msgstr ""
  7602. #. type: lisp
  7603. #: guix-git/doc/guix.texi:3408
  7604. #, no-wrap
  7605. msgid "(package->development-manifest (specification->package \"emacs\"))\n"
  7606. msgstr ""
  7607. #. type: table
  7608. #: guix-git/doc/guix.texi:3412
  7609. msgid "The example above gives you all the software required to develop Emacs, similar to what @command{guix environment emacs} provides."
  7610. msgstr ""
  7611. #. type: table
  7612. #: guix-git/doc/guix.texi:3415
  7613. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7614. msgstr ""
  7615. #. type: item
  7616. #: guix-git/doc/guix.texi:3416 guix-git/doc/guix.texi:4530
  7617. #, no-wrap
  7618. msgid "--roll-back"
  7619. msgstr ""
  7620. #. type: cindex
  7621. #: guix-git/doc/guix.texi:3417 guix-git/doc/guix.texi:4531
  7622. #: guix-git/doc/guix.texi:35559 guix-git/doc/guix.texi:38314
  7623. #, no-wrap
  7624. msgid "rolling back"
  7625. msgstr ""
  7626. #. type: cindex
  7627. #: guix-git/doc/guix.texi:3418 guix-git/doc/guix.texi:4532
  7628. #, no-wrap
  7629. msgid "undoing transactions"
  7630. msgstr ""
  7631. #. type: cindex
  7632. #: guix-git/doc/guix.texi:3419 guix-git/doc/guix.texi:4533
  7633. #, no-wrap
  7634. msgid "transactions, undoing"
  7635. msgstr ""
  7636. #. type: table
  7637. #: guix-git/doc/guix.texi:3422
  7638. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7639. msgstr ""
  7640. #. type: table
  7641. #: guix-git/doc/guix.texi:3425
  7642. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7643. msgstr ""
  7644. #. type: table
  7645. #: guix-git/doc/guix.texi:3429
  7646. 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."
  7647. msgstr ""
  7648. #. type: table
  7649. #: guix-git/doc/guix.texi:3433
  7650. 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."
  7651. msgstr ""
  7652. #. type: item
  7653. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4537
  7654. #, no-wrap
  7655. msgid "--switch-generation=@var{pattern}"
  7656. msgstr ""
  7657. #. type: itemx
  7658. #: guix-git/doc/guix.texi:3435 guix-git/doc/guix.texi:4538
  7659. #, no-wrap
  7660. msgid "-S @var{pattern}"
  7661. msgstr ""
  7662. #. type: cindex
  7663. #: guix-git/doc/guix.texi:3436 guix-git/doc/guix.texi:3669
  7664. #: guix-git/doc/guix.texi:4539 guix-git/doc/guix.texi:35517
  7665. #, no-wrap
  7666. msgid "generations"
  7667. msgstr ""
  7668. #. type: table
  7669. #: guix-git/doc/guix.texi:3438 guix-git/doc/guix.texi:4541
  7670. msgid "Switch to a particular generation defined by @var{pattern}."
  7671. msgstr ""
  7672. #. type: table
  7673. #: guix-git/doc/guix.texi:3444 guix-git/doc/guix.texi:4547
  7674. 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}."
  7675. msgstr ""
  7676. #. type: table
  7677. #: guix-git/doc/guix.texi:3449
  7678. 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."
  7679. msgstr ""
  7680. #. type: item
  7681. #: guix-git/doc/guix.texi:3450
  7682. #, no-wrap
  7683. msgid "--search-paths[=@var{kind}]"
  7684. msgstr ""
  7685. #. type: table
  7686. #: guix-git/doc/guix.texi:3456
  7687. 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."
  7688. msgstr ""
  7689. #. type: table
  7690. #: guix-git/doc/guix.texi:3465
  7691. 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.)"
  7692. msgstr ""
  7693. #. type: table
  7694. #: guix-git/doc/guix.texi:3468
  7695. msgid "The typical use case is to define these environment variables in the shell:"
  7696. msgstr ""
  7697. #. type: example
  7698. #: guix-git/doc/guix.texi:3471
  7699. #, no-wrap
  7700. msgid "$ eval `guix package --search-paths`\n"
  7701. msgstr ""
  7702. #. type: table
  7703. #: guix-git/doc/guix.texi:3477
  7704. 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}."
  7705. msgstr ""
  7706. #. type: table
  7707. #: guix-git/doc/guix.texi:3480
  7708. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7709. msgstr ""
  7710. #. type: example
  7711. #: guix-git/doc/guix.texi:3485
  7712. #, no-wrap
  7713. msgid ""
  7714. "$ guix package -p foo -i guile\n"
  7715. "$ guix package -p bar -i guile-json\n"
  7716. "$ guix package -p foo -p bar --search-paths\n"
  7717. msgstr ""
  7718. #. type: table
  7719. #: guix-git/doc/guix.texi:3490
  7720. 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."
  7721. msgstr ""
  7722. #. type: cindex
  7723. #: guix-git/doc/guix.texi:3492
  7724. #, no-wrap
  7725. msgid "profile, choosing"
  7726. msgstr ""
  7727. #. type: item
  7728. #: guix-git/doc/guix.texi:3493 guix-git/doc/guix.texi:4567
  7729. #: guix-git/doc/guix.texi:4896 guix-git/doc/guix.texi:5849
  7730. #: guix-git/doc/guix.texi:6262
  7731. #, no-wrap
  7732. msgid "--profile=@var{profile}"
  7733. msgstr ""
  7734. #. type: itemx
  7735. #: guix-git/doc/guix.texi:3494 guix-git/doc/guix.texi:4568
  7736. #: guix-git/doc/guix.texi:4897 guix-git/doc/guix.texi:5850
  7737. #: guix-git/doc/guix.texi:6263
  7738. #, no-wrap
  7739. msgid "-p @var{profile}"
  7740. msgstr ""
  7741. #. type: table
  7742. #: guix-git/doc/guix.texi:3496
  7743. msgid "Use @var{profile} instead of the user's default profile."
  7744. msgstr ""
  7745. #. type: table
  7746. #: guix-git/doc/guix.texi:3501
  7747. 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:"
  7748. msgstr ""
  7749. #. type: example
  7750. #: guix-git/doc/guix.texi:3507
  7751. #, no-wrap
  7752. msgid ""
  7753. "$ guix install hello -p ~/code/my-profile\n"
  7754. "@dots{}\n"
  7755. "$ ~/code/my-profile/bin/hello\n"
  7756. "Hello, world!\n"
  7757. msgstr ""
  7758. #. type: table
  7759. #: guix-git/doc/guix.texi:3511
  7760. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7761. msgstr ""
  7762. #. type: example
  7763. #: guix-git/doc/guix.texi:3514
  7764. #, no-wrap
  7765. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7766. msgstr ""
  7767. #. type: item
  7768. #: guix-git/doc/guix.texi:3516
  7769. #, no-wrap
  7770. msgid "--list-profiles"
  7771. msgstr ""
  7772. #. type: table
  7773. #: guix-git/doc/guix.texi:3518
  7774. msgid "List all the user's profiles:"
  7775. msgstr ""
  7776. #. type: example
  7777. #: guix-git/doc/guix.texi:3525
  7778. #, no-wrap
  7779. msgid ""
  7780. "$ guix package --list-profiles\n"
  7781. "/home/charlie/.guix-profile\n"
  7782. "/home/charlie/code/my-profile\n"
  7783. "/home/charlie/code/devel-profile\n"
  7784. "/home/charlie/tmp/test\n"
  7785. msgstr ""
  7786. #. type: table
  7787. #: guix-git/doc/guix.texi:3528
  7788. msgid "When running as root, list all the profiles of all the users."
  7789. msgstr ""
  7790. #. type: cindex
  7791. #: guix-git/doc/guix.texi:3529
  7792. #, no-wrap
  7793. msgid "collisions, in a profile"
  7794. msgstr ""
  7795. #. type: cindex
  7796. #: guix-git/doc/guix.texi:3530
  7797. #, no-wrap
  7798. msgid "colliding packages in profiles"
  7799. msgstr ""
  7800. #. type: cindex
  7801. #: guix-git/doc/guix.texi:3531
  7802. #, no-wrap
  7803. msgid "profile collisions"
  7804. msgstr ""
  7805. #. type: item
  7806. #: guix-git/doc/guix.texi:3532
  7807. #, no-wrap
  7808. msgid "--allow-collisions"
  7809. msgstr ""
  7810. #. type: table
  7811. #: guix-git/doc/guix.texi:3534
  7812. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7813. msgstr ""
  7814. #. type: table
  7815. #: guix-git/doc/guix.texi:3538
  7816. 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."
  7817. msgstr ""
  7818. #. type: item
  7819. #: guix-git/doc/guix.texi:3539 guix-git/doc/guix.texi:4610
  7820. #: guix-git/doc/guix.texi:6766
  7821. #, no-wrap
  7822. msgid "--bootstrap"
  7823. msgstr ""
  7824. #. type: table
  7825. #: guix-git/doc/guix.texi:3542
  7826. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7827. msgstr ""
  7828. #. type: Plain text
  7829. #: guix-git/doc/guix.texi:3548
  7830. 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:"
  7831. msgstr ""
  7832. #. type: item
  7833. #: guix-git/doc/guix.texi:3551
  7834. #, no-wrap
  7835. msgid "--search=@var{regexp}"
  7836. msgstr ""
  7837. #. type: itemx
  7838. #: guix-git/doc/guix.texi:3552
  7839. #, no-wrap
  7840. msgid "-s @var{regexp}"
  7841. msgstr ""
  7842. #. type: anchor{#1}
  7843. #: guix-git/doc/guix.texi:3554
  7844. msgid "guix-search"
  7845. msgstr ""
  7846. #. type: cindex
  7847. #: guix-git/doc/guix.texi:3554
  7848. #, no-wrap
  7849. msgid "searching for packages"
  7850. msgstr ""
  7851. #. type: table
  7852. #: guix-git/doc/guix.texi:3560
  7853. 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})."
  7854. msgstr ""
  7855. #. type: table
  7856. #: guix-git/doc/guix.texi:3563
  7857. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7858. msgstr ""
  7859. #. type: example
  7860. #: guix-git/doc/guix.texi:3569
  7861. #, no-wrap
  7862. msgid ""
  7863. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7864. "name: jemalloc\n"
  7865. "version: 4.5.0\n"
  7866. "relevance: 6\n"
  7867. "\n"
  7868. msgstr ""
  7869. #. type: example
  7870. #: guix-git/doc/guix.texi:3573
  7871. #, no-wrap
  7872. msgid ""
  7873. "name: glibc\n"
  7874. "version: 2.25\n"
  7875. "relevance: 1\n"
  7876. "\n"
  7877. msgstr ""
  7878. #. type: example
  7879. #: guix-git/doc/guix.texi:3577
  7880. #, no-wrap
  7881. msgid ""
  7882. "name: libgc\n"
  7883. "version: 7.6.0\n"
  7884. "relevance: 1\n"
  7885. msgstr ""
  7886. #. type: table
  7887. #: guix-git/doc/guix.texi:3581
  7888. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7889. msgstr ""
  7890. #. type: example
  7891. #: guix-git/doc/guix.texi:3585
  7892. #, no-wrap
  7893. msgid ""
  7894. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7895. "name: elfutils\n"
  7896. "\n"
  7897. msgstr ""
  7898. #. type: example
  7899. #: guix-git/doc/guix.texi:3588
  7900. #, no-wrap
  7901. msgid ""
  7902. "name: gmp\n"
  7903. "@dots{}\n"
  7904. msgstr ""
  7905. #. type: table
  7906. #: guix-git/doc/guix.texi:3594
  7907. 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):"
  7908. msgstr ""
  7909. #. type: example
  7910. #: guix-git/doc/guix.texi:3599
  7911. #, no-wrap
  7912. msgid ""
  7913. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7914. "name: gnubg\n"
  7915. "@dots{}\n"
  7916. msgstr ""
  7917. #. type: table
  7918. #: guix-git/doc/guix.texi:3605
  7919. 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."
  7920. msgstr ""
  7921. #. type: table
  7922. #: guix-git/doc/guix.texi:3609
  7923. 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:"
  7924. msgstr ""
  7925. #. type: example
  7926. #: guix-git/doc/guix.texi:3613
  7927. #, no-wrap
  7928. msgid ""
  7929. "$ guix search crypto library | \\\n"
  7930. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7931. msgstr ""
  7932. #. type: table
  7933. #: guix-git/doc/guix.texi:3618
  7934. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7935. msgstr ""
  7936. #. type: item
  7937. #: guix-git/doc/guix.texi:3619
  7938. #, no-wrap
  7939. msgid "--show=@var{package}"
  7940. msgstr ""
  7941. #. type: table
  7942. #: guix-git/doc/guix.texi:3623
  7943. 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})."
  7944. msgstr ""
  7945. #. type: example
  7946. #: guix-git/doc/guix.texi:3628
  7947. #, no-wrap
  7948. msgid ""
  7949. "$ guix package --show=guile | recsel -p name,version\n"
  7950. "name: guile\n"
  7951. "version: 3.0.5\n"
  7952. "\n"
  7953. msgstr ""
  7954. #. type: example
  7955. #: guix-git/doc/guix.texi:3631
  7956. #, no-wrap
  7957. msgid ""
  7958. "name: guile\n"
  7959. "version: 3.0.2\n"
  7960. "\n"
  7961. msgstr ""
  7962. #. type: example
  7963. #: guix-git/doc/guix.texi:3635
  7964. #, no-wrap
  7965. msgid ""
  7966. "name: guile\n"
  7967. "version: 2.2.7\n"
  7968. "@dots{}\n"
  7969. msgstr ""
  7970. #. type: table
  7971. #: guix-git/doc/guix.texi:3639
  7972. 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):"
  7973. msgstr ""
  7974. #. type: example
  7975. #: guix-git/doc/guix.texi:3643
  7976. #, no-wrap
  7977. msgid ""
  7978. "$ guix show guile@@3.0.5 | recsel -p name,version\n"
  7979. "name: guile\n"
  7980. "version: 3.0.5\n"
  7981. msgstr ""
  7982. #. type: item
  7983. #: guix-git/doc/guix.texi:3645
  7984. #, no-wrap
  7985. msgid "--list-installed[=@var{regexp}]"
  7986. msgstr ""
  7987. #. type: itemx
  7988. #: guix-git/doc/guix.texi:3646
  7989. #, no-wrap
  7990. msgid "-I [@var{regexp}]"
  7991. msgstr ""
  7992. #. type: table
  7993. #: guix-git/doc/guix.texi:3650
  7994. 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}."
  7995. msgstr ""
  7996. #. type: table
  7997. #: guix-git/doc/guix.texi:3656
  7998. 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."
  7999. msgstr ""
  8000. #. type: item
  8001. #: guix-git/doc/guix.texi:3657
  8002. #, no-wrap
  8003. msgid "--list-available[=@var{regexp}]"
  8004. msgstr ""
  8005. #. type: itemx
  8006. #: guix-git/doc/guix.texi:3658
  8007. #, no-wrap
  8008. msgid "-A [@var{regexp}]"
  8009. msgstr ""
  8010. #. type: table
  8011. #: guix-git/doc/guix.texi:3662
  8012. 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}."
  8013. msgstr ""
  8014. #. type: table
  8015. #: guix-git/doc/guix.texi:3666
  8016. 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."
  8017. msgstr ""
  8018. #. type: item
  8019. #: guix-git/doc/guix.texi:3667 guix-git/doc/guix.texi:4513
  8020. #, no-wrap
  8021. msgid "--list-generations[=@var{pattern}]"
  8022. msgstr ""
  8023. #. type: itemx
  8024. #: guix-git/doc/guix.texi:3668 guix-git/doc/guix.texi:4514
  8025. #, no-wrap
  8026. msgid "-l [@var{pattern}]"
  8027. msgstr ""
  8028. #. type: table
  8029. #: guix-git/doc/guix.texi:3674
  8030. 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."
  8031. msgstr ""
  8032. #. type: table
  8033. #: guix-git/doc/guix.texi:3679
  8034. 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."
  8035. msgstr ""
  8036. #. type: table
  8037. #: guix-git/doc/guix.texi:3682
  8038. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  8039. msgstr ""
  8040. #. type: item
  8041. #: guix-git/doc/guix.texi:3684
  8042. #, no-wrap
  8043. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  8044. msgstr ""
  8045. #. type: itemize
  8046. #: guix-git/doc/guix.texi:3687
  8047. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  8048. msgstr ""
  8049. #. type: itemize
  8050. #: guix-git/doc/guix.texi:3690
  8051. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  8052. msgstr ""
  8053. #. type: item
  8054. #: guix-git/doc/guix.texi:3691
  8055. #, no-wrap
  8056. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  8057. msgstr ""
  8058. #. type: itemize
  8059. #: guix-git/doc/guix.texi:3694
  8060. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  8061. msgstr ""
  8062. #. type: itemize
  8063. #: guix-git/doc/guix.texi:3698
  8064. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  8065. msgstr ""
  8066. #. type: item
  8067. #: guix-git/doc/guix.texi:3699
  8068. #, no-wrap
  8069. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  8070. msgstr ""
  8071. #. type: itemize
  8072. #: guix-git/doc/guix.texi:3703
  8073. 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."
  8074. msgstr ""
  8075. #. type: item
  8076. #: guix-git/doc/guix.texi:3705 guix-git/doc/guix.texi:4548
  8077. #, no-wrap
  8078. msgid "--delete-generations[=@var{pattern}]"
  8079. msgstr ""
  8080. #. type: itemx
  8081. #: guix-git/doc/guix.texi:3706 guix-git/doc/guix.texi:4549
  8082. #, no-wrap
  8083. msgid "-d [@var{pattern}]"
  8084. msgstr ""
  8085. #. type: table
  8086. #: guix-git/doc/guix.texi:3709 guix-git/doc/guix.texi:4552
  8087. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  8088. msgstr ""
  8089. #. type: table
  8090. #: guix-git/doc/guix.texi:3715 guix-git/doc/guix.texi:4558
  8091. 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."
  8092. msgstr ""
  8093. #. type: table
  8094. #: guix-git/doc/guix.texi:3718
  8095. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  8096. msgstr ""
  8097. #. type: table
  8098. #: guix-git/doc/guix.texi:3721 guix-git/doc/guix.texi:4563
  8099. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  8100. msgstr ""
  8101. #. type: cindex
  8102. #: guix-git/doc/guix.texi:3722
  8103. #, no-wrap
  8104. msgid "manifest, exporting"
  8105. msgstr ""
  8106. #. type: anchor{#1}
  8107. #: guix-git/doc/guix.texi:3724
  8108. msgid "export-manifest"
  8109. msgstr ""
  8110. #. type: item
  8111. #: guix-git/doc/guix.texi:3724
  8112. #, no-wrap
  8113. msgid "--export-manifest"
  8114. msgstr ""
  8115. #. type: table
  8116. #: guix-git/doc/guix.texi:3727
  8117. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  8118. msgstr ""
  8119. #. type: table
  8120. #: guix-git/doc/guix.texi:3731
  8121. 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."
  8122. msgstr ""
  8123. #. type: table
  8124. #: guix-git/doc/guix.texi:3736
  8125. 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."
  8126. msgstr ""
  8127. #. type: table
  8128. #: guix-git/doc/guix.texi:3741
  8129. 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."
  8130. msgstr ""
  8131. #. type: cindex
  8132. #: guix-git/doc/guix.texi:3742
  8133. #, no-wrap
  8134. msgid "pinning, channel revisions of a profile"
  8135. msgstr ""
  8136. #. type: item
  8137. #: guix-git/doc/guix.texi:3743
  8138. #, no-wrap
  8139. msgid "--export-channels"
  8140. msgstr ""
  8141. #. type: table
  8142. #: guix-git/doc/guix.texi:3747
  8143. 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})."
  8144. msgstr ""
  8145. #. type: table
  8146. #: guix-git/doc/guix.texi:3751
  8147. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  8148. msgstr ""
  8149. #. type: table
  8150. #: guix-git/doc/guix.texi:3759
  8151. 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})."
  8152. msgstr ""
  8153. #. type: table
  8154. #: guix-git/doc/guix.texi:3764
  8155. 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."
  8156. msgstr ""
  8157. #. type: Plain text
  8158. #: guix-git/doc/guix.texi:3771
  8159. 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})."
  8160. msgstr ""
  8161. #. type: cindex
  8162. #: guix-git/doc/guix.texi:3776
  8163. #, no-wrap
  8164. msgid "pre-built binaries"
  8165. msgstr ""
  8166. #. type: Plain text
  8167. #: guix-git/doc/guix.texi:3782
  8168. 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."
  8169. msgstr ""
  8170. #. type: Plain text
  8171. #: guix-git/doc/guix.texi:3787
  8172. 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."
  8173. msgstr ""
  8174. #. type: cindex
  8175. #: guix-git/doc/guix.texi:3801
  8176. #, no-wrap
  8177. msgid "build farm"
  8178. msgstr ""
  8179. #. type: Plain text
  8180. #: guix-git/doc/guix.texi:3812
  8181. 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})."
  8182. msgstr ""
  8183. #. type: Plain text
  8184. #: guix-git/doc/guix.texi:3818
  8185. 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."
  8186. msgstr ""
  8187. #. type: Plain text
  8188. #: guix-git/doc/guix.texi:3827
  8189. 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."
  8190. msgstr ""
  8191. #. type: cindex
  8192. #: guix-git/doc/guix.texi:3831
  8193. #, no-wrap
  8194. msgid "security"
  8195. msgstr ""
  8196. #. type: cindex
  8197. #: guix-git/doc/guix.texi:3833
  8198. #, no-wrap
  8199. msgid "access control list (ACL), for substitutes"
  8200. msgstr ""
  8201. #. type: cindex
  8202. #: guix-git/doc/guix.texi:3834
  8203. #, no-wrap
  8204. msgid "ACL (access control list), for substitutes"
  8205. msgstr ""
  8206. #. type: Plain text
  8207. #: guix-git/doc/guix.texi:3840
  8208. 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."
  8209. msgstr ""
  8210. #. type: quotation
  8211. #: guix-git/doc/guix.texi:3845
  8212. 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."
  8213. msgstr ""
  8214. #. type: Plain text
  8215. #: guix-git/doc/guix.texi:3853
  8216. 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:"
  8217. msgstr ""
  8218. #. type: example
  8219. #: guix-git/doc/guix.texi:3857
  8220. #, no-wrap
  8221. msgid ""
  8222. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8223. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8224. msgstr ""
  8225. #. type: Plain text
  8226. #: guix-git/doc/guix.texi:3861
  8227. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8228. msgstr ""
  8229. #. type: example
  8230. #: guix-git/doc/guix.texi:3870
  8231. #, no-wrap
  8232. msgid ""
  8233. "$ guix build emacs --dry-run\n"
  8234. "The following derivations would be built:\n"
  8235. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8236. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8237. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8238. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8239. "@dots{}\n"
  8240. msgstr ""
  8241. #. type: Plain text
  8242. #: guix-git/doc/guix.texi:3874
  8243. msgid "to something like:"
  8244. msgstr ""
  8245. #. type: example
  8246. #: guix-git/doc/guix.texi:3883
  8247. #, no-wrap
  8248. msgid ""
  8249. "$ guix build emacs --dry-run\n"
  8250. "112.3 MB would be downloaded:\n"
  8251. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8252. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8253. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8254. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8255. "@dots{}\n"
  8256. msgstr ""
  8257. #. type: Plain text
  8258. #: guix-git/doc/guix.texi:3890
  8259. 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."
  8260. msgstr ""
  8261. #. type: cindex
  8262. #: guix-git/doc/guix.texi:3891
  8263. #, no-wrap
  8264. msgid "substitutes, how to disable"
  8265. msgstr ""
  8266. #. type: Plain text
  8267. #: guix-git/doc/guix.texi:3897
  8268. 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."
  8269. msgstr ""
  8270. #. type: cindex
  8271. #: guix-git/doc/guix.texi:3901
  8272. #, no-wrap
  8273. msgid "substitute servers, adding more"
  8274. msgstr ""
  8275. #. type: Plain text
  8276. #: guix-git/doc/guix.texi:3908
  8277. 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."
  8278. msgstr ""
  8279. #. type: Plain text
  8280. #: guix-git/doc/guix.texi:3913
  8281. 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."
  8282. msgstr ""
  8283. #. type: Plain text
  8284. #: guix-git/doc/guix.texi:3920
  8285. 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}})."
  8286. msgstr ""
  8287. #. type: Plain text
  8288. #: guix-git/doc/guix.texi:3926
  8289. 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:"
  8290. msgstr ""
  8291. #. type: lisp
  8292. #: guix-git/doc/guix.texi:3943
  8293. #, no-wrap
  8294. msgid ""
  8295. "(operating-system\n"
  8296. " ;; @dots{}\n"
  8297. " (services\n"
  8298. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8299. " ;; with the list of services you're actually using.\n"
  8300. " (modify-services %desktop-services\n"
  8301. " (guix-service-type config =>\n"
  8302. " (guix-configuration\n"
  8303. " (inherit config)\n"
  8304. " (substitute-urls\n"
  8305. " (append (list \"https://guix.example.org\")\n"
  8306. " %default-substitute-urls))\n"
  8307. " (authorized-keys\n"
  8308. " (append (list (local-file \"./key.pub\"))\n"
  8309. " %default-authorized-guix-keys)))))))\n"
  8310. msgstr ""
  8311. #. type: Plain text
  8312. #: guix-git/doc/guix.texi:3950
  8313. 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:"
  8314. msgstr ""
  8315. #. type: example
  8316. #: guix-git/doc/guix.texi:3954
  8317. #, no-wrap
  8318. msgid ""
  8319. "$ sudo guix system reconfigure /etc/config.scm\n"
  8320. "$ sudo herd restart guix-daemon\n"
  8321. msgstr ""
  8322. #. type: Plain text
  8323. #: guix-git/doc/guix.texi:3958
  8324. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8325. msgstr ""
  8326. #. type: enumerate
  8327. #: guix-git/doc/guix.texi:3967
  8328. 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}}):"
  8329. msgstr ""
  8330. #. type: example
  8331. #: guix-git/doc/guix.texi:3970
  8332. #, no-wrap
  8333. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8334. msgstr ""
  8335. #. type: enumerate
  8336. #: guix-git/doc/guix.texi:3974
  8337. msgid "Restart the daemon. For systemd, it goes like this:"
  8338. msgstr ""
  8339. #. type: example
  8340. #: guix-git/doc/guix.texi:3978
  8341. #, no-wrap
  8342. msgid ""
  8343. "systemctl daemon-reload\n"
  8344. "systemctl restart guix-daemon.service\n"
  8345. msgstr ""
  8346. #. type: enumerate
  8347. #: guix-git/doc/guix.texi:3982
  8348. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8349. msgstr ""
  8350. #. type: example
  8351. #: guix-git/doc/guix.texi:3985
  8352. #, no-wrap
  8353. msgid "guix archive --authorize < key.pub\n"
  8354. msgstr ""
  8355. #. type: enumerate
  8356. #: guix-git/doc/guix.texi:3989
  8357. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8358. msgstr ""
  8359. #. type: Plain text
  8360. #: guix-git/doc/guix.texi:3998
  8361. 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."
  8362. msgstr ""
  8363. #. type: Plain text
  8364. #: guix-git/doc/guix.texi:4002
  8365. 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."
  8366. msgstr ""
  8367. #. type: cindex
  8368. #: guix-git/doc/guix.texi:4006
  8369. #, no-wrap
  8370. msgid "digital signatures"
  8371. msgstr ""
  8372. #. type: Plain text
  8373. #: guix-git/doc/guix.texi:4010
  8374. 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."
  8375. msgstr ""
  8376. #. type: Plain text
  8377. #: guix-git/doc/guix.texi:4016
  8378. 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:"
  8379. msgstr ""
  8380. #. type: example
  8381. #: guix-git/doc/guix.texi:4019
  8382. #, no-wrap
  8383. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8384. msgstr ""
  8385. #. type: Plain text
  8386. #: guix-git/doc/guix.texi:4030
  8387. 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)."
  8388. msgstr ""
  8389. #. type: Plain text
  8390. #: guix-git/doc/guix.texi:4037
  8391. 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)."
  8392. msgstr ""
  8393. #. type: Plain text
  8394. #: guix-git/doc/guix.texi:4049
  8395. 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}."
  8396. msgstr ""
  8397. #. type: Plain text
  8398. #: guix-git/doc/guix.texi:4058
  8399. 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."
  8400. msgstr ""
  8401. #. type: Plain text
  8402. #: guix-git/doc/guix.texi:4072
  8403. 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."
  8404. msgstr ""
  8405. #. type: Plain text
  8406. #: guix-git/doc/guix.texi:4077
  8407. 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."
  8408. msgstr ""
  8409. #. type: cindex
  8410. #: guix-git/doc/guix.texi:4081
  8411. #, no-wrap
  8412. msgid "trust, of pre-built binaries"
  8413. msgstr ""
  8414. #. type: Plain text
  8415. #: guix-git/doc/guix.texi:4091
  8416. 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})."
  8417. msgstr ""
  8418. #. type: Plain text
  8419. #: guix-git/doc/guix.texi:4103
  8420. 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}})."
  8421. msgstr ""
  8422. #. type: Plain text
  8423. #: guix-git/doc/guix.texi:4107
  8424. 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}."
  8425. msgstr ""
  8426. #. type: cindex
  8427. #: guix-git/doc/guix.texi:4111
  8428. #, no-wrap
  8429. msgid "multiple-output packages"
  8430. msgstr ""
  8431. #. type: cindex
  8432. #: guix-git/doc/guix.texi:4112
  8433. #, no-wrap
  8434. msgid "package outputs"
  8435. msgstr ""
  8436. #. type: cindex
  8437. #: guix-git/doc/guix.texi:4113
  8438. #, no-wrap
  8439. msgid "outputs"
  8440. msgstr ""
  8441. #. type: Plain text
  8442. #: guix-git/doc/guix.texi:4123
  8443. 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."
  8444. msgstr ""
  8445. #. type: Plain text
  8446. #: guix-git/doc/guix.texi:4131
  8447. 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:"
  8448. msgstr ""
  8449. #. type: example
  8450. #: guix-git/doc/guix.texi:4134
  8451. #, no-wrap
  8452. msgid "guix install glib\n"
  8453. msgstr ""
  8454. #. type: item
  8455. #: guix-git/doc/guix.texi:4136 guix-git/doc/guix.texi:36972
  8456. #: guix-git/doc/guix.texi:37029
  8457. #, no-wrap
  8458. msgid "documentation"
  8459. msgstr ""
  8460. #. type: Plain text
  8461. #: guix-git/doc/guix.texi:4138
  8462. msgid "The command to install its documentation is:"
  8463. msgstr ""
  8464. #. type: example
  8465. #: guix-git/doc/guix.texi:4141
  8466. #, no-wrap
  8467. msgid "guix install glib:doc\n"
  8468. msgstr ""
  8469. #. type: Plain text
  8470. #: guix-git/doc/guix.texi:4152
  8471. 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})."
  8472. msgstr ""
  8473. #. type: Plain text
  8474. #: guix-git/doc/guix.texi:4160
  8475. 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})."
  8476. msgstr ""
  8477. #. type: section
  8478. #: guix-git/doc/guix.texi:4163
  8479. #, no-wrap
  8480. msgid "Invoking @command{guix gc}"
  8481. msgstr ""
  8482. #. type: cindex
  8483. #: guix-git/doc/guix.texi:4165
  8484. #, no-wrap
  8485. msgid "garbage collector"
  8486. msgstr ""
  8487. #. type: cindex
  8488. #: guix-git/doc/guix.texi:4166
  8489. #, no-wrap
  8490. msgid "disk space"
  8491. msgstr ""
  8492. #. type: Plain text
  8493. #: guix-git/doc/guix.texi:4172
  8494. 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!"
  8495. msgstr ""
  8496. #. type: Plain text
  8497. #: guix-git/doc/guix.texi:4183
  8498. 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."
  8499. msgstr ""
  8500. #. type: Plain text
  8501. #: guix-git/doc/guix.texi:4189
  8502. 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})."
  8503. msgstr ""
  8504. #. type: Plain text
  8505. #: guix-git/doc/guix.texi:4193
  8506. 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:"
  8507. msgstr ""
  8508. #. type: example
  8509. #: guix-git/doc/guix.texi:4196
  8510. #, no-wrap
  8511. msgid "guix gc -F 5G\n"
  8512. msgstr ""
  8513. #. type: Plain text
  8514. #: guix-git/doc/guix.texi:4205
  8515. 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."
  8516. msgstr ""
  8517. #. type: Plain text
  8518. #: guix-git/doc/guix.texi:4211
  8519. 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:"
  8520. msgstr ""
  8521. #. type: item
  8522. #: guix-git/doc/guix.texi:4213
  8523. #, no-wrap
  8524. msgid "--collect-garbage[=@var{min}]"
  8525. msgstr ""
  8526. #. type: itemx
  8527. #: guix-git/doc/guix.texi:4214
  8528. #, no-wrap
  8529. msgid "-C [@var{min}]"
  8530. msgstr ""
  8531. #. type: table
  8532. #: guix-git/doc/guix.texi:4218
  8533. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8534. msgstr ""
  8535. #. type: table
  8536. #: guix-git/doc/guix.texi:4223
  8537. 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})."
  8538. msgstr ""
  8539. #. type: table
  8540. #: guix-git/doc/guix.texi:4225
  8541. msgid "When @var{min} is omitted, collect all the garbage."
  8542. msgstr ""
  8543. #. type: item
  8544. #: guix-git/doc/guix.texi:4226
  8545. #, no-wrap
  8546. msgid "--free-space=@var{free}"
  8547. msgstr ""
  8548. #. type: itemx
  8549. #: guix-git/doc/guix.texi:4227
  8550. #, no-wrap
  8551. msgid "-F @var{free}"
  8552. msgstr ""
  8553. #. type: table
  8554. #: guix-git/doc/guix.texi:4231
  8555. 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."
  8556. msgstr ""
  8557. #. type: table
  8558. #: guix-git/doc/guix.texi:4234
  8559. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8560. msgstr ""
  8561. #. type: item
  8562. #: guix-git/doc/guix.texi:4235
  8563. #, no-wrap
  8564. msgid "--delete-generations[=@var{duration}]"
  8565. msgstr ""
  8566. #. type: itemx
  8567. #: guix-git/doc/guix.texi:4236
  8568. #, no-wrap
  8569. msgid "-d [@var{duration}]"
  8570. msgstr ""
  8571. #. type: table
  8572. #: guix-git/doc/guix.texi:4240
  8573. 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}."
  8574. msgstr ""
  8575. #. type: table
  8576. #: guix-git/doc/guix.texi:4244
  8577. 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:"
  8578. msgstr ""
  8579. #. type: example
  8580. #: guix-git/doc/guix.texi:4247
  8581. #, no-wrap
  8582. msgid "guix gc -d 2m -F 10G\n"
  8583. msgstr ""
  8584. #. type: item
  8585. #: guix-git/doc/guix.texi:4249
  8586. #, no-wrap
  8587. msgid "--delete"
  8588. msgstr ""
  8589. #. type: itemx
  8590. #: guix-git/doc/guix.texi:4250 guix-git/doc/guix.texi:5780
  8591. #, no-wrap
  8592. msgid "-D"
  8593. msgstr ""
  8594. #. type: table
  8595. #: guix-git/doc/guix.texi:4254
  8596. 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."
  8597. msgstr ""
  8598. #. type: item
  8599. #: guix-git/doc/guix.texi:4255
  8600. #, no-wrap
  8601. msgid "--list-failures"
  8602. msgstr ""
  8603. #. type: table
  8604. #: guix-git/doc/guix.texi:4257
  8605. msgid "List store items corresponding to cached build failures."
  8606. msgstr ""
  8607. #. type: table
  8608. #: guix-git/doc/guix.texi:4261
  8609. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8610. msgstr ""
  8611. #. type: item
  8612. #: guix-git/doc/guix.texi:4262
  8613. #, no-wrap
  8614. msgid "--list-roots"
  8615. msgstr ""
  8616. #. type: table
  8617. #: guix-git/doc/guix.texi:4265
  8618. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8619. msgstr ""
  8620. #. type: item
  8621. #: guix-git/doc/guix.texi:4266
  8622. #, no-wrap
  8623. msgid "--list-busy"
  8624. msgstr ""
  8625. #. type: table
  8626. #: guix-git/doc/guix.texi:4269
  8627. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8628. msgstr ""
  8629. #. type: item
  8630. #: guix-git/doc/guix.texi:4270
  8631. #, no-wrap
  8632. msgid "--clear-failures"
  8633. msgstr ""
  8634. #. type: table
  8635. #: guix-git/doc/guix.texi:4272
  8636. msgid "Remove the specified store items from the failed-build cache."
  8637. msgstr ""
  8638. #. type: table
  8639. #: guix-git/doc/guix.texi:4275
  8640. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8641. msgstr ""
  8642. #. type: item
  8643. #: guix-git/doc/guix.texi:4276
  8644. #, no-wrap
  8645. msgid "--list-dead"
  8646. msgstr ""
  8647. #. type: table
  8648. #: guix-git/doc/guix.texi:4279
  8649. 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."
  8650. msgstr ""
  8651. #. type: item
  8652. #: guix-git/doc/guix.texi:4280
  8653. #, no-wrap
  8654. msgid "--list-live"
  8655. msgstr ""
  8656. #. type: table
  8657. #: guix-git/doc/guix.texi:4282
  8658. msgid "Show the list of live store files and directories."
  8659. msgstr ""
  8660. #. type: Plain text
  8661. #: guix-git/doc/guix.texi:4286
  8662. msgid "In addition, the references among existing store files can be queried:"
  8663. msgstr ""
  8664. #. type: item
  8665. #: guix-git/doc/guix.texi:4289
  8666. #, no-wrap
  8667. msgid "--references"
  8668. msgstr ""
  8669. #. type: itemx
  8670. #: guix-git/doc/guix.texi:4290
  8671. #, no-wrap
  8672. msgid "--referrers"
  8673. msgstr ""
  8674. #. type: cindex
  8675. #: guix-git/doc/guix.texi:4291 guix-git/doc/guix.texi:13666
  8676. #, no-wrap
  8677. msgid "package dependencies"
  8678. msgstr ""
  8679. #. type: table
  8680. #: guix-git/doc/guix.texi:4294
  8681. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8682. msgstr ""
  8683. #. type: item
  8684. #: guix-git/doc/guix.texi:4295
  8685. #, no-wrap
  8686. msgid "--requisites"
  8687. msgstr ""
  8688. #. type: itemx
  8689. #: guix-git/doc/guix.texi:4296 guix-git/doc/guix.texi:6566
  8690. #, no-wrap
  8691. msgid "-R"
  8692. msgstr ""
  8693. #. type: item
  8694. #: guix-git/doc/guix.texi:4297 guix-git/doc/guix.texi:13522
  8695. #: guix-git/doc/guix.texi:13550 guix-git/doc/guix.texi:13631
  8696. #, no-wrap
  8697. msgid "closure"
  8698. msgstr ""
  8699. #. type: table
  8700. #: guix-git/doc/guix.texi:4302
  8701. 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."
  8702. msgstr ""
  8703. #. type: table
  8704. #: guix-git/doc/guix.texi:4306
  8705. 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."
  8706. msgstr ""
  8707. #. type: item
  8708. #: guix-git/doc/guix.texi:4307
  8709. #, no-wrap
  8710. msgid "--derivers"
  8711. msgstr ""
  8712. #. type: item
  8713. #: guix-git/doc/guix.texi:4308 guix-git/doc/guix.texi:6880
  8714. #: guix-git/doc/guix.texi:13378 guix-git/doc/guix.texi:13775
  8715. #, no-wrap
  8716. msgid "derivation"
  8717. msgstr ""
  8718. #. type: table
  8719. #: guix-git/doc/guix.texi:4311
  8720. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8721. msgstr ""
  8722. #. type: table
  8723. #: guix-git/doc/guix.texi:4313
  8724. msgid "For example, this command:"
  8725. msgstr ""
  8726. #. type: example
  8727. #: guix-git/doc/guix.texi:4316
  8728. #, no-wrap
  8729. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8730. msgstr ""
  8731. #. type: table
  8732. #: guix-git/doc/guix.texi:4321
  8733. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8734. msgstr ""
  8735. #. type: table
  8736. #: guix-git/doc/guix.texi:4325
  8737. 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."
  8738. msgstr ""
  8739. #. type: Plain text
  8740. #: guix-git/doc/guix.texi:4329
  8741. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8742. msgstr ""
  8743. #. type: item
  8744. #: guix-git/doc/guix.texi:4332
  8745. #, no-wrap
  8746. msgid "--verify[=@var{options}]"
  8747. msgstr ""
  8748. #. type: cindex
  8749. #: guix-git/doc/guix.texi:4333
  8750. #, no-wrap
  8751. msgid "integrity, of the store"
  8752. msgstr ""
  8753. #. type: cindex
  8754. #: guix-git/doc/guix.texi:4334
  8755. #, no-wrap
  8756. msgid "integrity checking"
  8757. msgstr ""
  8758. #. type: table
  8759. #: guix-git/doc/guix.texi:4336
  8760. msgid "Verify the integrity of the store."
  8761. msgstr ""
  8762. #. type: table
  8763. #: guix-git/doc/guix.texi:4339
  8764. 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}."
  8765. msgstr ""
  8766. #. type: table
  8767. #: guix-git/doc/guix.texi:4342
  8768. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8769. msgstr ""
  8770. #. type: table
  8771. #: guix-git/doc/guix.texi:4348
  8772. 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."
  8773. msgstr ""
  8774. #. type: cindex
  8775. #: guix-git/doc/guix.texi:4349
  8776. #, no-wrap
  8777. msgid "repairing the store"
  8778. msgstr ""
  8779. #. type: cindex
  8780. #: guix-git/doc/guix.texi:4350 guix-git/doc/guix.texi:11982
  8781. #, no-wrap
  8782. msgid "corruption, recovering from"
  8783. msgstr ""
  8784. #. type: table
  8785. #: guix-git/doc/guix.texi:4358
  8786. 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})."
  8787. msgstr ""
  8788. #. type: item
  8789. #: guix-git/doc/guix.texi:4359
  8790. #, no-wrap
  8791. msgid "--optimize"
  8792. msgstr ""
  8793. #. type: table
  8794. #: guix-git/doc/guix.texi:4363
  8795. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8796. msgstr ""
  8797. #. type: table
  8798. #: guix-git/doc/guix.texi:4369
  8799. 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}."
  8800. msgstr ""
  8801. #. type: section
  8802. #: guix-git/doc/guix.texi:4373
  8803. #, no-wrap
  8804. msgid "Invoking @command{guix pull}"
  8805. msgstr ""
  8806. #. type: cindex
  8807. #: guix-git/doc/guix.texi:4375
  8808. #, no-wrap
  8809. msgid "upgrading Guix"
  8810. msgstr ""
  8811. #. type: cindex
  8812. #: guix-git/doc/guix.texi:4376
  8813. #, no-wrap
  8814. msgid "updating Guix"
  8815. msgstr ""
  8816. #. type: command{#1}
  8817. #: guix-git/doc/guix.texi:4377
  8818. #, no-wrap
  8819. msgid "guix pull"
  8820. msgstr ""
  8821. #. type: cindex
  8822. #: guix-git/doc/guix.texi:4378
  8823. #, no-wrap
  8824. msgid "pull"
  8825. msgstr ""
  8826. #. type: cindex
  8827. #: guix-git/doc/guix.texi:4379
  8828. #, no-wrap
  8829. msgid "security, @command{guix pull}"
  8830. msgstr ""
  8831. #. type: cindex
  8832. #: guix-git/doc/guix.texi:4380
  8833. #, no-wrap
  8834. msgid "authenticity, of code obtained with @command{guix pull}"
  8835. msgstr ""
  8836. #. type: Plain text
  8837. #: guix-git/doc/guix.texi:4390
  8838. 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."
  8839. msgstr ""
  8840. #. type: Plain text
  8841. #: guix-git/doc/guix.texi:4393
  8842. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8843. msgstr ""
  8844. #. type: enumerate
  8845. #: guix-git/doc/guix.texi:4397
  8846. msgid "the @option{--channels} option;"
  8847. msgstr ""
  8848. #. type: enumerate
  8849. #: guix-git/doc/guix.texi:4399
  8850. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8851. msgstr ""
  8852. #. type: enumerate
  8853. #: guix-git/doc/guix.texi:4401
  8854. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8855. msgstr ""
  8856. #. type: enumerate
  8857. #: guix-git/doc/guix.texi:4404
  8858. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8859. msgstr ""
  8860. #. type: Plain text
  8861. #: guix-git/doc/guix.texi:4411
  8862. 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."
  8863. msgstr ""
  8864. #. type: Plain text
  8865. #: guix-git/doc/guix.texi:4417
  8866. 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."
  8867. msgstr ""
  8868. #. type: Plain text
  8869. #: guix-git/doc/guix.texi:4423
  8870. 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}):"
  8871. msgstr ""
  8872. #. type: example
  8873. #: guix-git/doc/guix.texi:4427
  8874. #, no-wrap
  8875. msgid ""
  8876. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8877. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8878. msgstr ""
  8879. #. type: Plain text
  8880. #: guix-git/doc/guix.texi:4431
  8881. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8882. msgstr ""
  8883. #. type: example
  8884. #: guix-git/doc/guix.texi:4439
  8885. #, no-wrap
  8886. msgid ""
  8887. "$ guix pull -l\n"
  8888. "Generation 1\tJun 10 2018 00:18:18\n"
  8889. " guix 65956ad\n"
  8890. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8891. " branch: origin/master\n"
  8892. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8893. "\n"
  8894. msgstr ""
  8895. #. type: example
  8896. #: guix-git/doc/guix.texi:4445
  8897. #, no-wrap
  8898. msgid ""
  8899. "Generation 2\tJun 11 2018 11:02:49\n"
  8900. " guix e0cc7f6\n"
  8901. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8902. " branch: origin/master\n"
  8903. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8904. "\n"
  8905. msgstr ""
  8906. #. type: example
  8907. #: guix-git/doc/guix.texi:4451
  8908. #, no-wrap
  8909. msgid ""
  8910. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8911. " guix 844cc1c\n"
  8912. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8913. " branch: origin/master\n"
  8914. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8915. msgstr ""
  8916. #. type: Plain text
  8917. #: guix-git/doc/guix.texi:4455
  8918. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8919. msgstr ""
  8920. #. type: Plain text
  8921. #: guix-git/doc/guix.texi:4460
  8922. 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:"
  8923. msgstr ""
  8924. #. type: example
  8925. #: guix-git/doc/guix.texi:4466
  8926. #, no-wrap
  8927. msgid ""
  8928. "$ guix pull --roll-back\n"
  8929. "switched from generation 3 to 2\n"
  8930. "$ guix pull --delete-generations=1\n"
  8931. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8932. msgstr ""
  8933. #. type: Plain text
  8934. #: guix-git/doc/guix.texi:4470
  8935. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8936. msgstr ""
  8937. #. type: example
  8938. #: guix-git/doc/guix.texi:4475
  8939. #, no-wrap
  8940. msgid ""
  8941. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8942. "switched from generation 3 to 2\n"
  8943. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8944. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8945. msgstr ""
  8946. #. type: Plain text
  8947. #: guix-git/doc/guix.texi:4479
  8948. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8949. msgstr ""
  8950. #. type: item
  8951. #: guix-git/doc/guix.texi:4481 guix-git/doc/guix.texi:4649
  8952. #, no-wrap
  8953. msgid "--url=@var{url}"
  8954. msgstr ""
  8955. #. type: itemx
  8956. #: guix-git/doc/guix.texi:4482 guix-git/doc/guix.texi:4650
  8957. #, no-wrap
  8958. msgid "--commit=@var{commit}"
  8959. msgstr ""
  8960. #. type: itemx
  8961. #: guix-git/doc/guix.texi:4483 guix-git/doc/guix.texi:4651
  8962. #, no-wrap
  8963. msgid "--branch=@var{branch}"
  8964. msgstr ""
  8965. #. type: table
  8966. #: guix-git/doc/guix.texi:4487
  8967. 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}."
  8968. msgstr ""
  8969. #. type: cindex
  8970. #: guix-git/doc/guix.texi:4488 guix-git/doc/guix.texi:5095
  8971. #, no-wrap
  8972. msgid "@file{channels.scm}, configuration file"
  8973. msgstr ""
  8974. #. type: cindex
  8975. #: guix-git/doc/guix.texi:4489 guix-git/doc/guix.texi:5096
  8976. #, no-wrap
  8977. msgid "configuration file for channels"
  8978. msgstr ""
  8979. #. type: table
  8980. #: guix-git/doc/guix.texi:4493
  8981. 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)."
  8982. msgstr ""
  8983. #. type: item
  8984. #: guix-git/doc/guix.texi:4494 guix-git/doc/guix.texi:4656
  8985. #, no-wrap
  8986. msgid "--channels=@var{file}"
  8987. msgstr ""
  8988. #. type: itemx
  8989. #: guix-git/doc/guix.texi:4495 guix-git/doc/guix.texi:4657
  8990. #, no-wrap
  8991. msgid "-C @var{file}"
  8992. msgstr ""
  8993. #. type: table
  8994. #: guix-git/doc/guix.texi:4501
  8995. 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."
  8996. msgstr ""
  8997. #. type: cindex
  8998. #: guix-git/doc/guix.texi:4502
  8999. #, no-wrap
  9000. msgid "channel news"
  9001. msgstr ""
  9002. #. type: item
  9003. #: guix-git/doc/guix.texi:4503
  9004. #, no-wrap
  9005. msgid "--news"
  9006. msgstr ""
  9007. #. type: itemx
  9008. #: guix-git/doc/guix.texi:4504 guix-git/doc/guix.texi:5899
  9009. #: guix-git/doc/guix.texi:6312 guix-git/doc/guix.texi:35862
  9010. #, no-wrap
  9011. msgid "-N"
  9012. msgstr ""
  9013. #. type: table
  9014. #: guix-git/doc/guix.texi:4509
  9015. 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."
  9016. msgstr ""
  9017. #. type: table
  9018. #: guix-git/doc/guix.texi:4512
  9019. msgid "You can view that information for previous generations with @command{guix pull -l}."
  9020. msgstr ""
  9021. #. type: table
  9022. #: guix-git/doc/guix.texi:4519
  9023. 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})."
  9024. msgstr ""
  9025. #. type: table
  9026. #: guix-git/doc/guix.texi:4524
  9027. 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."
  9028. msgstr ""
  9029. #. type: item
  9030. #: guix-git/doc/guix.texi:4525
  9031. #, no-wrap
  9032. msgid "--details"
  9033. msgstr ""
  9034. #. type: table
  9035. #: guix-git/doc/guix.texi:4529
  9036. msgid "Instruct @option{--list-generations} or @option{--news} to display more information about the differences between subsequent generations---see above."
  9037. msgstr ""
  9038. #. type: table
  9039. #: guix-git/doc/guix.texi:4536
  9040. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  9041. msgstr ""
  9042. #. type: table
  9043. #: guix-git/doc/guix.texi:4560
  9044. msgid "If the current generation matches, it is @emph{not} deleted."
  9045. msgstr ""
  9046. #. type: table
  9047. #: guix-git/doc/guix.texi:4566
  9048. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  9049. msgstr ""
  9050. #. type: table
  9051. #: guix-git/doc/guix.texi:4570
  9052. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  9053. msgstr ""
  9054. #. type: item
  9055. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:11311
  9056. #: guix-git/doc/guix.texi:13266
  9057. #, no-wrap
  9058. msgid "--dry-run"
  9059. msgstr ""
  9060. #. type: itemx
  9061. #: guix-git/doc/guix.texi:4572 guix-git/doc/guix.texi:11312
  9062. #: guix-git/doc/guix.texi:13267 guix-git/doc/guix.texi:13504
  9063. #, no-wrap
  9064. msgid "-n"
  9065. msgstr ""
  9066. #. type: table
  9067. #: guix-git/doc/guix.texi:4575
  9068. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  9069. msgstr ""
  9070. #. type: item
  9071. #: guix-git/doc/guix.texi:4576 guix-git/doc/guix.texi:35881
  9072. #: guix-git/doc/guix.texi:38392
  9073. #, no-wrap
  9074. msgid "--allow-downgrades"
  9075. msgstr ""
  9076. #. type: table
  9077. #: guix-git/doc/guix.texi:4579
  9078. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  9079. msgstr ""
  9080. #. type: cindex
  9081. #: guix-git/doc/guix.texi:4580
  9082. #, no-wrap
  9083. msgid "downgrade attacks, protection against"
  9084. msgstr ""
  9085. #. type: table
  9086. #: guix-git/doc/guix.texi:4585
  9087. 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."
  9088. msgstr ""
  9089. #. type: quotation
  9090. #: guix-git/doc/guix.texi:4589 guix-git/doc/guix.texi:35895
  9091. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  9092. msgstr ""
  9093. #. type: item
  9094. #: guix-git/doc/guix.texi:4591
  9095. #, no-wrap
  9096. msgid "--disable-authentication"
  9097. msgstr ""
  9098. #. type: table
  9099. #: guix-git/doc/guix.texi:4593
  9100. msgid "Allow pulling channel code without authenticating it."
  9101. msgstr ""
  9102. #. type: cindex
  9103. #: guix-git/doc/guix.texi:4594 guix-git/doc/guix.texi:5241
  9104. #, no-wrap
  9105. msgid "authentication, of channel code"
  9106. msgstr ""
  9107. #. type: table
  9108. #: guix-git/doc/guix.texi:4599
  9109. 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."
  9110. msgstr ""
  9111. #. type: quotation
  9112. #: guix-git/doc/guix.texi:4603
  9113. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  9114. msgstr ""
  9115. #. type: itemx
  9116. #: guix-git/doc/guix.texi:4606 guix-git/doc/guix.texi:5882
  9117. #: guix-git/doc/guix.texi:6295 guix-git/doc/guix.texi:6695
  9118. #: guix-git/doc/guix.texi:11924 guix-git/doc/guix.texi:13649
  9119. #: guix-git/doc/guix.texi:13914 guix-git/doc/guix.texi:14591
  9120. #: guix-git/doc/guix.texi:35810
  9121. #, no-wrap
  9122. msgid "-s @var{system}"
  9123. msgstr ""
  9124. #. type: table
  9125. #: guix-git/doc/guix.texi:4609 guix-git/doc/guix.texi:6698
  9126. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  9127. msgstr ""
  9128. #. type: table
  9129. #: guix-git/doc/guix.texi:4613
  9130. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  9131. msgstr ""
  9132. #. type: Plain text
  9133. #: guix-git/doc/guix.texi:4619
  9134. 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."
  9135. msgstr ""
  9136. #. type: Plain text
  9137. #: guix-git/doc/guix.texi:4622
  9138. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  9139. msgstr ""
  9140. #. type: section
  9141. #: guix-git/doc/guix.texi:4624
  9142. #, no-wrap
  9143. msgid "Invoking @command{guix time-machine}"
  9144. msgstr ""
  9145. #. type: command{#1}
  9146. #: guix-git/doc/guix.texi:4626
  9147. #, no-wrap
  9148. msgid "guix time-machine"
  9149. msgstr ""
  9150. #. type: cindex
  9151. #: guix-git/doc/guix.texi:4627 guix-git/doc/guix.texi:5199
  9152. #, no-wrap
  9153. msgid "pinning, channels"
  9154. msgstr ""
  9155. #. type: cindex
  9156. #: guix-git/doc/guix.texi:4628 guix-git/doc/guix.texi:4810
  9157. #: guix-git/doc/guix.texi:5200
  9158. #, no-wrap
  9159. msgid "replicating Guix"
  9160. msgstr ""
  9161. #. type: cindex
  9162. #: guix-git/doc/guix.texi:4629 guix-git/doc/guix.texi:5201
  9163. #, no-wrap
  9164. msgid "reproducibility, of Guix"
  9165. msgstr ""
  9166. #. type: Plain text
  9167. #: guix-git/doc/guix.texi:4637
  9168. 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})."
  9169. msgstr ""
  9170. #. type: Plain text
  9171. #: guix-git/doc/guix.texi:4639 guix-git/doc/guix.texi:5663
  9172. #: guix-git/doc/guix.texi:6033 guix-git/doc/guix.texi:6818
  9173. #: guix-git/doc/guix.texi:11107 guix-git/doc/guix.texi:11231
  9174. #: guix-git/doc/guix.texi:12215 guix-git/doc/guix.texi:12311
  9175. #: guix-git/doc/guix.texi:13252 guix-git/doc/guix.texi:13479
  9176. #: guix-git/doc/guix.texi:13972 guix-git/doc/guix.texi:14345
  9177. #: guix-git/doc/guix.texi:14434 guix-git/doc/guix.texi:14473
  9178. #: guix-git/doc/guix.texi:14570
  9179. msgid "The general syntax is:"
  9180. msgstr ""
  9181. #. type: example
  9182. #: guix-git/doc/guix.texi:4642
  9183. #, no-wrap
  9184. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  9185. msgstr ""
  9186. #. type: Plain text
  9187. #: guix-git/doc/guix.texi:4647
  9188. 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}):"
  9189. msgstr ""
  9190. #. type: table
  9191. #: guix-git/doc/guix.texi:4655
  9192. 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}."
  9193. msgstr ""
  9194. #. type: table
  9195. #: guix-git/doc/guix.texi:4661
  9196. 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."
  9197. msgstr ""
  9198. #. type: Plain text
  9199. #: guix-git/doc/guix.texi:4665
  9200. 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"
  9201. msgstr ""
  9202. #. type: example
  9203. #: guix-git/doc/guix.texi:4668
  9204. #, no-wrap
  9205. msgid "guix time-machine -- build hello\n"
  9206. msgstr ""
  9207. #. type: Plain text
  9208. #: guix-git/doc/guix.texi:4673
  9209. 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!"
  9210. msgstr ""
  9211. #. type: Plain text
  9212. #: guix-git/doc/guix.texi:4677
  9213. 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})."
  9214. msgstr ""
  9215. #. type: quotation
  9216. #: guix-git/doc/guix.texi:4685
  9217. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  9218. msgstr ""
  9219. #. type: cindex
  9220. #: guix-git/doc/guix.texi:4687 guix-git/doc/guix.texi:11144
  9221. #, no-wrap
  9222. msgid "inferiors"
  9223. msgstr ""
  9224. #. type: cindex
  9225. #: guix-git/doc/guix.texi:4688
  9226. #, no-wrap
  9227. msgid "composition of Guix revisions"
  9228. msgstr ""
  9229. #. type: Plain text
  9230. #: guix-git/doc/guix.texi:4693
  9231. 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."
  9232. msgstr ""
  9233. #. type: cindex
  9234. #: guix-git/doc/guix.texi:4694 guix-git/doc/guix.texi:4759
  9235. #, no-wrap
  9236. msgid "inferior packages"
  9237. msgstr ""
  9238. #. type: Plain text
  9239. #: guix-git/doc/guix.texi:4700
  9240. 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}."
  9241. msgstr ""
  9242. #. type: Plain text
  9243. #: guix-git/doc/guix.texi:4710
  9244. 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:"
  9245. msgstr ""
  9246. #. type: lisp
  9247. #: guix-git/doc/guix.texi:4714
  9248. #, no-wrap
  9249. msgid ""
  9250. "(use-modules (guix inferior) (guix channels)\n"
  9251. " (srfi srfi-1)) ;for 'first'\n"
  9252. "\n"
  9253. msgstr ""
  9254. #. type: lisp
  9255. #: guix-git/doc/guix.texi:4723
  9256. #, no-wrap
  9257. msgid ""
  9258. "(define channels\n"
  9259. " ;; This is the old revision from which we want to\n"
  9260. " ;; extract guile-json.\n"
  9261. " (list (channel\n"
  9262. " (name 'guix)\n"
  9263. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9264. " (commit\n"
  9265. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9266. "\n"
  9267. msgstr ""
  9268. #. type: lisp
  9269. #: guix-git/doc/guix.texi:4727
  9270. #, no-wrap
  9271. msgid ""
  9272. "(define inferior\n"
  9273. " ;; An inferior representing the above revision.\n"
  9274. " (inferior-for-channels channels))\n"
  9275. "\n"
  9276. msgstr ""
  9277. #. type: lisp
  9278. #: guix-git/doc/guix.texi:4733
  9279. #, no-wrap
  9280. msgid ""
  9281. ";; Now create a manifest with the current \"guile\" package\n"
  9282. ";; and the old \"guile-json\" package.\n"
  9283. "(packages->manifest\n"
  9284. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9285. " (specification->package \"guile\")))\n"
  9286. msgstr ""
  9287. #. type: Plain text
  9288. #: guix-git/doc/guix.texi:4738
  9289. 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."
  9290. msgstr ""
  9291. #. type: Plain text
  9292. #: guix-git/doc/guix.texi:4741
  9293. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9294. msgstr ""
  9295. #. type: deffn
  9296. #: guix-git/doc/guix.texi:4742
  9297. #, no-wrap
  9298. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9299. msgstr ""
  9300. #. type: deffn
  9301. #: guix-git/doc/guix.texi:4747
  9302. 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."
  9303. msgstr ""
  9304. #. type: deffn
  9305. #: guix-git/doc/guix.texi:4750
  9306. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9307. msgstr ""
  9308. #. type: deffn
  9309. #: guix-git/doc/guix.texi:4752
  9310. #, no-wrap
  9311. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9312. msgstr ""
  9313. #. type: deffn
  9314. #: guix-git/doc/guix.texi:4757
  9315. 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."
  9316. msgstr ""
  9317. #. type: Plain text
  9318. #: guix-git/doc/guix.texi:4762
  9319. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9320. msgstr ""
  9321. #. type: deffn
  9322. #: guix-git/doc/guix.texi:4763
  9323. #, no-wrap
  9324. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9325. msgstr ""
  9326. #. type: deffn
  9327. #: guix-git/doc/guix.texi:4765
  9328. msgid "Return the list of packages known to @var{inferior}."
  9329. msgstr ""
  9330. #. type: deffn
  9331. #: guix-git/doc/guix.texi:4767
  9332. #, no-wrap
  9333. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9334. msgstr ""
  9335. #. type: deffn
  9336. #: guix-git/doc/guix.texi:4772
  9337. 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}."
  9338. msgstr ""
  9339. #. type: deffn
  9340. #: guix-git/doc/guix.texi:4774
  9341. #, no-wrap
  9342. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9343. msgstr ""
  9344. #. type: deffn
  9345. #: guix-git/doc/guix.texi:4776
  9346. msgid "Return true if @var{obj} is an inferior package."
  9347. msgstr ""
  9348. #. type: deffn
  9349. #: guix-git/doc/guix.texi:4778
  9350. #, no-wrap
  9351. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9352. msgstr ""
  9353. #. type: deffnx
  9354. #: guix-git/doc/guix.texi:4779
  9355. #, no-wrap
  9356. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9357. msgstr ""
  9358. #. type: deffnx
  9359. #: guix-git/doc/guix.texi:4780
  9360. #, no-wrap
  9361. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9362. msgstr ""
  9363. #. type: deffnx
  9364. #: guix-git/doc/guix.texi:4781
  9365. #, no-wrap
  9366. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9367. msgstr ""
  9368. #. type: deffnx
  9369. #: guix-git/doc/guix.texi:4782
  9370. #, no-wrap
  9371. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9372. msgstr ""
  9373. #. type: deffnx
  9374. #: guix-git/doc/guix.texi:4783
  9375. #, no-wrap
  9376. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9377. msgstr ""
  9378. #. type: deffnx
  9379. #: guix-git/doc/guix.texi:4784
  9380. #, no-wrap
  9381. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9382. msgstr ""
  9383. #. type: deffnx
  9384. #: guix-git/doc/guix.texi:4785
  9385. #, no-wrap
  9386. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9387. msgstr ""
  9388. #. type: deffnx
  9389. #: guix-git/doc/guix.texi:4786
  9390. #, no-wrap
  9391. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9392. msgstr ""
  9393. #. type: deffnx
  9394. #: guix-git/doc/guix.texi:4787
  9395. #, no-wrap
  9396. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9397. msgstr ""
  9398. #. type: deffnx
  9399. #: guix-git/doc/guix.texi:4788
  9400. #, no-wrap
  9401. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9402. msgstr ""
  9403. #. type: deffnx
  9404. #: guix-git/doc/guix.texi:4789
  9405. #, no-wrap
  9406. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9407. msgstr ""
  9408. #. type: deffnx
  9409. #: guix-git/doc/guix.texi:4790
  9410. #, no-wrap
  9411. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9412. msgstr ""
  9413. #. type: deffn
  9414. #: guix-git/doc/guix.texi:4795
  9415. 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."
  9416. msgstr ""
  9417. #. type: Plain text
  9418. #: guix-git/doc/guix.texi:4805
  9419. 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."
  9420. msgstr ""
  9421. #. type: section
  9422. #: guix-git/doc/guix.texi:4807
  9423. #, no-wrap
  9424. msgid "Invoking @command{guix describe}"
  9425. msgstr ""
  9426. #. type: Plain text
  9427. #: guix-git/doc/guix.texi:4818
  9428. 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."
  9429. msgstr ""
  9430. #. type: Plain text
  9431. #: guix-git/doc/guix.texi:4822
  9432. 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}):"
  9433. msgstr ""
  9434. #. type: example
  9435. #: guix-git/doc/guix.texi:4830
  9436. #, no-wrap
  9437. msgid ""
  9438. "$ guix describe\n"
  9439. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9440. " guix e0fa68c\n"
  9441. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9442. " branch: master\n"
  9443. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9444. msgstr ""
  9445. #. type: Plain text
  9446. #: guix-git/doc/guix.texi:4839
  9447. 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."
  9448. msgstr ""
  9449. #. type: Plain text
  9450. #: guix-git/doc/guix.texi:4842
  9451. 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:"
  9452. msgstr ""
  9453. #. type: example
  9454. #: guix-git/doc/guix.texi:4855
  9455. #, no-wrap
  9456. msgid ""
  9457. "$ guix describe -f channels\n"
  9458. "(list (channel\n"
  9459. " (name 'guix)\n"
  9460. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9461. " (commit\n"
  9462. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9463. " (introduction\n"
  9464. " (make-channel-introduction\n"
  9465. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9466. " (openpgp-fingerprint\n"
  9467. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9468. msgstr ""
  9469. #. type: Plain text
  9470. #: guix-git/doc/guix.texi:4864
  9471. 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!"
  9472. msgstr ""
  9473. #. type: Plain text
  9474. #: guix-git/doc/guix.texi:4867
  9475. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9476. msgstr ""
  9477. #. type: item
  9478. #: guix-git/doc/guix.texi:4869 guix-git/doc/guix.texi:6496
  9479. #: guix-git/doc/guix.texi:14703
  9480. #, no-wrap
  9481. msgid "--format=@var{format}"
  9482. msgstr ""
  9483. #. type: itemx
  9484. #: guix-git/doc/guix.texi:4870 guix-git/doc/guix.texi:6497
  9485. #: guix-git/doc/guix.texi:14704
  9486. #, no-wrap
  9487. msgid "-f @var{format}"
  9488. msgstr ""
  9489. #. type: table
  9490. #: guix-git/doc/guix.texi:4872 guix-git/doc/guix.texi:14706
  9491. msgid "Produce output in the specified @var{format}, one of:"
  9492. msgstr ""
  9493. #. type: item
  9494. #: guix-git/doc/guix.texi:4874
  9495. #, no-wrap
  9496. msgid "human"
  9497. msgstr ""
  9498. #. type: table
  9499. #: guix-git/doc/guix.texi:4876
  9500. msgid "produce human-readable output;"
  9501. msgstr ""
  9502. #. type: cindex
  9503. #: guix-git/doc/guix.texi:4876 guix-git/doc/guix.texi:5094
  9504. #, no-wrap
  9505. msgid "channels"
  9506. msgstr ""
  9507. #. type: table
  9508. #: guix-git/doc/guix.texi:4880
  9509. 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});"
  9510. msgstr ""
  9511. #. type: item
  9512. #: guix-git/doc/guix.texi:4880
  9513. #, no-wrap
  9514. msgid "channels-sans-intro"
  9515. msgstr ""
  9516. #. type: table
  9517. #: guix-git/doc/guix.texi:4886
  9518. 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;"
  9519. msgstr ""
  9520. #. type: item
  9521. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:12528
  9522. #, no-wrap
  9523. msgid "json"
  9524. msgstr ""
  9525. #. type: cindex
  9526. #: guix-git/doc/guix.texi:4887
  9527. #, no-wrap
  9528. msgid "JSON"
  9529. msgstr ""
  9530. #. type: table
  9531. #: guix-git/doc/guix.texi:4889
  9532. msgid "produce a list of channel specifications in JSON format;"
  9533. msgstr ""
  9534. #. type: item
  9535. #: guix-git/doc/guix.texi:4889 guix-git/doc/guix.texi:14708
  9536. #, no-wrap
  9537. msgid "recutils"
  9538. msgstr ""
  9539. #. type: table
  9540. #: guix-git/doc/guix.texi:4891
  9541. msgid "produce a list of channel specifications in Recutils format."
  9542. msgstr ""
  9543. #. type: item
  9544. #: guix-git/doc/guix.texi:4893
  9545. #, no-wrap
  9546. msgid "--list-formats"
  9547. msgstr ""
  9548. #. type: table
  9549. #: guix-git/doc/guix.texi:4895
  9550. msgid "Display available formats for @option{--format} option."
  9551. msgstr ""
  9552. #. type: table
  9553. #: guix-git/doc/guix.texi:4899
  9554. msgid "Display information about @var{profile}."
  9555. msgstr ""
  9556. #. type: section
  9557. #: guix-git/doc/guix.texi:4902
  9558. #, no-wrap
  9559. msgid "Invoking @command{guix archive}"
  9560. msgstr ""
  9561. #. type: command{#1}
  9562. #: guix-git/doc/guix.texi:4904
  9563. #, no-wrap
  9564. msgid "guix archive"
  9565. msgstr ""
  9566. #. type: cindex
  9567. #: guix-git/doc/guix.texi:4905
  9568. #, no-wrap
  9569. msgid "archive"
  9570. msgstr ""
  9571. #. type: Plain text
  9572. #: guix-git/doc/guix.texi:4911
  9573. 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."
  9574. msgstr ""
  9575. #. type: quotation
  9576. #: guix-git/doc/guix.texi:4915
  9577. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9578. msgstr ""
  9579. #. type: cindex
  9580. #: guix-git/doc/guix.texi:4917
  9581. #, no-wrap
  9582. msgid "exporting store items"
  9583. msgstr ""
  9584. #. type: Plain text
  9585. #: guix-git/doc/guix.texi:4919
  9586. msgid "To export store files as an archive to standard output, run:"
  9587. msgstr ""
  9588. #. type: example
  9589. #: guix-git/doc/guix.texi:4922
  9590. #, no-wrap
  9591. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9592. msgstr ""
  9593. #. type: Plain text
  9594. #: guix-git/doc/guix.texi:4929
  9595. 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}:"
  9596. msgstr ""
  9597. #. type: example
  9598. #: guix-git/doc/guix.texi:4932
  9599. #, no-wrap
  9600. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9601. msgstr ""
  9602. #. type: Plain text
  9603. #: guix-git/doc/guix.texi:4937
  9604. 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})."
  9605. msgstr ""
  9606. #. type: Plain text
  9607. #: guix-git/doc/guix.texi:4940
  9608. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9609. msgstr ""
  9610. #. type: example
  9611. #: guix-git/doc/guix.texi:4943
  9612. #, no-wrap
  9613. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9614. msgstr ""
  9615. #. type: Plain text
  9616. #: guix-git/doc/guix.texi:4948
  9617. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9618. msgstr ""
  9619. #. type: example
  9620. #: guix-git/doc/guix.texi:4952
  9621. #, no-wrap
  9622. msgid ""
  9623. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9624. " ssh the-machine guix archive --import\n"
  9625. msgstr ""
  9626. #. type: Plain text
  9627. #: guix-git/doc/guix.texi:4962
  9628. 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})."
  9629. msgstr ""
  9630. #. type: cindex
  9631. #: guix-git/doc/guix.texi:4963
  9632. #, no-wrap
  9633. msgid "nar, archive format"
  9634. msgstr ""
  9635. #. type: cindex
  9636. #: guix-git/doc/guix.texi:4964
  9637. #, no-wrap
  9638. msgid "normalized archive (nar)"
  9639. msgstr ""
  9640. #. type: cindex
  9641. #: guix-git/doc/guix.texi:4965
  9642. #, no-wrap
  9643. msgid "nar bundle, archive format"
  9644. msgstr ""
  9645. #. type: Plain text
  9646. #: guix-git/doc/guix.texi:4970
  9647. 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}."
  9648. msgstr ""
  9649. #. type: Plain text
  9650. #: guix-git/doc/guix.texi:4980
  9651. 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."
  9652. msgstr ""
  9653. #. type: Plain text
  9654. #: guix-git/doc/guix.texi:4984
  9655. 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."
  9656. msgstr ""
  9657. #. type: Plain text
  9658. #: guix-git/doc/guix.texi:4990
  9659. 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."
  9660. msgstr ""
  9661. #. type: Plain text
  9662. #: guix-git/doc/guix.texi:4992
  9663. msgid "The main options are:"
  9664. msgstr ""
  9665. #. type: item
  9666. #: guix-git/doc/guix.texi:4994
  9667. #, no-wrap
  9668. msgid "--export"
  9669. msgstr ""
  9670. #. type: table
  9671. #: guix-git/doc/guix.texi:4997
  9672. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9673. msgstr ""
  9674. #. type: table
  9675. #: guix-git/doc/guix.texi:5000
  9676. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9677. msgstr ""
  9678. #. type: itemx
  9679. #: guix-git/doc/guix.texi:5001 guix-git/doc/guix.texi:12248
  9680. #: guix-git/doc/guix.texi:12375 guix-git/doc/guix.texi:12400
  9681. #: guix-git/doc/guix.texi:12432 guix-git/doc/guix.texi:12603
  9682. #: guix-git/doc/guix.texi:12644 guix-git/doc/guix.texi:12695
  9683. #: guix-git/doc/guix.texi:12720 guix-git/doc/guix.texi:12736
  9684. #: guix-git/doc/guix.texi:12784 guix-git/doc/guix.texi:12820
  9685. #, no-wrap
  9686. msgid "-r"
  9687. msgstr ""
  9688. #. type: item
  9689. #: guix-git/doc/guix.texi:5002 guix-git/doc/guix.texi:12247
  9690. #: guix-git/doc/guix.texi:12374 guix-git/doc/guix.texi:12399
  9691. #: guix-git/doc/guix.texi:12431 guix-git/doc/guix.texi:12602
  9692. #: guix-git/doc/guix.texi:12643 guix-git/doc/guix.texi:12694
  9693. #: guix-git/doc/guix.texi:12719 guix-git/doc/guix.texi:12735
  9694. #: guix-git/doc/guix.texi:12783 guix-git/doc/guix.texi:12819
  9695. #: guix-git/doc/guix.texi:12868
  9696. #, no-wrap
  9697. msgid "--recursive"
  9698. msgstr ""
  9699. #. type: table
  9700. #: guix-git/doc/guix.texi:5007
  9701. 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."
  9702. msgstr ""
  9703. #. type: item
  9704. #: guix-git/doc/guix.texi:5008
  9705. #, no-wrap
  9706. msgid "--import"
  9707. msgstr ""
  9708. #. type: table
  9709. #: guix-git/doc/guix.texi:5013
  9710. 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)."
  9711. msgstr ""
  9712. #. type: item
  9713. #: guix-git/doc/guix.texi:5014
  9714. #, no-wrap
  9715. msgid "--missing"
  9716. msgstr ""
  9717. #. type: table
  9718. #: guix-git/doc/guix.texi:5018
  9719. 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."
  9720. msgstr ""
  9721. #. type: item
  9722. #: guix-git/doc/guix.texi:5019
  9723. #, no-wrap
  9724. msgid "--generate-key[=@var{parameters}]"
  9725. msgstr ""
  9726. #. type: cindex
  9727. #: guix-git/doc/guix.texi:5020
  9728. #, no-wrap
  9729. msgid "signing, archives"
  9730. msgstr ""
  9731. #. type: table
  9732. #: guix-git/doc/guix.texi:5027
  9733. 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."
  9734. msgstr ""
  9735. #. type: table
  9736. #: guix-git/doc/guix.texi:5037
  9737. 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})."
  9738. msgstr ""
  9739. #. type: item
  9740. #: guix-git/doc/guix.texi:5038
  9741. #, no-wrap
  9742. msgid "--authorize"
  9743. msgstr ""
  9744. #. type: cindex
  9745. #: guix-git/doc/guix.texi:5039
  9746. #, no-wrap
  9747. msgid "authorizing, archives"
  9748. msgstr ""
  9749. #. type: table
  9750. #: guix-git/doc/guix.texi:5043
  9751. 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."
  9752. msgstr ""
  9753. #. type: table
  9754. #: guix-git/doc/guix.texi:5050
  9755. 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)}."
  9756. msgstr ""
  9757. #. type: item
  9758. #: guix-git/doc/guix.texi:5051
  9759. #, no-wrap
  9760. msgid "--extract=@var{directory}"
  9761. msgstr ""
  9762. #. type: itemx
  9763. #: guix-git/doc/guix.texi:5052
  9764. #, no-wrap
  9765. msgid "-x @var{directory}"
  9766. msgstr ""
  9767. #. type: table
  9768. #: guix-git/doc/guix.texi:5056
  9769. 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."
  9770. msgstr ""
  9771. #. type: table
  9772. #: guix-git/doc/guix.texi:5059
  9773. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9774. msgstr ""
  9775. #. type: example
  9776. #: guix-git/doc/guix.texi:5064
  9777. #, no-wrap
  9778. msgid ""
  9779. "$ wget -O - \\\n"
  9780. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9781. " | gunzip | guix archive -x /tmp/emacs\n"
  9782. msgstr ""
  9783. #. type: table
  9784. #: guix-git/doc/guix.texi:5071
  9785. 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."
  9786. msgstr ""
  9787. #. type: table
  9788. #: guix-git/doc/guix.texi:5075
  9789. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9790. msgstr ""
  9791. #. type: item
  9792. #: guix-git/doc/guix.texi:5076
  9793. #, no-wrap
  9794. msgid "--list"
  9795. msgstr ""
  9796. #. type: itemx
  9797. #: guix-git/doc/guix.texi:5077 guix-git/doc/guix.texi:12590
  9798. #: guix-git/doc/guix.texi:12637
  9799. #, no-wrap
  9800. msgid "-t"
  9801. msgstr ""
  9802. #. type: table
  9803. #: guix-git/doc/guix.texi:5081
  9804. 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:"
  9805. msgstr ""
  9806. #. type: example
  9807. #: guix-git/doc/guix.texi:5086
  9808. #, no-wrap
  9809. msgid ""
  9810. "$ wget -O - \\\n"
  9811. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9812. " | lzip -d | guix archive -t\n"
  9813. msgstr ""
  9814. #. type: cindex
  9815. #: guix-git/doc/guix.texi:5097
  9816. #, no-wrap
  9817. msgid "@command{guix pull}, configuration file"
  9818. msgstr ""
  9819. #. type: cindex
  9820. #: guix-git/doc/guix.texi:5098
  9821. #, no-wrap
  9822. msgid "configuration of @command{guix pull}"
  9823. msgstr ""
  9824. #. type: Plain text
  9825. #: guix-git/doc/guix.texi:5109
  9826. 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."
  9827. msgstr ""
  9828. #. type: cindex
  9829. #: guix-git/doc/guix.texi:5127
  9830. #, no-wrap
  9831. msgid "extending the package collection (channels)"
  9832. msgstr ""
  9833. #. type: cindex
  9834. #: guix-git/doc/guix.texi:5128
  9835. #, no-wrap
  9836. msgid "variant packages (channels)"
  9837. msgstr ""
  9838. #. type: Plain text
  9839. #: guix-git/doc/guix.texi:5132
  9840. 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):"
  9841. msgstr ""
  9842. #. type: vindex
  9843. #: guix-git/doc/guix.texi:5133
  9844. #, no-wrap
  9845. msgid "%default-channels"
  9846. msgstr ""
  9847. #. type: lisp
  9848. #: guix-git/doc/guix.texi:5140
  9849. #, no-wrap
  9850. msgid ""
  9851. ";; Add variant packages to those Guix provides.\n"
  9852. "(cons (channel\n"
  9853. " (name 'variant-packages)\n"
  9854. " (url \"https://example.org/variant-packages.git\"))\n"
  9855. " %default-channels)\n"
  9856. msgstr ""
  9857. #. type: Plain text
  9858. #: guix-git/doc/guix.texi:5150
  9859. 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:"
  9860. msgstr ""
  9861. #. type: example
  9862. #: guix-git/doc/guix.texi:5165
  9863. #, no-wrap
  9864. msgid ""
  9865. "$ guix pull --list-generations\n"
  9866. "@dots{}\n"
  9867. "Generation 19\tAug 27 2018 16:20:48\n"
  9868. " guix d894ab8\n"
  9869. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9870. " branch: master\n"
  9871. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9872. " variant-packages dd3df5e\n"
  9873. " repository URL: https://example.org/variant-packages.git\n"
  9874. " branch: master\n"
  9875. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9876. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9877. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9878. msgstr ""
  9879. #. type: Plain text
  9880. #: guix-git/doc/guix.texi:5173
  9881. 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."
  9882. msgstr ""
  9883. #. type: Plain text
  9884. #: guix-git/doc/guix.texi:5182
  9885. 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:"
  9886. msgstr ""
  9887. #. type: lisp
  9888. #: guix-git/doc/guix.texi:5189
  9889. #, no-wrap
  9890. msgid ""
  9891. ";; Tell 'guix pull' to use another repo.\n"
  9892. "(list (channel\n"
  9893. " (name 'guix)\n"
  9894. " (url \"https://example.org/another-guix.git\")\n"
  9895. " (branch \"super-hacks\")))\n"
  9896. msgstr ""
  9897. #. type: Plain text
  9898. #: guix-git/doc/guix.texi:5195
  9899. 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})."
  9900. msgstr ""
  9901. #. type: Plain text
  9902. #: guix-git/doc/guix.texi:5206
  9903. 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:"
  9904. msgstr ""
  9905. #. type: lisp
  9906. #: guix-git/doc/guix.texi:5217
  9907. #, no-wrap
  9908. msgid ""
  9909. ";; Deploy specific commits of my channels of interest.\n"
  9910. "(list (channel\n"
  9911. " (name 'guix)\n"
  9912. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9913. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9914. " (channel\n"
  9915. " (name 'variant-packages)\n"
  9916. " (url \"https://example.org/variant-packages.git\")\n"
  9917. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9918. msgstr ""
  9919. #. type: Plain text
  9920. #: guix-git/doc/guix.texi:5224
  9921. 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})."
  9922. msgstr ""
  9923. #. type: Plain text
  9924. #: guix-git/doc/guix.texi:5231
  9925. 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."
  9926. msgstr ""
  9927. #. type: Plain text
  9928. #: guix-git/doc/guix.texi:5236
  9929. 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."
  9930. msgstr ""
  9931. #. type: anchor{#1}
  9932. #: guix-git/doc/guix.texi:5241
  9933. msgid "channel-authentication"
  9934. msgstr ""
  9935. #. type: Plain text
  9936. #: guix-git/doc/guix.texi:5247
  9937. 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."
  9938. msgstr ""
  9939. #. type: Plain text
  9940. #: guix-git/doc/guix.texi:5252
  9941. 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:"
  9942. msgstr ""
  9943. #. type: lisp
  9944. #: guix-git/doc/guix.texi:5262
  9945. #, no-wrap
  9946. msgid ""
  9947. "(channel\n"
  9948. " (name 'some-channel)\n"
  9949. " (url \"https://example.org/some-channel.git\")\n"
  9950. " (introduction\n"
  9951. " (make-channel-introduction\n"
  9952. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9953. " (openpgp-fingerprint\n"
  9954. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9955. msgstr ""
  9956. #. type: Plain text
  9957. #: guix-git/doc/guix.texi:5268
  9958. 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{}}."
  9959. msgstr ""
  9960. #. type: Plain text
  9961. #: guix-git/doc/guix.texi:5274
  9962. 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."
  9963. msgstr ""
  9964. #. type: Plain text
  9965. #: guix-git/doc/guix.texi:5276
  9966. msgid "If you're curious about the authentication mechanics, read on!"
  9967. msgstr ""
  9968. #. type: Plain text
  9969. #: guix-git/doc/guix.texi:5287
  9970. 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}."
  9971. msgstr ""
  9972. #. type: lisp
  9973. #: guix-git/doc/guix.texi:5290
  9974. #, no-wrap
  9975. msgid ""
  9976. "(use-modules (guix ci))\n"
  9977. "\n"
  9978. msgstr ""
  9979. #. type: lisp
  9980. #: guix-git/doc/guix.texi:5294
  9981. #, no-wrap
  9982. msgid ""
  9983. "(list (channel-with-substitutes-available\n"
  9984. " %default-guix-channel\n"
  9985. " \"https://ci.guix.gnu.org\"))\n"
  9986. msgstr ""
  9987. #. type: Plain text
  9988. #: guix-git/doc/guix.texi:5301
  9989. 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."
  9990. msgstr ""
  9991. #. type: cindex
  9992. #: guix-git/doc/guix.texi:5305
  9993. #, no-wrap
  9994. msgid "personal packages (channels)"
  9995. msgstr ""
  9996. #. type: cindex
  9997. #: guix-git/doc/guix.texi:5306
  9998. #, no-wrap
  9999. msgid "channels, for personal packages"
  10000. msgstr ""
  10001. #. type: Plain text
  10002. #: guix-git/doc/guix.texi:5314
  10003. 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?"
  10004. msgstr ""
  10005. #. type: quotation
  10006. #: guix-git/doc/guix.texi:5322
  10007. 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:"
  10008. msgstr ""
  10009. #. type: itemize
  10010. #: guix-git/doc/guix.texi:5330
  10011. 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."
  10012. msgstr ""
  10013. #. type: itemize
  10014. #: guix-git/doc/guix.texi:5339
  10015. 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."
  10016. msgstr ""
  10017. #. type: itemize
  10018. #: guix-git/doc/guix.texi:5343
  10019. 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."
  10020. msgstr ""
  10021. #. type: quotation
  10022. #: guix-git/doc/guix.texi:5350
  10023. 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."
  10024. msgstr ""
  10025. #. type: Plain text
  10026. #: guix-git/doc/guix.texi:5362
  10027. 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})."
  10028. msgstr ""
  10029. #. type: Plain text
  10030. #: guix-git/doc/guix.texi:5367
  10031. 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."
  10032. msgstr ""
  10033. #. type: cindex
  10034. #: guix-git/doc/guix.texi:5372
  10035. #, no-wrap
  10036. msgid "subdirectory, channels"
  10037. msgstr ""
  10038. #. type: Plain text
  10039. #: guix-git/doc/guix.texi:5376
  10040. 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:"
  10041. msgstr ""
  10042. #. type: lisp
  10043. #: guix-git/doc/guix.texi:5381
  10044. #, no-wrap
  10045. msgid ""
  10046. "(channel\n"
  10047. " (version 0)\n"
  10048. " (directory \"guix\"))\n"
  10049. msgstr ""
  10050. #. type: cindex
  10051. #: guix-git/doc/guix.texi:5386
  10052. #, no-wrap
  10053. msgid "dependencies, channels"
  10054. msgstr ""
  10055. #. type: cindex
  10056. #: guix-git/doc/guix.texi:5387
  10057. #, no-wrap
  10058. msgid "meta-data, channels"
  10059. msgstr ""
  10060. #. type: Plain text
  10061. #: guix-git/doc/guix.texi:5392
  10062. 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."
  10063. msgstr ""
  10064. #. type: Plain text
  10065. #: guix-git/doc/guix.texi:5394
  10066. msgid "The meta-data file should contain a simple S-expression like this:"
  10067. msgstr ""
  10068. #. type: lisp
  10069. #: guix-git/doc/guix.texi:5402
  10070. #, no-wrap
  10071. msgid ""
  10072. "(channel\n"
  10073. " (version 0)\n"
  10074. " (dependencies\n"
  10075. " (channel\n"
  10076. " (name some-collection)\n"
  10077. " (url \"https://example.org/first-collection.git\")\n"
  10078. "\n"
  10079. msgstr ""
  10080. #. type: lisp
  10081. #: guix-git/doc/guix.texi:5414
  10082. #, no-wrap
  10083. msgid ""
  10084. " ;; The 'introduction' bit below is optional: you would\n"
  10085. " ;; provide it for dependencies that can be authenticated.\n"
  10086. " (introduction\n"
  10087. " (channel-introduction\n"
  10088. " (version 0)\n"
  10089. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  10090. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  10091. " (channel\n"
  10092. " (name some-other-collection)\n"
  10093. " (url \"https://example.org/second-collection.git\")\n"
  10094. " (branch \"testing\"))))\n"
  10095. msgstr ""
  10096. #. type: Plain text
  10097. #: guix-git/doc/guix.texi:5420
  10098. 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."
  10099. msgstr ""
  10100. #. type: Plain text
  10101. #: guix-git/doc/guix.texi:5424
  10102. 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."
  10103. msgstr ""
  10104. #. type: cindex
  10105. #: guix-git/doc/guix.texi:5428
  10106. #, no-wrap
  10107. msgid "channel authorizations"
  10108. msgstr ""
  10109. #. type: anchor{#1}
  10110. #: guix-git/doc/guix.texi:5442
  10111. msgid "channel-authorizations"
  10112. msgstr ""
  10113. #. type: Plain text
  10114. #: guix-git/doc/guix.texi:5442
  10115. 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:"
  10116. msgstr ""
  10117. #. type: lisp
  10118. #: guix-git/doc/guix.texi:5445
  10119. #, no-wrap
  10120. msgid ""
  10121. ";; Example '.guix-authorizations' file.\n"
  10122. "\n"
  10123. msgstr ""
  10124. #. type: lisp
  10125. #: guix-git/doc/guix.texi:5448
  10126. #, no-wrap
  10127. msgid ""
  10128. "(authorizations\n"
  10129. " (version 0) ;current file format version\n"
  10130. "\n"
  10131. msgstr ""
  10132. #. type: lisp
  10133. #: guix-git/doc/guix.texi:5455
  10134. #, no-wrap
  10135. msgid ""
  10136. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  10137. " (name \"alice\"))\n"
  10138. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  10139. " (name \"bob\"))\n"
  10140. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  10141. " (name \"charlie\"))))\n"
  10142. msgstr ""
  10143. #. type: Plain text
  10144. #: guix-git/doc/guix.texi:5459
  10145. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  10146. msgstr ""
  10147. #. type: Plain text
  10148. #: guix-git/doc/guix.texi:5464
  10149. 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?"
  10150. msgstr ""
  10151. #. type: cindex
  10152. #: guix-git/doc/guix.texi:5465
  10153. #, no-wrap
  10154. msgid "channel introduction"
  10155. msgstr ""
  10156. #. type: Plain text
  10157. #: guix-git/doc/guix.texi:5474
  10158. 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."
  10159. msgstr ""
  10160. #. type: Plain text
  10161. #: guix-git/doc/guix.texi:5481
  10162. 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:"
  10163. msgstr ""
  10164. #. type: lisp
  10165. #: guix-git/doc/guix.texi:5486
  10166. #, no-wrap
  10167. msgid ""
  10168. "(channel\n"
  10169. " (version 0)\n"
  10170. " (keyring-reference \"my-keyring-branch\"))\n"
  10171. msgstr ""
  10172. #. type: Plain text
  10173. #: guix-git/doc/guix.texi:5490
  10174. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  10175. msgstr ""
  10176. #. type: enumerate
  10177. #: guix-git/doc/guix.texi:5496
  10178. 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})."
  10179. msgstr ""
  10180. #. type: enumerate
  10181. #: guix-git/doc/guix.texi:5501
  10182. 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.)"
  10183. msgstr ""
  10184. #. type: enumerate
  10185. #: guix-git/doc/guix.texi:5507
  10186. 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."
  10187. msgstr ""
  10188. #. type: Plain text
  10189. #: guix-git/doc/guix.texi:5512
  10190. 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:"
  10191. msgstr ""
  10192. #. type: example
  10193. #: guix-git/doc/guix.texi:5515
  10194. #, no-wrap
  10195. msgid "guix git authenticate @var{commit} @var{signer}\n"
  10196. msgstr ""
  10197. #. type: Plain text
  10198. #: guix-git/doc/guix.texi:5520
  10199. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  10200. msgstr ""
  10201. #. type: Plain text
  10202. #: guix-git/doc/guix.texi:5527
  10203. 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."
  10204. msgstr ""
  10205. #. type: cindex
  10206. #: guix-git/doc/guix.texi:5531
  10207. #, no-wrap
  10208. msgid "primary URL, channels"
  10209. msgstr ""
  10210. #. type: Plain text
  10211. #: guix-git/doc/guix.texi:5534
  10212. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  10213. msgstr ""
  10214. #. type: lisp
  10215. #: guix-git/doc/guix.texi:5539
  10216. #, no-wrap
  10217. msgid ""
  10218. "(channel\n"
  10219. " (version 0)\n"
  10220. " (url \"https://example.org/guix.git\"))\n"
  10221. msgstr ""
  10222. #. type: Plain text
  10223. #: guix-git/doc/guix.texi:5546
  10224. 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."
  10225. msgstr ""
  10226. #. type: Plain text
  10227. #: guix-git/doc/guix.texi:5550
  10228. 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."
  10229. msgstr ""
  10230. #. type: cindex
  10231. #: guix-git/doc/guix.texi:5554
  10232. #, no-wrap
  10233. msgid "news, for channels"
  10234. msgstr ""
  10235. #. type: Plain text
  10236. #: guix-git/doc/guix.texi:5558
  10237. 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."
  10238. msgstr ""
  10239. #. type: Plain text
  10240. #: guix-git/doc/guix.texi:5563
  10241. 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."
  10242. msgstr ""
  10243. #. type: Plain text
  10244. #: guix-git/doc/guix.texi:5566
  10245. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10246. msgstr ""
  10247. #. type: lisp
  10248. #: guix-git/doc/guix.texi:5571
  10249. #, no-wrap
  10250. msgid ""
  10251. "(channel\n"
  10252. " (version 0)\n"
  10253. " (news-file \"etc/news.txt\"))\n"
  10254. msgstr ""
  10255. #. type: Plain text
  10256. #: guix-git/doc/guix.texi:5575
  10257. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10258. msgstr ""
  10259. #. type: lisp
  10260. #: guix-git/doc/guix.texi:5588
  10261. #, no-wrap
  10262. msgid ""
  10263. "(channel-news\n"
  10264. " (version 0)\n"
  10265. " (entry (tag \"the-bug-fix\")\n"
  10266. " (title (en \"Fixed terrible bug\")\n"
  10267. " (fr \"Oh la la\"))\n"
  10268. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10269. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10270. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10271. " (title (en \"Added a great package\")\n"
  10272. " (ca \"Què vol dir guix?\"))\n"
  10273. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10274. msgstr ""
  10275. #. type: Plain text
  10276. #: guix-git/doc/guix.texi:5595
  10277. 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."
  10278. msgstr ""
  10279. #. type: Plain text
  10280. #: guix-git/doc/guix.texi:5600
  10281. 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."
  10282. msgstr ""
  10283. #. type: Plain text
  10284. #: guix-git/doc/guix.texi:5606
  10285. 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."
  10286. msgstr ""
  10287. #. type: Plain text
  10288. #: guix-git/doc/guix.texi:5612
  10289. 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:"
  10290. msgstr ""
  10291. #. type: example
  10292. #: guix-git/doc/guix.texi:5615
  10293. #, no-wrap
  10294. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10295. msgstr ""
  10296. #. type: Plain text
  10297. #: guix-git/doc/guix.texi:5619
  10298. 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."
  10299. msgstr ""
  10300. #. type: cindex
  10301. #: guix-git/doc/guix.texi:5624
  10302. #, no-wrap
  10303. msgid "software development"
  10304. msgstr ""
  10305. #. type: Plain text
  10306. #: guix-git/doc/guix.texi:5628
  10307. 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."
  10308. msgstr ""
  10309. #. type: Plain text
  10310. #: guix-git/doc/guix.texi:5634
  10311. 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."
  10312. msgstr ""
  10313. #. type: section
  10314. #: guix-git/doc/guix.texi:5644
  10315. #, no-wrap
  10316. msgid "Invoking @command{guix shell}"
  10317. msgstr ""
  10318. #. type: cindex
  10319. #: guix-git/doc/guix.texi:5646
  10320. #, no-wrap
  10321. msgid "reproducible build environments"
  10322. msgstr ""
  10323. #. type: cindex
  10324. #: guix-git/doc/guix.texi:5647
  10325. #, no-wrap
  10326. msgid "development environments"
  10327. msgstr ""
  10328. #. type: command{#1}
  10329. #: guix-git/doc/guix.texi:5648
  10330. #, no-wrap
  10331. msgid "guix environment"
  10332. msgstr ""
  10333. #. type: cindex
  10334. #: guix-git/doc/guix.texi:5649
  10335. #, no-wrap
  10336. msgid "environment, package build environment"
  10337. msgstr ""
  10338. #. type: Plain text
  10339. #: guix-git/doc/guix.texi:5654
  10340. 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."
  10341. msgstr ""
  10342. #. type: quotation
  10343. #: guix-git/doc/guix.texi:5660
  10344. 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."
  10345. msgstr ""
  10346. #. type: example
  10347. #: guix-git/doc/guix.texi:5666
  10348. #, no-wrap
  10349. msgid "guix shell [@var{options}] [@var{package}@dots{}]\n"
  10350. msgstr ""
  10351. #. type: Plain text
  10352. #: guix-git/doc/guix.texi:5671
  10353. 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:"
  10354. msgstr ""
  10355. #. type: example
  10356. #: guix-git/doc/guix.texi:5674
  10357. #, no-wrap
  10358. msgid "guix shell python python-numpy -- python3\n"
  10359. msgstr ""
  10360. #. type: Plain text
  10361. #: guix-git/doc/guix.texi:5679
  10362. 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:"
  10363. msgstr ""
  10364. #. type: example
  10365. #: guix-git/doc/guix.texi:5682
  10366. #, no-wrap
  10367. msgid "guix shell --development inkscape\n"
  10368. msgstr ""
  10369. #. type: Plain text
  10370. #: guix-git/doc/guix.texi:5688
  10371. 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."
  10372. msgstr ""
  10373. #. type: Plain text
  10374. #: guix-git/doc/guix.texi:5695
  10375. 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:"
  10376. msgstr ""
  10377. #. type: example
  10378. #: guix-git/doc/guix.texi:5698
  10379. #, no-wrap
  10380. msgid "guix shell\n"
  10381. msgstr ""
  10382. #. type: Plain text
  10383. #: guix-git/doc/guix.texi:5702
  10384. msgid "This provides an easy way to define, share, and enter development environments."
  10385. msgstr ""
  10386. #. type: Plain text
  10387. #: guix-git/doc/guix.texi:5713
  10388. 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:"
  10389. msgstr ""
  10390. #. type: example
  10391. #: guix-git/doc/guix.texi:5716
  10392. #, no-wrap
  10393. msgid "guix shell --container emacs gcc-toolchain\n"
  10394. msgstr ""
  10395. #. type: Plain text
  10396. #: guix-git/doc/guix.texi:5724
  10397. 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."
  10398. msgstr ""
  10399. #. type: Plain text
  10400. #: guix-git/doc/guix.texi:5731
  10401. 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:"
  10402. msgstr ""
  10403. #. type: example
  10404. #: guix-git/doc/guix.texi:5735
  10405. #, no-wrap
  10406. msgid ""
  10407. "guix shell --container --network --no-cwd ungoogled-chromium \\\n"
  10408. " --preserve='^DISPLAY$' -- chromium\n"
  10409. msgstr ""
  10410. #. type: vindex
  10411. #: guix-git/doc/guix.texi:5737 guix-git/doc/guix.texi:6067
  10412. #, no-wrap
  10413. msgid "GUIX_ENVIRONMENT"
  10414. msgstr ""
  10415. #. type: Plain text
  10416. #: guix-git/doc/guix.texi:5743
  10417. 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}):"
  10418. msgstr ""
  10419. #. type: example
  10420. #: guix-git/doc/guix.texi:5749 guix-git/doc/guix.texi:6079
  10421. #, no-wrap
  10422. msgid ""
  10423. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10424. "then\n"
  10425. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10426. "fi\n"
  10427. msgstr ""
  10428. #. type: Plain text
  10429. #: guix-git/doc/guix.texi:5753 guix-git/doc/guix.texi:6083
  10430. msgid "...@: or to browse the profile:"
  10431. msgstr ""
  10432. #. type: example
  10433. #: guix-git/doc/guix.texi:5756 guix-git/doc/guix.texi:6086
  10434. #, no-wrap
  10435. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10436. msgstr ""
  10437. #. type: Plain text
  10438. #: guix-git/doc/guix.texi:5759 guix-git/doc/guix.texi:6162
  10439. msgid "The available options are summarized below."
  10440. msgstr ""
  10441. #. type: item
  10442. #: guix-git/doc/guix.texi:5761 guix-git/doc/guix.texi:6164
  10443. #: guix-git/doc/guix.texi:11964
  10444. #, no-wrap
  10445. msgid "--check"
  10446. msgstr ""
  10447. #. type: table
  10448. #: guix-git/doc/guix.texi:5766
  10449. 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."
  10450. msgstr ""
  10451. #. type: table
  10452. #: guix-git/doc/guix.texi:5770
  10453. 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."
  10454. msgstr ""
  10455. #. type: table
  10456. #: guix-git/doc/guix.texi:5778
  10457. 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."
  10458. msgstr ""
  10459. #. type: item
  10460. #: guix-git/doc/guix.texi:5779
  10461. #, fuzzy, no-wrap
  10462. #| msgid "Development"
  10463. msgid "--development"
  10464. msgstr "Sviluppo"
  10465. #. type: table
  10466. #: guix-git/doc/guix.texi:5786
  10467. 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:"
  10468. msgstr ""
  10469. #. type: example
  10470. #: guix-git/doc/guix.texi:5789
  10471. #, no-wrap
  10472. msgid "guix shell -D guile autoconf automake libtool\n"
  10473. msgstr ""
  10474. #. type: item
  10475. #: guix-git/doc/guix.texi:5791 guix-git/doc/guix.texi:6185
  10476. #: guix-git/doc/guix.texi:6672 guix-git/doc/guix.texi:11839
  10477. #: guix-git/doc/guix.texi:12913 guix-git/doc/guix.texi:13305
  10478. #: guix-git/doc/guix.texi:13903 guix-git/doc/guix.texi:35801
  10479. #: guix-git/doc/guix.texi:38386
  10480. #, no-wrap
  10481. msgid "--expression=@var{expr}"
  10482. msgstr ""
  10483. #. type: itemx
  10484. #: guix-git/doc/guix.texi:5792 guix-git/doc/guix.texi:6186
  10485. #: guix-git/doc/guix.texi:6673 guix-git/doc/guix.texi:11840
  10486. #: guix-git/doc/guix.texi:12914 guix-git/doc/guix.texi:13306
  10487. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:35802
  10488. #: guix-git/doc/guix.texi:38387
  10489. #, no-wrap
  10490. msgid "-e @var{expr}"
  10491. msgstr ""
  10492. #. type: table
  10493. #: guix-git/doc/guix.texi:5795 guix-git/doc/guix.texi:6189
  10494. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10495. msgstr ""
  10496. #. type: table
  10497. #: guix-git/doc/guix.texi:5797 guix-git/doc/guix.texi:6191
  10498. #: guix-git/doc/guix.texi:13310
  10499. msgid "For example, running:"
  10500. msgstr ""
  10501. #. type: example
  10502. #: guix-git/doc/guix.texi:5800
  10503. #, no-wrap
  10504. msgid "guix shell -D -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10505. msgstr ""
  10506. #. type: table
  10507. #: guix-git/doc/guix.texi:5804 guix-git/doc/guix.texi:6198
  10508. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10509. msgstr ""
  10510. #. type: table
  10511. #: guix-git/doc/guix.texi:5806 guix-git/doc/guix.texi:6200
  10512. msgid "Running:"
  10513. msgstr ""
  10514. #. type: example
  10515. #: guix-git/doc/guix.texi:5809
  10516. #, no-wrap
  10517. msgid "guix shell -e '(@@ (gnu) %base-packages)'\n"
  10518. msgstr ""
  10519. #. type: table
  10520. #: guix-git/doc/guix.texi:5812 guix-git/doc/guix.texi:6206
  10521. msgid "starts a shell with all the base system packages available."
  10522. msgstr ""
  10523. #. type: table
  10524. #: guix-git/doc/guix.texi:5815 guix-git/doc/guix.texi:6209
  10525. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10526. msgstr ""
  10527. #. type: example
  10528. #: guix-git/doc/guix.texi:5818
  10529. #, no-wrap
  10530. msgid "guix shell -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10531. msgstr ""
  10532. #. type: item
  10533. #: guix-git/doc/guix.texi:5820 guix-git/doc/guix.texi:11813
  10534. #, no-wrap
  10535. msgid "--file=@var{file}"
  10536. msgstr ""
  10537. #. type: table
  10538. #: guix-git/doc/guix.texi:5824
  10539. msgid "Create an environment containing the package or list of packages that the code within @var{file} evaluates to."
  10540. msgstr ""
  10541. #. type: lisp
  10542. #: guix-git/doc/guix.texi:5830 guix-git/doc/guix.texi:6224
  10543. #, no-wrap
  10544. msgid "@verbatiminclude environment-gdb.scm\n"
  10545. msgstr ""
  10546. #. type: table
  10547. #: guix-git/doc/guix.texi:5834
  10548. msgid "With the file above, you can enter a development environment for GDB by running:"
  10549. msgstr ""
  10550. #. type: example
  10551. #: guix-git/doc/guix.texi:5837
  10552. #, no-wrap
  10553. msgid "guix shell -D -f gdb-devel.scm\n"
  10554. msgstr ""
  10555. #. type: table
  10556. #: guix-git/doc/guix.texi:5844 guix-git/doc/guix.texi:6231
  10557. 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."
  10558. msgstr ""
  10559. #. type: table
  10560. #: guix-git/doc/guix.texi:5848 guix-git/doc/guix.texi:6235
  10561. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10562. msgstr ""
  10563. #. type: table
  10564. #: guix-git/doc/guix.texi:5854 guix-git/doc/guix.texi:6267
  10565. msgid "Create an environment containing the packages installed in @var{profile}. Use @command{guix package} (@pxref{Invoking guix package}) to create and manage profiles."
  10566. msgstr ""
  10567. #. type: item
  10568. #: guix-git/doc/guix.texi:5855 guix-git/doc/guix.texi:6268
  10569. #, no-wrap
  10570. msgid "--pure"
  10571. msgstr ""
  10572. #. type: table
  10573. #: guix-git/doc/guix.texi:5859 guix-git/doc/guix.texi:6272
  10574. 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."
  10575. msgstr ""
  10576. #. type: item
  10577. #: guix-git/doc/guix.texi:5860 guix-git/doc/guix.texi:6273
  10578. #, no-wrap
  10579. msgid "--preserve=@var{regexp}"
  10580. msgstr ""
  10581. #. type: itemx
  10582. #: guix-git/doc/guix.texi:5861 guix-git/doc/guix.texi:6274
  10583. #, no-wrap
  10584. msgid "-E @var{regexp}"
  10585. msgstr ""
  10586. #. type: table
  10587. #: guix-git/doc/guix.texi:5866 guix-git/doc/guix.texi:6279
  10588. 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."
  10589. msgstr ""
  10590. #. type: example
  10591. #: guix-git/doc/guix.texi:5870
  10592. #, no-wrap
  10593. msgid ""
  10594. "guix shell --pure --preserve=^SLURM openmpi @dots{} \\\n"
  10595. " -- mpirun @dots{}\n"
  10596. msgstr ""
  10597. #. type: table
  10598. #: guix-git/doc/guix.texi:5876 guix-git/doc/guix.texi:6289
  10599. 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.)."
  10600. msgstr ""
  10601. #. type: item
  10602. #: guix-git/doc/guix.texi:5877 guix-git/doc/guix.texi:6290
  10603. #, no-wrap
  10604. msgid "--search-paths"
  10605. msgstr ""
  10606. #. type: table
  10607. #: guix-git/doc/guix.texi:5880 guix-git/doc/guix.texi:6293
  10608. msgid "Display the environment variable definitions that make up the environment."
  10609. msgstr ""
  10610. #. type: table
  10611. #: guix-git/doc/guix.texi:5884 guix-git/doc/guix.texi:6297
  10612. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10613. msgstr ""
  10614. #. type: item
  10615. #: guix-git/doc/guix.texi:5885 guix-git/doc/guix.texi:6298
  10616. #, no-wrap
  10617. msgid "--container"
  10618. msgstr ""
  10619. #. type: itemx
  10620. #: guix-git/doc/guix.texi:5886 guix-git/doc/guix.texi:6299
  10621. #, no-wrap
  10622. msgid "-C"
  10623. msgstr ""
  10624. #. type: item
  10625. #: guix-git/doc/guix.texi:5887 guix-git/doc/guix.texi:6128
  10626. #: guix-git/doc/guix.texi:6300 guix-git/doc/guix.texi:14459
  10627. #: guix-git/doc/guix.texi:35769
  10628. #, no-wrap
  10629. msgid "container"
  10630. msgstr ""
  10631. #. type: table
  10632. #: guix-git/doc/guix.texi:5893 guix-git/doc/guix.texi:6306
  10633. 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."
  10634. msgstr ""
  10635. #. type: table
  10636. #: guix-git/doc/guix.texi:5897 guix-git/doc/guix.texi:6310
  10637. 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)."
  10638. msgstr ""
  10639. #. type: item
  10640. #: guix-git/doc/guix.texi:5898 guix-git/doc/guix.texi:6311
  10641. #: guix-git/doc/guix.texi:35861
  10642. #, no-wrap
  10643. msgid "--network"
  10644. msgstr ""
  10645. #. type: table
  10646. #: guix-git/doc/guix.texi:5903 guix-git/doc/guix.texi:6316
  10647. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10648. msgstr ""
  10649. #. type: item
  10650. #: guix-git/doc/guix.texi:5904 guix-git/doc/guix.texi:6317
  10651. #, no-wrap
  10652. msgid "--link-profile"
  10653. msgstr ""
  10654. #. type: itemx
  10655. #: guix-git/doc/guix.texi:5905 guix-git/doc/guix.texi:6318
  10656. #, no-wrap
  10657. msgid "-P"
  10658. msgstr ""
  10659. #. type: table
  10660. #: guix-git/doc/guix.texi:5913
  10661. 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."
  10662. msgstr ""
  10663. #. type: table
  10664. #: guix-git/doc/guix.texi:5919 guix-git/doc/guix.texi:6332
  10665. 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."
  10666. msgstr ""
  10667. #. type: item
  10668. #: guix-git/doc/guix.texi:5920 guix-git/doc/guix.texi:6333
  10669. #: guix-git/doc/guix.texi:14036
  10670. #, no-wrap
  10671. msgid "--user=@var{user}"
  10672. msgstr ""
  10673. #. type: itemx
  10674. #: guix-git/doc/guix.texi:5921 guix-git/doc/guix.texi:6334
  10675. #: guix-git/doc/guix.texi:14037
  10676. #, no-wrap
  10677. msgid "-u @var{user}"
  10678. msgstr ""
  10679. #. type: table
  10680. #: guix-git/doc/guix.texi:5928 guix-git/doc/guix.texi:6341
  10681. 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."
  10682. msgstr ""
  10683. #. type: table
  10684. #: guix-git/doc/guix.texi:5933 guix-git/doc/guix.texi:6346
  10685. 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."
  10686. msgstr ""
  10687. #. type: example
  10688. #: guix-git/doc/guix.texi:5940
  10689. #, no-wrap
  10690. msgid ""
  10691. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10692. "cd $HOME/wd\n"
  10693. "guix shell --container --user=foo \\\n"
  10694. " --expose=$HOME/test \\\n"
  10695. " --expose=/tmp/target=$HOME/target\n"
  10696. msgstr ""
  10697. #. type: table
  10698. #: guix-git/doc/guix.texi:5945 guix-git/doc/guix.texi:6358
  10699. 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."
  10700. msgstr ""
  10701. #. type: item
  10702. #: guix-git/doc/guix.texi:5946 guix-git/doc/guix.texi:6359
  10703. #, no-wrap
  10704. msgid "--no-cwd"
  10705. msgstr ""
  10706. #. type: table
  10707. #: guix-git/doc/guix.texi:5953 guix-git/doc/guix.texi:6366
  10708. 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}."
  10709. msgstr ""
  10710. #. type: item
  10711. #: guix-git/doc/guix.texi:5954 guix-git/doc/guix.texi:6367
  10712. #, no-wrap
  10713. msgid "--expose=@var{source}[=@var{target}]"
  10714. msgstr ""
  10715. #. type: itemx
  10716. #: guix-git/doc/guix.texi:5955 guix-git/doc/guix.texi:6368
  10717. #, no-wrap
  10718. msgid "--share=@var{source}[=@var{target}]"
  10719. msgstr ""
  10720. #. type: table
  10721. #: guix-git/doc/guix.texi:5961 guix-git/doc/guix.texi:6374
  10722. 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."
  10723. msgstr ""
  10724. #. type: table
  10725. #: guix-git/doc/guix.texi:5965 guix-git/doc/guix.texi:6378
  10726. 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:"
  10727. msgstr ""
  10728. #. type: example
  10729. #: guix-git/doc/guix.texi:5968
  10730. #, no-wrap
  10731. msgid "guix shell --container --expose=$HOME=/exchange guile -- guile\n"
  10732. msgstr ""
  10733. #. type: item
  10734. #: guix-git/doc/guix.texi:5970
  10735. #, no-wrap
  10736. msgid "--rebuild-cache"
  10737. msgstr ""
  10738. #. type: cindex
  10739. #: guix-git/doc/guix.texi:5971
  10740. #, no-wrap
  10741. msgid "caching, of profiles"
  10742. msgstr ""
  10743. #. type: cindex
  10744. #: guix-git/doc/guix.texi:5972
  10745. #, no-wrap
  10746. msgid "caching, in @command{guix shell}"
  10747. msgstr ""
  10748. #. type: table
  10749. #: guix-git/doc/guix.texi:5978
  10750. 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."
  10751. msgstr ""
  10752. #. type: table
  10753. #: guix-git/doc/guix.texi:5984
  10754. 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."
  10755. msgstr ""
  10756. #. type: item
  10757. #: guix-git/doc/guix.texi:5985 guix-git/doc/guix.texi:6169
  10758. #: guix-git/doc/guix.texi:6740 guix-git/doc/guix.texi:11993
  10759. #: guix-git/doc/guix.texi:35866
  10760. #, no-wrap
  10761. msgid "--root=@var{file}"
  10762. msgstr ""
  10763. #. type: itemx
  10764. #: guix-git/doc/guix.texi:5986 guix-git/doc/guix.texi:6170
  10765. #: guix-git/doc/guix.texi:6741 guix-git/doc/guix.texi:11994
  10766. #: guix-git/doc/guix.texi:35867
  10767. #, no-wrap
  10768. msgid "-r @var{file}"
  10769. msgstr ""
  10770. #. type: cindex
  10771. #: guix-git/doc/guix.texi:5987 guix-git/doc/guix.texi:6171
  10772. #, no-wrap
  10773. msgid "persistent environment"
  10774. msgstr ""
  10775. #. type: cindex
  10776. #: guix-git/doc/guix.texi:5988 guix-git/doc/guix.texi:6172
  10777. #, no-wrap
  10778. msgid "garbage collector root, for environments"
  10779. msgstr ""
  10780. #. type: table
  10781. #: guix-git/doc/guix.texi:5991 guix-git/doc/guix.texi:6175
  10782. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10783. msgstr ""
  10784. #. type: table
  10785. #: guix-git/doc/guix.texi:5994 guix-git/doc/guix.texi:6178
  10786. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10787. msgstr ""
  10788. #. type: table
  10789. #: guix-git/doc/guix.texi:6000
  10790. 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."
  10791. msgstr ""
  10792. #. type: table
  10793. #: guix-git/doc/guix.texi:6007
  10794. 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."
  10795. msgstr ""
  10796. #. type: table
  10797. #: guix-git/doc/guix.texi:6009
  10798. msgid "@xref{Invoking guix gc}, for more on GC roots."
  10799. msgstr ""
  10800. #. type: Plain text
  10801. #: guix-git/doc/guix.texi:6014
  10802. 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})."
  10803. msgstr ""
  10804. #. type: section
  10805. #: guix-git/doc/guix.texi:6016
  10806. #, no-wrap
  10807. msgid "Invoking @command{guix environment}"
  10808. msgstr ""
  10809. #. type: Plain text
  10810. #: guix-git/doc/guix.texi:6020
  10811. msgid "The purpose of @command{guix environment} is to assist in creating development environments."
  10812. msgstr ""
  10813. #. type: quotation
  10814. #: guix-git/doc/guix.texi:6021
  10815. #, no-wrap
  10816. msgid "Deprecation warning"
  10817. msgstr ""
  10818. #. type: quotation
  10819. #: guix-git/doc/guix.texi:6025
  10820. 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}."
  10821. msgstr ""
  10822. #. type: quotation
  10823. #: guix-git/doc/guix.texi:6030
  10824. 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."
  10825. msgstr ""
  10826. #. type: example
  10827. #: guix-git/doc/guix.texi:6036
  10828. #, no-wrap
  10829. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10830. msgstr ""
  10831. #. type: Plain text
  10832. #: guix-git/doc/guix.texi:6040
  10833. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10834. msgstr ""
  10835. #. type: example
  10836. #: guix-git/doc/guix.texi:6043
  10837. #, no-wrap
  10838. msgid "guix environment guile\n"
  10839. msgstr ""
  10840. #. type: Plain text
  10841. #: guix-git/doc/guix.texi:6060
  10842. 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.}."
  10843. msgstr ""
  10844. #. type: Plain text
  10845. #: guix-git/doc/guix.texi:6066
  10846. 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."
  10847. msgstr ""
  10848. #. type: Plain text
  10849. #: guix-git/doc/guix.texi:6073
  10850. 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}):"
  10851. msgstr ""
  10852. #. type: Plain text
  10853. #: guix-git/doc/guix.texi:6092
  10854. 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:"
  10855. msgstr ""
  10856. #. type: example
  10857. #: guix-git/doc/guix.texi:6095
  10858. #, no-wrap
  10859. msgid "guix environment guile emacs\n"
  10860. msgstr ""
  10861. #. type: Plain text
  10862. #: guix-git/doc/guix.texi:6100
  10863. 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:"
  10864. msgstr ""
  10865. #. type: example
  10866. #: guix-git/doc/guix.texi:6103
  10867. #, no-wrap
  10868. msgid "guix environment guile -- make -j4\n"
  10869. msgstr ""
  10870. #. type: Plain text
  10871. #: guix-git/doc/guix.texi:6109
  10872. 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:"
  10873. msgstr ""
  10874. #. type: example
  10875. #: guix-git/doc/guix.texi:6112
  10876. #, no-wrap
  10877. msgid "guix environment --ad-hoc python-numpy python -- python3\n"
  10878. msgstr ""
  10879. #. type: Plain text
  10880. #: guix-git/doc/guix.texi:6123
  10881. 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:"
  10882. msgstr ""
  10883. #. type: example
  10884. #: guix-git/doc/guix.texi:6126
  10885. #, no-wrap
  10886. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10887. msgstr ""
  10888. #. type: Plain text
  10889. #: guix-git/doc/guix.texi:6136
  10890. 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:"
  10891. msgstr ""
  10892. #. type: example
  10893. #: guix-git/doc/guix.texi:6139
  10894. #, no-wrap
  10895. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10896. msgstr ""
  10897. #. type: quotation
  10898. #: guix-git/doc/guix.texi:6143
  10899. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10900. msgstr ""
  10901. #. type: cindex
  10902. #: guix-git/doc/guix.texi:6145
  10903. #, no-wrap
  10904. msgid "certificates"
  10905. msgstr ""
  10906. #. type: Plain text
  10907. #: guix-git/doc/guix.texi:6152
  10908. 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."
  10909. msgstr ""
  10910. #. type: example
  10911. #: guix-git/doc/guix.texi:6159
  10912. #, no-wrap
  10913. msgid ""
  10914. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10915. " --expose=/etc/machine-id \\\n"
  10916. " --expose=/etc/ssl/certs/ \\\n"
  10917. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10918. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10919. msgstr ""
  10920. #. type: table
  10921. #: guix-git/doc/guix.texi:6168
  10922. msgid "Set up the environment and check whether the shell would clobber environment variables. @xref{Invoking guix shell, @option{--check}}, for more info."
  10923. msgstr ""
  10924. #. type: table
  10925. #: guix-git/doc/guix.texi:6184
  10926. 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."
  10927. msgstr ""
  10928. #. type: example
  10929. #: guix-git/doc/guix.texi:6194
  10930. #, no-wrap
  10931. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10932. msgstr ""
  10933. #. type: example
  10934. #: guix-git/doc/guix.texi:6203
  10935. #, no-wrap
  10936. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10937. msgstr ""
  10938. #. type: example
  10939. #: guix-git/doc/guix.texi:6212
  10940. #, no-wrap
  10941. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10942. msgstr ""
  10943. #. type: item
  10944. #: guix-git/doc/guix.texi:6214
  10945. #, no-wrap
  10946. msgid "--load=@var{file}"
  10947. msgstr ""
  10948. #. type: itemx
  10949. #: guix-git/doc/guix.texi:6215
  10950. #, no-wrap
  10951. msgid "-l @var{file}"
  10952. msgstr ""
  10953. #. type: table
  10954. #: guix-git/doc/guix.texi:6218
  10955. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10956. msgstr ""
  10957. #. type: item
  10958. #: guix-git/doc/guix.texi:6236
  10959. #, no-wrap
  10960. msgid "--ad-hoc"
  10961. msgstr ""
  10962. #. type: table
  10963. #: guix-git/doc/guix.texi:6241
  10964. 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."
  10965. msgstr ""
  10966. #. type: table
  10967. #: guix-git/doc/guix.texi:6243
  10968. msgid "For instance, the command:"
  10969. msgstr ""
  10970. #. type: example
  10971. #: guix-git/doc/guix.texi:6246
  10972. #, no-wrap
  10973. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10974. msgstr ""
  10975. #. type: table
  10976. #: guix-git/doc/guix.texi:6250
  10977. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10978. msgstr ""
  10979. #. type: table
  10980. #: guix-git/doc/guix.texi:6255
  10981. 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})."
  10982. msgstr ""
  10983. #. type: table
  10984. #: guix-git/doc/guix.texi:6261
  10985. 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."
  10986. msgstr ""
  10987. #. type: example
  10988. #: guix-git/doc/guix.texi:6283
  10989. #, no-wrap
  10990. msgid ""
  10991. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10992. " -- mpirun @dots{}\n"
  10993. msgstr ""
  10994. #. type: table
  10995. #: guix-git/doc/guix.texi:6326
  10996. 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."
  10997. msgstr ""
  10998. #. type: example
  10999. #: guix-git/doc/guix.texi:6353
  11000. #, no-wrap
  11001. msgid ""
  11002. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  11003. "cd $HOME/wd\n"
  11004. "guix environment --container --user=foo \\\n"
  11005. " --expose=$HOME/test \\\n"
  11006. " --expose=/tmp/target=$HOME/target\n"
  11007. msgstr ""
  11008. #. type: example
  11009. #: guix-git/doc/guix.texi:6381
  11010. #, no-wrap
  11011. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  11012. msgstr ""
  11013. #. type: Plain text
  11014. #: guix-git/doc/guix.texi:6389
  11015. 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})."
  11016. msgstr ""
  11017. #. type: section
  11018. #: guix-git/doc/guix.texi:6391
  11019. #, no-wrap
  11020. msgid "Invoking @command{guix pack}"
  11021. msgstr ""
  11022. #. type: Plain text
  11023. #: guix-git/doc/guix.texi:6397
  11024. 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."
  11025. msgstr ""
  11026. #. type: quotation
  11027. #: guix-git/doc/guix.texi:6402
  11028. 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}."
  11029. msgstr ""
  11030. #. type: cindex
  11031. #: guix-git/doc/guix.texi:6404
  11032. #, no-wrap
  11033. msgid "pack"
  11034. msgstr ""
  11035. #. type: cindex
  11036. #: guix-git/doc/guix.texi:6405
  11037. #, no-wrap
  11038. msgid "bundle"
  11039. msgstr ""
  11040. #. type: cindex
  11041. #: guix-git/doc/guix.texi:6406
  11042. #, no-wrap
  11043. msgid "application bundle"
  11044. msgstr ""
  11045. #. type: cindex
  11046. #: guix-git/doc/guix.texi:6407
  11047. #, no-wrap
  11048. msgid "software bundle"
  11049. msgstr ""
  11050. #. type: Plain text
  11051. #: guix-git/doc/guix.texi:6416
  11052. 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."
  11053. msgstr ""
  11054. #. type: Plain text
  11055. #: guix-git/doc/guix.texi:6419
  11056. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  11057. msgstr ""
  11058. #. type: example
  11059. #: guix-git/doc/guix.texi:6424
  11060. #, no-wrap
  11061. msgid ""
  11062. "$ guix pack guile emacs emacs-geiser\n"
  11063. "@dots{}\n"
  11064. "/gnu/store/@dots{}-pack.tar.gz\n"
  11065. msgstr ""
  11066. #. type: Plain text
  11067. #: guix-git/doc/guix.texi:6432
  11068. 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})."
  11069. msgstr ""
  11070. #. type: Plain text
  11071. #: guix-git/doc/guix.texi:6437
  11072. 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:"
  11073. msgstr ""
  11074. #. type: example
  11075. #: guix-git/doc/guix.texi:6440
  11076. #, no-wrap
  11077. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  11078. msgstr ""
  11079. #. type: Plain text
  11080. #: guix-git/doc/guix.texi:6444
  11081. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  11082. msgstr ""
  11083. #. type: cindex
  11084. #: guix-git/doc/guix.texi:6445
  11085. #, no-wrap
  11086. msgid "relocatable binaries, with @command{guix pack}"
  11087. msgstr ""
  11088. #. type: Plain text
  11089. #: guix-git/doc/guix.texi:6453
  11090. 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}."
  11091. msgstr ""
  11092. #. type: cindex
  11093. #: guix-git/doc/guix.texi:6454
  11094. #, no-wrap
  11095. msgid "Docker, build an image with guix pack"
  11096. msgstr ""
  11097. #. type: Plain text
  11098. #: guix-git/doc/guix.texi:6457
  11099. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  11100. msgstr ""
  11101. #. type: example
  11102. #: guix-git/doc/guix.texi:6460
  11103. #, no-wrap
  11104. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  11105. msgstr ""
  11106. #. type: Plain text
  11107. #: guix-git/doc/guix.texi:6465
  11108. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  11109. msgstr ""
  11110. #. type: example
  11111. #: guix-git/doc/guix.texi:6469
  11112. #, no-wrap
  11113. msgid ""
  11114. "docker load < @var{file}\n"
  11115. "docker run -ti guile-guile-readline /bin/guile\n"
  11116. msgstr ""
  11117. #. type: Plain text
  11118. #: guix-git/doc/guix.texi:6476
  11119. 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."
  11120. msgstr ""
  11121. #. type: cindex
  11122. #: guix-git/doc/guix.texi:6477
  11123. #, no-wrap
  11124. msgid "Singularity, build an image with guix pack"
  11125. msgstr ""
  11126. #. type: cindex
  11127. #: guix-git/doc/guix.texi:6478
  11128. #, no-wrap
  11129. msgid "SquashFS, build an image with guix pack"
  11130. msgstr ""
  11131. #. type: Plain text
  11132. #: guix-git/doc/guix.texi:6481
  11133. msgid "Yet another option is to produce a SquashFS image with the following command:"
  11134. msgstr ""
  11135. #. type: example
  11136. #: guix-git/doc/guix.texi:6484
  11137. #, no-wrap
  11138. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  11139. msgstr ""
  11140. #. type: Plain text
  11141. #: guix-git/doc/guix.texi:6492
  11142. 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}."
  11143. msgstr ""
  11144. #. type: Plain text
  11145. #: guix-git/doc/guix.texi:6494
  11146. msgid "Several command-line options allow you to customize your pack:"
  11147. msgstr ""
  11148. #. type: table
  11149. #: guix-git/doc/guix.texi:6499
  11150. msgid "Produce a pack in the given @var{format}."
  11151. msgstr ""
  11152. #. type: table
  11153. #: guix-git/doc/guix.texi:6501
  11154. msgid "The available formats are:"
  11155. msgstr ""
  11156. #. type: item
  11157. #: guix-git/doc/guix.texi:6503
  11158. #, no-wrap
  11159. msgid "tarball"
  11160. msgstr ""
  11161. #. type: table
  11162. #: guix-git/doc/guix.texi:6506
  11163. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  11164. msgstr ""
  11165. #. type: item
  11166. #: guix-git/doc/guix.texi:6507
  11167. #, no-wrap
  11168. msgid "docker"
  11169. msgstr ""
  11170. #. type: table
  11171. #: guix-git/doc/guix.texi:6513
  11172. 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."
  11173. msgstr ""
  11174. #. type: item
  11175. #: guix-git/doc/guix.texi:6514
  11176. #, no-wrap
  11177. msgid "squashfs"
  11178. msgstr ""
  11179. #. type: table
  11180. #: guix-git/doc/guix.texi:6518
  11181. 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."
  11182. msgstr ""
  11183. #. type: quotation
  11184. #: guix-git/doc/guix.texi:6524
  11185. 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:"
  11186. msgstr ""
  11187. #. type: example
  11188. #: guix-git/doc/guix.texi:6527
  11189. #, no-wrap
  11190. msgid "guix pack -f squashfs bash @dots{}\n"
  11191. msgstr ""
  11192. #. type: quotation
  11193. #: guix-git/doc/guix.texi:6532
  11194. 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."
  11195. msgstr ""
  11196. #. type: item
  11197. #: guix-git/doc/guix.texi:6534
  11198. #, no-wrap
  11199. msgid "deb"
  11200. msgstr ""
  11201. #. type: table
  11202. #: guix-git/doc/guix.texi:6542
  11203. 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."
  11204. msgstr ""
  11205. #. type: example
  11206. #: guix-git/doc/guix.texi:6545
  11207. #, no-wrap
  11208. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  11209. msgstr ""
  11210. #. type: quotation
  11211. #: guix-git/doc/guix.texi:6552
  11212. 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."
  11213. msgstr ""
  11214. #. type: quotation
  11215. #: guix-git/doc/guix.texi:6560
  11216. 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."
  11217. msgstr ""
  11218. #. type: cindex
  11219. #: guix-git/doc/guix.texi:6564
  11220. #, no-wrap
  11221. msgid "relocatable binaries"
  11222. msgstr ""
  11223. #. type: item
  11224. #: guix-git/doc/guix.texi:6565
  11225. #, no-wrap
  11226. msgid "--relocatable"
  11227. msgstr ""
  11228. #. type: table
  11229. #: guix-git/doc/guix.texi:6569
  11230. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  11231. msgstr ""
  11232. #. type: table
  11233. #: guix-git/doc/guix.texi:6577
  11234. 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."
  11235. msgstr ""
  11236. #. type: table
  11237. #: guix-git/doc/guix.texi:6579
  11238. msgid "For example, if you create a pack containing Bash with:"
  11239. msgstr ""
  11240. #. type: example
  11241. #: guix-git/doc/guix.texi:6582
  11242. #, no-wrap
  11243. msgid "guix pack -RR -S /mybin=bin bash\n"
  11244. msgstr ""
  11245. #. type: table
  11246. #: guix-git/doc/guix.texi:6587
  11247. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  11248. msgstr ""
  11249. #. type: example
  11250. #: guix-git/doc/guix.texi:6591
  11251. #, no-wrap
  11252. msgid ""
  11253. "tar xf pack.tar.gz\n"
  11254. "./mybin/sh\n"
  11255. msgstr ""
  11256. #. type: table
  11257. #: guix-git/doc/guix.texi:6599
  11258. 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."
  11259. msgstr ""
  11260. #. type: quotation
  11261. #: guix-git/doc/guix.texi:6605
  11262. 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."
  11263. msgstr ""
  11264. #. type: quotation
  11265. #: guix-git/doc/guix.texi:6611
  11266. 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:"
  11267. msgstr ""
  11268. #. type: item
  11269. #: guix-git/doc/guix.texi:6613 guix-git/doc/guix.texi:17858
  11270. #, no-wrap
  11271. msgid "default"
  11272. msgstr ""
  11273. #. type: table
  11274. #: guix-git/doc/guix.texi:6616
  11275. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  11276. msgstr ""
  11277. #. type: item
  11278. #: guix-git/doc/guix.texi:6617
  11279. #, no-wrap
  11280. msgid "performance"
  11281. msgstr ""
  11282. #. type: table
  11283. #: guix-git/doc/guix.texi:6620
  11284. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  11285. msgstr ""
  11286. #. type: item
  11287. #: guix-git/doc/guix.texi:6621
  11288. #, no-wrap
  11289. msgid "userns"
  11290. msgstr ""
  11291. #. type: table
  11292. #: guix-git/doc/guix.texi:6624
  11293. msgid "Run the program through user namespaces and abort if they are not supported."
  11294. msgstr ""
  11295. #. type: item
  11296. #: guix-git/doc/guix.texi:6625
  11297. #, no-wrap
  11298. msgid "proot"
  11299. msgstr ""
  11300. #. type: table
  11301. #: guix-git/doc/guix.texi:6632
  11302. 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."
  11303. msgstr ""
  11304. #. type: item
  11305. #: guix-git/doc/guix.texi:6633
  11306. #, no-wrap
  11307. msgid "fakechroot"
  11308. msgstr ""
  11309. #. type: table
  11310. #: guix-git/doc/guix.texi:6641
  11311. 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."
  11312. msgstr ""
  11313. #. type: vindex
  11314. #: guix-git/doc/guix.texi:6643
  11315. #, no-wrap
  11316. msgid "GUIX_EXECUTION_ENGINE"
  11317. msgstr ""
  11318. #. type: quotation
  11319. #: guix-git/doc/guix.texi:6647
  11320. 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."
  11321. msgstr ""
  11322. #. type: cindex
  11323. #: guix-git/doc/guix.texi:6649
  11324. #, no-wrap
  11325. msgid "entry point, for Docker images"
  11326. msgstr ""
  11327. #. type: item
  11328. #: guix-git/doc/guix.texi:6650
  11329. #, no-wrap
  11330. msgid "--entry-point=@var{command}"
  11331. msgstr ""
  11332. #. type: table
  11333. #: guix-git/doc/guix.texi:6655
  11334. 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."
  11335. msgstr ""
  11336. #. type: table
  11337. #: guix-git/doc/guix.texi:6659
  11338. 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:"
  11339. msgstr ""
  11340. #. type: example
  11341. #: guix-git/doc/guix.texi:6662
  11342. #, no-wrap
  11343. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  11344. msgstr ""
  11345. #. type: table
  11346. #: guix-git/doc/guix.texi:6666
  11347. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  11348. msgstr ""
  11349. #. type: example
  11350. #: guix-git/doc/guix.texi:6670
  11351. #, no-wrap
  11352. msgid ""
  11353. "docker load -i pack.tar.gz\n"
  11354. "docker run @var{image-id}\n"
  11355. msgstr ""
  11356. #. type: table
  11357. #: guix-git/doc/guix.texi:6675 guix-git/doc/guix.texi:12916
  11358. #: guix-git/doc/guix.texi:13906
  11359. msgid "Consider the package @var{expr} evaluates to."
  11360. msgstr ""
  11361. #. type: table
  11362. #: guix-git/doc/guix.texi:6679
  11363. 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}})."
  11364. msgstr ""
  11365. #. type: table
  11366. #: guix-git/doc/guix.texi:6685
  11367. 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."
  11368. msgstr ""
  11369. #. type: table
  11370. #: guix-git/doc/guix.texi:6693
  11371. 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."
  11372. msgstr ""
  11373. #. type: item
  11374. #: guix-git/doc/guix.texi:6699 guix-git/doc/guix.texi:11957
  11375. #, no-wrap
  11376. msgid "--target=@var{triplet}"
  11377. msgstr ""
  11378. #. type: cindex
  11379. #: guix-git/doc/guix.texi:6700 guix-git/doc/guix.texi:7146
  11380. #: guix-git/doc/guix.texi:11958
  11381. #, no-wrap
  11382. msgid "cross-compilation"
  11383. msgstr ""
  11384. #. type: table
  11385. #: guix-git/doc/guix.texi:6704
  11386. 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})."
  11387. msgstr ""
  11388. #. type: item
  11389. #: guix-git/doc/guix.texi:6705
  11390. #, no-wrap
  11391. msgid "--compression=@var{tool}"
  11392. msgstr ""
  11393. #. type: itemx
  11394. #: guix-git/doc/guix.texi:6706
  11395. #, no-wrap
  11396. msgid "-C @var{tool}"
  11397. msgstr ""
  11398. #. type: table
  11399. #: guix-git/doc/guix.texi:6710
  11400. 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."
  11401. msgstr ""
  11402. #. type: item
  11403. #: guix-git/doc/guix.texi:6711
  11404. #, no-wrap
  11405. msgid "--symlink=@var{spec}"
  11406. msgstr ""
  11407. #. type: itemx
  11408. #: guix-git/doc/guix.texi:6712
  11409. #, no-wrap
  11410. msgid "-S @var{spec}"
  11411. msgstr ""
  11412. #. type: table
  11413. #: guix-git/doc/guix.texi:6715
  11414. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  11415. msgstr ""
  11416. #. type: table
  11417. #: guix-git/doc/guix.texi:6719
  11418. 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."
  11419. msgstr ""
  11420. #. type: table
  11421. #: guix-git/doc/guix.texi:6722
  11422. 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."
  11423. msgstr ""
  11424. #. type: item
  11425. #: guix-git/doc/guix.texi:6723 guix-git/doc/guix.texi:35820
  11426. #, no-wrap
  11427. msgid "--save-provenance"
  11428. msgstr ""
  11429. #. type: table
  11430. #: guix-git/doc/guix.texi:6727
  11431. 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})."
  11432. msgstr ""
  11433. #. type: table
  11434. #: guix-git/doc/guix.texi:6733
  11435. 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."
  11436. msgstr ""
  11437. #. type: table
  11438. #: guix-git/doc/guix.texi:6739
  11439. 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."
  11440. msgstr ""
  11441. #. type: cindex
  11442. #: guix-git/doc/guix.texi:6742
  11443. #, no-wrap
  11444. msgid "garbage collector root, for packs"
  11445. msgstr ""
  11446. #. type: table
  11447. #: guix-git/doc/guix.texi:6745
  11448. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  11449. msgstr ""
  11450. #. type: item
  11451. #: guix-git/doc/guix.texi:6746
  11452. #, no-wrap
  11453. msgid "--localstatedir"
  11454. msgstr ""
  11455. #. type: itemx
  11456. #: guix-git/doc/guix.texi:6747
  11457. #, no-wrap
  11458. msgid "--profile-name=@var{name}"
  11459. msgstr ""
  11460. #. type: table
  11461. #: guix-git/doc/guix.texi:6752
  11462. 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}."
  11463. msgstr ""
  11464. #. type: table
  11465. #: guix-git/doc/guix.texi:6758
  11466. 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."
  11467. msgstr ""
  11468. #. type: table
  11469. #: guix-git/doc/guix.texi:6761
  11470. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11471. msgstr ""
  11472. #. type: item
  11473. #: guix-git/doc/guix.texi:6762 guix-git/doc/guix.texi:35814
  11474. #, no-wrap
  11475. msgid "--derivation"
  11476. msgstr ""
  11477. #. type: itemx
  11478. #: guix-git/doc/guix.texi:6763 guix-git/doc/guix.texi:11989
  11479. #: guix-git/doc/guix.texi:35815
  11480. #, no-wrap
  11481. msgid "-d"
  11482. msgstr ""
  11483. #. type: table
  11484. #: guix-git/doc/guix.texi:6765
  11485. msgid "Print the name of the derivation that builds the pack."
  11486. msgstr ""
  11487. #. type: table
  11488. #: guix-git/doc/guix.texi:6769
  11489. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11490. msgstr ""
  11491. #. type: Plain text
  11492. #: guix-git/doc/guix.texi:6774
  11493. 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})."
  11494. msgstr ""
  11495. #. type: cindex
  11496. #: guix-git/doc/guix.texi:6779
  11497. #, no-wrap
  11498. msgid "GCC"
  11499. msgstr ""
  11500. #. type: cindex
  11501. #: guix-git/doc/guix.texi:6780
  11502. #, no-wrap
  11503. msgid "ld-wrapper"
  11504. msgstr ""
  11505. #. type: cindex
  11506. #: guix-git/doc/guix.texi:6781
  11507. #, no-wrap
  11508. msgid "linker wrapper"
  11509. msgstr ""
  11510. #. type: cindex
  11511. #: guix-git/doc/guix.texi:6782
  11512. #, no-wrap
  11513. msgid "toolchain, for C development"
  11514. msgstr ""
  11515. #. type: cindex
  11516. #: guix-git/doc/guix.texi:6783
  11517. #, no-wrap
  11518. msgid "toolchain, for Fortran development"
  11519. msgstr ""
  11520. #. type: Plain text
  11521. #: guix-git/doc/guix.texi:6790
  11522. 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."
  11523. msgstr ""
  11524. #. type: Plain text
  11525. #: guix-git/doc/guix.texi:6796
  11526. 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}."
  11527. msgstr ""
  11528. #. type: Plain text
  11529. #: guix-git/doc/guix.texi:6800
  11530. 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})."
  11531. msgstr ""
  11532. #. type: section
  11533. #: guix-git/doc/guix.texi:6803
  11534. #, no-wrap
  11535. msgid "Invoking @command{guix git authenticate}"
  11536. msgstr ""
  11537. #. type: Plain text
  11538. #: guix-git/doc/guix.texi:6811
  11539. 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)."
  11540. msgstr ""
  11541. #. type: Plain text
  11542. #: guix-git/doc/guix.texi:6816
  11543. 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."
  11544. msgstr ""
  11545. #. type: example
  11546. #: guix-git/doc/guix.texi:6821
  11547. #, no-wrap
  11548. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11549. msgstr ""
  11550. #. type: Plain text
  11551. #: guix-git/doc/guix.texi:6830
  11552. 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."
  11553. msgstr ""
  11554. #. type: item
  11555. #: guix-git/doc/guix.texi:6832
  11556. #, no-wrap
  11557. msgid "--repository=@var{directory}"
  11558. msgstr ""
  11559. #. type: itemx
  11560. #: guix-git/doc/guix.texi:6833
  11561. #, no-wrap
  11562. msgid "-r @var{directory}"
  11563. msgstr ""
  11564. #. type: table
  11565. #: guix-git/doc/guix.texi:6836
  11566. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11567. msgstr ""
  11568. #. type: item
  11569. #: guix-git/doc/guix.texi:6837
  11570. #, no-wrap
  11571. msgid "--keyring=@var{reference}"
  11572. msgstr ""
  11573. #. type: itemx
  11574. #: guix-git/doc/guix.texi:6838
  11575. #, no-wrap
  11576. msgid "-k @var{reference}"
  11577. msgstr ""
  11578. #. type: table
  11579. #: guix-git/doc/guix.texi:6844
  11580. 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}."
  11581. msgstr ""
  11582. #. type: item
  11583. #: guix-git/doc/guix.texi:6845
  11584. #, no-wrap
  11585. msgid "--stats"
  11586. msgstr ""
  11587. #. type: table
  11588. #: guix-git/doc/guix.texi:6847
  11589. msgid "Display commit signing statistics upon completion."
  11590. msgstr ""
  11591. #. type: item
  11592. #: guix-git/doc/guix.texi:6848
  11593. #, no-wrap
  11594. msgid "--cache-key=@var{key}"
  11595. msgstr ""
  11596. #. type: table
  11597. #: guix-git/doc/guix.texi:6852
  11598. 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."
  11599. msgstr ""
  11600. #. type: item
  11601. #: guix-git/doc/guix.texi:6853
  11602. #, no-wrap
  11603. msgid "--historical-authorizations=@var{file}"
  11604. msgstr ""
  11605. #. type: table
  11606. #: guix-git/doc/guix.texi:6860
  11607. 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})."
  11608. msgstr ""
  11609. #. type: Plain text
  11610. #: guix-git/doc/guix.texi:6873
  11611. 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."
  11612. msgstr ""
  11613. #. type: Plain text
  11614. #: guix-git/doc/guix.texi:6879
  11615. 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."
  11616. msgstr ""
  11617. #. type: Plain text
  11618. #: guix-git/doc/guix.texi:6888
  11619. 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."
  11620. msgstr ""
  11621. #. type: Plain text
  11622. #: guix-git/doc/guix.texi:6891
  11623. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11624. msgstr ""
  11625. #. type: menuentry
  11626. #: guix-git/doc/guix.texi:6905
  11627. msgid "Programming Guix in Guile"
  11628. msgstr ""
  11629. #. type: Plain text
  11630. #: guix-git/doc/guix.texi:6921
  11631. 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})."
  11632. msgstr ""
  11633. #. type: Plain text
  11634. #: guix-git/doc/guix.texi:6928
  11635. 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."
  11636. msgstr ""
  11637. #. type: cindex
  11638. #: guix-git/doc/guix.texi:6930
  11639. #, no-wrap
  11640. msgid "package module search path"
  11641. msgstr ""
  11642. #. type: Plain text
  11643. #: guix-git/doc/guix.texi:6939
  11644. 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:"
  11645. msgstr ""
  11646. #. type: enumerate
  11647. #: guix-git/doc/guix.texi:6946
  11648. 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."
  11649. msgstr ""
  11650. #. type: enumerate
  11651. #: guix-git/doc/guix.texi:6952
  11652. 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."
  11653. msgstr ""
  11654. #. type: Plain text
  11655. #: guix-git/doc/guix.texi:6955
  11656. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11657. msgstr ""
  11658. #. type: defvr
  11659. #: guix-git/doc/guix.texi:6956
  11660. #, no-wrap
  11661. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11662. msgstr ""
  11663. #. type: defvr
  11664. #: guix-git/doc/guix.texi:6960
  11665. 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."
  11666. msgstr ""
  11667. #. type: Plain text
  11668. #: guix-git/doc/guix.texi:6968
  11669. 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}."
  11670. msgstr ""
  11671. #. type: Plain text
  11672. #: guix-git/doc/guix.texi:6976
  11673. 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:"
  11674. msgstr ""
  11675. #. type: lisp
  11676. #: guix-git/doc/guix.texi:6984
  11677. #, no-wrap
  11678. msgid ""
  11679. "(define-module (gnu packages hello)\n"
  11680. " #:use-module (guix packages)\n"
  11681. " #:use-module (guix download)\n"
  11682. " #:use-module (guix build-system gnu)\n"
  11683. " #:use-module (guix licenses)\n"
  11684. " #:use-module (gnu packages gawk))\n"
  11685. "\n"
  11686. msgstr ""
  11687. #. type: lisp
  11688. #: guix-git/doc/guix.texi:7003
  11689. #, no-wrap
  11690. msgid ""
  11691. "(define-public hello\n"
  11692. " (package\n"
  11693. " (name \"hello\")\n"
  11694. " (version \"2.10\")\n"
  11695. " (source (origin\n"
  11696. " (method url-fetch)\n"
  11697. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11698. " \".tar.gz\"))\n"
  11699. " (sha256\n"
  11700. " (base32\n"
  11701. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11702. " (build-system gnu-build-system)\n"
  11703. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11704. " (inputs (list gawk))\n"
  11705. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11706. " (description \"Guess what GNU Hello prints!\")\n"
  11707. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11708. " (license gpl3+)))\n"
  11709. msgstr ""
  11710. #. type: Plain text
  11711. #: guix-git/doc/guix.texi:7013
  11712. 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\"}."
  11713. msgstr ""
  11714. #. type: Plain text
  11715. #: guix-git/doc/guix.texi:7017
  11716. 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})."
  11717. msgstr ""
  11718. #. type: Plain text
  11719. #: guix-git/doc/guix.texi:7023
  11720. 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})."
  11721. msgstr ""
  11722. #. type: Plain text
  11723. #: guix-git/doc/guix.texi:7025
  11724. msgid "There are a few points worth noting in the above package definition:"
  11725. msgstr ""
  11726. #. type: itemize
  11727. #: guix-git/doc/guix.texi:7032
  11728. 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."
  11729. msgstr ""
  11730. #. type: itemize
  11731. #: guix-git/doc/guix.texi:7035
  11732. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11733. msgstr ""
  11734. #. type: itemize
  11735. #: guix-git/doc/guix.texi:7042
  11736. 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})."
  11737. msgstr ""
  11738. #. type: cindex
  11739. #: guix-git/doc/guix.texi:7043
  11740. #, no-wrap
  11741. msgid "patches"
  11742. msgstr ""
  11743. #. type: itemize
  11744. #: guix-git/doc/guix.texi:7047
  11745. 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."
  11746. msgstr ""
  11747. #. type: cindex
  11748. #: guix-git/doc/guix.texi:7049
  11749. #, no-wrap
  11750. msgid "GNU Build System"
  11751. msgstr ""
  11752. #. type: itemize
  11753. #: guix-git/doc/guix.texi:7055
  11754. 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."
  11755. msgstr ""
  11756. #. type: itemize
  11757. #: guix-git/doc/guix.texi:7059
  11758. 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."
  11759. msgstr ""
  11760. #. type: itemize
  11761. #: guix-git/doc/guix.texi:7065
  11762. 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."
  11763. msgstr ""
  11764. #. type: findex
  11765. #: guix-git/doc/guix.texi:7066 guix-git/doc/guix.texi:7069
  11766. #, no-wrap
  11767. msgid "quote"
  11768. msgstr ""
  11769. #. type: cindex
  11770. #: guix-git/doc/guix.texi:7067
  11771. #, no-wrap
  11772. msgid "quoting"
  11773. msgstr ""
  11774. #. type: findex
  11775. #: guix-git/doc/guix.texi:7068
  11776. #, no-wrap
  11777. msgid "'"
  11778. msgstr ""
  11779. #. type: cindex
  11780. #: guix-git/doc/guix.texi:7070
  11781. #, no-wrap
  11782. msgid "backquote (quasiquote)"
  11783. msgstr ""
  11784. #. type: findex
  11785. #: guix-git/doc/guix.texi:7071
  11786. #, no-wrap
  11787. msgid "`"
  11788. msgstr ""
  11789. #. type: findex
  11790. #: guix-git/doc/guix.texi:7072
  11791. #, no-wrap
  11792. msgid "quasiquote"
  11793. msgstr ""
  11794. #. type: cindex
  11795. #: guix-git/doc/guix.texi:7073
  11796. #, no-wrap
  11797. msgid "comma (unquote)"
  11798. msgstr ""
  11799. #. type: findex
  11800. #: guix-git/doc/guix.texi:7074
  11801. #, no-wrap
  11802. msgid ","
  11803. msgstr ""
  11804. #. type: findex
  11805. #: guix-git/doc/guix.texi:7075
  11806. #, no-wrap
  11807. msgid "unquote"
  11808. msgstr ""
  11809. #. type: itemize
  11810. #: guix-git/doc/guix.texi:7085
  11811. 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})."
  11812. msgstr ""
  11813. #. type: itemize
  11814. #: guix-git/doc/guix.texi:7091
  11815. 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})."
  11816. msgstr ""
  11817. #. type: itemize
  11818. #: guix-git/doc/guix.texi:7097
  11819. 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."
  11820. msgstr ""
  11821. #. type: itemize
  11822. #: guix-git/doc/guix.texi:7101
  11823. 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})."
  11824. msgstr ""
  11825. #. type: itemize
  11826. #: guix-git/doc/guix.texi:7105
  11827. 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."
  11828. msgstr ""
  11829. #. type: Plain text
  11830. #: guix-git/doc/guix.texi:7108
  11831. msgid "@xref{package Reference}, for a full description of possible fields."
  11832. msgstr ""
  11833. #. type: Plain text
  11834. #: guix-git/doc/guix.texi:7119
  11835. 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."
  11836. msgstr ""
  11837. #. type: vindex
  11838. #: guix-git/doc/guix.texi:7119
  11839. #, no-wrap
  11840. msgid "GUIX_PACKAGE_PATH"
  11841. msgstr ""
  11842. #. type: Plain text
  11843. #: guix-git/doc/guix.texi:7123
  11844. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11845. msgstr ""
  11846. #. type: Plain text
  11847. #: guix-git/doc/guix.texi:7127
  11848. 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})."
  11849. msgstr ""
  11850. #. type: Plain text
  11851. #: guix-git/doc/guix.texi:7133
  11852. 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})."
  11853. msgstr ""
  11854. #. type: deffn
  11855. #: guix-git/doc/guix.texi:7134
  11856. #, no-wrap
  11857. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11858. msgstr ""
  11859. #. type: deffn
  11860. #: guix-git/doc/guix.texi:7137
  11861. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11862. msgstr ""
  11863. #. type: deffn
  11864. #: guix-git/doc/guix.texi:7143
  11865. 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})."
  11866. msgstr ""
  11867. #. type: Plain text
  11868. #: guix-git/doc/guix.texi:7149
  11869. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11870. msgstr ""
  11871. #. type: deffn
  11872. #: guix-git/doc/guix.texi:7150
  11873. #, no-wrap
  11874. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11875. msgstr ""
  11876. #. type: deffn
  11877. #: guix-git/doc/guix.texi:7154
  11878. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11879. msgstr ""
  11880. #. type: deffn
  11881. #: guix-git/doc/guix.texi:7158
  11882. 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})."
  11883. msgstr ""
  11884. #. type: Plain text
  11885. #: guix-git/doc/guix.texi:7162
  11886. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11887. msgstr ""
  11888. #. type: subsection
  11889. #: guix-git/doc/guix.texi:7170
  11890. #, no-wrap
  11891. msgid "@code{package} Reference"
  11892. msgstr ""
  11893. #. type: Plain text
  11894. #: guix-git/doc/guix.texi:7174
  11895. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11896. msgstr ""
  11897. #. type: deftp
  11898. #: guix-git/doc/guix.texi:7175
  11899. #, no-wrap
  11900. msgid "{Data Type} package"
  11901. msgstr ""
  11902. #. type: deftp
  11903. #: guix-git/doc/guix.texi:7177
  11904. msgid "This is the data type representing a package recipe."
  11905. msgstr ""
  11906. #. type: table
  11907. #: guix-git/doc/guix.texi:7181
  11908. msgid "The name of the package, as a string."
  11909. msgstr ""
  11910. #. type: code{#1}
  11911. #: guix-git/doc/guix.texi:7182
  11912. #, no-wrap
  11913. msgid "version"
  11914. msgstr ""
  11915. #. type: table
  11916. #: guix-git/doc/guix.texi:7185
  11917. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11918. msgstr ""
  11919. #. type: code{#1}
  11920. #: guix-git/doc/guix.texi:7186 guix-git/doc/guix.texi:13361
  11921. #: guix-git/doc/guix.texi:15642 guix-git/doc/guix.texi:16268
  11922. #, no-wrap
  11923. msgid "source"
  11924. msgstr ""
  11925. #. type: table
  11926. #: guix-git/doc/guix.texi:7193
  11927. 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}})."
  11928. msgstr ""
  11929. #. type: code{#1}
  11930. #: guix-git/doc/guix.texi:7194
  11931. #, no-wrap
  11932. msgid "build-system"
  11933. msgstr ""
  11934. #. type: table
  11935. #: guix-git/doc/guix.texi:7197
  11936. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11937. msgstr ""
  11938. #. type: item
  11939. #: guix-git/doc/guix.texi:7198 guix-git/doc/guix.texi:18440
  11940. #, no-wrap
  11941. msgid "@code{arguments} (default: @code{'()})"
  11942. msgstr ""
  11943. #. type: table
  11944. #: guix-git/doc/guix.texi:7201
  11945. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11946. msgstr ""
  11947. #. type: item
  11948. #: guix-git/doc/guix.texi:7202
  11949. #, no-wrap
  11950. msgid "@code{inputs} (default: @code{'()})"
  11951. msgstr ""
  11952. #. type: itemx
  11953. #: guix-git/doc/guix.texi:7203
  11954. #, no-wrap
  11955. msgid "@code{native-inputs} (default: @code{'()})"
  11956. msgstr ""
  11957. #. type: itemx
  11958. #: guix-git/doc/guix.texi:7204
  11959. #, no-wrap
  11960. msgid "@code{propagated-inputs} (default: @code{'()})"
  11961. msgstr ""
  11962. #. type: cindex
  11963. #: guix-git/doc/guix.texi:7205
  11964. #, no-wrap
  11965. msgid "inputs, of packages"
  11966. msgstr ""
  11967. #. type: table
  11968. #: guix-git/doc/guix.texi:7212
  11969. 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:"
  11970. msgstr ""
  11971. #. type: lisp
  11972. #: guix-git/doc/guix.texi:7216
  11973. #, no-wrap
  11974. msgid ""
  11975. "(list libffi libunistring\n"
  11976. " `(,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11977. msgstr ""
  11978. #. type: table
  11979. #: guix-git/doc/guix.texi:7220
  11980. msgid "In the example above, the @code{\"out\"} output of @code{libffi} and @code{libunistring} is used."
  11981. msgstr ""
  11982. #. type: quotation
  11983. #: guix-git/doc/guix.texi:7221
  11984. #, no-wrap
  11985. msgid "Compatibility Note"
  11986. msgstr ""
  11987. #. type: quotation
  11988. #: guix-git/doc/guix.texi:7228
  11989. 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}:"
  11990. msgstr ""
  11991. #. type: lisp
  11992. #: guix-git/doc/guix.texi:7234
  11993. #, no-wrap
  11994. msgid ""
  11995. ";; Old input style (deprecated).\n"
  11996. "`((\"libffi\" ,libffi)\n"
  11997. " (\"libunistring\" ,libunistring)\n"
  11998. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11999. msgstr ""
  12000. #. type: quotation
  12001. #: guix-git/doc/guix.texi:7240
  12002. 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."
  12003. msgstr ""
  12004. #. type: cindex
  12005. #: guix-git/doc/guix.texi:7242
  12006. #, no-wrap
  12007. msgid "cross compilation, package dependencies"
  12008. msgstr ""
  12009. #. type: table
  12010. #: guix-git/doc/guix.texi:7248
  12011. 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."
  12012. msgstr ""
  12013. #. type: table
  12014. #: guix-git/doc/guix.texi:7253
  12015. 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})."
  12016. msgstr ""
  12017. #. type: anchor{#1}
  12018. #: guix-git/doc/guix.texi:7261
  12019. msgid "package-propagated-inputs"
  12020. msgstr ""
  12021. #. type: table
  12022. #: guix-git/doc/guix.texi:7261
  12023. 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)."
  12024. msgstr ""
  12025. #. type: table
  12026. #: guix-git/doc/guix.texi:7265
  12027. 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."
  12028. msgstr ""
  12029. #. type: table
  12030. #: guix-git/doc/guix.texi:7272
  12031. 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}."
  12032. msgstr ""
  12033. #. type: item
  12034. #: guix-git/doc/guix.texi:7273
  12035. #, no-wrap
  12036. msgid "@code{outputs} (default: @code{'(\"out\")})"
  12037. msgstr ""
  12038. #. type: table
  12039. #: guix-git/doc/guix.texi:7276
  12040. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  12041. msgstr ""
  12042. #. type: item
  12043. #: guix-git/doc/guix.texi:7277
  12044. #, no-wrap
  12045. msgid "@code{native-search-paths} (default: @code{'()})"
  12046. msgstr ""
  12047. #. type: itemx
  12048. #: guix-git/doc/guix.texi:7278
  12049. #, no-wrap
  12050. msgid "@code{search-paths} (default: @code{'()})"
  12051. msgstr ""
  12052. #. type: table
  12053. #: guix-git/doc/guix.texi:7282
  12054. 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."
  12055. msgstr ""
  12056. #. type: table
  12057. #: guix-git/doc/guix.texi:7288
  12058. 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."
  12059. msgstr ""
  12060. #. type: table
  12061. #: guix-git/doc/guix.texi:7295
  12062. 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."
  12063. msgstr ""
  12064. #. type: item
  12065. #: guix-git/doc/guix.texi:7296
  12066. #, no-wrap
  12067. msgid "@code{replacement} (default: @code{#f})"
  12068. msgstr ""
  12069. #. type: table
  12070. #: guix-git/doc/guix.texi:7300
  12071. 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."
  12072. msgstr ""
  12073. #. type: item
  12074. #: guix-git/doc/guix.texi:7301 guix-git/doc/guix.texi:13353
  12075. #, no-wrap
  12076. msgid "synopsis"
  12077. msgstr ""
  12078. #. type: table
  12079. #: guix-git/doc/guix.texi:7303
  12080. msgid "A one-line description of the package."
  12081. msgstr ""
  12082. #. type: code{#1}
  12083. #: guix-git/doc/guix.texi:7304 guix-git/doc/guix.texi:13354
  12084. #: guix-git/doc/guix.texi:36563 guix-git/doc/guix.texi:36723
  12085. #, no-wrap
  12086. msgid "description"
  12087. msgstr ""
  12088. #. type: table
  12089. #: guix-git/doc/guix.texi:7306
  12090. msgid "A more elaborate description of the package."
  12091. msgstr ""
  12092. #. type: code{#1}
  12093. #: guix-git/doc/guix.texi:7307
  12094. #, no-wrap
  12095. msgid "license"
  12096. msgstr ""
  12097. #. type: cindex
  12098. #: guix-git/doc/guix.texi:7308
  12099. #, no-wrap
  12100. msgid "license, of packages"
  12101. msgstr ""
  12102. #. type: table
  12103. #: guix-git/doc/guix.texi:7311
  12104. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  12105. msgstr ""
  12106. #. type: itemx
  12107. #: guix-git/doc/guix.texi:7312 guix-git/doc/guix.texi:13362
  12108. #, no-wrap
  12109. msgid "home-page"
  12110. msgstr ""
  12111. #. type: table
  12112. #: guix-git/doc/guix.texi:7314
  12113. msgid "The URL to the home-page of the package, as a string."
  12114. msgstr ""
  12115. #. type: item
  12116. #: guix-git/doc/guix.texi:7315
  12117. #, no-wrap
  12118. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  12119. msgstr ""
  12120. #. type: table
  12121. #: guix-git/doc/guix.texi:7318
  12122. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  12123. msgstr ""
  12124. #. type: item
  12125. #: guix-git/doc/guix.texi:7319
  12126. #, no-wrap
  12127. msgid "@code{location} (default: source location of the @code{package} form)"
  12128. msgstr ""
  12129. #. type: table
  12130. #: guix-git/doc/guix.texi:7323
  12131. 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."
  12132. msgstr ""
  12133. #. type: deffn
  12134. #: guix-git/doc/guix.texi:7326
  12135. #, no-wrap
  12136. msgid "{Scheme Syntax} this-package"
  12137. msgstr ""
  12138. #. type: deffn
  12139. #: guix-git/doc/guix.texi:7329
  12140. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  12141. msgstr ""
  12142. #. type: deffn
  12143. #: guix-git/doc/guix.texi:7332
  12144. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  12145. msgstr ""
  12146. #. type: lisp
  12147. #: guix-git/doc/guix.texi:7337
  12148. #, no-wrap
  12149. msgid ""
  12150. "(package\n"
  12151. " (name \"guile\")\n"
  12152. " ;; ...\n"
  12153. "\n"
  12154. msgstr ""
  12155. #. type: lisp
  12156. #: guix-git/doc/guix.texi:7343
  12157. #, no-wrap
  12158. msgid ""
  12159. " ;; When cross-compiled, Guile, for example, depends on\n"
  12160. " ;; a native version of itself. Add it here.\n"
  12161. " (native-inputs (if (%current-target-system)\n"
  12162. " (list this-package)\n"
  12163. " '())))\n"
  12164. msgstr ""
  12165. #. type: deffn
  12166. #: guix-git/doc/guix.texi:7346
  12167. msgid "It is an error to refer to @code{this-package} outside a package definition."
  12168. msgstr ""
  12169. #. type: Plain text
  12170. #: guix-git/doc/guix.texi:7350
  12171. msgid "The following helper procedures are provided to help deal with package inputs."
  12172. msgstr ""
  12173. #. type: deffn
  12174. #: guix-git/doc/guix.texi:7351
  12175. #, no-wrap
  12176. msgid "{Scheme Procedure} lookup-package-input @var{package} @var{name}"
  12177. msgstr ""
  12178. #. type: deffnx
  12179. #: guix-git/doc/guix.texi:7352
  12180. #, no-wrap
  12181. msgid "{Scheme Procedure} lookup-package-native-input @var{package} @var{name}"
  12182. msgstr ""
  12183. #. type: deffnx
  12184. #: guix-git/doc/guix.texi:7353
  12185. #, no-wrap
  12186. msgid "{Scheme Procedure} lookup-package-propagated-input @var{package} @var{name}"
  12187. msgstr ""
  12188. #. type: deffnx
  12189. #: guix-git/doc/guix.texi:7354
  12190. #, no-wrap
  12191. msgid "{Scheme Procedure} lookup-package-direct-input @var{package} @var{name}"
  12192. msgstr ""
  12193. #. type: deffn
  12194. #: guix-git/doc/guix.texi:7357
  12195. msgid "Look up @var{name} among @var{package}'s inputs (or native, propagated, or direct inputs). Return it if found, @code{#f} otherwise."
  12196. msgstr ""
  12197. #. type: deffn
  12198. #: guix-git/doc/guix.texi:7360
  12199. msgid "@var{name} is the name of a package depended on. Here's how you might use it:"
  12200. msgstr ""
  12201. #. type: lisp
  12202. #: guix-git/doc/guix.texi:7363
  12203. #, no-wrap
  12204. msgid ""
  12205. "(use-modules (guix packages) (gnu packages base))\n"
  12206. "\n"
  12207. msgstr ""
  12208. #. type: lisp
  12209. #: guix-git/doc/guix.texi:7366
  12210. #, no-wrap
  12211. msgid ""
  12212. "(lookup-package-direct-input coreutils \"gmp\")\n"
  12213. "@result{} #<package gmp@@6.2.1 @dots{}>\n"
  12214. msgstr ""
  12215. #. type: deffn
  12216. #: guix-git/doc/guix.texi:7370
  12217. msgid "In this example we obtain the @code{gmp} package that is among the direct inputs of @code{coreutils}."
  12218. msgstr ""
  12219. #. type: cindex
  12220. #: guix-git/doc/guix.texi:7372
  12221. #, no-wrap
  12222. msgid "development inputs, of a package"
  12223. msgstr ""
  12224. #. type: cindex
  12225. #: guix-git/doc/guix.texi:7373
  12226. #, no-wrap
  12227. msgid "implicit inputs, of a package"
  12228. msgstr ""
  12229. #. type: Plain text
  12230. #: guix-git/doc/guix.texi:7378
  12231. 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."
  12232. msgstr ""
  12233. #. type: deffn
  12234. #: guix-git/doc/guix.texi:7379
  12235. #, no-wrap
  12236. msgid "{Scheme Procedure} package-development-inputs @var{package} @"
  12237. msgstr ""
  12238. #. type: deffn
  12239. #: guix-git/doc/guix.texi:7386
  12240. 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\"}."
  12241. msgstr ""
  12242. #. type: deffn
  12243. #: guix-git/doc/guix.texi:7390
  12244. 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:"
  12245. msgstr ""
  12246. #. type: lisp
  12247. #: guix-git/doc/guix.texi:7393
  12248. #, no-wrap
  12249. msgid ""
  12250. "(use-modules (gnu packages base) (guix packages))\n"
  12251. "\n"
  12252. msgstr ""
  12253. #. type: lisp
  12254. #: guix-git/doc/guix.texi:7396
  12255. #, no-wrap
  12256. msgid ""
  12257. "hello\n"
  12258. "@result{} #<package hello@@2.10 gnu/packages/base.scm:79 7f585d4f6790>\n"
  12259. "\n"
  12260. msgstr ""
  12261. #. type: lisp
  12262. #: guix-git/doc/guix.texi:7399
  12263. #, no-wrap
  12264. msgid ""
  12265. "(package-direct-inputs hello)\n"
  12266. "@result{} ()\n"
  12267. "\n"
  12268. msgstr ""
  12269. #. type: lisp
  12270. #: guix-git/doc/guix.texi:7402
  12271. #, no-wrap
  12272. msgid ""
  12273. "(package-development-inputs hello)\n"
  12274. "@result{} ((\"source\" @dots{}) (\"tar\" #<package tar@@1.32 @dots{}>) @dots{})\n"
  12275. msgstr ""
  12276. #. type: deffn
  12277. #: guix-git/doc/guix.texi:7411
  12278. 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})."
  12279. msgstr ""
  12280. #. type: Plain text
  12281. #: guix-git/doc/guix.texi:7417
  12282. 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."
  12283. msgstr ""
  12284. #. type: cindex
  12285. #: guix-git/doc/guix.texi:7418
  12286. #, no-wrap
  12287. msgid "tool chain, choosing a package's tool chain"
  12288. msgstr ""
  12289. #. type: deffn
  12290. #: guix-git/doc/guix.texi:7419
  12291. #, no-wrap
  12292. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  12293. msgstr ""
  12294. #. type: deffn
  12295. #: guix-git/doc/guix.texi:7424
  12296. 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."
  12297. msgstr ""
  12298. #. type: deffn
  12299. #: guix-git/doc/guix.texi:7428
  12300. 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:"
  12301. msgstr ""
  12302. #. type: lisp
  12303. #: guix-git/doc/guix.texi:7432
  12304. #, no-wrap
  12305. msgid ""
  12306. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  12307. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  12308. msgstr ""
  12309. #. type: deffn
  12310. #: guix-git/doc/guix.texi:7440
  12311. 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."
  12312. msgstr ""
  12313. #. type: subsection
  12314. #: guix-git/doc/guix.texi:7443
  12315. #, no-wrap
  12316. msgid "@code{origin} Reference"
  12317. msgstr ""
  12318. #. type: Plain text
  12319. #: guix-git/doc/guix.texi:7451
  12320. 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."
  12321. msgstr ""
  12322. #. type: deftp
  12323. #: guix-git/doc/guix.texi:7452
  12324. #, no-wrap
  12325. msgid "{Data Type} origin"
  12326. msgstr ""
  12327. #. type: deftp
  12328. #: guix-git/doc/guix.texi:7454
  12329. msgid "This is the data type representing a source code origin."
  12330. msgstr ""
  12331. #. type: code{#1}
  12332. #: guix-git/doc/guix.texi:7456 guix-git/doc/guix.texi:26983
  12333. #, no-wrap
  12334. msgid "uri"
  12335. msgstr ""
  12336. #. type: table
  12337. #: guix-git/doc/guix.texi:7461
  12338. 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."
  12339. msgstr ""
  12340. #. type: cindex
  12341. #: guix-git/doc/guix.texi:7462
  12342. #, no-wrap
  12343. msgid "fixed-output derivations, for download"
  12344. msgstr ""
  12345. #. type: code{#1}
  12346. #: guix-git/doc/guix.texi:7463
  12347. #, no-wrap
  12348. msgid "method"
  12349. msgstr ""
  12350. #. type: table
  12351. #: guix-git/doc/guix.texi:7470
  12352. 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})."
  12353. msgstr ""
  12354. #. type: table
  12355. #: guix-git/doc/guix.texi:7474
  12356. 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)."
  12357. msgstr ""
  12358. #. type: code{#1}
  12359. #: guix-git/doc/guix.texi:7475
  12360. #, no-wrap
  12361. msgid "sha256"
  12362. msgstr ""
  12363. #. type: table
  12364. #: guix-git/doc/guix.texi:7479
  12365. 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."
  12366. msgstr ""
  12367. #. type: code{#1}
  12368. #: guix-git/doc/guix.texi:7480
  12369. #, no-wrap
  12370. msgid "hash"
  12371. msgstr ""
  12372. #. type: table
  12373. #: guix-git/doc/guix.texi:7483
  12374. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  12375. msgstr ""
  12376. #. type: table
  12377. #: guix-git/doc/guix.texi:7487
  12378. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  12379. msgstr ""
  12380. #. type: item
  12381. #: guix-git/doc/guix.texi:7488
  12382. #, no-wrap
  12383. msgid "@code{file-name} (default: @code{#f})"
  12384. msgstr ""
  12385. #. type: table
  12386. #: guix-git/doc/guix.texi:7494
  12387. 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."
  12388. msgstr ""
  12389. #. type: item
  12390. #: guix-git/doc/guix.texi:7495
  12391. #, no-wrap
  12392. msgid "@code{patches} (default: @code{'()})"
  12393. msgstr ""
  12394. #. type: table
  12395. #: guix-git/doc/guix.texi:7498
  12396. 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."
  12397. msgstr ""
  12398. #. type: table
  12399. #: guix-git/doc/guix.texi:7502
  12400. 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}."
  12401. msgstr ""
  12402. #. type: item
  12403. #: guix-git/doc/guix.texi:7503
  12404. #, no-wrap
  12405. msgid "@code{snippet} (default: @code{#f})"
  12406. msgstr ""
  12407. #. type: table
  12408. #: guix-git/doc/guix.texi:7507
  12409. 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."
  12410. msgstr ""
  12411. #. type: item
  12412. #: guix-git/doc/guix.texi:7508
  12413. #, no-wrap
  12414. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  12415. msgstr ""
  12416. #. type: table
  12417. #: guix-git/doc/guix.texi:7511
  12418. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  12419. msgstr ""
  12420. #. type: item
  12421. #: guix-git/doc/guix.texi:7512
  12422. #, no-wrap
  12423. msgid "@code{patch-inputs} (default: @code{#f})"
  12424. msgstr ""
  12425. #. type: table
  12426. #: guix-git/doc/guix.texi:7516
  12427. 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."
  12428. msgstr ""
  12429. #. type: item
  12430. #: guix-git/doc/guix.texi:7517 guix-git/doc/guix.texi:26855
  12431. #, no-wrap
  12432. msgid "@code{modules} (default: @code{'()})"
  12433. msgstr ""
  12434. #. type: table
  12435. #: guix-git/doc/guix.texi:7520
  12436. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  12437. msgstr ""
  12438. #. type: item
  12439. #: guix-git/doc/guix.texi:7521
  12440. #, no-wrap
  12441. msgid "@code{patch-guile} (default: @code{#f})"
  12442. msgstr ""
  12443. #. type: table
  12444. #: guix-git/doc/guix.texi:7524
  12445. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  12446. msgstr ""
  12447. #. type: deftp
  12448. #: guix-git/doc/guix.texi:7527
  12449. #, no-wrap
  12450. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  12451. msgstr ""
  12452. #. type: deftp
  12453. #: guix-git/doc/guix.texi:7531
  12454. 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}."
  12455. msgstr ""
  12456. #. type: deftp
  12457. #: guix-git/doc/guix.texi:7534
  12458. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  12459. msgstr ""
  12460. #. type: deftp
  12461. #: guix-git/doc/guix.texi:7536
  12462. msgid "The following forms are all equivalent:"
  12463. msgstr ""
  12464. #. type: lisp
  12465. #: guix-git/doc/guix.texi:7545
  12466. #, no-wrap
  12467. msgid ""
  12468. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  12469. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  12470. " sha256)\n"
  12471. "(content-hash (base32\n"
  12472. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  12473. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  12474. " sha256)\n"
  12475. msgstr ""
  12476. #. type: deftp
  12477. #: guix-git/doc/guix.texi:7550
  12478. 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}."
  12479. msgstr ""
  12480. #. type: Plain text
  12481. #: guix-git/doc/guix.texi:7556
  12482. 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."
  12483. msgstr ""
  12484. #. type: deffn
  12485. #: guix-git/doc/guix.texi:7557
  12486. #, no-wrap
  12487. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  12488. msgstr ""
  12489. #. type: deffn
  12490. #: guix-git/doc/guix.texi:7565
  12491. 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."
  12492. msgstr ""
  12493. #. type: deffn
  12494. #: guix-git/doc/guix.texi:7568
  12495. 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}."
  12496. msgstr ""
  12497. #. type: deffn
  12498. #: guix-git/doc/guix.texi:7571
  12499. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  12500. msgstr ""
  12501. #. type: Plain text
  12502. #: guix-git/doc/guix.texi:7577
  12503. 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."
  12504. msgstr ""
  12505. #. type: deffn
  12506. #: guix-git/doc/guix.texi:7578
  12507. #, no-wrap
  12508. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  12509. msgstr ""
  12510. #. type: deffn
  12511. #: guix-git/doc/guix.texi:7583
  12512. 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}."
  12513. msgstr ""
  12514. #. type: deftp
  12515. #: guix-git/doc/guix.texi:7585
  12516. #, no-wrap
  12517. msgid "{Data Type} git-reference"
  12518. msgstr ""
  12519. #. type: deftp
  12520. #: guix-git/doc/guix.texi:7588
  12521. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  12522. msgstr ""
  12523. #. type: code{#1}
  12524. #: guix-git/doc/guix.texi:7590 guix-git/doc/guix.texi:24706
  12525. #, no-wrap
  12526. msgid "url"
  12527. msgstr ""
  12528. #. type: table
  12529. #: guix-git/doc/guix.texi:7592
  12530. msgid "The URL of the Git repository to clone."
  12531. msgstr ""
  12532. #. type: code{#1}
  12533. #: guix-git/doc/guix.texi:7593
  12534. #, no-wrap
  12535. msgid "commit"
  12536. msgstr ""
  12537. #. type: table
  12538. #: guix-git/doc/guix.texi:7598
  12539. 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}."
  12540. msgstr ""
  12541. #. type: item
  12542. #: guix-git/doc/guix.texi:7599
  12543. #, no-wrap
  12544. msgid "@code{recursive?} (default: @code{#f})"
  12545. msgstr ""
  12546. #. type: table
  12547. #: guix-git/doc/guix.texi:7601
  12548. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  12549. msgstr ""
  12550. #. type: deftp
  12551. #: guix-git/doc/guix.texi:7605
  12552. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  12553. msgstr ""
  12554. #. type: lisp
  12555. #: guix-git/doc/guix.texi:7610
  12556. #, no-wrap
  12557. msgid ""
  12558. "(git-reference\n"
  12559. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12560. " (commit \"v2.10\"))\n"
  12561. msgstr ""
  12562. #. type: deftp
  12563. #: guix-git/doc/guix.texi:7614
  12564. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  12565. msgstr ""
  12566. #. type: lisp
  12567. #: guix-git/doc/guix.texi:7619
  12568. #, no-wrap
  12569. msgid ""
  12570. "(git-reference\n"
  12571. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12572. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  12573. msgstr ""
  12574. #. type: Plain text
  12575. #: guix-git/doc/guix.texi:7625
  12576. 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."
  12577. msgstr ""
  12578. #. type: deffn
  12579. #: guix-git/doc/guix.texi:7626
  12580. #, no-wrap
  12581. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  12582. msgstr ""
  12583. #. type: deffn
  12584. #: guix-git/doc/guix.texi:7632
  12585. 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}."
  12586. msgstr ""
  12587. #. type: cindex
  12588. #: guix-git/doc/guix.texi:7637
  12589. #, no-wrap
  12590. msgid "customizing packages"
  12591. msgstr ""
  12592. #. type: cindex
  12593. #: guix-git/doc/guix.texi:7638
  12594. #, no-wrap
  12595. msgid "variants, of packages"
  12596. msgstr ""
  12597. #. type: Plain text
  12598. #: guix-git/doc/guix.texi:7648
  12599. 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!"
  12600. msgstr ""
  12601. #. type: cindex
  12602. #: guix-git/doc/guix.texi:7649
  12603. #, no-wrap
  12604. msgid "inherit, for package definitions"
  12605. msgstr ""
  12606. #. type: Plain text
  12607. #: guix-git/doc/guix.texi:7656
  12608. 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."
  12609. msgstr ""
  12610. #. type: Plain text
  12611. #: guix-git/doc/guix.texi:7661
  12612. 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!):"
  12613. msgstr ""
  12614. #. type: lisp
  12615. #: guix-git/doc/guix.texi:7664
  12616. #, no-wrap
  12617. msgid ""
  12618. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12619. "\n"
  12620. msgstr ""
  12621. #. type: lisp
  12622. #: guix-git/doc/guix.texi:7676
  12623. #, no-wrap
  12624. msgid ""
  12625. "(define hello-2.2\n"
  12626. " (package\n"
  12627. " (inherit hello)\n"
  12628. " (version \"2.2\")\n"
  12629. " (source (origin\n"
  12630. " (method url-fetch)\n"
  12631. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12632. " \".tar.gz\"))\n"
  12633. " (sha256\n"
  12634. " (base32\n"
  12635. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12636. msgstr ""
  12637. #. type: Plain text
  12638. #: guix-git/doc/guix.texi:7685
  12639. 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."
  12640. msgstr ""
  12641. #. type: Plain text
  12642. #: guix-git/doc/guix.texi:7691
  12643. 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:"
  12644. msgstr ""
  12645. #. type: lisp
  12646. #: guix-git/doc/guix.texi:7694
  12647. #, no-wrap
  12648. msgid ""
  12649. "(use-modules (gnu packages gdb)) ;for 'gdb'\n"
  12650. "\n"
  12651. msgstr ""
  12652. #. type: lisp
  12653. #: guix-git/doc/guix.texi:7700
  12654. #, no-wrap
  12655. msgid ""
  12656. "(define gdb-sans-guile\n"
  12657. " (package\n"
  12658. " (inherit gdb)\n"
  12659. " (inputs (modify-inputs (package-inputs gdb)\n"
  12660. " (delete \"guile\")))))\n"
  12661. msgstr ""
  12662. #. type: Plain text
  12663. #: guix-git/doc/guix.texi:7706
  12664. 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."
  12665. msgstr ""
  12666. #. type: deffn
  12667. #: guix-git/doc/guix.texi:7707
  12668. #, no-wrap
  12669. msgid "{Scheme Syntax} modify-inputs @var{inputs} @var{clauses}"
  12670. msgstr ""
  12671. #. type: deffn
  12672. #: guix-git/doc/guix.texi:7711
  12673. 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:"
  12674. msgstr ""
  12675. #. type: item
  12676. #: guix-git/doc/guix.texi:7713
  12677. #, no-wrap
  12678. msgid "(delete @var{name}@dots{})"
  12679. msgstr ""
  12680. #. type: table
  12681. #: guix-git/doc/guix.texi:7715
  12682. msgid "Delete from the inputs packages with the given @var{name}s (strings)."
  12683. msgstr ""
  12684. #. type: item
  12685. #: guix-git/doc/guix.texi:7716
  12686. #, no-wrap
  12687. msgid "(append @var{package}@dots{})"
  12688. msgstr ""
  12689. #. type: table
  12690. #: guix-git/doc/guix.texi:7718
  12691. msgid "Add @var{package}s to the end of the input list."
  12692. msgstr ""
  12693. #. type: item
  12694. #: guix-git/doc/guix.texi:7719
  12695. #, no-wrap
  12696. msgid "(prepend @var{package}@dots{})"
  12697. msgstr ""
  12698. #. type: table
  12699. #: guix-git/doc/guix.texi:7721
  12700. msgid "Add @var{package}s to the front of the input list."
  12701. msgstr ""
  12702. #. type: deffn
  12703. #: guix-git/doc/guix.texi:7725
  12704. msgid "The example below removes the GMP and ACL inputs of Coreutils and adds libcap to the back of the input list:"
  12705. msgstr ""
  12706. #. type: lisp
  12707. #: guix-git/doc/guix.texi:7730
  12708. #, no-wrap
  12709. msgid ""
  12710. "(modify-inputs (package-inputs coreutils)\n"
  12711. " (delete \"gmp\" \"acl\")\n"
  12712. " (append libcap))\n"
  12713. msgstr ""
  12714. #. type: deffn
  12715. #: guix-git/doc/guix.texi:7734
  12716. msgid "The example below replaces the @code{guile} package from the inputs of @code{guile-redis} with @code{guile-2.2}:"
  12717. msgstr ""
  12718. #. type: lisp
  12719. #: guix-git/doc/guix.texi:7738
  12720. #, no-wrap
  12721. msgid ""
  12722. "(modify-inputs (package-inputs guile-redis)\n"
  12723. " (replace \"guile\" guile-2.2))\n"
  12724. msgstr ""
  12725. #. type: deffn
  12726. #: guix-git/doc/guix.texi:7742
  12727. msgid "The last type of clause is @code{prepend}, to add inputs to the front of the list."
  12728. msgstr ""
  12729. #. type: Plain text
  12730. #: guix-git/doc/guix.texi:7751
  12731. 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:"
  12732. msgstr ""
  12733. #. type: lisp
  12734. #: guix-git/doc/guix.texi:7761
  12735. #, no-wrap
  12736. msgid ""
  12737. "(define (make-lua-socket name lua)\n"
  12738. " ;; Return a luasocket package built with LUA.\n"
  12739. " (package\n"
  12740. " (name name)\n"
  12741. " (version \"3.0\")\n"
  12742. " ;; several fields omitted\n"
  12743. " (inputs (list lua))\n"
  12744. " (synopsis \"Socket library for Lua\")))\n"
  12745. "\n"
  12746. msgstr ""
  12747. #. type: lisp
  12748. #: guix-git/doc/guix.texi:7764
  12749. #, no-wrap
  12750. msgid ""
  12751. "(define-public lua5.1-socket\n"
  12752. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12753. "\n"
  12754. msgstr ""
  12755. #. type: lisp
  12756. #: guix-git/doc/guix.texi:7767
  12757. #, no-wrap
  12758. msgid ""
  12759. "(define-public lua5.2-socket\n"
  12760. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12761. msgstr ""
  12762. #. type: Plain text
  12763. #: guix-git/doc/guix.texi:7775
  12764. 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})."
  12765. msgstr ""
  12766. #. type: cindex
  12767. #: guix-git/doc/guix.texi:7776
  12768. #, no-wrap
  12769. msgid "package transformations"
  12770. msgstr ""
  12771. #. type: Plain text
  12772. #: guix-git/doc/guix.texi:7781
  12773. 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}):"
  12774. msgstr ""
  12775. #. type: deffn
  12776. #: guix-git/doc/guix.texi:7782
  12777. #, no-wrap
  12778. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12779. msgstr ""
  12780. #. type: deffn
  12781. #: guix-git/doc/guix.texi:7786
  12782. 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:"
  12783. msgstr ""
  12784. #. type: lisp
  12785. #: guix-git/doc/guix.texi:7790
  12786. #, no-wrap
  12787. msgid ""
  12788. "((with-branch . \"guile-gcrypt=master\")\n"
  12789. " (without-tests . \"libgcrypt\"))\n"
  12790. msgstr ""
  12791. #. type: deffn
  12792. #: guix-git/doc/guix.texi:7794
  12793. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12794. msgstr ""
  12795. #. type: Plain text
  12796. #: guix-git/doc/guix.texi:7797
  12797. msgid "For instance, a manifest equivalent to this command:"
  12798. msgstr ""
  12799. #. type: example
  12800. #: guix-git/doc/guix.texi:7802
  12801. #, no-wrap
  12802. msgid ""
  12803. "guix build guix \\\n"
  12804. " --with-branch=guile-gcrypt=master \\\n"
  12805. " --with-debug-info=zlib\n"
  12806. msgstr ""
  12807. #. type: Plain text
  12808. #: guix-git/doc/guix.texi:7806
  12809. msgid "... would look like this:"
  12810. msgstr ""
  12811. #. type: lisp
  12812. #: guix-git/doc/guix.texi:7809
  12813. #, no-wrap
  12814. msgid ""
  12815. "(use-modules (guix transformations))\n"
  12816. "\n"
  12817. msgstr ""
  12818. #. type: lisp
  12819. #: guix-git/doc/guix.texi:7815
  12820. #, no-wrap
  12821. msgid ""
  12822. "(define transform\n"
  12823. " ;; The package transformation procedure.\n"
  12824. " (options->transformation\n"
  12825. " '((with-branch . \"guile-gcrypt=master\")\n"
  12826. " (with-debug-info . \"zlib\"))))\n"
  12827. "\n"
  12828. msgstr ""
  12829. #. type: lisp
  12830. #: guix-git/doc/guix.texi:7818
  12831. #, no-wrap
  12832. msgid ""
  12833. "(packages->manifest\n"
  12834. " (list (transform (specification->package \"guix\"))))\n"
  12835. msgstr ""
  12836. #. type: cindex
  12837. #: guix-git/doc/guix.texi:7820
  12838. #, no-wrap
  12839. msgid "input rewriting"
  12840. msgstr ""
  12841. #. type: cindex
  12842. #: guix-git/doc/guix.texi:7821
  12843. #, no-wrap
  12844. msgid "dependency graph rewriting"
  12845. msgstr ""
  12846. #. type: Plain text
  12847. #: guix-git/doc/guix.texi:7828
  12848. 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."
  12849. msgstr ""
  12850. #. type: Plain text
  12851. #: guix-git/doc/guix.texi:7832
  12852. 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."
  12853. msgstr ""
  12854. #. type: deffn
  12855. #: guix-git/doc/guix.texi:7833
  12856. #, no-wrap
  12857. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12858. msgstr ""
  12859. #. type: deffn
  12860. #: guix-git/doc/guix.texi:7840
  12861. 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."
  12862. msgstr ""
  12863. #. type: deffn
  12864. #: guix-git/doc/guix.texi:7843
  12865. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12866. msgstr ""
  12867. #. type: table
  12868. #: guix-git/doc/guix.texi:7847 guix-git/doc/guix.texi:11634
  12869. msgid "Consider this example:"
  12870. msgstr ""
  12871. #. type: lisp
  12872. #: guix-git/doc/guix.texi:7853
  12873. #, no-wrap
  12874. msgid ""
  12875. "(define libressl-instead-of-openssl\n"
  12876. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12877. " ;; recursively.\n"
  12878. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12879. "\n"
  12880. msgstr ""
  12881. #. type: lisp
  12882. #: guix-git/doc/guix.texi:7856
  12883. #, no-wrap
  12884. msgid ""
  12885. "(define git-with-libressl\n"
  12886. " (libressl-instead-of-openssl git))\n"
  12887. msgstr ""
  12888. #. type: Plain text
  12889. #: guix-git/doc/guix.texi:7864
  12890. 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}})."
  12891. msgstr ""
  12892. #. type: Plain text
  12893. #: guix-git/doc/guix.texi:7867
  12894. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12895. msgstr ""
  12896. #. type: deffn
  12897. #: guix-git/doc/guix.texi:7868
  12898. #, no-wrap
  12899. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12900. msgstr ""
  12901. #. type: deffn
  12902. #: guix-git/doc/guix.texi:7875
  12903. 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."
  12904. msgstr ""
  12905. #. type: Plain text
  12906. #: guix-git/doc/guix.texi:7878
  12907. msgid "The example above could be rewritten this way:"
  12908. msgstr ""
  12909. #. type: lisp
  12910. #: guix-git/doc/guix.texi:7883
  12911. #, no-wrap
  12912. msgid ""
  12913. "(define libressl-instead-of-openssl\n"
  12914. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12915. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12916. msgstr ""
  12917. #. type: Plain text
  12918. #: guix-git/doc/guix.texi:7888
  12919. 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."
  12920. msgstr ""
  12921. #. type: Plain text
  12922. #: guix-git/doc/guix.texi:7892
  12923. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12924. msgstr ""
  12925. #. type: deffn
  12926. #: guix-git/doc/guix.texi:7893
  12927. #, no-wrap
  12928. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12929. msgstr ""
  12930. #. type: deffn
  12931. #: guix-git/doc/guix.texi:7898
  12932. 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."
  12933. msgstr ""
  12934. #. type: cindex
  12935. #: guix-git/doc/guix.texi:7904
  12936. #, no-wrap
  12937. msgid "build system"
  12938. msgstr ""
  12939. #. type: Plain text
  12940. #: guix-git/doc/guix.texi:7909
  12941. 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."
  12942. msgstr ""
  12943. #. type: Plain text
  12944. #: guix-git/doc/guix.texi:7913
  12945. 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."
  12946. msgstr ""
  12947. #. type: cindex
  12948. #: guix-git/doc/guix.texi:7914
  12949. #, no-wrap
  12950. msgid "bag (low-level package representation)"
  12951. msgstr ""
  12952. #. type: Plain text
  12953. #: guix-git/doc/guix.texi:7924
  12954. 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}})."
  12955. msgstr ""
  12956. #. type: Plain text
  12957. #: guix-git/doc/guix.texi:7932
  12958. 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})."
  12959. msgstr ""
  12960. #. type: Plain text
  12961. #: guix-git/doc/guix.texi:7936
  12962. 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."
  12963. msgstr ""
  12964. #. type: defvr
  12965. #: guix-git/doc/guix.texi:7937
  12966. #, no-wrap
  12967. msgid "{Scheme Variable} gnu-build-system"
  12968. msgstr ""
  12969. #. type: defvr
  12970. #: guix-git/doc/guix.texi:7941
  12971. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12972. msgstr ""
  12973. #. type: cindex
  12974. #: guix-git/doc/guix.texi:7942 guix-git/doc/guix.texi:8891
  12975. #: guix-git/doc/guix.texi:9451
  12976. #, no-wrap
  12977. msgid "build phases"
  12978. msgstr ""
  12979. #. type: defvr
  12980. #: guix-git/doc/guix.texi:7949
  12981. 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."
  12982. msgstr ""
  12983. #. type: defvr
  12984. #: guix-git/doc/guix.texi:7956
  12985. 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."
  12986. msgstr ""
  12987. #. type: defvr
  12988. #: guix-git/doc/guix.texi:7960
  12989. 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:"
  12990. msgstr ""
  12991. #. type: item
  12992. #: guix-git/doc/guix.texi:7962
  12993. #, no-wrap
  12994. msgid "#:phases"
  12995. msgstr ""
  12996. #. type: table
  12997. #: guix-git/doc/guix.texi:7965
  12998. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12999. msgstr ""
  13000. #. type: item
  13001. #: guix-git/doc/guix.texi:7966
  13002. #, no-wrap
  13003. msgid "#:configure-flags"
  13004. msgstr ""
  13005. #. type: table
  13006. #: guix-git/doc/guix.texi:7969
  13007. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  13008. msgstr ""
  13009. #. type: item
  13010. #: guix-git/doc/guix.texi:7970
  13011. #, no-wrap
  13012. msgid "#:make-flags"
  13013. msgstr ""
  13014. #. type: table
  13015. #: guix-git/doc/guix.texi:7974
  13016. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  13017. msgstr ""
  13018. #. type: item
  13019. #: guix-git/doc/guix.texi:7975
  13020. #, no-wrap
  13021. msgid "#:out-of-source?"
  13022. msgstr ""
  13023. #. type: table
  13024. #: guix-git/doc/guix.texi:7978
  13025. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  13026. msgstr ""
  13027. #. type: table
  13028. #: guix-git/doc/guix.texi:7983
  13029. 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}."
  13030. msgstr ""
  13031. #. type: item
  13032. #: guix-git/doc/guix.texi:7984
  13033. #, no-wrap
  13034. msgid "#:tests?"
  13035. msgstr ""
  13036. #. type: table
  13037. #: guix-git/doc/guix.texi:7987
  13038. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  13039. msgstr ""
  13040. #. type: item
  13041. #: guix-git/doc/guix.texi:7988
  13042. #, no-wrap
  13043. msgid "#:test-target"
  13044. msgstr ""
  13045. #. type: table
  13046. #: guix-git/doc/guix.texi:7991
  13047. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  13048. msgstr ""
  13049. #. type: item
  13050. #: guix-git/doc/guix.texi:7992
  13051. #, no-wrap
  13052. msgid "#:parallel-build?"
  13053. msgstr ""
  13054. #. type: itemx
  13055. #: guix-git/doc/guix.texi:7993
  13056. #, no-wrap
  13057. msgid "#:parallel-tests?"
  13058. msgstr ""
  13059. #. type: table
  13060. #: guix-git/doc/guix.texi:8000
  13061. 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}})."
  13062. msgstr ""
  13063. #. type: cindex
  13064. #: guix-git/doc/guix.texi:8001
  13065. #, no-wrap
  13066. msgid "RUNPATH, validation"
  13067. msgstr ""
  13068. #. type: item
  13069. #: guix-git/doc/guix.texi:8002
  13070. #, no-wrap
  13071. msgid "#:validate-runpath?"
  13072. msgstr ""
  13073. #. type: table
  13074. #: guix-git/doc/guix.texi:8006
  13075. 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."
  13076. msgstr ""
  13077. #. type: table
  13078. #: guix-git/doc/guix.texi:8014
  13079. 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}."
  13080. msgstr ""
  13081. #. type: item
  13082. #: guix-git/doc/guix.texi:8015
  13083. #, no-wrap
  13084. msgid "#:substitutable?"
  13085. msgstr ""
  13086. #. type: table
  13087. #: guix-git/doc/guix.texi:8019
  13088. 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})."
  13089. msgstr ""
  13090. #. type: item
  13091. #: guix-git/doc/guix.texi:8020
  13092. #, no-wrap
  13093. msgid "#:allowed-references"
  13094. msgstr ""
  13095. #. type: itemx
  13096. #: guix-git/doc/guix.texi:8021
  13097. #, no-wrap
  13098. msgid "#:disallowed-references"
  13099. msgstr ""
  13100. #. type: table
  13101. #: guix-git/doc/guix.texi:8026
  13102. 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."
  13103. msgstr ""
  13104. #. type: table
  13105. #: guix-git/doc/guix.texi:8031
  13106. 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})."
  13107. msgstr ""
  13108. #. type: defvr
  13109. #: guix-git/doc/guix.texi:8034
  13110. msgid "Most other build systems support these keyword arguments."
  13111. msgstr ""
  13112. #. type: Plain text
  13113. #: guix-git/doc/guix.texi:8041
  13114. 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."
  13115. msgstr ""
  13116. #. type: defvr
  13117. #: guix-git/doc/guix.texi:8042
  13118. #, no-wrap
  13119. msgid "{Scheme Variable} ant-build-system"
  13120. msgstr ""
  13121. #. type: defvr
  13122. #: guix-git/doc/guix.texi:8046
  13123. 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}."
  13124. msgstr ""
  13125. #. type: defvr
  13126. #: guix-git/doc/guix.texi:8051
  13127. 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."
  13128. msgstr ""
  13129. #. type: defvr
  13130. #: guix-git/doc/guix.texi:8057
  13131. 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''."
  13132. msgstr ""
  13133. #. type: defvr
  13134. #: guix-git/doc/guix.texi:8065
  13135. 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."
  13136. msgstr ""
  13137. #. type: defvr
  13138. #: guix-git/doc/guix.texi:8069
  13139. 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."
  13140. msgstr ""
  13141. #. type: defvr
  13142. #: guix-git/doc/guix.texi:8072
  13143. #, no-wrap
  13144. msgid "{Scheme Variable} android-ndk-build-system"
  13145. msgstr ""
  13146. #. type: cindex
  13147. #: guix-git/doc/guix.texi:8073
  13148. #, no-wrap
  13149. msgid "Android distribution"
  13150. msgstr ""
  13151. #. type: cindex
  13152. #: guix-git/doc/guix.texi:8074
  13153. #, no-wrap
  13154. msgid "Android NDK build system"
  13155. msgstr ""
  13156. #. type: defvr
  13157. #: guix-git/doc/guix.texi:8078
  13158. 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."
  13159. msgstr ""
  13160. #. type: defvr
  13161. #: guix-git/doc/guix.texi:8082
  13162. 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."
  13163. msgstr ""
  13164. #. type: defvr
  13165. #: guix-git/doc/guix.texi:8085
  13166. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  13167. msgstr ""
  13168. #. type: defvr
  13169. #: guix-git/doc/guix.texi:8088
  13170. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  13171. msgstr ""
  13172. #. type: defvr
  13173. #: guix-git/doc/guix.texi:8091
  13174. #, no-wrap
  13175. msgid "{Scheme Variable} asdf-build-system/source"
  13176. msgstr ""
  13177. #. type: defvrx
  13178. #: guix-git/doc/guix.texi:8092
  13179. #, no-wrap
  13180. msgid "{Scheme Variable} asdf-build-system/sbcl"
  13181. msgstr ""
  13182. #. type: defvrx
  13183. #: guix-git/doc/guix.texi:8093
  13184. #, no-wrap
  13185. msgid "{Scheme Variable} asdf-build-system/ecl"
  13186. msgstr ""
  13187. #. type: defvr
  13188. #: guix-git/doc/guix.texi:8099
  13189. 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."
  13190. msgstr ""
  13191. #. type: defvr
  13192. #: guix-git/doc/guix.texi:8106
  13193. 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."
  13194. msgstr ""
  13195. #. type: defvr
  13196. #: guix-git/doc/guix.texi:8110
  13197. 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}."
  13198. msgstr ""
  13199. #. type: defvr
  13200. #: guix-git/doc/guix.texi:8114
  13201. 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."
  13202. msgstr ""
  13203. #. type: defvr
  13204. #: guix-git/doc/guix.texi:8122
  13205. 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."
  13206. msgstr ""
  13207. #. type: defvr
  13208. #: guix-git/doc/guix.texi:8131
  13209. 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."
  13210. msgstr ""
  13211. #. type: defvr
  13212. #: guix-git/doc/guix.texi:8136
  13213. 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."
  13214. msgstr ""
  13215. #. type: defvr
  13216. #: guix-git/doc/guix.texi:8139
  13217. #, no-wrap
  13218. msgid "{Scheme Variable} cargo-build-system"
  13219. msgstr ""
  13220. #. type: cindex
  13221. #: guix-git/doc/guix.texi:8140
  13222. #, no-wrap
  13223. msgid "Rust programming language"
  13224. msgstr ""
  13225. #. type: cindex
  13226. #: guix-git/doc/guix.texi:8141
  13227. #, no-wrap
  13228. msgid "Cargo (Rust build system)"
  13229. msgstr ""
  13230. #. type: defvr
  13231. #: guix-git/doc/guix.texi:8145
  13232. 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}."
  13233. msgstr ""
  13234. #. type: defvr
  13235. #: guix-git/doc/guix.texi:8148
  13236. 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."
  13237. msgstr ""
  13238. #. type: defvr
  13239. #: guix-git/doc/guix.texi:8158
  13240. 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."
  13241. msgstr ""
  13242. #. type: defvr
  13243. #: guix-git/doc/guix.texi:8168
  13244. 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."
  13245. msgstr ""
  13246. #. type: defvr
  13247. #: guix-git/doc/guix.texi:8170
  13248. #, no-wrap
  13249. msgid "{Scheme Variable} chicken-build-system"
  13250. msgstr ""
  13251. #. type: defvr
  13252. #: guix-git/doc/guix.texi:8175
  13253. 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."
  13254. msgstr ""
  13255. #. type: defvr
  13256. #: guix-git/doc/guix.texi:8178
  13257. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  13258. msgstr ""
  13259. #. type: defvr
  13260. #: guix-git/doc/guix.texi:8182
  13261. 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."
  13262. msgstr ""
  13263. #. type: defvr
  13264. #: guix-git/doc/guix.texi:8184
  13265. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  13266. msgstr ""
  13267. #. type: lisp
  13268. #: guix-git/doc/guix.texi:8187
  13269. #, no-wrap
  13270. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  13271. msgstr ""
  13272. #. type: defvr
  13273. #: guix-git/doc/guix.texi:8192
  13274. 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."
  13275. msgstr ""
  13276. #. type: defvr
  13277. #: guix-git/doc/guix.texi:8194
  13278. #, no-wrap
  13279. msgid "{Scheme Variable} copy-build-system"
  13280. msgstr ""
  13281. #. type: defvr
  13282. #: guix-git/doc/guix.texi:8198
  13283. 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."
  13284. msgstr ""
  13285. #. type: defvr
  13286. #: guix-git/doc/guix.texi:8203
  13287. 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}."
  13288. msgstr ""
  13289. #. type: defvr
  13290. #: guix-git/doc/guix.texi:8208
  13291. 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."
  13292. msgstr ""
  13293. #. type: item
  13294. #: guix-git/doc/guix.texi:8210
  13295. #, no-wrap
  13296. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  13297. msgstr ""
  13298. #. type: item
  13299. #: guix-git/doc/guix.texi:8212
  13300. #, no-wrap
  13301. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  13302. msgstr ""
  13303. #. type: item
  13304. #: guix-git/doc/guix.texi:8213
  13305. #, no-wrap
  13306. msgid "Otherwise install @var{source} as @var{target}."
  13307. msgstr ""
  13308. #. type: item
  13309. #: guix-git/doc/guix.texi:8216
  13310. #, no-wrap
  13311. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  13312. msgstr ""
  13313. #. type: itemize
  13314. #: guix-git/doc/guix.texi:8219
  13315. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  13316. msgstr ""
  13317. #. type: item
  13318. #: guix-git/doc/guix.texi:8220
  13319. #, no-wrap
  13320. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  13321. msgstr ""
  13322. #. type: item
  13323. #: guix-git/doc/guix.texi:8221
  13324. #, no-wrap
  13325. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  13326. msgstr ""
  13327. #. type: itemize
  13328. #: guix-git/doc/guix.texi:8224
  13329. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  13330. msgstr ""
  13331. #. type: item
  13332. #: guix-git/doc/guix.texi:8225
  13333. #, no-wrap
  13334. msgid "With @code{#:include}, install all the files which the path suffix matches"
  13335. msgstr ""
  13336. #. type: itemize
  13337. #: guix-git/doc/guix.texi:8227
  13338. msgid "at least one of the elements in the given list."
  13339. msgstr ""
  13340. #. type: item
  13341. #: guix-git/doc/guix.texi:8227
  13342. #, no-wrap
  13343. msgid "With @code{#:include-regexp}, install all the files which the"
  13344. msgstr ""
  13345. #. type: itemize
  13346. #: guix-git/doc/guix.texi:8230
  13347. msgid "subpaths match at least one of the regular expressions in the given list."
  13348. msgstr ""
  13349. #. type: item
  13350. #: guix-git/doc/guix.texi:8230
  13351. #, no-wrap
  13352. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  13353. msgstr ""
  13354. #. type: itemize
  13355. #: guix-git/doc/guix.texi:8235
  13356. 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."
  13357. msgstr ""
  13358. #. type: itemize
  13359. #: guix-git/doc/guix.texi:8239
  13360. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  13361. msgstr ""
  13362. #. type: defvr
  13363. #: guix-git/doc/guix.texi:8242
  13364. msgid "Examples:"
  13365. msgstr ""
  13366. #. type: item
  13367. #: guix-git/doc/guix.texi:8244
  13368. #, no-wrap
  13369. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  13370. msgstr ""
  13371. #. type: item
  13372. #: guix-git/doc/guix.texi:8245
  13373. #, no-wrap
  13374. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  13375. msgstr ""
  13376. #. type: item
  13377. #: guix-git/doc/guix.texi:8246
  13378. #, no-wrap
  13379. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  13380. msgstr ""
  13381. #. type: itemize
  13382. #: guix-git/doc/guix.texi:8248
  13383. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  13384. msgstr ""
  13385. #. type: item
  13386. #: guix-git/doc/guix.texi:8248
  13387. #, no-wrap
  13388. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  13389. msgstr ""
  13390. #. type: itemize
  13391. #: guix-git/doc/guix.texi:8250
  13392. msgid "@file{share/my-app/sub/file}."
  13393. msgstr ""
  13394. #. type: item
  13395. #: guix-git/doc/guix.texi:8250
  13396. #, no-wrap
  13397. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  13398. msgstr ""
  13399. #. type: itemize
  13400. #: guix-git/doc/guix.texi:8252
  13401. msgid "@file{share/my-app/file}."
  13402. msgstr ""
  13403. #. type: cindex
  13404. #: guix-git/doc/guix.texi:8256
  13405. #, no-wrap
  13406. msgid "Clojure (programming language)"
  13407. msgstr ""
  13408. #. type: cindex
  13409. #: guix-git/doc/guix.texi:8257
  13410. #, no-wrap
  13411. msgid "simple Clojure build system"
  13412. msgstr ""
  13413. #. type: defvr
  13414. #: guix-git/doc/guix.texi:8258
  13415. #, no-wrap
  13416. msgid "{Scheme Variable} clojure-build-system"
  13417. msgstr ""
  13418. #. type: defvr
  13419. #: guix-git/doc/guix.texi:8263
  13420. 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."
  13421. msgstr ""
  13422. #. type: defvr
  13423. #: guix-git/doc/guix.texi:8267
  13424. 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."
  13425. msgstr ""
  13426. #. type: defvr
  13427. #: guix-git/doc/guix.texi:8273
  13428. 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."
  13429. msgstr ""
  13430. #. type: defvr
  13431. #: guix-git/doc/guix.texi:8276
  13432. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  13433. msgstr ""
  13434. #. type: item
  13435. #: guix-git/doc/guix.texi:8279 guix-git/doc/guix.texi:8852
  13436. #: guix-git/doc/guix.texi:8901 guix-git/doc/guix.texi:8974
  13437. #: guix-git/doc/guix.texi:35595 guix-git/doc/guix.texi:38341
  13438. #, no-wrap
  13439. msgid "build"
  13440. msgstr ""
  13441. #. type: table
  13442. #: guix-git/doc/guix.texi:8288
  13443. 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."
  13444. msgstr ""
  13445. #. type: item
  13446. #: guix-git/doc/guix.texi:8289 guix-git/doc/guix.texi:8856
  13447. #: guix-git/doc/guix.texi:8979
  13448. #, no-wrap
  13449. msgid "check"
  13450. msgstr ""
  13451. #. type: table
  13452. #: guix-git/doc/guix.texi:8296
  13453. 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."
  13454. msgstr ""
  13455. #. type: item
  13456. #: guix-git/doc/guix.texi:8297 guix-git/doc/guix.texi:8862
  13457. #: guix-git/doc/guix.texi:8905 guix-git/doc/guix.texi:8985
  13458. #, no-wrap
  13459. msgid "install"
  13460. msgstr ""
  13461. #. type: table
  13462. #: guix-git/doc/guix.texi:8299
  13463. msgid "This phase installs all jars built previously."
  13464. msgstr ""
  13465. #. type: defvr
  13466. #: guix-git/doc/guix.texi:8302
  13467. msgid "Apart from the above, this build system also contains an additional phase:"
  13468. msgstr ""
  13469. #. type: item
  13470. #: guix-git/doc/guix.texi:8305
  13471. #, no-wrap
  13472. msgid "install-doc"
  13473. msgstr ""
  13474. #. type: table
  13475. #: guix-git/doc/guix.texi:8310
  13476. 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."
  13477. msgstr ""
  13478. #. type: defvr
  13479. #: guix-git/doc/guix.texi:8313
  13480. #, no-wrap
  13481. msgid "{Scheme Variable} cmake-build-system"
  13482. msgstr ""
  13483. #. type: defvr
  13484. #: guix-git/doc/guix.texi:8317
  13485. 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}."
  13486. msgstr ""
  13487. #. type: defvr
  13488. #: guix-git/doc/guix.texi:8321
  13489. 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."
  13490. msgstr ""
  13491. #. type: defvr
  13492. #: guix-git/doc/guix.texi:8328
  13493. 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."
  13494. msgstr ""
  13495. #. type: defvr
  13496. #: guix-git/doc/guix.texi:8330
  13497. #, no-wrap
  13498. msgid "{Scheme Variable} dune-build-system"
  13499. msgstr ""
  13500. #. type: defvr
  13501. #: guix-git/doc/guix.texi:8337
  13502. 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."
  13503. msgstr ""
  13504. #. type: defvr
  13505. #: guix-git/doc/guix.texi:8341
  13506. 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."
  13507. msgstr ""
  13508. #. type: defvr
  13509. #: guix-git/doc/guix.texi:8345
  13510. 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."
  13511. msgstr ""
  13512. #. type: defvr
  13513. #: guix-git/doc/guix.texi:8349
  13514. 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}."
  13515. msgstr ""
  13516. #. type: defvr
  13517. #: guix-git/doc/guix.texi:8354
  13518. 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}."
  13519. msgstr ""
  13520. #. type: defvr
  13521. #: guix-git/doc/guix.texi:8357
  13522. #, no-wrap
  13523. msgid "{Scheme Variable} go-build-system"
  13524. msgstr ""
  13525. #. type: defvr
  13526. #: guix-git/doc/guix.texi:8362
  13527. 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}."
  13528. msgstr ""
  13529. #. type: defvr
  13530. #: guix-git/doc/guix.texi:8373
  13531. 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."
  13532. msgstr ""
  13533. #. type: defvr
  13534. #: guix-git/doc/guix.texi:8378
  13535. 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."
  13536. msgstr ""
  13537. #. type: defvr
  13538. #: guix-git/doc/guix.texi:8385
  13539. 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}."
  13540. msgstr ""
  13541. #. type: defvr
  13542. #: guix-git/doc/guix.texi:8387
  13543. #, no-wrap
  13544. msgid "{Scheme Variable} glib-or-gtk-build-system"
  13545. msgstr ""
  13546. #. type: defvr
  13547. #: guix-git/doc/guix.texi:8390
  13548. 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+."
  13549. msgstr ""
  13550. #. type: defvr
  13551. #: guix-git/doc/guix.texi:8393
  13552. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  13553. msgstr ""
  13554. #. type: item
  13555. #: guix-git/doc/guix.texi:8395 guix-git/doc/guix.texi:8878
  13556. #, no-wrap
  13557. msgid "glib-or-gtk-wrap"
  13558. msgstr ""
  13559. #. type: table
  13560. #: guix-git/doc/guix.texi:8402
  13561. 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."
  13562. msgstr ""
  13563. #. type: table
  13564. #: guix-git/doc/guix.texi:8409
  13565. 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+."
  13566. msgstr ""
  13567. #. type: item
  13568. #: guix-git/doc/guix.texi:8410 guix-git/doc/guix.texi:8882
  13569. #, no-wrap
  13570. msgid "glib-or-gtk-compile-schemas"
  13571. msgstr ""
  13572. #. type: table
  13573. #: guix-git/doc/guix.texi:8418
  13574. 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."
  13575. msgstr ""
  13576. #. type: defvr
  13577. #: guix-git/doc/guix.texi:8421
  13578. msgid "Both phases are executed after the @code{install} phase."
  13579. msgstr ""
  13580. #. type: defvr
  13581. #: guix-git/doc/guix.texi:8423
  13582. #, no-wrap
  13583. msgid "{Scheme Variable} guile-build-system"
  13584. msgstr ""
  13585. #. type: defvr
  13586. #: guix-git/doc/guix.texi:8430
  13587. 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."
  13588. msgstr ""
  13589. #. type: defvr
  13590. #: guix-git/doc/guix.texi:8433
  13591. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  13592. msgstr ""
  13593. #. type: defvr
  13594. #: guix-git/doc/guix.texi:8436
  13595. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  13596. msgstr ""
  13597. #. type: defvr
  13598. #: guix-git/doc/guix.texi:8438
  13599. #, no-wrap
  13600. msgid "{Scheme Variable} julia-build-system"
  13601. msgstr ""
  13602. #. type: defvr
  13603. #: guix-git/doc/guix.texi:8445
  13604. 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}."
  13605. msgstr ""
  13606. #. type: defvr
  13607. #: guix-git/doc/guix.texi:8450
  13608. 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}."
  13609. msgstr ""
  13610. #. type: defvr
  13611. #: guix-git/doc/guix.texi:8454
  13612. 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}."
  13613. msgstr ""
  13614. #. type: defvr
  13615. #: guix-git/doc/guix.texi:8459
  13616. 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."
  13617. msgstr ""
  13618. #. type: defvr
  13619. #: guix-git/doc/guix.texi:8463
  13620. 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:"
  13621. msgstr ""
  13622. #. type: lisp
  13623. #: guix-git/doc/guix.texi:8475
  13624. #, no-wrap
  13625. msgid ""
  13626. "(add-after 'unpack 'override-binary-path\n"
  13627. " (lambda* (#:key inputs #:allow-other-keys)\n"
  13628. " (for-each (lambda (wrapper)\n"
  13629. " (substitute* wrapper\n"
  13630. " ((\"generate_wrapper_header.*\")\n"
  13631. " (string-append\n"
  13632. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  13633. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  13634. " ;; There's a Julia file for each platform, override them all.\n"
  13635. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  13636. msgstr ""
  13637. #. type: defvr
  13638. #: guix-git/doc/guix.texi:8481
  13639. 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."
  13640. msgstr ""
  13641. #. type: defvr
  13642. #: guix-git/doc/guix.texi:8483
  13643. #, no-wrap
  13644. msgid "{Scheme Variable} maven-build-system"
  13645. msgstr ""
  13646. #. type: defvr
  13647. #: guix-git/doc/guix.texi:8490
  13648. 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."
  13649. msgstr ""
  13650. #. type: defvr
  13651. #: guix-git/doc/guix.texi:8500
  13652. 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."
  13653. msgstr ""
  13654. #. type: defvr
  13655. #: guix-git/doc/guix.texi:8503
  13656. 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."
  13657. msgstr ""
  13658. #. type: defvr
  13659. #: guix-git/doc/guix.texi:8509
  13660. 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}."
  13661. msgstr ""
  13662. #. type: defvr
  13663. #: guix-git/doc/guix.texi:8515
  13664. 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."
  13665. msgstr ""
  13666. #. type: defvr
  13667. #: guix-git/doc/guix.texi:8518
  13668. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13669. msgstr ""
  13670. #. type: defvr
  13671. #: guix-git/doc/guix.texi:8523
  13672. 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."
  13673. msgstr ""
  13674. #. type: defvr
  13675. #: guix-git/doc/guix.texi:8525
  13676. #, no-wrap
  13677. msgid "{Scheme Variable} minetest-mod-build-system"
  13678. msgstr ""
  13679. #. type: defvr
  13680. #: guix-git/doc/guix.texi:8531
  13681. 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."
  13682. msgstr ""
  13683. #. type: defvr
  13684. #: guix-git/doc/guix.texi:8533
  13685. #, no-wrap
  13686. msgid "{Scheme Variable} minify-build-system"
  13687. msgstr ""
  13688. #. type: defvr
  13689. #: guix-git/doc/guix.texi:8536
  13690. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13691. msgstr ""
  13692. #. type: defvr
  13693. #: guix-git/doc/guix.texi:8542
  13694. 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."
  13695. msgstr ""
  13696. #. type: defvr
  13697. #: guix-git/doc/guix.texi:8546
  13698. 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."
  13699. msgstr ""
  13700. #. type: defvr
  13701. #: guix-git/doc/guix.texi:8548
  13702. #, no-wrap
  13703. msgid "{Scheme Variable} ocaml-build-system"
  13704. msgstr ""
  13705. #. type: defvr
  13706. #: guix-git/doc/guix.texi:8554
  13707. 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."
  13708. msgstr ""
  13709. #. type: defvr
  13710. #: guix-git/doc/guix.texi:8564
  13711. 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."
  13712. msgstr ""
  13713. #. type: defvr
  13714. #: guix-git/doc/guix.texi:8569
  13715. 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."
  13716. msgstr ""
  13717. #. type: defvr
  13718. #: guix-git/doc/guix.texi:8573
  13719. 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."
  13720. msgstr ""
  13721. #. type: defvr
  13722. #: guix-git/doc/guix.texi:8581
  13723. 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."
  13724. msgstr ""
  13725. #. type: defvr
  13726. #: guix-git/doc/guix.texi:8589
  13727. 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."
  13728. msgstr ""
  13729. #. type: defvr
  13730. #: guix-git/doc/guix.texi:8591
  13731. #, no-wrap
  13732. msgid "{Scheme Variable} python-build-system"
  13733. msgstr ""
  13734. #. type: defvr
  13735. #: guix-git/doc/guix.texi:8596
  13736. 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{}}."
  13737. msgstr ""
  13738. #. type: defvr
  13739. #: guix-git/doc/guix.texi:8601
  13740. 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."
  13741. msgstr ""
  13742. #. type: defvr
  13743. #: guix-git/doc/guix.texi:8607
  13744. 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."
  13745. msgstr ""
  13746. #. type: defvr
  13747. #: guix-git/doc/guix.texi:8612
  13748. 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}."
  13749. msgstr ""
  13750. #. type: defvr
  13751. #: guix-git/doc/guix.texi:8618
  13752. 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."
  13753. msgstr ""
  13754. #. type: defvr
  13755. #: guix-git/doc/guix.texi:8621
  13756. #, no-wrap
  13757. msgid "{Scheme Variable} perl-build-system"
  13758. msgstr ""
  13759. #. type: defvr
  13760. #: guix-git/doc/guix.texi:8633
  13761. 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."
  13762. msgstr ""
  13763. #. type: defvr
  13764. #: guix-git/doc/guix.texi:8637
  13765. 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."
  13766. msgstr ""
  13767. #. type: defvr
  13768. #: guix-git/doc/guix.texi:8639
  13769. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13770. msgstr ""
  13771. #. type: defvr
  13772. #: guix-git/doc/guix.texi:8641
  13773. #, no-wrap
  13774. msgid "{Scheme Variable} renpy-build-system"
  13775. msgstr ""
  13776. #. type: defvr
  13777. #: guix-git/doc/guix.texi:8645
  13778. 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."
  13779. msgstr ""
  13780. #. type: defvr
  13781. #: guix-git/doc/guix.texi:8648
  13782. 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."
  13783. msgstr ""
  13784. #. type: defvr
  13785. #: guix-git/doc/guix.texi:8652
  13786. 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}."
  13787. msgstr ""
  13788. #. type: defvr
  13789. #: guix-git/doc/guix.texi:8654
  13790. #, no-wrap
  13791. msgid "{Scheme Variable} qt-build-system"
  13792. msgstr ""
  13793. #. type: defvr
  13794. #: guix-git/doc/guix.texi:8657
  13795. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13796. msgstr ""
  13797. #. type: defvr
  13798. #: guix-git/doc/guix.texi:8660
  13799. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13800. msgstr ""
  13801. #. type: item
  13802. #: guix-git/doc/guix.texi:8662
  13803. #, no-wrap
  13804. msgid "check-setup"
  13805. msgstr ""
  13806. #. type: table
  13807. #: guix-git/doc/guix.texi:8669
  13808. 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}."
  13809. msgstr ""
  13810. #. type: table
  13811. #: guix-git/doc/guix.texi:8672
  13812. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13813. msgstr ""
  13814. #. type: item
  13815. #: guix-git/doc/guix.texi:8673
  13816. #, no-wrap
  13817. msgid "qt-wrap"
  13818. msgstr ""
  13819. #. type: table
  13820. #: guix-git/doc/guix.texi:8679
  13821. 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."
  13822. msgstr ""
  13823. #. type: table
  13824. #: guix-git/doc/guix.texi:8685
  13825. 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."
  13826. msgstr ""
  13827. #. type: table
  13828. #: guix-git/doc/guix.texi:8687
  13829. msgid "This phase is added after the @code{install} phase."
  13830. msgstr ""
  13831. #. type: defvr
  13832. #: guix-git/doc/guix.texi:8690
  13833. #, no-wrap
  13834. msgid "{Scheme Variable} r-build-system"
  13835. msgstr ""
  13836. #. type: defvr
  13837. #: guix-git/doc/guix.texi:8698
  13838. 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}."
  13839. msgstr ""
  13840. #. type: defvr
  13841. #: guix-git/doc/guix.texi:8700
  13842. #, no-wrap
  13843. msgid "{Scheme Variable} rakudo-build-system"
  13844. msgstr ""
  13845. #. type: defvr
  13846. #: guix-git/doc/guix.texi:8708
  13847. 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."
  13848. msgstr ""
  13849. #. type: defvr
  13850. #: guix-git/doc/guix.texi:8716
  13851. 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."
  13852. msgstr ""
  13853. #. type: defvr
  13854. #: guix-git/doc/guix.texi:8718
  13855. #, no-wrap
  13856. msgid "{Scheme Variable} texlive-build-system"
  13857. msgstr ""
  13858. #. type: defvr
  13859. #: guix-git/doc/guix.texi:8723
  13860. 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."
  13861. msgstr ""
  13862. #. type: defvr
  13863. #: guix-git/doc/guix.texi:8732
  13864. 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."
  13865. msgstr ""
  13866. #. type: defvr
  13867. #: guix-git/doc/guix.texi:8735
  13868. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13869. msgstr ""
  13870. #. type: defvr
  13871. #: guix-git/doc/guix.texi:8737
  13872. #, no-wrap
  13873. msgid "{Scheme Variable} ruby-build-system"
  13874. msgstr ""
  13875. #. type: defvr
  13876. #: guix-git/doc/guix.texi:8741
  13877. 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}."
  13878. msgstr ""
  13879. #. type: defvr
  13880. #: guix-git/doc/guix.texi:8749
  13881. 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."
  13882. msgstr ""
  13883. #. type: defvr
  13884. #: guix-git/doc/guix.texi:8753
  13885. 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."
  13886. msgstr ""
  13887. #. type: defvr
  13888. #: guix-git/doc/guix.texi:8755
  13889. #, no-wrap
  13890. msgid "{Scheme Variable} waf-build-system"
  13891. msgstr ""
  13892. #. type: defvr
  13893. #: guix-git/doc/guix.texi:8761
  13894. 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."
  13895. msgstr ""
  13896. #. type: defvr
  13897. #: guix-git/doc/guix.texi:8765
  13898. 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."
  13899. msgstr ""
  13900. #. type: defvr
  13901. #: guix-git/doc/guix.texi:8767
  13902. #, no-wrap
  13903. msgid "{Scheme Variable} scons-build-system"
  13904. msgstr ""
  13905. #. type: defvr
  13906. #: guix-git/doc/guix.texi:8773
  13907. 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."
  13908. msgstr ""
  13909. #. type: defvr
  13910. #: guix-git/doc/guix.texi:8780
  13911. 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."
  13912. msgstr ""
  13913. #. type: defvr
  13914. #: guix-git/doc/guix.texi:8782
  13915. #, no-wrap
  13916. msgid "{Scheme Variable} haskell-build-system"
  13917. msgstr ""
  13918. #. type: defvr
  13919. #: guix-git/doc/guix.texi:8796
  13920. 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."
  13921. msgstr ""
  13922. #. type: defvr
  13923. #: guix-git/doc/guix.texi:8799
  13924. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13925. msgstr ""
  13926. #. type: defvr
  13927. #: guix-git/doc/guix.texi:8801
  13928. #, no-wrap
  13929. msgid "{Scheme Variable} dub-build-system"
  13930. msgstr ""
  13931. #. type: defvr
  13932. #: guix-git/doc/guix.texi:8806
  13933. 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."
  13934. msgstr ""
  13935. #. type: defvr
  13936. #: guix-git/doc/guix.texi:8809
  13937. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13938. msgstr ""
  13939. #. type: anchor{#1}
  13940. #: guix-git/doc/guix.texi:8812
  13941. msgid "emacs-build-system"
  13942. msgstr ""
  13943. #. type: defvr
  13944. #: guix-git/doc/guix.texi:8812
  13945. #, no-wrap
  13946. msgid "{Scheme Variable} emacs-build-system"
  13947. msgstr ""
  13948. #. type: defvr
  13949. #: guix-git/doc/guix.texi:8816
  13950. 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})."
  13951. msgstr ""
  13952. #. type: defvr
  13953. #: guix-git/doc/guix.texi:8822
  13954. 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}."
  13955. msgstr ""
  13956. #. type: defvr
  13957. #: guix-git/doc/guix.texi:8824
  13958. #, no-wrap
  13959. msgid "{Scheme Variable} font-build-system"
  13960. msgstr ""
  13961. #. type: defvr
  13962. #: guix-git/doc/guix.texi:8830
  13963. 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."
  13964. msgstr ""
  13965. #. type: defvr
  13966. #: guix-git/doc/guix.texi:8832
  13967. #, no-wrap
  13968. msgid "{Scheme Variable} meson-build-system"
  13969. msgstr ""
  13970. #. type: defvr
  13971. #: guix-git/doc/guix.texi:8836
  13972. 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."
  13973. msgstr ""
  13974. #. type: defvr
  13975. #: guix-git/doc/guix.texi:8840
  13976. 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."
  13977. msgstr ""
  13978. #. type: defvr
  13979. #: guix-git/doc/guix.texi:8843
  13980. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13981. msgstr ""
  13982. #. type: item
  13983. #: guix-git/doc/guix.texi:8846 guix-git/doc/guix.texi:8897
  13984. #: guix-git/doc/guix.texi:8969
  13985. #, no-wrap
  13986. msgid "configure"
  13987. msgstr ""
  13988. #. type: table
  13989. #: guix-git/doc/guix.texi:8851
  13990. 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}."
  13991. msgstr ""
  13992. #. type: table
  13993. #: guix-git/doc/guix.texi:8855
  13994. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13995. msgstr ""
  13996. #. type: table
  13997. #: guix-git/doc/guix.texi:8861
  13998. 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."
  13999. msgstr ""
  14000. #. type: table
  14001. #: guix-git/doc/guix.texi:8864
  14002. msgid "The phase runs @code{ninja install} and can not be changed."
  14003. msgstr ""
  14004. #. type: defvr
  14005. #: guix-git/doc/guix.texi:8867
  14006. msgid "Apart from that, the build system also adds the following phases:"
  14007. msgstr ""
  14008. #. type: item
  14009. #: guix-git/doc/guix.texi:8870
  14010. #, no-wrap
  14011. msgid "fix-runpath"
  14012. msgstr ""
  14013. #. type: table
  14014. #: guix-git/doc/guix.texi:8877
  14015. 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."
  14016. msgstr ""
  14017. #. type: table
  14018. #: guix-git/doc/guix.texi:8881 guix-git/doc/guix.texi:8885
  14019. 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?}."
  14020. msgstr ""
  14021. #. type: defvr
  14022. #: guix-git/doc/guix.texi:8888
  14023. #, no-wrap
  14024. msgid "{Scheme Variable} linux-module-build-system"
  14025. msgstr ""
  14026. #. type: defvr
  14027. #: guix-git/doc/guix.texi:8890
  14028. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  14029. msgstr ""
  14030. #. type: defvr
  14031. #: guix-git/doc/guix.texi:8894
  14032. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  14033. msgstr ""
  14034. #. type: table
  14035. #: guix-git/doc/guix.texi:8900
  14036. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  14037. msgstr ""
  14038. #. type: table
  14039. #: guix-git/doc/guix.texi:8904
  14040. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  14041. msgstr ""
  14042. #. type: table
  14043. #: guix-git/doc/guix.texi:8908
  14044. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  14045. msgstr ""
  14046. #. type: defvr
  14047. #: guix-git/doc/guix.texi:8913
  14048. 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)."
  14049. msgstr ""
  14050. #. type: defvr
  14051. #: guix-git/doc/guix.texi:8915
  14052. #, no-wrap
  14053. msgid "{Scheme Variable} node-build-system"
  14054. msgstr ""
  14055. #. type: defvr
  14056. #: guix-git/doc/guix.texi:8920
  14057. 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."
  14058. msgstr ""
  14059. #. type: defvr
  14060. #: guix-git/doc/guix.texi:8924
  14061. 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}."
  14062. msgstr ""
  14063. #. type: Plain text
  14064. #: guix-git/doc/guix.texi:8930
  14065. 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."
  14066. msgstr ""
  14067. #. type: defvr
  14068. #: guix-git/doc/guix.texi:8931
  14069. #, no-wrap
  14070. msgid "{Scheme Variable} trivial-build-system"
  14071. msgstr ""
  14072. #. type: defvr
  14073. #: guix-git/doc/guix.texi:8933
  14074. msgid "This variable is exported by @code{(guix build-system trivial)}."
  14075. msgstr ""
  14076. #. type: defvr
  14077. #: guix-git/doc/guix.texi:8938
  14078. 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}})."
  14079. msgstr ""
  14080. #. type: cindex
  14081. #: guix-git/doc/guix.texi:8943
  14082. #, no-wrap
  14083. msgid "build phases, for packages"
  14084. msgstr ""
  14085. #. type: Plain text
  14086. #: guix-git/doc/guix.texi:8949
  14087. 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})."
  14088. msgstr ""
  14089. #. type: Plain text
  14090. #: guix-git/doc/guix.texi:8953
  14091. 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:"
  14092. msgstr ""
  14093. #. type: item
  14094. #: guix-git/doc/guix.texi:8955
  14095. #, no-wrap
  14096. msgid "set-paths"
  14097. msgstr ""
  14098. #. type: table
  14099. #: guix-git/doc/guix.texi:8958
  14100. msgid "Define search path environment variables for all the input packages, including @env{PATH} (@pxref{Search Paths})."
  14101. msgstr ""
  14102. #. type: item
  14103. #: guix-git/doc/guix.texi:8959
  14104. #, no-wrap
  14105. msgid "unpack"
  14106. msgstr ""
  14107. #. type: table
  14108. #: guix-git/doc/guix.texi:8963
  14109. 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."
  14110. msgstr ""
  14111. #. type: item
  14112. #: guix-git/doc/guix.texi:8964
  14113. #, no-wrap
  14114. msgid "patch-source-shebangs"
  14115. msgstr ""
  14116. #. type: table
  14117. #: guix-git/doc/guix.texi:8968
  14118. 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}."
  14119. msgstr ""
  14120. #. type: table
  14121. #: guix-git/doc/guix.texi:8973
  14122. 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."
  14123. msgstr ""
  14124. #. type: table
  14125. #: guix-git/doc/guix.texi:8978
  14126. 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}."
  14127. msgstr ""
  14128. #. type: table
  14129. #: guix-git/doc/guix.texi:8984
  14130. 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}."
  14131. msgstr ""
  14132. #. type: table
  14133. #: guix-git/doc/guix.texi:8987
  14134. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  14135. msgstr ""
  14136. #. type: item
  14137. #: guix-git/doc/guix.texi:8988
  14138. #, no-wrap
  14139. msgid "patch-shebangs"
  14140. msgstr ""
  14141. #. type: table
  14142. #: guix-git/doc/guix.texi:8990
  14143. msgid "Patch shebangs on the installed executable files."
  14144. msgstr ""
  14145. #. type: item
  14146. #: guix-git/doc/guix.texi:8991
  14147. #, no-wrap
  14148. msgid "strip"
  14149. msgstr ""
  14150. #. type: table
  14151. #: guix-git/doc/guix.texi:8995
  14152. 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})."
  14153. msgstr ""
  14154. #. type: Plain text
  14155. #: guix-git/doc/guix.texi:9004
  14156. 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})."
  14157. msgstr ""
  14158. #. type: Plain text
  14159. #: guix-git/doc/guix.texi:9011
  14160. 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."
  14161. msgstr ""
  14162. #. type: vindex
  14163. #: guix-git/doc/guix.texi:9012
  14164. #, no-wrap
  14165. msgid "%standard-phases"
  14166. msgstr ""
  14167. #. type: Plain text
  14168. #: guix-git/doc/guix.texi:9018
  14169. 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!}:"
  14170. msgstr ""
  14171. #. type: lisp
  14172. #: guix-git/doc/guix.texi:9021
  14173. #, no-wrap
  14174. msgid ""
  14175. ";; The build phases of 'gnu-build-system'.\n"
  14176. "\n"
  14177. msgstr ""
  14178. #. type: lisp
  14179. #: guix-git/doc/guix.texi:9025
  14180. #, no-wrap
  14181. msgid ""
  14182. "(define* (unpack #:key source #:allow-other-keys)\n"
  14183. " ;; Extract the source tarball.\n"
  14184. " (invoke \"tar\" \"xvf\" source))\n"
  14185. "\n"
  14186. msgstr ""
  14187. #. type: lisp
  14188. #: guix-git/doc/guix.texi:9031
  14189. #, no-wrap
  14190. msgid ""
  14191. "(define* (configure #:key outputs #:allow-other-keys)\n"
  14192. " ;; Run the 'configure' script. Install to output \"out\".\n"
  14193. " (let ((out (assoc-ref outputs \"out\")))\n"
  14194. " (invoke \"./configure\"\n"
  14195. " (string-append \"--prefix=\" out))))\n"
  14196. "\n"
  14197. msgstr ""
  14198. #. type: lisp
  14199. #: guix-git/doc/guix.texi:9035
  14200. #, no-wrap
  14201. msgid ""
  14202. "(define* (build #:allow-other-keys)\n"
  14203. " ;; Compile.\n"
  14204. " (invoke \"make\"))\n"
  14205. "\n"
  14206. msgstr ""
  14207. #. type: lisp
  14208. #: guix-git/doc/guix.texi:9042
  14209. #, no-wrap
  14210. msgid ""
  14211. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  14212. " #:allow-other-keys)\n"
  14213. " ;; Run the test suite.\n"
  14214. " (if tests?\n"
  14215. " (invoke \"make\" test-target)\n"
  14216. " (display \"test suite not run\\n\")))\n"
  14217. "\n"
  14218. msgstr ""
  14219. #. type: lisp
  14220. #: guix-git/doc/guix.texi:9046
  14221. #, no-wrap
  14222. msgid ""
  14223. "(define* (install #:allow-other-keys)\n"
  14224. " ;; Install files to the prefix 'configure' specified.\n"
  14225. " (invoke \"make\" \"install\"))\n"
  14226. "\n"
  14227. msgstr ""
  14228. #. type: lisp
  14229. #: guix-git/doc/guix.texi:9055
  14230. #, no-wrap
  14231. msgid ""
  14232. "(define %standard-phases\n"
  14233. " ;; The list of standard phases (quite a few are omitted\n"
  14234. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  14235. " (list (cons 'unpack unpack)\n"
  14236. " (cons 'configure configure)\n"
  14237. " (cons 'build build)\n"
  14238. " (cons 'check check)\n"
  14239. " (cons 'install install)))\n"
  14240. msgstr ""
  14241. #. type: Plain text
  14242. #: guix-git/doc/guix.texi:9065
  14243. 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."
  14244. msgstr ""
  14245. #. type: Plain text
  14246. #: guix-git/doc/guix.texi:9071
  14247. 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})."
  14248. msgstr ""
  14249. #. type: Plain text
  14250. #: guix-git/doc/guix.texi:9087
  14251. 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."
  14252. msgstr ""
  14253. #. type: cindex
  14254. #: guix-git/doc/guix.texi:9088
  14255. #, no-wrap
  14256. msgid "build phases, customizing"
  14257. msgstr ""
  14258. #. type: Plain text
  14259. #: guix-git/doc/guix.texi:9097
  14260. 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}})."
  14261. msgstr ""
  14262. #. type: Plain text
  14263. #: guix-git/doc/guix.texi:9102
  14264. 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}:"
  14265. msgstr ""
  14266. #. type: lisp
  14267. #: guix-git/doc/guix.texi:9122
  14268. #, no-wrap
  14269. msgid ""
  14270. "(define-public example\n"
  14271. " (package\n"
  14272. " (name \"example\")\n"
  14273. " ;; other fields omitted\n"
  14274. " (build-system gnu-build-system)\n"
  14275. " (arguments\n"
  14276. " '(#:phases (modify-phases %standard-phases\n"
  14277. " (delete 'configure)\n"
  14278. " (add-before 'build 'set-prefix-in-makefile\n"
  14279. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14280. " ;; Modify the makefile so that its\n"
  14281. " ;; 'PREFIX' variable points to \"out\".\n"
  14282. " (let ((out (assoc-ref outputs \"out\")))\n"
  14283. " (substitute* \"Makefile\"\n"
  14284. " ((\"PREFIX =.*\")\n"
  14285. " (string-append \"PREFIX = \"\n"
  14286. " out \"\\n\")))\n"
  14287. " #true))))))))\n"
  14288. msgstr ""
  14289. #. type: Plain text
  14290. #: guix-git/doc/guix.texi:9128
  14291. 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}."
  14292. msgstr ""
  14293. #. type: cindex
  14294. #: guix-git/doc/guix.texi:9129 guix-git/doc/guix.texi:10464
  14295. #, no-wrap
  14296. msgid "code staging"
  14297. msgstr ""
  14298. #. type: cindex
  14299. #: guix-git/doc/guix.texi:9130 guix-git/doc/guix.texi:10465
  14300. #, no-wrap
  14301. msgid "staging, of code"
  14302. msgstr ""
  14303. #. type: Plain text
  14304. #: guix-git/doc/guix.texi:9137
  14305. 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."
  14306. msgstr ""
  14307. #. type: Plain text
  14308. #: guix-git/doc/guix.texi:9147
  14309. 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."
  14310. msgstr ""
  14311. #. type: Plain text
  14312. #: guix-git/doc/guix.texi:9151
  14313. 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."
  14314. msgstr ""
  14315. #. type: Plain text
  14316. #: guix-git/doc/guix.texi:9156
  14317. 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}):"
  14318. msgstr ""
  14319. #. type: lisp
  14320. #: guix-git/doc/guix.texi:9163
  14321. #, no-wrap
  14322. msgid ""
  14323. "(with-imported-modules '((guix build utils)) ;import it\n"
  14324. " (computed-file \"empty-tree\"\n"
  14325. " #~(begin\n"
  14326. " ;; Put it in scope.\n"
  14327. " (use-modules (guix build utils))\n"
  14328. "\n"
  14329. msgstr ""
  14330. #. type: lisp
  14331. #: guix-git/doc/guix.texi:9166
  14332. #, no-wrap
  14333. msgid ""
  14334. " ;; Happily use its 'mkdir-p' procedure.\n"
  14335. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  14336. msgstr ""
  14337. #. type: Plain text
  14338. #: guix-git/doc/guix.texi:9170
  14339. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  14340. msgstr ""
  14341. #. type: subsection
  14342. #: guix-git/doc/guix.texi:9173
  14343. #, no-wrap
  14344. msgid "Dealing with Store File Names"
  14345. msgstr ""
  14346. #. type: Plain text
  14347. #: guix-git/doc/guix.texi:9176
  14348. msgid "This section documents procedures that deal with store file names."
  14349. msgstr ""
  14350. #. type: deffn
  14351. #: guix-git/doc/guix.texi:9177
  14352. #, no-wrap
  14353. msgid "{Scheme Procedure} %store-directory"
  14354. msgstr ""
  14355. #. type: deffn
  14356. #: guix-git/doc/guix.texi:9179
  14357. msgid "Return the directory name of the store."
  14358. msgstr ""
  14359. #. type: deffn
  14360. #: guix-git/doc/guix.texi:9181
  14361. #, no-wrap
  14362. msgid "{Scheme Procedure} store-file-name? @var{file}"
  14363. msgstr ""
  14364. #. type: deffn
  14365. #: guix-git/doc/guix.texi:9183
  14366. msgid "Return true if @var{file} is in the store."
  14367. msgstr ""
  14368. #. type: deffn
  14369. #: guix-git/doc/guix.texi:9185
  14370. #, no-wrap
  14371. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  14372. msgstr ""
  14373. #. type: deffn
  14374. #: guix-git/doc/guix.texi:9188
  14375. 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."
  14376. msgstr ""
  14377. #. type: deffn
  14378. #: guix-git/doc/guix.texi:9190
  14379. #, no-wrap
  14380. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  14381. msgstr ""
  14382. #. type: deffn
  14383. #: guix-git/doc/guix.texi:9195
  14384. 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."
  14385. msgstr ""
  14386. #. type: subsection
  14387. #: guix-git/doc/guix.texi:9197
  14388. #, no-wrap
  14389. msgid "File Types"
  14390. msgstr ""
  14391. #. type: Plain text
  14392. #: guix-git/doc/guix.texi:9200
  14393. msgid "The procedures below deal with files and file types."
  14394. msgstr ""
  14395. #. type: deffn
  14396. #: guix-git/doc/guix.texi:9201
  14397. #, no-wrap
  14398. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  14399. msgstr ""
  14400. #. type: deffn
  14401. #: guix-git/doc/guix.texi:9203
  14402. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  14403. msgstr ""
  14404. #. type: deffn
  14405. #: guix-git/doc/guix.texi:9205
  14406. #, no-wrap
  14407. msgid "{Scheme Procedure} executable-file? @var{file}"
  14408. msgstr ""
  14409. #. type: deffn
  14410. #: guix-git/doc/guix.texi:9207
  14411. msgid "Return @code{#t} if @var{file} exists and is executable."
  14412. msgstr ""
  14413. #. type: deffn
  14414. #: guix-git/doc/guix.texi:9209
  14415. #, no-wrap
  14416. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  14417. msgstr ""
  14418. #. type: deffn
  14419. #: guix-git/doc/guix.texi:9211
  14420. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  14421. msgstr ""
  14422. #. type: deffn
  14423. #: guix-git/doc/guix.texi:9213
  14424. #, no-wrap
  14425. msgid "{Scheme Procedure} elf-file? @var{file}"
  14426. msgstr ""
  14427. #. type: deffnx
  14428. #: guix-git/doc/guix.texi:9214
  14429. #, no-wrap
  14430. msgid "{Scheme Procedure} ar-file? @var{file}"
  14431. msgstr ""
  14432. #. type: deffnx
  14433. #: guix-git/doc/guix.texi:9215
  14434. #, no-wrap
  14435. msgid "{Scheme Procedure} gzip-file? @var{file}"
  14436. msgstr ""
  14437. #. type: deffn
  14438. #: guix-git/doc/guix.texi:9218
  14439. 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."
  14440. msgstr ""
  14441. #. type: deffn
  14442. #: guix-git/doc/guix.texi:9220
  14443. #, no-wrap
  14444. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  14445. msgstr ""
  14446. #. type: deffn
  14447. #: guix-git/doc/guix.texi:9224
  14448. 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."
  14449. msgstr ""
  14450. #. type: subsection
  14451. #: guix-git/doc/guix.texi:9226
  14452. #, no-wrap
  14453. msgid "File Manipulation"
  14454. msgstr ""
  14455. #. type: Plain text
  14456. #: guix-git/doc/guix.texi:9233
  14457. 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})."
  14458. msgstr ""
  14459. #. type: deffn
  14460. #: guix-git/doc/guix.texi:9234
  14461. #, no-wrap
  14462. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  14463. msgstr ""
  14464. #. type: deffn
  14465. #: guix-git/doc/guix.texi:9236
  14466. msgid "Run @var{body} with @var{directory} as the process's current directory."
  14467. msgstr ""
  14468. #. type: deffn
  14469. #: guix-git/doc/guix.texi:9243
  14470. 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."
  14471. msgstr ""
  14472. #. type: deffn
  14473. #: guix-git/doc/guix.texi:9245
  14474. #, no-wrap
  14475. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  14476. msgstr ""
  14477. #. type: deffn
  14478. #: guix-git/doc/guix.texi:9247
  14479. msgid "Create directory @var{dir} and all its ancestors."
  14480. msgstr ""
  14481. #. type: deffn
  14482. #: guix-git/doc/guix.texi:9249
  14483. #, no-wrap
  14484. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  14485. msgstr ""
  14486. #. type: deffn
  14487. #: guix-git/doc/guix.texi:9252
  14488. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  14489. msgstr ""
  14490. #. type: deffn
  14491. #: guix-git/doc/guix.texi:9254
  14492. #, no-wrap
  14493. msgid "{Scheme Procedure} make-file-writable @var{file}"
  14494. msgstr ""
  14495. #. type: deffn
  14496. #: guix-git/doc/guix.texi:9256
  14497. msgid "Make @var{file} writable for its owner."
  14498. msgstr ""
  14499. #. type: deffn
  14500. #: guix-git/doc/guix.texi:9258
  14501. #, no-wrap
  14502. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  14503. msgstr ""
  14504. #. type: deffn
  14505. #: guix-git/doc/guix.texi:9267
  14506. 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."
  14507. msgstr ""
  14508. #. type: deffn
  14509. #: guix-git/doc/guix.texi:9269
  14510. #, no-wrap
  14511. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  14512. msgstr ""
  14513. #. type: deffn
  14514. #: guix-git/doc/guix.texi:9274
  14515. 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."
  14516. msgstr ""
  14517. #. type: deffn
  14518. #: guix-git/doc/guix.texi:9276
  14519. #, no-wrap
  14520. msgid "{Scheme Syntax} substitute* @var{file} @"
  14521. msgstr ""
  14522. #. type: deffn
  14523. #: guix-git/doc/guix.texi:9281
  14524. 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:"
  14525. msgstr ""
  14526. #. type: lisp
  14527. #: guix-git/doc/guix.texi:9288
  14528. #, no-wrap
  14529. msgid ""
  14530. "(substitute* file\n"
  14531. " ((\"hello\")\n"
  14532. " \"good morning\\n\")\n"
  14533. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  14534. " (string-append \"baz\" letters end)))\n"
  14535. msgstr ""
  14536. #. type: deffn
  14537. #: guix-git/doc/guix.texi:9294
  14538. 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."
  14539. msgstr ""
  14540. #. type: deffn
  14541. #: guix-git/doc/guix.texi:9297
  14542. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  14543. msgstr ""
  14544. #. type: deffn
  14545. #: guix-git/doc/guix.texi:9300
  14546. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  14547. msgstr ""
  14548. #. type: deffn
  14549. #: guix-git/doc/guix.texi:9303
  14550. 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."
  14551. msgstr ""
  14552. #. type: subsection
  14553. #: guix-git/doc/guix.texi:9305
  14554. #, no-wrap
  14555. msgid "File Search"
  14556. msgstr ""
  14557. #. type: cindex
  14558. #: guix-git/doc/guix.texi:9307
  14559. #, no-wrap
  14560. msgid "file, searching"
  14561. msgstr ""
  14562. #. type: Plain text
  14563. #: guix-git/doc/guix.texi:9309
  14564. msgid "This section documents procedures to search and filter files."
  14565. msgstr ""
  14566. #. type: deffn
  14567. #: guix-git/doc/guix.texi:9310
  14568. #, no-wrap
  14569. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  14570. msgstr ""
  14571. #. type: deffn
  14572. #: guix-git/doc/guix.texi:9313
  14573. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  14574. msgstr ""
  14575. #. type: deffn
  14576. #: guix-git/doc/guix.texi:9315
  14577. #, no-wrap
  14578. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  14579. msgstr ""
  14580. #. type: deffn
  14581. #: guix-git/doc/guix.texi:9326
  14582. 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."
  14583. msgstr ""
  14584. #. type: Plain text
  14585. #: guix-git/doc/guix.texi:9330
  14586. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  14587. msgstr ""
  14588. #. type: lisp
  14589. #: guix-git/doc/guix.texi:9335
  14590. #, no-wrap
  14591. msgid ""
  14592. ";; List all the regular files in the current directory.\n"
  14593. "(find-files \".\")\n"
  14594. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  14595. "\n"
  14596. msgstr ""
  14597. #. type: lisp
  14598. #: guix-git/doc/guix.texi:9339
  14599. #, no-wrap
  14600. msgid ""
  14601. ";; List all the .scm files under gnu/services.\n"
  14602. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  14603. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  14604. "\n"
  14605. msgstr ""
  14606. #. type: lisp
  14607. #: guix-git/doc/guix.texi:9343
  14608. #, no-wrap
  14609. msgid ""
  14610. ";; List ar files in the current directory.\n"
  14611. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  14612. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  14613. msgstr ""
  14614. #. type: deffn
  14615. #: guix-git/doc/guix.texi:9345
  14616. #, no-wrap
  14617. msgid "{Scheme Procedure} which @var{program}"
  14618. msgstr ""
  14619. #. type: deffn
  14620. #: guix-git/doc/guix.texi:9348
  14621. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  14622. msgstr ""
  14623. #. type: deffn
  14624. #: guix-git/doc/guix.texi:9350
  14625. #, no-wrap
  14626. msgid "{Scheme Procedure} search-input-file @var{inputs} @var{name}"
  14627. msgstr ""
  14628. #. type: deffnx
  14629. #: guix-git/doc/guix.texi:9351
  14630. #, no-wrap
  14631. msgid "{Scheme Procedure} search-input-directory @var{inputs} @var{name}"
  14632. msgstr ""
  14633. #. type: deffn
  14634. #: guix-git/doc/guix.texi:9356
  14635. 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."
  14636. msgstr ""
  14637. #. type: deffn
  14638. #: guix-git/doc/guix.texi:9360
  14639. msgid "Here, @var{inputs} must be an association list like @code{inputs} and @code{native-inputs} as available to build phases (@pxref{Build Phases})."
  14640. msgstr ""
  14641. #. type: Plain text
  14642. #: guix-git/doc/guix.texi:9364
  14643. msgid "Here is a (simplified) example of how @code{search-input-file} is used in a build phase of the @code{wireguard-tools} package:"
  14644. msgstr ""
  14645. #. type: lisp
  14646. #: guix-git/doc/guix.texi:9373
  14647. #, no-wrap
  14648. msgid ""
  14649. "(add-after 'install 'wrap-wg-quick\n"
  14650. " (lambda* (#:key inputs outputs #:allow-other-keys)\n"
  14651. " (let ((coreutils (string-append (assoc-ref inputs \"coreutils\")\n"
  14652. " \"/bin\")))\n"
  14653. " (wrap-program (search-input-file outputs \"bin/wg-quick\")\n"
  14654. " #:sh (search-input-file inputs \"bin/bash\")\n"
  14655. " `(\"PATH\" \":\" prefix ,(list coreutils))))))\n"
  14656. msgstr ""
  14657. #. type: subsection
  14658. #: guix-git/doc/guix.texi:9375
  14659. #, no-wrap
  14660. msgid "Program Invocation"
  14661. msgstr ""
  14662. #. type: cindex
  14663. #: guix-git/doc/guix.texi:9377
  14664. #, no-wrap
  14665. msgid "program invocation, from Scheme"
  14666. msgstr ""
  14667. #. type: cindex
  14668. #: guix-git/doc/guix.texi:9378
  14669. #, no-wrap
  14670. msgid "invoking programs, from Scheme"
  14671. msgstr ""
  14672. #. type: Plain text
  14673. #: guix-git/doc/guix.texi:9382
  14674. 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})."
  14675. msgstr ""
  14676. #. type: deffn
  14677. #: guix-git/doc/guix.texi:9383
  14678. #, no-wrap
  14679. msgid "{Scheme Procedure} invoke @var{program} @var{args}@dots{}"
  14680. msgstr ""
  14681. #. type: deffn
  14682. #: guix-git/doc/guix.texi:9387
  14683. 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}."
  14684. msgstr ""
  14685. #. type: deffn
  14686. #: guix-git/doc/guix.texi:9391
  14687. 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."
  14688. msgstr ""
  14689. #. type: deffn
  14690. #: guix-git/doc/guix.texi:9393
  14691. #, no-wrap
  14692. msgid "{Scheme Procedure} invoke-error? @var{c}"
  14693. msgstr ""
  14694. #. type: deffn
  14695. #: guix-git/doc/guix.texi:9395
  14696. msgid "Return true if @var{c} is an @code{&invoke-error} condition."
  14697. msgstr ""
  14698. #. type: deffn
  14699. #: guix-git/doc/guix.texi:9397
  14700. #, no-wrap
  14701. msgid "{Scheme Procedure} invoke-error-program @var{c}"
  14702. msgstr ""
  14703. #. type: deffnx
  14704. #: guix-git/doc/guix.texi:9398
  14705. #, no-wrap
  14706. msgid "{Scheme Procedure} invoke-error-arguments @var{c}"
  14707. msgstr ""
  14708. #. type: deffnx
  14709. #: guix-git/doc/guix.texi:9399
  14710. #, no-wrap
  14711. msgid "{Scheme Procedure} invoke-error-exit-status @var{c}"
  14712. msgstr ""
  14713. #. type: deffnx
  14714. #: guix-git/doc/guix.texi:9400
  14715. #, no-wrap
  14716. msgid "{Scheme Procedure} invoke-error-term-signal @var{c}"
  14717. msgstr ""
  14718. #. type: deffnx
  14719. #: guix-git/doc/guix.texi:9401
  14720. #, no-wrap
  14721. msgid "{Scheme Procedure} invoke-error-stop-signal @var{c}"
  14722. msgstr ""
  14723. #. type: deffn
  14724. #: guix-git/doc/guix.texi:9403
  14725. msgid "Access specific fields of @var{c}, an @code{&invoke-error} condition."
  14726. msgstr ""
  14727. #. type: deffn
  14728. #: guix-git/doc/guix.texi:9405
  14729. #, no-wrap
  14730. msgid "{Scheme Procedure} report-invoke-error @var{c} [@var{port}]"
  14731. msgstr ""
  14732. #. type: deffn
  14733. #: guix-git/doc/guix.texi:9408
  14734. msgid "Report to @var{port} (by default the current error port) about @var{c}, an @code{&invoke-error} condition, in a human-friendly way."
  14735. msgstr ""
  14736. #. type: deffn
  14737. #: guix-git/doc/guix.texi:9410
  14738. msgid "Typical usage would look like this:"
  14739. msgstr ""
  14740. #. type: lisp
  14741. #: guix-git/doc/guix.texi:9414
  14742. #, no-wrap
  14743. msgid ""
  14744. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14745. " (guix build utils))\n"
  14746. "\n"
  14747. msgstr ""
  14748. #. type: lisp
  14749. #: guix-git/doc/guix.texi:9418
  14750. #, no-wrap
  14751. msgid ""
  14752. "(guard (c ((invoke-error? c)\n"
  14753. " (report-invoke-error c)))\n"
  14754. " (invoke \"date\" \"--imaginary-option\"))\n"
  14755. "\n"
  14756. msgstr ""
  14757. #. type: lisp
  14758. #: guix-git/doc/guix.texi:9420
  14759. #, no-wrap
  14760. msgid "@print{} command \"date\" \"--imaginary-option\" failed with status 1\n"
  14761. msgstr ""
  14762. #. type: deffn
  14763. #: guix-git/doc/guix.texi:9423
  14764. #, no-wrap
  14765. msgid "{Scheme Procedure} invoke/quiet @var{program} @var{args}@dots{}"
  14766. msgstr ""
  14767. #. type: deffn
  14768. #: guix-git/doc/guix.texi:9429
  14769. 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}."
  14770. msgstr ""
  14771. #. type: deffn
  14772. #: guix-git/doc/guix.texi:9431
  14773. msgid "Here's an example:"
  14774. msgstr ""
  14775. #. type: lisp
  14776. #: guix-git/doc/guix.texi:9436
  14777. #, no-wrap
  14778. msgid ""
  14779. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14780. " (srfi srfi-35) ;for 'message-condition?'\n"
  14781. " (guix build utils))\n"
  14782. "\n"
  14783. msgstr ""
  14784. #. type: lisp
  14785. #: guix-git/doc/guix.texi:9441
  14786. #, no-wrap
  14787. msgid ""
  14788. "(guard (c ((message-condition? c)\n"
  14789. " (display (condition-message c))))\n"
  14790. " (invoke/quiet \"date\") ;all is fine\n"
  14791. " (invoke/quiet \"date\" \"--imaginary-option\"))\n"
  14792. "\n"
  14793. msgstr ""
  14794. #. type: lisp
  14795. #: guix-git/doc/guix.texi:9443
  14796. #, no-wrap
  14797. msgid ""
  14798. "@print{} 'date --imaginary-option' exited with status 1; output follows:\n"
  14799. "\n"
  14800. msgstr ""
  14801. #. type: lisp
  14802. #: guix-git/doc/guix.texi:9446
  14803. #, no-wrap
  14804. msgid ""
  14805. " date: unrecognized option '--imaginary-option'\n"
  14806. " Try 'date --help' for more information.\n"
  14807. msgstr ""
  14808. #. type: Plain text
  14809. #: guix-git/doc/guix.texi:9458
  14810. 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})."
  14811. msgstr ""
  14812. #. type: Plain text
  14813. #: guix-git/doc/guix.texi:9462
  14814. 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."
  14815. msgstr ""
  14816. #. type: cindex
  14817. #: guix-git/doc/guix.texi:9463
  14818. #, no-wrap
  14819. msgid "build phases, modifying"
  14820. msgstr ""
  14821. #. type: deffn
  14822. #: guix-git/doc/guix.texi:9464
  14823. #, no-wrap
  14824. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  14825. msgstr ""
  14826. #. type: deffn
  14827. #: guix-git/doc/guix.texi:9467
  14828. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  14829. msgstr ""
  14830. #. type: lisp
  14831. #: guix-git/doc/guix.texi:9473
  14832. #, no-wrap
  14833. msgid ""
  14834. "(delete @var{old-phase-name})\n"
  14835. "(replace @var{old-phase-name} @var{new-phase})\n"
  14836. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14837. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14838. msgstr ""
  14839. #. type: deffn
  14840. #: guix-git/doc/guix.texi:9477
  14841. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  14842. msgstr ""
  14843. #. type: Plain text
  14844. #: guix-git/doc/guix.texi:9488
  14845. 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:"
  14846. msgstr ""
  14847. #. type: lisp
  14848. #: guix-git/doc/guix.texi:9501
  14849. #, no-wrap
  14850. msgid ""
  14851. "(modify-phases %standard-phases\n"
  14852. " (add-after 'install 'fix-egrep-and-fgrep\n"
  14853. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  14854. " ;; absolute file name instead of searching for it in $PATH.\n"
  14855. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14856. " (let* ((out (assoc-ref outputs \"out\"))\n"
  14857. " (bin (string-append out \"/bin\")))\n"
  14858. " (substitute* (list (string-append bin \"/egrep\")\n"
  14859. " (string-append bin \"/fgrep\"))\n"
  14860. " ((\"^exec grep\")\n"
  14861. " (string-append \"exec \" bin \"/grep\")))))))\n"
  14862. msgstr ""
  14863. #. type: Plain text
  14864. #: guix-git/doc/guix.texi:9508
  14865. 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:"
  14866. msgstr ""
  14867. #. type: lisp
  14868. #: guix-git/doc/guix.texi:9520
  14869. #, no-wrap
  14870. msgid ""
  14871. "(modify-phases %standard-phases\n"
  14872. " (delete 'configure) ;no 'configure' script\n"
  14873. " (replace 'install\n"
  14874. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14875. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14876. " ;; rule so do it by ourselves.\n"
  14877. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14878. " \"/bin\")))\n"
  14879. " (install-file \"footswitch\" bin)\n"
  14880. " (install-file \"scythe\" bin)))))\n"
  14881. msgstr ""
  14882. #. type: subsection
  14883. #: guix-git/doc/guix.texi:9524
  14884. #, no-wrap
  14885. msgid "Wrappers"
  14886. msgstr ""
  14887. #. type: cindex
  14888. #: guix-git/doc/guix.texi:9526
  14889. #, no-wrap
  14890. msgid "program wrappers"
  14891. msgstr ""
  14892. #. type: cindex
  14893. #: guix-git/doc/guix.texi:9527
  14894. #, no-wrap
  14895. msgid "wrapping programs"
  14896. msgstr ""
  14897. #. type: Plain text
  14898. #: guix-git/doc/guix.texi:9533
  14899. 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:"
  14900. msgstr ""
  14901. #. type: itemize
  14902. #: guix-git/doc/guix.texi:9537
  14903. msgid "a shell script that assumes all the commands it uses are in @env{PATH};"
  14904. msgstr ""
  14905. #. type: itemize
  14906. #: guix-git/doc/guix.texi:9541
  14907. msgid "a Guile program that assumes all its modules are in @env{GUILE_LOAD_PATH} and @env{GUILE_LOAD_COMPILED_PATH};"
  14908. msgstr ""
  14909. #. type: itemize
  14910. #: guix-git/doc/guix.texi:9545
  14911. msgid "a Qt application that expects to find certain plugins in @env{QT_PLUGIN_PATH}."
  14912. msgstr ""
  14913. #. type: Plain text
  14914. #: guix-git/doc/guix.texi:9553
  14915. 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."
  14916. msgstr ""
  14917. #. type: Plain text
  14918. #: guix-git/doc/guix.texi:9556
  14919. msgid "To ease that task, the @code{(guix build utils)} module provides a couple of helpers to wrap commands."
  14920. msgstr ""
  14921. #. type: deffn
  14922. #: guix-git/doc/guix.texi:9557
  14923. #, no-wrap
  14924. msgid "{Scheme Procedure} wrap-program @var{program} @"
  14925. msgstr ""
  14926. #. type: deffn
  14927. #: guix-git/doc/guix.texi:9560
  14928. msgid "[#:sh @var{sh}] [#:rest @var{variables}] Make a wrapper for @var{program}. @var{variables} should look like this:"
  14929. msgstr ""
  14930. #. type: lisp
  14931. #: guix-git/doc/guix.texi:9563
  14932. #, no-wrap
  14933. msgid "'(@var{variable} @var{delimiter} @var{position} @var{list-of-directories})\n"
  14934. msgstr ""
  14935. #. type: deffn
  14936. #: guix-git/doc/guix.texi:9567
  14937. msgid "where @var{delimiter} is optional. @code{:} will be used if @var{delimiter} is not given."
  14938. msgstr ""
  14939. #. type: deffn
  14940. #: guix-git/doc/guix.texi:9569
  14941. msgid "For example, this call:"
  14942. msgstr ""
  14943. #. type: lisp
  14944. #: guix-git/doc/guix.texi:9575
  14945. #, no-wrap
  14946. msgid ""
  14947. "(wrap-program \"foo\"\n"
  14948. " '(\"PATH\" \":\" = (\"/gnu/.../bar/bin\"))\n"
  14949. " '(\"CERT_PATH\" suffix (\"/gnu/.../baz/certs\"\n"
  14950. " \"/qux/certs\")))\n"
  14951. msgstr ""
  14952. #. type: deffn
  14953. #: guix-git/doc/guix.texi:9579
  14954. msgid "will copy @file{foo} to @file{.foo-real} and create the file @file{foo} with the following contents:"
  14955. msgstr ""
  14956. #. type: example
  14957. #: guix-git/doc/guix.texi:9585
  14958. #, no-wrap
  14959. msgid ""
  14960. "#!location/of/bin/bash\n"
  14961. "export PATH=\"/gnu/.../bar/bin\"\n"
  14962. "export CERT_PATH=\"$CERT_PATH$@{CERT_PATH:+:@}/gnu/.../baz/certs:/qux/certs\"\n"
  14963. "exec -a $0 location/of/.foo-real \"$@@\"\n"
  14964. msgstr ""
  14965. #. type: deffn
  14966. #: guix-git/doc/guix.texi:9590
  14967. 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."
  14968. msgstr ""
  14969. #. type: deffn
  14970. #: guix-git/doc/guix.texi:9592
  14971. #, no-wrap
  14972. msgid "{Scheme Procedure} wrap-script @var{program} @"
  14973. msgstr ""
  14974. #. type: deffn
  14975. #: guix-git/doc/guix.texi:9600
  14976. 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."
  14977. msgstr ""
  14978. #. type: deffn
  14979. #: guix-git/doc/guix.texi:9603
  14980. msgid "Special encoding comments as supported by Python are recreated on the second line."
  14981. msgstr ""
  14982. #. type: deffn
  14983. #: guix-git/doc/guix.texi:9606
  14984. msgid "Note that this procedure can only be used once per file as Guile scripts are not supported."
  14985. msgstr ""
  14986. #. type: cindex
  14987. #: guix-git/doc/guix.texi:9611
  14988. #, no-wrap
  14989. msgid "search path"
  14990. msgstr ""
  14991. #. type: Plain text
  14992. #: guix-git/doc/guix.texi:9618
  14993. 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."
  14994. msgstr ""
  14995. #. type: Plain text
  14996. #: guix-git/doc/guix.texi:9626
  14997. 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''."
  14998. msgstr ""
  14999. #. type: Plain text
  15000. #: guix-git/doc/guix.texi:9636
  15001. 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}):"
  15002. msgstr ""
  15003. #. type: example
  15004. #: guix-git/doc/guix.texi:9641
  15005. #, no-wrap
  15006. msgid ""
  15007. "$ guix shell python python-numpy --pure --search-paths\n"
  15008. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15009. "export GUIX_PYTHONPATH=\"/gnu/store/@dots{}-profile/lib/python3.9/site-packages\"\n"
  15010. msgstr ""
  15011. #. type: Plain text
  15012. #: guix-git/doc/guix.texi:9645
  15013. msgid "When you omit @option{--search-paths}, it defines these environment variables right away, such that Python can readily find NumPy:"
  15014. msgstr ""
  15015. #. type: example
  15016. #: guix-git/doc/guix.texi:9654
  15017. #, no-wrap
  15018. msgid ""
  15019. "$ guix shell python python-numpy -- python3\n"
  15020. "Python 3.9.6 (default, Jan 1 1970, 00:00:01)\n"
  15021. "[GCC 10.3.0] on linux\n"
  15022. "Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
  15023. ">>> import numpy\n"
  15024. ">>> numpy.version.version\n"
  15025. "'1.20.3'\n"
  15026. msgstr ""
  15027. #. type: Plain text
  15028. #: guix-git/doc/guix.texi:9659
  15029. 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:"
  15030. msgstr ""
  15031. #. type: lisp
  15032. #: guix-git/doc/guix.texi:9669
  15033. #, no-wrap
  15034. msgid ""
  15035. "(package\n"
  15036. " (name \"python\")\n"
  15037. " (version \"3.9.9\")\n"
  15038. " ;; some fields omitted...\n"
  15039. " (native-search-paths\n"
  15040. " (list (search-path-specification\n"
  15041. " (variable \"GUIX_PYTHONPATH\")\n"
  15042. " (files (list \"lib/python/3.9/site-packages\"))))))\n"
  15043. msgstr ""
  15044. #. type: Plain text
  15045. #: guix-git/doc/guix.texi:9684
  15046. 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{:})."
  15047. msgstr ""
  15048. #. type: quotation
  15049. #: guix-git/doc/guix.texi:9691
  15050. 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."
  15051. msgstr ""
  15052. #. type: quotation
  15053. #: guix-git/doc/guix.texi:9695
  15054. 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:"
  15055. msgstr ""
  15056. #. type: example
  15057. #: guix-git/doc/guix.texi:9699
  15058. #, no-wrap
  15059. msgid ""
  15060. "$ guix shell python-numpy --search-paths --pure\n"
  15061. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15062. msgstr ""
  15063. #. type: quotation
  15064. #: guix-git/doc/guix.texi:9703
  15065. 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}."
  15066. msgstr ""
  15067. #. type: Plain text
  15068. #: guix-git/doc/guix.texi:9713
  15069. 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:"
  15070. msgstr ""
  15071. #. type: lisp
  15072. #: guix-git/doc/guix.texi:9725
  15073. #, no-wrap
  15074. msgid ""
  15075. "(package\n"
  15076. " (name \"libxml2\")\n"
  15077. " ;; some fields omitted\n"
  15078. " (native-search-paths\n"
  15079. " (list (search-path-specification\n"
  15080. " (variable \"XML_CATALOG_FILES\")\n"
  15081. " (separator \" \")\n"
  15082. " (files '(\"xml\"))\n"
  15083. " (file-pattern \"^catalog\\\\.xml$\")\n"
  15084. " (file-type 'regular)))))\n"
  15085. msgstr ""
  15086. #. type: Plain text
  15087. #: guix-git/doc/guix.texi:9728
  15088. msgid "Worry not, search path specifications are usually not this tricky."
  15089. msgstr ""
  15090. #. type: Plain text
  15091. #: guix-git/doc/guix.texi:9732
  15092. 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."
  15093. msgstr ""
  15094. #. type: deftp
  15095. #: guix-git/doc/guix.texi:9733
  15096. #, no-wrap
  15097. msgid "{Data Type} search-path-specification"
  15098. msgstr ""
  15099. #. type: deftp
  15100. #: guix-git/doc/guix.texi:9735
  15101. msgid "The data type for search path specifications."
  15102. msgstr ""
  15103. #. type: code{#1}
  15104. #: guix-git/doc/guix.texi:9737
  15105. #, no-wrap
  15106. msgid "variable"
  15107. msgstr ""
  15108. #. type: table
  15109. #: guix-git/doc/guix.texi:9739
  15110. msgid "The name of the environment variable for this search path (a string)."
  15111. msgstr ""
  15112. #. type: code{#1}
  15113. #: guix-git/doc/guix.texi:9740 guix-git/doc/guix.texi:17607
  15114. #, no-wrap
  15115. msgid "files"
  15116. msgstr ""
  15117. #. type: table
  15118. #: guix-git/doc/guix.texi:9743
  15119. msgid "The list of sub-directories (strings) that should be added to the search path."
  15120. msgstr ""
  15121. #. type: item
  15122. #: guix-git/doc/guix.texi:9744
  15123. #, no-wrap
  15124. msgid "@code{separator} (default: @code{\":\"})"
  15125. msgstr ""
  15126. #. type: table
  15127. #: guix-git/doc/guix.texi:9746
  15128. msgid "The string used to separate search path components."
  15129. msgstr ""
  15130. #. type: table
  15131. #: guix-git/doc/guix.texi:9754
  15132. 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."
  15133. msgstr ""
  15134. #. type: item
  15135. #: guix-git/doc/guix.texi:9755
  15136. #, no-wrap
  15137. msgid "@code{file-type} (default: @code{'directory})"
  15138. msgstr ""
  15139. #. type: table
  15140. #: guix-git/doc/guix.texi:9759
  15141. 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})."
  15142. msgstr ""
  15143. #. type: table
  15144. #: guix-git/doc/guix.texi:9762
  15145. msgid "In the libxml2 example above, we would match regular files; in the Python example, we would match directories."
  15146. msgstr ""
  15147. #. type: item
  15148. #: guix-git/doc/guix.texi:9763
  15149. #, no-wrap
  15150. msgid "@code{file-pattern} (default: @code{#f})"
  15151. msgstr ""
  15152. #. type: table
  15153. #: guix-git/doc/guix.texi:9767
  15154. 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."
  15155. msgstr ""
  15156. #. type: table
  15157. #: guix-git/doc/guix.texi:9769
  15158. msgid "Again, the libxml2 example shows a situation where this is needed."
  15159. msgstr ""
  15160. #. type: Plain text
  15161. #: guix-git/doc/guix.texi:9775
  15162. 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}."
  15163. msgstr ""
  15164. #. type: deffn
  15165. #: guix-git/doc/guix.texi:9776
  15166. #, no-wrap
  15167. msgid "{Scheme Procedure} evaluate-search-paths @var{search-paths} @"
  15168. msgstr ""
  15169. #. type: deffn
  15170. #: guix-git/doc/guix.texi:9782
  15171. 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."
  15172. msgstr ""
  15173. #. type: Plain text
  15174. #: guix-git/doc/guix.texi:9786
  15175. msgid "The @code{(guix profiles)} provides a higher-level helper procedure, @code{load-profile}, that sets the environment variables of a profile."
  15176. msgstr ""
  15177. #. type: cindex
  15178. #: guix-git/doc/guix.texi:9791
  15179. #, no-wrap
  15180. msgid "store items"
  15181. msgstr ""
  15182. #. type: cindex
  15183. #: guix-git/doc/guix.texi:9792
  15184. #, no-wrap
  15185. msgid "store paths"
  15186. msgstr ""
  15187. #. type: Plain text
  15188. #: guix-git/doc/guix.texi:9803
  15189. 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}."
  15190. msgstr ""
  15191. #. type: Plain text
  15192. #: guix-git/doc/guix.texi:9808
  15193. 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."
  15194. msgstr ""
  15195. #. type: quotation
  15196. #: guix-git/doc/guix.texi:9813
  15197. 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})."
  15198. msgstr ""
  15199. #. type: quotation
  15200. #: guix-git/doc/guix.texi:9817
  15201. 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."
  15202. msgstr ""
  15203. #. type: Plain text
  15204. #: guix-git/doc/guix.texi:9824
  15205. 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."
  15206. msgstr ""
  15207. #. type: defvr
  15208. #: guix-git/doc/guix.texi:9825
  15209. #, no-wrap
  15210. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  15211. msgstr ""
  15212. #. type: defvr
  15213. #: guix-git/doc/guix.texi:9830
  15214. 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:"
  15215. msgstr ""
  15216. #. type: code{#1}
  15217. #: guix-git/doc/guix.texi:9832 guix-git/doc/guix.texi:26613
  15218. #, no-wrap
  15219. msgid "file"
  15220. msgstr ""
  15221. #. type: itemx
  15222. #: guix-git/doc/guix.texi:9833
  15223. #, no-wrap
  15224. msgid "unix"
  15225. msgstr ""
  15226. #. type: table
  15227. #: guix-git/doc/guix.texi:9837
  15228. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  15229. msgstr ""
  15230. #. type: table
  15231. #: guix-git/doc/guix.texi:9846
  15232. 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):"
  15233. msgstr ""
  15234. #. type: example
  15235. #: guix-git/doc/guix.texi:9849
  15236. #, no-wrap
  15237. msgid "guix://master.guix.example.org:1234\n"
  15238. msgstr ""
  15239. #. type: table
  15240. #: guix-git/doc/guix.texi:9854
  15241. 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}."
  15242. msgstr ""
  15243. #. type: table
  15244. #: guix-git/doc/guix.texi:9858
  15245. 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}})."
  15246. msgstr ""
  15247. #. type: item
  15248. #: guix-git/doc/guix.texi:9859
  15249. #, no-wrap
  15250. msgid "ssh"
  15251. msgstr ""
  15252. #. type: cindex
  15253. #: guix-git/doc/guix.texi:9860
  15254. #, no-wrap
  15255. msgid "SSH access to build daemons"
  15256. msgstr ""
  15257. #. type: table
  15258. #: guix-git/doc/guix.texi:9866
  15259. 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:"
  15260. msgstr ""
  15261. #. type: example
  15262. #: guix-git/doc/guix.texi:9869
  15263. #, no-wrap
  15264. msgid "ssh://charlie@@guix.example.org:22\n"
  15265. msgstr ""
  15266. #. type: table
  15267. #: guix-git/doc/guix.texi:9873
  15268. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  15269. msgstr ""
  15270. #. type: defvr
  15271. #: guix-git/doc/guix.texi:9876
  15272. msgid "Additional URI schemes may be supported in the future."
  15273. msgstr ""
  15274. #. type: quotation
  15275. #: guix-git/doc/guix.texi:9883
  15276. 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})."
  15277. msgstr ""
  15278. #. type: deffn
  15279. #: guix-git/doc/guix.texi:9886
  15280. #, no-wrap
  15281. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  15282. msgstr ""
  15283. #. type: deffn
  15284. #: guix-git/doc/guix.texi:9891
  15285. 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."
  15286. msgstr ""
  15287. #. type: deffn
  15288. #: guix-git/doc/guix.texi:9894
  15289. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  15290. msgstr ""
  15291. #. type: deffn
  15292. #: guix-git/doc/guix.texi:9896
  15293. #, no-wrap
  15294. msgid "{Scheme Procedure} close-connection @var{server}"
  15295. msgstr ""
  15296. #. type: deffn
  15297. #: guix-git/doc/guix.texi:9898
  15298. msgid "Close the connection to @var{server}."
  15299. msgstr ""
  15300. #. type: defvr
  15301. #: guix-git/doc/guix.texi:9900
  15302. #, no-wrap
  15303. msgid "{Scheme Variable} current-build-output-port"
  15304. msgstr ""
  15305. #. type: defvr
  15306. #: guix-git/doc/guix.texi:9903
  15307. 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."
  15308. msgstr ""
  15309. #. type: Plain text
  15310. #: guix-git/doc/guix.texi:9907
  15311. msgid "Procedures that make RPCs all take a server object as their first argument."
  15312. msgstr ""
  15313. #. type: deffn
  15314. #: guix-git/doc/guix.texi:9908
  15315. #, no-wrap
  15316. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  15317. msgstr ""
  15318. #. type: cindex
  15319. #: guix-git/doc/guix.texi:9909
  15320. #, no-wrap
  15321. msgid "invalid store items"
  15322. msgstr ""
  15323. #. type: deffn
  15324. #: guix-git/doc/guix.texi:9914
  15325. 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)."
  15326. msgstr ""
  15327. #. type: deffn
  15328. #: guix-git/doc/guix.texi:9917
  15329. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  15330. msgstr ""
  15331. #. type: deffn
  15332. #: guix-git/doc/guix.texi:9919
  15333. #, no-wrap
  15334. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  15335. msgstr ""
  15336. #. type: deffn
  15337. #: guix-git/doc/guix.texi:9923
  15338. 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."
  15339. msgstr ""
  15340. #. type: deffn
  15341. #: guix-git/doc/guix.texi:9925
  15342. #, no-wrap
  15343. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  15344. msgstr ""
  15345. #. type: deffn
  15346. #: guix-git/doc/guix.texi:9930
  15347. 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."
  15348. msgstr ""
  15349. #. type: Plain text
  15350. #: guix-git/doc/guix.texi:9936
  15351. 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})."
  15352. msgstr ""
  15353. #. type: i{#1}
  15354. #: guix-git/doc/guix.texi:9939
  15355. msgid "This section is currently incomplete."
  15356. msgstr ""
  15357. #. type: cindex
  15358. #: guix-git/doc/guix.texi:9943
  15359. #, no-wrap
  15360. msgid "derivations"
  15361. msgstr ""
  15362. #. type: Plain text
  15363. #: guix-git/doc/guix.texi:9947
  15364. 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:"
  15365. msgstr ""
  15366. #. type: itemize
  15367. #: guix-git/doc/guix.texi:9952
  15368. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  15369. msgstr ""
  15370. #. type: cindex
  15371. #: guix-git/doc/guix.texi:9954
  15372. #, no-wrap
  15373. msgid "build-time dependencies"
  15374. msgstr ""
  15375. #. type: cindex
  15376. #: guix-git/doc/guix.texi:9955
  15377. #, no-wrap
  15378. msgid "dependencies, build-time"
  15379. msgstr ""
  15380. #. type: itemize
  15381. #: guix-git/doc/guix.texi:9959
  15382. 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.)."
  15383. msgstr ""
  15384. #. type: itemize
  15385. #: guix-git/doc/guix.texi:9962
  15386. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  15387. msgstr ""
  15388. #. type: itemize
  15389. #: guix-git/doc/guix.texi:9966
  15390. msgid "The file name of a build script in the store, along with the arguments to be passed."
  15391. msgstr ""
  15392. #. type: itemize
  15393. #: guix-git/doc/guix.texi:9969
  15394. msgid "A list of environment variables to be defined."
  15395. msgstr ""
  15396. #. type: cindex
  15397. #: guix-git/doc/guix.texi:9972
  15398. #, no-wrap
  15399. msgid "derivation path"
  15400. msgstr ""
  15401. #. type: Plain text
  15402. #: guix-git/doc/guix.texi:9980
  15403. 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})."
  15404. msgstr ""
  15405. #. type: cindex
  15406. #: guix-git/doc/guix.texi:9981
  15407. #, no-wrap
  15408. msgid "fixed-output derivations"
  15409. msgstr ""
  15410. #. type: Plain text
  15411. #: guix-git/doc/guix.texi:9988
  15412. 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."
  15413. msgstr ""
  15414. #. type: item
  15415. #: guix-git/doc/guix.texi:9989 guix-git/doc/guix.texi:13802
  15416. #, no-wrap
  15417. msgid "references"
  15418. msgstr ""
  15419. #. type: cindex
  15420. #: guix-git/doc/guix.texi:9990
  15421. #, no-wrap
  15422. msgid "run-time dependencies"
  15423. msgstr ""
  15424. #. type: cindex
  15425. #: guix-git/doc/guix.texi:9991
  15426. #, no-wrap
  15427. msgid "dependencies, run-time"
  15428. msgstr ""
  15429. #. type: Plain text
  15430. #: guix-git/doc/guix.texi:9998
  15431. 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."
  15432. msgstr ""
  15433. #. type: Plain text
  15434. #: guix-git/doc/guix.texi:10003
  15435. 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:"
  15436. msgstr ""
  15437. #. type: deffn
  15438. #: guix-git/doc/guix.texi:10004
  15439. #, no-wrap
  15440. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  15441. msgstr ""
  15442. #. type: deffn
  15443. #: guix-git/doc/guix.texi:10013
  15444. 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."
  15445. msgstr ""
  15446. #. type: deffn
  15447. #: guix-git/doc/guix.texi:10020
  15448. 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."
  15449. msgstr ""
  15450. #. type: deffn
  15451. #: guix-git/doc/guix.texi:10025
  15452. 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."
  15453. msgstr ""
  15454. #. type: deffn
  15455. #: guix-git/doc/guix.texi:10030
  15456. 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."
  15457. msgstr ""
  15458. #. type: deffn
  15459. #: guix-git/doc/guix.texi:10037
  15460. 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."
  15461. msgstr ""
  15462. #. type: deffn
  15463. #: guix-git/doc/guix.texi:10042
  15464. 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."
  15465. msgstr ""
  15466. #. type: deffn
  15467. #: guix-git/doc/guix.texi:10047
  15468. 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."
  15469. msgstr ""
  15470. #. type: deffn
  15471. #: guix-git/doc/guix.texi:10050
  15472. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  15473. msgstr ""
  15474. #. type: Plain text
  15475. #: guix-git/doc/guix.texi:10056
  15476. 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:"
  15477. msgstr ""
  15478. #. type: lisp
  15479. #: guix-git/doc/guix.texi:10061
  15480. #, no-wrap
  15481. msgid ""
  15482. "(use-modules (guix utils)\n"
  15483. " (guix store)\n"
  15484. " (guix derivations))\n"
  15485. "\n"
  15486. msgstr ""
  15487. #. type: lisp
  15488. #: guix-git/doc/guix.texi:10070
  15489. #, no-wrap
  15490. msgid ""
  15491. "(let ((builder ; add the Bash script to the store\n"
  15492. " (add-text-to-store store \"my-builder.sh\"\n"
  15493. " \"echo hello world > $out\\n\" '())))\n"
  15494. " (derivation store \"foo\"\n"
  15495. " bash `(\"-e\" ,builder)\n"
  15496. " #:inputs `((,bash) (,builder))\n"
  15497. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  15498. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  15499. msgstr ""
  15500. #. type: Plain text
  15501. #: guix-git/doc/guix.texi:10077
  15502. 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}."
  15503. msgstr ""
  15504. #. type: Plain text
  15505. #: guix-git/doc/guix.texi:10082
  15506. 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}."
  15507. msgstr ""
  15508. #. type: deffn
  15509. #: guix-git/doc/guix.texi:10083
  15510. #, no-wrap
  15511. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  15512. msgstr ""
  15513. #. type: deffn
  15514. #: guix-git/doc/guix.texi:10099
  15515. 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))}."
  15516. msgstr ""
  15517. #. type: deffn
  15518. #: guix-git/doc/guix.texi:10107
  15519. 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."
  15520. msgstr ""
  15521. #. type: deffn
  15522. #: guix-git/doc/guix.texi:10111
  15523. 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."
  15524. msgstr ""
  15525. #. type: deffn
  15526. #: guix-git/doc/guix.texi:10116
  15527. 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?}."
  15528. msgstr ""
  15529. #. type: Plain text
  15530. #: guix-git/doc/guix.texi:10121
  15531. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  15532. msgstr ""
  15533. #. type: lisp
  15534. #: guix-git/doc/guix.texi:10129
  15535. #, no-wrap
  15536. msgid ""
  15537. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  15538. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  15539. " (call-with-output-file (string-append out \"/test\")\n"
  15540. " (lambda (p)\n"
  15541. " (display '(hello guix) p))))))\n"
  15542. " (build-expression->derivation store \"goo\" builder))\n"
  15543. "\n"
  15544. msgstr ""
  15545. #. type: lisp
  15546. #: guix-git/doc/guix.texi:10131
  15547. #, no-wrap
  15548. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  15549. msgstr ""
  15550. #. type: cindex
  15551. #: guix-git/doc/guix.texi:10137
  15552. #, no-wrap
  15553. msgid "monad"
  15554. msgstr ""
  15555. #. type: Plain text
  15556. #: guix-git/doc/guix.texi:10143
  15557. 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."
  15558. msgstr ""
  15559. #. type: Plain text
  15560. #: guix-git/doc/guix.texi:10149
  15561. 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."
  15562. msgstr ""
  15563. #. type: cindex
  15564. #: guix-git/doc/guix.texi:10150
  15565. #, no-wrap
  15566. msgid "monadic values"
  15567. msgstr ""
  15568. #. type: cindex
  15569. #: guix-git/doc/guix.texi:10151
  15570. #, no-wrap
  15571. msgid "monadic functions"
  15572. msgstr ""
  15573. #. type: Plain text
  15574. #: guix-git/doc/guix.texi:10161
  15575. 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}."
  15576. msgstr ""
  15577. #. type: Plain text
  15578. #: guix-git/doc/guix.texi:10163
  15579. msgid "Consider this ``normal'' procedure:"
  15580. msgstr ""
  15581. #. type: lisp
  15582. #: guix-git/doc/guix.texi:10172
  15583. #, no-wrap
  15584. msgid ""
  15585. "(define (sh-symlink store)\n"
  15586. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  15587. " (let* ((drv (package-derivation store bash))\n"
  15588. " (out (derivation->output-path drv))\n"
  15589. " (sh (string-append out \"/bin/bash\")))\n"
  15590. " (build-expression->derivation store \"sh\"\n"
  15591. " `(symlink ,sh %output))))\n"
  15592. msgstr ""
  15593. #. type: Plain text
  15594. #: guix-git/doc/guix.texi:10176
  15595. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  15596. msgstr ""
  15597. #. type: lisp
  15598. #: guix-git/doc/guix.texi:10184
  15599. #, no-wrap
  15600. msgid ""
  15601. "(define (sh-symlink)\n"
  15602. " ;; Same, but return a monadic value.\n"
  15603. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  15604. " (gexp->derivation \"sh\"\n"
  15605. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  15606. " #$output))))\n"
  15607. msgstr ""
  15608. #. type: Plain text
  15609. #: guix-git/doc/guix.texi:10191
  15610. 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}."
  15611. msgstr ""
  15612. #. type: Plain text
  15613. #: guix-git/doc/guix.texi:10195
  15614. 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}):"
  15615. msgstr ""
  15616. #. type: lisp
  15617. #: guix-git/doc/guix.texi:10201
  15618. #, no-wrap
  15619. msgid ""
  15620. "(define (sh-symlink)\n"
  15621. " (gexp->derivation \"sh\"\n"
  15622. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  15623. " #$output)))\n"
  15624. msgstr ""
  15625. #. type: Plain text
  15626. #: guix-git/doc/guix.texi:10210
  15627. 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}:"
  15628. msgstr ""
  15629. #. type: lisp
  15630. #: guix-git/doc/guix.texi:10214
  15631. #, no-wrap
  15632. msgid ""
  15633. "(run-with-store (open-connection) (sh-symlink))\n"
  15634. "@result{} /gnu/store/...-sh-symlink\n"
  15635. msgstr ""
  15636. #. type: Plain text
  15637. #: guix-git/doc/guix.texi:10220
  15638. 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:"
  15639. msgstr ""
  15640. #. type: example
  15641. #: guix-git/doc/guix.texi:10224
  15642. #, no-wrap
  15643. msgid ""
  15644. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  15645. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15646. msgstr ""
  15647. #. type: Plain text
  15648. #: guix-git/doc/guix.texi:10228
  15649. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  15650. msgstr ""
  15651. #. type: example
  15652. #: guix-git/doc/guix.texi:10237
  15653. #, no-wrap
  15654. msgid ""
  15655. "scheme@@(guile-user)> ,enter-store-monad\n"
  15656. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  15657. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15658. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  15659. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  15660. "store-monad@@(guile-user) [1]> ,q\n"
  15661. "scheme@@(guile-user)>\n"
  15662. msgstr ""
  15663. #. type: Plain text
  15664. #: guix-git/doc/guix.texi:10242
  15665. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  15666. msgstr ""
  15667. #. type: Plain text
  15668. #: guix-git/doc/guix.texi:10245
  15669. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  15670. msgstr ""
  15671. #. type: deffn
  15672. #: guix-git/doc/guix.texi:10246
  15673. #, no-wrap
  15674. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  15675. msgstr ""
  15676. #. type: deffn
  15677. #: guix-git/doc/guix.texi:10249
  15678. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  15679. msgstr ""
  15680. #. type: deffn
  15681. #: guix-git/doc/guix.texi:10251
  15682. #, no-wrap
  15683. msgid "{Scheme Syntax} return @var{val}"
  15684. msgstr ""
  15685. #. type: deffn
  15686. #: guix-git/doc/guix.texi:10253
  15687. msgid "Return a monadic value that encapsulates @var{val}."
  15688. msgstr ""
  15689. #. type: deffn
  15690. #: guix-git/doc/guix.texi:10255
  15691. #, no-wrap
  15692. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  15693. msgstr ""
  15694. #. type: deffn
  15695. #: guix-git/doc/guix.texi:10262
  15696. 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:"
  15697. msgstr ""
  15698. #. type: lisp
  15699. #: guix-git/doc/guix.texi:10270
  15700. #, no-wrap
  15701. msgid ""
  15702. "(run-with-state\n"
  15703. " (with-monad %state-monad\n"
  15704. " (>>= (return 1)\n"
  15705. " (lambda (x) (return (+ 1 x)))\n"
  15706. " (lambda (x) (return (* 2 x)))))\n"
  15707. " 'some-state)\n"
  15708. "\n"
  15709. msgstr ""
  15710. #. type: lisp
  15711. #: guix-git/doc/guix.texi:10273
  15712. #, no-wrap
  15713. msgid ""
  15714. "@result{} 4\n"
  15715. "@result{} some-state\n"
  15716. msgstr ""
  15717. #. type: deffn
  15718. #: guix-git/doc/guix.texi:10276
  15719. #, no-wrap
  15720. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  15721. msgstr ""
  15722. #. type: deffn
  15723. #: guix-git/doc/guix.texi:10278
  15724. msgid "@var{body} ..."
  15725. msgstr ""
  15726. #. type: deffnx
  15727. #: guix-git/doc/guix.texi:10278
  15728. #, no-wrap
  15729. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  15730. msgstr ""
  15731. #. type: deffn
  15732. #: guix-git/doc/guix.texi:10290
  15733. 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}."
  15734. msgstr ""
  15735. #. type: deffn
  15736. #: guix-git/doc/guix.texi:10293
  15737. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  15738. msgstr ""
  15739. #. type: deffn
  15740. #: guix-git/doc/guix.texi:10295
  15741. #, no-wrap
  15742. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  15743. msgstr ""
  15744. #. type: deffn
  15745. #: guix-git/doc/guix.texi:10299
  15746. 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."
  15747. msgstr ""
  15748. #. type: deffn
  15749. #: guix-git/doc/guix.texi:10303
  15750. 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."
  15751. msgstr ""
  15752. #. type: deffn
  15753. #: guix-git/doc/guix.texi:10305
  15754. #, no-wrap
  15755. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  15756. msgstr ""
  15757. #. type: deffn
  15758. #: guix-git/doc/guix.texi:10310
  15759. 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."
  15760. msgstr ""
  15761. #. type: deffn
  15762. #: guix-git/doc/guix.texi:10312
  15763. #, no-wrap
  15764. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  15765. msgstr ""
  15766. #. type: deffn
  15767. #: guix-git/doc/guix.texi:10317
  15768. 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."
  15769. msgstr ""
  15770. #. type: cindex
  15771. #: guix-git/doc/guix.texi:10319
  15772. #, no-wrap
  15773. msgid "state monad"
  15774. msgstr ""
  15775. #. type: Plain text
  15776. #: guix-git/doc/guix.texi:10323
  15777. 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."
  15778. msgstr ""
  15779. #. type: defvr
  15780. #: guix-git/doc/guix.texi:10324
  15781. #, no-wrap
  15782. msgid "{Scheme Variable} %state-monad"
  15783. msgstr ""
  15784. #. type: defvr
  15785. #: guix-git/doc/guix.texi:10327
  15786. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  15787. msgstr ""
  15788. #. type: defvr
  15789. #: guix-git/doc/guix.texi:10331
  15790. 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:"
  15791. msgstr ""
  15792. #. type: lisp
  15793. #: guix-git/doc/guix.texi:10338
  15794. #, no-wrap
  15795. msgid ""
  15796. "(define (square x)\n"
  15797. " (mlet %state-monad ((count (current-state)))\n"
  15798. " (mbegin %state-monad\n"
  15799. " (set-current-state (+ 1 count))\n"
  15800. " (return (* x x)))))\n"
  15801. "\n"
  15802. msgstr ""
  15803. #. type: lisp
  15804. #: guix-git/doc/guix.texi:10342
  15805. #, no-wrap
  15806. msgid ""
  15807. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  15808. "@result{} (0 1 4)\n"
  15809. "@result{} 3\n"
  15810. msgstr ""
  15811. #. type: defvr
  15812. #: guix-git/doc/guix.texi:10346
  15813. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  15814. msgstr ""
  15815. #. type: deffn
  15816. #: guix-git/doc/guix.texi:10348
  15817. #, no-wrap
  15818. msgid "{Monadic Procedure} current-state"
  15819. msgstr ""
  15820. #. type: deffn
  15821. #: guix-git/doc/guix.texi:10350
  15822. msgid "Return the current state as a monadic value."
  15823. msgstr ""
  15824. #. type: deffn
  15825. #: guix-git/doc/guix.texi:10352
  15826. #, no-wrap
  15827. msgid "{Monadic Procedure} set-current-state @var{value}"
  15828. msgstr ""
  15829. #. type: deffn
  15830. #: guix-git/doc/guix.texi:10355
  15831. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  15832. msgstr ""
  15833. #. type: deffn
  15834. #: guix-git/doc/guix.texi:10357
  15835. #, no-wrap
  15836. msgid "{Monadic Procedure} state-push @var{value}"
  15837. msgstr ""
  15838. #. type: deffn
  15839. #: guix-git/doc/guix.texi:10360
  15840. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  15841. msgstr ""
  15842. #. type: deffn
  15843. #: guix-git/doc/guix.texi:10362
  15844. #, no-wrap
  15845. msgid "{Monadic Procedure} state-pop"
  15846. msgstr ""
  15847. #. type: deffn
  15848. #: guix-git/doc/guix.texi:10365
  15849. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  15850. msgstr ""
  15851. #. type: deffn
  15852. #: guix-git/doc/guix.texi:10367
  15853. #, no-wrap
  15854. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  15855. msgstr ""
  15856. #. type: deffn
  15857. #: guix-git/doc/guix.texi:10370
  15858. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  15859. msgstr ""
  15860. #. type: Plain text
  15861. #: guix-git/doc/guix.texi:10374
  15862. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  15863. msgstr ""
  15864. #. type: defvr
  15865. #: guix-git/doc/guix.texi:10375
  15866. #, no-wrap
  15867. msgid "{Scheme Variable} %store-monad"
  15868. msgstr ""
  15869. #. type: defvr
  15870. #: guix-git/doc/guix.texi:10377
  15871. msgid "The store monad---an alias for @code{%state-monad}."
  15872. msgstr ""
  15873. #. type: defvr
  15874. #: guix-git/doc/guix.texi:10381
  15875. 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)."
  15876. msgstr ""
  15877. #. type: deffn
  15878. #: guix-git/doc/guix.texi:10383
  15879. #, no-wrap
  15880. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  15881. msgstr ""
  15882. #. type: deffn
  15883. #: guix-git/doc/guix.texi:10386
  15884. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  15885. msgstr ""
  15886. #. type: deffn
  15887. #: guix-git/doc/guix.texi:10388
  15888. #, no-wrap
  15889. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  15890. msgstr ""
  15891. #. type: deffn
  15892. #: guix-git/doc/guix.texi:10392
  15893. 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."
  15894. msgstr ""
  15895. #. type: deffn
  15896. #: guix-git/doc/guix.texi:10394
  15897. #, no-wrap
  15898. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  15899. msgstr ""
  15900. #. type: deffn
  15901. #: guix-git/doc/guix.texi:10398
  15902. 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."
  15903. msgstr ""
  15904. #. type: deffn
  15905. #: guix-git/doc/guix.texi:10400
  15906. #, no-wrap
  15907. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  15908. msgstr ""
  15909. #. type: deffn
  15910. #: guix-git/doc/guix.texi:10405
  15911. 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."
  15912. msgstr ""
  15913. #. type: deffn
  15914. #: guix-git/doc/guix.texi:10409 guix-git/doc/guix.texi:10832
  15915. 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."
  15916. msgstr ""
  15917. #. type: deffn
  15918. #: guix-git/doc/guix.texi:10414 guix-git/doc/guix.texi:10837
  15919. 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."
  15920. msgstr ""
  15921. #. type: deffn
  15922. #: guix-git/doc/guix.texi:10416
  15923. msgid "The example below adds a file to the store, under two different names:"
  15924. msgstr ""
  15925. #. type: lisp
  15926. #: guix-git/doc/guix.texi:10422
  15927. #, no-wrap
  15928. msgid ""
  15929. "(run-with-store (open-connection)\n"
  15930. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  15931. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  15932. " (return (list a b))))\n"
  15933. "\n"
  15934. msgstr ""
  15935. #. type: lisp
  15936. #: guix-git/doc/guix.texi:10424
  15937. #, no-wrap
  15938. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  15939. msgstr ""
  15940. #. type: Plain text
  15941. #: guix-git/doc/guix.texi:10430
  15942. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  15943. msgstr ""
  15944. #. type: deffn
  15945. #: guix-git/doc/guix.texi:10431
  15946. #, no-wrap
  15947. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  15948. msgstr ""
  15949. #. type: deffn
  15950. #: guix-git/doc/guix.texi:10439
  15951. 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."
  15952. msgstr ""
  15953. #. type: deffn
  15954. #: guix-git/doc/guix.texi:10443
  15955. 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."
  15956. msgstr ""
  15957. #. type: deffn
  15958. #: guix-git/doc/guix.texi:10445
  15959. #, no-wrap
  15960. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  15961. msgstr ""
  15962. #. type: deffnx
  15963. #: guix-git/doc/guix.texi:10446
  15964. #, no-wrap
  15965. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  15966. msgstr ""
  15967. #. type: deffn
  15968. #: guix-git/doc/guix.texi:10450
  15969. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  15970. msgstr ""
  15971. #. type: cindex
  15972. #: guix-git/doc/guix.texi:10456
  15973. #, no-wrap
  15974. msgid "G-expression"
  15975. msgstr ""
  15976. #. type: cindex
  15977. #: guix-git/doc/guix.texi:10457
  15978. #, no-wrap
  15979. msgid "build code quoting"
  15980. msgstr ""
  15981. #. type: Plain text
  15982. #: guix-git/doc/guix.texi:10463
  15983. 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})."
  15984. msgstr ""
  15985. #. type: cindex
  15986. #: guix-git/doc/guix.texi:10466
  15987. #, no-wrap
  15988. msgid "strata of code"
  15989. msgstr ""
  15990. #. type: Plain text
  15991. #: guix-git/doc/guix.texi:10478
  15992. 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})."
  15993. msgstr ""
  15994. #. type: Plain text
  15995. #: guix-git/doc/guix.texi:10485
  15996. 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."
  15997. msgstr ""
  15998. #. type: Plain text
  15999. #: guix-git/doc/guix.texi:10494
  16000. 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:"
  16001. msgstr ""
  16002. #. type: itemize
  16003. #: guix-git/doc/guix.texi:10499
  16004. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  16005. msgstr ""
  16006. #. type: itemize
  16007. #: guix-git/doc/guix.texi:10504
  16008. 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."
  16009. msgstr ""
  16010. #. type: itemize
  16011. #: guix-git/doc/guix.texi:10509
  16012. 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."
  16013. msgstr ""
  16014. #. type: cindex
  16015. #: guix-git/doc/guix.texi:10511 guix-git/doc/guix.texi:11068
  16016. #, no-wrap
  16017. msgid "lowering, of high-level objects in gexps"
  16018. msgstr ""
  16019. #. type: Plain text
  16020. #: guix-git/doc/guix.texi:10521
  16021. 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)."
  16022. msgstr ""
  16023. #. type: Plain text
  16024. #: guix-git/doc/guix.texi:10523
  16025. msgid "To illustrate the idea, here is an example of a gexp:"
  16026. msgstr ""
  16027. #. type: lisp
  16028. #: guix-git/doc/guix.texi:10531
  16029. #, no-wrap
  16030. msgid ""
  16031. "(define build-exp\n"
  16032. " #~(begin\n"
  16033. " (mkdir #$output)\n"
  16034. " (chdir #$output)\n"
  16035. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  16036. " \"list-files\")))\n"
  16037. msgstr ""
  16038. #. type: Plain text
  16039. #: guix-git/doc/guix.texi:10536
  16040. 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}:"
  16041. msgstr ""
  16042. #. type: lisp
  16043. #: guix-git/doc/guix.texi:10539
  16044. #, no-wrap
  16045. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  16046. msgstr ""
  16047. #. type: Plain text
  16048. #: guix-git/doc/guix.texi:10547
  16049. 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."
  16050. msgstr ""
  16051. #. type: cindex
  16052. #: guix-git/doc/guix.texi:10548
  16053. #, no-wrap
  16054. msgid "cross compilation"
  16055. msgstr ""
  16056. #. type: Plain text
  16057. #: guix-git/doc/guix.texi:10554
  16058. 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:"
  16059. msgstr ""
  16060. #. type: lisp
  16061. #: guix-git/doc/guix.texi:10565
  16062. #, no-wrap
  16063. msgid ""
  16064. "(gexp->derivation \"vi\"\n"
  16065. " #~(begin\n"
  16066. " (mkdir #$output)\n"
  16067. " (mkdir (string-append #$output \"/bin\"))\n"
  16068. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  16069. " \"-s\"\n"
  16070. " (string-append #$emacs \"/bin/emacs\")\n"
  16071. " (string-append #$output \"/bin/vi\")))\n"
  16072. " #:target \"aarch64-linux-gnu\")\n"
  16073. msgstr ""
  16074. #. type: Plain text
  16075. #: guix-git/doc/guix.texi:10571
  16076. 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."
  16077. msgstr ""
  16078. #. type: cindex
  16079. #: guix-git/doc/guix.texi:10572
  16080. #, no-wrap
  16081. msgid "imported modules, for gexps"
  16082. msgstr ""
  16083. #. type: findex
  16084. #: guix-git/doc/guix.texi:10573
  16085. #, no-wrap
  16086. msgid "with-imported-modules"
  16087. msgstr ""
  16088. #. type: Plain text
  16089. #: guix-git/doc/guix.texi:10578
  16090. 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:"
  16091. msgstr ""
  16092. #. type: lisp
  16093. #: guix-git/doc/guix.texi:10589
  16094. #, no-wrap
  16095. msgid ""
  16096. "(let ((build (with-imported-modules '((guix build utils))\n"
  16097. " #~(begin\n"
  16098. " (use-modules (guix build utils))\n"
  16099. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  16100. " (gexp->derivation \"empty-dir\"\n"
  16101. " #~(begin\n"
  16102. " #$build\n"
  16103. " (display \"success!\\n\")\n"
  16104. " #t)))\n"
  16105. msgstr ""
  16106. #. type: Plain text
  16107. #: guix-git/doc/guix.texi:10595
  16108. 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."
  16109. msgstr ""
  16110. #. type: cindex
  16111. #: guix-git/doc/guix.texi:10596
  16112. #, no-wrap
  16113. msgid "module closure"
  16114. msgstr ""
  16115. #. type: findex
  16116. #: guix-git/doc/guix.texi:10597
  16117. #, no-wrap
  16118. msgid "source-module-closure"
  16119. msgstr ""
  16120. #. type: Plain text
  16121. #: guix-git/doc/guix.texi:10604
  16122. 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:"
  16123. msgstr ""
  16124. #. type: lisp
  16125. #: guix-git/doc/guix.texi:10607
  16126. #, no-wrap
  16127. msgid ""
  16128. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  16129. "\n"
  16130. msgstr ""
  16131. #. type: lisp
  16132. #: guix-git/doc/guix.texi:10616
  16133. #, no-wrap
  16134. msgid ""
  16135. "(with-imported-modules (source-module-closure\n"
  16136. " '((guix build utils)\n"
  16137. " (gnu build image)))\n"
  16138. " (gexp->derivation \"something-with-vms\"\n"
  16139. " #~(begin\n"
  16140. " (use-modules (guix build utils)\n"
  16141. " (gnu build image))\n"
  16142. " @dots{})))\n"
  16143. msgstr ""
  16144. #. type: cindex
  16145. #: guix-git/doc/guix.texi:10618
  16146. #, no-wrap
  16147. msgid "extensions, for gexps"
  16148. msgstr ""
  16149. #. type: findex
  16150. #: guix-git/doc/guix.texi:10619
  16151. #, no-wrap
  16152. msgid "with-extensions"
  16153. msgstr ""
  16154. #. type: Plain text
  16155. #: guix-git/doc/guix.texi:10624
  16156. 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:"
  16157. msgstr ""
  16158. #. type: lisp
  16159. #: guix-git/doc/guix.texi:10627
  16160. #, no-wrap
  16161. msgid ""
  16162. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  16163. "\n"
  16164. msgstr ""
  16165. #. type: lisp
  16166. #: guix-git/doc/guix.texi:10633
  16167. #, no-wrap
  16168. msgid ""
  16169. "(with-extensions (list guile-json)\n"
  16170. " (gexp->derivation \"something-with-json\"\n"
  16171. " #~(begin\n"
  16172. " (use-modules (json))\n"
  16173. " @dots{})))\n"
  16174. msgstr ""
  16175. #. type: Plain text
  16176. #: guix-git/doc/guix.texi:10636
  16177. msgid "The syntactic form to construct gexps is summarized below."
  16178. msgstr ""
  16179. #. type: deffn
  16180. #: guix-git/doc/guix.texi:10637
  16181. #, no-wrap
  16182. msgid "{Scheme Syntax} #~@var{exp}"
  16183. msgstr ""
  16184. #. type: deffnx
  16185. #: guix-git/doc/guix.texi:10638
  16186. #, no-wrap
  16187. msgid "{Scheme Syntax} (gexp @var{exp})"
  16188. msgstr ""
  16189. #. type: deffn
  16190. #: guix-git/doc/guix.texi:10641
  16191. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  16192. msgstr ""
  16193. #. type: item
  16194. #: guix-git/doc/guix.texi:10643
  16195. #, no-wrap
  16196. msgid "#$@var{obj}"
  16197. msgstr ""
  16198. #. type: itemx
  16199. #: guix-git/doc/guix.texi:10644
  16200. #, no-wrap
  16201. msgid "(ungexp @var{obj})"
  16202. msgstr ""
  16203. #. type: table
  16204. #: guix-git/doc/guix.texi:10649
  16205. 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}."
  16206. msgstr ""
  16207. #. type: table
  16208. #: guix-git/doc/guix.texi:10652
  16209. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  16210. msgstr ""
  16211. #. type: table
  16212. #: guix-git/doc/guix.texi:10655
  16213. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  16214. msgstr ""
  16215. #. type: table
  16216. #: guix-git/doc/guix.texi:10657
  16217. msgid "If @var{obj} is another kind of object, it is inserted as is."
  16218. msgstr ""
  16219. #. type: item
  16220. #: guix-git/doc/guix.texi:10658
  16221. #, no-wrap
  16222. msgid "#$@var{obj}:@var{output}"
  16223. msgstr ""
  16224. #. type: itemx
  16225. #: guix-git/doc/guix.texi:10659
  16226. #, no-wrap
  16227. msgid "(ungexp @var{obj} @var{output})"
  16228. msgstr ""
  16229. #. type: table
  16230. #: guix-git/doc/guix.texi:10663
  16231. 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})."
  16232. msgstr ""
  16233. #. type: item
  16234. #: guix-git/doc/guix.texi:10664
  16235. #, no-wrap
  16236. msgid "#+@var{obj}"
  16237. msgstr ""
  16238. #. type: itemx
  16239. #: guix-git/doc/guix.texi:10665
  16240. #, no-wrap
  16241. msgid "#+@var{obj}:output"
  16242. msgstr ""
  16243. #. type: itemx
  16244. #: guix-git/doc/guix.texi:10666
  16245. #, no-wrap
  16246. msgid "(ungexp-native @var{obj})"
  16247. msgstr ""
  16248. #. type: itemx
  16249. #: guix-git/doc/guix.texi:10667
  16250. #, no-wrap
  16251. msgid "(ungexp-native @var{obj} @var{output})"
  16252. msgstr ""
  16253. #. type: table
  16254. #: guix-git/doc/guix.texi:10670
  16255. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  16256. msgstr ""
  16257. #. type: item
  16258. #: guix-git/doc/guix.texi:10671
  16259. #, no-wrap
  16260. msgid "#$output[:@var{output}]"
  16261. msgstr ""
  16262. #. type: itemx
  16263. #: guix-git/doc/guix.texi:10672
  16264. #, no-wrap
  16265. msgid "(ungexp output [@var{output}])"
  16266. msgstr ""
  16267. #. type: table
  16268. #: guix-git/doc/guix.texi:10675
  16269. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  16270. msgstr ""
  16271. #. type: table
  16272. #: guix-git/doc/guix.texi:10677
  16273. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  16274. msgstr ""
  16275. #. type: item
  16276. #: guix-git/doc/guix.texi:10678
  16277. #, no-wrap
  16278. msgid "#$@@@var{lst}"
  16279. msgstr ""
  16280. #. type: itemx
  16281. #: guix-git/doc/guix.texi:10679
  16282. #, no-wrap
  16283. msgid "(ungexp-splicing @var{lst})"
  16284. msgstr ""
  16285. #. type: table
  16286. #: guix-git/doc/guix.texi:10682
  16287. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  16288. msgstr ""
  16289. #. type: item
  16290. #: guix-git/doc/guix.texi:10683
  16291. #, no-wrap
  16292. msgid "#+@@@var{lst}"
  16293. msgstr ""
  16294. #. type: itemx
  16295. #: guix-git/doc/guix.texi:10684
  16296. #, no-wrap
  16297. msgid "(ungexp-native-splicing @var{lst})"
  16298. msgstr ""
  16299. #. type: table
  16300. #: guix-git/doc/guix.texi:10687
  16301. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  16302. msgstr ""
  16303. #. type: deffn
  16304. #: guix-git/doc/guix.texi:10692
  16305. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  16306. msgstr ""
  16307. #. type: deffn
  16308. #: guix-git/doc/guix.texi:10694
  16309. #, no-wrap
  16310. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  16311. msgstr ""
  16312. #. type: deffn
  16313. #: guix-git/doc/guix.texi:10697
  16314. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  16315. msgstr ""
  16316. #. type: deffn
  16317. #: guix-git/doc/guix.texi:10701
  16318. 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:"
  16319. msgstr ""
  16320. #. type: lisp
  16321. #: guix-git/doc/guix.texi:10707
  16322. #, no-wrap
  16323. msgid ""
  16324. "`((guix build utils)\n"
  16325. " (guix gcrypt)\n"
  16326. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  16327. " #~(define-module @dots{}))))\n"
  16328. msgstr ""
  16329. #. type: deffn
  16330. #: guix-git/doc/guix.texi:10712
  16331. 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."
  16332. msgstr ""
  16333. #. type: deffn
  16334. #: guix-git/doc/guix.texi:10716
  16335. 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{}."
  16336. msgstr ""
  16337. #. type: deffn
  16338. #: guix-git/doc/guix.texi:10718
  16339. #, no-wrap
  16340. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  16341. msgstr ""
  16342. #. type: deffn
  16343. #: guix-git/doc/guix.texi:10723
  16344. 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."
  16345. msgstr ""
  16346. #. type: deffn
  16347. #: guix-git/doc/guix.texi:10728
  16348. 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{}."
  16349. msgstr ""
  16350. #. type: deffn
  16351. #: guix-git/doc/guix.texi:10730
  16352. #, no-wrap
  16353. msgid "{Scheme Procedure} gexp? @var{obj}"
  16354. msgstr ""
  16355. #. type: deffn
  16356. #: guix-git/doc/guix.texi:10732
  16357. msgid "Return @code{#t} if @var{obj} is a G-expression."
  16358. msgstr ""
  16359. #. type: Plain text
  16360. #: guix-git/doc/guix.texi:10738
  16361. 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)."
  16362. msgstr ""
  16363. #. type: deffn
  16364. #: guix-git/doc/guix.texi:10739
  16365. #, no-wrap
  16366. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  16367. msgstr ""
  16368. #. type: deffn
  16369. #: guix-git/doc/guix.texi:10757
  16370. 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}."
  16371. msgstr ""
  16372. #. type: deffn
  16373. #: guix-git/doc/guix.texi:10765
  16374. 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))}."
  16375. msgstr ""
  16376. #. type: deffn
  16377. #: guix-git/doc/guix.texi:10768
  16378. 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\"}."
  16379. msgstr ""
  16380. #. type: deffn
  16381. #: guix-git/doc/guix.texi:10771
  16382. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  16383. msgstr ""
  16384. #. type: deffn
  16385. #: guix-git/doc/guix.texi:10774
  16386. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  16387. msgstr ""
  16388. #. type: example
  16389. #: guix-git/doc/guix.texi:10781
  16390. #, no-wrap
  16391. msgid ""
  16392. "(@var{file-name} @var{package})\n"
  16393. "(@var{file-name} @var{package} @var{output})\n"
  16394. "(@var{file-name} @var{derivation})\n"
  16395. "(@var{file-name} @var{derivation} @var{output})\n"
  16396. "(@var{file-name} @var{store-item})\n"
  16397. msgstr ""
  16398. #. type: deffn
  16399. #: guix-git/doc/guix.texi:10787
  16400. 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."
  16401. msgstr ""
  16402. #. type: deffn
  16403. #: guix-git/doc/guix.texi:10793
  16404. 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."
  16405. msgstr ""
  16406. #. type: deffn
  16407. #: guix-git/doc/guix.texi:10796
  16408. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  16409. msgstr ""
  16410. #. type: deffn
  16411. #: guix-git/doc/guix.texi:10798
  16412. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  16413. msgstr ""
  16414. #. type: cindex
  16415. #: guix-git/doc/guix.texi:10800
  16416. #, no-wrap
  16417. msgid "file-like objects"
  16418. msgstr ""
  16419. #. type: Plain text
  16420. #: guix-git/doc/guix.texi:10805
  16421. 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:"
  16422. msgstr ""
  16423. #. type: lisp
  16424. #: guix-git/doc/guix.texi:10809
  16425. #, no-wrap
  16426. msgid ""
  16427. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  16428. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  16429. msgstr ""
  16430. #. type: Plain text
  16431. #: guix-git/doc/guix.texi:10818
  16432. 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."
  16433. msgstr ""
  16434. #. type: deffn
  16435. #: guix-git/doc/guix.texi:10819
  16436. #, no-wrap
  16437. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  16438. msgstr ""
  16439. #. type: deffn
  16440. #: guix-git/doc/guix.texi:10828
  16441. 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}."
  16442. msgstr ""
  16443. #. type: deffn
  16444. #: guix-git/doc/guix.texi:10840
  16445. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  16446. msgstr ""
  16447. #. type: deffn
  16448. #: guix-git/doc/guix.texi:10842
  16449. #, no-wrap
  16450. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  16451. msgstr ""
  16452. #. type: deffn
  16453. #: guix-git/doc/guix.texi:10845
  16454. 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."
  16455. msgstr ""
  16456. #. type: deffn
  16457. #: guix-git/doc/guix.texi:10847
  16458. msgid "This is the declarative counterpart of @code{text-file}."
  16459. msgstr ""
  16460. #. type: deffn
  16461. #: guix-git/doc/guix.texi:10849
  16462. #, no-wrap
  16463. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  16464. msgstr ""
  16465. #. type: deffn
  16466. #: guix-git/doc/guix.texi:10856
  16467. 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}."
  16468. msgstr ""
  16469. #. type: deffn
  16470. #: guix-git/doc/guix.texi:10858
  16471. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  16472. msgstr ""
  16473. #. type: deffn
  16474. #: guix-git/doc/guix.texi:10860
  16475. #, no-wrap
  16476. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  16477. msgstr ""
  16478. #. type: deffn
  16479. #: guix-git/doc/guix.texi:10866
  16480. 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}."
  16481. msgstr ""
  16482. #. type: deffn
  16483. #: guix-git/doc/guix.texi:10869
  16484. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  16485. msgstr ""
  16486. #. type: lisp
  16487. #: guix-git/doc/guix.texi:10872
  16488. #, no-wrap
  16489. msgid ""
  16490. "(use-modules (guix gexp) (gnu packages base))\n"
  16491. "\n"
  16492. msgstr ""
  16493. #. type: lisp
  16494. #: guix-git/doc/guix.texi:10876
  16495. #, no-wrap
  16496. msgid ""
  16497. "(gexp->script \"list-files\"\n"
  16498. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  16499. " \"ls\"))\n"
  16500. msgstr ""
  16501. #. type: deffn
  16502. #: guix-git/doc/guix.texi:10881
  16503. 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:"
  16504. msgstr ""
  16505. #. type: example
  16506. #: guix-git/doc/guix.texi:10886
  16507. #, no-wrap
  16508. msgid ""
  16509. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  16510. "!#\n"
  16511. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  16512. msgstr ""
  16513. #. type: deffn
  16514. #: guix-git/doc/guix.texi:10889
  16515. #, no-wrap
  16516. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  16517. msgstr ""
  16518. #. type: deffn
  16519. #: guix-git/doc/guix.texi:10894
  16520. 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}."
  16521. msgstr ""
  16522. #. type: deffn
  16523. #: guix-git/doc/guix.texi:10896
  16524. msgid "This is the declarative counterpart of @code{gexp->script}."
  16525. msgstr ""
  16526. #. type: deffn
  16527. #: guix-git/doc/guix.texi:10898
  16528. #, no-wrap
  16529. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  16530. msgstr ""
  16531. #. type: deffn
  16532. #: guix-git/doc/guix.texi:10905
  16533. 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."
  16534. msgstr ""
  16535. #. type: deffn
  16536. #: guix-git/doc/guix.texi:10910
  16537. 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}."
  16538. msgstr ""
  16539. #. type: deffn
  16540. #: guix-git/doc/guix.texi:10913
  16541. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  16542. msgstr ""
  16543. #. type: deffn
  16544. #: guix-git/doc/guix.texi:10915
  16545. #, no-wrap
  16546. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  16547. msgstr ""
  16548. #. type: deffn
  16549. #: guix-git/doc/guix.texi:10919
  16550. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  16551. msgstr ""
  16552. #. type: deffn
  16553. #: guix-git/doc/guix.texi:10921
  16554. msgid "This is the declarative counterpart of @code{gexp->file}."
  16555. msgstr ""
  16556. #. type: deffn
  16557. #: guix-git/doc/guix.texi:10923
  16558. #, no-wrap
  16559. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  16560. msgstr ""
  16561. #. type: deffn
  16562. #: guix-git/doc/guix.texi:10929
  16563. 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."
  16564. msgstr ""
  16565. #. type: deffn
  16566. #: guix-git/doc/guix.texi:10934
  16567. 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:"
  16568. msgstr ""
  16569. #. type: lisp
  16570. #: guix-git/doc/guix.texi:10942
  16571. #, no-wrap
  16572. msgid ""
  16573. "(define (profile.sh)\n"
  16574. " ;; Return the name of a shell script in the store that\n"
  16575. " ;; initializes the 'PATH' environment variable.\n"
  16576. " (text-file* \"profile.sh\"\n"
  16577. " \"export PATH=\" coreutils \"/bin:\"\n"
  16578. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  16579. msgstr ""
  16580. #. type: deffn
  16581. #: guix-git/doc/guix.texi:10947
  16582. 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."
  16583. msgstr ""
  16584. #. type: deffn
  16585. #: guix-git/doc/guix.texi:10949
  16586. #, no-wrap
  16587. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  16588. msgstr ""
  16589. #. type: deffn
  16590. #: guix-git/doc/guix.texi:10953
  16591. 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:"
  16592. msgstr ""
  16593. #. type: lisp
  16594. #: guix-git/doc/guix.texi:10957
  16595. #, no-wrap
  16596. msgid ""
  16597. "(mixed-text-file \"profile\"\n"
  16598. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  16599. msgstr ""
  16600. #. type: deffn
  16601. #: guix-git/doc/guix.texi:10960
  16602. msgid "This is the declarative counterpart of @code{text-file*}."
  16603. msgstr ""
  16604. #. type: deffn
  16605. #: guix-git/doc/guix.texi:10962
  16606. #, no-wrap
  16607. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  16608. msgstr ""
  16609. #. type: deffn
  16610. #: guix-git/doc/guix.texi:10967
  16611. 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:"
  16612. msgstr ""
  16613. #. type: lisp
  16614. #: guix-git/doc/guix.texi:10974
  16615. #, no-wrap
  16616. msgid ""
  16617. "(file-union \"etc\"\n"
  16618. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  16619. " \"127.0.0.1 localhost\"))\n"
  16620. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  16621. " \"alias ls='ls --color=auto'\"))))\n"
  16622. msgstr ""
  16623. #. type: deffn
  16624. #: guix-git/doc/guix.texi:10977
  16625. msgid "This yields an @code{etc} directory containing these two files."
  16626. msgstr ""
  16627. #. type: deffn
  16628. #: guix-git/doc/guix.texi:10979
  16629. #, no-wrap
  16630. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  16631. msgstr ""
  16632. #. type: deffn
  16633. #: guix-git/doc/guix.texi:10982
  16634. 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:"
  16635. msgstr ""
  16636. #. type: lisp
  16637. #: guix-git/doc/guix.texi:10985
  16638. #, no-wrap
  16639. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  16640. msgstr ""
  16641. #. type: deffn
  16642. #: guix-git/doc/guix.texi:10988
  16643. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  16644. msgstr ""
  16645. #. type: deffn
  16646. #: guix-git/doc/guix.texi:10990
  16647. #, no-wrap
  16648. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  16649. msgstr ""
  16650. #. type: deffn
  16651. #: guix-git/doc/guix.texi:10994
  16652. 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."
  16653. msgstr ""
  16654. #. type: deffn
  16655. #: guix-git/doc/guix.texi:10996
  16656. msgid "As an example, consider this gexp:"
  16657. msgstr ""
  16658. #. type: lisp
  16659. #: guix-git/doc/guix.texi:11001
  16660. #, no-wrap
  16661. msgid ""
  16662. "(gexp->script \"run-uname\"\n"
  16663. " #~(system* #$(file-append coreutils\n"
  16664. " \"/bin/uname\")))\n"
  16665. msgstr ""
  16666. #. type: deffn
  16667. #: guix-git/doc/guix.texi:11004
  16668. msgid "The same effect could be achieved with:"
  16669. msgstr ""
  16670. #. type: lisp
  16671. #: guix-git/doc/guix.texi:11009
  16672. #, no-wrap
  16673. msgid ""
  16674. "(gexp->script \"run-uname\"\n"
  16675. " #~(system* (string-append #$coreutils\n"
  16676. " \"/bin/uname\")))\n"
  16677. msgstr ""
  16678. #. type: deffn
  16679. #: guix-git/doc/guix.texi:11015
  16680. 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}."
  16681. msgstr ""
  16682. #. type: deffn
  16683. #: guix-git/doc/guix.texi:11017
  16684. #, no-wrap
  16685. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  16686. msgstr ""
  16687. #. type: deffnx
  16688. #: guix-git/doc/guix.texi:11018
  16689. #, no-wrap
  16690. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  16691. msgstr ""
  16692. #. type: deffn
  16693. #: guix-git/doc/guix.texi:11021
  16694. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  16695. msgstr ""
  16696. #. type: deffn
  16697. #: guix-git/doc/guix.texi:11026
  16698. 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."
  16699. msgstr ""
  16700. #. type: deffn
  16701. #: guix-git/doc/guix.texi:11029
  16702. 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:"
  16703. msgstr ""
  16704. #. type: lisp
  16705. #: guix-git/doc/guix.texi:11040
  16706. #, no-wrap
  16707. msgid ""
  16708. "#~(system*\n"
  16709. " #+(let-system system\n"
  16710. " (cond ((string-prefix? \"armhf-\" system)\n"
  16711. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  16712. " ((string-prefix? \"x86_64-\" system)\n"
  16713. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  16714. " (else\n"
  16715. " (error \"dunno!\"))))\n"
  16716. " \"-net\" \"user\" #$image)\n"
  16717. msgstr ""
  16718. #. type: deffn
  16719. #: guix-git/doc/guix.texi:11043
  16720. #, no-wrap
  16721. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  16722. msgstr ""
  16723. #. type: deffn
  16724. #: guix-git/doc/guix.texi:11049
  16725. 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."
  16726. msgstr ""
  16727. #. type: deffn
  16728. #: guix-git/doc/guix.texi:11052
  16729. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  16730. msgstr ""
  16731. #. type: lisp
  16732. #: guix-git/doc/guix.texi:11056
  16733. #, no-wrap
  16734. msgid ""
  16735. "(with-parameters ((%current-system \"i686-linux\"))\n"
  16736. " coreutils)\n"
  16737. msgstr ""
  16738. #. type: deffn
  16739. #: guix-git/doc/guix.texi:11060
  16740. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  16741. msgstr ""
  16742. #. type: Plain text
  16743. #: guix-git/doc/guix.texi:11067
  16744. 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."
  16745. msgstr ""
  16746. #. type: Plain text
  16747. #: guix-git/doc/guix.texi:11073
  16748. 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."
  16749. msgstr ""
  16750. #. type: deffn
  16751. #: guix-git/doc/guix.texi:11074
  16752. #, no-wrap
  16753. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  16754. msgstr ""
  16755. #. type: deffn
  16756. #: guix-git/doc/guix.texi:11080
  16757. 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>}."
  16758. msgstr ""
  16759. #. type: deffn
  16760. #: guix-git/doc/guix.texi:11082
  16761. #, no-wrap
  16762. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  16763. msgstr ""
  16764. #. type: deffn
  16765. #: guix-git/doc/guix.texi:11090
  16766. 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."
  16767. msgstr ""
  16768. #. type: section
  16769. #: guix-git/doc/guix.texi:11093
  16770. #, no-wrap
  16771. msgid "Invoking @command{guix repl}"
  16772. msgstr ""
  16773. #. type: cindex
  16774. #: guix-git/doc/guix.texi:11095
  16775. #, no-wrap
  16776. msgid "REPL, read-eval-print loop, script"
  16777. msgstr ""
  16778. #. type: Plain text
  16779. #: guix-git/doc/guix.texi:11105
  16780. 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."
  16781. msgstr ""
  16782. #. type: example
  16783. #: guix-git/doc/guix.texi:11110
  16784. #, no-wrap
  16785. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  16786. msgstr ""
  16787. #. type: Plain text
  16788. #: guix-git/doc/guix.texi:11114
  16789. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  16790. msgstr ""
  16791. #. type: example
  16792. #: guix-git/doc/guix.texi:11117
  16793. #, no-wrap
  16794. msgid "guix repl my-script.scm\n"
  16795. msgstr ""
  16796. #. type: Plain text
  16797. #: guix-git/doc/guix.texi:11121
  16798. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  16799. msgstr ""
  16800. #. type: example
  16801. #: guix-git/doc/guix.texi:11124
  16802. #, no-wrap
  16803. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  16804. msgstr ""
  16805. #. type: Plain text
  16806. #: guix-git/doc/guix.texi:11129
  16807. 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:"
  16808. msgstr ""
  16809. #. type: example
  16810. #: guix-git/doc/guix.texi:11133
  16811. #, no-wrap
  16812. msgid ""
  16813. "@code{#!/usr/bin/env -S guix repl --}\n"
  16814. "@code{!#}\n"
  16815. msgstr ""
  16816. #. type: Plain text
  16817. #: guix-git/doc/guix.texi:11136
  16818. msgid "Without a file name argument, a Guile REPL is started:"
  16819. msgstr ""
  16820. #. type: example
  16821. #: guix-git/doc/guix.texi:11142
  16822. #, no-wrap
  16823. msgid ""
  16824. "$ guix repl\n"
  16825. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  16826. "scheme@@(guile-user)> coreutils\n"
  16827. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  16828. msgstr ""
  16829. #. type: Plain text
  16830. #: guix-git/doc/guix.texi:11149
  16831. 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."
  16832. msgstr ""
  16833. #. type: Plain text
  16834. #: guix-git/doc/guix.texi:11151
  16835. msgid "The available options are as follows:"
  16836. msgstr ""
  16837. #. type: item
  16838. #: guix-git/doc/guix.texi:11153 guix-git/doc/guix.texi:13872
  16839. #, no-wrap
  16840. msgid "--type=@var{type}"
  16841. msgstr ""
  16842. #. type: itemx
  16843. #: guix-git/doc/guix.texi:11154 guix-git/doc/guix.texi:13873
  16844. #: guix-git/doc/guix.texi:35839
  16845. #, no-wrap
  16846. msgid "-t @var{type}"
  16847. msgstr ""
  16848. #. type: table
  16849. #: guix-git/doc/guix.texi:11156
  16850. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  16851. msgstr ""
  16852. #. type: item
  16853. #: guix-git/doc/guix.texi:11158
  16854. #, no-wrap
  16855. msgid "guile"
  16856. msgstr ""
  16857. #. type: table
  16858. #: guix-git/doc/guix.texi:11160
  16859. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  16860. msgstr ""
  16861. #. type: item
  16862. #: guix-git/doc/guix.texi:11160
  16863. #, no-wrap
  16864. msgid "machine"
  16865. msgstr ""
  16866. #. type: table
  16867. #: guix-git/doc/guix.texi:11163
  16868. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  16869. msgstr ""
  16870. #. type: table
  16871. #: guix-git/doc/guix.texi:11169
  16872. 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:"
  16873. msgstr ""
  16874. #. type: item
  16875. #: guix-git/doc/guix.texi:11171
  16876. #, no-wrap
  16877. msgid "--listen=tcp:37146"
  16878. msgstr ""
  16879. #. type: table
  16880. #: guix-git/doc/guix.texi:11173
  16881. msgid "Accept connections on localhost on port 37146."
  16882. msgstr ""
  16883. #. type: item
  16884. #: guix-git/doc/guix.texi:11174
  16885. #, no-wrap
  16886. msgid "--listen=unix:/tmp/socket"
  16887. msgstr ""
  16888. #. type: table
  16889. #: guix-git/doc/guix.texi:11176
  16890. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  16891. msgstr ""
  16892. #. type: item
  16893. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11283
  16894. #: guix-git/doc/guix.texi:13182 guix-git/doc/guix.texi:13300
  16895. #: guix-git/doc/guix.texi:13507 guix-git/doc/guix.texi:13652
  16896. #: guix-git/doc/guix.texi:13920
  16897. #, no-wrap
  16898. msgid "--load-path=@var{directory}"
  16899. msgstr ""
  16900. #. type: itemx
  16901. #: guix-git/doc/guix.texi:11179 guix-git/doc/guix.texi:11284
  16902. #: guix-git/doc/guix.texi:13301 guix-git/doc/guix.texi:13508
  16903. #: guix-git/doc/guix.texi:13653 guix-git/doc/guix.texi:13921
  16904. #, no-wrap
  16905. msgid "-L @var{directory}"
  16906. msgstr ""
  16907. #. type: table
  16908. #: guix-git/doc/guix.texi:11182 guix-git/doc/guix.texi:11287
  16909. #: guix-git/doc/guix.texi:13185 guix-git/doc/guix.texi:13304
  16910. #: guix-git/doc/guix.texi:13511 guix-git/doc/guix.texi:13656
  16911. #: guix-git/doc/guix.texi:13924
  16912. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  16913. msgstr ""
  16914. #. type: table
  16915. #: guix-git/doc/guix.texi:11185
  16916. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  16917. msgstr ""
  16918. #. type: itemx
  16919. #: guix-git/doc/guix.texi:11186 guix-git/doc/guix.texi:11808
  16920. #, no-wrap
  16921. msgid "-q"
  16922. msgstr ""
  16923. #. type: table
  16924. #: guix-git/doc/guix.texi:11189
  16925. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  16926. msgstr ""
  16927. #. type: Plain text
  16928. #: guix-git/doc/guix.texi:11199
  16929. 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."
  16930. msgstr ""
  16931. #. type: cindex
  16932. #: guix-git/doc/guix.texi:11222
  16933. #, no-wrap
  16934. msgid "package building"
  16935. msgstr ""
  16936. #. type: command{#1}
  16937. #: guix-git/doc/guix.texi:11223
  16938. #, no-wrap
  16939. msgid "guix build"
  16940. msgstr ""
  16941. #. type: Plain text
  16942. #: guix-git/doc/guix.texi:11229
  16943. 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."
  16944. msgstr ""
  16945. #. type: example
  16946. #: guix-git/doc/guix.texi:11234
  16947. #, no-wrap
  16948. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  16949. msgstr ""
  16950. #. type: Plain text
  16951. #: guix-git/doc/guix.texi:11239
  16952. 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:"
  16953. msgstr ""
  16954. #. type: example
  16955. #: guix-git/doc/guix.texi:11242
  16956. #, no-wrap
  16957. msgid "guix build emacs guile\n"
  16958. msgstr ""
  16959. #. type: Plain text
  16960. #: guix-git/doc/guix.texi:11245
  16961. msgid "Similarly, the following command builds all the available packages:"
  16962. msgstr ""
  16963. #. type: example
  16964. #: guix-git/doc/guix.texi:11249
  16965. #, no-wrap
  16966. msgid ""
  16967. "guix build --quiet --keep-going \\\n"
  16968. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  16969. msgstr ""
  16970. #. type: Plain text
  16971. #: guix-git/doc/guix.texi:11257
  16972. 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})."
  16973. msgstr ""
  16974. #. type: Plain text
  16975. #: guix-git/doc/guix.texi:11262
  16976. 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."
  16977. msgstr ""
  16978. #. type: Plain text
  16979. #: guix-git/doc/guix.texi:11265
  16980. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  16981. msgstr ""
  16982. #. type: Plain text
  16983. #: guix-git/doc/guix.texi:11280
  16984. 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:"
  16985. msgstr ""
  16986. #. type: table
  16987. #: guix-git/doc/guix.texi:11290 guix-git/doc/guix.texi:13188
  16988. #: guix-git/doc/guix.texi:13514 guix-git/doc/guix.texi:13659
  16989. #: guix-git/doc/guix.texi:13927
  16990. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  16991. msgstr ""
  16992. #. type: item
  16993. #: guix-git/doc/guix.texi:11291
  16994. #, no-wrap
  16995. msgid "--keep-failed"
  16996. msgstr ""
  16997. #. type: itemx
  16998. #: guix-git/doc/guix.texi:11292
  16999. #, no-wrap
  17000. msgid "-K"
  17001. msgstr ""
  17002. #. type: table
  17003. #: guix-git/doc/guix.texi:11298
  17004. 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."
  17005. msgstr ""
  17006. #. type: table
  17007. #: guix-git/doc/guix.texi:11302
  17008. 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})."
  17009. msgstr ""
  17010. #. type: item
  17011. #: guix-git/doc/guix.texi:11303
  17012. #, no-wrap
  17013. msgid "--keep-going"
  17014. msgstr ""
  17015. #. type: itemx
  17016. #: guix-git/doc/guix.texi:11304
  17017. #, no-wrap
  17018. msgid "-k"
  17019. msgstr ""
  17020. #. type: table
  17021. #: guix-git/doc/guix.texi:11307
  17022. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  17023. msgstr ""
  17024. #. type: table
  17025. #: guix-git/doc/guix.texi:11310
  17026. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  17027. msgstr ""
  17028. #. type: table
  17029. #: guix-git/doc/guix.texi:11314
  17030. msgid "Do not build the derivations."
  17031. msgstr ""
  17032. #. type: anchor{#1}
  17033. #: guix-git/doc/guix.texi:11316
  17034. msgid "fallback-option"
  17035. msgstr ""
  17036. #. type: item
  17037. #: guix-git/doc/guix.texi:11316
  17038. #, no-wrap
  17039. msgid "--fallback"
  17040. msgstr ""
  17041. #. type: table
  17042. #: guix-git/doc/guix.texi:11319
  17043. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  17044. msgstr ""
  17045. #. type: anchor{#1}
  17046. #: guix-git/doc/guix.texi:11325
  17047. msgid "client-substitute-urls"
  17048. msgstr ""
  17049. #. type: table
  17050. #: guix-git/doc/guix.texi:11325
  17051. 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})."
  17052. msgstr ""
  17053. #. type: table
  17054. #: guix-git/doc/guix.texi:11329
  17055. 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})."
  17056. msgstr ""
  17057. #. type: table
  17058. #: guix-git/doc/guix.texi:11332
  17059. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  17060. msgstr ""
  17061. #. type: item
  17062. #: guix-git/doc/guix.texi:11338
  17063. #, no-wrap
  17064. msgid "--no-grafts"
  17065. msgstr ""
  17066. #. type: table
  17067. #: guix-git/doc/guix.texi:11342
  17068. 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."
  17069. msgstr ""
  17070. #. type: item
  17071. #: guix-git/doc/guix.texi:11343
  17072. #, no-wrap
  17073. msgid "--rounds=@var{n}"
  17074. msgstr ""
  17075. #. type: table
  17076. #: guix-git/doc/guix.texi:11346
  17077. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  17078. msgstr ""
  17079. #. type: table
  17080. #: guix-git/doc/guix.texi:11351
  17081. 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."
  17082. msgstr ""
  17083. #. type: table
  17084. #: guix-git/doc/guix.texi:11367
  17085. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  17086. msgstr ""
  17087. #. type: table
  17088. #: guix-git/doc/guix.texi:11374
  17089. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  17090. msgstr ""
  17091. #. type: cindex
  17092. #: guix-git/doc/guix.texi:11377
  17093. #, no-wrap
  17094. msgid "verbosity, of the command-line tools"
  17095. msgstr ""
  17096. #. type: cindex
  17097. #: guix-git/doc/guix.texi:11378
  17098. #, no-wrap
  17099. msgid "build logs, verbosity"
  17100. msgstr ""
  17101. #. type: item
  17102. #: guix-git/doc/guix.texi:11379
  17103. #, no-wrap
  17104. msgid "-v @var{level}"
  17105. msgstr ""
  17106. #. type: itemx
  17107. #: guix-git/doc/guix.texi:11380
  17108. #, no-wrap
  17109. msgid "--verbosity=@var{level}"
  17110. msgstr ""
  17111. #. type: table
  17112. #: guix-git/doc/guix.texi:11385
  17113. 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."
  17114. msgstr ""
  17115. #. type: table
  17116. #: guix-git/doc/guix.texi:11390
  17117. 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."
  17118. msgstr ""
  17119. #. type: table
  17120. #: guix-git/doc/guix.texi:11396
  17121. 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."
  17122. msgstr ""
  17123. #. type: item
  17124. #: guix-git/doc/guix.texi:11397
  17125. #, no-wrap
  17126. msgid "--debug=@var{level}"
  17127. msgstr ""
  17128. #. type: table
  17129. #: guix-git/doc/guix.texi:11401
  17130. 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."
  17131. msgstr ""
  17132. #. type: Plain text
  17133. #: guix-git/doc/guix.texi:11408
  17134. 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."
  17135. msgstr ""
  17136. #. type: Plain text
  17137. #: guix-git/doc/guix.texi:11412
  17138. 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."
  17139. msgstr ""
  17140. #. type: defvr
  17141. #: guix-git/doc/guix.texi:11413
  17142. #, no-wrap
  17143. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  17144. msgstr ""
  17145. #. type: defvr
  17146. #: guix-git/doc/guix.texi:11418
  17147. 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:"
  17148. msgstr ""
  17149. #. type: example
  17150. #: guix-git/doc/guix.texi:11421
  17151. #, no-wrap
  17152. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  17153. msgstr ""
  17154. #. type: defvr
  17155. #: guix-git/doc/guix.texi:11425
  17156. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  17157. msgstr ""
  17158. #. type: cindex
  17159. #: guix-git/doc/guix.texi:11431
  17160. #, no-wrap
  17161. msgid "package variants"
  17162. msgstr ""
  17163. #. type: Plain text
  17164. #: guix-git/doc/guix.texi:11439
  17165. 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})."
  17166. msgstr ""
  17167. #. type: Plain text
  17168. #: guix-git/doc/guix.texi:11443
  17169. 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."
  17170. msgstr ""
  17171. #. type: Plain text
  17172. #: guix-git/doc/guix.texi:11448
  17173. 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)."
  17174. msgstr ""
  17175. #. type: cindex
  17176. #: guix-git/doc/guix.texi:11451
  17177. #, no-wrap
  17178. msgid "performance, tuning code"
  17179. msgstr ""
  17180. #. type: cindex
  17181. #: guix-git/doc/guix.texi:11452
  17182. #, no-wrap
  17183. msgid "optimization, of package code"
  17184. msgstr ""
  17185. #. type: cindex
  17186. #: guix-git/doc/guix.texi:11453
  17187. #, no-wrap
  17188. msgid "tuning, of package code"
  17189. msgstr ""
  17190. #. type: cindex
  17191. #: guix-git/doc/guix.texi:11454
  17192. #, no-wrap
  17193. msgid "SIMD support"
  17194. msgstr ""
  17195. #. type: cindex
  17196. #: guix-git/doc/guix.texi:11455
  17197. #, no-wrap
  17198. msgid "tunable packages"
  17199. msgstr ""
  17200. #. type: cindex
  17201. #: guix-git/doc/guix.texi:11456
  17202. #, no-wrap
  17203. msgid "package multi-versioning"
  17204. msgstr ""
  17205. #. type: item
  17206. #: guix-git/doc/guix.texi:11457
  17207. #, no-wrap
  17208. msgid "--tune[=@var{cpu}]"
  17209. msgstr ""
  17210. #. type: table
  17211. #: guix-git/doc/guix.texi:11461
  17212. 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."
  17213. msgstr ""
  17214. #. type: table
  17215. #: guix-git/doc/guix.texi:11467
  17216. 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)})."
  17217. msgstr ""
  17218. #. type: table
  17219. #: guix-git/doc/guix.texi:11474
  17220. 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."
  17221. msgstr ""
  17222. #. type: table
  17223. #: guix-git/doc/guix.texi:11481
  17224. 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:"
  17225. msgstr ""
  17226. #. type: lisp
  17227. #: guix-git/doc/guix.texi:11486
  17228. #, no-wrap
  17229. msgid ""
  17230. "(package\n"
  17231. " (name \"hello-simd\")\n"
  17232. " ;; ...\n"
  17233. "\n"
  17234. msgstr ""
  17235. #. type: lisp
  17236. #: guix-git/doc/guix.texi:11490
  17237. #, no-wrap
  17238. msgid ""
  17239. " ;; This package may benefit from SIMD extensions so\n"
  17240. " ;; mark it as \"tunable\".\n"
  17241. " (properties '((tunable? . #t))))\n"
  17242. msgstr ""
  17243. #. type: table
  17244. #: guix-git/doc/guix.texi:11495
  17245. 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."
  17246. msgstr ""
  17247. #. type: table
  17248. #: guix-git/doc/guix.texi:11501
  17249. 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."
  17250. msgstr ""
  17251. #. type: table
  17252. #: guix-git/doc/guix.texi:11505
  17253. 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}."
  17254. msgstr ""
  17255. #. type: table
  17256. #: guix-git/doc/guix.texi:11511
  17257. 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)})."
  17258. msgstr ""
  17259. #. type: item
  17260. #: guix-git/doc/guix.texi:11512
  17261. #, no-wrap
  17262. msgid "--with-source=@var{source}"
  17263. msgstr ""
  17264. #. type: itemx
  17265. #: guix-git/doc/guix.texi:11513
  17266. #, no-wrap
  17267. msgid "--with-source=@var{package}=@var{source}"
  17268. msgstr ""
  17269. #. type: itemx
  17270. #: guix-git/doc/guix.texi:11514
  17271. #, no-wrap
  17272. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  17273. msgstr ""
  17274. #. type: table
  17275. #: guix-git/doc/guix.texi:11519
  17276. 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})."
  17277. msgstr ""
  17278. #. type: table
  17279. #: guix-git/doc/guix.texi:11525
  17280. 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}."
  17281. msgstr ""
  17282. #. type: table
  17283. #: guix-git/doc/guix.texi:11528
  17284. 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}."
  17285. msgstr ""
  17286. #. type: table
  17287. #: guix-git/doc/guix.texi:11533
  17288. 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:"
  17289. msgstr ""
  17290. #. type: example
  17291. #: guix-git/doc/guix.texi:11536
  17292. #, no-wrap
  17293. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  17294. msgstr ""
  17295. #. type: table
  17296. #: guix-git/doc/guix.texi:11540
  17297. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  17298. msgstr ""
  17299. #. type: example
  17300. #: guix-git/doc/guix.texi:11543
  17301. #, no-wrap
  17302. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  17303. msgstr ""
  17304. #. type: table
  17305. #: guix-git/doc/guix.texi:11546
  17306. msgid "@dots{} or to build from a checkout in a pristine environment:"
  17307. msgstr ""
  17308. #. type: example
  17309. #: guix-git/doc/guix.texi:11550
  17310. #, no-wrap
  17311. msgid ""
  17312. "$ git clone git://git.sv.gnu.org/guix.git\n"
  17313. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  17314. msgstr ""
  17315. #. type: item
  17316. #: guix-git/doc/guix.texi:11552
  17317. #, no-wrap
  17318. msgid "--with-input=@var{package}=@var{replacement}"
  17319. msgstr ""
  17320. #. type: table
  17321. #: guix-git/doc/guix.texi:11557
  17322. 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}."
  17323. msgstr ""
  17324. #. type: table
  17325. #: guix-git/doc/guix.texi:11561
  17326. 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}:"
  17327. msgstr ""
  17328. #. type: example
  17329. #: guix-git/doc/guix.texi:11564
  17330. #, no-wrap
  17331. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  17332. msgstr ""
  17333. #. type: table
  17334. #: guix-git/doc/guix.texi:11569
  17335. 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}."
  17336. msgstr ""
  17337. #. type: table
  17338. #: guix-git/doc/guix.texi:11572
  17339. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  17340. msgstr ""
  17341. #. type: item
  17342. #: guix-git/doc/guix.texi:11573
  17343. #, no-wrap
  17344. msgid "--with-graft=@var{package}=@var{replacement}"
  17345. msgstr ""
  17346. #. type: table
  17347. #: guix-git/doc/guix.texi:11579
  17348. 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."
  17349. msgstr ""
  17350. #. type: table
  17351. #: guix-git/doc/guix.texi:11583
  17352. 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:"
  17353. msgstr ""
  17354. #. type: example
  17355. #: guix-git/doc/guix.texi:11586
  17356. #, no-wrap
  17357. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  17358. msgstr ""
  17359. #. type: table
  17360. #: guix-git/doc/guix.texi:11595
  17361. 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!"
  17362. msgstr ""
  17363. #. type: cindex
  17364. #: guix-git/doc/guix.texi:11596 guix-git/doc/guix.texi:38565
  17365. #, no-wrap
  17366. msgid "debugging info, rebuilding"
  17367. msgstr ""
  17368. #. type: item
  17369. #: guix-git/doc/guix.texi:11597
  17370. #, no-wrap
  17371. msgid "--with-debug-info=@var{package}"
  17372. msgstr ""
  17373. #. type: table
  17374. #: guix-git/doc/guix.texi:11602
  17375. 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})."
  17376. msgstr ""
  17377. #. type: table
  17378. #: guix-git/doc/guix.texi:11608
  17379. 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:"
  17380. msgstr ""
  17381. #. type: example
  17382. #: guix-git/doc/guix.texi:11611 guix-git/doc/guix.texi:38596
  17383. #, no-wrap
  17384. msgid "guix install inkscape --with-debug-info=glib\n"
  17385. msgstr ""
  17386. #. type: table
  17387. #: guix-git/doc/guix.texi:11615
  17388. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  17389. msgstr ""
  17390. #. type: quotation
  17391. #: guix-git/doc/guix.texi:11621
  17392. 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."
  17393. msgstr ""
  17394. #. type: quotation
  17395. #: guix-git/doc/guix.texi:11625
  17396. 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."
  17397. msgstr ""
  17398. #. type: cindex
  17399. #: guix-git/doc/guix.texi:11627
  17400. #, no-wrap
  17401. msgid "tool chain, changing the build tool chain of a package"
  17402. msgstr ""
  17403. #. type: item
  17404. #: guix-git/doc/guix.texi:11628
  17405. #, no-wrap
  17406. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  17407. msgstr ""
  17408. #. type: table
  17409. #: guix-git/doc/guix.texi:11632
  17410. 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++."
  17411. msgstr ""
  17412. #. type: example
  17413. #: guix-git/doc/guix.texi:11639
  17414. #, no-wrap
  17415. msgid ""
  17416. "guix build octave-cli \\\n"
  17417. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  17418. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  17419. msgstr ""
  17420. #. type: table
  17421. #: guix-git/doc/guix.texi:11646
  17422. 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}."
  17423. msgstr ""
  17424. #. type: table
  17425. #: guix-git/doc/guix.texi:11650
  17426. 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:"
  17427. msgstr ""
  17428. #. type: example
  17429. #: guix-git/doc/guix.texi:11654
  17430. #, no-wrap
  17431. msgid ""
  17432. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  17433. " intel-mpi-benchmarks\n"
  17434. msgstr ""
  17435. #. type: quotation
  17436. #: guix-git/doc/guix.texi:11663
  17437. 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."
  17438. msgstr ""
  17439. #. type: item
  17440. #: guix-git/doc/guix.texi:11665
  17441. #, no-wrap
  17442. msgid "--with-git-url=@var{package}=@var{url}"
  17443. msgstr ""
  17444. #. type: cindex
  17445. #: guix-git/doc/guix.texi:11666
  17446. #, no-wrap
  17447. msgid "Git, using the latest commit"
  17448. msgstr ""
  17449. #. type: cindex
  17450. #: guix-git/doc/guix.texi:11667
  17451. #, no-wrap
  17452. msgid "latest commit, building"
  17453. msgstr ""
  17454. #. type: table
  17455. #: guix-git/doc/guix.texi:11671
  17456. 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."
  17457. msgstr ""
  17458. #. type: table
  17459. #: guix-git/doc/guix.texi:11674
  17460. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  17461. msgstr ""
  17462. #. type: example
  17463. #: guix-git/doc/guix.texi:11678
  17464. #, no-wrap
  17465. msgid ""
  17466. "guix build python-numpy \\\n"
  17467. " --with-git-url=python=https://github.com/python/cpython\n"
  17468. msgstr ""
  17469. #. type: table
  17470. #: guix-git/doc/guix.texi:11682
  17471. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  17472. msgstr ""
  17473. #. type: cindex
  17474. #: guix-git/doc/guix.texi:11683 guix-git/doc/guix.texi:29390
  17475. #, no-wrap
  17476. msgid "continuous integration"
  17477. msgstr ""
  17478. #. type: table
  17479. #: guix-git/doc/guix.texi:11689
  17480. 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)."
  17481. msgstr ""
  17482. #. type: table
  17483. #: guix-git/doc/guix.texi:11693
  17484. 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."
  17485. msgstr ""
  17486. #. type: item
  17487. #: guix-git/doc/guix.texi:11694
  17488. #, no-wrap
  17489. msgid "--with-branch=@var{package}=@var{branch}"
  17490. msgstr ""
  17491. #. type: table
  17492. #: guix-git/doc/guix.texi:11700
  17493. 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."
  17494. msgstr ""
  17495. #. type: table
  17496. #: guix-git/doc/guix.texi:11705
  17497. 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:"
  17498. msgstr ""
  17499. #. type: example
  17500. #: guix-git/doc/guix.texi:11708
  17501. #, no-wrap
  17502. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  17503. msgstr ""
  17504. #. type: item
  17505. #: guix-git/doc/guix.texi:11710
  17506. #, no-wrap
  17507. msgid "--with-commit=@var{package}=@var{commit}"
  17508. msgstr ""
  17509. #. type: table
  17510. #: guix-git/doc/guix.texi:11715
  17511. 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}."
  17512. msgstr ""
  17513. #. type: item
  17514. #: guix-git/doc/guix.texi:11716
  17515. #, no-wrap
  17516. msgid "--with-patch=@var{package}=@var{file}"
  17517. msgstr ""
  17518. #. type: table
  17519. #: guix-git/doc/guix.texi:11723
  17520. 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})."
  17521. msgstr ""
  17522. #. type: table
  17523. #: guix-git/doc/guix.texi:11726
  17524. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  17525. msgstr ""
  17526. #. type: example
  17527. #: guix-git/doc/guix.texi:11729
  17528. #, no-wrap
  17529. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  17530. msgstr ""
  17531. #. type: table
  17532. #: guix-git/doc/guix.texi:11733
  17533. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  17534. msgstr ""
  17535. #. type: cindex
  17536. #: guix-git/doc/guix.texi:11734
  17537. #, no-wrap
  17538. msgid "upstream, latest version"
  17539. msgstr ""
  17540. #. type: item
  17541. #: guix-git/doc/guix.texi:11735
  17542. #, no-wrap
  17543. msgid "--with-latest=@var{package}"
  17544. msgstr ""
  17545. #. type: table
  17546. #: guix-git/doc/guix.texi:11740
  17547. 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})."
  17548. msgstr ""
  17549. #. type: table
  17550. #: guix-git/doc/guix.texi:11744
  17551. 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."
  17552. msgstr ""
  17553. #. type: table
  17554. #: guix-git/doc/guix.texi:11747
  17555. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  17556. msgstr ""
  17557. #. type: example
  17558. #: guix-git/doc/guix.texi:11750
  17559. #, no-wrap
  17560. msgid "guix build guix --with-latest=guile-json\n"
  17561. msgstr ""
  17562. #. type: table
  17563. #: guix-git/doc/guix.texi:11759
  17564. 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."
  17565. msgstr ""
  17566. #. type: table
  17567. #: guix-git/doc/guix.texi:11764
  17568. 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})."
  17569. msgstr ""
  17570. #. type: cindex
  17571. #: guix-git/doc/guix.texi:11765
  17572. #, no-wrap
  17573. msgid "test suite, skipping"
  17574. msgstr ""
  17575. #. type: item
  17576. #: guix-git/doc/guix.texi:11766
  17577. #, no-wrap
  17578. msgid "--without-tests=@var{package}"
  17579. msgstr ""
  17580. #. type: table
  17581. #: guix-git/doc/guix.texi:11772
  17582. 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."
  17583. msgstr ""
  17584. #. type: table
  17585. #: guix-git/doc/guix.texi:11776
  17586. 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:"
  17587. msgstr ""
  17588. #. type: example
  17589. #: guix-git/doc/guix.texi:11779
  17590. #, no-wrap
  17591. msgid "guix install --without-tests=python python-notebook\n"
  17592. msgstr ""
  17593. #. type: table
  17594. #: guix-git/doc/guix.texi:11785
  17595. 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."
  17596. msgstr ""
  17597. #. type: table
  17598. #: guix-git/doc/guix.texi:11791
  17599. 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."
  17600. msgstr ""
  17601. #. type: Plain text
  17602. #: guix-git/doc/guix.texi:11798
  17603. 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."
  17604. msgstr ""
  17605. #. type: Plain text
  17606. #: guix-git/doc/guix.texi:11804
  17607. msgid "The command-line options presented below are specific to @command{guix build}."
  17608. msgstr ""
  17609. #. type: item
  17610. #: guix-git/doc/guix.texi:11807
  17611. #, no-wrap
  17612. msgid "--quiet"
  17613. msgstr ""
  17614. #. type: table
  17615. #: guix-git/doc/guix.texi:11812
  17616. 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."
  17617. msgstr ""
  17618. #. type: table
  17619. #: guix-git/doc/guix.texi:11817
  17620. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  17621. msgstr ""
  17622. #. type: table
  17623. #: guix-git/doc/guix.texi:11820
  17624. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  17625. msgstr ""
  17626. #. type: table
  17627. #: guix-git/doc/guix.texi:11829
  17628. 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}:"
  17629. msgstr ""
  17630. #. type: item
  17631. #: guix-git/doc/guix.texi:11834
  17632. #, no-wrap
  17633. msgid "--manifest=@var{manifest}"
  17634. msgstr ""
  17635. #. type: itemx
  17636. #: guix-git/doc/guix.texi:11835
  17637. #, no-wrap
  17638. msgid "-m @var{manifest}"
  17639. msgstr ""
  17640. #. type: table
  17641. #: guix-git/doc/guix.texi:11838
  17642. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  17643. msgstr ""
  17644. #. type: table
  17645. #: guix-git/doc/guix.texi:11842
  17646. msgid "Build the package or derivation @var{expr} evaluates to."
  17647. msgstr ""
  17648. #. type: table
  17649. #: guix-git/doc/guix.texi:11846
  17650. 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."
  17651. msgstr ""
  17652. #. type: table
  17653. #: guix-git/doc/guix.texi:11850
  17654. 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})."
  17655. msgstr ""
  17656. #. type: table
  17657. #: guix-git/doc/guix.texi:11854
  17658. 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}."
  17659. msgstr ""
  17660. #. type: item
  17661. #: guix-git/doc/guix.texi:11855
  17662. #, no-wrap
  17663. msgid "--source"
  17664. msgstr ""
  17665. #. type: itemx
  17666. #: guix-git/doc/guix.texi:11856
  17667. #, no-wrap
  17668. msgid "-S"
  17669. msgstr ""
  17670. #. type: table
  17671. #: guix-git/doc/guix.texi:11859
  17672. msgid "Build the source derivations of the packages, rather than the packages themselves."
  17673. msgstr ""
  17674. #. type: table
  17675. #: guix-git/doc/guix.texi:11863
  17676. 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."
  17677. msgstr ""
  17678. #. type: table
  17679. #: guix-git/doc/guix.texi:11867
  17680. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  17681. msgstr ""
  17682. #. type: cindex
  17683. #: guix-git/doc/guix.texi:11868
  17684. #, no-wrap
  17685. msgid "source, verification"
  17686. msgstr ""
  17687. #. type: table
  17688. #: guix-git/doc/guix.texi:11874
  17689. 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."
  17690. msgstr ""
  17691. #. type: table
  17692. #: guix-git/doc/guix.texi:11879
  17693. 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."
  17694. msgstr ""
  17695. #. type: item
  17696. #: guix-git/doc/guix.texi:11880
  17697. #, no-wrap
  17698. msgid "--sources"
  17699. msgstr ""
  17700. #. type: table
  17701. #: guix-git/doc/guix.texi:11887
  17702. 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:"
  17703. msgstr ""
  17704. #. type: item
  17705. #: guix-git/doc/guix.texi:11889 guix-git/doc/guix.texi:13713
  17706. #, no-wrap
  17707. msgid "package"
  17708. msgstr ""
  17709. #. type: table
  17710. #: guix-git/doc/guix.texi:11892
  17711. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  17712. msgstr ""
  17713. #. type: item
  17714. #: guix-git/doc/guix.texi:11893 guix-git/doc/guix.texi:20169
  17715. #, no-wrap
  17716. msgid "all"
  17717. msgstr ""
  17718. #. type: table
  17719. #: guix-git/doc/guix.texi:11896
  17720. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  17721. msgstr ""
  17722. #. type: example
  17723. #: guix-git/doc/guix.texi:11902
  17724. #, no-wrap
  17725. msgid ""
  17726. "$ guix build --sources tzdata\n"
  17727. "The following derivations will be built:\n"
  17728. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  17729. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17730. msgstr ""
  17731. #. type: item
  17732. #: guix-git/doc/guix.texi:11904
  17733. #, no-wrap
  17734. msgid "transitive"
  17735. msgstr ""
  17736. #. type: table
  17737. #: guix-git/doc/guix.texi:11908
  17738. 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."
  17739. msgstr ""
  17740. #. type: example
  17741. #: guix-git/doc/guix.texi:11919
  17742. #, no-wrap
  17743. msgid ""
  17744. "$ guix build --sources=transitive tzdata\n"
  17745. "The following derivations will be built:\n"
  17746. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17747. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  17748. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  17749. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  17750. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  17751. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  17752. "@dots{}\n"
  17753. msgstr ""
  17754. #. type: table
  17755. #: guix-git/doc/guix.texi:11929
  17756. 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."
  17757. msgstr ""
  17758. #. type: quotation
  17759. #: guix-git/doc/guix.texi:11934
  17760. 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."
  17761. msgstr ""
  17762. #. type: table
  17763. #: guix-git/doc/guix.texi:11941
  17764. 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."
  17765. msgstr ""
  17766. #. type: quotation
  17767. #: guix-git/doc/guix.texi:11946
  17768. 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."
  17769. msgstr ""
  17770. #. type: table
  17771. #: guix-git/doc/guix.texi:11952
  17772. 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."
  17773. msgstr ""
  17774. #. type: table
  17775. #: guix-git/doc/guix.texi:11956
  17776. 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."
  17777. msgstr ""
  17778. #. type: table
  17779. #: guix-git/doc/guix.texi:11962
  17780. 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})."
  17781. msgstr ""
  17782. #. type: anchor{#1}
  17783. #: guix-git/doc/guix.texi:11964
  17784. msgid "build-check"
  17785. msgstr ""
  17786. #. type: cindex
  17787. #: guix-git/doc/guix.texi:11965
  17788. #, no-wrap
  17789. msgid "determinism, checking"
  17790. msgstr ""
  17791. #. type: cindex
  17792. #: guix-git/doc/guix.texi:11966
  17793. #, no-wrap
  17794. msgid "reproducibility, checking"
  17795. msgstr ""
  17796. #. type: table
  17797. #: guix-git/doc/guix.texi:11970
  17798. 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."
  17799. msgstr ""
  17800. #. type: table
  17801. #: guix-git/doc/guix.texi:11975
  17802. 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."
  17803. msgstr ""
  17804. #. type: item
  17805. #: guix-git/doc/guix.texi:11980
  17806. #, no-wrap
  17807. msgid "--repair"
  17808. msgstr ""
  17809. #. type: cindex
  17810. #: guix-git/doc/guix.texi:11981
  17811. #, no-wrap
  17812. msgid "repairing store items"
  17813. msgstr ""
  17814. #. type: table
  17815. #: guix-git/doc/guix.texi:11985
  17816. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  17817. msgstr ""
  17818. #. type: table
  17819. #: guix-git/doc/guix.texi:11987
  17820. msgid "This operation is not atomic and thus restricted to @code{root}."
  17821. msgstr ""
  17822. #. type: item
  17823. #: guix-git/doc/guix.texi:11988
  17824. #, no-wrap
  17825. msgid "--derivations"
  17826. msgstr ""
  17827. #. type: table
  17828. #: guix-git/doc/guix.texi:11992
  17829. msgid "Return the derivation paths, not the output paths, of the given packages."
  17830. msgstr ""
  17831. #. type: cindex
  17832. #: guix-git/doc/guix.texi:11995
  17833. #, no-wrap
  17834. msgid "GC roots, adding"
  17835. msgstr ""
  17836. #. type: cindex
  17837. #: guix-git/doc/guix.texi:11996
  17838. #, no-wrap
  17839. msgid "garbage collector roots, adding"
  17840. msgstr ""
  17841. #. type: table
  17842. #: guix-git/doc/guix.texi:11999 guix-git/doc/guix.texi:35870
  17843. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  17844. msgstr ""
  17845. #. type: table
  17846. #: guix-git/doc/guix.texi:12005
  17847. 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."
  17848. msgstr ""
  17849. #. type: item
  17850. #: guix-git/doc/guix.texi:12006
  17851. #, no-wrap
  17852. msgid "--log-file"
  17853. msgstr ""
  17854. #. type: cindex
  17855. #: guix-git/doc/guix.texi:12007
  17856. #, no-wrap
  17857. msgid "build logs, access"
  17858. msgstr ""
  17859. #. type: table
  17860. #: guix-git/doc/guix.texi:12011
  17861. 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."
  17862. msgstr ""
  17863. #. type: table
  17864. #: guix-git/doc/guix.texi:12014
  17865. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  17866. msgstr ""
  17867. #. type: example
  17868. #: guix-git/doc/guix.texi:12020
  17869. #, no-wrap
  17870. msgid ""
  17871. "guix build --log-file $(guix build -d guile)\n"
  17872. "guix build --log-file $(guix build guile)\n"
  17873. "guix build --log-file guile\n"
  17874. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  17875. msgstr ""
  17876. #. type: table
  17877. #: guix-git/doc/guix.texi:12025
  17878. 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})."
  17879. msgstr ""
  17880. #. type: table
  17881. #: guix-git/doc/guix.texi:12028
  17882. 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:"
  17883. msgstr ""
  17884. #. type: example
  17885. #: guix-git/doc/guix.texi:12032
  17886. #, no-wrap
  17887. msgid ""
  17888. "$ guix build --log-file gdb -s aarch64-linux\n"
  17889. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  17890. msgstr ""
  17891. #. type: table
  17892. #: guix-git/doc/guix.texi:12035
  17893. msgid "You can freely access a huge library of build logs!"
  17894. msgstr ""
  17895. #. type: cindex
  17896. #: guix-git/doc/guix.texi:12040
  17897. #, no-wrap
  17898. msgid "build failures, debugging"
  17899. msgstr ""
  17900. #. type: Plain text
  17901. #: guix-git/doc/guix.texi:12046
  17902. 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."
  17903. msgstr ""
  17904. #. type: Plain text
  17905. #: guix-git/doc/guix.texi:12051
  17906. 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}})."
  17907. msgstr ""
  17908. #. type: Plain text
  17909. #: guix-git/doc/guix.texi:12057
  17910. 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:"
  17911. msgstr ""
  17912. #. type: example
  17913. #: guix-git/doc/guix.texi:12064
  17914. #, no-wrap
  17915. msgid ""
  17916. "$ guix build foo -K\n"
  17917. "@dots{} @i{build fails}\n"
  17918. "$ cd /tmp/guix-build-foo.drv-0\n"
  17919. "$ source ./environment-variables\n"
  17920. "$ cd foo-1.2\n"
  17921. msgstr ""
  17922. #. type: Plain text
  17923. #: guix-git/doc/guix.texi:12068
  17924. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  17925. msgstr ""
  17926. #. type: Plain text
  17927. #: guix-git/doc/guix.texi:12074
  17928. 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})."
  17929. msgstr ""
  17930. #. type: Plain text
  17931. #: guix-git/doc/guix.texi:12077
  17932. 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:"
  17933. msgstr ""
  17934. #. type: example
  17935. #: guix-git/doc/guix.texi:12085
  17936. #, no-wrap
  17937. msgid ""
  17938. "$ guix build -K foo\n"
  17939. "@dots{}\n"
  17940. "$ cd /tmp/guix-build-foo.drv-0\n"
  17941. "$ guix shell --no-grafts -C -D foo strace gdb\n"
  17942. "[env]# source ./environment-variables\n"
  17943. "[env]# cd foo-1.2\n"
  17944. msgstr ""
  17945. #. type: Plain text
  17946. #: guix-git/doc/guix.texi:12094
  17947. 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)."
  17948. msgstr ""
  17949. #. type: Plain text
  17950. #: guix-git/doc/guix.texi:12097
  17951. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  17952. msgstr ""
  17953. #. type: example
  17954. #: guix-git/doc/guix.texi:12100
  17955. #, no-wrap
  17956. msgid "[env]# rm /bin/sh\n"
  17957. msgstr ""
  17958. #. type: Plain text
  17959. #: guix-git/doc/guix.texi:12104
  17960. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix shell}.)"
  17961. msgstr ""
  17962. #. type: Plain text
  17963. #: guix-git/doc/guix.texi:12107
  17964. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  17965. msgstr ""
  17966. #. type: example
  17967. #: guix-git/doc/guix.texi:12110
  17968. #, no-wrap
  17969. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  17970. msgstr ""
  17971. #. type: Plain text
  17972. #: guix-git/doc/guix.texi:12115
  17973. 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."
  17974. msgstr ""
  17975. #. type: section
  17976. #: guix-git/doc/guix.texi:12118
  17977. #, no-wrap
  17978. msgid "Invoking @command{guix edit}"
  17979. msgstr ""
  17980. #. type: command{#1}
  17981. #: guix-git/doc/guix.texi:12120
  17982. #, no-wrap
  17983. msgid "guix edit"
  17984. msgstr ""
  17985. #. type: cindex
  17986. #: guix-git/doc/guix.texi:12121
  17987. #, no-wrap
  17988. msgid "package definition, editing"
  17989. msgstr ""
  17990. #. type: Plain text
  17991. #: guix-git/doc/guix.texi:12126
  17992. 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:"
  17993. msgstr ""
  17994. #. type: example
  17995. #: guix-git/doc/guix.texi:12129
  17996. #, no-wrap
  17997. msgid "guix edit gcc@@4.9 vim\n"
  17998. msgstr ""
  17999. #. type: Plain text
  18000. #: guix-git/doc/guix.texi:12135
  18001. 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."
  18002. msgstr ""
  18003. #. type: Plain text
  18004. #: guix-git/doc/guix.texi:12141
  18005. 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."
  18006. msgstr ""
  18007. #. type: Plain text
  18008. #: guix-git/doc/guix.texi:12146
  18009. 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."
  18010. msgstr ""
  18011. #. type: section
  18012. #: guix-git/doc/guix.texi:12148
  18013. #, no-wrap
  18014. msgid "Invoking @command{guix download}"
  18015. msgstr ""
  18016. #. type: command{#1}
  18017. #: guix-git/doc/guix.texi:12150
  18018. #, no-wrap
  18019. msgid "guix download"
  18020. msgstr ""
  18021. #. type: cindex
  18022. #: guix-git/doc/guix.texi:12151
  18023. #, no-wrap
  18024. msgid "downloading package sources"
  18025. msgstr ""
  18026. #. type: Plain text
  18027. #: guix-git/doc/guix.texi:12158
  18028. 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."
  18029. msgstr ""
  18030. #. type: Plain text
  18031. #: guix-git/doc/guix.texi:12165
  18032. 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})."
  18033. msgstr ""
  18034. #. type: Plain text
  18035. #: guix-git/doc/guix.texi:12173
  18036. 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."
  18037. msgstr ""
  18038. #. type: Plain text
  18039. #: guix-git/doc/guix.texi:12178
  18040. 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."
  18041. msgstr ""
  18042. #. type: Plain text
  18043. #: guix-git/doc/guix.texi:12180 guix-git/doc/guix.texi:14026
  18044. msgid "The following options are available:"
  18045. msgstr ""
  18046. #. type: item
  18047. #: guix-git/doc/guix.texi:12182 guix-git/doc/guix.texi:12226
  18048. #, no-wrap
  18049. msgid "--hash=@var{algorithm}"
  18050. msgstr ""
  18051. #. type: itemx
  18052. #: guix-git/doc/guix.texi:12183 guix-git/doc/guix.texi:12227
  18053. #, no-wrap
  18054. msgid "-H @var{algorithm}"
  18055. msgstr ""
  18056. #. type: table
  18057. #: guix-git/doc/guix.texi:12186
  18058. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  18059. msgstr ""
  18060. #. type: item
  18061. #: guix-git/doc/guix.texi:12187 guix-git/doc/guix.texi:12236
  18062. #, no-wrap
  18063. msgid "--format=@var{fmt}"
  18064. msgstr ""
  18065. #. type: itemx
  18066. #: guix-git/doc/guix.texi:12188 guix-git/doc/guix.texi:12237
  18067. #, no-wrap
  18068. msgid "-f @var{fmt}"
  18069. msgstr ""
  18070. #. type: table
  18071. #: guix-git/doc/guix.texi:12191
  18072. 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}."
  18073. msgstr ""
  18074. #. type: item
  18075. #: guix-git/doc/guix.texi:12192
  18076. #, no-wrap
  18077. msgid "--no-check-certificate"
  18078. msgstr ""
  18079. #. type: table
  18080. #: guix-git/doc/guix.texi:12194
  18081. msgid "Do not validate the X.509 certificates of HTTPS servers."
  18082. msgstr ""
  18083. #. type: table
  18084. #: guix-git/doc/guix.texi:12198
  18085. 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."
  18086. msgstr ""
  18087. #. type: item
  18088. #: guix-git/doc/guix.texi:12199
  18089. #, no-wrap
  18090. msgid "--output=@var{file}"
  18091. msgstr ""
  18092. #. type: itemx
  18093. #: guix-git/doc/guix.texi:12200
  18094. #, no-wrap
  18095. msgid "-o @var{file}"
  18096. msgstr ""
  18097. #. type: table
  18098. #: guix-git/doc/guix.texi:12203
  18099. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  18100. msgstr ""
  18101. #. type: section
  18102. #: guix-git/doc/guix.texi:12206
  18103. #, no-wrap
  18104. msgid "Invoking @command{guix hash}"
  18105. msgstr ""
  18106. #. type: command{#1}
  18107. #: guix-git/doc/guix.texi:12208
  18108. #, no-wrap
  18109. msgid "guix hash"
  18110. msgstr ""
  18111. #. type: Plain text
  18112. #: guix-git/doc/guix.texi:12213
  18113. 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})."
  18114. msgstr ""
  18115. #. type: example
  18116. #: guix-git/doc/guix.texi:12218
  18117. #, no-wrap
  18118. msgid "guix hash @var{option} @var{file} ...\n"
  18119. msgstr ""
  18120. #. type: Plain text
  18121. #: guix-git/doc/guix.texi:12223
  18122. 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:"
  18123. msgstr ""
  18124. #. type: table
  18125. #: guix-git/doc/guix.texi:12230
  18126. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  18127. msgstr ""
  18128. #. type: table
  18129. #: guix-git/doc/guix.texi:12235
  18130. 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})."
  18131. msgstr ""
  18132. #. type: table
  18133. #: guix-git/doc/guix.texi:12239
  18134. msgid "Write the hash in the format specified by @var{fmt}."
  18135. msgstr ""
  18136. #. type: table
  18137. #: guix-git/doc/guix.texi:12242
  18138. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  18139. msgstr ""
  18140. #. type: table
  18141. #: guix-git/doc/guix.texi:12246
  18142. 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."
  18143. msgstr ""
  18144. #. type: table
  18145. #: guix-git/doc/guix.texi:12252
  18146. msgid "The @option{--recursive} option is deprecated in favor of @option{--serializer=nar} (see below); @option{-r} remains accepted as a convenient shorthand."
  18147. msgstr ""
  18148. #. type: item
  18149. #: guix-git/doc/guix.texi:12253
  18150. #, no-wrap
  18151. msgid "--serializer=@var{type}"
  18152. msgstr ""
  18153. #. type: itemx
  18154. #: guix-git/doc/guix.texi:12254
  18155. #, no-wrap
  18156. msgid "-S @var{type}"
  18157. msgstr ""
  18158. #. type: table
  18159. #: guix-git/doc/guix.texi:12256
  18160. msgid "Compute the hash on @var{file} using @var{type} serialization."
  18161. msgstr ""
  18162. #. type: table
  18163. #: guix-git/doc/guix.texi:12258
  18164. msgid "@var{type} may be one of the following:"
  18165. msgstr ""
  18166. #. type: item
  18167. #: guix-git/doc/guix.texi:12260 guix-git/doc/guix.texi:14379
  18168. #: guix-git/doc/guix.texi:17892 guix-git/doc/guix.texi:20166
  18169. #, no-wrap
  18170. msgid "none"
  18171. msgstr ""
  18172. #. type: table
  18173. #: guix-git/doc/guix.texi:12262
  18174. msgid "This is the default: it computes the hash of a file's contents."
  18175. msgstr ""
  18176. #. type: item
  18177. #: guix-git/doc/guix.texi:12263
  18178. #, no-wrap
  18179. msgid "nar"
  18180. msgstr ""
  18181. #. type: table
  18182. #: guix-git/doc/guix.texi:12273
  18183. 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)."
  18184. msgstr ""
  18185. #. type: item
  18186. #: guix-git/doc/guix.texi:12274
  18187. #, no-wrap
  18188. msgid "git"
  18189. msgstr ""
  18190. #. type: table
  18191. #: guix-git/doc/guix.texi:12277
  18192. msgid "Compute the hash of the file or directory as a Git ``tree'', following the same method as the Git version control system."
  18193. msgstr ""
  18194. #. type: item
  18195. #: guix-git/doc/guix.texi:12279
  18196. #, no-wrap
  18197. msgid "--exclude-vcs"
  18198. msgstr ""
  18199. #. type: itemx
  18200. #: guix-git/doc/guix.texi:12280 guix-git/doc/guix.texi:13499
  18201. #, no-wrap
  18202. msgid "-x"
  18203. msgstr ""
  18204. #. type: table
  18205. #: guix-git/doc/guix.texi:12283
  18206. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  18207. msgstr ""
  18208. #. type: vindex
  18209. #: guix-git/doc/guix.texi:12284
  18210. #, no-wrap
  18211. msgid "git-fetch"
  18212. msgstr ""
  18213. #. type: table
  18214. #: guix-git/doc/guix.texi:12288
  18215. 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}):"
  18216. msgstr ""
  18217. #. type: example
  18218. #: guix-git/doc/guix.texi:12293
  18219. #, no-wrap
  18220. msgid ""
  18221. "$ git clone http://example.org/foo.git\n"
  18222. "$ cd foo\n"
  18223. "$ guix hash -x --serializer=nar .\n"
  18224. msgstr ""
  18225. #. type: cindex
  18226. #: guix-git/doc/guix.texi:12297 guix-git/doc/guix.texi:12302
  18227. #, no-wrap
  18228. msgid "Invoking @command{guix import}"
  18229. msgstr ""
  18230. #. type: cindex
  18231. #: guix-git/doc/guix.texi:12299
  18232. #, no-wrap
  18233. msgid "importing packages"
  18234. msgstr ""
  18235. #. type: cindex
  18236. #: guix-git/doc/guix.texi:12300
  18237. #, no-wrap
  18238. msgid "package import"
  18239. msgstr ""
  18240. #. type: cindex
  18241. #: guix-git/doc/guix.texi:12301
  18242. #, no-wrap
  18243. msgid "package conversion"
  18244. msgstr ""
  18245. #. type: Plain text
  18246. #: guix-git/doc/guix.texi:12309
  18247. 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})."
  18248. msgstr ""
  18249. #. type: example
  18250. #: guix-git/doc/guix.texi:12314
  18251. #, no-wrap
  18252. msgid "guix import @var{importer} @var{options}@dots{}\n"
  18253. msgstr ""
  18254. #. type: Plain text
  18255. #: guix-git/doc/guix.texi:12319
  18256. 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}."
  18257. msgstr ""
  18258. #. type: Plain text
  18259. #: guix-git/doc/guix.texi:12323
  18260. 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."
  18261. msgstr ""
  18262. #. type: Plain text
  18263. #: guix-git/doc/guix.texi:12325
  18264. msgid "Currently, the available ``importers'' are:"
  18265. msgstr ""
  18266. #. type: item
  18267. #: guix-git/doc/guix.texi:12327 guix-git/doc/guix.texi:12965
  18268. #, no-wrap
  18269. msgid "gnu"
  18270. msgstr ""
  18271. #. type: table
  18272. #: guix-git/doc/guix.texi:12331
  18273. 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."
  18274. msgstr ""
  18275. #. type: table
  18276. #: guix-git/doc/guix.texi:12334
  18277. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  18278. msgstr ""
  18279. #. type: table
  18280. #: guix-git/doc/guix.texi:12337
  18281. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  18282. msgstr ""
  18283. #. type: example
  18284. #: guix-git/doc/guix.texi:12340
  18285. #, no-wrap
  18286. msgid "guix import gnu hello\n"
  18287. msgstr ""
  18288. #. type: table
  18289. #: guix-git/doc/guix.texi:12343 guix-git/doc/guix.texi:12584
  18290. #: guix-git/doc/guix.texi:12634 guix-git/doc/guix.texi:12663
  18291. msgid "Specific command-line options are:"
  18292. msgstr ""
  18293. #. type: item
  18294. #: guix-git/doc/guix.texi:12345 guix-git/doc/guix.texi:13162
  18295. #, no-wrap
  18296. msgid "--key-download=@var{policy}"
  18297. msgstr ""
  18298. #. type: table
  18299. #: guix-git/doc/guix.texi:12349
  18300. 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}}."
  18301. msgstr ""
  18302. #. type: item
  18303. #: guix-git/doc/guix.texi:12351 guix-git/doc/guix.texi:12352
  18304. #: guix-git/doc/guix.texi:12989
  18305. #, no-wrap
  18306. msgid "pypi"
  18307. msgstr ""
  18308. #. type: table
  18309. #: guix-git/doc/guix.texi:12359
  18310. 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."
  18311. msgstr ""
  18312. #. type: table
  18313. #: guix-git/doc/guix.texi:12362
  18314. msgid "The command below imports metadata for the latest version of the @code{itsdangerous} Python package:"
  18315. msgstr ""
  18316. #. type: example
  18317. #: guix-git/doc/guix.texi:12365
  18318. #, no-wrap
  18319. msgid "guix import pypi itsdangerous\n"
  18320. msgstr ""
  18321. #. type: table
  18322. #: guix-git/doc/guix.texi:12368 guix-git/doc/guix.texi:12471
  18323. #: guix-git/doc/guix.texi:12812
  18324. msgid "You can also ask for a specific version:"
  18325. msgstr ""
  18326. #. type: example
  18327. #: guix-git/doc/guix.texi:12371
  18328. #, no-wrap
  18329. msgid "guix import pypi itsdangerous@@1.1.0\n"
  18330. msgstr ""
  18331. #. type: table
  18332. #: guix-git/doc/guix.texi:12379 guix-git/doc/guix.texi:12404
  18333. #: guix-git/doc/guix.texi:12436 guix-git/doc/guix.texi:12607
  18334. #: guix-git/doc/guix.texi:12648 guix-git/doc/guix.texi:12699
  18335. #: guix-git/doc/guix.texi:12724 guix-git/doc/guix.texi:12740
  18336. #: guix-git/doc/guix.texi:12788 guix-git/doc/guix.texi:12824
  18337. 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."
  18338. msgstr ""
  18339. #. type: item
  18340. #: guix-git/doc/guix.texi:12381 guix-git/doc/guix.texi:12382
  18341. #: guix-git/doc/guix.texi:12991
  18342. #, no-wrap
  18343. msgid "gem"
  18344. msgstr ""
  18345. #. type: table
  18346. #: guix-git/doc/guix.texi:12391
  18347. 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."
  18348. msgstr ""
  18349. #. type: table
  18350. #: guix-git/doc/guix.texi:12393
  18351. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  18352. msgstr ""
  18353. #. type: example
  18354. #: guix-git/doc/guix.texi:12396
  18355. #, no-wrap
  18356. msgid "guix import gem rails\n"
  18357. msgstr ""
  18358. #. type: cindex
  18359. #: guix-git/doc/guix.texi:12406 guix-git/doc/guix.texi:12407
  18360. #, no-wrap
  18361. msgid "minetest"
  18362. msgstr ""
  18363. #. type: cindex
  18364. #: guix-git/doc/guix.texi:12408
  18365. #, no-wrap
  18366. msgid "ContentDB"
  18367. msgstr ""
  18368. #. type: table
  18369. #: guix-git/doc/guix.texi:12417
  18370. 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."
  18371. msgstr ""
  18372. #. type: table
  18373. #: guix-git/doc/guix.texi:12419
  18374. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  18375. msgstr ""
  18376. #. type: example
  18377. #: guix-git/doc/guix.texi:12422
  18378. #, no-wrap
  18379. msgid "guix import minetest Jeija/mesecons\n"
  18380. msgstr ""
  18381. #. type: table
  18382. #: guix-git/doc/guix.texi:12425
  18383. msgid "The author name can also be left out:"
  18384. msgstr ""
  18385. #. type: example
  18386. #: guix-git/doc/guix.texi:12428
  18387. #, no-wrap
  18388. msgid "guix import minetest mesecons\n"
  18389. msgstr ""
  18390. #. type: item
  18391. #: guix-git/doc/guix.texi:12438 guix-git/doc/guix.texi:12987
  18392. #, no-wrap
  18393. msgid "cpan"
  18394. msgstr ""
  18395. #. type: cindex
  18396. #: guix-git/doc/guix.texi:12439
  18397. #, no-wrap
  18398. msgid "CPAN"
  18399. msgstr ""
  18400. #. type: table
  18401. #: guix-git/doc/guix.texi:12447
  18402. 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."
  18403. msgstr ""
  18404. #. type: table
  18405. #: guix-git/doc/guix.texi:12450
  18406. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  18407. msgstr ""
  18408. #. type: example
  18409. #: guix-git/doc/guix.texi:12453
  18410. #, no-wrap
  18411. msgid "guix import cpan Acme::Boolean\n"
  18412. msgstr ""
  18413. #. type: item
  18414. #: guix-git/doc/guix.texi:12455 guix-git/doc/guix.texi:12983
  18415. #, no-wrap
  18416. msgid "cran"
  18417. msgstr ""
  18418. #. type: cindex
  18419. #: guix-git/doc/guix.texi:12456
  18420. #, no-wrap
  18421. msgid "CRAN"
  18422. msgstr ""
  18423. #. type: cindex
  18424. #: guix-git/doc/guix.texi:12457
  18425. #, no-wrap
  18426. msgid "Bioconductor"
  18427. msgstr ""
  18428. #. type: table
  18429. #: guix-git/doc/guix.texi:12461
  18430. 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}."
  18431. msgstr ""
  18432. #. type: table
  18433. #: guix-git/doc/guix.texi:12463
  18434. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  18435. msgstr ""
  18436. #. type: table
  18437. #: guix-git/doc/guix.texi:12465
  18438. msgid "The command command below imports metadata for the Cairo R package:"
  18439. msgstr ""
  18440. #. type: example
  18441. #: guix-git/doc/guix.texi:12468
  18442. #, no-wrap
  18443. msgid "guix import cran Cairo\n"
  18444. msgstr ""
  18445. #. type: example
  18446. #: guix-git/doc/guix.texi:12474
  18447. #, no-wrap
  18448. msgid "guix import cran rasterVis@@0.50.3\n"
  18449. msgstr ""
  18450. #. type: table
  18451. #: guix-git/doc/guix.texi:12479
  18452. 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."
  18453. msgstr ""
  18454. #. type: table
  18455. #: guix-git/doc/guix.texi:12486
  18456. 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}."
  18457. msgstr ""
  18458. #. type: table
  18459. #: guix-git/doc/guix.texi:12491
  18460. 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."
  18461. msgstr ""
  18462. #. type: table
  18463. #: guix-git/doc/guix.texi:12494
  18464. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  18465. msgstr ""
  18466. #. type: table
  18467. #: guix-git/doc/guix.texi:12496
  18468. msgid "The command below imports metadata for the GenomicRanges R package:"
  18469. msgstr ""
  18470. #. type: example
  18471. #: guix-git/doc/guix.texi:12499
  18472. #, no-wrap
  18473. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  18474. msgstr ""
  18475. #. type: table
  18476. #: guix-git/doc/guix.texi:12504
  18477. 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:"
  18478. msgstr ""
  18479. #. type: example
  18480. #: guix-git/doc/guix.texi:12507
  18481. #, no-wrap
  18482. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  18483. msgstr ""
  18484. #. type: item
  18485. #: guix-git/doc/guix.texi:12509
  18486. #, no-wrap
  18487. msgid "texlive"
  18488. msgstr ""
  18489. #. type: cindex
  18490. #: guix-git/doc/guix.texi:12510
  18491. #, no-wrap
  18492. msgid "TeX Live"
  18493. msgstr ""
  18494. #. type: cindex
  18495. #: guix-git/doc/guix.texi:12511
  18496. #, no-wrap
  18497. msgid "CTAN"
  18498. msgstr ""
  18499. #. type: table
  18500. #: guix-git/doc/guix.texi:12515
  18501. 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}."
  18502. msgstr ""
  18503. #. type: table
  18504. #: guix-git/doc/guix.texi:12520
  18505. 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."
  18506. msgstr ""
  18507. #. type: table
  18508. #: guix-git/doc/guix.texi:12523
  18509. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  18510. msgstr ""
  18511. #. type: example
  18512. #: guix-git/doc/guix.texi:12526
  18513. #, no-wrap
  18514. msgid "guix import texlive fontspec\n"
  18515. msgstr ""
  18516. #. type: cindex
  18517. #: guix-git/doc/guix.texi:12529
  18518. #, no-wrap
  18519. msgid "JSON, import"
  18520. msgstr ""
  18521. #. type: table
  18522. #: guix-git/doc/guix.texi:12532
  18523. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  18524. msgstr ""
  18525. #. type: example
  18526. #: guix-git/doc/guix.texi:12545
  18527. #, no-wrap
  18528. msgid ""
  18529. "@{\n"
  18530. " \"name\": \"hello\",\n"
  18531. " \"version\": \"2.10\",\n"
  18532. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18533. " \"build-system\": \"gnu\",\n"
  18534. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  18535. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  18536. " \"description\": \"GNU Hello prints a greeting.\",\n"
  18537. " \"license\": \"GPL-3.0+\",\n"
  18538. " \"native-inputs\": [\"gettext\"]\n"
  18539. "@}\n"
  18540. msgstr ""
  18541. #. type: table
  18542. #: guix-git/doc/guix.texi:12551
  18543. 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}."
  18544. msgstr ""
  18545. #. type: table
  18546. #: guix-git/doc/guix.texi:12554
  18547. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  18548. msgstr ""
  18549. #. type: example
  18550. #: guix-git/doc/guix.texi:12567
  18551. #, no-wrap
  18552. msgid ""
  18553. "@{\n"
  18554. " @dots{}\n"
  18555. " \"source\": @{\n"
  18556. " \"method\": \"url-fetch\",\n"
  18557. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18558. " \"sha256\": @{\n"
  18559. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  18560. " @}\n"
  18561. " @}\n"
  18562. " @dots{}\n"
  18563. "@}\n"
  18564. msgstr ""
  18565. #. type: table
  18566. #: guix-git/doc/guix.texi:12571
  18567. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  18568. msgstr ""
  18569. #. type: example
  18570. #: guix-git/doc/guix.texi:12574
  18571. #, no-wrap
  18572. msgid "guix import json hello.json\n"
  18573. msgstr ""
  18574. #. type: item
  18575. #: guix-git/doc/guix.texi:12576 guix-git/doc/guix.texi:12577
  18576. #: guix-git/doc/guix.texi:12995
  18577. #, no-wrap
  18578. msgid "hackage"
  18579. msgstr ""
  18580. #. type: table
  18581. #: guix-git/doc/guix.texi:12582
  18582. 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."
  18583. msgstr ""
  18584. #. type: item
  18585. #: guix-git/doc/guix.texi:12586
  18586. #, no-wrap
  18587. msgid "--stdin"
  18588. msgstr ""
  18589. #. type: itemx
  18590. #: guix-git/doc/guix.texi:12587
  18591. #, no-wrap
  18592. msgid "-s"
  18593. msgstr ""
  18594. #. type: table
  18595. #: guix-git/doc/guix.texi:12589
  18596. msgid "Read a Cabal file from standard input."
  18597. msgstr ""
  18598. #. type: item
  18599. #: guix-git/doc/guix.texi:12589 guix-git/doc/guix.texi:12636
  18600. #, no-wrap
  18601. msgid "--no-test-dependencies"
  18602. msgstr ""
  18603. #. type: table
  18604. #: guix-git/doc/guix.texi:12592 guix-git/doc/guix.texi:12639
  18605. msgid "Do not include dependencies required only by the test suites."
  18606. msgstr ""
  18607. #. type: item
  18608. #: guix-git/doc/guix.texi:12592
  18609. #, no-wrap
  18610. msgid "--cabal-environment=@var{alist}"
  18611. msgstr ""
  18612. #. type: itemx
  18613. #: guix-git/doc/guix.texi:12593
  18614. #, no-wrap
  18615. msgid "-e @var{alist}"
  18616. msgstr ""
  18617. #. type: table
  18618. #: guix-git/doc/guix.texi:12602
  18619. 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."
  18620. msgstr ""
  18621. #. type: table
  18622. #: guix-git/doc/guix.texi:12612
  18623. 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}:"
  18624. msgstr ""
  18625. #. type: example
  18626. #: guix-git/doc/guix.texi:12615
  18627. #, no-wrap
  18628. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  18629. msgstr ""
  18630. #. type: table
  18631. #: guix-git/doc/guix.texi:12619
  18632. 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:"
  18633. msgstr ""
  18634. #. type: example
  18635. #: guix-git/doc/guix.texi:12622
  18636. #, no-wrap
  18637. msgid "guix import hackage mtl@@2.1.3.1\n"
  18638. msgstr ""
  18639. #. type: item
  18640. #: guix-git/doc/guix.texi:12624 guix-git/doc/guix.texi:12625
  18641. #: guix-git/doc/guix.texi:12997
  18642. #, no-wrap
  18643. msgid "stackage"
  18644. msgstr ""
  18645. #. type: table
  18646. #: guix-git/doc/guix.texi:12632
  18647. 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."
  18648. msgstr ""
  18649. #. type: item
  18650. #: guix-git/doc/guix.texi:12639
  18651. #, no-wrap
  18652. msgid "--lts-version=@var{version}"
  18653. msgstr ""
  18654. #. type: itemx
  18655. #: guix-git/doc/guix.texi:12640
  18656. #, no-wrap
  18657. msgid "-l @var{version}"
  18658. msgstr ""
  18659. #. type: table
  18660. #: guix-git/doc/guix.texi:12643
  18661. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  18662. msgstr ""
  18663. #. type: table
  18664. #: guix-git/doc/guix.texi:12652
  18665. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  18666. msgstr ""
  18667. #. type: example
  18668. #: guix-git/doc/guix.texi:12655
  18669. #, no-wrap
  18670. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  18671. msgstr ""
  18672. #. type: item
  18673. #: guix-git/doc/guix.texi:12657 guix-git/doc/guix.texi:12658
  18674. #: guix-git/doc/guix.texi:12981
  18675. #, no-wrap
  18676. msgid "elpa"
  18677. msgstr ""
  18678. #. type: table
  18679. #: guix-git/doc/guix.texi:12661
  18680. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  18681. msgstr ""
  18682. #. type: item
  18683. #: guix-git/doc/guix.texi:12665
  18684. #, no-wrap
  18685. msgid "--archive=@var{repo}"
  18686. msgstr ""
  18687. #. type: itemx
  18688. #: guix-git/doc/guix.texi:12666
  18689. #, no-wrap
  18690. msgid "-a @var{repo}"
  18691. msgstr ""
  18692. #. type: table
  18693. #: guix-git/doc/guix.texi:12670
  18694. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  18695. msgstr ""
  18696. #. type: itemize
  18697. #: guix-git/doc/guix.texi:12674
  18698. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  18699. msgstr ""
  18700. #. type: itemize
  18701. #: guix-git/doc/guix.texi:12680
  18702. 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})."
  18703. msgstr ""
  18704. #. type: itemize
  18705. #: guix-git/doc/guix.texi:12684
  18706. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  18707. msgstr ""
  18708. #. type: itemize
  18709. #: guix-git/doc/guix.texi:12688
  18710. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  18711. msgstr ""
  18712. #. type: itemize
  18713. #: guix-git/doc/guix.texi:12692
  18714. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  18715. msgstr ""
  18716. #. type: item
  18717. #: guix-git/doc/guix.texi:12701 guix-git/doc/guix.texi:12702
  18718. #: guix-git/doc/guix.texi:12999
  18719. #, no-wrap
  18720. msgid "crate"
  18721. msgstr ""
  18722. #. type: table
  18723. #: guix-git/doc/guix.texi:12705
  18724. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  18725. msgstr ""
  18726. #. type: example
  18727. #: guix-git/doc/guix.texi:12708
  18728. #, no-wrap
  18729. msgid "guix import crate blake2-rfc\n"
  18730. msgstr ""
  18731. #. type: table
  18732. #: guix-git/doc/guix.texi:12711
  18733. msgid "The crate importer also allows you to specify a version string:"
  18734. msgstr ""
  18735. #. type: example
  18736. #: guix-git/doc/guix.texi:12714
  18737. #, no-wrap
  18738. msgid "guix import crate constant-time-eq@@0.1.0\n"
  18739. msgstr ""
  18740. #. type: table
  18741. #: guix-git/doc/guix.texi:12717 guix-git/doc/guix.texi:12733
  18742. #: guix-git/doc/guix.texi:12781 guix-git/doc/guix.texi:12818
  18743. msgid "Additional options include:"
  18744. msgstr ""
  18745. #. type: item
  18746. #: guix-git/doc/guix.texi:12726
  18747. #, no-wrap
  18748. msgid "opam"
  18749. msgstr ""
  18750. #. type: cindex
  18751. #: guix-git/doc/guix.texi:12727
  18752. #, no-wrap
  18753. msgid "OPAM"
  18754. msgstr ""
  18755. #. type: cindex
  18756. #: guix-git/doc/guix.texi:12728
  18757. #, no-wrap
  18758. msgid "OCaml"
  18759. msgstr ""
  18760. #. type: table
  18761. #: guix-git/doc/guix.texi:12731
  18762. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  18763. msgstr ""
  18764. #. type: item
  18765. #: guix-git/doc/guix.texi:12740
  18766. #, no-wrap
  18767. msgid "--repo"
  18768. msgstr ""
  18769. #. type: table
  18770. #: guix-git/doc/guix.texi:12744
  18771. 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:"
  18772. msgstr ""
  18773. #. type: item
  18774. #: guix-git/doc/guix.texi:12746
  18775. #, no-wrap
  18776. msgid "the name of a known repository - can be one of @code{opam},"
  18777. msgstr ""
  18778. #. type: itemize
  18779. #: guix-git/doc/guix.texi:12749
  18780. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  18781. msgstr ""
  18782. #. type: item
  18783. #: guix-git/doc/guix.texi:12749
  18784. #, no-wrap
  18785. msgid "the URL of a repository as expected by the"
  18786. msgstr ""
  18787. #. type: itemize
  18788. #: guix-git/doc/guix.texi:12753
  18789. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  18790. msgstr ""
  18791. #. type: item
  18792. #: guix-git/doc/guix.texi:12753
  18793. #, no-wrap
  18794. msgid "the path to a local copy of a repository (a directory containing a"
  18795. msgstr ""
  18796. #. type: itemize
  18797. #: guix-git/doc/guix.texi:12755
  18798. msgid "@file{packages/} sub-directory)."
  18799. msgstr ""
  18800. #. type: table
  18801. #: guix-git/doc/guix.texi:12760
  18802. 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."
  18803. msgstr ""
  18804. #. type: table
  18805. #: guix-git/doc/guix.texi:12765
  18806. 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}."
  18807. msgstr ""
  18808. #. type: cindex
  18809. #: guix-git/doc/guix.texi:12768 guix-git/doc/guix.texi:12769
  18810. #, no-wrap
  18811. msgid "go"
  18812. msgstr ""
  18813. #. type: table
  18814. #: guix-git/doc/guix.texi:12772
  18815. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  18816. msgstr ""
  18817. #. type: example
  18818. #: guix-git/doc/guix.texi:12775
  18819. #, no-wrap
  18820. msgid "guix import go gopkg.in/yaml.v2\n"
  18821. msgstr ""
  18822. #. type: table
  18823. #: guix-git/doc/guix.texi:12779
  18824. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  18825. msgstr ""
  18826. #. type: item
  18827. #: guix-git/doc/guix.texi:12788
  18828. #, no-wrap
  18829. msgid "--pin-versions"
  18830. msgstr ""
  18831. #. type: table
  18832. #: guix-git/doc/guix.texi:12796
  18833. 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."
  18834. msgstr ""
  18835. #. type: item
  18836. #: guix-git/doc/guix.texi:12798 guix-git/doc/guix.texi:12799
  18837. #: guix-git/doc/guix.texi:12979
  18838. #, no-wrap
  18839. msgid "egg"
  18840. msgstr ""
  18841. #. type: table
  18842. #: guix-git/doc/guix.texi:12806
  18843. 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)."
  18844. msgstr ""
  18845. #. type: example
  18846. #: guix-git/doc/guix.texi:12809
  18847. #, no-wrap
  18848. msgid "guix import egg sourcehut\n"
  18849. msgstr ""
  18850. #. type: example
  18851. #: guix-git/doc/guix.texi:12815
  18852. #, no-wrap
  18853. msgid "guix import egg arrays@@1.0\n"
  18854. msgstr ""
  18855. #. type: Plain text
  18856. #: guix-git/doc/guix.texi:12830
  18857. 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})."
  18858. msgstr ""
  18859. #. type: section
  18860. #: guix-git/doc/guix.texi:12832
  18861. #, no-wrap
  18862. msgid "Invoking @command{guix refresh}"
  18863. msgstr ""
  18864. #. type: command{#1}
  18865. #: guix-git/doc/guix.texi:12834
  18866. #, no-wrap
  18867. msgid "guix refresh"
  18868. msgstr ""
  18869. #. type: Plain text
  18870. #: guix-git/doc/guix.texi:12842
  18871. 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:"
  18872. msgstr ""
  18873. #. type: example
  18874. #: guix-git/doc/guix.texi:12847
  18875. #, no-wrap
  18876. msgid ""
  18877. "$ guix refresh\n"
  18878. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  18879. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  18880. msgstr ""
  18881. #. type: Plain text
  18882. #: guix-git/doc/guix.texi:12851
  18883. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  18884. msgstr ""
  18885. #. type: example
  18886. #: guix-git/doc/guix.texi:12856
  18887. #, no-wrap
  18888. msgid ""
  18889. "$ guix refresh coreutils guile guile-ssh\n"
  18890. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  18891. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  18892. msgstr ""
  18893. #. type: Plain text
  18894. #: guix-git/doc/guix.texi:12865
  18895. 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!"
  18896. msgstr ""
  18897. #. type: table
  18898. #: guix-git/doc/guix.texi:12870
  18899. msgid "Consider the packages specified, and all the packages upon which they depend."
  18900. msgstr ""
  18901. #. type: example
  18902. #: guix-git/doc/guix.texi:12878
  18903. #, no-wrap
  18904. msgid ""
  18905. "$ guix refresh --recursive coreutils\n"
  18906. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  18907. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  18908. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  18909. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  18910. "@dots{}\n"
  18911. msgstr ""
  18912. #. type: Plain text
  18913. #: guix-git/doc/guix.texi:12886
  18914. 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:"
  18915. msgstr ""
  18916. #. type: lisp
  18917. #: guix-git/doc/guix.texi:12893
  18918. #, no-wrap
  18919. msgid ""
  18920. "(define-public network-manager\n"
  18921. " (package\n"
  18922. " (name \"network-manager\")\n"
  18923. " ;; @dots{}\n"
  18924. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  18925. msgstr ""
  18926. #. type: Plain text
  18927. #: guix-git/doc/guix.texi:12902
  18928. 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."
  18929. msgstr ""
  18930. #. type: Plain text
  18931. #: guix-git/doc/guix.texi:12908
  18932. 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."
  18933. msgstr ""
  18934. #. type: Plain text
  18935. #: guix-git/doc/guix.texi:12910
  18936. msgid "The following options are supported:"
  18937. msgstr ""
  18938. #. type: table
  18939. #: guix-git/doc/guix.texi:12918 guix-git/doc/guix.texi:13908
  18940. msgid "This is useful to precisely refer to a package, as in this example:"
  18941. msgstr ""
  18942. #. type: example
  18943. #: guix-git/doc/guix.texi:12921
  18944. #, no-wrap
  18945. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  18946. msgstr ""
  18947. #. type: table
  18948. #: guix-git/doc/guix.texi:12925
  18949. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  18950. msgstr ""
  18951. #. type: item
  18952. #: guix-git/doc/guix.texi:12926
  18953. #, no-wrap
  18954. msgid "--update"
  18955. msgstr ""
  18956. #. type: itemx
  18957. #: guix-git/doc/guix.texi:12927
  18958. #, no-wrap
  18959. msgid "-u"
  18960. msgstr ""
  18961. #. type: table
  18962. #: guix-git/doc/guix.texi:12931
  18963. 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}):"
  18964. msgstr ""
  18965. #. type: example
  18966. #: guix-git/doc/guix.texi:12934
  18967. #, no-wrap
  18968. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  18969. msgstr ""
  18970. #. type: table
  18971. #: guix-git/doc/guix.texi:12937
  18972. msgid "@xref{Defining Packages}, for more information on package definitions."
  18973. msgstr ""
  18974. #. type: item
  18975. #: guix-git/doc/guix.texi:12938
  18976. #, no-wrap
  18977. msgid "--select=[@var{subset}]"
  18978. msgstr ""
  18979. #. type: itemx
  18980. #: guix-git/doc/guix.texi:12939
  18981. #, no-wrap
  18982. msgid "-s @var{subset}"
  18983. msgstr ""
  18984. #. type: table
  18985. #: guix-git/doc/guix.texi:12942
  18986. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  18987. msgstr ""
  18988. #. type: table
  18989. #: guix-git/doc/guix.texi:12949
  18990. 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."
  18991. msgstr ""
  18992. #. type: table
  18993. #: guix-git/doc/guix.texi:12953
  18994. 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."
  18995. msgstr ""
  18996. #. type: table
  18997. #: guix-git/doc/guix.texi:12958
  18998. 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."
  18999. msgstr ""
  19000. #. type: item
  19001. #: guix-git/doc/guix.texi:12959
  19002. #, no-wrap
  19003. msgid "--type=@var{updater}"
  19004. msgstr ""
  19005. #. type: itemx
  19006. #: guix-git/doc/guix.texi:12960
  19007. #, no-wrap
  19008. msgid "-t @var{updater}"
  19009. msgstr ""
  19010. #. type: table
  19011. #: guix-git/doc/guix.texi:12963
  19012. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  19013. msgstr ""
  19014. #. type: table
  19015. #: guix-git/doc/guix.texi:12967
  19016. msgid "the updater for GNU packages;"
  19017. msgstr ""
  19018. #. type: item
  19019. #: guix-git/doc/guix.texi:12967
  19020. #, no-wrap
  19021. msgid "savannah"
  19022. msgstr ""
  19023. #. type: table
  19024. #: guix-git/doc/guix.texi:12969
  19025. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  19026. msgstr ""
  19027. #. type: item
  19028. #: guix-git/doc/guix.texi:12969
  19029. #, no-wrap
  19030. msgid "sourceforge"
  19031. msgstr ""
  19032. #. type: table
  19033. #: guix-git/doc/guix.texi:12971
  19034. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  19035. msgstr ""
  19036. #. type: item
  19037. #: guix-git/doc/guix.texi:12971
  19038. #, no-wrap
  19039. msgid "gnome"
  19040. msgstr ""
  19041. #. type: table
  19042. #: guix-git/doc/guix.texi:12973
  19043. msgid "the updater for GNOME packages;"
  19044. msgstr ""
  19045. #. type: item
  19046. #: guix-git/doc/guix.texi:12973
  19047. #, no-wrap
  19048. msgid "kde"
  19049. msgstr ""
  19050. #. type: table
  19051. #: guix-git/doc/guix.texi:12975
  19052. msgid "the updater for KDE packages;"
  19053. msgstr ""
  19054. #. type: item
  19055. #: guix-git/doc/guix.texi:12975
  19056. #, no-wrap
  19057. msgid "xorg"
  19058. msgstr ""
  19059. #. type: table
  19060. #: guix-git/doc/guix.texi:12977
  19061. msgid "the updater for X.org packages;"
  19062. msgstr ""
  19063. #. type: item
  19064. #: guix-git/doc/guix.texi:12977
  19065. #, no-wrap
  19066. msgid "kernel.org"
  19067. msgstr ""
  19068. #. type: table
  19069. #: guix-git/doc/guix.texi:12979
  19070. msgid "the updater for packages hosted on kernel.org;"
  19071. msgstr ""
  19072. #. type: table
  19073. #: guix-git/doc/guix.texi:12981
  19074. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  19075. msgstr ""
  19076. #. type: table
  19077. #: guix-git/doc/guix.texi:12983
  19078. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  19079. msgstr ""
  19080. #. type: table
  19081. #: guix-git/doc/guix.texi:12985
  19082. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  19083. msgstr ""
  19084. #. type: item
  19085. #: guix-git/doc/guix.texi:12985
  19086. #, no-wrap
  19087. msgid "bioconductor"
  19088. msgstr ""
  19089. #. type: table
  19090. #: guix-git/doc/guix.texi:12987
  19091. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  19092. msgstr ""
  19093. #. type: table
  19094. #: guix-git/doc/guix.texi:12989
  19095. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  19096. msgstr ""
  19097. #. type: table
  19098. #: guix-git/doc/guix.texi:12991
  19099. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  19100. msgstr ""
  19101. #. type: table
  19102. #: guix-git/doc/guix.texi:12993
  19103. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  19104. msgstr ""
  19105. #. type: item
  19106. #: guix-git/doc/guix.texi:12993
  19107. #, no-wrap
  19108. msgid "github"
  19109. msgstr ""
  19110. #. type: table
  19111. #: guix-git/doc/guix.texi:12995
  19112. msgid "the updater for @uref{https://github.com, GitHub} packages."
  19113. msgstr ""
  19114. #. type: table
  19115. #: guix-git/doc/guix.texi:12997
  19116. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  19117. msgstr ""
  19118. #. type: table
  19119. #: guix-git/doc/guix.texi:12999
  19120. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  19121. msgstr ""
  19122. #. type: table
  19123. #: guix-git/doc/guix.texi:13001
  19124. msgid "the updater for @uref{https://crates.io, Crates} packages."
  19125. msgstr ""
  19126. #. type: item
  19127. #: guix-git/doc/guix.texi:13001
  19128. #, no-wrap
  19129. msgid "launchpad"
  19130. msgstr ""
  19131. #. type: table
  19132. #: guix-git/doc/guix.texi:13003
  19133. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  19134. msgstr ""
  19135. #. type: item
  19136. #: guix-git/doc/guix.texi:13003
  19137. #, no-wrap
  19138. msgid "generic-html"
  19139. msgstr ""
  19140. #. type: table
  19141. #: guix-git/doc/guix.texi:13006
  19142. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  19143. msgstr ""
  19144. #. type: item
  19145. #: guix-git/doc/guix.texi:13007
  19146. #, no-wrap
  19147. msgid "generic-git"
  19148. msgstr ""
  19149. #. type: table
  19150. #: guix-git/doc/guix.texi:13012
  19151. 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."
  19152. msgstr ""
  19153. #. type: item
  19154. #: guix-git/doc/guix.texi:13014
  19155. #, no-wrap
  19156. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  19157. msgstr ""
  19158. #. type: itemize
  19159. #: guix-git/doc/guix.texi:13016 guix-git/doc/guix.texi:13019
  19160. msgid "the tag name."
  19161. msgstr ""
  19162. #. type: item
  19163. #: guix-git/doc/guix.texi:13017
  19164. #, no-wrap
  19165. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  19166. msgstr ""
  19167. #. type: item
  19168. #: guix-git/doc/guix.texi:13020
  19169. #, no-wrap
  19170. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  19171. msgstr ""
  19172. #. type: itemize
  19173. #: guix-git/doc/guix.texi:13022
  19174. msgid "the tag name for separating the numbers of the version."
  19175. msgstr ""
  19176. #. type: item
  19177. #: guix-git/doc/guix.texi:13023
  19178. #, no-wrap
  19179. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  19180. msgstr ""
  19181. #. type: itemize
  19182. #: guix-git/doc/guix.texi:13026
  19183. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  19184. msgstr ""
  19185. #. type: lisp
  19186. #: guix-git/doc/guix.texi:13037
  19187. #, no-wrap
  19188. msgid ""
  19189. "(package\n"
  19190. " (name \"foo\")\n"
  19191. " ;; ...\n"
  19192. " (properties\n"
  19193. " '((release-tag-prefix . \"^release0-\")\n"
  19194. " (release-tag-suffix . \"[a-z]?$\")\n"
  19195. " (release-tag-version-delimiter . \":\"))))\n"
  19196. msgstr ""
  19197. #. type: table
  19198. #: guix-git/doc/guix.texi:13044
  19199. 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:"
  19200. msgstr ""
  19201. #. type: example
  19202. #: guix-git/doc/guix.texi:13049
  19203. #, no-wrap
  19204. msgid ""
  19205. "$ guix refresh --type=elpa,cran\n"
  19206. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  19207. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  19208. msgstr ""
  19209. #. type: item
  19210. #: guix-git/doc/guix.texi:13051
  19211. #, no-wrap
  19212. msgid "--list-updaters"
  19213. msgstr ""
  19214. #. type: itemx
  19215. #: guix-git/doc/guix.texi:13052
  19216. #, no-wrap
  19217. msgid "-L"
  19218. msgstr ""
  19219. #. type: table
  19220. #: guix-git/doc/guix.texi:13054
  19221. msgid "List available updaters and exit (see @option{--type} above)."
  19222. msgstr ""
  19223. #. type: table
  19224. #: guix-git/doc/guix.texi:13057
  19225. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  19226. msgstr ""
  19227. #. type: Plain text
  19228. #: guix-git/doc/guix.texi:13061
  19229. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  19230. msgstr ""
  19231. #. type: example
  19232. #: guix-git/doc/guix.texi:13064
  19233. #, no-wrap
  19234. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  19235. msgstr ""
  19236. #. type: Plain text
  19237. #: guix-git/doc/guix.texi:13071
  19238. 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:"
  19239. msgstr ""
  19240. #. type: example
  19241. #: guix-git/doc/guix.texi:13075
  19242. #, no-wrap
  19243. msgid ""
  19244. "$ ./pre-inst-env guix refresh -u \\\n"
  19245. " $(guix package --list-installed | cut -f1)\n"
  19246. msgstr ""
  19247. #. type: Plain text
  19248. #: guix-git/doc/guix.texi:13081
  19249. 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:"
  19250. msgstr ""
  19251. #. type: item
  19252. #: guix-git/doc/guix.texi:13084
  19253. #, no-wrap
  19254. msgid "--list-dependent"
  19255. msgstr ""
  19256. #. type: itemx
  19257. #: guix-git/doc/guix.texi:13085 guix-git/doc/guix.texi:13489
  19258. #, no-wrap
  19259. msgid "-l"
  19260. msgstr ""
  19261. #. type: table
  19262. #: guix-git/doc/guix.texi:13088
  19263. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  19264. msgstr ""
  19265. #. type: table
  19266. #: guix-git/doc/guix.texi:13092
  19267. 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."
  19268. msgstr ""
  19269. #. type: Plain text
  19270. #: guix-git/doc/guix.texi:13098
  19271. 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."
  19272. msgstr ""
  19273. #. type: example
  19274. #: guix-git/doc/guix.texi:13103
  19275. #, no-wrap
  19276. msgid ""
  19277. "$ guix refresh --list-dependent flex\n"
  19278. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  19279. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  19280. msgstr ""
  19281. #. type: Plain text
  19282. #: guix-git/doc/guix.texi:13107
  19283. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  19284. msgstr ""
  19285. #. type: item
  19286. #: guix-git/doc/guix.texi:13110
  19287. #, no-wrap
  19288. msgid "--list-transitive"
  19289. msgstr ""
  19290. #. type: table
  19291. #: guix-git/doc/guix.texi:13112
  19292. msgid "List all the packages which one or more packages depend upon."
  19293. msgstr ""
  19294. #. type: example
  19295. #: guix-git/doc/guix.texi:13117
  19296. #, no-wrap
  19297. msgid ""
  19298. "$ guix refresh --list-transitive flex\n"
  19299. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  19300. "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"
  19301. msgstr ""
  19302. #. type: Plain text
  19303. #: guix-git/doc/guix.texi:13123
  19304. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  19305. msgstr ""
  19306. #. type: Plain text
  19307. #: guix-git/doc/guix.texi:13125
  19308. msgid "The following options can be used to customize GnuPG operation:"
  19309. msgstr ""
  19310. #. type: item
  19311. #: guix-git/doc/guix.texi:13128
  19312. #, no-wrap
  19313. msgid "--gpg=@var{command}"
  19314. msgstr ""
  19315. #. type: table
  19316. #: guix-git/doc/guix.texi:13131
  19317. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  19318. msgstr ""
  19319. #. type: item
  19320. #: guix-git/doc/guix.texi:13132
  19321. #, no-wrap
  19322. msgid "--keyring=@var{file}"
  19323. msgstr ""
  19324. #. type: table
  19325. #: guix-git/doc/guix.texi:13138
  19326. 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)."
  19327. msgstr ""
  19328. #. type: table
  19329. #: guix-git/doc/guix.texi:13144
  19330. 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)."
  19331. msgstr ""
  19332. #. type: table
  19333. #: guix-git/doc/guix.texi:13147
  19334. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  19335. msgstr ""
  19336. #. type: example
  19337. #: guix-git/doc/guix.texi:13150
  19338. #, no-wrap
  19339. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  19340. msgstr ""
  19341. #. type: table
  19342. #: guix-git/doc/guix.texi:13153
  19343. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  19344. msgstr ""
  19345. #. type: example
  19346. #: guix-git/doc/guix.texi:13157
  19347. #, no-wrap
  19348. msgid ""
  19349. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  19350. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  19351. msgstr ""
  19352. #. type: table
  19353. #: guix-git/doc/guix.texi:13161
  19354. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  19355. msgstr ""
  19356. #. type: table
  19357. #: guix-git/doc/guix.texi:13165
  19358. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  19359. msgstr ""
  19360. #. type: item
  19361. #: guix-git/doc/guix.texi:13167 guix-git/doc/guix.texi:13332
  19362. #: guix-git/doc/guix.texi:22769
  19363. #, no-wrap
  19364. msgid "always"
  19365. msgstr ""
  19366. #. type: table
  19367. #: guix-git/doc/guix.texi:13170
  19368. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  19369. msgstr ""
  19370. #. type: item
  19371. #: guix-git/doc/guix.texi:13171 guix-git/doc/guix.texi:22771
  19372. #, no-wrap
  19373. msgid "never"
  19374. msgstr ""
  19375. #. type: table
  19376. #: guix-git/doc/guix.texi:13173
  19377. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  19378. msgstr ""
  19379. #. type: item
  19380. #: guix-git/doc/guix.texi:13174
  19381. #, no-wrap
  19382. msgid "interactive"
  19383. msgstr ""
  19384. #. type: table
  19385. #: guix-git/doc/guix.texi:13177
  19386. 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."
  19387. msgstr ""
  19388. #. type: item
  19389. #: guix-git/doc/guix.texi:13179
  19390. #, no-wrap
  19391. msgid "--key-server=@var{host}"
  19392. msgstr ""
  19393. #. type: table
  19394. #: guix-git/doc/guix.texi:13181
  19395. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  19396. msgstr ""
  19397. #. type: Plain text
  19398. #: guix-git/doc/guix.texi:13201
  19399. 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."
  19400. msgstr ""
  19401. #. type: section
  19402. #: guix-git/doc/guix.texi:13204
  19403. #, no-wrap
  19404. msgid "Invoking @command{guix style}"
  19405. msgstr ""
  19406. #. type: Plain text
  19407. #: guix-git/doc/guix.texi:13209
  19408. 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:"
  19409. msgstr ""
  19410. #. type: itemize
  19411. #: guix-git/doc/guix.texi:13214
  19412. msgid "formatting package definitions according to the project's conventions (@pxref{Formatting Code});"
  19413. msgstr ""
  19414. #. type: itemize
  19415. #: guix-git/doc/guix.texi:13217
  19416. msgid "rewriting package inputs to the ``new style'', as explained below."
  19417. msgstr ""
  19418. #. type: Plain text
  19419. #: guix-git/doc/guix.texi:13223
  19420. 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:"
  19421. msgstr ""
  19422. #. type: lisp
  19423. #: guix-git/doc/guix.texi:13230
  19424. #, no-wrap
  19425. msgid ""
  19426. "(package\n"
  19427. " ;; @dots{}\n"
  19428. " ;; The \"old style\" (deprecated).\n"
  19429. " (inputs `((\"libunistring\" ,libunistring)\n"
  19430. " (\"libffi\" ,libffi))))\n"
  19431. msgstr ""
  19432. #. type: Plain text
  19433. #: guix-git/doc/guix.texi:13234
  19434. msgid "Today, the old style is deprecated and the preferred style looks like this:"
  19435. msgstr ""
  19436. #. type: lisp
  19437. #: guix-git/doc/guix.texi:13240
  19438. #, no-wrap
  19439. msgid ""
  19440. "(package\n"
  19441. " ;; @dots{}\n"
  19442. " ;; The \"new style\".\n"
  19443. " (inputs (list libunistring libffi)))\n"
  19444. msgstr ""
  19445. #. type: Plain text
  19446. #: guix-git/doc/guix.texi:13245
  19447. 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})."
  19448. msgstr ""
  19449. #. type: Plain text
  19450. #: guix-git/doc/guix.texi:13250
  19451. 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."
  19452. msgstr ""
  19453. #. type: example
  19454. #: guix-git/doc/guix.texi:13255
  19455. #, no-wrap
  19456. msgid "guix style [@var{options}] @var{package}@dots{}\n"
  19457. msgstr ""
  19458. #. type: Plain text
  19459. #: guix-git/doc/guix.texi:13262
  19460. 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."
  19461. msgstr ""
  19462. #. type: Plain text
  19463. #: guix-git/doc/guix.texi:13264 guix-git/doc/guix.texi:14583
  19464. msgid "The available options are listed below."
  19465. msgstr ""
  19466. #. type: table
  19467. #: guix-git/doc/guix.texi:13269
  19468. msgid "Show source file locations that would be edited but do not modify them."
  19469. msgstr ""
  19470. #. type: item
  19471. #: guix-git/doc/guix.texi:13270
  19472. #, no-wrap
  19473. msgid "--styling=@var{rule}"
  19474. msgstr ""
  19475. #. type: itemx
  19476. #: guix-git/doc/guix.texi:13271
  19477. #, no-wrap
  19478. msgid "-S @var{rule}"
  19479. msgstr ""
  19480. #. type: table
  19481. #: guix-git/doc/guix.texi:13273
  19482. msgid "Apply @var{rule}, one of the following styling rules:"
  19483. msgstr ""
  19484. #. type: item
  19485. #: guix-git/doc/guix.texi:13275
  19486. #, no-wrap
  19487. msgid "format"
  19488. msgstr ""
  19489. #. type: table
  19490. #: guix-git/doc/guix.texi:13280
  19491. 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:"
  19492. msgstr ""
  19493. #. type: example
  19494. #: guix-git/doc/guix.texi:13283
  19495. #, no-wrap
  19496. msgid "./pre-inst-env guix style coreutils\n"
  19497. msgstr ""
  19498. #. type: item
  19499. #: guix-git/doc/guix.texi:13285
  19500. #, no-wrap
  19501. msgid "inputs"
  19502. msgstr ""
  19503. #. type: table
  19504. #: guix-git/doc/guix.texi:13289
  19505. 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:"
  19506. msgstr ""
  19507. #. type: example
  19508. #: guix-git/doc/guix.texi:13292
  19509. #, no-wrap
  19510. msgid "guix style -L ~/my/channel -S inputs whatnot\n"
  19511. msgstr ""
  19512. #. type: table
  19513. #: guix-git/doc/guix.texi:13298
  19514. 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."
  19515. msgstr ""
  19516. #. type: table
  19517. #: guix-git/doc/guix.texi:13308
  19518. msgid "Style the package @var{expr} evaluates to."
  19519. msgstr ""
  19520. #. type: example
  19521. #: guix-git/doc/guix.texi:13313
  19522. #, no-wrap
  19523. msgid "guix style -e '(@@ (gnu packages gcc) gcc-5)'\n"
  19524. msgstr ""
  19525. #. type: table
  19526. #: guix-git/doc/guix.texi:13316
  19527. #, fuzzy
  19528. #| msgid "Updating the Guix package definition."
  19529. msgid "styles the @code{gcc-5} package definition."
  19530. msgstr "Aggiornamento della definizione del pacchetto Guix."
  19531. #. type: item
  19532. #: guix-git/doc/guix.texi:13317
  19533. #, no-wrap
  19534. msgid "--input-simplification=@var{policy}"
  19535. msgstr ""
  19536. #. type: table
  19537. #: guix-git/doc/guix.texi:13322
  19538. 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:"
  19539. msgstr ""
  19540. #. type: item
  19541. #: guix-git/doc/guix.texi:13324
  19542. #, no-wrap
  19543. msgid "silent"
  19544. msgstr ""
  19545. #. type: table
  19546. #: guix-git/doc/guix.texi:13327
  19547. msgid "Simplify inputs only when the change is ``silent'', meaning that the package does not need to be rebuilt (its derivation is unchanged)."
  19548. msgstr ""
  19549. #. type: item
  19550. #: guix-git/doc/guix.texi:13328
  19551. #, no-wrap
  19552. msgid "safe"
  19553. msgstr ""
  19554. #. type: table
  19555. #: guix-git/doc/guix.texi:13331
  19556. 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."
  19557. msgstr ""
  19558. #. type: table
  19559. #: guix-git/doc/guix.texi:13335
  19560. msgid "Simplify inputs even when input labels do not match package names, and even if that might have an observable effect."
  19561. msgstr ""
  19562. #. type: table
  19563. #: guix-git/doc/guix.texi:13339
  19564. msgid "The default is @code{silent}, meaning that input simplifications do not trigger any package rebuild."
  19565. msgstr ""
  19566. #. type: section
  19567. #: guix-git/doc/guix.texi:13342
  19568. #, no-wrap
  19569. msgid "Invoking @command{guix lint}"
  19570. msgstr ""
  19571. #. type: command{#1}
  19572. #: guix-git/doc/guix.texi:13344
  19573. #, no-wrap
  19574. msgid "guix lint"
  19575. msgstr ""
  19576. #. type: cindex
  19577. #: guix-git/doc/guix.texi:13345
  19578. #, no-wrap
  19579. msgid "package, checking for errors"
  19580. msgstr ""
  19581. #. type: Plain text
  19582. #: guix-git/doc/guix.texi:13351
  19583. 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):"
  19584. msgstr ""
  19585. #. type: table
  19586. #: guix-git/doc/guix.texi:13357
  19587. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  19588. msgstr ""
  19589. #. type: item
  19590. #: guix-git/doc/guix.texi:13358
  19591. #, no-wrap
  19592. msgid "inputs-should-be-native"
  19593. msgstr ""
  19594. #. type: table
  19595. #: guix-git/doc/guix.texi:13360
  19596. msgid "Identify inputs that should most likely be native inputs."
  19597. msgstr ""
  19598. #. type: itemx
  19599. #: guix-git/doc/guix.texi:13363
  19600. #, no-wrap
  19601. msgid "mirror-url"
  19602. msgstr ""
  19603. #. type: itemx
  19604. #: guix-git/doc/guix.texi:13364
  19605. #, no-wrap
  19606. msgid "github-url"
  19607. msgstr ""
  19608. #. type: itemx
  19609. #: guix-git/doc/guix.texi:13365
  19610. #, no-wrap
  19611. msgid "source-file-name"
  19612. msgstr ""
  19613. #. type: table
  19614. #: guix-git/doc/guix.texi:13372
  19615. 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})."
  19616. msgstr ""
  19617. #. type: item
  19618. #: guix-git/doc/guix.texi:13373
  19619. #, no-wrap
  19620. msgid "source-unstable-tarball"
  19621. msgstr ""
  19622. #. type: table
  19623. #: guix-git/doc/guix.texi:13377
  19624. 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."
  19625. msgstr ""
  19626. #. type: table
  19627. #: guix-git/doc/guix.texi:13381
  19628. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  19629. msgstr ""
  19630. #. type: item
  19631. #: guix-git/doc/guix.texi:13382
  19632. #, no-wrap
  19633. msgid "profile-collisions"
  19634. msgstr ""
  19635. #. type: table
  19636. #: guix-git/doc/guix.texi:13388
  19637. 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."
  19638. msgstr ""
  19639. #. type: item
  19640. #: guix-git/doc/guix.texi:13389
  19641. #, no-wrap
  19642. msgid "archival"
  19643. msgstr ""
  19644. #. type: cindex
  19645. #: guix-git/doc/guix.texi:13390
  19646. #, no-wrap
  19647. msgid "Software Heritage, source code archive"
  19648. msgstr ""
  19649. #. type: cindex
  19650. #: guix-git/doc/guix.texi:13391
  19651. #, no-wrap
  19652. msgid "archival of source code, Software Heritage"
  19653. msgstr ""
  19654. #. type: table
  19655. #: guix-git/doc/guix.texi:13394
  19656. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  19657. msgstr ""
  19658. #. type: table
  19659. #: guix-git/doc/guix.texi:13402
  19660. 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}."
  19661. msgstr ""
  19662. #. type: table
  19663. #: guix-git/doc/guix.texi:13407
  19664. 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."
  19665. msgstr ""
  19666. #. type: table
  19667. #: guix-git/doc/guix.texi:13413
  19668. 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."
  19669. msgstr ""
  19670. #. type: item
  19671. #: guix-git/doc/guix.texi:13414
  19672. #, no-wrap
  19673. msgid "cve"
  19674. msgstr ""
  19675. #. type: cindex
  19676. #: guix-git/doc/guix.texi:13415 guix-git/doc/guix.texi:38629
  19677. #, no-wrap
  19678. msgid "security vulnerabilities"
  19679. msgstr ""
  19680. #. type: cindex
  19681. #: guix-git/doc/guix.texi:13416
  19682. #, no-wrap
  19683. msgid "CVE, Common Vulnerabilities and Exposures"
  19684. msgstr ""
  19685. #. type: table
  19686. #: guix-git/doc/guix.texi:13421
  19687. 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}."
  19688. msgstr ""
  19689. #. type: table
  19690. #: guix-git/doc/guix.texi:13423
  19691. msgid "To view information about a particular vulnerability, visit pages such as:"
  19692. msgstr ""
  19693. #. type: indicateurl{#1}
  19694. #: guix-git/doc/guix.texi:13427
  19695. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  19696. msgstr ""
  19697. #. type: indicateurl{#1}
  19698. #: guix-git/doc/guix.texi:13429
  19699. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  19700. msgstr ""
  19701. #. type: table
  19702. #: guix-git/doc/guix.texi:13434
  19703. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  19704. msgstr ""
  19705. #. type: table
  19706. #: guix-git/doc/guix.texi:13439
  19707. 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:"
  19708. msgstr ""
  19709. #. type: lisp
  19710. #: guix-git/doc/guix.texi:13447
  19711. #, no-wrap
  19712. msgid ""
  19713. "(package\n"
  19714. " (name \"grub\")\n"
  19715. " ;; @dots{}\n"
  19716. " ;; CPE calls this package \"grub2\".\n"
  19717. " (properties '((cpe-name . \"grub2\")\n"
  19718. " (cpe-version . \"2.3\"))))\n"
  19719. msgstr ""
  19720. #. type: table
  19721. #: guix-git/doc/guix.texi:13454
  19722. 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:"
  19723. msgstr ""
  19724. #. type: lisp
  19725. #: guix-git/doc/guix.texi:13464
  19726. #, no-wrap
  19727. msgid ""
  19728. "(package\n"
  19729. " (name \"t1lib\")\n"
  19730. " ;; @dots{}\n"
  19731. " ;; These CVEs no longer apply and can be safely ignored.\n"
  19732. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  19733. " \"CVE-2011-1553\"\n"
  19734. " \"CVE-2011-1554\"\n"
  19735. " \"CVE-2011-5244\")))))\n"
  19736. msgstr ""
  19737. #. type: item
  19738. #: guix-git/doc/guix.texi:13466
  19739. #, no-wrap
  19740. msgid "formatting"
  19741. msgstr ""
  19742. #. type: table
  19743. #: guix-git/doc/guix.texi:13469
  19744. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  19745. msgstr ""
  19746. #. type: item
  19747. #: guix-git/doc/guix.texi:13470
  19748. #, no-wrap
  19749. msgid "input-labels"
  19750. msgstr ""
  19751. #. type: table
  19752. #: guix-git/doc/guix.texi:13476
  19753. 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."
  19754. msgstr ""
  19755. #. type: example
  19756. #: guix-git/doc/guix.texi:13482
  19757. #, no-wrap
  19758. msgid "guix lint @var{options} @var{package}@dots{}\n"
  19759. msgstr ""
  19760. #. type: Plain text
  19761. #: guix-git/doc/guix.texi:13486
  19762. 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:"
  19763. msgstr ""
  19764. #. type: item
  19765. #: guix-git/doc/guix.texi:13488
  19766. #, no-wrap
  19767. msgid "--list-checkers"
  19768. msgstr ""
  19769. #. type: table
  19770. #: guix-git/doc/guix.texi:13492
  19771. msgid "List and describe all the available checkers that will be run on packages and exit."
  19772. msgstr ""
  19773. #. type: item
  19774. #: guix-git/doc/guix.texi:13493
  19775. #, no-wrap
  19776. msgid "--checkers"
  19777. msgstr ""
  19778. #. type: itemx
  19779. #: guix-git/doc/guix.texi:13494
  19780. #, no-wrap
  19781. msgid "-c"
  19782. msgstr ""
  19783. #. type: table
  19784. #: guix-git/doc/guix.texi:13497
  19785. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19786. msgstr ""
  19787. #. type: item
  19788. #: guix-git/doc/guix.texi:13498
  19789. #, no-wrap
  19790. msgid "--exclude"
  19791. msgstr ""
  19792. #. type: table
  19793. #: guix-git/doc/guix.texi:13502
  19794. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19795. msgstr ""
  19796. #. type: item
  19797. #: guix-git/doc/guix.texi:13503
  19798. #, no-wrap
  19799. msgid "--no-network"
  19800. msgstr ""
  19801. #. type: table
  19802. #: guix-git/doc/guix.texi:13506
  19803. msgid "Only enable the checkers that do not depend on Internet access."
  19804. msgstr ""
  19805. #. type: section
  19806. #: guix-git/doc/guix.texi:13518
  19807. #, no-wrap
  19808. msgid "Invoking @command{guix size}"
  19809. msgstr ""
  19810. #. type: code{#1}
  19811. #: guix-git/doc/guix.texi:13520 guix-git/doc/guix.texi:36228
  19812. #, no-wrap
  19813. msgid "size"
  19814. msgstr ""
  19815. #. type: cindex
  19816. #: guix-git/doc/guix.texi:13521
  19817. #, no-wrap
  19818. msgid "package size"
  19819. msgstr ""
  19820. #. type: command{#1}
  19821. #: guix-git/doc/guix.texi:13523
  19822. #, no-wrap
  19823. msgid "guix size"
  19824. msgstr ""
  19825. #. type: Plain text
  19826. #: guix-git/doc/guix.texi:13530
  19827. 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."
  19828. msgstr ""
  19829. #. type: Plain text
  19830. #: guix-git/doc/guix.texi:13535
  19831. 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:"
  19832. msgstr ""
  19833. #. type: example
  19834. #: guix-git/doc/guix.texi:13548
  19835. #, no-wrap
  19836. msgid ""
  19837. "$ guix size coreutils\n"
  19838. "store item total self\n"
  19839. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  19840. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  19841. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  19842. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  19843. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  19844. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  19845. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  19846. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  19847. "total: 78.9 MiB\n"
  19848. msgstr ""
  19849. #. type: Plain text
  19850. #: guix-git/doc/guix.texi:13554
  19851. 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:"
  19852. msgstr ""
  19853. #. type: example
  19854. #: guix-git/doc/guix.texi:13557
  19855. #, no-wrap
  19856. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  19857. msgstr ""
  19858. #. type: Plain text
  19859. #: guix-git/doc/guix.texi:13565
  19860. 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."
  19861. msgstr ""
  19862. #. type: Plain text
  19863. #: guix-git/doc/guix.texi:13571
  19864. 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.)"
  19865. msgstr ""
  19866. #. type: Plain text
  19867. #: guix-git/doc/guix.texi:13574
  19868. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  19869. msgstr ""
  19870. #. type: example
  19871. #: guix-git/doc/guix.texi:13577
  19872. #, no-wrap
  19873. msgid "guix size $(guix system build config.scm)\n"
  19874. msgstr ""
  19875. #. type: Plain text
  19876. #: guix-git/doc/guix.texi:13587
  19877. 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})."
  19878. msgstr ""
  19879. #. type: Plain text
  19880. #: guix-git/doc/guix.texi:13592
  19881. 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."
  19882. msgstr ""
  19883. #. type: Plain text
  19884. #: guix-git/doc/guix.texi:13594
  19885. msgid "You can also specify several package names:"
  19886. msgstr ""
  19887. #. type: example
  19888. #: guix-git/doc/guix.texi:13604
  19889. #, no-wrap
  19890. msgid ""
  19891. "$ guix size coreutils grep sed bash\n"
  19892. "store item total self\n"
  19893. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  19894. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  19895. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  19896. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  19897. "@dots{}\n"
  19898. "total: 102.3 MiB\n"
  19899. msgstr ""
  19900. #. type: Plain text
  19901. #: guix-git/doc/guix.texi:13610
  19902. 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."
  19903. msgstr ""
  19904. #. type: Plain text
  19905. #: guix-git/doc/guix.texi:13616
  19906. 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})."
  19907. msgstr ""
  19908. #. type: Plain text
  19909. #: guix-git/doc/guix.texi:13618
  19910. msgid "The available options are:"
  19911. msgstr ""
  19912. #. type: table
  19913. #: guix-git/doc/guix.texi:13624
  19914. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  19915. msgstr ""
  19916. #. type: item
  19917. #: guix-git/doc/guix.texi:13625
  19918. #, no-wrap
  19919. msgid "--sort=@var{key}"
  19920. msgstr ""
  19921. #. type: table
  19922. #: guix-git/doc/guix.texi:13627
  19923. msgid "Sort lines according to @var{key}, one of the following options:"
  19924. msgstr ""
  19925. #. type: item
  19926. #: guix-git/doc/guix.texi:13629
  19927. #, no-wrap
  19928. msgid "self"
  19929. msgstr ""
  19930. #. type: table
  19931. #: guix-git/doc/guix.texi:13631
  19932. msgid "the size of each item (the default);"
  19933. msgstr ""
  19934. #. type: table
  19935. #: guix-git/doc/guix.texi:13633
  19936. msgid "the total size of the item's closure."
  19937. msgstr ""
  19938. #. type: item
  19939. #: guix-git/doc/guix.texi:13635
  19940. #, no-wrap
  19941. msgid "--map-file=@var{file}"
  19942. msgstr ""
  19943. #. type: table
  19944. #: guix-git/doc/guix.texi:13637
  19945. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  19946. msgstr ""
  19947. #. type: table
  19948. #: guix-git/doc/guix.texi:13639
  19949. msgid "For the example above, the map looks like this:"
  19950. msgstr ""
  19951. #. type: table
  19952. #: guix-git/doc/guix.texi:13642
  19953. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  19954. msgstr ""
  19955. #. type: table
  19956. #: guix-git/doc/guix.texi:13647
  19957. 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."
  19958. msgstr ""
  19959. #. type: table
  19960. #: guix-git/doc/guix.texi:13651
  19961. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  19962. msgstr ""
  19963. #. type: section
  19964. #: guix-git/doc/guix.texi:13662
  19965. #, no-wrap
  19966. msgid "Invoking @command{guix graph}"
  19967. msgstr ""
  19968. #. type: cindex
  19969. #: guix-git/doc/guix.texi:13664
  19970. #, no-wrap
  19971. msgid "DAG"
  19972. msgstr ""
  19973. #. type: command{#1}
  19974. #: guix-git/doc/guix.texi:13665
  19975. #, no-wrap
  19976. msgid "guix graph"
  19977. msgstr ""
  19978. #. type: Plain text
  19979. #: guix-git/doc/guix.texi:13680
  19980. 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:"
  19981. msgstr ""
  19982. #. type: example
  19983. #: guix-git/doc/guix.texi:13683
  19984. #, no-wrap
  19985. msgid "guix graph @var{options} @var{package}@dots{}\n"
  19986. msgstr ""
  19987. #. type: Plain text
  19988. #: guix-git/doc/guix.texi:13688
  19989. 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:"
  19990. msgstr ""
  19991. #. type: example
  19992. #: guix-git/doc/guix.texi:13691
  19993. #, no-wrap
  19994. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  19995. msgstr ""
  19996. #. type: Plain text
  19997. #: guix-git/doc/guix.texi:13694
  19998. msgid "The output looks like this:"
  19999. msgstr ""
  20000. #. type: Plain text
  20001. #: guix-git/doc/guix.texi:13696
  20002. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  20003. msgstr ""
  20004. #. type: Plain text
  20005. #: guix-git/doc/guix.texi:13698
  20006. msgid "Nice little graph, no?"
  20007. msgstr ""
  20008. #. type: Plain text
  20009. #: guix-git/doc/guix.texi:13701
  20010. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  20011. msgstr ""
  20012. #. type: example
  20013. #: guix-git/doc/guix.texi:13704
  20014. #, no-wrap
  20015. msgid "guix graph coreutils | xdot -\n"
  20016. msgstr ""
  20017. #. type: Plain text
  20018. #: guix-git/doc/guix.texi:13711
  20019. 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:"
  20020. msgstr ""
  20021. #. type: table
  20022. #: guix-git/doc/guix.texi:13717
  20023. 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."
  20024. msgstr ""
  20025. #. type: item
  20026. #: guix-git/doc/guix.texi:13718
  20027. #, no-wrap
  20028. msgid "reverse-package"
  20029. msgstr ""
  20030. #. type: table
  20031. #: guix-git/doc/guix.texi:13720
  20032. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  20033. msgstr ""
  20034. #. type: example
  20035. #: guix-git/doc/guix.texi:13723
  20036. #, no-wrap
  20037. msgid "guix graph --type=reverse-package ocaml\n"
  20038. msgstr ""
  20039. #. type: table
  20040. #: guix-git/doc/guix.texi:13728
  20041. 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)."
  20042. msgstr ""
  20043. #. type: table
  20044. #: guix-git/doc/guix.texi:13733
  20045. 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}})."
  20046. msgstr ""
  20047. #. type: item
  20048. #: guix-git/doc/guix.texi:13734
  20049. #, no-wrap
  20050. msgid "bag-emerged"
  20051. msgstr ""
  20052. #. type: table
  20053. #: guix-git/doc/guix.texi:13736
  20054. msgid "This is the package DAG, @emph{including} implicit inputs."
  20055. msgstr ""
  20056. #. type: table
  20057. #: guix-git/doc/guix.texi:13738
  20058. msgid "For instance, the following command:"
  20059. msgstr ""
  20060. #. type: example
  20061. #: guix-git/doc/guix.texi:13741
  20062. #, no-wrap
  20063. msgid "guix graph --type=bag-emerged coreutils\n"
  20064. msgstr ""
  20065. #. type: table
  20066. #: guix-git/doc/guix.texi:13744
  20067. msgid "...@: yields this bigger graph:"
  20068. msgstr ""
  20069. #. type: table
  20070. #: guix-git/doc/guix.texi:13746
  20071. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  20072. msgstr ""
  20073. #. type: table
  20074. #: guix-git/doc/guix.texi:13749
  20075. 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}})."
  20076. msgstr ""
  20077. #. type: table
  20078. #: guix-git/doc/guix.texi:13753
  20079. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  20080. msgstr ""
  20081. #. type: item
  20082. #: guix-git/doc/guix.texi:13754
  20083. #, no-wrap
  20084. msgid "bag"
  20085. msgstr ""
  20086. #. type: table
  20087. #: guix-git/doc/guix.texi:13757
  20088. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  20089. msgstr ""
  20090. #. type: item
  20091. #: guix-git/doc/guix.texi:13758
  20092. #, no-wrap
  20093. msgid "bag-with-origins"
  20094. msgstr ""
  20095. #. type: table
  20096. #: guix-git/doc/guix.texi:13760
  20097. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  20098. msgstr ""
  20099. #. type: item
  20100. #: guix-git/doc/guix.texi:13761
  20101. #, no-wrap
  20102. msgid "reverse-bag"
  20103. msgstr ""
  20104. #. type: table
  20105. #: guix-git/doc/guix.texi:13764
  20106. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  20107. msgstr ""
  20108. #. type: example
  20109. #: guix-git/doc/guix.texi:13767
  20110. #, no-wrap
  20111. msgid "guix graph -t reverse-bag dune\n"
  20112. msgstr ""
  20113. #. type: table
  20114. #: guix-git/doc/guix.texi:13774
  20115. 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."
  20116. msgstr ""
  20117. #. type: table
  20118. #: guix-git/doc/guix.texi:13780
  20119. 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."
  20120. msgstr ""
  20121. #. type: table
  20122. #: guix-git/doc/guix.texi:13783
  20123. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  20124. msgstr ""
  20125. #. type: example
  20126. #: guix-git/doc/guix.texi:13786
  20127. #, no-wrap
  20128. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  20129. msgstr ""
  20130. #. type: item
  20131. #: guix-git/doc/guix.texi:13788
  20132. #, no-wrap
  20133. msgid "module"
  20134. msgstr ""
  20135. #. type: table
  20136. #: guix-git/doc/guix.texi:13792
  20137. 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:"
  20138. msgstr ""
  20139. #. type: example
  20140. #: guix-git/doc/guix.texi:13795
  20141. #, no-wrap
  20142. msgid "guix graph -t module guile | xdot -\n"
  20143. msgstr ""
  20144. #. type: Plain text
  20145. #: guix-git/doc/guix.texi:13800
  20146. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  20147. msgstr ""
  20148. #. type: table
  20149. #: guix-git/doc/guix.texi:13805
  20150. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  20151. msgstr ""
  20152. #. type: table
  20153. #: guix-git/doc/guix.texi:13808
  20154. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  20155. msgstr ""
  20156. #. type: table
  20157. #: guix-git/doc/guix.texi:13812
  20158. 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!):"
  20159. msgstr ""
  20160. #. type: example
  20161. #: guix-git/doc/guix.texi:13815
  20162. #, no-wrap
  20163. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  20164. msgstr ""
  20165. #. type: item
  20166. #: guix-git/doc/guix.texi:13817
  20167. #, no-wrap
  20168. msgid "referrers"
  20169. msgstr ""
  20170. #. type: table
  20171. #: guix-git/doc/guix.texi:13820
  20172. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  20173. msgstr ""
  20174. #. type: table
  20175. #: guix-git/doc/guix.texi:13826
  20176. 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."
  20177. msgstr ""
  20178. #. type: table
  20179. #: guix-git/doc/guix.texi:13829
  20180. msgid "It can help determine what is preventing a store item from being garbage collected."
  20181. msgstr ""
  20182. #. type: cindex
  20183. #: guix-git/doc/guix.texi:13832
  20184. #, no-wrap
  20185. msgid "shortest path, between packages"
  20186. msgstr ""
  20187. #. type: Plain text
  20188. #: guix-git/doc/guix.texi:13839
  20189. 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.):"
  20190. msgstr ""
  20191. #. type: example
  20192. #: guix-git/doc/guix.texi:13853
  20193. #, no-wrap
  20194. msgid ""
  20195. "$ guix graph --path emacs libunistring\n"
  20196. "emacs@@26.3\n"
  20197. "mailutils@@3.9\n"
  20198. "libunistring@@0.9.10\n"
  20199. "$ guix graph --path -t derivation emacs libunistring\n"
  20200. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  20201. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  20202. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  20203. "$ guix graph --path -t references emacs libunistring\n"
  20204. "/gnu/store/@dots{}-emacs-26.3\n"
  20205. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  20206. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  20207. msgstr ""
  20208. #. type: Plain text
  20209. #: guix-git/doc/guix.texi:13861
  20210. 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:"
  20211. msgstr ""
  20212. #. type: example
  20213. #: guix-git/doc/guix.texi:13864
  20214. #, no-wrap
  20215. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  20216. msgstr ""
  20217. #. type: Plain text
  20218. #: guix-git/doc/guix.texi:13868
  20219. 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."
  20220. msgstr ""
  20221. #. type: Plain text
  20222. #: guix-git/doc/guix.texi:13870
  20223. msgid "The available options are the following:"
  20224. msgstr ""
  20225. #. type: table
  20226. #: guix-git/doc/guix.texi:13876
  20227. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  20228. msgstr ""
  20229. #. type: item
  20230. #: guix-git/doc/guix.texi:13877
  20231. #, no-wrap
  20232. msgid "--list-types"
  20233. msgstr ""
  20234. #. type: table
  20235. #: guix-git/doc/guix.texi:13879
  20236. msgid "List the supported graph types."
  20237. msgstr ""
  20238. #. type: item
  20239. #: guix-git/doc/guix.texi:13880
  20240. #, no-wrap
  20241. msgid "--backend=@var{backend}"
  20242. msgstr ""
  20243. #. type: itemx
  20244. #: guix-git/doc/guix.texi:13881
  20245. #, no-wrap
  20246. msgid "-b @var{backend}"
  20247. msgstr ""
  20248. #. type: table
  20249. #: guix-git/doc/guix.texi:13883
  20250. msgid "Produce a graph using the selected @var{backend}."
  20251. msgstr ""
  20252. #. type: item
  20253. #: guix-git/doc/guix.texi:13884
  20254. #, no-wrap
  20255. msgid "--list-backends"
  20256. msgstr ""
  20257. #. type: table
  20258. #: guix-git/doc/guix.texi:13886
  20259. msgid "List the supported graph backends."
  20260. msgstr ""
  20261. #. type: table
  20262. #: guix-git/doc/guix.texi:13888
  20263. msgid "Currently, the available backends are Graphviz and d3.js."
  20264. msgstr ""
  20265. #. type: item
  20266. #: guix-git/doc/guix.texi:13889
  20267. #, no-wrap
  20268. msgid "--path"
  20269. msgstr ""
  20270. #. type: table
  20271. #: guix-git/doc/guix.texi:13894
  20272. 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}:"
  20273. msgstr ""
  20274. #. type: example
  20275. #: guix-git/doc/guix.texi:13901
  20276. #, no-wrap
  20277. msgid ""
  20278. "$ guix graph --path -t references libreoffice llvm\n"
  20279. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  20280. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  20281. "/gnu/store/@dots{}-mesa-19.3.4\n"
  20282. "/gnu/store/@dots{}-llvm-9.0.1\n"
  20283. msgstr ""
  20284. #. type: example
  20285. #: guix-git/doc/guix.texi:13911
  20286. #, no-wrap
  20287. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  20288. msgstr ""
  20289. #. type: table
  20290. #: guix-git/doc/guix.texi:13916
  20291. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  20292. msgstr ""
  20293. #. type: table
  20294. #: guix-git/doc/guix.texi:13919
  20295. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  20296. msgstr ""
  20297. #. type: Plain text
  20298. #: guix-git/doc/guix.texi:13935
  20299. 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:"
  20300. msgstr ""
  20301. #. type: example
  20302. #: guix-git/doc/guix.texi:13938
  20303. #, no-wrap
  20304. msgid "guix graph git --with-input=openssl=libressl\n"
  20305. msgstr ""
  20306. #. type: Plain text
  20307. #: guix-git/doc/guix.texi:13941
  20308. msgid "So many possibilities, so much fun!"
  20309. msgstr ""
  20310. #. type: section
  20311. #: guix-git/doc/guix.texi:13943
  20312. #, no-wrap
  20313. msgid "Invoking @command{guix publish}"
  20314. msgstr ""
  20315. #. type: command{#1}
  20316. #: guix-git/doc/guix.texi:13945
  20317. #, no-wrap
  20318. msgid "guix publish"
  20319. msgstr ""
  20320. #. type: Plain text
  20321. #: guix-git/doc/guix.texi:13949
  20322. 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})."
  20323. msgstr ""
  20324. #. type: Plain text
  20325. #: guix-git/doc/guix.texi:13955
  20326. 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."
  20327. msgstr ""
  20328. #. type: Plain text
  20329. #: guix-git/doc/guix.texi:13961
  20330. 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."
  20331. msgstr ""
  20332. #. type: Plain text
  20333. #: guix-git/doc/guix.texi:13965
  20334. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  20335. msgstr ""
  20336. #. type: Plain text
  20337. #: guix-git/doc/guix.texi:13970
  20338. 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})."
  20339. msgstr ""
  20340. #. type: example
  20341. #: guix-git/doc/guix.texi:13975
  20342. #, no-wrap
  20343. msgid "guix publish @var{options}@dots{}\n"
  20344. msgstr ""
  20345. #. type: Plain text
  20346. #: guix-git/doc/guix.texi:13979
  20347. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  20348. msgstr ""
  20349. #. type: example
  20350. #: guix-git/doc/guix.texi:13982
  20351. #, no-wrap
  20352. msgid "guix publish\n"
  20353. msgstr ""
  20354. #. type: Plain text
  20355. #: guix-git/doc/guix.texi:13986
  20356. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  20357. msgstr ""
  20358. #. type: Plain text
  20359. #: guix-git/doc/guix.texi:13994
  20360. 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})."
  20361. msgstr ""
  20362. #. type: Plain text
  20363. #: guix-git/doc/guix.texi:14001
  20364. 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}):"
  20365. msgstr ""
  20366. #. type: example
  20367. #: guix-git/doc/guix.texi:14004
  20368. #, no-wrap
  20369. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  20370. msgstr ""
  20371. #. type: Plain text
  20372. #: guix-git/doc/guix.texi:14008
  20373. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  20374. msgstr ""
  20375. #. type: cindex
  20376. #: guix-git/doc/guix.texi:14009
  20377. #, no-wrap
  20378. msgid "build logs, publication"
  20379. msgstr ""
  20380. #. type: Plain text
  20381. #: guix-git/doc/guix.texi:14011
  20382. msgid "Build logs are available from @code{/log} URLs like:"
  20383. msgstr ""
  20384. #. type: example
  20385. #: guix-git/doc/guix.texi:14014
  20386. #, no-wrap
  20387. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  20388. msgstr ""
  20389. #. type: Plain text
  20390. #: guix-git/doc/guix.texi:14024
  20391. 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."
  20392. msgstr ""
  20393. #. type: item
  20394. #: guix-git/doc/guix.texi:14028
  20395. #, no-wrap
  20396. msgid "--port=@var{port}"
  20397. msgstr ""
  20398. #. type: itemx
  20399. #: guix-git/doc/guix.texi:14029
  20400. #, no-wrap
  20401. msgid "-p @var{port}"
  20402. msgstr ""
  20403. #. type: table
  20404. #: guix-git/doc/guix.texi:14031
  20405. msgid "Listen for HTTP requests on @var{port}."
  20406. msgstr ""
  20407. #. type: item
  20408. #: guix-git/doc/guix.texi:14032
  20409. #, no-wrap
  20410. msgid "--listen=@var{host}"
  20411. msgstr ""
  20412. #. type: table
  20413. #: guix-git/doc/guix.texi:14035
  20414. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  20415. msgstr ""
  20416. #. type: table
  20417. #: guix-git/doc/guix.texi:14040
  20418. 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."
  20419. msgstr ""
  20420. #. type: item
  20421. #: guix-git/doc/guix.texi:14041
  20422. #, no-wrap
  20423. msgid "--compression[=@var{method}[:@var{level}]]"
  20424. msgstr ""
  20425. #. type: itemx
  20426. #: guix-git/doc/guix.texi:14042
  20427. #, no-wrap
  20428. msgid "-C [@var{method}[:@var{level}]]"
  20429. msgstr ""
  20430. #. type: table
  20431. #: guix-git/doc/guix.texi:14046
  20432. 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."
  20433. msgstr ""
  20434. #. type: table
  20435. #: guix-git/doc/guix.texi:14050
  20436. 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."
  20437. msgstr ""
  20438. #. type: table
  20439. #: guix-git/doc/guix.texi:14057
  20440. 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."
  20441. msgstr ""
  20442. #. type: table
  20443. #: guix-git/doc/guix.texi:14061
  20444. 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}."
  20445. msgstr ""
  20446. #. type: table
  20447. #: guix-git/doc/guix.texi:14070
  20448. 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."
  20449. msgstr ""
  20450. #. type: table
  20451. #: guix-git/doc/guix.texi:14075
  20452. 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."
  20453. msgstr ""
  20454. #. type: item
  20455. #: guix-git/doc/guix.texi:14076
  20456. #, no-wrap
  20457. msgid "--cache=@var{directory}"
  20458. msgstr ""
  20459. #. type: itemx
  20460. #: guix-git/doc/guix.texi:14077
  20461. #, no-wrap
  20462. msgid "-c @var{directory}"
  20463. msgstr ""
  20464. #. type: table
  20465. #: guix-git/doc/guix.texi:14080
  20466. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  20467. msgstr ""
  20468. #. type: table
  20469. #: guix-git/doc/guix.texi:14088
  20470. 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."
  20471. msgstr ""
  20472. #. type: table
  20473. #: guix-git/doc/guix.texi:14096
  20474. 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."
  20475. msgstr ""
  20476. #. type: table
  20477. #: guix-git/doc/guix.texi:14103
  20478. 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."
  20479. msgstr ""
  20480. #. type: table
  20481. #: guix-git/doc/guix.texi:14107
  20482. 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."
  20483. msgstr ""
  20484. #. type: table
  20485. #: guix-git/doc/guix.texi:14110
  20486. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  20487. msgstr ""
  20488. #. type: item
  20489. #: guix-git/doc/guix.texi:14111
  20490. #, no-wrap
  20491. msgid "--workers=@var{N}"
  20492. msgstr ""
  20493. #. type: table
  20494. #: guix-git/doc/guix.texi:14114
  20495. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  20496. msgstr ""
  20497. #. type: item
  20498. #: guix-git/doc/guix.texi:14115
  20499. #, no-wrap
  20500. msgid "--ttl=@var{ttl}"
  20501. msgstr ""
  20502. #. type: table
  20503. #: guix-git/doc/guix.texi:14119 guix-git/doc/guix.texi:33828
  20504. 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."
  20505. msgstr ""
  20506. #. type: table
  20507. #: guix-git/doc/guix.texi:14124
  20508. 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}."
  20509. msgstr ""
  20510. #. type: table
  20511. #: guix-git/doc/guix.texi:14128
  20512. 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."
  20513. msgstr ""
  20514. #. type: item
  20515. #: guix-git/doc/guix.texi:14129
  20516. #, no-wrap
  20517. msgid "--negative-ttl=@var{ttl}"
  20518. msgstr ""
  20519. #. type: table
  20520. #: guix-git/doc/guix.texi:14134 guix-git/doc/guix.texi:33837
  20521. 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."
  20522. msgstr ""
  20523. #. type: table
  20524. #: guix-git/doc/guix.texi:14138
  20525. 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."
  20526. msgstr ""
  20527. #. type: item
  20528. #: guix-git/doc/guix.texi:14139
  20529. #, no-wrap
  20530. msgid "--cache-bypass-threshold=@var{size}"
  20531. msgstr ""
  20532. #. type: table
  20533. #: guix-git/doc/guix.texi:14144
  20534. 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}."
  20535. msgstr ""
  20536. #. type: table
  20537. #: guix-git/doc/guix.texi:14149
  20538. 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."
  20539. msgstr ""
  20540. #. type: table
  20541. #: guix-git/doc/guix.texi:14153
  20542. 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."
  20543. msgstr ""
  20544. #. type: item
  20545. #: guix-git/doc/guix.texi:14154
  20546. #, no-wrap
  20547. msgid "--nar-path=@var{path}"
  20548. msgstr ""
  20549. #. type: table
  20550. #: guix-git/doc/guix.texi:14157
  20551. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  20552. msgstr ""
  20553. #. type: table
  20554. #: guix-git/doc/guix.texi:14161
  20555. 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}."
  20556. msgstr ""
  20557. #. type: item
  20558. #: guix-git/doc/guix.texi:14162
  20559. #, no-wrap
  20560. msgid "--public-key=@var{file}"
  20561. msgstr ""
  20562. #. type: itemx
  20563. #: guix-git/doc/guix.texi:14163
  20564. #, no-wrap
  20565. msgid "--private-key=@var{file}"
  20566. msgstr ""
  20567. #. type: table
  20568. #: guix-git/doc/guix.texi:14166 guix-git/doc/guix.texi:29574
  20569. #: guix-git/doc/guix.texi:29611
  20570. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  20571. msgstr ""
  20572. #. type: table
  20573. #: guix-git/doc/guix.texi:14173
  20574. 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."
  20575. msgstr ""
  20576. #. type: item
  20577. #: guix-git/doc/guix.texi:14174
  20578. #, no-wrap
  20579. msgid "--repl[=@var{port}]"
  20580. msgstr ""
  20581. #. type: itemx
  20582. #: guix-git/doc/guix.texi:14175
  20583. #, no-wrap
  20584. msgid "-r [@var{port}]"
  20585. msgstr ""
  20586. #. type: table
  20587. #: guix-git/doc/guix.texi:14179
  20588. 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."
  20589. msgstr ""
  20590. #. type: Plain text
  20591. #: guix-git/doc/guix.texi:14185
  20592. 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}})."
  20593. msgstr ""
  20594. #. type: Plain text
  20595. #: guix-git/doc/guix.texi:14188
  20596. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  20597. msgstr ""
  20598. #. type: itemize
  20599. #: guix-git/doc/guix.texi:14192
  20600. msgid "If your host distro uses the systemd init system:"
  20601. msgstr ""
  20602. #. type: example
  20603. #: guix-git/doc/guix.texi:14197
  20604. #, no-wrap
  20605. msgid ""
  20606. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  20607. " /etc/systemd/system/\n"
  20608. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  20609. msgstr ""
  20610. #. type: example
  20611. #: guix-git/doc/guix.texi:14205
  20612. #, no-wrap
  20613. msgid ""
  20614. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  20615. "# start guix-publish\n"
  20616. msgstr ""
  20617. #. type: itemize
  20618. #: guix-git/doc/guix.texi:14209
  20619. msgid "Otherwise, proceed similarly with your distro's init system."
  20620. msgstr ""
  20621. #. type: section
  20622. #: guix-git/doc/guix.texi:14212
  20623. #, no-wrap
  20624. msgid "Invoking @command{guix challenge}"
  20625. msgstr ""
  20626. #. type: cindex
  20627. #: guix-git/doc/guix.texi:14215
  20628. #, no-wrap
  20629. msgid "verifiable builds"
  20630. msgstr ""
  20631. #. type: command{#1}
  20632. #: guix-git/doc/guix.texi:14216
  20633. #, no-wrap
  20634. msgid "guix challenge"
  20635. msgstr ""
  20636. #. type: cindex
  20637. #: guix-git/doc/guix.texi:14217
  20638. #, no-wrap
  20639. msgid "challenge"
  20640. msgstr ""
  20641. #. type: Plain text
  20642. #: guix-git/doc/guix.texi:14222
  20643. 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."
  20644. msgstr ""
  20645. #. type: Plain text
  20646. #: guix-git/doc/guix.texi:14230
  20647. 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."
  20648. msgstr ""
  20649. #. type: Plain text
  20650. #: guix-git/doc/guix.texi:14239
  20651. 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."
  20652. msgstr ""
  20653. #. type: Plain text
  20654. #: guix-git/doc/guix.texi:14241
  20655. msgid "The command output looks like this:"
  20656. msgstr ""
  20657. #. type: smallexample
  20658. #: guix-git/doc/guix.texi:14253
  20659. #, no-wrap
  20660. msgid ""
  20661. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20662. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  20663. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  20664. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  20665. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20666. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20667. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  20668. " differing files:\n"
  20669. " /lib/libcrypto.so.1.1\n"
  20670. " /lib/libssl.so.1.1\n"
  20671. "\n"
  20672. msgstr ""
  20673. #. type: smallexample
  20674. #: guix-git/doc/guix.texi:14260
  20675. #, no-wrap
  20676. msgid ""
  20677. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  20678. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  20679. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  20680. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  20681. " differing file:\n"
  20682. " /libexec/git-core/git-fsck\n"
  20683. "\n"
  20684. msgstr ""
  20685. #. type: smallexample
  20686. #: guix-git/doc/guix.texi:14267
  20687. #, no-wrap
  20688. msgid ""
  20689. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  20690. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20691. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20692. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  20693. " differing file:\n"
  20694. " /share/man/man1/pius.1.gz\n"
  20695. "\n"
  20696. msgstr ""
  20697. #. type: smallexample
  20698. #: guix-git/doc/guix.texi:14269
  20699. #, no-wrap
  20700. msgid ""
  20701. "@dots{}\n"
  20702. "\n"
  20703. msgstr ""
  20704. #. type: smallexample
  20705. #: guix-git/doc/guix.texi:14274
  20706. #, no-wrap
  20707. msgid ""
  20708. "6,406 store items were analyzed:\n"
  20709. " - 4,749 (74.1%) were identical\n"
  20710. " - 525 (8.2%) differed\n"
  20711. " - 1,132 (17.7%) were inconclusive\n"
  20712. msgstr ""
  20713. #. type: Plain text
  20714. #: guix-git/doc/guix.texi:14282
  20715. 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."
  20716. msgstr ""
  20717. #. type: cindex
  20718. #: guix-git/doc/guix.texi:14283
  20719. #, no-wrap
  20720. msgid "non-determinism, in package builds"
  20721. msgstr ""
  20722. #. type: Plain text
  20723. #: guix-git/doc/guix.texi:14294
  20724. 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."
  20725. msgstr ""
  20726. #. type: Plain text
  20727. #: guix-git/doc/guix.texi:14297
  20728. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  20729. msgstr ""
  20730. #. type: example
  20731. #: guix-git/doc/guix.texi:14302
  20732. #, no-wrap
  20733. msgid ""
  20734. "guix challenge git \\\n"
  20735. " --diff=diffoscope \\\n"
  20736. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20737. msgstr ""
  20738. #. type: Plain text
  20739. #: guix-git/doc/guix.texi:14306
  20740. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  20741. msgstr ""
  20742. #. type: Plain text
  20743. #: guix-git/doc/guix.texi:14309
  20744. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  20745. msgstr ""
  20746. #. type: example
  20747. #: guix-git/doc/guix.texi:14314
  20748. #, no-wrap
  20749. msgid ""
  20750. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  20751. " | lzip -d | guix archive -x /tmp/git\n"
  20752. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  20753. msgstr ""
  20754. #. type: Plain text
  20755. #: guix-git/doc/guix.texi:14323
  20756. 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."
  20757. msgstr ""
  20758. #. type: Plain text
  20759. #: guix-git/doc/guix.texi:14331
  20760. 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."
  20761. msgstr ""
  20762. #. type: Plain text
  20763. #: guix-git/doc/guix.texi:14335
  20764. 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:"
  20765. msgstr ""
  20766. #. type: example
  20767. #: guix-git/doc/guix.texi:14338
  20768. #, no-wrap
  20769. msgid "$ guix challenge @var{package}\n"
  20770. msgstr ""
  20771. #. type: Plain text
  20772. #: guix-git/doc/guix.texi:14343
  20773. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  20774. msgstr ""
  20775. #. type: example
  20776. #: guix-git/doc/guix.texi:14348
  20777. #, no-wrap
  20778. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  20779. msgstr ""
  20780. #. type: Plain text
  20781. #: guix-git/doc/guix.texi:14355
  20782. 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)."
  20783. msgstr ""
  20784. #. type: Plain text
  20785. #: guix-git/doc/guix.texi:14357
  20786. msgid "The one option that matters is:"
  20787. msgstr ""
  20788. #. type: table
  20789. #: guix-git/doc/guix.texi:14363
  20790. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  20791. msgstr ""
  20792. #. type: item
  20793. #: guix-git/doc/guix.texi:14364
  20794. #, no-wrap
  20795. msgid "--diff=@var{mode}"
  20796. msgstr ""
  20797. #. type: table
  20798. #: guix-git/doc/guix.texi:14366
  20799. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  20800. msgstr ""
  20801. #. type: item
  20802. #: guix-git/doc/guix.texi:14368
  20803. #, no-wrap
  20804. msgid "@code{simple} (the default)"
  20805. msgstr ""
  20806. #. type: table
  20807. #: guix-git/doc/guix.texi:14370
  20808. msgid "Show the list of files that differ."
  20809. msgstr ""
  20810. #. type: code{#1}
  20811. #: guix-git/doc/guix.texi:14371
  20812. #, no-wrap
  20813. msgid "diffoscope"
  20814. msgstr ""
  20815. #. type: var{#1}
  20816. #: guix-git/doc/guix.texi:14372
  20817. #, no-wrap
  20818. msgid "command"
  20819. msgstr ""
  20820. #. type: table
  20821. #: guix-git/doc/guix.texi:14375
  20822. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  20823. msgstr ""
  20824. #. type: table
  20825. #: guix-git/doc/guix.texi:14378
  20826. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  20827. msgstr ""
  20828. #. type: table
  20829. #: guix-git/doc/guix.texi:14381
  20830. msgid "Do not show further details about the differences."
  20831. msgstr ""
  20832. #. type: table
  20833. #: guix-git/doc/guix.texi:14386
  20834. 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."
  20835. msgstr ""
  20836. #. type: item
  20837. #: guix-git/doc/guix.texi:14387
  20838. #, no-wrap
  20839. msgid "--verbose"
  20840. msgstr ""
  20841. #. type: itemx
  20842. #: guix-git/doc/guix.texi:14388
  20843. #, no-wrap
  20844. msgid "-v"
  20845. msgstr ""
  20846. #. type: table
  20847. #: guix-git/doc/guix.texi:14391
  20848. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  20849. msgstr ""
  20850. #. type: section
  20851. #: guix-git/doc/guix.texi:14395
  20852. #, no-wrap
  20853. msgid "Invoking @command{guix copy}"
  20854. msgstr ""
  20855. #. type: cindex
  20856. #: guix-git/doc/guix.texi:14397
  20857. #, no-wrap
  20858. msgid "copy, of store items, over SSH"
  20859. msgstr ""
  20860. #. type: cindex
  20861. #: guix-git/doc/guix.texi:14398
  20862. #, no-wrap
  20863. msgid "SSH, copy of store items"
  20864. msgstr ""
  20865. #. type: cindex
  20866. #: guix-git/doc/guix.texi:14399
  20867. #, no-wrap
  20868. msgid "sharing store items across machines"
  20869. msgstr ""
  20870. #. type: cindex
  20871. #: guix-git/doc/guix.texi:14400
  20872. #, no-wrap
  20873. msgid "transferring store items across machines"
  20874. msgstr ""
  20875. #. type: Plain text
  20876. #: guix-git/doc/guix.texi:14407
  20877. 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}:"
  20878. msgstr ""
  20879. #. type: example
  20880. #: guix-git/doc/guix.texi:14411
  20881. #, no-wrap
  20882. msgid ""
  20883. "guix copy --to=@var{user}@@@var{host} \\\n"
  20884. " coreutils $(readlink -f ~/.guix-profile)\n"
  20885. msgstr ""
  20886. #. type: Plain text
  20887. #: guix-git/doc/guix.texi:14415
  20888. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  20889. msgstr ""
  20890. #. type: Plain text
  20891. #: guix-git/doc/guix.texi:14418
  20892. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  20893. msgstr ""
  20894. #. type: example
  20895. #: guix-git/doc/guix.texi:14421
  20896. #, no-wrap
  20897. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  20898. msgstr ""
  20899. #. type: Plain text
  20900. #: guix-git/doc/guix.texi:14426
  20901. 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."
  20902. msgstr ""
  20903. #. type: Plain text
  20904. #: guix-git/doc/guix.texi:14432
  20905. 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."
  20906. msgstr ""
  20907. #. type: example
  20908. #: guix-git/doc/guix.texi:14437
  20909. #, no-wrap
  20910. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  20911. msgstr ""
  20912. #. type: Plain text
  20913. #: guix-git/doc/guix.texi:14440
  20914. msgid "You must always specify one of the following options:"
  20915. msgstr ""
  20916. #. type: item
  20917. #: guix-git/doc/guix.texi:14442
  20918. #, no-wrap
  20919. msgid "--to=@var{spec}"
  20920. msgstr ""
  20921. #. type: itemx
  20922. #: guix-git/doc/guix.texi:14443
  20923. #, no-wrap
  20924. msgid "--from=@var{spec}"
  20925. msgstr ""
  20926. #. type: table
  20927. #: guix-git/doc/guix.texi:14447
  20928. 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}."
  20929. msgstr ""
  20930. #. type: Plain text
  20931. #: guix-git/doc/guix.texi:14451
  20932. 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}."
  20933. msgstr ""
  20934. #. type: Plain text
  20935. #: guix-git/doc/guix.texi:14455
  20936. 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})."
  20937. msgstr ""
  20938. #. type: section
  20939. #: guix-git/doc/guix.texi:14458
  20940. #, no-wrap
  20941. msgid "Invoking @command{guix container}"
  20942. msgstr ""
  20943. #. type: command{#1}
  20944. #: guix-git/doc/guix.texi:14460
  20945. #, no-wrap
  20946. msgid "guix container"
  20947. msgstr ""
  20948. #. type: quotation
  20949. #: guix-git/doc/guix.texi:14464
  20950. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  20951. msgstr ""
  20952. #. type: Plain text
  20953. #: guix-git/doc/guix.texi:14471
  20954. 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."
  20955. msgstr ""
  20956. #. type: example
  20957. #: guix-git/doc/guix.texi:14476
  20958. #, no-wrap
  20959. msgid "guix container @var{action} @var{options}@dots{}\n"
  20960. msgstr ""
  20961. #. type: Plain text
  20962. #: guix-git/doc/guix.texi:14480
  20963. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  20964. msgstr ""
  20965. #. type: Plain text
  20966. #: guix-git/doc/guix.texi:14482
  20967. msgid "The following actions are available:"
  20968. msgstr ""
  20969. #. type: item
  20970. #: guix-git/doc/guix.texi:14484
  20971. #, no-wrap
  20972. msgid "exec"
  20973. msgstr ""
  20974. #. type: table
  20975. #: guix-git/doc/guix.texi:14486
  20976. msgid "Execute a command within the context of a running container."
  20977. msgstr ""
  20978. #. type: table
  20979. #: guix-git/doc/guix.texi:14488
  20980. msgid "The syntax is:"
  20981. msgstr ""
  20982. #. type: example
  20983. #: guix-git/doc/guix.texi:14491
  20984. #, no-wrap
  20985. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  20986. msgstr ""
  20987. #. type: table
  20988. #: guix-git/doc/guix.texi:14497
  20989. 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}."
  20990. msgstr ""
  20991. #. type: table
  20992. #: guix-git/doc/guix.texi:14501
  20993. 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:"
  20994. msgstr ""
  20995. #. type: example
  20996. #: guix-git/doc/guix.texi:14504
  20997. #, no-wrap
  20998. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  20999. msgstr ""
  21000. #. type: table
  21001. #: guix-git/doc/guix.texi:14508
  21002. 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."
  21003. msgstr ""
  21004. #. type: section
  21005. #: guix-git/doc/guix.texi:14512
  21006. #, no-wrap
  21007. msgid "Invoking @command{guix weather}"
  21008. msgstr ""
  21009. #. type: Plain text
  21010. #: guix-git/doc/guix.texi:14521
  21011. 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})."
  21012. msgstr ""
  21013. #. type: cindex
  21014. #: guix-git/doc/guix.texi:14522
  21015. #, no-wrap
  21016. msgid "statistics, for substitutes"
  21017. msgstr ""
  21018. #. type: cindex
  21019. #: guix-git/doc/guix.texi:14523
  21020. #, no-wrap
  21021. msgid "availability of substitutes"
  21022. msgstr ""
  21023. #. type: cindex
  21024. #: guix-git/doc/guix.texi:14524
  21025. #, no-wrap
  21026. msgid "substitute availability"
  21027. msgstr ""
  21028. #. type: cindex
  21029. #: guix-git/doc/guix.texi:14525
  21030. #, no-wrap
  21031. msgid "weather, substitute availability"
  21032. msgstr ""
  21033. #. type: Plain text
  21034. #: guix-git/doc/guix.texi:14527
  21035. msgid "Here's a sample run:"
  21036. msgstr ""
  21037. #. type: example
  21038. #: guix-git/doc/guix.texi:14539
  21039. #, no-wrap
  21040. msgid ""
  21041. "$ guix weather --substitute-urls=https://guix.example.org\n"
  21042. "computing 5,872 package derivations for x86_64-linux...\n"
  21043. "looking for 6,128 store items on https://guix.example.org..\n"
  21044. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  21045. "https://guix.example.org\n"
  21046. " 43.4% substitutes available (2,658 out of 6,128)\n"
  21047. " 7,032.5 MiB of nars (compressed)\n"
  21048. " 19,824.2 MiB on disk (uncompressed)\n"
  21049. " 0.030 seconds per request (182.9 seconds in total)\n"
  21050. " 33.5 requests per second\n"
  21051. "\n"
  21052. msgstr ""
  21053. #. type: example
  21054. #: guix-git/doc/guix.texi:14549
  21055. #, no-wrap
  21056. msgid ""
  21057. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  21058. " 867 queued builds\n"
  21059. " x86_64-linux: 518 (59.7%)\n"
  21060. " i686-linux: 221 (25.5%)\n"
  21061. " aarch64-linux: 128 (14.8%)\n"
  21062. " build rate: 23.41 builds per hour\n"
  21063. " x86_64-linux: 11.16 builds per hour\n"
  21064. " i686-linux: 6.03 builds per hour\n"
  21065. " aarch64-linux: 6.41 builds per hour\n"
  21066. msgstr ""
  21067. #. type: cindex
  21068. #: guix-git/doc/guix.texi:14551
  21069. #, no-wrap
  21070. msgid "continuous integration, statistics"
  21071. msgstr ""
  21072. #. type: Plain text
  21073. #: guix-git/doc/guix.texi:14562
  21074. 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)."
  21075. msgstr ""
  21076. #. type: Plain text
  21077. #: guix-git/doc/guix.texi:14568
  21078. 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."
  21079. msgstr ""
  21080. #. type: example
  21081. #: guix-git/doc/guix.texi:14573
  21082. #, no-wrap
  21083. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  21084. msgstr ""
  21085. #. type: Plain text
  21086. #: guix-git/doc/guix.texi:14581
  21087. 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%."
  21088. msgstr ""
  21089. #. type: table
  21090. #: guix-git/doc/guix.texi:14589
  21091. 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."
  21092. msgstr ""
  21093. #. type: table
  21094. #: guix-git/doc/guix.texi:14595
  21095. 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."
  21096. msgstr ""
  21097. #. type: table
  21098. #: guix-git/doc/guix.texi:14601
  21099. 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})."
  21100. msgstr ""
  21101. #. type: table
  21102. #: guix-git/doc/guix.texi:14604
  21103. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  21104. msgstr ""
  21105. #. type: item
  21106. #: guix-git/doc/guix.texi:14605
  21107. #, no-wrap
  21108. msgid "--coverage[=@var{count}]"
  21109. msgstr ""
  21110. #. type: itemx
  21111. #: guix-git/doc/guix.texi:14606
  21112. #, no-wrap
  21113. msgid "-c [@var{count}]"
  21114. msgstr ""
  21115. #. type: table
  21116. #: guix-git/doc/guix.texi:14612
  21117. 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:"
  21118. msgstr ""
  21119. #. type: example
  21120. #: guix-git/doc/guix.texi:14626
  21121. #, no-wrap
  21122. msgid ""
  21123. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  21124. "computing 8,983 package derivations for x86_64-linux...\n"
  21125. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  21126. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  21127. "@value{SUBSTITUTE-URLS}\n"
  21128. " 64.7% substitutes available (6,047 out of 9,343)\n"
  21129. "@dots{}\n"
  21130. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  21131. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  21132. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  21133. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  21134. " @dots{}\n"
  21135. msgstr ""
  21136. #. type: table
  21137. #: guix-git/doc/guix.texi:14632
  21138. 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."
  21139. msgstr ""
  21140. #. type: table
  21141. #: guix-git/doc/guix.texi:14636
  21142. 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."
  21143. msgstr ""
  21144. #. type: item
  21145. #: guix-git/doc/guix.texi:14637
  21146. #, no-wrap
  21147. msgid "--display-missing"
  21148. msgstr ""
  21149. #. type: table
  21150. #: guix-git/doc/guix.texi:14639
  21151. msgid "Display the list of store items for which substitutes are missing."
  21152. msgstr ""
  21153. #. type: section
  21154. #: guix-git/doc/guix.texi:14642
  21155. #, no-wrap
  21156. msgid "Invoking @command{guix processes}"
  21157. msgstr ""
  21158. #. type: Plain text
  21159. #: guix-git/doc/guix.texi:14650
  21160. 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:"
  21161. msgstr ""
  21162. #. type: example
  21163. #: guix-git/doc/guix.texi:14656
  21164. #, no-wrap
  21165. msgid ""
  21166. "$ sudo guix processes\n"
  21167. "SessionPID: 19002\n"
  21168. "ClientPID: 19090\n"
  21169. "ClientCommand: guix shell python\n"
  21170. "\n"
  21171. msgstr ""
  21172. #. type: example
  21173. #: guix-git/doc/guix.texi:14660
  21174. #, no-wrap
  21175. msgid ""
  21176. "SessionPID: 19402\n"
  21177. "ClientPID: 19367\n"
  21178. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  21179. "\n"
  21180. msgstr ""
  21181. #. type: example
  21182. #: guix-git/doc/guix.texi:14673
  21183. #, no-wrap
  21184. msgid ""
  21185. "SessionPID: 19444\n"
  21186. "ClientPID: 19419\n"
  21187. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21188. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  21189. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  21190. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  21191. "ChildPID: 20495\n"
  21192. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21193. "ChildPID: 27733\n"
  21194. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21195. "ChildPID: 27793\n"
  21196. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21197. msgstr ""
  21198. #. type: Plain text
  21199. #: guix-git/doc/guix.texi:14680
  21200. 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."
  21201. msgstr ""
  21202. #. type: Plain text
  21203. #: guix-git/doc/guix.texi:14687
  21204. 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})."
  21205. msgstr ""
  21206. #. type: Plain text
  21207. #: guix-git/doc/guix.texi:14692
  21208. 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:"
  21209. msgstr ""
  21210. #. type: example
  21211. #: guix-git/doc/guix.texi:14698
  21212. #, no-wrap
  21213. msgid ""
  21214. "$ sudo guix processes | \\\n"
  21215. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  21216. "ClientPID: 19419\n"
  21217. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21218. msgstr ""
  21219. #. type: Plain text
  21220. #: guix-git/doc/guix.texi:14701
  21221. msgid "Additional options are listed below."
  21222. msgstr ""
  21223. #. type: table
  21224. #: guix-git/doc/guix.texi:14711
  21225. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  21226. msgstr ""
  21227. #. type: item
  21228. #: guix-git/doc/guix.texi:14712
  21229. #, no-wrap
  21230. msgid "normalized"
  21231. msgstr ""
  21232. #. type: table
  21233. #: guix-git/doc/guix.texi:14719
  21234. 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}."
  21235. msgstr ""
  21236. #. type: example
  21237. #: guix-git/doc/guix.texi:14729
  21238. #, no-wrap
  21239. msgid ""
  21240. "$ guix processes --format=normalized | \\\n"
  21241. " recsel \\\n"
  21242. " -j Session \\\n"
  21243. " -t ChildProcess \\\n"
  21244. " -p Session.PID,PID \\\n"
  21245. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  21246. "PID: 4435\n"
  21247. "Session_PID: 4278\n"
  21248. "\n"
  21249. msgstr ""
  21250. #. type: example
  21251. #: guix-git/doc/guix.texi:14732
  21252. #, no-wrap
  21253. msgid ""
  21254. "PID: 4554\n"
  21255. "Session_PID: 4278\n"
  21256. "\n"
  21257. msgstr ""
  21258. #. type: example
  21259. #: guix-git/doc/guix.texi:14735
  21260. #, no-wrap
  21261. msgid ""
  21262. "PID: 4646\n"
  21263. "Session_PID: 4278\n"
  21264. msgstr ""
  21265. #. type: cindex
  21266. #: guix-git/doc/guix.texi:14742
  21267. #, no-wrap
  21268. msgid "system configuration"
  21269. msgstr ""
  21270. #. type: Plain text
  21271. #: guix-git/doc/guix.texi:14748
  21272. 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."
  21273. msgstr ""
  21274. #. type: Plain text
  21275. #: guix-git/doc/guix.texi:14758
  21276. 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."
  21277. msgstr ""
  21278. #. type: Plain text
  21279. #: guix-git/doc/guix.texi:14763
  21280. 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."
  21281. msgstr ""
  21282. #. type: Plain text
  21283. #: guix-git/doc/guix.texi:14793
  21284. 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:"
  21285. msgstr ""
  21286. #. type: code{#1}
  21287. #: guix-git/doc/guix.texi:14794 guix-git/doc/guix.texi:36147
  21288. #, no-wrap
  21289. msgid "operating-system"
  21290. msgstr ""
  21291. #. type: include
  21292. #: guix-git/doc/guix.texi:14796
  21293. #, no-wrap
  21294. msgid "os-config-bare-bones.texi"
  21295. msgstr ""
  21296. #. type: Plain text
  21297. #: guix-git/doc/guix.texi:14803
  21298. 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."
  21299. msgstr ""
  21300. #. type: Plain text
  21301. #: guix-git/doc/guix.texi:14808
  21302. 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}."
  21303. msgstr ""
  21304. #. type: unnumberedsubsec
  21305. #: guix-git/doc/guix.texi:14809
  21306. #, no-wrap
  21307. msgid "Bootloader"
  21308. msgstr ""
  21309. #. type: cindex
  21310. #: guix-git/doc/guix.texi:14811
  21311. #, no-wrap
  21312. msgid "legacy boot, on Intel machines"
  21313. msgstr ""
  21314. #. type: cindex
  21315. #: guix-git/doc/guix.texi:14812
  21316. #, no-wrap
  21317. msgid "BIOS boot, on Intel machines"
  21318. msgstr ""
  21319. #. type: cindex
  21320. #: guix-git/doc/guix.texi:14813
  21321. #, no-wrap
  21322. msgid "UEFI boot"
  21323. msgstr ""
  21324. #. type: cindex
  21325. #: guix-git/doc/guix.texi:14814
  21326. #, no-wrap
  21327. msgid "EFI boot"
  21328. msgstr ""
  21329. #. type: Plain text
  21330. #: guix-git/doc/guix.texi:14820
  21331. 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:"
  21332. msgstr ""
  21333. #. type: lisp
  21334. #: guix-git/doc/guix.texi:14825
  21335. #, no-wrap
  21336. msgid ""
  21337. "(bootloader-configuration\n"
  21338. " (bootloader grub-efi-bootloader)\n"
  21339. " (targets '(\"/boot/efi\")))\n"
  21340. msgstr ""
  21341. #. type: Plain text
  21342. #: guix-git/doc/guix.texi:14829
  21343. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  21344. msgstr ""
  21345. #. type: unnumberedsubsec
  21346. #: guix-git/doc/guix.texi:14830
  21347. #, no-wrap
  21348. msgid "Globally-Visible Packages"
  21349. msgstr ""
  21350. #. type: vindex
  21351. #: guix-git/doc/guix.texi:14832
  21352. #, no-wrap
  21353. msgid "%base-packages"
  21354. msgstr ""
  21355. #. type: Plain text
  21356. #: guix-git/doc/guix.texi:14845
  21357. 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:"
  21358. msgstr ""
  21359. #. type: lisp
  21360. #: guix-git/doc/guix.texi:14849
  21361. #, no-wrap
  21362. msgid ""
  21363. "(use-modules (gnu packages))\n"
  21364. "(use-modules (gnu packages dns))\n"
  21365. "\n"
  21366. msgstr ""
  21367. #. type: lisp
  21368. #: guix-git/doc/guix.texi:14854
  21369. #, no-wrap
  21370. msgid ""
  21371. "(operating-system\n"
  21372. " ;; ...\n"
  21373. " (packages (cons (list isc-bind \"utils\")\n"
  21374. " %base-packages)))\n"
  21375. msgstr ""
  21376. #. type: findex
  21377. #: guix-git/doc/guix.texi:14856
  21378. #, no-wrap
  21379. msgid "specification->package"
  21380. msgstr ""
  21381. #. type: Plain text
  21382. #: guix-git/doc/guix.texi:14865
  21383. 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:"
  21384. msgstr ""
  21385. #. type: lisp
  21386. #: guix-git/doc/guix.texi:14868
  21387. #, no-wrap
  21388. msgid ""
  21389. "(use-modules (gnu packages))\n"
  21390. "\n"
  21391. msgstr ""
  21392. #. type: lisp
  21393. #: guix-git/doc/guix.texi:14874
  21394. #, no-wrap
  21395. msgid ""
  21396. "(operating-system\n"
  21397. " ;; ...\n"
  21398. " (packages (append (map specification->package\n"
  21399. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  21400. " %base-packages)))\n"
  21401. msgstr ""
  21402. #. type: unnumberedsubsec
  21403. #: guix-git/doc/guix.texi:14876
  21404. #, no-wrap
  21405. msgid "System Services"
  21406. msgstr ""
  21407. #. type: cindex
  21408. #: guix-git/doc/guix.texi:14878 guix-git/doc/guix.texi:34860
  21409. #: guix-git/doc/guix.texi:36387
  21410. #, no-wrap
  21411. msgid "services"
  21412. msgstr ""
  21413. #. type: vindex
  21414. #: guix-git/doc/guix.texi:14879
  21415. #, no-wrap
  21416. msgid "%base-services"
  21417. msgstr ""
  21418. #. type: Plain text
  21419. #: guix-git/doc/guix.texi:14889
  21420. 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})."
  21421. msgstr ""
  21422. #. type: cindex
  21423. #: guix-git/doc/guix.texi:14890
  21424. #, no-wrap
  21425. msgid "customization, of services"
  21426. msgstr ""
  21427. #. type: findex
  21428. #: guix-git/doc/guix.texi:14891
  21429. #, no-wrap
  21430. msgid "modify-services"
  21431. msgstr ""
  21432. #. type: Plain text
  21433. #: guix-git/doc/guix.texi:14895
  21434. 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."
  21435. msgstr ""
  21436. #. type: anchor{#1}
  21437. #: guix-git/doc/guix.texi:14901
  21438. msgid "auto-login to TTY"
  21439. msgstr ""
  21440. #. type: Plain text
  21441. #: guix-git/doc/guix.texi:14901
  21442. 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:"
  21443. msgstr ""
  21444. #. type: lisp
  21445. #: guix-git/doc/guix.texi:14918
  21446. #, no-wrap
  21447. msgid ""
  21448. "(define %my-services\n"
  21449. " ;; My very own list of services.\n"
  21450. " (modify-services %base-services\n"
  21451. " (guix-service-type config =>\n"
  21452. " (guix-configuration\n"
  21453. " (inherit config)\n"
  21454. " ;; Fetch substitutes from example.org.\n"
  21455. " (substitute-urls\n"
  21456. " (list \"https://example.org/guix\"\n"
  21457. " \"https://ci.guix.gnu.org\"))))\n"
  21458. " (mingetty-service-type config =>\n"
  21459. " (mingetty-configuration\n"
  21460. " (inherit config)\n"
  21461. " ;; Automatically log in as \"guest\".\n"
  21462. " (auto-login \"guest\")))))\n"
  21463. "\n"
  21464. msgstr ""
  21465. #. type: lisp
  21466. #: guix-git/doc/guix.texi:14922
  21467. #, no-wrap
  21468. msgid ""
  21469. "(operating-system\n"
  21470. " ;; @dots{}\n"
  21471. " (services %my-services))\n"
  21472. msgstr ""
  21473. #. type: Plain text
  21474. #: guix-git/doc/guix.texi:14935
  21475. 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."
  21476. msgstr ""
  21477. #. type: Plain text
  21478. #: guix-git/doc/guix.texi:14942
  21479. 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:"
  21480. msgstr ""
  21481. #. type: include
  21482. #: guix-git/doc/guix.texi:14944
  21483. #, no-wrap
  21484. msgid "os-config-desktop.texi"
  21485. msgstr ""
  21486. #. type: Plain text
  21487. #: guix-git/doc/guix.texi:14949
  21488. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  21489. msgstr ""
  21490. #. type: include
  21491. #: guix-git/doc/guix.texi:14951
  21492. #, no-wrap
  21493. msgid "os-config-lightweight-desktop.texi"
  21494. msgstr ""
  21495. #. type: Plain text
  21496. #: guix-git/doc/guix.texi:14957
  21497. 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."
  21498. msgstr ""
  21499. #. type: Plain text
  21500. #: guix-git/doc/guix.texi:14961
  21501. 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."
  21502. msgstr ""
  21503. #. type: Plain text
  21504. #: guix-git/doc/guix.texi:14968
  21505. 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:"
  21506. msgstr ""
  21507. #. type: lisp
  21508. #: guix-git/doc/guix.texi:14973
  21509. #, no-wrap
  21510. msgid ""
  21511. "(remove (lambda (service)\n"
  21512. " (eq? (service-kind service) avahi-service-type))\n"
  21513. " %desktop-services)\n"
  21514. msgstr ""
  21515. #. type: Plain text
  21516. #: guix-git/doc/guix.texi:14976
  21517. msgid "Alternatively, the @code{modify-services} macro can be used:"
  21518. msgstr ""
  21519. #. type: lisp
  21520. #: guix-git/doc/guix.texi:14980
  21521. #, no-wrap
  21522. msgid ""
  21523. "(modify-services %desktop-services\n"
  21524. " (delete avahi-service-type))\n"
  21525. msgstr ""
  21526. #. type: unnumberedsubsec
  21527. #: guix-git/doc/guix.texi:14983
  21528. #, no-wrap
  21529. msgid "Instantiating the System"
  21530. msgstr ""
  21531. #. type: Plain text
  21532. #: guix-git/doc/guix.texi:14990
  21533. 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})."
  21534. msgstr ""
  21535. #. type: Plain text
  21536. #: guix-git/doc/guix.texi:14998
  21537. 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."
  21538. msgstr ""
  21539. #. type: cindex
  21540. #: guix-git/doc/guix.texi:14999
  21541. #, no-wrap
  21542. msgid "roll-back, of the operating system"
  21543. msgstr ""
  21544. #. type: Plain text
  21545. #: guix-git/doc/guix.texi:15009
  21546. 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}."
  21547. msgstr ""
  21548. #. type: Plain text
  21549. #: guix-git/doc/guix.texi:15015
  21550. 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})."
  21551. msgstr ""
  21552. #. type: unnumberedsubsec
  21553. #: guix-git/doc/guix.texi:15016
  21554. #, no-wrap
  21555. msgid "The Programming Interface"
  21556. msgstr ""
  21557. #. type: Plain text
  21558. #: guix-git/doc/guix.texi:15021
  21559. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  21560. msgstr ""
  21561. #. type: deffn
  21562. #: guix-git/doc/guix.texi:15022
  21563. #, no-wrap
  21564. msgid "{Monadic Procedure} operating-system-derivation os"
  21565. msgstr ""
  21566. #. type: deffn
  21567. #: guix-git/doc/guix.texi:15025
  21568. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  21569. msgstr ""
  21570. #. type: deffn
  21571. #: guix-git/doc/guix.texi:15029
  21572. 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}."
  21573. msgstr ""
  21574. #. type: Plain text
  21575. #: guix-git/doc/guix.texi:15034
  21576. 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!"
  21577. msgstr ""
  21578. #. type: section
  21579. #: guix-git/doc/guix.texi:15037
  21580. #, no-wrap
  21581. msgid "@code{operating-system} Reference"
  21582. msgstr ""
  21583. #. type: Plain text
  21584. #: guix-git/doc/guix.texi:15042
  21585. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  21586. msgstr ""
  21587. #. type: deftp
  21588. #: guix-git/doc/guix.texi:15043
  21589. #, no-wrap
  21590. msgid "{Data Type} operating-system"
  21591. msgstr ""
  21592. #. type: deftp
  21593. #: guix-git/doc/guix.texi:15047
  21594. 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})."
  21595. msgstr ""
  21596. #. type: item
  21597. #: guix-git/doc/guix.texi:15049
  21598. #, no-wrap
  21599. msgid "@code{kernel} (default: @code{linux-libre})"
  21600. msgstr ""
  21601. #. type: table
  21602. #: guix-git/doc/guix.texi:15054
  21603. 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.}."
  21604. msgstr ""
  21605. #. type: code{#1}
  21606. #: guix-git/doc/guix.texi:15055 guix-git/doc/guix.texi:31198
  21607. #, no-wrap
  21608. msgid "hurd"
  21609. msgstr ""
  21610. #. type: item
  21611. #: guix-git/doc/guix.texi:15056
  21612. #, no-wrap
  21613. msgid "@code{hurd} (default: @code{#f})"
  21614. msgstr ""
  21615. #. type: table
  21616. #: guix-git/doc/guix.texi:15061
  21617. 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."
  21618. msgstr ""
  21619. #. type: quotation
  21620. #: guix-git/doc/guix.texi:15064
  21621. msgid "This feature is experimental and only supported for disk images."
  21622. msgstr ""
  21623. #. type: item
  21624. #: guix-git/doc/guix.texi:15066
  21625. #, no-wrap
  21626. msgid "@code{kernel-loadable-modules} (default: '())"
  21627. msgstr ""
  21628. #. type: table
  21629. #: guix-git/doc/guix.texi:15069
  21630. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  21631. msgstr ""
  21632. #. type: item
  21633. #: guix-git/doc/guix.texi:15070
  21634. #, no-wrap
  21635. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  21636. msgstr ""
  21637. #. type: table
  21638. #: guix-git/doc/guix.texi:15073
  21639. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  21640. msgstr ""
  21641. #. type: code{#1}
  21642. #: guix-git/doc/guix.texi:15074 guix-git/doc/guix.texi:35092
  21643. #: guix-git/doc/guix.texi:35111
  21644. #, no-wrap
  21645. msgid "bootloader"
  21646. msgstr ""
  21647. #. type: table
  21648. #: guix-git/doc/guix.texi:15076
  21649. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  21650. msgstr ""
  21651. #. type: code{#1}
  21652. #: guix-git/doc/guix.texi:15077 guix-git/doc/guix.texi:35285
  21653. #, no-wrap
  21654. msgid "label"
  21655. msgstr ""
  21656. #. type: table
  21657. #: guix-git/doc/guix.texi:15080
  21658. 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."
  21659. msgstr ""
  21660. #. type: item
  21661. #: guix-git/doc/guix.texi:15081 guix-git/doc/guix.texi:16800
  21662. #: guix-git/doc/guix.texi:19990 guix-git/doc/guix.texi:35215
  21663. #, no-wrap
  21664. msgid "@code{keyboard-layout} (default: @code{#f})"
  21665. msgstr ""
  21666. #. type: table
  21667. #: guix-git/doc/guix.texi:15086
  21668. 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."
  21669. msgstr ""
  21670. #. type: table
  21671. #: guix-git/doc/guix.texi:15091
  21672. 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})."
  21673. msgstr ""
  21674. #. type: quotation
  21675. #: guix-git/doc/guix.texi:15098
  21676. 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."
  21677. msgstr ""
  21678. #. type: item
  21679. #: guix-git/doc/guix.texi:15100
  21680. #, no-wrap
  21681. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  21682. msgstr ""
  21683. #. type: cindex
  21684. #: guix-git/doc/guix.texi:15101 guix-git/doc/guix.texi:34897
  21685. #: guix-git/doc/guix.texi:35020
  21686. #, no-wrap
  21687. msgid "initrd"
  21688. msgstr ""
  21689. #. type: cindex
  21690. #: guix-git/doc/guix.texi:15102 guix-git/doc/guix.texi:34898
  21691. #: guix-git/doc/guix.texi:35021
  21692. #, no-wrap
  21693. msgid "initial RAM disk"
  21694. msgstr ""
  21695. #. type: table
  21696. #: guix-git/doc/guix.texi:15105
  21697. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  21698. msgstr ""
  21699. #. type: item
  21700. #: guix-git/doc/guix.texi:15106
  21701. #, no-wrap
  21702. msgid "@code{initrd} (default: @code{base-initrd})"
  21703. msgstr ""
  21704. #. type: table
  21705. #: guix-git/doc/guix.texi:15110
  21706. 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}."
  21707. msgstr ""
  21708. #. type: item
  21709. #: guix-git/doc/guix.texi:15111
  21710. #, no-wrap
  21711. msgid "@code{firmware} (default: @code{%base-firmware})"
  21712. msgstr ""
  21713. #. type: cindex
  21714. #: guix-git/doc/guix.texi:15112
  21715. #, no-wrap
  21716. msgid "firmware"
  21717. msgstr ""
  21718. #. type: table
  21719. #: guix-git/doc/guix.texi:15114
  21720. msgid "List of firmware packages loadable by the operating system kernel."
  21721. msgstr ""
  21722. #. type: table
  21723. #: guix-git/doc/guix.texi:15119
  21724. 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."
  21725. msgstr ""
  21726. #. type: code{#1}
  21727. #: guix-git/doc/guix.texi:15120 guix-git/doc/guix.texi:36166
  21728. #, no-wrap
  21729. msgid "host-name"
  21730. msgstr ""
  21731. #. type: table
  21732. #: guix-git/doc/guix.texi:15122
  21733. msgid "The host name."
  21734. msgstr ""
  21735. #. type: code{#1}
  21736. #: guix-git/doc/guix.texi:15123
  21737. #, no-wrap
  21738. msgid "hosts-file"
  21739. msgstr ""
  21740. #. type: cindex
  21741. #: guix-git/doc/guix.texi:15124
  21742. #, no-wrap
  21743. msgid "hosts file"
  21744. msgstr ""
  21745. #. type: table
  21746. #: guix-git/doc/guix.texi:15129
  21747. 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}."
  21748. msgstr ""
  21749. #. type: item
  21750. #: guix-git/doc/guix.texi:15130
  21751. #, no-wrap
  21752. msgid "@code{mapped-devices} (default: @code{'()})"
  21753. msgstr ""
  21754. #. type: table
  21755. #: guix-git/doc/guix.texi:15132
  21756. msgid "A list of mapped devices. @xref{Mapped Devices}."
  21757. msgstr ""
  21758. #. type: code{#1}
  21759. #: guix-git/doc/guix.texi:15133
  21760. #, no-wrap
  21761. msgid "file-systems"
  21762. msgstr ""
  21763. #. type: table
  21764. #: guix-git/doc/guix.texi:15135
  21765. msgid "A list of file systems. @xref{File Systems}."
  21766. msgstr ""
  21767. #. type: item
  21768. #: guix-git/doc/guix.texi:15136
  21769. #, no-wrap
  21770. msgid "@code{swap-devices} (default: @code{'()})"
  21771. msgstr ""
  21772. #. type: cindex
  21773. #: guix-git/doc/guix.texi:15137
  21774. #, no-wrap
  21775. msgid "swap devices"
  21776. msgstr ""
  21777. #. type: table
  21778. #: guix-git/doc/guix.texi:15139
  21779. msgid "A list of swap spaces. @xref{Swap Space}."
  21780. msgstr ""
  21781. #. type: item
  21782. #: guix-git/doc/guix.texi:15140
  21783. #, no-wrap
  21784. msgid "@code{users} (default: @code{%base-user-accounts})"
  21785. msgstr ""
  21786. #. type: itemx
  21787. #: guix-git/doc/guix.texi:15141
  21788. #, no-wrap
  21789. msgid "@code{groups} (default: @code{%base-groups})"
  21790. msgstr ""
  21791. #. type: table
  21792. #: guix-git/doc/guix.texi:15143
  21793. msgid "List of user accounts and groups. @xref{User Accounts}."
  21794. msgstr ""
  21795. #. type: table
  21796. #: guix-git/doc/guix.texi:15146
  21797. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  21798. msgstr ""
  21799. #. type: item
  21800. #: guix-git/doc/guix.texi:15147
  21801. #, no-wrap
  21802. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  21803. msgstr ""
  21804. #. type: table
  21805. #: guix-git/doc/guix.texi:15151
  21806. 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."
  21807. msgstr ""
  21808. #. type: table
  21809. #: guix-git/doc/guix.texi:15153
  21810. msgid "For instance, a valid value may look like this:"
  21811. msgstr ""
  21812. #. type: lisp
  21813. #: guix-git/doc/guix.texi:15159
  21814. #, no-wrap
  21815. msgid ""
  21816. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  21817. " (\".guile\" ,(plain-file \"guile\"\n"
  21818. " \"(use-modules (ice-9 readline))\n"
  21819. " (activate-readline)\")))\n"
  21820. msgstr ""
  21821. #. type: item
  21822. #: guix-git/doc/guix.texi:15161
  21823. #, no-wrap
  21824. msgid "@code{issue} (default: @code{%default-issue})"
  21825. msgstr ""
  21826. #. type: table
  21827. #: guix-git/doc/guix.texi:15164
  21828. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  21829. msgstr ""
  21830. #. type: item
  21831. #: guix-git/doc/guix.texi:15165
  21832. #, no-wrap
  21833. msgid "@code{packages} (default: @code{%base-packages})"
  21834. msgstr ""
  21835. #. type: table
  21836. #: guix-git/doc/guix.texi:15169
  21837. 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:"
  21838. msgstr ""
  21839. #. type: lisp
  21840. #: guix-git/doc/guix.texi:15174
  21841. #, no-wrap
  21842. msgid ""
  21843. "(cons* git ; the default \"out\" output\n"
  21844. " (list git \"send-email\") ; another output of git\n"
  21845. " %base-packages) ; the default set\n"
  21846. msgstr ""
  21847. #. type: table
  21848. #: guix-git/doc/guix.texi:15179
  21849. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  21850. msgstr ""
  21851. #. type: code{#1}
  21852. #: guix-git/doc/guix.texi:15180
  21853. #, no-wrap
  21854. msgid "timezone"
  21855. msgstr ""
  21856. #. type: table
  21857. #: guix-git/doc/guix.texi:15182
  21858. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  21859. msgstr ""
  21860. #. type: table
  21861. #: guix-git/doc/guix.texi:15186
  21862. 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."
  21863. msgstr ""
  21864. #. type: item
  21865. #: guix-git/doc/guix.texi:15187 guix-git/doc/guix.texi:21635
  21866. #, no-wrap
  21867. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  21868. msgstr ""
  21869. #. type: table
  21870. #: guix-git/doc/guix.texi:15190
  21871. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  21872. msgstr ""
  21873. #. type: item
  21874. #: guix-git/doc/guix.texi:15191
  21875. #, no-wrap
  21876. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  21877. msgstr ""
  21878. #. type: table
  21879. #: guix-git/doc/guix.texi:15194
  21880. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  21881. msgstr ""
  21882. #. type: item
  21883. #: guix-git/doc/guix.texi:15195
  21884. #, no-wrap
  21885. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  21886. msgstr ""
  21887. #. type: table
  21888. #: guix-git/doc/guix.texi:15199
  21889. 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."
  21890. msgstr ""
  21891. #. type: item
  21892. #: guix-git/doc/guix.texi:15200
  21893. #, no-wrap
  21894. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  21895. msgstr ""
  21896. #. type: table
  21897. #: guix-git/doc/guix.texi:15204
  21898. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  21899. msgstr ""
  21900. #. type: item
  21901. #: guix-git/doc/guix.texi:15205
  21902. #, no-wrap
  21903. msgid "@code{services} (default: @code{%base-services})"
  21904. msgstr ""
  21905. #. type: table
  21906. #: guix-git/doc/guix.texi:15207
  21907. msgid "A list of service objects denoting system services. @xref{Services}."
  21908. msgstr ""
  21909. #. type: cindex
  21910. #: guix-git/doc/guix.texi:15208
  21911. #, no-wrap
  21912. msgid "essential services"
  21913. msgstr ""
  21914. #. type: item
  21915. #: guix-git/doc/guix.texi:15209
  21916. #, no-wrap
  21917. msgid "@code{essential-services} (default: ...)"
  21918. msgstr ""
  21919. #. type: table
  21920. #: guix-git/doc/guix.texi:15214
  21921. 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."
  21922. msgstr ""
  21923. #. type: item
  21924. #: guix-git/doc/guix.texi:15215
  21925. #, no-wrap
  21926. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  21927. msgstr ""
  21928. #. type: cindex
  21929. #: guix-git/doc/guix.texi:15216
  21930. #, no-wrap
  21931. msgid "PAM"
  21932. msgstr ""
  21933. #. type: cindex
  21934. #: guix-git/doc/guix.texi:15217
  21935. #, no-wrap
  21936. msgid "pluggable authentication modules"
  21937. msgstr ""
  21938. #. type: table
  21939. #: guix-git/doc/guix.texi:15220
  21940. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  21941. msgstr ""
  21942. #. type: item
  21943. #: guix-git/doc/guix.texi:15221
  21944. #, no-wrap
  21945. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  21946. msgstr ""
  21947. #. type: table
  21948. #: guix-git/doc/guix.texi:15224
  21949. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  21950. msgstr ""
  21951. #. type: item
  21952. #: guix-git/doc/guix.texi:15225
  21953. #, no-wrap
  21954. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  21955. msgstr ""
  21956. #. type: cindex
  21957. #: guix-git/doc/guix.texi:15226
  21958. #, no-wrap
  21959. msgid "sudoers file"
  21960. msgstr ""
  21961. #. type: table
  21962. #: guix-git/doc/guix.texi:15229
  21963. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  21964. msgstr ""
  21965. #. type: table
  21966. #: guix-git/doc/guix.texi:15234
  21967. 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}."
  21968. msgstr ""
  21969. #. type: deffn
  21970. #: guix-git/doc/guix.texi:15237
  21971. #, no-wrap
  21972. msgid "{Scheme Syntax} this-operating-system"
  21973. msgstr ""
  21974. #. type: deffn
  21975. #: guix-git/doc/guix.texi:15240
  21976. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  21977. msgstr ""
  21978. #. type: deffn
  21979. #: guix-git/doc/guix.texi:15243
  21980. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  21981. msgstr ""
  21982. #. type: lisp
  21983. #: guix-git/doc/guix.texi:15246 guix-git/doc/guix.texi:19198
  21984. #, no-wrap
  21985. msgid ""
  21986. "(use-modules (gnu) (guix))\n"
  21987. "\n"
  21988. msgstr ""
  21989. #. type: lisp
  21990. #: guix-git/doc/guix.texi:15251
  21991. #, no-wrap
  21992. msgid ""
  21993. "(operating-system\n"
  21994. " ;; ...\n"
  21995. " (label (package-full-name\n"
  21996. " (operating-system-kernel this-operating-system))))\n"
  21997. msgstr ""
  21998. #. type: deffn
  21999. #: guix-git/doc/guix.texi:15255
  22000. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  22001. msgstr ""
  22002. #. type: Plain text
  22003. #: guix-git/doc/guix.texi:15266
  22004. 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:"
  22005. msgstr ""
  22006. #. type: lisp
  22007. #: guix-git/doc/guix.texi:15272
  22008. #, no-wrap
  22009. msgid ""
  22010. "(file-system\n"
  22011. " (mount-point \"/home\")\n"
  22012. " (device \"/dev/sda3\")\n"
  22013. " (type \"ext4\"))\n"
  22014. msgstr ""
  22015. #. type: Plain text
  22016. #: guix-git/doc/guix.texi:15276
  22017. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  22018. msgstr ""
  22019. #. type: deftp
  22020. #: guix-git/doc/guix.texi:15277
  22021. #, no-wrap
  22022. msgid "{Data Type} file-system"
  22023. msgstr ""
  22024. #. type: deftp
  22025. #: guix-git/doc/guix.texi:15280
  22026. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  22027. msgstr ""
  22028. #. type: item
  22029. #: guix-git/doc/guix.texi:15282 guix-git/doc/guix.texi:15662
  22030. #: guix-git/doc/guix.texi:17804
  22031. #, no-wrap
  22032. msgid "type"
  22033. msgstr ""
  22034. #. type: table
  22035. #: guix-git/doc/guix.texi:15285
  22036. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  22037. msgstr ""
  22038. #. type: code{#1}
  22039. #: guix-git/doc/guix.texi:15286
  22040. #, no-wrap
  22041. msgid "mount-point"
  22042. msgstr ""
  22043. #. type: table
  22044. #: guix-git/doc/guix.texi:15288
  22045. msgid "This designates the place where the file system is to be mounted."
  22046. msgstr ""
  22047. #. type: item
  22048. #: guix-git/doc/guix.texi:15289 guix-git/doc/guix.texi:17754
  22049. #, no-wrap
  22050. msgid "device"
  22051. msgstr ""
  22052. #. type: table
  22053. #: guix-git/doc/guix.texi:15299
  22054. 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.}."
  22055. msgstr ""
  22056. #. type: findex
  22057. #: guix-git/doc/guix.texi:15300
  22058. #, no-wrap
  22059. msgid "file-system-label"
  22060. msgstr ""
  22061. #. type: table
  22062. #: guix-git/doc/guix.texi:15305
  22063. 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:"
  22064. msgstr ""
  22065. #. type: lisp
  22066. #: guix-git/doc/guix.texi:15311
  22067. #, no-wrap
  22068. msgid ""
  22069. "(file-system\n"
  22070. " (mount-point \"/home\")\n"
  22071. " (type \"ext4\")\n"
  22072. " (device (file-system-label \"my-home\")))\n"
  22073. msgstr ""
  22074. #. type: code{#1}
  22075. #: guix-git/doc/guix.texi:15313 guix-git/doc/guix.texi:33595
  22076. #: guix-git/doc/guix.texi:33611
  22077. #, no-wrap
  22078. msgid "uuid"
  22079. msgstr ""
  22080. #. type: table
  22081. #: guix-git/doc/guix.texi:15321
  22082. 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:"
  22083. msgstr ""
  22084. #. type: lisp
  22085. #: guix-git/doc/guix.texi:15327
  22086. #, no-wrap
  22087. msgid ""
  22088. "(file-system\n"
  22089. " (mount-point \"/home\")\n"
  22090. " (type \"ext4\")\n"
  22091. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22092. msgstr ""
  22093. #. type: table
  22094. #: guix-git/doc/guix.texi:15335
  22095. 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."
  22096. msgstr ""
  22097. #. type: item
  22098. #: guix-git/doc/guix.texi:15336
  22099. #, no-wrap
  22100. msgid "@code{flags} (default: @code{'()})"
  22101. msgstr ""
  22102. #. type: table
  22103. #: guix-git/doc/guix.texi:15346
  22104. 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."
  22105. msgstr ""
  22106. #. type: item
  22107. #: guix-git/doc/guix.texi:15347
  22108. #, no-wrap
  22109. msgid "@code{options} (default: @code{#f})"
  22110. msgstr ""
  22111. #. type: table
  22112. #: guix-git/doc/guix.texi:15356
  22113. 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."
  22114. msgstr ""
  22115. #. type: item
  22116. #: guix-git/doc/guix.texi:15357
  22117. #, no-wrap
  22118. msgid "@code{mount?} (default: @code{#t})"
  22119. msgstr ""
  22120. #. type: table
  22121. #: guix-git/doc/guix.texi:15362
  22122. 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."
  22123. msgstr ""
  22124. #. type: item
  22125. #: guix-git/doc/guix.texi:15363
  22126. #, no-wrap
  22127. msgid "@code{needed-for-boot?} (default: @code{#f})"
  22128. msgstr ""
  22129. #. type: table
  22130. #: guix-git/doc/guix.texi:15368
  22131. 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."
  22132. msgstr ""
  22133. #. type: item
  22134. #: guix-git/doc/guix.texi:15369
  22135. #, no-wrap
  22136. msgid "@code{check?} (default: @code{#t})"
  22137. msgstr ""
  22138. #. type: table
  22139. #: guix-git/doc/guix.texi:15373
  22140. 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."
  22141. msgstr ""
  22142. #. type: item
  22143. #: guix-git/doc/guix.texi:15374
  22144. #, no-wrap
  22145. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  22146. msgstr ""
  22147. #. type: table
  22148. #: guix-git/doc/guix.texi:15379
  22149. 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."
  22150. msgstr ""
  22151. #. type: table
  22152. #: guix-git/doc/guix.texi:15383
  22153. 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!"
  22154. msgstr ""
  22155. #. type: table
  22156. #: guix-git/doc/guix.texi:15387
  22157. 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."
  22158. msgstr ""
  22159. #. type: item
  22160. #: guix-git/doc/guix.texi:15388
  22161. #, no-wrap
  22162. msgid "@code{repair} (default: @code{'preen})"
  22163. msgstr ""
  22164. #. type: table
  22165. #: guix-git/doc/guix.texi:15391
  22166. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  22167. msgstr ""
  22168. #. type: table
  22169. #: guix-git/doc/guix.texi:15395
  22170. 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."
  22171. msgstr ""
  22172. #. type: table
  22173. #: guix-git/doc/guix.texi:15398
  22174. 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."
  22175. msgstr ""
  22176. #. type: table
  22177. #: guix-git/doc/guix.texi:15402
  22178. 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''."
  22179. msgstr ""
  22180. #. type: item
  22181. #: guix-git/doc/guix.texi:15403
  22182. #, no-wrap
  22183. msgid "@code{create-mount-point?} (default: @code{#f})"
  22184. msgstr ""
  22185. #. type: table
  22186. #: guix-git/doc/guix.texi:15405
  22187. msgid "When true, the mount point is created if it does not exist yet."
  22188. msgstr ""
  22189. #. type: item
  22190. #: guix-git/doc/guix.texi:15406
  22191. #, no-wrap
  22192. msgid "@code{mount-may-fail?} (default: @code{#f})"
  22193. msgstr ""
  22194. #. type: table
  22195. #: guix-git/doc/guix.texi:15411
  22196. 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."
  22197. msgstr ""
  22198. #. type: item
  22199. #: guix-git/doc/guix.texi:15412 guix-git/doc/guix.texi:15808
  22200. #, no-wrap
  22201. msgid "@code{dependencies} (default: @code{'()})"
  22202. msgstr ""
  22203. #. type: table
  22204. #: guix-git/doc/guix.texi:15416
  22205. 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."
  22206. msgstr ""
  22207. #. type: table
  22208. #: guix-git/doc/guix.texi:15420
  22209. 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}."
  22210. msgstr ""
  22211. #. type: table
  22212. #: guix-git/doc/guix.texi:15423
  22213. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  22214. msgstr ""
  22215. #. type: deffn
  22216. #: guix-git/doc/guix.texi:15426
  22217. #, no-wrap
  22218. msgid "{Scheme Procedure} file-system-label @var{str}"
  22219. msgstr ""
  22220. #. type: deffn
  22221. #: guix-git/doc/guix.texi:15429
  22222. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  22223. msgstr ""
  22224. #. type: lisp
  22225. #: guix-git/doc/guix.texi:15433
  22226. #, no-wrap
  22227. msgid ""
  22228. "(file-system-label \"home\")\n"
  22229. "@result{} #<file-system-label \"home\">\n"
  22230. msgstr ""
  22231. #. type: deffn
  22232. #: guix-git/doc/guix.texi:15437
  22233. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  22234. msgstr ""
  22235. #. type: Plain text
  22236. #: guix-git/doc/guix.texi:15441
  22237. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  22238. msgstr ""
  22239. #. type: defvr
  22240. #: guix-git/doc/guix.texi:15442
  22241. #, no-wrap
  22242. msgid "{Scheme Variable} %base-file-systems"
  22243. msgstr ""
  22244. #. type: defvr
  22245. #: guix-git/doc/guix.texi:15447
  22246. 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."
  22247. msgstr ""
  22248. #. type: defvr
  22249. #: guix-git/doc/guix.texi:15449
  22250. #, no-wrap
  22251. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  22252. msgstr ""
  22253. #. type: defvr
  22254. #: guix-git/doc/guix.texi:15455
  22255. 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}."
  22256. msgstr ""
  22257. #. type: defvr
  22258. #: guix-git/doc/guix.texi:15457
  22259. #, no-wrap
  22260. msgid "{Scheme Variable} %shared-memory-file-system"
  22261. msgstr ""
  22262. #. type: defvr
  22263. #: guix-git/doc/guix.texi:15461
  22264. 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})."
  22265. msgstr ""
  22266. #. type: defvr
  22267. #: guix-git/doc/guix.texi:15463
  22268. #, no-wrap
  22269. msgid "{Scheme Variable} %immutable-store"
  22270. msgstr ""
  22271. #. type: defvr
  22272. #: guix-git/doc/guix.texi:15468
  22273. 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."
  22274. msgstr ""
  22275. #. type: defvr
  22276. #: guix-git/doc/guix.texi:15471
  22277. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  22278. msgstr ""
  22279. #. type: defvr
  22280. #: guix-git/doc/guix.texi:15473
  22281. #, no-wrap
  22282. msgid "{Scheme Variable} %binary-format-file-system"
  22283. msgstr ""
  22284. #. type: defvr
  22285. #: guix-git/doc/guix.texi:15477
  22286. 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."
  22287. msgstr ""
  22288. #. type: defvr
  22289. #: guix-git/doc/guix.texi:15479
  22290. #, no-wrap
  22291. msgid "{Scheme Variable} %fuse-control-file-system"
  22292. msgstr ""
  22293. #. type: defvr
  22294. #: guix-git/doc/guix.texi:15483
  22295. 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."
  22296. msgstr ""
  22297. #. type: Plain text
  22298. #: guix-git/doc/guix.texi:15487
  22299. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  22300. msgstr ""
  22301. #. type: deffn
  22302. #: guix-git/doc/guix.texi:15488
  22303. #, no-wrap
  22304. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  22305. msgstr ""
  22306. #. type: deffn
  22307. #: guix-git/doc/guix.texi:15491
  22308. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  22309. msgstr ""
  22310. #. type: lisp
  22311. #: guix-git/doc/guix.texi:15495
  22312. #, no-wrap
  22313. msgid ""
  22314. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  22315. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  22316. "\n"
  22317. msgstr ""
  22318. #. type: lisp
  22319. #: guix-git/doc/guix.texi:15498
  22320. #, no-wrap
  22321. msgid ""
  22322. "(uuid \"1234-ABCD\" 'fat)\n"
  22323. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  22324. msgstr ""
  22325. #. type: deffn
  22326. #: guix-git/doc/guix.texi:15502
  22327. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  22328. msgstr ""
  22329. #. type: deffn
  22330. #: guix-git/doc/guix.texi:15505
  22331. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  22332. msgstr ""
  22333. #. type: subsection
  22334. #: guix-git/doc/guix.texi:15508 guix-git/doc/guix.texi:15509
  22335. #, no-wrap
  22336. msgid "Btrfs file system"
  22337. msgstr ""
  22338. #. type: Plain text
  22339. #: guix-git/doc/guix.texi:15515
  22340. 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."
  22341. msgstr ""
  22342. #. type: Plain text
  22343. #: guix-git/doc/guix.texi:15518
  22344. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  22345. msgstr ""
  22346. #. type: lisp
  22347. #: guix-git/doc/guix.texi:15524
  22348. #, no-wrap
  22349. msgid ""
  22350. "(file-system\n"
  22351. " (mount-point \"/home\")\n"
  22352. " (type \"btrfs\")\n"
  22353. " (device (file-system-label \"my-home\")))\n"
  22354. msgstr ""
  22355. #. type: Plain text
  22356. #: guix-git/doc/guix.texi:15530
  22357. 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}):"
  22358. msgstr ""
  22359. #. type: lisp
  22360. #: guix-git/doc/guix.texi:15538
  22361. #, no-wrap
  22362. msgid ""
  22363. "(file-system\n"
  22364. " (device (file-system-label \"my-btrfs-pool\"))\n"
  22365. " (mount-point \"/\")\n"
  22366. " (type \"btrfs\")\n"
  22367. " (options \"subvol=rootfs\")\n"
  22368. " (dependencies mapped-devices))\n"
  22369. msgstr ""
  22370. #. type: Plain text
  22371. #: guix-git/doc/guix.texi:15549
  22372. 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."
  22373. msgstr ""
  22374. #. type: Plain text
  22375. #: guix-git/doc/guix.texi:15557
  22376. 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.:"
  22377. msgstr ""
  22378. #. type: example
  22379. #: guix-git/doc/guix.texi:15564
  22380. #, no-wrap
  22381. msgid ""
  22382. "/ (top level)\n"
  22383. "├── rootfs (subvolume directory)\n"
  22384. " ├── gnu (normal directory)\n"
  22385. " ├── store (normal directory)\n"
  22386. "[...]\n"
  22387. msgstr ""
  22388. #. type: Plain text
  22389. #: guix-git/doc/guix.texi:15569
  22390. 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."
  22391. msgstr ""
  22392. #. type: Plain text
  22393. #: guix-git/doc/guix.texi:15572
  22394. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  22395. msgstr ""
  22396. #. type: example
  22397. #: guix-git/doc/guix.texi:15579
  22398. #, no-wrap
  22399. msgid ""
  22400. "/ (top level)\n"
  22401. "├── rootfs (subvolume)\n"
  22402. " ├── gnu (normal directory)\n"
  22403. " ├── store (subvolume)\n"
  22404. "[...]\n"
  22405. msgstr ""
  22406. #. type: Plain text
  22407. #: guix-git/doc/guix.texi:15586
  22408. 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}."
  22409. msgstr ""
  22410. #. type: Plain text
  22411. #: guix-git/doc/guix.texi:15588
  22412. msgid "Finally, a more contrived example of nested subvolumes:"
  22413. msgstr ""
  22414. #. type: example
  22415. #: guix-git/doc/guix.texi:15595
  22416. #, no-wrap
  22417. msgid ""
  22418. "/ (top level)\n"
  22419. "├── root-snapshots (subvolume)\n"
  22420. " ├── root-current (subvolume)\n"
  22421. " ├── guix-store (subvolume)\n"
  22422. "[...]\n"
  22423. msgstr ""
  22424. #. type: Plain text
  22425. #: guix-git/doc/guix.texi:15602
  22426. 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:"
  22427. msgstr ""
  22428. #. type: lisp
  22429. #: guix-git/doc/guix.texi:15610
  22430. #, no-wrap
  22431. msgid ""
  22432. "(file-system\n"
  22433. " (device (file-system-label \"btrfs-pool-1\"))\n"
  22434. " (mount-point \"/gnu/store\")\n"
  22435. " (type \"btrfs\")\n"
  22436. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  22437. "compress-force=zstd,space_cache=v2\"))\n"
  22438. msgstr ""
  22439. #. type: cindex
  22440. #: guix-git/doc/guix.texi:15615
  22441. #, no-wrap
  22442. msgid "device mapping"
  22443. msgstr ""
  22444. #. type: cindex
  22445. #: guix-git/doc/guix.texi:15616
  22446. #, no-wrap
  22447. msgid "mapped devices"
  22448. msgstr ""
  22449. #. type: Plain text
  22450. #: guix-git/doc/guix.texi:15633
  22451. 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."
  22452. msgstr ""
  22453. #. type: Plain text
  22454. #: guix-git/doc/guix.texi:15636
  22455. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  22456. msgstr ""
  22457. #. type: deftp
  22458. #: guix-git/doc/guix.texi:15637
  22459. #, no-wrap
  22460. msgid "{Data Type} mapped-device"
  22461. msgstr ""
  22462. #. type: deftp
  22463. #: guix-git/doc/guix.texi:15640
  22464. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  22465. msgstr ""
  22466. #. type: table
  22467. #: guix-git/doc/guix.texi:15647
  22468. 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."
  22469. msgstr ""
  22470. #. type: code{#1}
  22471. #: guix-git/doc/guix.texi:15648 guix-git/doc/guix.texi:15803
  22472. #, no-wrap
  22473. msgid "target"
  22474. msgstr ""
  22475. #. type: table
  22476. #: guix-git/doc/guix.texi:15657
  22477. 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\"}."
  22478. msgstr ""
  22479. #. type: code{#1}
  22480. #: guix-git/doc/guix.texi:15658 guix-git/doc/guix.texi:35187
  22481. #, no-wrap
  22482. msgid "targets"
  22483. msgstr ""
  22484. #. type: table
  22485. #: guix-git/doc/guix.texi:15661
  22486. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  22487. msgstr ""
  22488. #. type: table
  22489. #: guix-git/doc/guix.texi:15665
  22490. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  22491. msgstr ""
  22492. #. type: defvr
  22493. #: guix-git/doc/guix.texi:15668
  22494. #, no-wrap
  22495. msgid "{Scheme Variable} luks-device-mapping"
  22496. msgstr ""
  22497. #. type: defvr
  22498. #: guix-git/doc/guix.texi:15672
  22499. 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."
  22500. msgstr ""
  22501. #. type: defvr
  22502. #: guix-git/doc/guix.texi:15674
  22503. #, no-wrap
  22504. msgid "{Scheme Variable} raid-device-mapping"
  22505. msgstr ""
  22506. #. type: defvr
  22507. #: guix-git/doc/guix.texi:15679
  22508. 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."
  22509. msgstr ""
  22510. #. type: cindex
  22511. #: guix-git/doc/guix.texi:15681
  22512. #, no-wrap
  22513. msgid "LVM, logical volume manager"
  22514. msgstr ""
  22515. #. type: defvr
  22516. #: guix-git/doc/guix.texi:15682
  22517. #, no-wrap
  22518. msgid "{Scheme Variable} lvm-device-mapping"
  22519. msgstr ""
  22520. #. type: defvr
  22521. #: guix-git/doc/guix.texi:15687
  22522. 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."
  22523. msgstr ""
  22524. #. type: cindex
  22525. #: guix-git/doc/guix.texi:15689
  22526. #, no-wrap
  22527. msgid "disk encryption"
  22528. msgstr ""
  22529. #. type: cindex
  22530. #: guix-git/doc/guix.texi:15690
  22531. #, no-wrap
  22532. msgid "LUKS"
  22533. msgstr ""
  22534. #. type: Plain text
  22535. #: guix-git/doc/guix.texi:15698
  22536. 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})."
  22537. msgstr ""
  22538. #. type: lisp
  22539. #: guix-git/doc/guix.texi:15704
  22540. #, no-wrap
  22541. msgid ""
  22542. "(mapped-device\n"
  22543. " (source \"/dev/sda3\")\n"
  22544. " (target \"home\")\n"
  22545. " (type luks-device-mapping))\n"
  22546. msgstr ""
  22547. #. type: Plain text
  22548. #: guix-git/doc/guix.texi:15709
  22549. 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:"
  22550. msgstr ""
  22551. #. type: example
  22552. #: guix-git/doc/guix.texi:15712
  22553. #, no-wrap
  22554. msgid "cryptsetup luksUUID /dev/sda3\n"
  22555. msgstr ""
  22556. #. type: Plain text
  22557. #: guix-git/doc/guix.texi:15715
  22558. msgid "and use it as follows:"
  22559. msgstr ""
  22560. #. type: lisp
  22561. #: guix-git/doc/guix.texi:15721
  22562. #, no-wrap
  22563. msgid ""
  22564. "(mapped-device\n"
  22565. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  22566. " (target \"home\")\n"
  22567. " (type luks-device-mapping))\n"
  22568. msgstr ""
  22569. #. type: cindex
  22570. #: guix-git/doc/guix.texi:15723
  22571. #, no-wrap
  22572. msgid "swap encryption"
  22573. msgstr ""
  22574. #. type: Plain text
  22575. #: guix-git/doc/guix.texi:15730
  22576. 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."
  22577. msgstr ""
  22578. #. type: Plain text
  22579. #: guix-git/doc/guix.texi:15733
  22580. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  22581. msgstr ""
  22582. #. type: lisp
  22583. #: guix-git/doc/guix.texi:15739
  22584. #, no-wrap
  22585. msgid ""
  22586. "(mapped-device\n"
  22587. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  22588. " (target \"/dev/md0\")\n"
  22589. " (type raid-device-mapping))\n"
  22590. msgstr ""
  22591. #. type: Plain text
  22592. #: guix-git/doc/guix.texi:15746
  22593. 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."
  22594. msgstr ""
  22595. #. type: Plain text
  22596. #: guix-git/doc/guix.texi:15749
  22597. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  22598. msgstr ""
  22599. #. type: lisp
  22600. #: guix-git/doc/guix.texi:15755
  22601. #, no-wrap
  22602. msgid ""
  22603. "(mapped-device\n"
  22604. " (source \"vg0\")\n"
  22605. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  22606. " (type lvm-device-mapping))\n"
  22607. msgstr ""
  22608. #. type: Plain text
  22609. #: guix-git/doc/guix.texi:15760
  22610. 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})."
  22611. msgstr ""
  22612. #. type: cindex
  22613. #: guix-git/doc/guix.texi:15763
  22614. #, no-wrap
  22615. msgid "swap space"
  22616. msgstr ""
  22617. #. type: Plain text
  22618. #: guix-git/doc/guix.texi:15773
  22619. 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."
  22620. msgstr ""
  22621. #. type: Plain text
  22622. #: guix-git/doc/guix.texi:15779
  22623. 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."
  22624. msgstr ""
  22625. #. type: Plain text
  22626. #: guix-git/doc/guix.texi:15783
  22627. 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}."
  22628. msgstr ""
  22629. #. type: Plain text
  22630. #: guix-git/doc/guix.texi:15792
  22631. 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."
  22632. msgstr ""
  22633. #. type: Plain text
  22634. #: guix-git/doc/guix.texi:15797
  22635. 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})."
  22636. msgstr ""
  22637. #. type: deftp
  22638. #: guix-git/doc/guix.texi:15798
  22639. #, no-wrap
  22640. msgid "{Data Type} swap-space"
  22641. msgstr ""
  22642. #. type: deftp
  22643. #: guix-git/doc/guix.texi:15801
  22644. msgid "Objects of this type represent swap spaces. They contain the following members:"
  22645. msgstr ""
  22646. #. type: table
  22647. #: guix-git/doc/guix.texi:15807
  22648. 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})."
  22649. msgstr ""
  22650. #. type: table
  22651. #: guix-git/doc/guix.texi:15814
  22652. 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."
  22653. msgstr ""
  22654. #. type: item
  22655. #: guix-git/doc/guix.texi:15815
  22656. #, no-wrap
  22657. msgid "@code{priority} (default: @code{#f})"
  22658. msgstr ""
  22659. #. type: table
  22660. #: guix-git/doc/guix.texi:15822
  22661. 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)."
  22662. msgstr ""
  22663. #. type: item
  22664. #: guix-git/doc/guix.texi:15823
  22665. #, no-wrap
  22666. msgid "@code{discard?} (default: @code{#f})"
  22667. msgstr ""
  22668. #. type: table
  22669. #: guix-git/doc/guix.texi:15827
  22670. 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."
  22671. msgstr ""
  22672. #. type: Plain text
  22673. #: guix-git/doc/guix.texi:15832
  22674. msgid "Here are some examples:"
  22675. msgstr ""
  22676. #. type: lisp
  22677. #: guix-git/doc/guix.texi:15835
  22678. #, no-wrap
  22679. msgid "(swap-space (target (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22680. msgstr ""
  22681. #. type: Plain text
  22682. #: guix-git/doc/guix.texi:15840
  22683. 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."
  22684. msgstr ""
  22685. #. type: lisp
  22686. #: guix-git/doc/guix.texi:15845
  22687. #, no-wrap
  22688. msgid ""
  22689. "(swap-space\n"
  22690. " (target (file-system-label \"swap\"))\n"
  22691. " (dependencies mapped-devices))\n"
  22692. msgstr ""
  22693. #. type: Plain text
  22694. #: guix-git/doc/guix.texi:15851
  22695. 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."
  22696. msgstr ""
  22697. #. type: Plain text
  22698. #: guix-git/doc/guix.texi:15854
  22699. msgid "Here's a more involved example with the corresponding @code{file-systems} part of an @code{operating-system} declaration."
  22700. msgstr ""
  22701. #. type: lisp
  22702. #: guix-git/doc/guix.texi:15865
  22703. #, no-wrap
  22704. msgid ""
  22705. "(file-systems\n"
  22706. " (list (file-system\n"
  22707. " (device (file-system-label \"root\"))\n"
  22708. " (mount-point \"/\")\n"
  22709. " (type \"ext4\"))\n"
  22710. " (file-system\n"
  22711. " (device (file-system-label \"btrfs\"))\n"
  22712. " (mount-point \"/btrfs\")\n"
  22713. " (type \"btrfs\"))))\n"
  22714. "\n"
  22715. msgstr ""
  22716. #. type: lisp
  22717. #: guix-git/doc/guix.texi:15872
  22718. #, no-wrap
  22719. msgid ""
  22720. "(swap-devices\n"
  22721. " (list\n"
  22722. " (swap-space\n"
  22723. " (target \"/btrfs/swapfile\")\n"
  22724. " (dependencies (filter (file-system-mount-point-predicate \"/btrfs\")\n"
  22725. " file-systems)))))\n"
  22726. msgstr ""
  22727. #. type: Plain text
  22728. #: guix-git/doc/guix.texi:15877
  22729. 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!"
  22730. msgstr ""
  22731. #. type: cindex
  22732. #: guix-git/doc/guix.texi:15881
  22733. #, no-wrap
  22734. msgid "users"
  22735. msgstr ""
  22736. #. type: cindex
  22737. #: guix-git/doc/guix.texi:15882
  22738. #, no-wrap
  22739. msgid "accounts"
  22740. msgstr ""
  22741. #. type: cindex
  22742. #: guix-git/doc/guix.texi:15883
  22743. #, no-wrap
  22744. msgid "user accounts"
  22745. msgstr ""
  22746. #. type: Plain text
  22747. #: guix-git/doc/guix.texi:15887
  22748. 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:"
  22749. msgstr ""
  22750. #. type: lisp
  22751. #: guix-git/doc/guix.texi:15897
  22752. #, no-wrap
  22753. msgid ""
  22754. "(user-account\n"
  22755. " (name \"alice\")\n"
  22756. " (group \"users\")\n"
  22757. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  22758. " \"audio\" ;sound card\n"
  22759. " \"video\" ;video devices such as webcams\n"
  22760. " \"cdrom\")) ;the good ol' CD-ROM\n"
  22761. " (comment \"Bob's sister\"))\n"
  22762. msgstr ""
  22763. #. type: Plain text
  22764. #: guix-git/doc/guix.texi:15901
  22765. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  22766. msgstr ""
  22767. #. type: lisp
  22768. #: guix-git/doc/guix.texi:15909
  22769. #, no-wrap
  22770. msgid ""
  22771. "(user-account\n"
  22772. " (name \"bob\")\n"
  22773. " (group \"users\")\n"
  22774. " (comment \"Alice's bro\")\n"
  22775. " (shell (file-append zsh \"/bin/zsh\"))\n"
  22776. " (home-directory \"/home/robert\"))\n"
  22777. msgstr ""
  22778. #. type: Plain text
  22779. #: guix-git/doc/guix.texi:15918
  22780. 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."
  22781. msgstr ""
  22782. #. type: deftp
  22783. #: guix-git/doc/guix.texi:15919
  22784. #, no-wrap
  22785. msgid "{Data Type} user-account"
  22786. msgstr ""
  22787. #. type: deftp
  22788. #: guix-git/doc/guix.texi:15922
  22789. msgid "Objects of this type represent user accounts. The following members may be specified:"
  22790. msgstr ""
  22791. #. type: table
  22792. #: guix-git/doc/guix.texi:15926
  22793. msgid "The name of the user account."
  22794. msgstr ""
  22795. #. type: itemx
  22796. #: guix-git/doc/guix.texi:15927 guix-git/doc/guix.texi:34851
  22797. #, no-wrap
  22798. msgid "group"
  22799. msgstr ""
  22800. #. type: cindex
  22801. #: guix-git/doc/guix.texi:15928 guix-git/doc/guix.texi:16012
  22802. #, no-wrap
  22803. msgid "groups"
  22804. msgstr ""
  22805. #. type: table
  22806. #: guix-git/doc/guix.texi:15931
  22807. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  22808. msgstr ""
  22809. #. type: item
  22810. #: guix-git/doc/guix.texi:15932
  22811. #, no-wrap
  22812. msgid "@code{supplementary-groups} (default: @code{'()})"
  22813. msgstr ""
  22814. #. type: table
  22815. #: guix-git/doc/guix.texi:15935
  22816. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  22817. msgstr ""
  22818. #. type: item
  22819. #: guix-git/doc/guix.texi:15936
  22820. #, no-wrap
  22821. msgid "@code{uid} (default: @code{#f})"
  22822. msgstr ""
  22823. #. type: table
  22824. #: guix-git/doc/guix.texi:15940
  22825. 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."
  22826. msgstr ""
  22827. #. type: item
  22828. #: guix-git/doc/guix.texi:15941 guix-git/doc/guix.texi:18704
  22829. #, no-wrap
  22830. msgid "@code{comment} (default: @code{\"\"})"
  22831. msgstr ""
  22832. #. type: table
  22833. #: guix-git/doc/guix.texi:15943
  22834. msgid "A comment about the account, such as the account owner's full name."
  22835. msgstr ""
  22836. #. type: table
  22837. #: guix-git/doc/guix.texi:15948
  22838. 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."
  22839. msgstr ""
  22840. #. type: code{#1}
  22841. #: guix-git/doc/guix.texi:15949
  22842. #, no-wrap
  22843. msgid "home-directory"
  22844. msgstr ""
  22845. #. type: table
  22846. #: guix-git/doc/guix.texi:15951
  22847. msgid "This is the name of the home directory for the account."
  22848. msgstr ""
  22849. #. type: item
  22850. #: guix-git/doc/guix.texi:15952
  22851. #, no-wrap
  22852. msgid "@code{create-home-directory?} (default: @code{#t})"
  22853. msgstr ""
  22854. #. type: table
  22855. #: guix-git/doc/guix.texi:15955
  22856. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  22857. msgstr ""
  22858. #. type: item
  22859. #: guix-git/doc/guix.texi:15956
  22860. #, no-wrap
  22861. msgid "@code{shell} (default: Bash)"
  22862. msgstr ""
  22863. #. type: table
  22864. #: guix-git/doc/guix.texi:15960
  22865. 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:"
  22866. msgstr ""
  22867. #. type: lisp
  22868. #: guix-git/doc/guix.texi:15963
  22869. #, no-wrap
  22870. msgid "(file-append bash \"/bin/bash\")\n"
  22871. msgstr ""
  22872. #. type: table
  22873. #: guix-git/doc/guix.texi:15967
  22874. msgid "... and to the Zsh executable like that:"
  22875. msgstr ""
  22876. #. type: lisp
  22877. #: guix-git/doc/guix.texi:15970
  22878. #, no-wrap
  22879. msgid "(file-append zsh \"/bin/zsh\")\n"
  22880. msgstr ""
  22881. #. type: item
  22882. #: guix-git/doc/guix.texi:15972 guix-git/doc/guix.texi:16030
  22883. #, no-wrap
  22884. msgid "@code{system?} (default: @code{#f})"
  22885. msgstr ""
  22886. #. type: table
  22887. #: guix-git/doc/guix.texi:15976
  22888. 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."
  22889. msgstr ""
  22890. #. type: anchor{#1}
  22891. #: guix-git/doc/guix.texi:15978
  22892. msgid "user-account-password"
  22893. msgstr ""
  22894. #. type: cindex
  22895. #: guix-git/doc/guix.texi:15978
  22896. #, no-wrap
  22897. msgid "password, for user accounts"
  22898. msgstr ""
  22899. #. type: item
  22900. #: guix-git/doc/guix.texi:15979 guix-git/doc/guix.texi:16034
  22901. #, no-wrap
  22902. msgid "@code{password} (default: @code{#f})"
  22903. msgstr ""
  22904. #. type: table
  22905. #: guix-git/doc/guix.texi:15985
  22906. 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."
  22907. msgstr ""
  22908. #. type: table
  22909. #: guix-git/doc/guix.texi:15989
  22910. 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:"
  22911. msgstr ""
  22912. #. type: lisp
  22913. #: guix-git/doc/guix.texi:15994
  22914. #, no-wrap
  22915. msgid ""
  22916. "(user-account\n"
  22917. " (name \"charlie\")\n"
  22918. " (group \"users\")\n"
  22919. "\n"
  22920. msgstr ""
  22921. #. type: lisp
  22922. #: guix-git/doc/guix.texi:15997
  22923. #, no-wrap
  22924. msgid ""
  22925. " ;; Specify a SHA-512-hashed initial password.\n"
  22926. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  22927. msgstr ""
  22928. #. type: quotation
  22929. #: guix-git/doc/guix.texi:16003
  22930. 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."
  22931. msgstr ""
  22932. #. type: table
  22933. #: guix-git/doc/guix.texi:16008
  22934. 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."
  22935. msgstr ""
  22936. #. type: Plain text
  22937. #: guix-git/doc/guix.texi:16014
  22938. msgid "User group declarations are even simpler:"
  22939. msgstr ""
  22940. #. type: lisp
  22941. #: guix-git/doc/guix.texi:16017
  22942. #, no-wrap
  22943. msgid "(user-group (name \"students\"))\n"
  22944. msgstr ""
  22945. #. type: deftp
  22946. #: guix-git/doc/guix.texi:16019
  22947. #, no-wrap
  22948. msgid "{Data Type} user-group"
  22949. msgstr ""
  22950. #. type: deftp
  22951. #: guix-git/doc/guix.texi:16021
  22952. msgid "This type is for, well, user groups. There are just a few fields:"
  22953. msgstr ""
  22954. #. type: table
  22955. #: guix-git/doc/guix.texi:16025
  22956. msgid "The name of the group."
  22957. msgstr ""
  22958. #. type: item
  22959. #: guix-git/doc/guix.texi:16026 guix-git/doc/guix.texi:31284
  22960. #, no-wrap
  22961. msgid "@code{id} (default: @code{#f})"
  22962. msgstr ""
  22963. #. type: table
  22964. #: guix-git/doc/guix.texi:16029
  22965. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  22966. msgstr ""
  22967. #. type: table
  22968. #: guix-git/doc/guix.texi:16033
  22969. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  22970. msgstr ""
  22971. #. type: table
  22972. #: guix-git/doc/guix.texi:16037
  22973. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  22974. msgstr ""
  22975. #. type: Plain text
  22976. #: guix-git/doc/guix.texi:16043
  22977. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  22978. msgstr ""
  22979. #. type: defvr
  22980. #: guix-git/doc/guix.texi:16044
  22981. #, no-wrap
  22982. msgid "{Scheme Variable} %base-groups"
  22983. msgstr ""
  22984. #. type: defvr
  22985. #: guix-git/doc/guix.texi:16049
  22986. 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''."
  22987. msgstr ""
  22988. #. type: defvr
  22989. #: guix-git/doc/guix.texi:16051
  22990. #, no-wrap
  22991. msgid "{Scheme Variable} %base-user-accounts"
  22992. msgstr ""
  22993. #. type: defvr
  22994. #: guix-git/doc/guix.texi:16054
  22995. 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."
  22996. msgstr ""
  22997. #. type: defvr
  22998. #: guix-git/doc/guix.texi:16057
  22999. 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."
  23000. msgstr ""
  23001. #. type: cindex
  23002. #: guix-git/doc/guix.texi:16063
  23003. #, no-wrap
  23004. msgid "keymap"
  23005. msgstr ""
  23006. #. type: Plain text
  23007. #: guix-git/doc/guix.texi:16071
  23008. 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."
  23009. msgstr ""
  23010. #. type: cindex
  23011. #: guix-git/doc/guix.texi:16072
  23012. #, no-wrap
  23013. msgid "keyboard layout, definition"
  23014. msgstr ""
  23015. #. type: Plain text
  23016. #: guix-git/doc/guix.texi:16074
  23017. msgid "There are three components that will want to know about your keyboard layout:"
  23018. msgstr ""
  23019. #. type: itemize
  23020. #: guix-git/doc/guix.texi:16081
  23021. 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."
  23022. msgstr ""
  23023. #. type: itemize
  23024. #: guix-git/doc/guix.texi:16086
  23025. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  23026. msgstr ""
  23027. #. type: itemize
  23028. #: guix-git/doc/guix.texi:16090
  23029. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  23030. msgstr ""
  23031. #. type: Plain text
  23032. #: guix-git/doc/guix.texi:16094
  23033. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  23034. msgstr ""
  23035. #. type: cindex
  23036. #: guix-git/doc/guix.texi:16095
  23037. #, no-wrap
  23038. msgid "XKB, keyboard layouts"
  23039. msgstr ""
  23040. #. type: Plain text
  23041. #: guix-git/doc/guix.texi:16103
  23042. 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."
  23043. msgstr ""
  23044. #. type: deffn
  23045. #: guix-git/doc/guix.texi:16104
  23046. #, no-wrap
  23047. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  23048. msgstr ""
  23049. #. type: deffn
  23050. #: guix-git/doc/guix.texi:16107
  23051. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  23052. msgstr ""
  23053. #. type: deffn
  23054. #: guix-git/doc/guix.texi:16111
  23055. 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."
  23056. msgstr ""
  23057. #. type: Plain text
  23058. #: guix-git/doc/guix.texi:16114
  23059. msgid "Here are a few examples:"
  23060. msgstr ""
  23061. #. type: lisp
  23062. #: guix-git/doc/guix.texi:16119
  23063. #, no-wrap
  23064. msgid ""
  23065. ";; The German QWERTZ layout. Here we assume a standard\n"
  23066. ";; \"pc105\" keyboard model.\n"
  23067. "(keyboard-layout \"de\")\n"
  23068. "\n"
  23069. msgstr ""
  23070. #. type: lisp
  23071. #: guix-git/doc/guix.texi:16122
  23072. #, no-wrap
  23073. msgid ""
  23074. ";; The bépo variant of the French layout.\n"
  23075. "(keyboard-layout \"fr\" \"bepo\")\n"
  23076. "\n"
  23077. msgstr ""
  23078. #. type: lisp
  23079. #: guix-git/doc/guix.texi:16125
  23080. #, no-wrap
  23081. msgid ""
  23082. ";; The Catalan layout.\n"
  23083. "(keyboard-layout \"es\" \"cat\")\n"
  23084. "\n"
  23085. msgstr ""
  23086. #. type: lisp
  23087. #: guix-git/doc/guix.texi:16128
  23088. #, no-wrap
  23089. msgid ""
  23090. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  23091. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  23092. "\n"
  23093. msgstr ""
  23094. #. type: lisp
  23095. #: guix-git/doc/guix.texi:16135
  23096. #, no-wrap
  23097. msgid ""
  23098. ";; The Latin American Spanish layout. In addition, the\n"
  23099. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  23100. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  23101. ";; accented letters.\n"
  23102. "(keyboard-layout \"latam\"\n"
  23103. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  23104. "\n"
  23105. msgstr ""
  23106. #. type: lisp
  23107. #: guix-git/doc/guix.texi:16138
  23108. #, no-wrap
  23109. msgid ""
  23110. ";; The Russian layout for a ThinkPad keyboard.\n"
  23111. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  23112. "\n"
  23113. msgstr ""
  23114. #. type: lisp
  23115. #: guix-git/doc/guix.texi:16143
  23116. #, no-wrap
  23117. msgid ""
  23118. ";; The \"US international\" layout, which is the US layout plus\n"
  23119. ";; dead keys to enter accented characters. This is for an\n"
  23120. ";; Apple MacBook keyboard.\n"
  23121. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  23122. msgstr ""
  23123. #. type: Plain text
  23124. #: guix-git/doc/guix.texi:16147
  23125. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  23126. msgstr ""
  23127. #. type: cindex
  23128. #: guix-git/doc/guix.texi:16148
  23129. #, no-wrap
  23130. msgid "keyboard layout, configuration"
  23131. msgstr ""
  23132. #. type: Plain text
  23133. #: guix-git/doc/guix.texi:16152
  23134. 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:"
  23135. msgstr ""
  23136. #. type: findex
  23137. #: guix-git/doc/guix.texi:16153
  23138. #, no-wrap
  23139. msgid "set-xorg-configuration"
  23140. msgstr ""
  23141. #. type: lisp
  23142. #: guix-git/doc/guix.texi:16157
  23143. #, no-wrap
  23144. msgid ""
  23145. ";; Using the Turkish layout for the bootloader, the console,\n"
  23146. ";; and for Xorg.\n"
  23147. "\n"
  23148. msgstr ""
  23149. #. type: lisp
  23150. #: guix-git/doc/guix.texi:16169
  23151. #, no-wrap
  23152. msgid ""
  23153. "(operating-system\n"
  23154. " ;; ...\n"
  23155. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  23156. " (bootloader (bootloader-configuration\n"
  23157. " (bootloader grub-efi-bootloader)\n"
  23158. " (targets '(\"/boot/efi\"))\n"
  23159. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  23160. " (services (cons (set-xorg-configuration\n"
  23161. " (xorg-configuration ;for Xorg\n"
  23162. " (keyboard-layout keyboard-layout)))\n"
  23163. " %desktop-services)))\n"
  23164. msgstr ""
  23165. #. type: Plain text
  23166. #: guix-git/doc/guix.texi:16176
  23167. 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."
  23168. msgstr ""
  23169. #. type: Plain text
  23170. #: guix-git/doc/guix.texi:16179
  23171. 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:"
  23172. msgstr ""
  23173. #. type: itemize
  23174. #: guix-git/doc/guix.texi:16184
  23175. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  23176. msgstr ""
  23177. #. type: itemize
  23178. #: guix-git/doc/guix.texi:16189
  23179. 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:"
  23180. msgstr ""
  23181. #. type: example
  23182. #: guix-git/doc/guix.texi:16192
  23183. #, no-wrap
  23184. msgid "setxkbmap us dvorak\n"
  23185. msgstr ""
  23186. #. type: itemize
  23187. #: guix-git/doc/guix.texi:16199
  23188. 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:"
  23189. msgstr ""
  23190. #. type: example
  23191. #: guix-git/doc/guix.texi:16202
  23192. #, no-wrap
  23193. msgid "loadkeys fr-bepo\n"
  23194. msgstr ""
  23195. #. type: cindex
  23196. #: guix-git/doc/guix.texi:16208
  23197. #, no-wrap
  23198. msgid "locale"
  23199. msgstr ""
  23200. #. type: Plain text
  23201. #: guix-git/doc/guix.texi:16215
  23202. 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."
  23203. msgstr ""
  23204. #. type: cindex
  23205. #: guix-git/doc/guix.texi:16216
  23206. #, no-wrap
  23207. msgid "locale definition"
  23208. msgstr ""
  23209. #. type: Plain text
  23210. #: guix-git/doc/guix.texi:16220
  23211. 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}})."
  23212. msgstr ""
  23213. #. type: Plain text
  23214. #: guix-git/doc/guix.texi:16229
  23215. 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."
  23216. msgstr ""
  23217. #. type: Plain text
  23218. #: guix-git/doc/guix.texi:16232
  23219. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  23220. msgstr ""
  23221. #. type: lisp
  23222. #: guix-git/doc/guix.texi:16237
  23223. #, no-wrap
  23224. msgid ""
  23225. "(cons (locale-definition\n"
  23226. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  23227. " %default-locale-definitions)\n"
  23228. msgstr ""
  23229. #. type: Plain text
  23230. #: guix-git/doc/guix.texi:16241
  23231. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  23232. msgstr ""
  23233. #. type: lisp
  23234. #: guix-git/doc/guix.texi:16246
  23235. #, no-wrap
  23236. msgid ""
  23237. "(list (locale-definition\n"
  23238. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  23239. " (charset \"EUC-JP\")))\n"
  23240. msgstr ""
  23241. #. type: Plain text
  23242. #: guix-git/doc/guix.texi:16255
  23243. 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})."
  23244. msgstr ""
  23245. #. type: Plain text
  23246. #: guix-git/doc/guix.texi:16258
  23247. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  23248. msgstr ""
  23249. #. type: deftp
  23250. #: guix-git/doc/guix.texi:16259
  23251. #, no-wrap
  23252. msgid "{Data Type} locale-definition"
  23253. msgstr ""
  23254. #. type: deftp
  23255. #: guix-git/doc/guix.texi:16261
  23256. msgid "This is the data type of a locale definition."
  23257. msgstr ""
  23258. #. type: table
  23259. #: guix-git/doc/guix.texi:16267
  23260. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  23261. msgstr ""
  23262. #. type: table
  23263. #: guix-git/doc/guix.texi:16271
  23264. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  23265. msgstr ""
  23266. #. type: item
  23267. #: guix-git/doc/guix.texi:16272
  23268. #, no-wrap
  23269. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  23270. msgstr ""
  23271. #. type: table
  23272. #: guix-git/doc/guix.texi:16276
  23273. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  23274. msgstr ""
  23275. #. type: defvr
  23276. #: guix-git/doc/guix.texi:16280
  23277. #, no-wrap
  23278. msgid "{Scheme Variable} %default-locale-definitions"
  23279. msgstr ""
  23280. #. type: defvr
  23281. #: guix-git/doc/guix.texi:16284
  23282. 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."
  23283. msgstr ""
  23284. #. type: cindex
  23285. #: guix-git/doc/guix.texi:16285
  23286. #, no-wrap
  23287. msgid "locale name"
  23288. msgstr ""
  23289. #. type: cindex
  23290. #: guix-git/doc/guix.texi:16286
  23291. #, no-wrap
  23292. msgid "normalized codeset in locale names"
  23293. msgstr ""
  23294. #. type: defvr
  23295. #: guix-git/doc/guix.texi:16292
  23296. 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}."
  23297. msgstr ""
  23298. #. type: subsection
  23299. #: guix-git/doc/guix.texi:16294
  23300. #, no-wrap
  23301. msgid "Locale Data Compatibility Considerations"
  23302. msgstr ""
  23303. #. type: cindex
  23304. #: guix-git/doc/guix.texi:16296
  23305. #, no-wrap
  23306. msgid "incompatibility, of locale data"
  23307. msgstr ""
  23308. #. type: Plain text
  23309. #: guix-git/doc/guix.texi:16303
  23310. 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."
  23311. msgstr ""
  23312. #. type: Plain text
  23313. #: guix-git/doc/guix.texi:16315
  23314. 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."
  23315. msgstr ""
  23316. #. type: Plain text
  23317. #: guix-git/doc/guix.texi:16320
  23318. 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."
  23319. msgstr ""
  23320. #. type: Plain text
  23321. #: guix-git/doc/guix.texi:16324
  23322. 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})."
  23323. msgstr ""
  23324. #. type: Plain text
  23325. #: guix-git/doc/guix.texi:16331
  23326. 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}:"
  23327. msgstr ""
  23328. #. type: lisp
  23329. #: guix-git/doc/guix.texi:16334
  23330. #, no-wrap
  23331. msgid ""
  23332. "(use-package-modules base)\n"
  23333. "\n"
  23334. msgstr ""
  23335. #. type: lisp
  23336. #: guix-git/doc/guix.texi:16338
  23337. #, no-wrap
  23338. msgid ""
  23339. "(operating-system\n"
  23340. " ;; @dots{}\n"
  23341. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  23342. msgstr ""
  23343. #. type: Plain text
  23344. #: guix-git/doc/guix.texi:16343
  23345. 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}."
  23346. msgstr ""
  23347. #. type: cindex
  23348. #: guix-git/doc/guix.texi:16348
  23349. #, no-wrap
  23350. msgid "system services"
  23351. msgstr ""
  23352. #. type: Plain text
  23353. #: guix-git/doc/guix.texi:16354
  23354. 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."
  23355. msgstr ""
  23356. #. type: Plain text
  23357. #: guix-git/doc/guix.texi:16361
  23358. 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:"
  23359. msgstr ""
  23360. #. type: example
  23361. #: guix-git/doc/guix.texi:16364
  23362. #, no-wrap
  23363. msgid "# herd status\n"
  23364. msgstr ""
  23365. #. type: Plain text
  23366. #: guix-git/doc/guix.texi:16369
  23367. 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:"
  23368. msgstr ""
  23369. #. type: example
  23370. #: guix-git/doc/guix.texi:16373
  23371. #, no-wrap
  23372. msgid ""
  23373. "# herd doc nscd\n"
  23374. "Run libc's name service cache daemon (nscd).\n"
  23375. "\n"
  23376. msgstr ""
  23377. #. type: example
  23378. #: guix-git/doc/guix.texi:16376
  23379. #, no-wrap
  23380. msgid ""
  23381. "# herd doc nscd action invalidate\n"
  23382. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  23383. msgstr ""
  23384. #. type: Plain text
  23385. #: guix-git/doc/guix.texi:16381
  23386. 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:"
  23387. msgstr ""
  23388. #. type: example
  23389. #: guix-git/doc/guix.texi:16388
  23390. #, no-wrap
  23391. msgid ""
  23392. "# herd stop nscd\n"
  23393. "Service nscd has been stopped.\n"
  23394. "# herd restart xorg-server\n"
  23395. "Service xorg-server has been stopped.\n"
  23396. "Service xorg-server has been started.\n"
  23397. msgstr ""
  23398. #. type: Plain text
  23399. #: guix-git/doc/guix.texi:16393
  23400. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  23401. msgstr ""
  23402. #. type: subsection
  23403. #: guix-git/doc/guix.texi:16429 guix-git/doc/guix.texi:24718
  23404. #: guix-git/doc/guix.texi:24719
  23405. #, no-wrap
  23406. msgid "File-Sharing Services"
  23407. msgstr ""
  23408. #. type: menuentry
  23409. #: guix-git/doc/guix.texi:16429
  23410. msgid "File-sharing services."
  23411. msgstr ""
  23412. #. type: Plain text
  23413. #: guix-git/doc/guix.texi:16437
  23414. 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."
  23415. msgstr ""
  23416. #. type: defvr
  23417. #: guix-git/doc/guix.texi:16438
  23418. #, no-wrap
  23419. msgid "{Scheme Variable} %base-services"
  23420. msgstr ""
  23421. #. type: defvr
  23422. #: guix-git/doc/guix.texi:16444
  23423. 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."
  23424. msgstr ""
  23425. #. type: defvr
  23426. #: guix-git/doc/guix.texi:16449
  23427. 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:"
  23428. msgstr ""
  23429. #. type: lisp
  23430. #: guix-git/doc/guix.texi:16454
  23431. #, no-wrap
  23432. msgid ""
  23433. "(append (list (service avahi-service-type)\n"
  23434. " (service openssh-service-type))\n"
  23435. " %base-services)\n"
  23436. msgstr ""
  23437. #. type: defvr
  23438. #: guix-git/doc/guix.texi:16457
  23439. #, no-wrap
  23440. msgid "{Scheme Variable} special-files-service-type"
  23441. msgstr ""
  23442. #. type: defvr
  23443. #: guix-git/doc/guix.texi:16460
  23444. 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}."
  23445. msgstr ""
  23446. #. type: defvr
  23447. #: guix-git/doc/guix.texi:16464
  23448. 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:"
  23449. msgstr ""
  23450. #. type: file{#1}
  23451. #: guix-git/doc/guix.texi:16465
  23452. #, no-wrap
  23453. msgid "/bin/sh"
  23454. msgstr ""
  23455. #. type: cindex
  23456. #: guix-git/doc/guix.texi:16466
  23457. #, no-wrap
  23458. msgid "@file{sh}, in @file{/bin}"
  23459. msgstr ""
  23460. #. type: lisp
  23461. #: guix-git/doc/guix.texi:16469
  23462. #, no-wrap
  23463. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  23464. msgstr ""
  23465. #. type: file{#1}
  23466. #: guix-git/doc/guix.texi:16471
  23467. #, no-wrap
  23468. msgid "/usr/bin/env"
  23469. msgstr ""
  23470. #. type: cindex
  23471. #: guix-git/doc/guix.texi:16472
  23472. #, no-wrap
  23473. msgid "@file{env}, in @file{/usr/bin}"
  23474. msgstr ""
  23475. #. type: defvr
  23476. #: guix-git/doc/guix.texi:16475
  23477. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  23478. msgstr ""
  23479. #. type: lisp
  23480. #: guix-git/doc/guix.texi:16479
  23481. #, no-wrap
  23482. msgid ""
  23483. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  23484. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  23485. msgstr ""
  23486. #. type: defvr
  23487. #: guix-git/doc/guix.texi:16486
  23488. 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)."
  23489. msgstr ""
  23490. #. type: deffn
  23491. #: guix-git/doc/guix.texi:16488
  23492. #, no-wrap
  23493. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  23494. msgstr ""
  23495. #. type: deffn
  23496. #: guix-git/doc/guix.texi:16490
  23497. msgid "Use @var{target} as the ``special file'' @var{file}."
  23498. msgstr ""
  23499. #. type: deffn
  23500. #: guix-git/doc/guix.texi:16494
  23501. 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:"
  23502. msgstr ""
  23503. #. type: lisp
  23504. #: guix-git/doc/guix.texi:16498
  23505. #, no-wrap
  23506. msgid ""
  23507. "(extra-special-file \"/usr/bin/env\"\n"
  23508. " (file-append coreutils \"/bin/env\"))\n"
  23509. msgstr ""
  23510. #. type: deffn
  23511. #: guix-git/doc/guix.texi:16501
  23512. #, no-wrap
  23513. msgid "{Scheme Procedure} host-name-service @var{name}"
  23514. msgstr ""
  23515. #. type: deffn
  23516. #: guix-git/doc/guix.texi:16503
  23517. msgid "Return a service that sets the host name to @var{name}."
  23518. msgstr ""
  23519. #. type: defvr
  23520. #: guix-git/doc/guix.texi:16505
  23521. #, no-wrap
  23522. msgid "{Scheme Variable} console-font-service-type"
  23523. msgstr ""
  23524. #. type: defvr
  23525. #: guix-git/doc/guix.texi:16510
  23526. 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:"
  23527. msgstr ""
  23528. #. type: lisp
  23529. #: guix-git/doc/guix.texi:16519
  23530. #, no-wrap
  23531. msgid ""
  23532. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  23533. " (\"tty2\" . ,(file-append\n"
  23534. " font-tamzen\n"
  23535. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  23536. " (\"tty3\" . ,(file-append\n"
  23537. " font-terminus\n"
  23538. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  23539. msgstr ""
  23540. #. type: deffn
  23541. #: guix-git/doc/guix.texi:16522
  23542. #, no-wrap
  23543. msgid "{Scheme Procedure} login-service @var{config}"
  23544. msgstr ""
  23545. #. type: deffn
  23546. #: guix-git/doc/guix.texi:16526
  23547. 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."
  23548. msgstr ""
  23549. #. type: deftp
  23550. #: guix-git/doc/guix.texi:16528
  23551. #, no-wrap
  23552. msgid "{Data Type} login-configuration"
  23553. msgstr ""
  23554. #. type: deftp
  23555. #: guix-git/doc/guix.texi:16530
  23556. msgid "This is the data type representing the configuration of login."
  23557. msgstr ""
  23558. #. type: code{#1}
  23559. #: guix-git/doc/guix.texi:16533
  23560. #, no-wrap
  23561. msgid "motd"
  23562. msgstr ""
  23563. #. type: cindex
  23564. #: guix-git/doc/guix.texi:16534
  23565. #, no-wrap
  23566. msgid "message of the day"
  23567. msgstr ""
  23568. #. type: table
  23569. #: guix-git/doc/guix.texi:16536
  23570. msgid "A file-like object containing the ``message of the day''."
  23571. msgstr ""
  23572. #. type: item
  23573. #: guix-git/doc/guix.texi:16537 guix-git/doc/guix.texi:19767
  23574. #, no-wrap
  23575. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  23576. msgstr ""
  23577. #. type: table
  23578. #: guix-git/doc/guix.texi:16540
  23579. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  23580. msgstr ""
  23581. #. type: deffn
  23582. #: guix-git/doc/guix.texi:16544
  23583. #, no-wrap
  23584. msgid "{Scheme Procedure} mingetty-service @var{config}"
  23585. msgstr ""
  23586. #. type: deffn
  23587. #: guix-git/doc/guix.texi:16548
  23588. 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."
  23589. msgstr ""
  23590. #. type: deftp
  23591. #: guix-git/doc/guix.texi:16550
  23592. #, no-wrap
  23593. msgid "{Data Type} mingetty-configuration"
  23594. msgstr ""
  23595. #. type: deftp
  23596. #: guix-git/doc/guix.texi:16553
  23597. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  23598. msgstr ""
  23599. #. type: code{#1}
  23600. #: guix-git/doc/guix.texi:16556 guix-git/doc/guix.texi:16595
  23601. #: guix-git/doc/guix.texi:34101
  23602. #, no-wrap
  23603. msgid "tty"
  23604. msgstr ""
  23605. #. type: table
  23606. #: guix-git/doc/guix.texi:16558
  23607. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  23608. msgstr ""
  23609. #. type: item
  23610. #: guix-git/doc/guix.texi:16559 guix-git/doc/guix.texi:16624
  23611. #: guix-git/doc/guix.texi:16787
  23612. #, no-wrap
  23613. msgid "@code{auto-login} (default: @code{#f})"
  23614. msgstr ""
  23615. #. type: table
  23616. #: guix-git/doc/guix.texi:16563
  23617. 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."
  23618. msgstr ""
  23619. #. type: item
  23620. #: guix-git/doc/guix.texi:16564
  23621. #, no-wrap
  23622. msgid "@code{login-program} (default: @code{#f})"
  23623. msgstr ""
  23624. #. type: table
  23625. #: guix-git/doc/guix.texi:16568
  23626. 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."
  23627. msgstr ""
  23628. #. type: item
  23629. #: guix-git/doc/guix.texi:16569
  23630. #, no-wrap
  23631. msgid "@code{login-pause?} (default: @code{#f})"
  23632. msgstr ""
  23633. #. type: table
  23634. #: guix-git/doc/guix.texi:16572
  23635. 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."
  23636. msgstr ""
  23637. #. type: item
  23638. #: guix-git/doc/guix.texi:16573
  23639. #, no-wrap
  23640. msgid "@code{clear-on-logout?} (default: @code{#t})"
  23641. msgstr ""
  23642. #. type: table
  23643. #: guix-git/doc/guix.texi:16575
  23644. msgid "When set to @code{#t}, the screen will be cleared after logout."
  23645. msgstr ""
  23646. #. type: item
  23647. #: guix-git/doc/guix.texi:16576
  23648. #, no-wrap
  23649. msgid "@code{mingetty} (default: @var{mingetty})"
  23650. msgstr ""
  23651. #. type: table
  23652. #: guix-git/doc/guix.texi:16578
  23653. msgid "The Mingetty package to use."
  23654. msgstr ""
  23655. #. type: deffn
  23656. #: guix-git/doc/guix.texi:16582
  23657. #, no-wrap
  23658. msgid "{Scheme Procedure} agetty-service @var{config}"
  23659. msgstr ""
  23660. #. type: deffn
  23661. #: guix-git/doc/guix.texi:16586
  23662. 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."
  23663. msgstr ""
  23664. #. type: deftp
  23665. #: guix-git/doc/guix.texi:16588
  23666. #, no-wrap
  23667. msgid "{Data Type} agetty-configuration"
  23668. msgstr ""
  23669. #. type: deftp
  23670. #: guix-git/doc/guix.texi:16592
  23671. 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."
  23672. msgstr ""
  23673. #. type: table
  23674. #: guix-git/doc/guix.texi:16599
  23675. 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."
  23676. msgstr ""
  23677. #. type: table
  23678. #: guix-git/doc/guix.texi:16603
  23679. 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."
  23680. msgstr ""
  23681. #. type: table
  23682. #: guix-git/doc/guix.texi:16607
  23683. 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."
  23684. msgstr ""
  23685. #. type: table
  23686. #: guix-git/doc/guix.texi:16611
  23687. 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."
  23688. msgstr ""
  23689. #. type: item
  23690. #: guix-git/doc/guix.texi:16612 guix-git/doc/guix.texi:34262
  23691. #, no-wrap
  23692. msgid "@code{baud-rate} (default: @code{#f})"
  23693. msgstr ""
  23694. #. type: table
  23695. #: guix-git/doc/guix.texi:16615
  23696. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  23697. msgstr ""
  23698. #. type: item
  23699. #: guix-git/doc/guix.texi:16616
  23700. #, no-wrap
  23701. msgid "@code{term} (default: @code{#f})"
  23702. msgstr ""
  23703. #. type: table
  23704. #: guix-git/doc/guix.texi:16619
  23705. msgid "A string containing the value used for the @env{TERM} environment variable."
  23706. msgstr ""
  23707. #. type: item
  23708. #: guix-git/doc/guix.texi:16620
  23709. #, no-wrap
  23710. msgid "@code{eight-bits?} (default: @code{#f})"
  23711. msgstr ""
  23712. #. type: table
  23713. #: guix-git/doc/guix.texi:16623
  23714. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  23715. msgstr ""
  23716. #. type: table
  23717. #: guix-git/doc/guix.texi:16627 guix-git/doc/guix.texi:16790
  23718. 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."
  23719. msgstr ""
  23720. #. type: item
  23721. #: guix-git/doc/guix.texi:16628
  23722. #, no-wrap
  23723. msgid "@code{no-reset?} (default: @code{#f})"
  23724. msgstr ""
  23725. #. type: table
  23726. #: guix-git/doc/guix.texi:16630
  23727. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  23728. msgstr ""
  23729. #. type: item
  23730. #: guix-git/doc/guix.texi:16631
  23731. #, no-wrap
  23732. msgid "@code{host} (default: @code{#f})"
  23733. msgstr ""
  23734. #. type: table
  23735. #: guix-git/doc/guix.texi:16634
  23736. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  23737. msgstr ""
  23738. #. type: item
  23739. #: guix-git/doc/guix.texi:16635
  23740. #, no-wrap
  23741. msgid "@code{remote?} (default: @code{#f})"
  23742. msgstr ""
  23743. #. type: table
  23744. #: guix-git/doc/guix.texi:16639
  23745. 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}."
  23746. msgstr ""
  23747. #. type: item
  23748. #: guix-git/doc/guix.texi:16640
  23749. #, no-wrap
  23750. msgid "@code{flow-control?} (default: @code{#f})"
  23751. msgstr ""
  23752. #. type: table
  23753. #: guix-git/doc/guix.texi:16642
  23754. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  23755. msgstr ""
  23756. #. type: item
  23757. #: guix-git/doc/guix.texi:16643
  23758. #, no-wrap
  23759. msgid "@code{no-issue?} (default: @code{#f})"
  23760. msgstr ""
  23761. #. type: table
  23762. #: guix-git/doc/guix.texi:16646
  23763. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  23764. msgstr ""
  23765. #. type: item
  23766. #: guix-git/doc/guix.texi:16647
  23767. #, no-wrap
  23768. msgid "@code{init-string} (default: @code{#f})"
  23769. msgstr ""
  23770. #. type: table
  23771. #: guix-git/doc/guix.texi:16650
  23772. 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."
  23773. msgstr ""
  23774. #. type: item
  23775. #: guix-git/doc/guix.texi:16651
  23776. #, no-wrap
  23777. msgid "@code{no-clear?} (default: @code{#f})"
  23778. msgstr ""
  23779. #. type: table
  23780. #: guix-git/doc/guix.texi:16654
  23781. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  23782. msgstr ""
  23783. #. type: item
  23784. #: guix-git/doc/guix.texi:16655
  23785. #, no-wrap
  23786. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  23787. msgstr ""
  23788. #. type: table
  23789. #: guix-git/doc/guix.texi:16659
  23790. 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."
  23791. msgstr ""
  23792. #. type: item
  23793. #: guix-git/doc/guix.texi:16660
  23794. #, no-wrap
  23795. msgid "@code{local-line} (default: @code{#f})"
  23796. msgstr ""
  23797. #. type: table
  23798. #: guix-git/doc/guix.texi:16664
  23799. 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}."
  23800. msgstr ""
  23801. #. type: item
  23802. #: guix-git/doc/guix.texi:16665
  23803. #, no-wrap
  23804. msgid "@code{extract-baud?} (default: @code{#f})"
  23805. msgstr ""
  23806. #. type: table
  23807. #: guix-git/doc/guix.texi:16668
  23808. 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."
  23809. msgstr ""
  23810. #. type: item
  23811. #: guix-git/doc/guix.texi:16669
  23812. #, no-wrap
  23813. msgid "@code{skip-login?} (default: @code{#f})"
  23814. msgstr ""
  23815. #. type: table
  23816. #: guix-git/doc/guix.texi:16673
  23817. 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."
  23818. msgstr ""
  23819. #. type: item
  23820. #: guix-git/doc/guix.texi:16674
  23821. #, no-wrap
  23822. msgid "@code{no-newline?} (default: @code{#f})"
  23823. msgstr ""
  23824. #. type: table
  23825. #: guix-git/doc/guix.texi:16677
  23826. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  23827. msgstr ""
  23828. #. type: item
  23829. #: guix-git/doc/guix.texi:16679
  23830. #, no-wrap
  23831. msgid "@code{login-options} (default: @code{#f})"
  23832. msgstr ""
  23833. #. type: table
  23834. #: guix-git/doc/guix.texi:16684
  23835. 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."
  23836. msgstr ""
  23837. #. type: item
  23838. #: guix-git/doc/guix.texi:16685
  23839. #, no-wrap
  23840. msgid "@code{login-pause} (default: @code{#f})"
  23841. msgstr ""
  23842. #. type: table
  23843. #: guix-git/doc/guix.texi:16689
  23844. 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."
  23845. msgstr ""
  23846. #. type: item
  23847. #: guix-git/doc/guix.texi:16690
  23848. #, no-wrap
  23849. msgid "@code{chroot} (default: @code{#f})"
  23850. msgstr ""
  23851. #. type: table
  23852. #: guix-git/doc/guix.texi:16693
  23853. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  23854. msgstr ""
  23855. #. type: item
  23856. #: guix-git/doc/guix.texi:16694
  23857. #, no-wrap
  23858. msgid "@code{hangup?} (default: @code{#f})"
  23859. msgstr ""
  23860. #. type: table
  23861. #: guix-git/doc/guix.texi:16697
  23862. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  23863. msgstr ""
  23864. #. type: item
  23865. #: guix-git/doc/guix.texi:16698
  23866. #, no-wrap
  23867. msgid "@code{keep-baud?} (default: @code{#f})"
  23868. msgstr ""
  23869. #. type: table
  23870. #: guix-git/doc/guix.texi:16702
  23871. 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."
  23872. msgstr ""
  23873. #. type: item
  23874. #: guix-git/doc/guix.texi:16703
  23875. #, no-wrap
  23876. msgid "@code{timeout} (default: @code{#f})"
  23877. msgstr ""
  23878. #. type: table
  23879. #: guix-git/doc/guix.texi:16706
  23880. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  23881. msgstr ""
  23882. #. type: item
  23883. #: guix-git/doc/guix.texi:16707
  23884. #, no-wrap
  23885. msgid "@code{detect-case?} (default: @code{#f})"
  23886. msgstr ""
  23887. #. type: table
  23888. #: guix-git/doc/guix.texi:16713
  23889. 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."
  23890. msgstr ""
  23891. #. type: item
  23892. #: guix-git/doc/guix.texi:16714
  23893. #, no-wrap
  23894. msgid "@code{wait-cr?} (default: @code{#f})"
  23895. msgstr ""
  23896. #. type: table
  23897. #: guix-git/doc/guix.texi:16719
  23898. 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."
  23899. msgstr ""
  23900. #. type: item
  23901. #: guix-git/doc/guix.texi:16720
  23902. #, no-wrap
  23903. msgid "@code{no-hints?} (default: @code{#f})"
  23904. msgstr ""
  23905. #. type: table
  23906. #: guix-git/doc/guix.texi:16723
  23907. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  23908. msgstr ""
  23909. #. type: item
  23910. #: guix-git/doc/guix.texi:16724
  23911. #, no-wrap
  23912. msgid "@code{no-hostname?} (default: @code{#f})"
  23913. msgstr ""
  23914. #. type: table
  23915. #: guix-git/doc/guix.texi:16727
  23916. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  23917. msgstr ""
  23918. #. type: item
  23919. #: guix-git/doc/guix.texi:16728
  23920. #, no-wrap
  23921. msgid "@code{long-hostname?} (default: @code{#f})"
  23922. msgstr ""
  23923. #. type: table
  23924. #: guix-git/doc/guix.texi:16732
  23925. 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."
  23926. msgstr ""
  23927. #. type: item
  23928. #: guix-git/doc/guix.texi:16733
  23929. #, no-wrap
  23930. msgid "@code{erase-characters} (default: @code{#f})"
  23931. msgstr ""
  23932. #. type: table
  23933. #: guix-git/doc/guix.texi:16736
  23934. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  23935. msgstr ""
  23936. #. type: item
  23937. #: guix-git/doc/guix.texi:16737
  23938. #, no-wrap
  23939. msgid "@code{kill-characters} (default: @code{#f})"
  23940. msgstr ""
  23941. #. type: table
  23942. #: guix-git/doc/guix.texi:16741
  23943. 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."
  23944. msgstr ""
  23945. #. type: item
  23946. #: guix-git/doc/guix.texi:16742
  23947. #, no-wrap
  23948. msgid "@code{chdir} (default: @code{#f})"
  23949. msgstr ""
  23950. #. type: table
  23951. #: guix-git/doc/guix.texi:16745
  23952. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  23953. msgstr ""
  23954. #. type: item
  23955. #: guix-git/doc/guix.texi:16746
  23956. #, no-wrap
  23957. msgid "@code{delay} (default: @code{#f})"
  23958. msgstr ""
  23959. #. type: table
  23960. #: guix-git/doc/guix.texi:16749
  23961. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  23962. msgstr ""
  23963. #. type: item
  23964. #: guix-git/doc/guix.texi:16750
  23965. #, no-wrap
  23966. msgid "@code{nice} (default: @code{#f})"
  23967. msgstr ""
  23968. #. type: table
  23969. #: guix-git/doc/guix.texi:16753
  23970. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  23971. msgstr ""
  23972. #. type: item
  23973. #: guix-git/doc/guix.texi:16754 guix-git/doc/guix.texi:17046
  23974. #: guix-git/doc/guix.texi:17965 guix-git/doc/guix.texi:25702
  23975. #: guix-git/doc/guix.texi:27089 guix-git/doc/guix.texi:29507
  23976. #: guix-git/doc/guix.texi:30330 guix-git/doc/guix.texi:32087
  23977. #: guix-git/doc/guix.texi:34602
  23978. #, no-wrap
  23979. msgid "@code{extra-options} (default: @code{'()})"
  23980. msgstr ""
  23981. #. type: table
  23982. #: guix-git/doc/guix.texi:16757
  23983. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  23984. msgstr ""
  23985. #. type: item
  23986. #: guix-git/doc/guix.texi:16758
  23987. #, no-wrap
  23988. msgid "@code{shepherd-requirement} (default: @code{'()})"
  23989. msgstr ""
  23990. #. type: table
  23991. #: guix-git/doc/guix.texi:16761
  23992. msgid "The option can be used to provides extra shepherd requirements (for example @code{'syslogd}) to the respective @code{'term-}* shepherd service."
  23993. msgstr ""
  23994. #. type: deffn
  23995. #: guix-git/doc/guix.texi:16765
  23996. #, no-wrap
  23997. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  23998. msgstr ""
  23999. #. type: deffn
  24000. #: guix-git/doc/guix.texi:16769
  24001. 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."
  24002. msgstr ""
  24003. #. type: deftp
  24004. #: guix-git/doc/guix.texi:16771
  24005. #, no-wrap
  24006. msgid "{Data Type} kmscon-configuration"
  24007. msgstr ""
  24008. #. type: deftp
  24009. #: guix-git/doc/guix.texi:16774
  24010. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  24011. msgstr ""
  24012. #. type: code{#1}
  24013. #: guix-git/doc/guix.texi:16777
  24014. #, no-wrap
  24015. msgid "virtual-terminal"
  24016. msgstr ""
  24017. #. type: table
  24018. #: guix-git/doc/guix.texi:16779
  24019. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  24020. msgstr ""
  24021. #. type: item
  24022. #: guix-git/doc/guix.texi:16780
  24023. #, no-wrap
  24024. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  24025. msgstr ""
  24026. #. type: table
  24027. #: guix-git/doc/guix.texi:16783
  24028. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  24029. msgstr ""
  24030. #. type: item
  24031. #: guix-git/doc/guix.texi:16784
  24032. #, no-wrap
  24033. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  24034. msgstr ""
  24035. #. type: table
  24036. #: guix-git/doc/guix.texi:16786
  24037. msgid "A list of arguments to pass to @command{login}."
  24038. msgstr ""
  24039. #. type: item
  24040. #: guix-git/doc/guix.texi:16791
  24041. #, no-wrap
  24042. msgid "@code{hardware-acceleration?} (default: #f)"
  24043. msgstr ""
  24044. #. type: table
  24045. #: guix-git/doc/guix.texi:16793
  24046. msgid "Whether to use hardware acceleration."
  24047. msgstr ""
  24048. #. type: item
  24049. #: guix-git/doc/guix.texi:16794
  24050. #, no-wrap
  24051. msgid "@code{font-engine} (default: @code{\"pango\"})"
  24052. msgstr ""
  24053. #. type: table
  24054. #: guix-git/doc/guix.texi:16796
  24055. msgid "Font engine used in Kmscon."
  24056. msgstr ""
  24057. #. type: item
  24058. #: guix-git/doc/guix.texi:16797
  24059. #, no-wrap
  24060. msgid "@code{font-size} (default: @code{12})"
  24061. msgstr ""
  24062. #. type: table
  24063. #: guix-git/doc/guix.texi:16799
  24064. msgid "Font size used in Kmscon."
  24065. msgstr ""
  24066. #. type: table
  24067. #: guix-git/doc/guix.texi:16803
  24068. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  24069. msgstr ""
  24070. #. type: table
  24071. #: guix-git/doc/guix.texi:16807
  24072. 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."
  24073. msgstr ""
  24074. #. type: item
  24075. #: guix-git/doc/guix.texi:16808
  24076. #, no-wrap
  24077. msgid "@code{kmscon} (default: @var{kmscon})"
  24078. msgstr ""
  24079. #. type: table
  24080. #: guix-git/doc/guix.texi:16810
  24081. msgid "The Kmscon package to use."
  24082. msgstr ""
  24083. #. type: cindex
  24084. #: guix-git/doc/guix.texi:16814
  24085. #, no-wrap
  24086. msgid "name service cache daemon"
  24087. msgstr ""
  24088. #. type: cindex
  24089. #: guix-git/doc/guix.texi:16815
  24090. #, no-wrap
  24091. msgid "nscd"
  24092. msgstr ""
  24093. #. type: deffn
  24094. #: guix-git/doc/guix.texi:16816
  24095. #, no-wrap
  24096. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  24097. msgstr ""
  24098. #. type: deffn
  24099. #: guix-git/doc/guix.texi:16821
  24100. 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."
  24101. msgstr ""
  24102. #. type: deffn
  24103. #: guix-git/doc/guix.texi:16823
  24104. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  24105. msgstr ""
  24106. #. type: item
  24107. #: guix-git/doc/guix.texi:16825
  24108. #, no-wrap
  24109. msgid "invalidate"
  24110. msgstr ""
  24111. #. type: cindex
  24112. #: guix-git/doc/guix.texi:16826
  24113. #, no-wrap
  24114. msgid "cache invalidation, nscd"
  24115. msgstr ""
  24116. #. type: cindex
  24117. #: guix-git/doc/guix.texi:16827
  24118. #, no-wrap
  24119. msgid "nscd, cache invalidation"
  24120. msgstr ""
  24121. #. type: table
  24122. #: guix-git/doc/guix.texi:16829
  24123. msgid "This invalidate the given cache. For instance, running:"
  24124. msgstr ""
  24125. #. type: example
  24126. #: guix-git/doc/guix.texi:16832
  24127. #, no-wrap
  24128. msgid "herd invalidate nscd hosts\n"
  24129. msgstr ""
  24130. #. type: table
  24131. #: guix-git/doc/guix.texi:16836
  24132. msgid "invalidates the host name lookup cache of nscd."
  24133. msgstr ""
  24134. #. type: item
  24135. #: guix-git/doc/guix.texi:16837
  24136. #, no-wrap
  24137. msgid "statistics"
  24138. msgstr ""
  24139. #. type: table
  24140. #: guix-git/doc/guix.texi:16840
  24141. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  24142. msgstr ""
  24143. #. type: defvr
  24144. #: guix-git/doc/guix.texi:16844
  24145. #, no-wrap
  24146. msgid "{Scheme Variable} %nscd-default-configuration"
  24147. msgstr ""
  24148. #. type: defvr
  24149. #: guix-git/doc/guix.texi:16848
  24150. 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."
  24151. msgstr ""
  24152. #. type: deftp
  24153. #: guix-git/doc/guix.texi:16850
  24154. #, no-wrap
  24155. msgid "{Data Type} nscd-configuration"
  24156. msgstr ""
  24157. #. type: deftp
  24158. #: guix-git/doc/guix.texi:16853
  24159. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  24160. msgstr ""
  24161. #. type: item
  24162. #: guix-git/doc/guix.texi:16856
  24163. #, no-wrap
  24164. msgid "@code{name-services} (default: @code{'()})"
  24165. msgstr ""
  24166. #. type: table
  24167. #: guix-git/doc/guix.texi:16859
  24168. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  24169. msgstr ""
  24170. #. type: item
  24171. #: guix-git/doc/guix.texi:16860
  24172. #, no-wrap
  24173. msgid "@code{glibc} (default: @var{glibc})"
  24174. msgstr ""
  24175. #. type: table
  24176. #: guix-git/doc/guix.texi:16863
  24177. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  24178. msgstr ""
  24179. #. type: item
  24180. #: guix-git/doc/guix.texi:16864
  24181. #, no-wrap
  24182. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  24183. msgstr ""
  24184. #. type: table
  24185. #: guix-git/doc/guix.texi:16867
  24186. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  24187. msgstr ""
  24188. #. type: item
  24189. #: guix-git/doc/guix.texi:16868
  24190. #, no-wrap
  24191. msgid "@code{debug-level} (default: @code{0})"
  24192. msgstr ""
  24193. #. type: table
  24194. #: guix-git/doc/guix.texi:16871
  24195. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  24196. msgstr ""
  24197. #. type: item
  24198. #: guix-git/doc/guix.texi:16872
  24199. #, no-wrap
  24200. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  24201. msgstr ""
  24202. #. type: table
  24203. #: guix-git/doc/guix.texi:16875
  24204. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  24205. msgstr ""
  24206. #. type: deftp
  24207. #: guix-git/doc/guix.texi:16879
  24208. #, no-wrap
  24209. msgid "{Data Type} nscd-cache"
  24210. msgstr ""
  24211. #. type: deftp
  24212. #: guix-git/doc/guix.texi:16881
  24213. msgid "Data type representing a cache database of nscd and its parameters."
  24214. msgstr ""
  24215. #. type: cindex
  24216. #: guix-git/doc/guix.texi:16884 guix-git/doc/guix.texi:21591
  24217. #, no-wrap
  24218. msgid "database"
  24219. msgstr ""
  24220. #. type: table
  24221. #: guix-git/doc/guix.texi:16889
  24222. 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})."
  24223. msgstr ""
  24224. #. type: code{#1}
  24225. #: guix-git/doc/guix.texi:16890
  24226. #, no-wrap
  24227. msgid "positive-time-to-live"
  24228. msgstr ""
  24229. #. type: itemx
  24230. #: guix-git/doc/guix.texi:16891
  24231. #, no-wrap
  24232. msgid "@code{negative-time-to-live} (default: @code{20})"
  24233. msgstr ""
  24234. #. type: table
  24235. #: guix-git/doc/guix.texi:16894
  24236. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  24237. msgstr ""
  24238. #. type: item
  24239. #: guix-git/doc/guix.texi:16895
  24240. #, no-wrap
  24241. msgid "@code{check-files?} (default: @code{#t})"
  24242. msgstr ""
  24243. #. type: table
  24244. #: guix-git/doc/guix.texi:16898
  24245. msgid "Whether to check for updates of the files corresponding to @var{database}."
  24246. msgstr ""
  24247. #. type: table
  24248. #: guix-git/doc/guix.texi:16902
  24249. 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."
  24250. msgstr ""
  24251. #. type: item
  24252. #: guix-git/doc/guix.texi:16903
  24253. #, no-wrap
  24254. msgid "@code{persistent?} (default: @code{#t})"
  24255. msgstr ""
  24256. #. type: table
  24257. #: guix-git/doc/guix.texi:16905
  24258. msgid "Whether the cache should be stored persistently on disk."
  24259. msgstr ""
  24260. #. type: item
  24261. #: guix-git/doc/guix.texi:16906
  24262. #, no-wrap
  24263. msgid "@code{shared?} (default: @code{#t})"
  24264. msgstr ""
  24265. #. type: table
  24266. #: guix-git/doc/guix.texi:16908
  24267. msgid "Whether the cache should be shared among users."
  24268. msgstr ""
  24269. #. type: item
  24270. #: guix-git/doc/guix.texi:16909
  24271. #, no-wrap
  24272. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  24273. msgstr ""
  24274. #. type: table
  24275. #: guix-git/doc/guix.texi:16911
  24276. msgid "Maximum size in bytes of the database cache."
  24277. msgstr ""
  24278. #. type: defvr
  24279. #: guix-git/doc/guix.texi:16918
  24280. #, no-wrap
  24281. msgid "{Scheme Variable} %nscd-default-caches"
  24282. msgstr ""
  24283. #. type: defvr
  24284. #: guix-git/doc/guix.texi:16921
  24285. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  24286. msgstr ""
  24287. #. type: defvr
  24288. #: guix-git/doc/guix.texi:16927
  24289. 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."
  24290. msgstr ""
  24291. #. type: anchor{#1}
  24292. #: guix-git/doc/guix.texi:16930
  24293. msgid "syslog-configuration-type"
  24294. msgstr ""
  24295. #. type: cindex
  24296. #: guix-git/doc/guix.texi:16930 guix-git/doc/guix.texi:16946
  24297. #, no-wrap
  24298. msgid "syslog"
  24299. msgstr ""
  24300. #. type: cindex
  24301. #: guix-git/doc/guix.texi:16931 guix-git/doc/guix.texi:17522
  24302. #, no-wrap
  24303. msgid "logging"
  24304. msgstr ""
  24305. #. type: deftp
  24306. #: guix-git/doc/guix.texi:16932
  24307. #, no-wrap
  24308. msgid "{Data Type} syslog-configuration"
  24309. msgstr ""
  24310. #. type: deftp
  24311. #: guix-git/doc/guix.texi:16934
  24312. msgid "This data type represents the configuration of the syslog daemon."
  24313. msgstr ""
  24314. #. type: item
  24315. #: guix-git/doc/guix.texi:16936
  24316. #, no-wrap
  24317. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  24318. msgstr ""
  24319. #. type: table
  24320. #: guix-git/doc/guix.texi:16938
  24321. msgid "The syslog daemon to use."
  24322. msgstr ""
  24323. #. type: item
  24324. #: guix-git/doc/guix.texi:16939
  24325. #, no-wrap
  24326. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  24327. msgstr ""
  24328. #. type: table
  24329. #: guix-git/doc/guix.texi:16941
  24330. msgid "The syslog configuration file to use."
  24331. msgstr ""
  24332. #. type: anchor{#1}
  24333. #: guix-git/doc/guix.texi:16946
  24334. msgid "syslog-service"
  24335. msgstr ""
  24336. #. type: deffn
  24337. #: guix-git/doc/guix.texi:16947
  24338. #, no-wrap
  24339. msgid "{Scheme Procedure} syslog-service @var{config}"
  24340. msgstr ""
  24341. #. type: deffn
  24342. #: guix-git/doc/guix.texi:16949
  24343. msgid "Return a service that runs a syslog daemon according to @var{config}."
  24344. msgstr ""
  24345. #. type: deffn
  24346. #: guix-git/doc/guix.texi:16952
  24347. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  24348. msgstr ""
  24349. #. type: defvr
  24350. #: guix-git/doc/guix.texi:16954
  24351. #, no-wrap
  24352. msgid "{Scheme Variable} guix-service-type"
  24353. msgstr ""
  24354. #. type: defvr
  24355. #: guix-git/doc/guix.texi:16958
  24356. 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."
  24357. msgstr ""
  24358. #. type: anchor{#1}
  24359. #: guix-git/doc/guix.texi:16961
  24360. msgid "guix-configuration-type"
  24361. msgstr ""
  24362. #. type: deftp
  24363. #: guix-git/doc/guix.texi:16961
  24364. #, no-wrap
  24365. msgid "{Data Type} guix-configuration"
  24366. msgstr ""
  24367. #. type: deftp
  24368. #: guix-git/doc/guix.texi:16964
  24369. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  24370. msgstr ""
  24371. #. type: item
  24372. #: guix-git/doc/guix.texi:16966
  24373. #, no-wrap
  24374. msgid "@code{guix} (default: @var{guix})"
  24375. msgstr ""
  24376. #. type: table
  24377. #: guix-git/doc/guix.texi:16968 guix-git/doc/guix.texi:17245
  24378. msgid "The Guix package to use."
  24379. msgstr ""
  24380. #. type: item
  24381. #: guix-git/doc/guix.texi:16969
  24382. #, no-wrap
  24383. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  24384. msgstr ""
  24385. #. type: table
  24386. #: guix-git/doc/guix.texi:16971
  24387. msgid "Name of the group for build user accounts."
  24388. msgstr ""
  24389. #. type: item
  24390. #: guix-git/doc/guix.texi:16972
  24391. #, no-wrap
  24392. msgid "@code{build-accounts} (default: @code{10})"
  24393. msgstr ""
  24394. #. type: table
  24395. #: guix-git/doc/guix.texi:16974
  24396. msgid "Number of build user accounts to create."
  24397. msgstr ""
  24398. #. type: item
  24399. #: guix-git/doc/guix.texi:16975
  24400. #, no-wrap
  24401. msgid "@code{authorize-key?} (default: @code{#t})"
  24402. msgstr ""
  24403. #. type: table
  24404. #: guix-git/doc/guix.texi:16982
  24405. 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})."
  24406. msgstr ""
  24407. #. type: table
  24408. #: guix-git/doc/guix.texi:16988
  24409. 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."
  24410. msgstr ""
  24411. #. type: quotation
  24412. #: guix-git/doc/guix.texi:16995
  24413. 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}."
  24414. msgstr ""
  24415. #. type: vindex
  24416. #: guix-git/doc/guix.texi:16997
  24417. #, no-wrap
  24418. msgid "%default-authorized-guix-keys"
  24419. msgstr ""
  24420. #. type: item
  24421. #: guix-git/doc/guix.texi:16998
  24422. #, no-wrap
  24423. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  24424. msgstr ""
  24425. #. type: table
  24426. #: guix-git/doc/guix.texi:17004
  24427. 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."
  24428. msgstr ""
  24429. #. type: item
  24430. #: guix-git/doc/guix.texi:17005
  24431. #, no-wrap
  24432. msgid "@code{use-substitutes?} (default: @code{#t})"
  24433. msgstr ""
  24434. #. type: table
  24435. #: guix-git/doc/guix.texi:17007
  24436. msgid "Whether to use substitutes."
  24437. msgstr ""
  24438. #. type: item
  24439. #: guix-git/doc/guix.texi:17008 guix-git/doc/guix.texi:29604
  24440. #, no-wrap
  24441. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  24442. msgstr ""
  24443. #. type: table
  24444. #: guix-git/doc/guix.texi:17010 guix-git/doc/guix.texi:29606
  24445. msgid "The list of URLs where to look for substitutes by default."
  24446. msgstr ""
  24447. #. type: table
  24448. #: guix-git/doc/guix.texi:17017
  24449. 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:"
  24450. msgstr ""
  24451. #. type: lisp
  24452. #: guix-git/doc/guix.texi:17026
  24453. #, no-wrap
  24454. msgid ""
  24455. "(guix-configuration\n"
  24456. " (substitute-urls\n"
  24457. " (append (list \"https://guix.example.org\")\n"
  24458. " %default-substitute-urls))\n"
  24459. " (authorized-keys\n"
  24460. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  24461. " %default-authorized-guix-keys)))\n"
  24462. msgstr ""
  24463. #. type: table
  24464. #: guix-git/doc/guix.texi:17031
  24465. 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."
  24466. msgstr ""
  24467. #. type: item
  24468. #: guix-git/doc/guix.texi:17032
  24469. #, no-wrap
  24470. msgid "@code{max-silent-time} (default: @code{0})"
  24471. msgstr ""
  24472. #. type: itemx
  24473. #: guix-git/doc/guix.texi:17033
  24474. #, no-wrap
  24475. msgid "@code{timeout} (default: @code{0})"
  24476. msgstr ""
  24477. #. type: table
  24478. #: guix-git/doc/guix.texi:17037
  24479. 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."
  24480. msgstr ""
  24481. #. type: item
  24482. #: guix-git/doc/guix.texi:17038
  24483. #, no-wrap
  24484. msgid "@code{log-compression} (default: @code{'gzip})"
  24485. msgstr ""
  24486. #. type: table
  24487. #: guix-git/doc/guix.texi:17041
  24488. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  24489. msgstr ""
  24490. #. type: item
  24491. #: guix-git/doc/guix.texi:17042
  24492. #, no-wrap
  24493. msgid "@code{discover?} (default: @code{#f})"
  24494. msgstr ""
  24495. #. type: table
  24496. #: guix-git/doc/guix.texi:17048
  24497. msgid "List of extra command-line options for @command{guix-daemon}."
  24498. msgstr ""
  24499. #. type: item
  24500. #: guix-git/doc/guix.texi:17049
  24501. #, no-wrap
  24502. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  24503. msgstr ""
  24504. #. type: table
  24505. #: guix-git/doc/guix.texi:17052
  24506. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  24507. msgstr ""
  24508. #. type: cindex
  24509. #: guix-git/doc/guix.texi:17053
  24510. #, no-wrap
  24511. msgid "HTTP proxy, for @code{guix-daemon}"
  24512. msgstr ""
  24513. #. type: cindex
  24514. #: guix-git/doc/guix.texi:17054
  24515. #, no-wrap
  24516. msgid "proxy, for @code{guix-daemon} HTTP access"
  24517. msgstr ""
  24518. #. type: item
  24519. #: guix-git/doc/guix.texi:17055
  24520. #, no-wrap
  24521. msgid "@code{http-proxy} (default: @code{#f})"
  24522. msgstr ""
  24523. #. type: table
  24524. #: guix-git/doc/guix.texi:17058
  24525. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  24526. msgstr ""
  24527. #. type: table
  24528. #: guix-git/doc/guix.texi:17061
  24529. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  24530. msgstr ""
  24531. #. type: example
  24532. #: guix-git/doc/guix.texi:17064
  24533. #, no-wrap
  24534. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  24535. msgstr ""
  24536. #. type: table
  24537. #: guix-git/doc/guix.texi:17067
  24538. msgid "To clear the proxy settings, run:"
  24539. msgstr ""
  24540. #. type: example
  24541. #: guix-git/doc/guix.texi:17070
  24542. #, no-wrap
  24543. msgid "herd set-http-proxy guix-daemon\n"
  24544. msgstr ""
  24545. #. type: item
  24546. #: guix-git/doc/guix.texi:17072
  24547. #, no-wrap
  24548. msgid "@code{tmpdir} (default: @code{#f})"
  24549. msgstr ""
  24550. #. type: table
  24551. #: guix-git/doc/guix.texi:17074
  24552. msgid "A directory path where the @command{guix-daemon} will perform builds."
  24553. msgstr ""
  24554. #. type: deffn
  24555. #: guix-git/doc/guix.texi:17078
  24556. #, no-wrap
  24557. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  24558. msgstr ""
  24559. #. type: deffn
  24560. #: guix-git/doc/guix.texi:17084
  24561. 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."
  24562. msgstr ""
  24563. #. type: deffn
  24564. #: guix-git/doc/guix.texi:17087
  24565. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  24566. msgstr ""
  24567. #. type: deffn
  24568. #: guix-git/doc/guix.texi:17089
  24569. #, no-wrap
  24570. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  24571. msgstr ""
  24572. #. type: deffn
  24573. #: guix-git/doc/guix.texi:17092
  24574. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  24575. msgstr ""
  24576. #. type: deffn
  24577. #: guix-git/doc/guix.texi:17096
  24578. 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."
  24579. msgstr ""
  24580. #. type: lisp
  24581. #: guix-git/doc/guix.texi:17104
  24582. #, no-wrap
  24583. msgid ""
  24584. "(define %example-udev-rule\n"
  24585. " (udev-rule\n"
  24586. " \"90-usb-thing.rules\"\n"
  24587. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  24588. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  24589. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  24590. msgstr ""
  24591. #. type: deffn
  24592. #: guix-git/doc/guix.texi:17107
  24593. #, no-wrap
  24594. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  24595. msgstr ""
  24596. #. type: deffn
  24597. #: guix-git/doc/guix.texi:17114
  24598. 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."
  24599. msgstr ""
  24600. #. type: deffn
  24601. #: guix-git/doc/guix.texi:17117
  24602. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  24603. msgstr ""
  24604. #. type: lisp
  24605. #: guix-git/doc/guix.texi:17124
  24606. #, no-wrap
  24607. msgid ""
  24608. "(operating-system\n"
  24609. " ;; @dots{}\n"
  24610. " (services\n"
  24611. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  24612. " %desktop-services)))\n"
  24613. msgstr ""
  24614. #. type: deffn
  24615. #: guix-git/doc/guix.texi:17127
  24616. #, no-wrap
  24617. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  24618. msgstr ""
  24619. #. type: deffn
  24620. #: guix-git/doc/guix.texi:17130
  24621. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  24622. msgstr ""
  24623. #. type: deffn
  24624. #: guix-git/doc/guix.texi:17132
  24625. msgid "The following example showcases how we can use an existing rule file."
  24626. msgstr ""
  24627. #. type: lisp
  24628. #: guix-git/doc/guix.texi:17137
  24629. #, no-wrap
  24630. msgid ""
  24631. "(use-modules (guix download) ;for url-fetch\n"
  24632. " (guix packages) ;for origin\n"
  24633. " @dots{})\n"
  24634. "\n"
  24635. msgstr ""
  24636. #. type: lisp
  24637. #: guix-git/doc/guix.texi:17148
  24638. #, no-wrap
  24639. msgid ""
  24640. "(define %android-udev-rules\n"
  24641. " (file->udev-rule\n"
  24642. " \"51-android-udev.rules\"\n"
  24643. " (let ((version \"20170910\"))\n"
  24644. " (origin\n"
  24645. " (method url-fetch)\n"
  24646. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  24647. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  24648. " (sha256\n"
  24649. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  24650. msgstr ""
  24651. #. type: Plain text
  24652. #: guix-git/doc/guix.texi:17157
  24653. 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."
  24654. msgstr ""
  24655. #. type: Plain text
  24656. #: guix-git/doc/guix.texi:17166
  24657. 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."
  24658. msgstr ""
  24659. #. type: lisp
  24660. #: guix-git/doc/guix.texi:17171
  24661. #, no-wrap
  24662. msgid ""
  24663. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  24664. " (gnu system shadow) ;for user-group\n"
  24665. " @dots{})\n"
  24666. "\n"
  24667. msgstr ""
  24668. #. type: lisp
  24669. #: guix-git/doc/guix.texi:17184
  24670. #, no-wrap
  24671. msgid ""
  24672. "(operating-system\n"
  24673. " ;; @dots{}\n"
  24674. " (users (cons (user-account\n"
  24675. " ;; @dots{}\n"
  24676. " (supplementary-groups\n"
  24677. " '(\"adbusers\" ;for adb\n"
  24678. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  24679. " ;; @dots{}\n"
  24680. " (services\n"
  24681. " (cons (udev-rules-service 'android android-udev-rules\n"
  24682. " #:groups '(\"adbusers\"))\n"
  24683. " %desktop-services)))\n"
  24684. msgstr ""
  24685. #. type: defvr
  24686. #: guix-git/doc/guix.texi:17186
  24687. #, no-wrap
  24688. msgid "{Scheme Variable} urandom-seed-service-type"
  24689. msgstr ""
  24690. #. type: defvr
  24691. #: guix-git/doc/guix.texi:17191
  24692. 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."
  24693. msgstr ""
  24694. #. type: defvr
  24695. #: guix-git/doc/guix.texi:17193
  24696. #, no-wrap
  24697. msgid "{Scheme Variable} %random-seed-file"
  24698. msgstr ""
  24699. #. type: defvr
  24700. #: guix-git/doc/guix.texi:17197
  24701. 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}."
  24702. msgstr ""
  24703. #. type: cindex
  24704. #: guix-git/doc/guix.texi:17199
  24705. #, no-wrap
  24706. msgid "mouse"
  24707. msgstr ""
  24708. #. type: cindex
  24709. #: guix-git/doc/guix.texi:17200
  24710. #, no-wrap
  24711. msgid "gpm"
  24712. msgstr ""
  24713. #. type: defvr
  24714. #: guix-git/doc/guix.texi:17201
  24715. #, no-wrap
  24716. msgid "{Scheme Variable} gpm-service-type"
  24717. msgstr ""
  24718. #. type: defvr
  24719. #: guix-git/doc/guix.texi:17206
  24720. 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."
  24721. msgstr ""
  24722. #. type: defvr
  24723. #: guix-git/doc/guix.texi:17209
  24724. 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}."
  24725. msgstr ""
  24726. #. type: deftp
  24727. #: guix-git/doc/guix.texi:17211
  24728. #, no-wrap
  24729. msgid "{Data Type} gpm-configuration"
  24730. msgstr ""
  24731. #. type: deftp
  24732. #: guix-git/doc/guix.texi:17213
  24733. msgid "Data type representing the configuration of GPM."
  24734. msgstr ""
  24735. #. type: item
  24736. #: guix-git/doc/guix.texi:17215
  24737. #, no-wrap
  24738. msgid "@code{options} (default: @code{%default-gpm-options})"
  24739. msgstr ""
  24740. #. type: table
  24741. #: guix-git/doc/guix.texi:17220
  24742. 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."
  24743. msgstr ""
  24744. #. type: item
  24745. #: guix-git/doc/guix.texi:17221
  24746. #, no-wrap
  24747. msgid "@code{gpm} (default: @code{gpm})"
  24748. msgstr ""
  24749. #. type: table
  24750. #: guix-git/doc/guix.texi:17223
  24751. msgid "The GPM package to use."
  24752. msgstr ""
  24753. #. type: anchor{#1}
  24754. #: guix-git/doc/guix.texi:17228
  24755. msgid "guix-publish-service-type"
  24756. msgstr ""
  24757. #. type: deffn
  24758. #: guix-git/doc/guix.texi:17228
  24759. #, no-wrap
  24760. msgid "{Scheme Variable} guix-publish-service-type"
  24761. msgstr ""
  24762. #. type: deffn
  24763. #: guix-git/doc/guix.texi:17232
  24764. 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."
  24765. msgstr ""
  24766. #. type: deffn
  24767. #: guix-git/doc/guix.texi:17236
  24768. 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."
  24769. msgstr ""
  24770. #. type: deftp
  24771. #: guix-git/doc/guix.texi:17238
  24772. #, no-wrap
  24773. msgid "{Data Type} guix-publish-configuration"
  24774. msgstr ""
  24775. #. type: deftp
  24776. #: guix-git/doc/guix.texi:17241
  24777. msgid "Data type representing the configuration of the @code{guix publish} service."
  24778. msgstr ""
  24779. #. type: item
  24780. #: guix-git/doc/guix.texi:17243
  24781. #, no-wrap
  24782. msgid "@code{guix} (default: @code{guix})"
  24783. msgstr ""
  24784. #. type: item
  24785. #: guix-git/doc/guix.texi:17246 guix-git/doc/guix.texi:31942
  24786. #, no-wrap
  24787. msgid "@code{port} (default: @code{80})"
  24788. msgstr ""
  24789. #. type: table
  24790. #: guix-git/doc/guix.texi:17248
  24791. msgid "The TCP port to listen for connections."
  24792. msgstr ""
  24793. #. type: item
  24794. #: guix-git/doc/guix.texi:17249 guix-git/doc/guix.texi:29487
  24795. #: guix-git/doc/guix.texi:33323
  24796. #, no-wrap
  24797. msgid "@code{host} (default: @code{\"localhost\"})"
  24798. msgstr ""
  24799. #. type: table
  24800. #: guix-git/doc/guix.texi:17252
  24801. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  24802. msgstr ""
  24803. #. type: item
  24804. #: guix-git/doc/guix.texi:17253
  24805. #, no-wrap
  24806. msgid "@code{advertise?} (default: @code{#f})"
  24807. msgstr ""
  24808. #. type: table
  24809. #: guix-git/doc/guix.texi:17256
  24810. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  24811. msgstr ""
  24812. #. type: table
  24813. #: guix-git/doc/guix.texi:17260
  24814. 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."
  24815. msgstr ""
  24816. #. type: item
  24817. #: guix-git/doc/guix.texi:17261
  24818. #, no-wrap
  24819. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  24820. msgstr ""
  24821. #. type: table
  24822. #: guix-git/doc/guix.texi:17265
  24823. 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:"
  24824. msgstr ""
  24825. #. type: lisp
  24826. #: guix-git/doc/guix.texi:17268
  24827. #, no-wrap
  24828. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  24829. msgstr ""
  24830. #. type: table
  24831. #: guix-git/doc/guix.texi:17274
  24832. 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."
  24833. msgstr ""
  24834. #. type: table
  24835. #: guix-git/doc/guix.texi:17276
  24836. msgid "An empty list disables compression altogether."
  24837. msgstr ""
  24838. #. type: item
  24839. #: guix-git/doc/guix.texi:17277
  24840. #, no-wrap
  24841. msgid "@code{nar-path} (default: @code{\"nar\"})"
  24842. msgstr ""
  24843. #. type: table
  24844. #: guix-git/doc/guix.texi:17280
  24845. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  24846. msgstr ""
  24847. #. type: item
  24848. #: guix-git/doc/guix.texi:17281
  24849. #, no-wrap
  24850. msgid "@code{cache} (default: @code{#f})"
  24851. msgstr ""
  24852. #. type: table
  24853. #: guix-git/doc/guix.texi:17287
  24854. 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."
  24855. msgstr ""
  24856. #. type: item
  24857. #: guix-git/doc/guix.texi:17288
  24858. #, no-wrap
  24859. msgid "@code{workers} (default: @code{#f})"
  24860. msgstr ""
  24861. #. type: table
  24862. #: guix-git/doc/guix.texi:17292
  24863. 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."
  24864. msgstr ""
  24865. #. type: item
  24866. #: guix-git/doc/guix.texi:17293
  24867. #, no-wrap
  24868. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  24869. msgstr ""
  24870. #. type: table
  24871. #: guix-git/doc/guix.texi:17298
  24872. 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."
  24873. msgstr ""
  24874. #. type: item
  24875. #: guix-git/doc/guix.texi:17299 guix-git/doc/guix.texi:33824
  24876. #, no-wrap
  24877. msgid "@code{ttl} (default: @code{#f})"
  24878. msgstr ""
  24879. #. type: table
  24880. #: guix-git/doc/guix.texi:17303
  24881. 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."
  24882. msgstr ""
  24883. #. type: item
  24884. #: guix-git/doc/guix.texi:17304 guix-git/doc/guix.texi:33832
  24885. #, no-wrap
  24886. msgid "@code{negative-ttl} (default: @code{#f})"
  24887. msgstr ""
  24888. #. type: table
  24889. #: guix-git/doc/guix.texi:17308
  24890. 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."
  24891. msgstr ""
  24892. #. type: anchor{#1}
  24893. #: guix-git/doc/guix.texi:17312
  24894. msgid "rngd-service"
  24895. msgstr ""
  24896. #. type: deffn
  24897. #: guix-git/doc/guix.texi:17312
  24898. #, no-wrap
  24899. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  24900. msgstr ""
  24901. #. type: deffn
  24902. #: guix-git/doc/guix.texi:17317
  24903. 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."
  24904. msgstr ""
  24905. #. type: anchor{#1}
  24906. #: guix-git/doc/guix.texi:17320
  24907. msgid "pam-limits-service"
  24908. msgstr ""
  24909. #. type: cindex
  24910. #: guix-git/doc/guix.texi:17320
  24911. #, no-wrap
  24912. msgid "session limits"
  24913. msgstr ""
  24914. #. type: cindex
  24915. #: guix-git/doc/guix.texi:17321
  24916. #, no-wrap
  24917. msgid "ulimit"
  24918. msgstr ""
  24919. #. type: cindex
  24920. #: guix-git/doc/guix.texi:17322
  24921. #, no-wrap
  24922. msgid "priority"
  24923. msgstr ""
  24924. #. type: cindex
  24925. #: guix-git/doc/guix.texi:17323
  24926. #, no-wrap
  24927. msgid "realtime"
  24928. msgstr ""
  24929. #. type: cindex
  24930. #: guix-git/doc/guix.texi:17324
  24931. #, no-wrap
  24932. msgid "jackd"
  24933. msgstr ""
  24934. #. type: cindex
  24935. #: guix-git/doc/guix.texi:17325
  24936. #, no-wrap
  24937. msgid "nofile"
  24938. msgstr ""
  24939. #. type: cindex
  24940. #: guix-git/doc/guix.texi:17326
  24941. #, no-wrap
  24942. msgid "open file descriptors"
  24943. msgstr ""
  24944. #. type: deffn
  24945. #: guix-git/doc/guix.texi:17327
  24946. #, no-wrap
  24947. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  24948. msgstr ""
  24949. #. type: deffn
  24950. #: guix-git/doc/guix.texi:17334
  24951. 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."
  24952. msgstr ""
  24953. #. type: deffn
  24954. #: guix-git/doc/guix.texi:17337
  24955. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  24956. msgstr ""
  24957. #. type: lisp
  24958. #: guix-git/doc/guix.texi:17343
  24959. #, no-wrap
  24960. msgid ""
  24961. "(pam-limits-service\n"
  24962. " (list\n"
  24963. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  24964. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  24965. msgstr ""
  24966. #. type: deffn
  24967. #: guix-git/doc/guix.texi:17349
  24968. 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."
  24969. msgstr ""
  24970. #. type: deffn
  24971. #: guix-git/doc/guix.texi:17352
  24972. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  24973. msgstr ""
  24974. #. type: lisp
  24975. #: guix-git/doc/guix.texi:17357
  24976. #, no-wrap
  24977. msgid ""
  24978. "(pam-limits-service\n"
  24979. " (list\n"
  24980. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  24981. msgstr ""
  24982. #. type: deffn
  24983. #: guix-git/doc/guix.texi:17365
  24984. 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."
  24985. msgstr ""
  24986. #. type: cindex
  24987. #: guix-git/doc/guix.texi:17370 guix-git/doc/guix.texi:38012
  24988. #, no-wrap
  24989. msgid "cron"
  24990. msgstr ""
  24991. #. type: cindex
  24992. #: guix-git/doc/guix.texi:17371 guix-git/doc/guix.texi:38013
  24993. #, no-wrap
  24994. msgid "mcron"
  24995. msgstr ""
  24996. #. type: cindex
  24997. #: guix-git/doc/guix.texi:17372 guix-git/doc/guix.texi:38014
  24998. #, no-wrap
  24999. msgid "scheduling jobs"
  25000. msgstr ""
  25001. #. type: Plain text
  25002. #: guix-git/doc/guix.texi:17379
  25003. 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."
  25004. msgstr ""
  25005. #. type: Plain text
  25006. #: guix-git/doc/guix.texi:17387
  25007. 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})."
  25008. msgstr ""
  25009. #. type: lisp
  25010. #: guix-git/doc/guix.texi:17391
  25011. #, no-wrap
  25012. msgid ""
  25013. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  25014. "(use-package-modules base idutils)\n"
  25015. "\n"
  25016. msgstr ""
  25017. #. type: lisp
  25018. #: guix-git/doc/guix.texi:17401
  25019. #, no-wrap
  25020. msgid ""
  25021. "(define updatedb-job\n"
  25022. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  25023. " ;; job's action as a Scheme procedure.\n"
  25024. " #~(job '(next-hour '(3))\n"
  25025. " (lambda ()\n"
  25026. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  25027. " \"updatedb\"\n"
  25028. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  25029. " \"updatedb\"))\n"
  25030. "\n"
  25031. msgstr ""
  25032. #. type: lisp
  25033. #: guix-git/doc/guix.texi:17407
  25034. #, no-wrap
  25035. msgid ""
  25036. "(define garbage-collector-job\n"
  25037. " ;; Collect garbage 5 minutes after midnight every day.\n"
  25038. " ;; The job's action is a shell command.\n"
  25039. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  25040. " \"guix gc -F 1G\"))\n"
  25041. "\n"
  25042. msgstr ""
  25043. #. type: lisp
  25044. #: guix-git/doc/guix.texi:17414
  25045. #, no-wrap
  25046. msgid ""
  25047. "(define idutils-job\n"
  25048. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  25049. " ;; and 19:15PM. This runs from the user's home directory.\n"
  25050. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  25051. " (string-append #$idutils \"/bin/mkid src\")\n"
  25052. " #:user \"charlie\"))\n"
  25053. "\n"
  25054. msgstr ""
  25055. #. type: lisp
  25056. #: guix-git/doc/guix.texi:17417
  25057. #, no-wrap
  25058. msgid ""
  25059. "(operating-system\n"
  25060. " ;; @dots{}\n"
  25061. "\n"
  25062. msgstr ""
  25063. #. type: lisp
  25064. #: guix-git/doc/guix.texi:17427
  25065. #, no-wrap
  25066. msgid ""
  25067. " ;; %BASE-SERVICES already includes an instance of\n"
  25068. " ;; 'mcron-service-type', which we extend with additional\n"
  25069. " ;; jobs using 'simple-service'.\n"
  25070. " (services (cons (simple-service 'my-cron-jobs\n"
  25071. " mcron-service-type\n"
  25072. " (list garbage-collector-job\n"
  25073. " updatedb-job\n"
  25074. " idutils-job))\n"
  25075. " %base-services)))\n"
  25076. msgstr ""
  25077. #. type: quotation
  25078. #: guix-git/doc/guix.texi:17429
  25079. #, no-wrap
  25080. msgid "Tip"
  25081. msgstr ""
  25082. #. type: quotation
  25083. #: guix-git/doc/guix.texi:17435
  25084. 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!"
  25085. msgstr ""
  25086. #. type: Plain text
  25087. #: guix-git/doc/guix.texi:17442
  25088. 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."
  25089. msgstr ""
  25090. #. type: lisp
  25091. #: guix-git/doc/guix.texi:17458
  25092. #, no-wrap
  25093. msgid ""
  25094. "(define %battery-alert-job\n"
  25095. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  25096. " #~(job\n"
  25097. " '(next-minute (range 0 60 1))\n"
  25098. " #$(program-file\n"
  25099. " \"battery-alert.scm\"\n"
  25100. " (with-imported-modules (source-module-closure\n"
  25101. " '((guix build utils)))\n"
  25102. " #~(begin\n"
  25103. " (use-modules (guix build utils)\n"
  25104. " (ice-9 popen)\n"
  25105. " (ice-9 regex)\n"
  25106. " (ice-9 textual-ports)\n"
  25107. " (srfi srfi-2))\n"
  25108. "\n"
  25109. msgstr ""
  25110. #. type: lisp
  25111. #: guix-git/doc/guix.texi:17460
  25112. #, no-wrap
  25113. msgid ""
  25114. " (define %min-level 20)\n"
  25115. "\n"
  25116. msgstr ""
  25117. #. type: lisp
  25118. #: guix-git/doc/guix.texi:17471
  25119. #, no-wrap
  25120. msgid ""
  25121. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  25122. " (and-let* ((input-pipe (open-pipe*\n"
  25123. " OPEN_READ\n"
  25124. " #$(file-append acpi \"/bin/acpi\")))\n"
  25125. " (output (get-string-all input-pipe))\n"
  25126. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  25127. " (level (string->number (match:substring m 1)))\n"
  25128. " ((< level %min-level)))\n"
  25129. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  25130. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  25131. msgstr ""
  25132. #. type: Plain text
  25133. #: guix-git/doc/guix.texi:17476
  25134. 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."
  25135. msgstr ""
  25136. #. type: Plain text
  25137. #: guix-git/doc/guix.texi:17479
  25138. 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:"
  25139. msgstr ""
  25140. #. type: example
  25141. #: guix-git/doc/guix.texi:17482
  25142. #, no-wrap
  25143. msgid "# herd schedule mcron\n"
  25144. msgstr ""
  25145. #. type: Plain text
  25146. #: guix-git/doc/guix.texi:17487
  25147. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  25148. msgstr ""
  25149. #. type: example
  25150. #: guix-git/doc/guix.texi:17490
  25151. #, no-wrap
  25152. msgid "# herd schedule mcron 10\n"
  25153. msgstr ""
  25154. #. type: defvr
  25155. #: guix-git/doc/guix.texi:17492
  25156. #, no-wrap
  25157. msgid "{Scheme Variable} mcron-service-type"
  25158. msgstr ""
  25159. #. type: defvr
  25160. #: guix-git/doc/guix.texi:17495
  25161. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  25162. msgstr ""
  25163. #. type: defvr
  25164. #: guix-git/doc/guix.texi:17500 guix-git/doc/guix.texi:38033
  25165. 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."
  25166. msgstr ""
  25167. #. type: deftp
  25168. #: guix-git/doc/guix.texi:17502
  25169. #, no-wrap
  25170. msgid "{Data Type} mcron-configuration"
  25171. msgstr ""
  25172. #. type: deftp
  25173. #: guix-git/doc/guix.texi:17504 guix-git/doc/guix.texi:38037
  25174. msgid "Data type representing the configuration of mcron."
  25175. msgstr ""
  25176. #. type: item
  25177. #: guix-git/doc/guix.texi:17506 guix-git/doc/guix.texi:38039
  25178. #, no-wrap
  25179. msgid "@code{mcron} (default: @var{mcron})"
  25180. msgstr ""
  25181. #. type: table
  25182. #: guix-git/doc/guix.texi:17508 guix-git/doc/guix.texi:38041
  25183. msgid "The mcron package to use."
  25184. msgstr ""
  25185. #. type: code{#1}
  25186. #: guix-git/doc/guix.texi:17509 guix-git/doc/guix.texi:17578
  25187. #: guix-git/doc/guix.texi:38042
  25188. #, no-wrap
  25189. msgid "jobs"
  25190. msgstr ""
  25191. #. type: table
  25192. #: guix-git/doc/guix.texi:17513 guix-git/doc/guix.texi:38046
  25193. 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})."
  25194. msgstr ""
  25195. #. type: cindex
  25196. #: guix-git/doc/guix.texi:17520
  25197. #, no-wrap
  25198. msgid "rottlog"
  25199. msgstr ""
  25200. #. type: cindex
  25201. #: guix-git/doc/guix.texi:17521
  25202. #, no-wrap
  25203. msgid "log rotation"
  25204. msgstr ""
  25205. #. type: Plain text
  25206. #: guix-git/doc/guix.texi:17528
  25207. 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})."
  25208. msgstr ""
  25209. #. type: Plain text
  25210. #: guix-git/doc/guix.texi:17534
  25211. 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):"
  25212. msgstr ""
  25213. #. type: lisp
  25214. #: guix-git/doc/guix.texi:17538
  25215. #, no-wrap
  25216. msgid ""
  25217. "(use-modules (guix) (gnu))\n"
  25218. "(use-service-modules admin)\n"
  25219. "\n"
  25220. msgstr ""
  25221. #. type: lisp
  25222. #: guix-git/doc/guix.texi:17542
  25223. #, no-wrap
  25224. msgid ""
  25225. "(define my-log-files\n"
  25226. " ;; Log files that I want to rotate.\n"
  25227. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  25228. "\n"
  25229. msgstr ""
  25230. #. type: lisp
  25231. #: guix-git/doc/guix.texi:17551
  25232. #, no-wrap
  25233. msgid ""
  25234. "(operating-system\n"
  25235. " ;; @dots{}\n"
  25236. " (services (cons (simple-service 'rotate-my-stuff\n"
  25237. " rottlog-service-type\n"
  25238. " (list (log-rotation\n"
  25239. " (frequency 'daily)\n"
  25240. " (files my-log-files))))\n"
  25241. " %base-services)))\n"
  25242. msgstr ""
  25243. #. type: defvr
  25244. #: guix-git/doc/guix.texi:17553
  25245. #, no-wrap
  25246. msgid "{Scheme Variable} rottlog-service-type"
  25247. msgstr ""
  25248. #. type: defvr
  25249. #: guix-git/doc/guix.texi:17556
  25250. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  25251. msgstr ""
  25252. #. type: defvr
  25253. #: guix-git/doc/guix.texi:17559
  25254. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  25255. msgstr ""
  25256. #. type: defvr
  25257. #: guix-git/doc/guix.texi:17562
  25258. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  25259. msgstr ""
  25260. #. type: deftp
  25261. #: guix-git/doc/guix.texi:17564
  25262. #, no-wrap
  25263. msgid "{Data Type} rottlog-configuration"
  25264. msgstr ""
  25265. #. type: deftp
  25266. #: guix-git/doc/guix.texi:17566
  25267. msgid "Data type representing the configuration of rottlog."
  25268. msgstr ""
  25269. #. type: item
  25270. #: guix-git/doc/guix.texi:17568
  25271. #, no-wrap
  25272. msgid "@code{rottlog} (default: @code{rottlog})"
  25273. msgstr ""
  25274. #. type: table
  25275. #: guix-git/doc/guix.texi:17570
  25276. msgid "The Rottlog package to use."
  25277. msgstr ""
  25278. #. type: item
  25279. #: guix-git/doc/guix.texi:17571
  25280. #, no-wrap
  25281. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  25282. msgstr ""
  25283. #. type: table
  25284. #: guix-git/doc/guix.texi:17574
  25285. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  25286. msgstr ""
  25287. #. type: item
  25288. #: guix-git/doc/guix.texi:17575
  25289. #, no-wrap
  25290. msgid "@code{rotations} (default: @code{%default-rotations})"
  25291. msgstr ""
  25292. #. type: table
  25293. #: guix-git/doc/guix.texi:17577
  25294. msgid "A list of @code{log-rotation} objects as defined below."
  25295. msgstr ""
  25296. #. type: table
  25297. #: guix-git/doc/guix.texi:17581
  25298. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  25299. msgstr ""
  25300. #. type: deftp
  25301. #: guix-git/doc/guix.texi:17584
  25302. #, no-wrap
  25303. msgid "{Data Type} log-rotation"
  25304. msgstr ""
  25305. #. type: deftp
  25306. #: guix-git/doc/guix.texi:17586
  25307. msgid "Data type representing the rotation of a group of log files."
  25308. msgstr ""
  25309. #. type: deftp
  25310. #: guix-git/doc/guix.texi:17590
  25311. 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:"
  25312. msgstr ""
  25313. #. type: lisp
  25314. #: guix-git/doc/guix.texi:17599
  25315. #, no-wrap
  25316. msgid ""
  25317. "(log-rotation\n"
  25318. " (frequency 'daily)\n"
  25319. " (files '(\"/var/log/apache/*\"))\n"
  25320. " (options '(\"storedir apache-archives\"\n"
  25321. " \"rotate 6\"\n"
  25322. " \"notifempty\"\n"
  25323. " \"nocompress\")))\n"
  25324. msgstr ""
  25325. #. type: deftp
  25326. #: guix-git/doc/guix.texi:17602
  25327. msgid "The list of fields is as follows:"
  25328. msgstr ""
  25329. #. type: item
  25330. #: guix-git/doc/guix.texi:17604
  25331. #, no-wrap
  25332. msgid "@code{frequency} (default: @code{'weekly})"
  25333. msgstr ""
  25334. #. type: table
  25335. #: guix-git/doc/guix.texi:17606
  25336. msgid "The log rotation frequency, a symbol."
  25337. msgstr ""
  25338. #. type: table
  25339. #: guix-git/doc/guix.texi:17609
  25340. msgid "The list of files or file glob patterns to rotate."
  25341. msgstr ""
  25342. #. type: item
  25343. #: guix-git/doc/guix.texi:17610
  25344. #, no-wrap
  25345. msgid "@code{options} (default: @code{'()})"
  25346. msgstr ""
  25347. #. type: table
  25348. #: guix-git/doc/guix.texi:17613
  25349. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  25350. msgstr ""
  25351. #. type: item
  25352. #: guix-git/doc/guix.texi:17614
  25353. #, no-wrap
  25354. msgid "@code{post-rotate} (default: @code{#f})"
  25355. msgstr ""
  25356. #. type: table
  25357. #: guix-git/doc/guix.texi:17616
  25358. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  25359. msgstr ""
  25360. #. type: defvr
  25361. #: guix-git/doc/guix.texi:17619
  25362. #, no-wrap
  25363. msgid "{Scheme Variable} %default-rotations"
  25364. msgstr ""
  25365. #. type: defvr
  25366. #: guix-git/doc/guix.texi:17622
  25367. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  25368. msgstr ""
  25369. #. type: defvr
  25370. #: guix-git/doc/guix.texi:17624
  25371. #, no-wrap
  25372. msgid "{Scheme Variable} %rotated-files"
  25373. msgstr ""
  25374. #. type: defvr
  25375. #: guix-git/doc/guix.texi:17628
  25376. 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\")}."
  25377. msgstr ""
  25378. #. type: Plain text
  25379. #: guix-git/doc/guix.texi:17641
  25380. 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."
  25381. msgstr ""
  25382. #. type: Plain text
  25383. #: guix-git/doc/guix.texi:17647
  25384. 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."
  25385. msgstr ""
  25386. #. type: Plain text
  25387. #: guix-git/doc/guix.texi:17650
  25388. msgid "This section describes the various network setup services available, starting with static network configuration."
  25389. msgstr ""
  25390. #. type: defvr
  25391. #: guix-git/doc/guix.texi:17651
  25392. #, no-wrap
  25393. msgid "{Scheme Variable} static-networking-service-type"
  25394. msgstr ""
  25395. #. type: defvr
  25396. #: guix-git/doc/guix.texi:17656
  25397. 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."
  25398. msgstr ""
  25399. #. type: cindex
  25400. #: guix-git/doc/guix.texi:17657
  25401. #, no-wrap
  25402. msgid "network interface controller (NIC)"
  25403. msgstr ""
  25404. #. type: cindex
  25405. #: guix-git/doc/guix.texi:17658
  25406. #, no-wrap
  25407. msgid "NIC, networking interface controller"
  25408. msgstr ""
  25409. #. type: defvr
  25410. #: guix-git/doc/guix.texi:17661
  25411. msgid "Here is the simplest configuration, with only one network interface controller (NIC) and only IPv4 connectivity:"
  25412. msgstr ""
  25413. #. type: lisp
  25414. #: guix-git/doc/guix.texi:17675
  25415. #, no-wrap
  25416. msgid ""
  25417. ";; Static networking for one NIC, IPv4-only.\n"
  25418. "(service static-networking-service-type\n"
  25419. " (list (static-networking\n"
  25420. " (addresses\n"
  25421. " (list (network-address\n"
  25422. " (device \"eno1\")\n"
  25423. " (value \"10.0.2.15/24\"))))\n"
  25424. " (routes\n"
  25425. " (list (network-route\n"
  25426. " (destination \"default\")\n"
  25427. " (gateway \"10.0.2.2\"))))\n"
  25428. " (name-servers '(\"10.0.2.3\")))))\n"
  25429. msgstr ""
  25430. #. type: defvr
  25431. #: guix-git/doc/guix.texi:17684
  25432. 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."
  25433. msgstr ""
  25434. #. type: deftp
  25435. #: guix-git/doc/guix.texi:17686
  25436. #, no-wrap
  25437. msgid "{Data Type} static-networking"
  25438. msgstr ""
  25439. #. type: deftp
  25440. #: guix-git/doc/guix.texi:17688
  25441. msgid "This is the data type representing a static network configuration."
  25442. msgstr ""
  25443. #. type: deftp
  25444. #: guix-git/doc/guix.texi:17692
  25445. 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:"
  25446. msgstr ""
  25447. #. type: lisp
  25448. #: guix-git/doc/guix.texi:17709
  25449. #, no-wrap
  25450. msgid ""
  25451. ";; Network configuration for one NIC, IPv4 + IPv6.\n"
  25452. "(static-networking\n"
  25453. " (addresses (list (network-address\n"
  25454. " (device \"eno1\")\n"
  25455. " (value \"10.0.2.15/24\"))\n"
  25456. " (network-address\n"
  25457. " (device \"eno1\")\n"
  25458. " (value \"2001:123:4567:101::1/64\"))))\n"
  25459. " (routes (list (network-route\n"
  25460. " (destination \"default\")\n"
  25461. " (gateway \"10.0.2.2\"))\n"
  25462. " (network-route\n"
  25463. " (destination \"default\")\n"
  25464. " (gateway \"2020:321:4567:42::1\"))))\n"
  25465. " (name-servers '(\"10.0.2.3\")))\n"
  25466. msgstr ""
  25467. #. type: deftp
  25468. #: guix-git/doc/guix.texi:17715
  25469. 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:"
  25470. msgstr ""
  25471. #. type: example
  25472. #: guix-git/doc/guix.texi:17721
  25473. #, no-wrap
  25474. msgid ""
  25475. "ip address add 10.0.2.15/24 dev eno1\n"
  25476. "ip address add 2001:123:4567:101::1/64 dev eno1\n"
  25477. "ip route add default via inet 10.0.2.2\n"
  25478. "ip route add default via inet6 2020:321:4567:42::1\n"
  25479. msgstr ""
  25480. #. type: deftp
  25481. #: guix-git/doc/guix.texi:17726
  25482. 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."
  25483. msgstr ""
  25484. #. type: deftp
  25485. #: guix-git/doc/guix.texi:17728
  25486. msgid "The available fields of this data type are as follows:"
  25487. msgstr ""
  25488. #. type: code{#1}
  25489. #: guix-git/doc/guix.texi:17730
  25490. #, no-wrap
  25491. msgid "addresses"
  25492. msgstr ""
  25493. #. type: itemx
  25494. #: guix-git/doc/guix.texi:17731
  25495. #, no-wrap
  25496. msgid "@code{links} (default: @code{'()})"
  25497. msgstr ""
  25498. #. type: itemx
  25499. #: guix-git/doc/guix.texi:17732
  25500. #, no-wrap
  25501. msgid "@code{routes} (default: @code{'()})"
  25502. msgstr ""
  25503. #. type: table
  25504. #: guix-git/doc/guix.texi:17735
  25505. msgid "The list of @code{network-address}, @code{network-link}, and @code{network-route} records for this network (see below)."
  25506. msgstr ""
  25507. #. type: item
  25508. #: guix-git/doc/guix.texi:17736
  25509. #, no-wrap
  25510. msgid "@code{name-servers} (default: @code{'()})"
  25511. msgstr ""
  25512. #. type: table
  25513. #: guix-git/doc/guix.texi:17739
  25514. msgid "The list of IP addresses (strings) of domain name servers. These IP addresses go to @file{/etc/resolv.conf}."
  25515. msgstr ""
  25516. #. type: item
  25517. #: guix-git/doc/guix.texi:17740
  25518. #, no-wrap
  25519. msgid "@code{provision} (default: @code{'(networking)})"
  25520. msgstr ""
  25521. #. type: table
  25522. #: guix-git/doc/guix.texi:17743
  25523. msgid "If true, this should be a list of symbols for the Shepherd service corresponding to this network configuration."
  25524. msgstr ""
  25525. #. type: item
  25526. #: guix-git/doc/guix.texi:17744
  25527. #, no-wrap
  25528. msgid "@code{requirement} (default @code{'()})"
  25529. msgstr ""
  25530. #. type: table
  25531. #: guix-git/doc/guix.texi:17746
  25532. msgid "The list of Shepherd services depended on."
  25533. msgstr ""
  25534. #. type: deftp
  25535. #: guix-git/doc/guix.texi:17749
  25536. #, no-wrap
  25537. msgid "{Data Type} network-address"
  25538. msgstr ""
  25539. #. type: deftp
  25540. #: guix-git/doc/guix.texi:17752
  25541. msgid "This is the data type representing the IP address of a network interface."
  25542. msgstr ""
  25543. #. type: table
  25544. #: guix-git/doc/guix.texi:17757
  25545. msgid "The name of the network interface for this address---e.g., @code{\"eno1\"}."
  25546. msgstr ""
  25547. #. type: item
  25548. #: guix-git/doc/guix.texi:17758
  25549. #, no-wrap
  25550. msgid "value"
  25551. msgstr ""
  25552. #. type: table
  25553. #: guix-git/doc/guix.texi:17762
  25554. 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."
  25555. msgstr ""
  25556. #. type: table
  25557. #: guix-git/doc/guix.texi:17766
  25558. 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."
  25559. msgstr ""
  25560. #. type: item
  25561. #: guix-git/doc/guix.texi:17767
  25562. #, no-wrap
  25563. msgid "ipv6?"
  25564. msgstr ""
  25565. #. type: table
  25566. #: guix-git/doc/guix.texi:17770
  25567. msgid "Whether @code{value} denotes an IPv6 address. By default this is automatically determined."
  25568. msgstr ""
  25569. #. type: deftp
  25570. #: guix-git/doc/guix.texi:17773
  25571. #, no-wrap
  25572. msgid "{Data Type} network-route"
  25573. msgstr ""
  25574. #. type: deftp
  25575. #: guix-git/doc/guix.texi:17775
  25576. msgid "This is the data type representing a network route."
  25577. msgstr ""
  25578. #. type: code{#1}
  25579. #: guix-git/doc/guix.texi:17777
  25580. #, fuzzy, no-wrap
  25581. #| msgid "deduplication"
  25582. msgid "destination"
  25583. msgstr "deduplicazione"
  25584. #. type: table
  25585. #: guix-git/doc/guix.texi:17780
  25586. msgid "The route destination (a string), either an IP address or @code{\"default\"} to denote the default route."
  25587. msgstr ""
  25588. #. type: item
  25589. #: guix-git/doc/guix.texi:17781
  25590. #, no-wrap
  25591. msgid "@code{source} (default: @code{#f})"
  25592. msgstr ""
  25593. #. type: table
  25594. #: guix-git/doc/guix.texi:17783
  25595. msgid "The route source."
  25596. msgstr ""
  25597. #. type: item
  25598. #: guix-git/doc/guix.texi:17784 guix-git/doc/guix.texi:35314
  25599. #, no-wrap
  25600. msgid "@code{device} (default: @code{#f})"
  25601. msgstr ""
  25602. #. type: table
  25603. #: guix-git/doc/guix.texi:17786
  25604. msgid "The device used for this route---e.g., @code{\"eno2\"}."
  25605. msgstr ""
  25606. #. type: item
  25607. #: guix-git/doc/guix.texi:17787
  25608. #, no-wrap
  25609. msgid "@code{ipv6?} (default: auto)"
  25610. msgstr ""
  25611. #. type: table
  25612. #: guix-git/doc/guix.texi:17790
  25613. msgid "Whether this is an IPv6 route. By default this is automatically determined based on @code{destination} or @code{gateway}."
  25614. msgstr ""
  25615. #. type: item
  25616. #: guix-git/doc/guix.texi:17791
  25617. #, no-wrap
  25618. msgid "@code{gateway} (default: @code{#f})"
  25619. msgstr ""
  25620. #. type: table
  25621. #: guix-git/doc/guix.texi:17793
  25622. msgid "IP address (a string) through which traffic is routed."
  25623. msgstr ""
  25624. #. type: deftp
  25625. #: guix-git/doc/guix.texi:17796
  25626. #, no-wrap
  25627. msgid "{Data Type} network-link"
  25628. msgstr ""
  25629. #. type: deftp
  25630. #: guix-git/doc/guix.texi:17799
  25631. msgid "Data type for a network link (@pxref{Link,,, guile-netlink, Guile-Netlink Manual})."
  25632. msgstr ""
  25633. #. type: table
  25634. #: guix-git/doc/guix.texi:17803
  25635. msgid "The name of the link---e.g., @code{\"v0p0\"}."
  25636. msgstr ""
  25637. #. type: table
  25638. #: guix-git/doc/guix.texi:17806
  25639. msgid "A symbol denoting the type of the link---e.g., @code{'veth}."
  25640. msgstr ""
  25641. #. type: item
  25642. #: guix-git/doc/guix.texi:17807
  25643. #, no-wrap
  25644. msgid "arguments"
  25645. msgstr ""
  25646. #. type: table
  25647. #: guix-git/doc/guix.texi:17809
  25648. msgid "List of arguments for this type of link."
  25649. msgstr ""
  25650. #. type: cindex
  25651. #: guix-git/doc/guix.texi:17812
  25652. #, no-wrap
  25653. msgid "loopback device"
  25654. msgstr ""
  25655. #. type: defvr
  25656. #: guix-git/doc/guix.texi:17813
  25657. #, no-wrap
  25658. msgid "{Scheme Variable} %loopback-static-networking"
  25659. msgstr ""
  25660. #. type: defvr
  25661. #: guix-git/doc/guix.texi:17817
  25662. 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."
  25663. msgstr ""
  25664. #. type: cindex
  25665. #: guix-git/doc/guix.texi:17819
  25666. #, no-wrap
  25667. msgid "networking, with QEMU"
  25668. msgstr ""
  25669. #. type: cindex
  25670. #: guix-git/doc/guix.texi:17820
  25671. #, fuzzy, no-wrap
  25672. #| msgid "Networking"
  25673. msgid "QEMU, networking"
  25674. msgstr "Rete"
  25675. #. type: defvr
  25676. #: guix-git/doc/guix.texi:17821
  25677. #, no-wrap
  25678. msgid "{Scheme Variable} %qemu-static-networking"
  25679. msgstr ""
  25680. #. type: defvr
  25681. #: guix-git/doc/guix.texi:17825
  25682. 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})."
  25683. msgstr ""
  25684. #. type: cindex
  25685. #: guix-git/doc/guix.texi:17827
  25686. #, no-wrap
  25687. msgid "DHCP, networking service"
  25688. msgstr ""
  25689. #. type: defvr
  25690. #: guix-git/doc/guix.texi:17828
  25691. #, no-wrap
  25692. msgid "{Scheme Variable} dhcp-client-service-type"
  25693. msgstr ""
  25694. #. type: defvr
  25695. #: guix-git/doc/guix.texi:17832
  25696. 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."
  25697. msgstr ""
  25698. #. type: cindex
  25699. #: guix-git/doc/guix.texi:17834
  25700. #, no-wrap
  25701. msgid "NetworkManager"
  25702. msgstr ""
  25703. #. type: defvr
  25704. #: guix-git/doc/guix.texi:17836
  25705. #, no-wrap
  25706. msgid "{Scheme Variable} network-manager-service-type"
  25707. msgstr ""
  25708. #. type: defvr
  25709. #: guix-git/doc/guix.texi:17841
  25710. 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."
  25711. msgstr ""
  25712. #. type: defvr
  25713. #: guix-git/doc/guix.texi:17844 guix-git/doc/guix.texi:17996
  25714. #: guix-git/doc/guix.texi:18025
  25715. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  25716. msgstr ""
  25717. #. type: deftp
  25718. #: guix-git/doc/guix.texi:17846
  25719. #, no-wrap
  25720. msgid "{Data Type} network-manager-configuration"
  25721. msgstr ""
  25722. #. type: deftp
  25723. #: guix-git/doc/guix.texi:17848
  25724. msgid "Data type representing the configuration of NetworkManager."
  25725. msgstr ""
  25726. #. type: item
  25727. #: guix-git/doc/guix.texi:17850
  25728. #, no-wrap
  25729. msgid "@code{network-manager} (default: @code{network-manager})"
  25730. msgstr ""
  25731. #. type: table
  25732. #: guix-git/doc/guix.texi:17852
  25733. msgid "The NetworkManager package to use."
  25734. msgstr ""
  25735. #. type: item
  25736. #: guix-git/doc/guix.texi:17853
  25737. #, no-wrap
  25738. msgid "@code{dns} (default: @code{\"default\"})"
  25739. msgstr ""
  25740. #. type: table
  25741. #: guix-git/doc/guix.texi:17856
  25742. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  25743. msgstr ""
  25744. #. type: table
  25745. #: guix-git/doc/guix.texi:17861
  25746. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  25747. msgstr ""
  25748. #. type: item
  25749. #: guix-git/doc/guix.texi:17862
  25750. #, no-wrap
  25751. msgid "dnsmasq"
  25752. msgstr ""
  25753. #. type: table
  25754. #: guix-git/doc/guix.texi:17866
  25755. 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."
  25756. msgstr ""
  25757. #. type: table
  25758. #: guix-git/doc/guix.texi:17872
  25759. 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)."
  25760. msgstr ""
  25761. #. type: table
  25762. #: guix-git/doc/guix.texi:17879
  25763. 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:"
  25764. msgstr ""
  25765. #. type: example
  25766. #: guix-git/doc/guix.texi:17886
  25767. #, no-wrap
  25768. msgid ""
  25769. "nmcli connection add type tun \\\n"
  25770. " connection.interface-name tap0 \\\n"
  25771. " tun.mode tap tun.owner $(id -u) \\\n"
  25772. " ipv4.method shared \\\n"
  25773. " ipv4.addresses 172.28.112.1/24\n"
  25774. msgstr ""
  25775. #. type: table
  25776. #: guix-git/doc/guix.texi:17891
  25777. 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-...}."
  25778. msgstr ""
  25779. #. type: table
  25780. #: guix-git/doc/guix.texi:17894
  25781. msgid "NetworkManager will not modify @code{resolv.conf}."
  25782. msgstr ""
  25783. #. type: item
  25784. #: guix-git/doc/guix.texi:17896
  25785. #, no-wrap
  25786. msgid "@code{vpn-plugins} (default: @code{'()})"
  25787. msgstr ""
  25788. #. type: table
  25789. #: guix-git/doc/guix.texi:17900
  25790. 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."
  25791. msgstr ""
  25792. #. type: cindex
  25793. #: guix-git/doc/guix.texi:17904
  25794. #, no-wrap
  25795. msgid "Connman"
  25796. msgstr ""
  25797. #. type: deffn
  25798. #: guix-git/doc/guix.texi:17905
  25799. #, no-wrap
  25800. msgid "{Scheme Variable} connman-service-type"
  25801. msgstr ""
  25802. #. type: deffn
  25803. #: guix-git/doc/guix.texi:17908
  25804. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  25805. msgstr ""
  25806. #. type: deffn
  25807. #: guix-git/doc/guix.texi:17911
  25808. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  25809. msgstr ""
  25810. #. type: lisp
  25811. #: guix-git/doc/guix.texi:17916
  25812. #, no-wrap
  25813. msgid ""
  25814. "(service connman-service-type\n"
  25815. " (connman-configuration\n"
  25816. " (disable-vpn? #t)))\n"
  25817. msgstr ""
  25818. #. type: deffn
  25819. #: guix-git/doc/guix.texi:17919
  25820. msgid "See below for details about @code{connman-configuration}."
  25821. msgstr ""
  25822. #. type: deftp
  25823. #: guix-git/doc/guix.texi:17921
  25824. #, no-wrap
  25825. msgid "{Data Type} connman-configuration"
  25826. msgstr ""
  25827. #. type: deftp
  25828. #: guix-git/doc/guix.texi:17923
  25829. msgid "Data Type representing the configuration of connman."
  25830. msgstr ""
  25831. #. type: item
  25832. #: guix-git/doc/guix.texi:17925
  25833. #, no-wrap
  25834. msgid "@code{connman} (default: @var{connman})"
  25835. msgstr ""
  25836. #. type: table
  25837. #: guix-git/doc/guix.texi:17927
  25838. msgid "The connman package to use."
  25839. msgstr ""
  25840. #. type: item
  25841. #: guix-git/doc/guix.texi:17928
  25842. #, no-wrap
  25843. msgid "@code{disable-vpn?} (default: @code{#f})"
  25844. msgstr ""
  25845. #. type: table
  25846. #: guix-git/doc/guix.texi:17930
  25847. msgid "When true, disable connman's vpn plugin."
  25848. msgstr ""
  25849. #. type: cindex
  25850. #: guix-git/doc/guix.texi:17933
  25851. #, no-wrap
  25852. msgid "WPA Supplicant"
  25853. msgstr ""
  25854. #. type: defvr
  25855. #: guix-git/doc/guix.texi:17934
  25856. #, no-wrap
  25857. msgid "{Scheme Variable} wpa-supplicant-service-type"
  25858. msgstr ""
  25859. #. type: defvr
  25860. #: guix-git/doc/guix.texi:17938
  25861. 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."
  25862. msgstr ""
  25863. #. type: deftp
  25864. #: guix-git/doc/guix.texi:17940
  25865. #, no-wrap
  25866. msgid "{Data Type} wpa-supplicant-configuration"
  25867. msgstr ""
  25868. #. type: deftp
  25869. #: guix-git/doc/guix.texi:17942
  25870. msgid "Data type representing the configuration of WPA Supplicant."
  25871. msgstr ""
  25872. #. type: deftp
  25873. #: guix-git/doc/guix.texi:17944 guix-git/doc/guix.texi:33410
  25874. msgid "It takes the following parameters:"
  25875. msgstr ""
  25876. #. type: item
  25877. #: guix-git/doc/guix.texi:17946
  25878. #, no-wrap
  25879. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  25880. msgstr ""
  25881. #. type: table
  25882. #: guix-git/doc/guix.texi:17948
  25883. msgid "The WPA Supplicant package to use."
  25884. msgstr ""
  25885. #. type: item
  25886. #: guix-git/doc/guix.texi:17949
  25887. #, no-wrap
  25888. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  25889. msgstr ""
  25890. #. type: table
  25891. #: guix-git/doc/guix.texi:17951
  25892. msgid "List of services that should be started before WPA Supplicant starts."
  25893. msgstr ""
  25894. #. type: item
  25895. #: guix-git/doc/guix.texi:17952
  25896. #, no-wrap
  25897. msgid "@code{dbus?} (default: @code{#t})"
  25898. msgstr ""
  25899. #. type: table
  25900. #: guix-git/doc/guix.texi:17954
  25901. msgid "Whether to listen for requests on D-Bus."
  25902. msgstr ""
  25903. #. type: item
  25904. #: guix-git/doc/guix.texi:17955
  25905. #, no-wrap
  25906. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  25907. msgstr ""
  25908. #. type: table
  25909. #: guix-git/doc/guix.texi:17957
  25910. msgid "Where to store the PID file."
  25911. msgstr ""
  25912. #. type: item
  25913. #: guix-git/doc/guix.texi:17958 guix-git/doc/guix.texi:31711
  25914. #: guix-git/doc/guix.texi:31853
  25915. #, no-wrap
  25916. msgid "@code{interface} (default: @code{#f})"
  25917. msgstr ""
  25918. #. type: table
  25919. #: guix-git/doc/guix.texi:17961
  25920. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  25921. msgstr ""
  25922. #. type: item
  25923. #: guix-git/doc/guix.texi:17962 guix-git/doc/guix.texi:18078
  25924. #: guix-git/doc/guix.texi:23399
  25925. #, no-wrap
  25926. msgid "@code{config-file} (default: @code{#f})"
  25927. msgstr ""
  25928. #. type: table
  25929. #: guix-git/doc/guix.texi:17964
  25930. msgid "Optional configuration file to use."
  25931. msgstr ""
  25932. #. type: table
  25933. #: guix-git/doc/guix.texi:17967
  25934. msgid "List of additional command-line arguments to pass to the daemon."
  25935. msgstr ""
  25936. #. type: cindex
  25937. #: guix-git/doc/guix.texi:17970
  25938. #, no-wrap
  25939. msgid "wicd"
  25940. msgstr ""
  25941. #. type: cindex
  25942. #: guix-git/doc/guix.texi:17973
  25943. #, no-wrap
  25944. msgid "network management"
  25945. msgstr ""
  25946. #. type: deffn
  25947. #: guix-git/doc/guix.texi:17974
  25948. #, no-wrap
  25949. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  25950. msgstr ""
  25951. #. type: deffn
  25952. #: guix-git/doc/guix.texi:17977
  25953. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  25954. msgstr ""
  25955. #. type: deffn
  25956. #: guix-git/doc/guix.texi:17982
  25957. 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."
  25958. msgstr ""
  25959. #. type: cindex
  25960. #: guix-git/doc/guix.texi:17984
  25961. #, no-wrap
  25962. msgid "ModemManager"
  25963. msgstr ""
  25964. #. type: Plain text
  25965. #: guix-git/doc/guix.texi:17987
  25966. msgid "Some networking devices such as modems require special care, and this is what the services below focus on."
  25967. msgstr ""
  25968. #. type: defvr
  25969. #: guix-git/doc/guix.texi:17988
  25970. #, no-wrap
  25971. msgid "{Scheme Variable} modem-manager-service-type"
  25972. msgstr ""
  25973. #. type: defvr
  25974. #: guix-git/doc/guix.texi:17993
  25975. 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."
  25976. msgstr ""
  25977. #. type: deftp
  25978. #: guix-git/doc/guix.texi:17998
  25979. #, no-wrap
  25980. msgid "{Data Type} modem-manager-configuration"
  25981. msgstr ""
  25982. #. type: deftp
  25983. #: guix-git/doc/guix.texi:18000
  25984. msgid "Data type representing the configuration of ModemManager."
  25985. msgstr ""
  25986. #. type: item
  25987. #: guix-git/doc/guix.texi:18002
  25988. #, no-wrap
  25989. msgid "@code{modem-manager} (default: @code{modem-manager})"
  25990. msgstr ""
  25991. #. type: table
  25992. #: guix-git/doc/guix.texi:18004
  25993. msgid "The ModemManager package to use."
  25994. msgstr ""
  25995. #. type: cindex
  25996. #: guix-git/doc/guix.texi:18008
  25997. #, no-wrap
  25998. msgid "USB_ModeSwitch"
  25999. msgstr ""
  26000. #. type: cindex
  26001. #: guix-git/doc/guix.texi:18009
  26002. #, no-wrap
  26003. msgid "Modeswitching"
  26004. msgstr ""
  26005. #. type: defvr
  26006. #: guix-git/doc/guix.texi:18011
  26007. #, no-wrap
  26008. msgid "{Scheme Variable} usb-modeswitch-service-type"
  26009. msgstr ""
  26010. #. type: defvr
  26011. #: guix-git/doc/guix.texi:18016
  26012. 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."
  26013. msgstr ""
  26014. #. type: defvr
  26015. #: guix-git/doc/guix.texi:18022
  26016. 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."
  26017. msgstr ""
  26018. #. type: deftp
  26019. #: guix-git/doc/guix.texi:18027
  26020. #, no-wrap
  26021. msgid "{Data Type} usb-modeswitch-configuration"
  26022. msgstr ""
  26023. #. type: deftp
  26024. #: guix-git/doc/guix.texi:18029
  26025. msgid "Data type representing the configuration of USB_ModeSwitch."
  26026. msgstr ""
  26027. #. type: item
  26028. #: guix-git/doc/guix.texi:18031
  26029. #, no-wrap
  26030. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  26031. msgstr ""
  26032. #. type: table
  26033. #: guix-git/doc/guix.texi:18033
  26034. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  26035. msgstr ""
  26036. #. type: item
  26037. #: guix-git/doc/guix.texi:18034
  26038. #, no-wrap
  26039. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  26040. msgstr ""
  26041. #. type: table
  26042. #: guix-git/doc/guix.texi:18037
  26043. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  26044. msgstr ""
  26045. #. type: item
  26046. #: guix-git/doc/guix.texi:18038
  26047. #, no-wrap
  26048. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  26049. msgstr ""
  26050. #. type: table
  26051. #: guix-git/doc/guix.texi:18043
  26052. 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."
  26053. msgstr ""
  26054. #. type: Plain text
  26055. #: guix-git/doc/guix.texi:18057
  26056. 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."
  26057. msgstr ""
  26058. #. type: deffn
  26059. #: guix-git/doc/guix.texi:18058
  26060. #, no-wrap
  26061. msgid "{Scheme Procedure} dhcpd-service-type"
  26062. msgstr ""
  26063. #. type: deffn
  26064. #: guix-git/doc/guix.texi:18062
  26065. 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:"
  26066. msgstr ""
  26067. #. type: lisp
  26068. #: guix-git/doc/guix.texi:18068
  26069. #, no-wrap
  26070. msgid ""
  26071. "(service dhcpd-service-type\n"
  26072. " (dhcpd-configuration\n"
  26073. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  26074. " (interfaces '(\"enp0s25\"))))\n"
  26075. msgstr ""
  26076. #. type: deftp
  26077. #: guix-git/doc/guix.texi:18071
  26078. #, no-wrap
  26079. msgid "{Data Type} dhcpd-configuration"
  26080. msgstr ""
  26081. #. type: item
  26082. #: guix-git/doc/guix.texi:18073
  26083. #, no-wrap
  26084. msgid "@code{package} (default: @code{isc-dhcp})"
  26085. msgstr ""
  26086. #. type: table
  26087. #: guix-git/doc/guix.texi:18078
  26088. 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}."
  26089. msgstr ""
  26090. #. type: table
  26091. #: guix-git/doc/guix.texi:18083
  26092. 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."
  26093. msgstr ""
  26094. #. type: item
  26095. #: guix-git/doc/guix.texi:18083
  26096. #, no-wrap
  26097. msgid "@code{version} (default: @code{\"4\"})"
  26098. msgstr ""
  26099. #. type: table
  26100. #: guix-git/doc/guix.texi:18088
  26101. 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."
  26102. msgstr ""
  26103. #. type: item
  26104. #: guix-git/doc/guix.texi:18088
  26105. #, no-wrap
  26106. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  26107. msgstr ""
  26108. #. type: table
  26109. #: guix-git/doc/guix.texi:18091
  26110. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  26111. msgstr ""
  26112. #. type: item
  26113. #: guix-git/doc/guix.texi:18091
  26114. #, no-wrap
  26115. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  26116. msgstr ""
  26117. #. type: table
  26118. #: guix-git/doc/guix.texi:18094
  26119. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  26120. msgstr ""
  26121. #. type: item
  26122. #: guix-git/doc/guix.texi:18094
  26123. #, no-wrap
  26124. msgid "@code{interfaces} (default: @code{'()})"
  26125. msgstr ""
  26126. #. type: table
  26127. #: guix-git/doc/guix.texi:18100
  26128. 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."
  26129. msgstr ""
  26130. #. type: cindex
  26131. #: guix-git/doc/guix.texi:18103
  26132. #, no-wrap
  26133. msgid "hostapd service, for Wi-Fi access points"
  26134. msgstr ""
  26135. #. type: cindex
  26136. #: guix-git/doc/guix.texi:18104
  26137. #, no-wrap
  26138. msgid "Wi-Fi access points, hostapd service"
  26139. msgstr ""
  26140. #. type: defvr
  26141. #: guix-git/doc/guix.texi:18105
  26142. #, no-wrap
  26143. msgid "{Scheme Variable} hostapd-service-type"
  26144. msgstr ""
  26145. #. type: defvr
  26146. #: guix-git/doc/guix.texi:18110
  26147. 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:"
  26148. msgstr ""
  26149. #. type: lisp
  26150. #: guix-git/doc/guix.texi:18118
  26151. #, no-wrap
  26152. msgid ""
  26153. ";; Use wlan1 to run the access point for \"My Network\".\n"
  26154. "(service hostapd-service-type\n"
  26155. " (hostapd-configuration\n"
  26156. " (interface \"wlan1\")\n"
  26157. " (ssid \"My Network\")\n"
  26158. " (channel 12)))\n"
  26159. msgstr ""
  26160. #. type: deftp
  26161. #: guix-git/doc/guix.texi:18121
  26162. #, no-wrap
  26163. msgid "{Data Type} hostapd-configuration"
  26164. msgstr ""
  26165. #. type: deftp
  26166. #: guix-git/doc/guix.texi:18124
  26167. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  26168. msgstr ""
  26169. #. type: item
  26170. #: guix-git/doc/guix.texi:18126
  26171. #, no-wrap
  26172. msgid "@code{package} (default: @code{hostapd})"
  26173. msgstr ""
  26174. #. type: table
  26175. #: guix-git/doc/guix.texi:18128
  26176. msgid "The hostapd package to use."
  26177. msgstr ""
  26178. #. type: item
  26179. #: guix-git/doc/guix.texi:18129
  26180. #, no-wrap
  26181. msgid "@code{interface} (default: @code{\"wlan0\"})"
  26182. msgstr ""
  26183. #. type: table
  26184. #: guix-git/doc/guix.texi:18131
  26185. msgid "The network interface to run the WiFi access point."
  26186. msgstr ""
  26187. #. type: code{#1}
  26188. #: guix-git/doc/guix.texi:18132
  26189. #, no-wrap
  26190. msgid "ssid"
  26191. msgstr ""
  26192. #. type: table
  26193. #: guix-git/doc/guix.texi:18135
  26194. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  26195. msgstr ""
  26196. #. type: item
  26197. #: guix-git/doc/guix.texi:18136
  26198. #, no-wrap
  26199. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  26200. msgstr ""
  26201. #. type: table
  26202. #: guix-git/doc/guix.texi:18138
  26203. msgid "Whether to broadcast this SSID."
  26204. msgstr ""
  26205. #. type: item
  26206. #: guix-git/doc/guix.texi:18139
  26207. #, no-wrap
  26208. msgid "@code{channel} (default: @code{1})"
  26209. msgstr ""
  26210. #. type: table
  26211. #: guix-git/doc/guix.texi:18141
  26212. msgid "The WiFi channel to use."
  26213. msgstr ""
  26214. #. type: item
  26215. #: guix-git/doc/guix.texi:18142
  26216. #, no-wrap
  26217. msgid "@code{driver} (default: @code{\"nl80211\"})"
  26218. msgstr ""
  26219. #. type: table
  26220. #: guix-git/doc/guix.texi:18146
  26221. 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."
  26222. msgstr ""
  26223. #. type: item
  26224. #: guix-git/doc/guix.texi:18147 guix-git/doc/guix.texi:24248
  26225. #: guix-git/doc/guix.texi:27238
  26226. #, no-wrap
  26227. msgid "@code{extra-settings} (default: @code{\"\"})"
  26228. msgstr ""
  26229. #. type: table
  26230. #: guix-git/doc/guix.texi:18151
  26231. 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."
  26232. msgstr ""
  26233. #. type: defvr
  26234. #: guix-git/doc/guix.texi:18154
  26235. #, no-wrap
  26236. msgid "{Scheme Variable} simulated-wifi-service-type"
  26237. msgstr ""
  26238. #. type: defvr
  26239. #: guix-git/doc/guix.texi:18161
  26240. 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."
  26241. msgstr ""
  26242. #. type: defvr
  26243. #: guix-git/doc/guix.texi:18163
  26244. msgid "The service's value is a @code{hostapd-configuration} record."
  26245. msgstr ""
  26246. #. type: cindex
  26247. #: guix-git/doc/guix.texi:18166
  26248. #, no-wrap
  26249. msgid "iptables"
  26250. msgstr ""
  26251. #. type: defvr
  26252. #: guix-git/doc/guix.texi:18167
  26253. #, no-wrap
  26254. msgid "{Scheme Variable} iptables-service-type"
  26255. msgstr ""
  26256. #. type: defvr
  26257. #: guix-git/doc/guix.texi:18173
  26258. 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."
  26259. msgstr ""
  26260. #. type: lisp
  26261. #: guix-git/doc/guix.texi:18195
  26262. #, no-wrap
  26263. msgid ""
  26264. "(service iptables-service-type\n"
  26265. " (iptables-configuration\n"
  26266. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  26267. ":INPUT ACCEPT\n"
  26268. ":FORWARD ACCEPT\n"
  26269. ":OUTPUT ACCEPT\n"
  26270. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26271. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26272. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  26273. "COMMIT\n"
  26274. "\"))\n"
  26275. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  26276. ":INPUT ACCEPT\n"
  26277. ":FORWARD ACCEPT\n"
  26278. ":OUTPUT ACCEPT\n"
  26279. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26280. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26281. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  26282. "COMMIT\n"
  26283. "\"))))\n"
  26284. msgstr ""
  26285. #. type: deftp
  26286. #: guix-git/doc/guix.texi:18198
  26287. #, no-wrap
  26288. msgid "{Data Type} iptables-configuration"
  26289. msgstr ""
  26290. #. type: deftp
  26291. #: guix-git/doc/guix.texi:18200
  26292. msgid "The data type representing the configuration of iptables."
  26293. msgstr ""
  26294. #. type: item
  26295. #: guix-git/doc/guix.texi:18202
  26296. #, no-wrap
  26297. msgid "@code{iptables} (default: @code{iptables})"
  26298. msgstr ""
  26299. #. type: table
  26300. #: guix-git/doc/guix.texi:18205
  26301. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  26302. msgstr ""
  26303. #. type: item
  26304. #: guix-git/doc/guix.texi:18205
  26305. #, no-wrap
  26306. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  26307. msgstr ""
  26308. #. type: table
  26309. #: guix-git/doc/guix.texi:18209
  26310. 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})."
  26311. msgstr ""
  26312. #. type: item
  26313. #: guix-git/doc/guix.texi:18209
  26314. #, no-wrap
  26315. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  26316. msgstr ""
  26317. #. type: table
  26318. #: guix-git/doc/guix.texi:18213
  26319. 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})."
  26320. msgstr ""
  26321. #. type: cindex
  26322. #: guix-git/doc/guix.texi:18216
  26323. #, no-wrap
  26324. msgid "nftables"
  26325. msgstr ""
  26326. #. type: defvr
  26327. #: guix-git/doc/guix.texi:18217
  26328. #, no-wrap
  26329. msgid "{Scheme Variable} nftables-service-type"
  26330. msgstr ""
  26331. #. type: defvr
  26332. #: guix-git/doc/guix.texi:18225
  26333. 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:"
  26334. msgstr ""
  26335. #. type: lisp
  26336. #: guix-git/doc/guix.texi:18228
  26337. #, no-wrap
  26338. msgid "(service nftables-service-type)\n"
  26339. msgstr ""
  26340. #. type: deftp
  26341. #: guix-git/doc/guix.texi:18231
  26342. #, no-wrap
  26343. msgid "{Data Type} nftables-configuration"
  26344. msgstr ""
  26345. #. type: deftp
  26346. #: guix-git/doc/guix.texi:18233
  26347. msgid "The data type representing the configuration of nftables."
  26348. msgstr ""
  26349. #. type: item
  26350. #: guix-git/doc/guix.texi:18235
  26351. #, no-wrap
  26352. msgid "@code{package} (default: @code{nftables})"
  26353. msgstr ""
  26354. #. type: table
  26355. #: guix-git/doc/guix.texi:18237
  26356. msgid "The nftables package that provides @command{nft}."
  26357. msgstr ""
  26358. #. type: item
  26359. #: guix-git/doc/guix.texi:18237
  26360. #, no-wrap
  26361. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  26362. msgstr ""
  26363. #. type: table
  26364. #: guix-git/doc/guix.texi:18240
  26365. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  26366. msgstr ""
  26367. #. type: cindex
  26368. #: guix-git/doc/guix.texi:18243
  26369. #, no-wrap
  26370. msgid "NTP (Network Time Protocol), service"
  26371. msgstr ""
  26372. #. type: cindex
  26373. #: guix-git/doc/guix.texi:18244
  26374. #, no-wrap
  26375. msgid "ntpd, service for the Network Time Protocol daemon"
  26376. msgstr ""
  26377. #. type: cindex
  26378. #: guix-git/doc/guix.texi:18245
  26379. #, no-wrap
  26380. msgid "real time clock"
  26381. msgstr ""
  26382. #. type: defvr
  26383. #: guix-git/doc/guix.texi:18246
  26384. #, no-wrap
  26385. msgid "{Scheme Variable} ntp-service-type"
  26386. msgstr ""
  26387. #. type: defvr
  26388. #: guix-git/doc/guix.texi:18250
  26389. 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."
  26390. msgstr ""
  26391. #. type: defvr
  26392. #: guix-git/doc/guix.texi:18253
  26393. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  26394. msgstr ""
  26395. #. type: deftp
  26396. #: guix-git/doc/guix.texi:18255
  26397. #, no-wrap
  26398. msgid "{Data Type} ntp-configuration"
  26399. msgstr ""
  26400. #. type: deftp
  26401. #: guix-git/doc/guix.texi:18257
  26402. msgid "This is the data type for the NTP service configuration."
  26403. msgstr ""
  26404. #. type: item
  26405. #: guix-git/doc/guix.texi:18259
  26406. #, no-wrap
  26407. msgid "@code{servers} (default: @code{%ntp-servers})"
  26408. msgstr ""
  26409. #. type: table
  26410. #: guix-git/doc/guix.texi:18263
  26411. 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."
  26412. msgstr ""
  26413. #. type: item
  26414. #: guix-git/doc/guix.texi:18264
  26415. #, no-wrap
  26416. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  26417. msgstr ""
  26418. #. type: table
  26419. #: guix-git/doc/guix.texi:18267
  26420. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  26421. msgstr ""
  26422. #. type: item
  26423. #: guix-git/doc/guix.texi:18268
  26424. #, no-wrap
  26425. msgid "@code{ntp} (default: @code{ntp})"
  26426. msgstr ""
  26427. #. type: table
  26428. #: guix-git/doc/guix.texi:18270
  26429. msgid "The NTP package to use."
  26430. msgstr ""
  26431. #. type: defvr
  26432. #: guix-git/doc/guix.texi:18273
  26433. #, no-wrap
  26434. msgid "{Scheme Variable} %ntp-servers"
  26435. msgstr ""
  26436. #. type: defvr
  26437. #: guix-git/doc/guix.texi:18276
  26438. 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}."
  26439. msgstr ""
  26440. #. type: deftp
  26441. #: guix-git/doc/guix.texi:18278
  26442. #, no-wrap
  26443. msgid "{Data Type} ntp-server"
  26444. msgstr ""
  26445. #. type: deftp
  26446. #: guix-git/doc/guix.texi:18280
  26447. msgid "The data type representing the configuration of a NTP server."
  26448. msgstr ""
  26449. #. type: item
  26450. #: guix-git/doc/guix.texi:18282
  26451. #, no-wrap
  26452. msgid "@code{type} (default: @code{'server})"
  26453. msgstr ""
  26454. #. type: table
  26455. #: guix-git/doc/guix.texi:18285
  26456. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  26457. msgstr ""
  26458. #. type: code{#1}
  26459. #: guix-git/doc/guix.texi:18286
  26460. #, no-wrap
  26461. msgid "address"
  26462. msgstr ""
  26463. #. type: table
  26464. #: guix-git/doc/guix.texi:18288
  26465. msgid "The address of the server, as a string."
  26466. msgstr ""
  26467. #. type: code{#1}
  26468. #: guix-git/doc/guix.texi:18289 guix-git/doc/guix.texi:34325
  26469. #: guix-git/doc/guix.texi:34345
  26470. #, no-wrap
  26471. msgid "options"
  26472. msgstr ""
  26473. #. type: table
  26474. #: guix-git/doc/guix.texi:18294
  26475. 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."
  26476. msgstr ""
  26477. #. type: example
  26478. #: guix-git/doc/guix.texi:18300
  26479. #, no-wrap
  26480. msgid ""
  26481. "(ntp-server\n"
  26482. " (type 'server)\n"
  26483. " (address \"some.ntp.server.org\")\n"
  26484. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  26485. msgstr ""
  26486. #. type: cindex
  26487. #: guix-git/doc/guix.texi:18304
  26488. #, no-wrap
  26489. msgid "OpenNTPD"
  26490. msgstr ""
  26491. #. type: deffn
  26492. #: guix-git/doc/guix.texi:18305
  26493. #, no-wrap
  26494. msgid "{Scheme Procedure} openntpd-service-type"
  26495. msgstr ""
  26496. #. type: deffn
  26497. #: guix-git/doc/guix.texi:18309
  26498. 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."
  26499. msgstr ""
  26500. #. type: lisp
  26501. #: guix-git/doc/guix.texi:18318
  26502. #, no-wrap
  26503. msgid ""
  26504. "(service\n"
  26505. " openntpd-service-type\n"
  26506. " (openntpd-configuration\n"
  26507. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  26508. " (sensor '(\"udcf0 correction 70000\"))\n"
  26509. " (constraint-from '(\"www.gnu.org\"))\n"
  26510. " (constraints-from '(\"https://www.google.com/\"))))\n"
  26511. "\n"
  26512. msgstr ""
  26513. #. type: defvr
  26514. #: guix-git/doc/guix.texi:18322
  26515. #, no-wrap
  26516. msgid "{Scheme Variable} %openntpd-servers"
  26517. msgstr ""
  26518. #. type: defvr
  26519. #: guix-git/doc/guix.texi:18325
  26520. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  26521. msgstr ""
  26522. #. type: deftp
  26523. #: guix-git/doc/guix.texi:18327
  26524. #, no-wrap
  26525. msgid "{Data Type} openntpd-configuration"
  26526. msgstr ""
  26527. #. type: item
  26528. #: guix-git/doc/guix.texi:18329
  26529. #, no-wrap
  26530. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  26531. msgstr ""
  26532. #. type: table
  26533. #: guix-git/doc/guix.texi:18331
  26534. msgid "The openntpd executable to use."
  26535. msgstr ""
  26536. #. type: item
  26537. #: guix-git/doc/guix.texi:18331
  26538. #, no-wrap
  26539. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  26540. msgstr ""
  26541. #. type: table
  26542. #: guix-git/doc/guix.texi:18333
  26543. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  26544. msgstr ""
  26545. #. type: item
  26546. #: guix-git/doc/guix.texi:18333
  26547. #, no-wrap
  26548. msgid "@code{query-from} (default: @code{'()})"
  26549. msgstr ""
  26550. #. type: table
  26551. #: guix-git/doc/guix.texi:18335
  26552. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  26553. msgstr ""
  26554. #. type: item
  26555. #: guix-git/doc/guix.texi:18335
  26556. #, no-wrap
  26557. msgid "@code{sensor} (default: @code{'()})"
  26558. msgstr ""
  26559. #. type: table
  26560. #: guix-git/doc/guix.texi:18340
  26561. 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."
  26562. msgstr ""
  26563. #. type: item
  26564. #: guix-git/doc/guix.texi:18340
  26565. #, no-wrap
  26566. msgid "@code{server} (default: @code{'()})"
  26567. msgstr ""
  26568. #. type: table
  26569. #: guix-git/doc/guix.texi:18342
  26570. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  26571. msgstr ""
  26572. #. type: item
  26573. #: guix-git/doc/guix.texi:18342
  26574. #, no-wrap
  26575. msgid "@code{servers} (default: @code{%openntp-servers})"
  26576. msgstr ""
  26577. #. type: table
  26578. #: guix-git/doc/guix.texi:18344
  26579. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  26580. msgstr ""
  26581. #. type: item
  26582. #: guix-git/doc/guix.texi:18344
  26583. #, no-wrap
  26584. msgid "@code{constraint-from} (default: @code{'()})"
  26585. msgstr ""
  26586. #. type: table
  26587. #: guix-git/doc/guix.texi:18351
  26588. 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."
  26589. msgstr ""
  26590. #. type: item
  26591. #: guix-git/doc/guix.texi:18351
  26592. #, no-wrap
  26593. msgid "@code{constraints-from} (default: @code{'()})"
  26594. msgstr ""
  26595. #. type: table
  26596. #: guix-git/doc/guix.texi:18355
  26597. 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."
  26598. msgstr ""
  26599. #. type: cindex
  26600. #: guix-git/doc/guix.texi:18358
  26601. #, no-wrap
  26602. msgid "inetd"
  26603. msgstr ""
  26604. #. type: deffn
  26605. #: guix-git/doc/guix.texi:18359
  26606. #, no-wrap
  26607. msgid "{Scheme variable} inetd-service-type"
  26608. msgstr ""
  26609. #. type: deffn
  26610. #: guix-git/doc/guix.texi:18364
  26611. 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."
  26612. msgstr ""
  26613. #. type: deffn
  26614. #: guix-git/doc/guix.texi:18370
  26615. 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}:"
  26616. msgstr ""
  26617. #. type: lisp
  26618. #: guix-git/doc/guix.texi:18393
  26619. #, no-wrap
  26620. msgid ""
  26621. "(service\n"
  26622. " inetd-service-type\n"
  26623. " (inetd-configuration\n"
  26624. " (entries (list\n"
  26625. " (inetd-entry\n"
  26626. " (name \"echo\")\n"
  26627. " (socket-type 'stream)\n"
  26628. " (protocol \"tcp\")\n"
  26629. " (wait? #f)\n"
  26630. " (user \"root\"))\n"
  26631. " (inetd-entry\n"
  26632. " (node \"127.0.0.1\")\n"
  26633. " (name \"smtp\")\n"
  26634. " (socket-type 'stream)\n"
  26635. " (protocol \"tcp\")\n"
  26636. " (wait? #f)\n"
  26637. " (user \"root\")\n"
  26638. " (program (file-append openssh \"/bin/ssh\"))\n"
  26639. " (arguments\n"
  26640. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  26641. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  26642. msgstr ""
  26643. #. type: deffn
  26644. #: guix-git/doc/guix.texi:18396
  26645. msgid "See below for more details about @code{inetd-configuration}."
  26646. msgstr ""
  26647. #. type: deftp
  26648. #: guix-git/doc/guix.texi:18398
  26649. #, no-wrap
  26650. msgid "{Data Type} inetd-configuration"
  26651. msgstr ""
  26652. #. type: deftp
  26653. #: guix-git/doc/guix.texi:18400
  26654. msgid "Data type representing the configuration of @command{inetd}."
  26655. msgstr ""
  26656. #. type: item
  26657. #: guix-git/doc/guix.texi:18402
  26658. #, no-wrap
  26659. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  26660. msgstr ""
  26661. #. type: table
  26662. #: guix-git/doc/guix.texi:18404
  26663. msgid "The @command{inetd} executable to use."
  26664. msgstr ""
  26665. #. type: item
  26666. #: guix-git/doc/guix.texi:18405 guix-git/doc/guix.texi:28088
  26667. #, no-wrap
  26668. msgid "@code{entries} (default: @code{'()})"
  26669. msgstr ""
  26670. #. type: table
  26671. #: guix-git/doc/guix.texi:18408
  26672. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  26673. msgstr ""
  26674. #. type: deftp
  26675. #: guix-git/doc/guix.texi:18411
  26676. #, no-wrap
  26677. msgid "{Data Type} inetd-entry"
  26678. msgstr ""
  26679. #. type: deftp
  26680. #: guix-git/doc/guix.texi:18415
  26681. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  26682. msgstr ""
  26683. #. type: item
  26684. #: guix-git/doc/guix.texi:18417
  26685. #, no-wrap
  26686. msgid "@code{node} (default: @code{#f})"
  26687. msgstr ""
  26688. #. type: table
  26689. #: guix-git/doc/guix.texi:18422
  26690. 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."
  26691. msgstr ""
  26692. #. type: table
  26693. #: guix-git/doc/guix.texi:18424
  26694. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  26695. msgstr ""
  26696. #. type: code{#1}
  26697. #: guix-git/doc/guix.texi:18424
  26698. #, no-wrap
  26699. msgid "socket-type"
  26700. msgstr ""
  26701. #. type: table
  26702. #: guix-git/doc/guix.texi:18427
  26703. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  26704. msgstr ""
  26705. #. type: code{#1}
  26706. #: guix-git/doc/guix.texi:18427
  26707. #, no-wrap
  26708. msgid "protocol"
  26709. msgstr ""
  26710. #. type: table
  26711. #: guix-git/doc/guix.texi:18429
  26712. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  26713. msgstr ""
  26714. #. type: item
  26715. #: guix-git/doc/guix.texi:18429
  26716. #, no-wrap
  26717. msgid "@code{wait?} (default: @code{#t})"
  26718. msgstr ""
  26719. #. type: table
  26720. #: guix-git/doc/guix.texi:18432
  26721. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  26722. msgstr ""
  26723. #. type: table
  26724. #: guix-git/doc/guix.texi:18437
  26725. 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\"}."
  26726. msgstr ""
  26727. #. type: item
  26728. #: guix-git/doc/guix.texi:18437
  26729. #, no-wrap
  26730. msgid "@code{program} (default: @code{\"internal\"})"
  26731. msgstr ""
  26732. #. type: table
  26733. #: guix-git/doc/guix.texi:18440
  26734. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  26735. msgstr ""
  26736. #. type: table
  26737. #: guix-git/doc/guix.texi:18445
  26738. 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\")}."
  26739. msgstr ""
  26740. #. type: deftp
  26741. #: guix-git/doc/guix.texi:18449
  26742. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  26743. msgstr ""
  26744. #. type: cindex
  26745. #: guix-git/doc/guix.texi:18451
  26746. #, no-wrap
  26747. msgid "opendht, distributed hash table network service"
  26748. msgstr ""
  26749. #. type: cindex
  26750. #: guix-git/doc/guix.texi:18452
  26751. #, no-wrap
  26752. msgid "dhtproxy, for use with jami"
  26753. msgstr ""
  26754. #. type: defvr
  26755. #: guix-git/doc/guix.texi:18453
  26756. #, no-wrap
  26757. msgid "{Scheme Variable} opendht-service-type"
  26758. msgstr ""
  26759. #. type: defvr
  26760. #: guix-git/doc/guix.texi:18458
  26761. 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."
  26762. msgstr ""
  26763. #. type: quotation
  26764. #: guix-git/doc/guix.texi:18468
  26765. 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."
  26766. msgstr ""
  26767. #. type: defvr
  26768. #: guix-git/doc/guix.texi:18472
  26769. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  26770. msgstr ""
  26771. #. type: deftp
  26772. #: guix-git/doc/guix.texi:18474
  26773. #, no-wrap
  26774. msgid "{Data Type} opendht-configuration"
  26775. msgstr ""
  26776. #. type: deftp
  26777. #: guix-git/doc/guix.texi:18476
  26778. msgid "This is the data type for the OpenDHT service configuration."
  26779. msgstr ""
  26780. #. type: deftp
  26781. #: guix-git/doc/guix.texi:18481
  26782. msgid "Available @code{opendht-configuration} fields are:"
  26783. msgstr ""
  26784. #. type: deftypevr
  26785. #: guix-git/doc/guix.texi:18482
  26786. #, no-wrap
  26787. msgid "{@code{opendht-configuration} parameter} package opendht"
  26788. msgstr ""
  26789. #. type: deftypevr
  26790. #: guix-git/doc/guix.texi:18484
  26791. msgid "The @code{opendht} package to use."
  26792. msgstr ""
  26793. #. type: deftypevr
  26794. #: guix-git/doc/guix.texi:18487
  26795. #, no-wrap
  26796. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  26797. msgstr ""
  26798. #. type: deftypevr
  26799. #: guix-git/doc/guix.texi:18489
  26800. msgid "Whether to enable the multicast local peer discovery mechanism."
  26801. msgstr ""
  26802. #. type: deftypevr
  26803. #: guix-git/doc/guix.texi:18491 guix-git/doc/guix.texi:18499
  26804. #: guix-git/doc/guix.texi:18507 guix-git/doc/guix.texi:20199
  26805. #: guix-git/doc/guix.texi:20275 guix-git/doc/guix.texi:20317
  26806. #: guix-git/doc/guix.texi:20337 guix-git/doc/guix.texi:20343
  26807. #: guix-git/doc/guix.texi:20359 guix-git/doc/guix.texi:20447
  26808. #: guix-git/doc/guix.texi:20535 guix-git/doc/guix.texi:20848
  26809. #: guix-git/doc/guix.texi:20861 guix-git/doc/guix.texi:22012
  26810. #: guix-git/doc/guix.texi:23490 guix-git/doc/guix.texi:23596
  26811. #: guix-git/doc/guix.texi:23661 guix-git/doc/guix.texi:23670
  26812. #: guix-git/doc/guix.texi:24903 guix-git/doc/guix.texi:24947
  26813. #: guix-git/doc/guix.texi:24964 guix-git/doc/guix.texi:24972
  26814. #: guix-git/doc/guix.texi:24987 guix-git/doc/guix.texi:25005
  26815. #: guix-git/doc/guix.texi:25029 guix-git/doc/guix.texi:25082
  26816. #: guix-git/doc/guix.texi:25215 guix-git/doc/guix.texi:25249
  26817. #: guix-git/doc/guix.texi:25285 guix-git/doc/guix.texi:25301
  26818. #: guix-git/doc/guix.texi:25329 guix-git/doc/guix.texi:25390
  26819. #: guix-git/doc/guix.texi:25473 guix-git/doc/guix.texi:28800
  26820. #: guix-git/doc/guix.texi:28814 guix-git/doc/guix.texi:28836
  26821. #: guix-git/doc/guix.texi:28955 guix-git/doc/guix.texi:28969
  26822. #: guix-git/doc/guix.texi:28990 guix-git/doc/guix.texi:29011
  26823. #: guix-git/doc/guix.texi:29018 guix-git/doc/guix.texi:29063
  26824. #: guix-git/doc/guix.texi:29070 guix-git/doc/guix.texi:29859
  26825. #: guix-git/doc/guix.texi:29873 guix-git/doc/guix.texi:30073
  26826. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30205
  26827. #: guix-git/doc/guix.texi:30407 guix-git/doc/guix.texi:30440
  26828. #: guix-git/doc/guix.texi:30580 guix-git/doc/guix.texi:30591
  26829. #: guix-git/doc/guix.texi:30842 guix-git/doc/guix.texi:32365
  26830. #: guix-git/doc/guix.texi:32374 guix-git/doc/guix.texi:32382
  26831. #: guix-git/doc/guix.texi:32390 guix-git/doc/guix.texi:32406
  26832. #: guix-git/doc/guix.texi:32422 guix-git/doc/guix.texi:32430
  26833. #: guix-git/doc/guix.texi:32438 guix-git/doc/guix.texi:32447
  26834. #: guix-git/doc/guix.texi:32456 guix-git/doc/guix.texi:32472
  26835. #: guix-git/doc/guix.texi:32536 guix-git/doc/guix.texi:32642
  26836. #: guix-git/doc/guix.texi:32650 guix-git/doc/guix.texi:32658
  26837. #: guix-git/doc/guix.texi:32683 guix-git/doc/guix.texi:32737
  26838. #: guix-git/doc/guix.texi:32785 guix-git/doc/guix.texi:32986
  26839. #: guix-git/doc/guix.texi:32993
  26840. msgid "Defaults to @samp{#f}."
  26841. msgstr ""
  26842. #. type: deftypevr
  26843. #: guix-git/doc/guix.texi:18494
  26844. #, no-wrap
  26845. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  26846. msgstr ""
  26847. #. type: deftypevr
  26848. #: guix-git/doc/guix.texi:18497
  26849. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  26850. msgstr ""
  26851. #. type: deftypevr
  26852. #: guix-git/doc/guix.texi:18502
  26853. #, no-wrap
  26854. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  26855. msgstr ""
  26856. #. type: deftypevr
  26857. #: guix-git/doc/guix.texi:18505
  26858. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  26859. msgstr ""
  26860. #. type: deftypevr
  26861. #: guix-git/doc/guix.texi:18510
  26862. #, no-wrap
  26863. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  26864. msgstr ""
  26865. #. type: deftypevr
  26866. #: guix-git/doc/guix.texi:18516
  26867. 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."
  26868. msgstr ""
  26869. #. type: deftypevr
  26870. #: guix-git/doc/guix.texi:18518
  26871. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  26872. msgstr ""
  26873. #. type: deftypevr
  26874. #: guix-git/doc/guix.texi:18521
  26875. #, no-wrap
  26876. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  26877. msgstr ""
  26878. #. type: deftypevr
  26879. #: guix-git/doc/guix.texi:18524
  26880. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  26881. msgstr ""
  26882. #. type: deftypevr
  26883. #: guix-git/doc/guix.texi:18526
  26884. msgid "Defaults to @samp{4222}."
  26885. msgstr ""
  26886. #. type: deftypevr
  26887. #: guix-git/doc/guix.texi:18529
  26888. #, no-wrap
  26889. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  26890. msgstr ""
  26891. #. type: deftypevr
  26892. #: guix-git/doc/guix.texi:18531
  26893. msgid "Spawn a proxy server listening on the specified port."
  26894. msgstr ""
  26895. #. type: deftypevr
  26896. #: guix-git/doc/guix.texi:18533 guix-git/doc/guix.texi:18540
  26897. #: guix-git/doc/guix.texi:24911 guix-git/doc/guix.texi:24955
  26898. #: guix-git/doc/guix.texi:25168 guix-git/doc/guix.texi:25224
  26899. #: guix-git/doc/guix.texi:25398 guix-git/doc/guix.texi:25409
  26900. #: guix-git/doc/guix.texi:25482 guix-git/doc/guix.texi:26117
  26901. #: guix-git/doc/guix.texi:26160 guix-git/doc/guix.texi:26168
  26902. #: guix-git/doc/guix.texi:26176 guix-git/doc/guix.texi:26184
  26903. #: guix-git/doc/guix.texi:26193 guix-git/doc/guix.texi:26201
  26904. #: guix-git/doc/guix.texi:26208 guix-git/doc/guix.texi:26216
  26905. #: guix-git/doc/guix.texi:26224 guix-git/doc/guix.texi:26234
  26906. #: guix-git/doc/guix.texi:26241 guix-git/doc/guix.texi:26265
  26907. #: guix-git/doc/guix.texi:26273 guix-git/doc/guix.texi:26299
  26908. #: guix-git/doc/guix.texi:26308 guix-git/doc/guix.texi:26317
  26909. #: guix-git/doc/guix.texi:26326 guix-git/doc/guix.texi:26335
  26910. #: guix-git/doc/guix.texi:26344 guix-git/doc/guix.texi:26352
  26911. #: guix-git/doc/guix.texi:26360 guix-git/doc/guix.texi:26367
  26912. #: guix-git/doc/guix.texi:26375 guix-git/doc/guix.texi:26382
  26913. #: guix-git/doc/guix.texi:26390 guix-git/doc/guix.texi:26398
  26914. #: guix-git/doc/guix.texi:26407 guix-git/doc/guix.texi:26416
  26915. #: guix-git/doc/guix.texi:26424 guix-git/doc/guix.texi:26432
  26916. #: guix-git/doc/guix.texi:26440 guix-git/doc/guix.texi:26451
  26917. #: guix-git/doc/guix.texi:26461 guix-git/doc/guix.texi:26472
  26918. #: guix-git/doc/guix.texi:26481 guix-git/doc/guix.texi:26491
  26919. #: guix-git/doc/guix.texi:26499 guix-git/doc/guix.texi:26510
  26920. #: guix-git/doc/guix.texi:26519 guix-git/doc/guix.texi:26529
  26921. #: guix-git/doc/guix.texi:29772 guix-git/doc/guix.texi:29779
  26922. #: guix-git/doc/guix.texi:29786 guix-git/doc/guix.texi:29793
  26923. #: guix-git/doc/guix.texi:29800 guix-git/doc/guix.texi:29807
  26924. #: guix-git/doc/guix.texi:29815 guix-git/doc/guix.texi:29823
  26925. #: guix-git/doc/guix.texi:29830 guix-git/doc/guix.texi:29837
  26926. #: guix-git/doc/guix.texi:29844 guix-git/doc/guix.texi:29851
  26927. #: guix-git/doc/guix.texi:29881 guix-git/doc/guix.texi:29919
  26928. #: guix-git/doc/guix.texi:29926 guix-git/doc/guix.texi:29935
  26929. #: guix-git/doc/guix.texi:29957 guix-git/doc/guix.texi:29965
  26930. #: guix-git/doc/guix.texi:29972 guix-git/doc/guix.texi:30001
  26931. #: guix-git/doc/guix.texi:30008 guix-git/doc/guix.texi:30015
  26932. #: guix-git/doc/guix.texi:30022 guix-git/doc/guix.texi:30155
  26933. #: guix-git/doc/guix.texi:30175 guix-git/doc/guix.texi:30190
  26934. #: guix-git/doc/guix.texi:30197 guix-git/doc/guix.texi:32938
  26935. #: guix-git/doc/guix.texi:32946 guix-git/doc/guix.texi:32954
  26936. #: guix-git/doc/guix.texi:32962 guix-git/doc/guix.texi:32970
  26937. #: guix-git/doc/guix.texi:32978
  26938. msgid "Defaults to @samp{disabled}."
  26939. msgstr ""
  26940. #. type: deftypevr
  26941. #: guix-git/doc/guix.texi:18536
  26942. #, no-wrap
  26943. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  26944. msgstr ""
  26945. #. type: deftypevr
  26946. #: guix-git/doc/guix.texi:18538
  26947. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  26948. msgstr ""
  26949. #. type: cindex
  26950. #: guix-git/doc/guix.texi:18544
  26951. #, no-wrap
  26952. msgid "Tor"
  26953. msgstr ""
  26954. #. type: defvr
  26955. #: guix-git/doc/guix.texi:18545
  26956. #, no-wrap
  26957. msgid "{Scheme Variable} tor-service-type"
  26958. msgstr ""
  26959. #. type: defvr
  26960. #: guix-git/doc/guix.texi:18550
  26961. 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."
  26962. msgstr ""
  26963. #. type: deftp
  26964. #: guix-git/doc/guix.texi:18553
  26965. #, no-wrap
  26966. msgid "{Data Type} tor-configuration"
  26967. msgstr ""
  26968. #. type: item
  26969. #: guix-git/doc/guix.texi:18555
  26970. #, no-wrap
  26971. msgid "@code{tor} (default: @code{tor})"
  26972. msgstr ""
  26973. #. type: table
  26974. #: guix-git/doc/guix.texi:18560
  26975. 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."
  26976. msgstr ""
  26977. #. type: item
  26978. #: guix-git/doc/guix.texi:18561
  26979. #, no-wrap
  26980. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  26981. msgstr ""
  26982. #. type: table
  26983. #: guix-git/doc/guix.texi:18567
  26984. 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."
  26985. msgstr ""
  26986. #. type: item
  26987. #: guix-git/doc/guix.texi:18568
  26988. #, no-wrap
  26989. msgid "@code{hidden-services} (default: @code{'()})"
  26990. msgstr ""
  26991. #. type: table
  26992. #: guix-git/doc/guix.texi:18574
  26993. 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."
  26994. msgstr ""
  26995. #. type: item
  26996. #: guix-git/doc/guix.texi:18575
  26997. #, no-wrap
  26998. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  26999. msgstr ""
  27000. #. type: table
  27001. #: guix-git/doc/guix.texi:18582
  27002. 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."
  27003. msgstr ""
  27004. #. type: table
  27005. #: guix-git/doc/guix.texi:18587
  27006. 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."
  27007. msgstr ""
  27008. #. type: item
  27009. #: guix-git/doc/guix.texi:18588
  27010. #, no-wrap
  27011. msgid "@code{control-socket?} (default: @code{#f})"
  27012. msgstr ""
  27013. #. type: table
  27014. #: guix-git/doc/guix.texi:18594
  27015. 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."
  27016. msgstr ""
  27017. #. type: cindex
  27018. #: guix-git/doc/guix.texi:18598
  27019. #, no-wrap
  27020. msgid "hidden service"
  27021. msgstr ""
  27022. #. type: deffn
  27023. #: guix-git/doc/guix.texi:18599
  27024. #, no-wrap
  27025. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  27026. msgstr ""
  27027. #. type: deffn
  27028. #: guix-git/doc/guix.texi:18602
  27029. 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:"
  27030. msgstr ""
  27031. #. type: example
  27032. #: guix-git/doc/guix.texi:18606
  27033. #, no-wrap
  27034. msgid ""
  27035. " '((22 \"127.0.0.1:22\")\n"
  27036. " (80 \"127.0.0.1:8080\"))\n"
  27037. msgstr ""
  27038. #. type: deffn
  27039. #: guix-git/doc/guix.texi:18610
  27040. 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."
  27041. msgstr ""
  27042. #. type: deffn
  27043. #: guix-git/doc/guix.texi:18614
  27044. 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."
  27045. msgstr ""
  27046. #. type: deffn
  27047. #: guix-git/doc/guix.texi:18617
  27048. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  27049. msgstr ""
  27050. #. type: Plain text
  27051. #: guix-git/doc/guix.texi:18620
  27052. msgid "The @code{(gnu services rsync)} module provides the following services:"
  27053. msgstr ""
  27054. #. type: Plain text
  27055. #: guix-git/doc/guix.texi:18624
  27056. 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."
  27057. msgstr ""
  27058. #. type: deffn
  27059. #: guix-git/doc/guix.texi:18625
  27060. #, no-wrap
  27061. msgid "{Scheme Variable} rsync-service-type"
  27062. msgstr ""
  27063. #. type: deffn
  27064. #: guix-git/doc/guix.texi:18629
  27065. 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:"
  27066. msgstr ""
  27067. #. type: lisp
  27068. #: guix-git/doc/guix.texi:18642
  27069. #, no-wrap
  27070. msgid ""
  27071. ";; Export two directories over rsync. By default rsync listens on\n"
  27072. ";; all the network interfaces.\n"
  27073. "(service rsync-service-type\n"
  27074. " (rsync-configuration\n"
  27075. " (modules (list (rsync-module\n"
  27076. " (name \"music\")\n"
  27077. " (file-name \"/srv/zik\")\n"
  27078. " (read-only? #f))\n"
  27079. " (rsync-module\n"
  27080. " (name \"movies\")\n"
  27081. " (file-name \"/home/charlie/movies\"))))))\n"
  27082. msgstr ""
  27083. #. type: deffn
  27084. #: guix-git/doc/guix.texi:18645
  27085. msgid "See below for details about @code{rsync-configuration}."
  27086. msgstr ""
  27087. #. type: deftp
  27088. #: guix-git/doc/guix.texi:18647
  27089. #, no-wrap
  27090. msgid "{Data Type} rsync-configuration"
  27091. msgstr ""
  27092. #. type: deftp
  27093. #: guix-git/doc/guix.texi:18649
  27094. msgid "Data type representing the configuration for @code{rsync-service}."
  27095. msgstr ""
  27096. #. type: item
  27097. #: guix-git/doc/guix.texi:18651
  27098. #, no-wrap
  27099. msgid "@code{package} (default: @var{rsync})"
  27100. msgstr ""
  27101. #. type: table
  27102. #: guix-git/doc/guix.texi:18653
  27103. msgid "@code{rsync} package to use."
  27104. msgstr ""
  27105. #. type: item
  27106. #: guix-git/doc/guix.texi:18654 guix-git/doc/guix.texi:31945
  27107. #, no-wrap
  27108. msgid "@code{address} (default: @code{#f})"
  27109. msgstr ""
  27110. #. type: table
  27111. #: guix-git/doc/guix.texi:18657
  27112. msgid "IP address on which @command{rsync} listens for incoming connections. If unspecified, it defaults to listening on all available addresses."
  27113. msgstr ""
  27114. #. type: item
  27115. #: guix-git/doc/guix.texi:18658
  27116. #, no-wrap
  27117. msgid "@code{port-number} (default: @code{873})"
  27118. msgstr ""
  27119. #. type: table
  27120. #: guix-git/doc/guix.texi:18662
  27121. 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."
  27122. msgstr ""
  27123. #. type: item
  27124. #: guix-git/doc/guix.texi:18663
  27125. #, no-wrap
  27126. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  27127. msgstr ""
  27128. #. type: table
  27129. #: guix-git/doc/guix.texi:18665
  27130. msgid "Name of the file where @command{rsync} writes its PID."
  27131. msgstr ""
  27132. #. type: item
  27133. #: guix-git/doc/guix.texi:18666
  27134. #, no-wrap
  27135. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  27136. msgstr ""
  27137. #. type: table
  27138. #: guix-git/doc/guix.texi:18668
  27139. msgid "Name of the file where @command{rsync} writes its lock file."
  27140. msgstr ""
  27141. #. type: item
  27142. #: guix-git/doc/guix.texi:18669
  27143. #, no-wrap
  27144. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  27145. msgstr ""
  27146. #. type: table
  27147. #: guix-git/doc/guix.texi:18671
  27148. msgid "Name of the file where @command{rsync} writes its log file."
  27149. msgstr ""
  27150. #. type: item
  27151. #: guix-git/doc/guix.texi:18672 guix-git/doc/guix.texi:36176
  27152. #, no-wrap
  27153. msgid "@code{user} (default: @code{\"root\"})"
  27154. msgstr ""
  27155. #. type: table
  27156. #: guix-git/doc/guix.texi:18674
  27157. msgid "Owner of the @code{rsync} process."
  27158. msgstr ""
  27159. #. type: item
  27160. #: guix-git/doc/guix.texi:18675
  27161. #, no-wrap
  27162. msgid "@code{group} (default: @code{\"root\"})"
  27163. msgstr ""
  27164. #. type: table
  27165. #: guix-git/doc/guix.texi:18677
  27166. msgid "Group of the @code{rsync} process."
  27167. msgstr ""
  27168. #. type: item
  27169. #: guix-git/doc/guix.texi:18678
  27170. #, no-wrap
  27171. msgid "@code{uid} (default: @code{\"rsyncd\"})"
  27172. msgstr ""
  27173. #. type: table
  27174. #: guix-git/doc/guix.texi:18681
  27175. 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}."
  27176. msgstr ""
  27177. #. type: item
  27178. #: guix-git/doc/guix.texi:18682
  27179. #, no-wrap
  27180. msgid "@code{gid} (default: @code{\"rsyncd\"})"
  27181. msgstr ""
  27182. #. type: table
  27183. #: guix-git/doc/guix.texi:18684 guix-git/doc/guix.texi:19163
  27184. msgid "Group name or group ID that will be used when accessing the module."
  27185. msgstr ""
  27186. #. type: item
  27187. #: guix-git/doc/guix.texi:18685 guix-git/doc/guix.texi:36982
  27188. #, no-wrap
  27189. msgid "@code{modules} (default: @code{%default-modules})"
  27190. msgstr ""
  27191. #. type: table
  27192. #: guix-git/doc/guix.texi:18688
  27193. msgid "List of ``modules''---i.e., directories exported over rsync. Each element must be a @code{rsync-module} record, as described below."
  27194. msgstr ""
  27195. #. type: deftp
  27196. #: guix-git/doc/guix.texi:18691
  27197. #, no-wrap
  27198. msgid "{Data Type} rsync-module"
  27199. msgstr ""
  27200. #. type: deftp
  27201. #: guix-git/doc/guix.texi:18694
  27202. 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:"
  27203. msgstr ""
  27204. #. type: table
  27205. #: guix-git/doc/guix.texi:18700
  27206. 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}."
  27207. msgstr ""
  27208. #. type: code{#1}
  27209. #: guix-git/doc/guix.texi:18701
  27210. #, fuzzy, no-wrap
  27211. msgid "file-name"
  27212. msgstr "Canali"
  27213. #. type: table
  27214. #: guix-git/doc/guix.texi:18703
  27215. msgid "Name of the directory being exported."
  27216. msgstr ""
  27217. #. type: table
  27218. #: guix-git/doc/guix.texi:18707
  27219. msgid "Comment associated with the module. Client user interfaces may display it when they obtain the list of available modules."
  27220. msgstr ""
  27221. #. type: item
  27222. #: guix-git/doc/guix.texi:18708
  27223. #, no-wrap
  27224. msgid "@code{read-only?} (default: @code{#t})"
  27225. msgstr ""
  27226. #. type: table
  27227. #: guix-git/doc/guix.texi:18712
  27228. 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."
  27229. msgstr ""
  27230. #. type: item
  27231. #: guix-git/doc/guix.texi:18713
  27232. #, no-wrap
  27233. msgid "@code{chroot?} (default: @code{#t})"
  27234. msgstr ""
  27235. #. type: table
  27236. #: guix-git/doc/guix.texi:18717
  27237. 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."
  27238. msgstr ""
  27239. #. type: item
  27240. #: guix-git/doc/guix.texi:18718
  27241. #, no-wrap
  27242. msgid "@code{timeout} (default: @code{300})"
  27243. msgstr ""
  27244. #. type: table
  27245. #: guix-git/doc/guix.texi:18721
  27246. msgid "Idle time in seconds after which the daemon closes a connection with the client."
  27247. msgstr ""
  27248. #. type: Plain text
  27249. #: guix-git/doc/guix.texi:18725
  27250. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  27251. msgstr ""
  27252. #. type: cindex
  27253. #: guix-git/doc/guix.texi:18725
  27254. #, no-wrap
  27255. msgid "syncthing"
  27256. msgstr ""
  27257. #. type: Plain text
  27258. #: guix-git/doc/guix.texi:18730
  27259. 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."
  27260. msgstr ""
  27261. #. type: deffn
  27262. #: guix-git/doc/guix.texi:18731
  27263. #, no-wrap
  27264. msgid "{Scheme Variable} syncthing-service-type"
  27265. msgstr ""
  27266. #. type: deffn
  27267. #: guix-git/doc/guix.texi:18735
  27268. 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:"
  27269. msgstr ""
  27270. #. type: lisp
  27271. #: guix-git/doc/guix.texi:18739
  27272. #, no-wrap
  27273. msgid ""
  27274. "(service syncthing-service-type\n"
  27275. " (syncthing-configuration (user \"alice\")))\n"
  27276. msgstr ""
  27277. #. type: deffn
  27278. #: guix-git/doc/guix.texi:18742
  27279. msgid "See below for details about @code{syncthing-configuration}."
  27280. msgstr ""
  27281. #. type: deftp
  27282. #: guix-git/doc/guix.texi:18743
  27283. #, no-wrap
  27284. msgid "{Data Type} syncthing-configuration"
  27285. msgstr ""
  27286. #. type: deftp
  27287. #: guix-git/doc/guix.texi:18745
  27288. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  27289. msgstr ""
  27290. #. type: item
  27291. #: guix-git/doc/guix.texi:18747
  27292. #, no-wrap
  27293. msgid "@code{syncthing} (default: @var{syncthing})"
  27294. msgstr ""
  27295. #. type: table
  27296. #: guix-git/doc/guix.texi:18749
  27297. msgid "@code{syncthing} package to use."
  27298. msgstr ""
  27299. #. type: item
  27300. #: guix-git/doc/guix.texi:18750
  27301. #, no-wrap
  27302. msgid "@code{arguments} (default: @var{'()})"
  27303. msgstr ""
  27304. #. type: table
  27305. #: guix-git/doc/guix.texi:18752
  27306. msgid "List of command-line arguments passing to @code{syncthing} binary."
  27307. msgstr ""
  27308. #. type: item
  27309. #: guix-git/doc/guix.texi:18753
  27310. #, no-wrap
  27311. msgid "@code{logflags} (default: @var{0})"
  27312. msgstr ""
  27313. #. type: table
  27314. #: guix-git/doc/guix.texi:18756
  27315. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  27316. msgstr ""
  27317. #. type: item
  27318. #: guix-git/doc/guix.texi:18757
  27319. #, no-wrap
  27320. msgid "@code{user} (default: @var{#f})"
  27321. msgstr ""
  27322. #. type: table
  27323. #: guix-git/doc/guix.texi:18760
  27324. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  27325. msgstr ""
  27326. #. type: item
  27327. #: guix-git/doc/guix.texi:18761
  27328. #, no-wrap
  27329. msgid "@code{group} (default: @var{\"users\"})"
  27330. msgstr ""
  27331. #. type: table
  27332. #: guix-git/doc/guix.texi:18764
  27333. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  27334. msgstr ""
  27335. #. type: item
  27336. #: guix-git/doc/guix.texi:18765
  27337. #, no-wrap
  27338. msgid "@code{home} (default: @var{#f})"
  27339. msgstr ""
  27340. #. type: table
  27341. #: guix-git/doc/guix.texi:18768
  27342. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  27343. msgstr ""
  27344. #. type: Plain text
  27345. #: guix-git/doc/guix.texi:18774
  27346. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  27347. msgstr ""
  27348. #. type: cindex
  27349. #: guix-git/doc/guix.texi:18774 guix-git/doc/guix.texi:18813
  27350. #: guix-git/doc/guix.texi:36319
  27351. #, no-wrap
  27352. msgid "SSH"
  27353. msgstr ""
  27354. #. type: cindex
  27355. #: guix-git/doc/guix.texi:18775 guix-git/doc/guix.texi:18814
  27356. #: guix-git/doc/guix.texi:36320
  27357. #, no-wrap
  27358. msgid "SSH server"
  27359. msgstr ""
  27360. #. type: deffn
  27361. #: guix-git/doc/guix.texi:18777
  27362. #, no-wrap
  27363. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  27364. msgstr ""
  27365. #. type: deffn
  27366. #: guix-git/doc/guix.texi:18786
  27367. 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."
  27368. msgstr ""
  27369. #. type: deffn
  27370. #: guix-git/doc/guix.texi:18792
  27371. 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}."
  27372. msgstr ""
  27373. #. type: deffn
  27374. #: guix-git/doc/guix.texi:18796
  27375. 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."
  27376. msgstr ""
  27377. #. type: deffn
  27378. #: guix-git/doc/guix.texi:18801
  27379. 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})."
  27380. msgstr ""
  27381. #. type: deffn
  27382. #: guix-git/doc/guix.texi:18805
  27383. 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."
  27384. msgstr ""
  27385. #. type: deffn
  27386. #: guix-git/doc/guix.texi:18809
  27387. 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."
  27388. msgstr ""
  27389. #. type: deffn
  27390. #: guix-git/doc/guix.texi:18811
  27391. msgid "The other options should be self-descriptive."
  27392. msgstr ""
  27393. #. type: deffn
  27394. #: guix-git/doc/guix.texi:18815
  27395. #, no-wrap
  27396. msgid "{Scheme Variable} openssh-service-type"
  27397. msgstr ""
  27398. #. type: deffn
  27399. #: guix-git/doc/guix.texi:18819
  27400. 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:"
  27401. msgstr ""
  27402. #. type: lisp
  27403. #: guix-git/doc/guix.texi:18828
  27404. #, no-wrap
  27405. msgid ""
  27406. "(service openssh-service-type\n"
  27407. " (openssh-configuration\n"
  27408. " (x11-forwarding? #t)\n"
  27409. " (permit-root-login 'prohibit-password)\n"
  27410. " (authorized-keys\n"
  27411. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  27412. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  27413. msgstr ""
  27414. #. type: deffn
  27415. #: guix-git/doc/guix.texi:18831
  27416. msgid "See below for details about @code{openssh-configuration}."
  27417. msgstr ""
  27418. #. type: deffn
  27419. #: guix-git/doc/guix.texi:18834
  27420. msgid "This service can be extended with extra authorized keys, as in this example:"
  27421. msgstr ""
  27422. #. type: lisp
  27423. #: guix-git/doc/guix.texi:18839
  27424. #, no-wrap
  27425. msgid ""
  27426. "(service-extension openssh-service-type\n"
  27427. " (const `((\"charlie\"\n"
  27428. " ,(local-file \"charlie.pub\")))))\n"
  27429. msgstr ""
  27430. #. type: deftp
  27431. #: guix-git/doc/guix.texi:18842
  27432. #, no-wrap
  27433. msgid "{Data Type} openssh-configuration"
  27434. msgstr ""
  27435. #. type: deftp
  27436. #: guix-git/doc/guix.texi:18844
  27437. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  27438. msgstr ""
  27439. #. type: item
  27440. #: guix-git/doc/guix.texi:18846
  27441. #, no-wrap
  27442. msgid "@code{openssh} (default @var{openssh})"
  27443. msgstr ""
  27444. #. type: table
  27445. #: guix-git/doc/guix.texi:18848
  27446. msgid "The Openssh package to use."
  27447. msgstr ""
  27448. #. type: item
  27449. #: guix-git/doc/guix.texi:18849
  27450. #, no-wrap
  27451. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  27452. msgstr ""
  27453. #. type: table
  27454. #: guix-git/doc/guix.texi:18851
  27455. msgid "Name of the file where @command{sshd} writes its PID."
  27456. msgstr ""
  27457. #. type: item
  27458. #: guix-git/doc/guix.texi:18852
  27459. #, no-wrap
  27460. msgid "@code{port-number} (default: @code{22})"
  27461. msgstr ""
  27462. #. type: table
  27463. #: guix-git/doc/guix.texi:18854
  27464. msgid "TCP port on which @command{sshd} listens for incoming connections."
  27465. msgstr ""
  27466. #. type: item
  27467. #: guix-git/doc/guix.texi:18855
  27468. #, no-wrap
  27469. msgid "@code{permit-root-login} (default: @code{#f})"
  27470. msgstr ""
  27471. #. type: table
  27472. #: guix-git/doc/guix.texi:18860
  27473. 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."
  27474. msgstr ""
  27475. #. type: item
  27476. #: guix-git/doc/guix.texi:18861 guix-git/doc/guix.texi:19022
  27477. #, no-wrap
  27478. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  27479. msgstr ""
  27480. #. type: table
  27481. #: guix-git/doc/guix.texi:18864
  27482. msgid "When true, users with empty passwords may log in. When false, they may not."
  27483. msgstr ""
  27484. #. type: item
  27485. #: guix-git/doc/guix.texi:18865 guix-git/doc/guix.texi:19025
  27486. #, no-wrap
  27487. msgid "@code{password-authentication?} (default: @code{#t})"
  27488. msgstr ""
  27489. #. type: table
  27490. #: guix-git/doc/guix.texi:18868
  27491. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  27492. msgstr ""
  27493. #. type: item
  27494. #: guix-git/doc/guix.texi:18869
  27495. #, no-wrap
  27496. msgid "@code{public-key-authentication?} (default: @code{#t})"
  27497. msgstr ""
  27498. #. type: table
  27499. #: guix-git/doc/guix.texi:18872
  27500. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  27501. msgstr ""
  27502. #. type: table
  27503. #: guix-git/doc/guix.texi:18875
  27504. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  27505. msgstr ""
  27506. #. type: item
  27507. #: guix-git/doc/guix.texi:18876
  27508. #, no-wrap
  27509. msgid "@code{x11-forwarding?} (default: @code{#f})"
  27510. msgstr ""
  27511. #. type: table
  27512. #: guix-git/doc/guix.texi:18880
  27513. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  27514. msgstr ""
  27515. #. type: item
  27516. #: guix-git/doc/guix.texi:18881
  27517. #, no-wrap
  27518. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  27519. msgstr ""
  27520. #. type: table
  27521. #: guix-git/doc/guix.texi:18883
  27522. msgid "Whether to allow agent forwarding."
  27523. msgstr ""
  27524. #. type: item
  27525. #: guix-git/doc/guix.texi:18884
  27526. #, no-wrap
  27527. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  27528. msgstr ""
  27529. #. type: table
  27530. #: guix-git/doc/guix.texi:18886
  27531. msgid "Whether to allow TCP forwarding."
  27532. msgstr ""
  27533. #. type: item
  27534. #: guix-git/doc/guix.texi:18887
  27535. #, no-wrap
  27536. msgid "@code{gateway-ports?} (default: @code{#f})"
  27537. msgstr ""
  27538. #. type: table
  27539. #: guix-git/doc/guix.texi:18889
  27540. msgid "Whether to allow gateway ports."
  27541. msgstr ""
  27542. #. type: item
  27543. #: guix-git/doc/guix.texi:18890
  27544. #, no-wrap
  27545. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  27546. msgstr ""
  27547. #. type: table
  27548. #: guix-git/doc/guix.texi:18893
  27549. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  27550. msgstr ""
  27551. #. type: item
  27552. #: guix-git/doc/guix.texi:18894
  27553. #, no-wrap
  27554. msgid "@code{use-pam?} (default: @code{#t})"
  27555. msgstr ""
  27556. #. type: table
  27557. #: guix-git/doc/guix.texi:18900
  27558. 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."
  27559. msgstr ""
  27560. #. type: table
  27561. #: guix-git/doc/guix.texi:18905
  27562. 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?}."
  27563. msgstr ""
  27564. #. type: item
  27565. #: guix-git/doc/guix.texi:18906
  27566. #, no-wrap
  27567. msgid "@code{print-last-log?} (default: @code{#t})"
  27568. msgstr ""
  27569. #. type: table
  27570. #: guix-git/doc/guix.texi:18909
  27571. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  27572. msgstr ""
  27573. #. type: item
  27574. #: guix-git/doc/guix.texi:18910
  27575. #, no-wrap
  27576. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  27577. msgstr ""
  27578. #. type: table
  27579. #: guix-git/doc/guix.texi:18912
  27580. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  27581. msgstr ""
  27582. #. type: table
  27583. #: guix-git/doc/guix.texi:18916
  27584. 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."
  27585. msgstr ""
  27586. #. type: table
  27587. #: guix-git/doc/guix.texi:18919
  27588. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  27589. msgstr ""
  27590. #. type: lisp
  27591. #: guix-git/doc/guix.texi:18924
  27592. #, no-wrap
  27593. msgid ""
  27594. "(service openssh-service-type\n"
  27595. " (openssh-configuration\n"
  27596. " (subsystems\n"
  27597. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  27598. msgstr ""
  27599. #. type: item
  27600. #: guix-git/doc/guix.texi:18926
  27601. #, no-wrap
  27602. msgid "@code{accepted-environment} (default: @code{'()})"
  27603. msgstr ""
  27604. #. type: table
  27605. #: guix-git/doc/guix.texi:18928
  27606. msgid "List of strings describing which environment variables may be exported."
  27607. msgstr ""
  27608. #. type: table
  27609. #: guix-git/doc/guix.texi:18931
  27610. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  27611. msgstr ""
  27612. #. type: table
  27613. #: guix-git/doc/guix.texi:18936
  27614. 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."
  27615. msgstr ""
  27616. #. type: lisp
  27617. #: guix-git/doc/guix.texi:18941
  27618. #, no-wrap
  27619. msgid ""
  27620. "(service openssh-service-type\n"
  27621. " (openssh-configuration\n"
  27622. " (accepted-environment '(\"COLORTERM\"))))\n"
  27623. msgstr ""
  27624. #. type: item
  27625. #: guix-git/doc/guix.texi:18943
  27626. #, no-wrap
  27627. msgid "@code{authorized-keys} (default: @code{'()})"
  27628. msgstr ""
  27629. #. type: cindex
  27630. #: guix-git/doc/guix.texi:18944
  27631. #, no-wrap
  27632. msgid "authorized keys, SSH"
  27633. msgstr ""
  27634. #. type: cindex
  27635. #: guix-git/doc/guix.texi:18945
  27636. #, no-wrap
  27637. msgid "SSH authorized keys"
  27638. msgstr ""
  27639. #. type: table
  27640. #: guix-git/doc/guix.texi:18949
  27641. 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:"
  27642. msgstr ""
  27643. #. type: lisp
  27644. #: guix-git/doc/guix.texi:18956
  27645. #, no-wrap
  27646. msgid ""
  27647. "(openssh-configuration\n"
  27648. " (authorized-keys\n"
  27649. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  27650. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  27651. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  27652. msgstr ""
  27653. #. type: table
  27654. #: guix-git/doc/guix.texi:18961
  27655. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  27656. msgstr ""
  27657. #. type: table
  27658. #: guix-git/doc/guix.texi:18964
  27659. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  27660. msgstr ""
  27661. #. type: table
  27662. #: guix-git/doc/guix.texi:18967
  27663. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  27664. msgstr ""
  27665. #. type: item
  27666. #: guix-git/doc/guix.texi:18968 guix-git/doc/guix.texi:19399
  27667. #, no-wrap
  27668. msgid "@code{log-level} (default: @code{'info})"
  27669. msgstr ""
  27670. #. type: table
  27671. #: guix-git/doc/guix.texi:18972
  27672. 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."
  27673. msgstr ""
  27674. #. type: item
  27675. #: guix-git/doc/guix.texi:18973 guix-git/doc/guix.texi:21848
  27676. #: guix-git/doc/guix.texi:26899
  27677. #, no-wrap
  27678. msgid "@code{extra-content} (default: @code{\"\"})"
  27679. msgstr ""
  27680. #. type: table
  27681. #: guix-git/doc/guix.texi:18978
  27682. 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:"
  27683. msgstr ""
  27684. #. type: lisp
  27685. #: guix-git/doc/guix.texi:18984
  27686. #, no-wrap
  27687. msgid ""
  27688. "(openssh-configuration\n"
  27689. " (extra-content \"\\\n"
  27690. "Match Address 192.168.0.1\n"
  27691. " PermitRootLogin yes\"))\n"
  27692. msgstr ""
  27693. #. type: deffn
  27694. #: guix-git/doc/guix.texi:18989
  27695. #, no-wrap
  27696. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  27697. msgstr ""
  27698. #. type: deffn
  27699. #: guix-git/doc/guix.texi:18993
  27700. 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."
  27701. msgstr ""
  27702. #. type: deffn
  27703. #: guix-git/doc/guix.texi:18996
  27704. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  27705. msgstr ""
  27706. #. type: lisp
  27707. #: guix-git/doc/guix.texi:19000
  27708. #, no-wrap
  27709. msgid ""
  27710. "(dropbear-service (dropbear-configuration\n"
  27711. " (port-number 1234)))\n"
  27712. msgstr ""
  27713. #. type: deftp
  27714. #: guix-git/doc/guix.texi:19003
  27715. #, no-wrap
  27716. msgid "{Data Type} dropbear-configuration"
  27717. msgstr ""
  27718. #. type: deftp
  27719. #: guix-git/doc/guix.texi:19005
  27720. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  27721. msgstr ""
  27722. #. type: item
  27723. #: guix-git/doc/guix.texi:19007
  27724. #, no-wrap
  27725. msgid "@code{dropbear} (default: @var{dropbear})"
  27726. msgstr ""
  27727. #. type: table
  27728. #: guix-git/doc/guix.texi:19009
  27729. msgid "The Dropbear package to use."
  27730. msgstr ""
  27731. #. type: item
  27732. #: guix-git/doc/guix.texi:19010
  27733. #, no-wrap
  27734. msgid "@code{port-number} (default: 22)"
  27735. msgstr ""
  27736. #. type: table
  27737. #: guix-git/doc/guix.texi:19012
  27738. msgid "The TCP port where the daemon waits for incoming connections."
  27739. msgstr ""
  27740. #. type: item
  27741. #: guix-git/doc/guix.texi:19013
  27742. #, no-wrap
  27743. msgid "@code{syslog-output?} (default: @code{#t})"
  27744. msgstr ""
  27745. #. type: table
  27746. #: guix-git/doc/guix.texi:19015
  27747. msgid "Whether to enable syslog output."
  27748. msgstr ""
  27749. #. type: item
  27750. #: guix-git/doc/guix.texi:19016
  27751. #, no-wrap
  27752. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  27753. msgstr ""
  27754. #. type: table
  27755. #: guix-git/doc/guix.texi:19018
  27756. msgid "File name of the daemon's PID file."
  27757. msgstr ""
  27758. #. type: item
  27759. #: guix-git/doc/guix.texi:19019
  27760. #, no-wrap
  27761. msgid "@code{root-login?} (default: @code{#f})"
  27762. msgstr ""
  27763. #. type: table
  27764. #: guix-git/doc/guix.texi:19021
  27765. msgid "Whether to allow @code{root} logins."
  27766. msgstr ""
  27767. #. type: table
  27768. #: guix-git/doc/guix.texi:19024
  27769. msgid "Whether to allow empty passwords."
  27770. msgstr ""
  27771. #. type: table
  27772. #: guix-git/doc/guix.texi:19027
  27773. msgid "Whether to enable password-based authentication."
  27774. msgstr ""
  27775. #. type: cindex
  27776. #: guix-git/doc/guix.texi:19030
  27777. #, no-wrap
  27778. msgid "AutoSSH"
  27779. msgstr ""
  27780. #. type: deffn
  27781. #: guix-git/doc/guix.texi:19031
  27782. #, no-wrap
  27783. msgid "{Scheme Variable} autossh-service-type"
  27784. msgstr ""
  27785. #. type: deffn
  27786. #: guix-git/doc/guix.texi:19039
  27787. 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."
  27788. msgstr ""
  27789. #. type: deffn
  27790. #: guix-git/doc/guix.texi:19043
  27791. 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."
  27792. msgstr ""
  27793. #. type: deffn
  27794. #: guix-git/doc/guix.texi:19048
  27795. 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:"
  27796. msgstr ""
  27797. #. type: lisp
  27798. #: guix-git/doc/guix.texi:19054
  27799. #, no-wrap
  27800. msgid ""
  27801. "(service autossh-service-type\n"
  27802. " (autossh-configuration\n"
  27803. " (user \"pino\")\n"
  27804. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  27805. msgstr ""
  27806. #. type: deftp
  27807. #: guix-git/doc/guix.texi:19057
  27808. #, no-wrap
  27809. msgid "{Data Type} autossh-configuration"
  27810. msgstr ""
  27811. #. type: deftp
  27812. #: guix-git/doc/guix.texi:19059
  27813. msgid "This data type represents the configuration of an AutoSSH service."
  27814. msgstr ""
  27815. #. type: item
  27816. #: guix-git/doc/guix.texi:19062
  27817. #, no-wrap
  27818. msgid "@code{user} (default @code{\"autossh\"})"
  27819. msgstr ""
  27820. #. type: table
  27821. #: guix-git/doc/guix.texi:19065
  27822. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  27823. msgstr ""
  27824. #. type: item
  27825. #: guix-git/doc/guix.texi:19066
  27826. #, no-wrap
  27827. msgid "@code{poll} (default @code{600})"
  27828. msgstr ""
  27829. #. type: table
  27830. #: guix-git/doc/guix.texi:19068
  27831. msgid "Specifies the connection poll time in seconds."
  27832. msgstr ""
  27833. #. type: item
  27834. #: guix-git/doc/guix.texi:19069
  27835. #, no-wrap
  27836. msgid "@code{first-poll} (default @code{#f})"
  27837. msgstr ""
  27838. #. type: table
  27839. #: guix-git/doc/guix.texi:19075
  27840. 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}."
  27841. msgstr ""
  27842. #. type: item
  27843. #: guix-git/doc/guix.texi:19076
  27844. #, no-wrap
  27845. msgid "@code{gate-time} (default @code{30})"
  27846. msgstr ""
  27847. #. type: table
  27848. #: guix-git/doc/guix.texi:19079
  27849. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  27850. msgstr ""
  27851. #. type: item
  27852. #: guix-git/doc/guix.texi:19080
  27853. #, no-wrap
  27854. msgid "@code{log-level} (default @code{1})"
  27855. msgstr ""
  27856. #. type: table
  27857. #: guix-git/doc/guix.texi:19083
  27858. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  27859. msgstr ""
  27860. #. type: item
  27861. #: guix-git/doc/guix.texi:19084
  27862. #, no-wrap
  27863. msgid "@code{max-start} (default @code{#f})"
  27864. msgstr ""
  27865. #. type: table
  27866. #: guix-git/doc/guix.texi:19087
  27867. 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."
  27868. msgstr ""
  27869. #. type: item
  27870. #: guix-git/doc/guix.texi:19088
  27871. #, no-wrap
  27872. msgid "@code{message} (default @code{\"\"})"
  27873. msgstr ""
  27874. #. type: table
  27875. #: guix-git/doc/guix.texi:19090
  27876. msgid "The message to append to the echo message sent when testing connections."
  27877. msgstr ""
  27878. #. type: item
  27879. #: guix-git/doc/guix.texi:19091
  27880. #, no-wrap
  27881. msgid "@code{port} (default @code{\"0\"})"
  27882. msgstr ""
  27883. #. type: table
  27884. #: guix-git/doc/guix.texi:19101
  27885. 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."
  27886. msgstr ""
  27887. #. type: item
  27888. #: guix-git/doc/guix.texi:19102
  27889. #, no-wrap
  27890. msgid "@code{ssh-options} (default @code{'()})"
  27891. msgstr ""
  27892. #. type: table
  27893. #: guix-git/doc/guix.texi:19106
  27894. 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."
  27895. msgstr ""
  27896. #. type: cindex
  27897. #: guix-git/doc/guix.texi:19110
  27898. #, no-wrap
  27899. msgid "WebSSH"
  27900. msgstr ""
  27901. #. type: deffn
  27902. #: guix-git/doc/guix.texi:19111
  27903. #, no-wrap
  27904. msgid "{Scheme Variable} webssh-service-type"
  27905. msgstr ""
  27906. #. type: deffn
  27907. #: guix-git/doc/guix.texi:19117
  27908. 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."
  27909. msgstr ""
  27910. #. type: deffn
  27911. #: guix-git/doc/guix.texi:19123
  27912. 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:"
  27913. msgstr ""
  27914. #. type: lisp
  27915. #: guix-git/doc/guix.texi:19131
  27916. #, no-wrap
  27917. msgid ""
  27918. "(service webssh-service-type\n"
  27919. " (webssh-configuration (address \"127.0.0.1\")\n"
  27920. " (port 8888)\n"
  27921. " (policy 'reject)\n"
  27922. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  27923. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  27924. "\n"
  27925. msgstr ""
  27926. #. type: lisp
  27927. #: guix-git/doc/guix.texi:19147
  27928. #, no-wrap
  27929. msgid ""
  27930. "(service nginx-service-type\n"
  27931. " (nginx-configuration\n"
  27932. " (server-blocks\n"
  27933. " (list\n"
  27934. " (nginx-server-configuration\n"
  27935. " (inherit %webssh-configuration-nginx)\n"
  27936. " (server-name '(\"webssh.example.com\"))\n"
  27937. " (listen '(\"443 ssl\"))\n"
  27938. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  27939. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  27940. " (locations\n"
  27941. " (cons (nginx-location-configuration\n"
  27942. " (uri \"/.well-known\")\n"
  27943. " (body '(\"root /var/www;\")))\n"
  27944. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  27945. msgstr ""
  27946. #. type: deftp
  27947. #: guix-git/doc/guix.texi:19150
  27948. #, no-wrap
  27949. msgid "{Data Type} webssh-configuration"
  27950. msgstr ""
  27951. #. type: deftp
  27952. #: guix-git/doc/guix.texi:19152
  27953. msgid "Data type representing the configuration for @code{webssh-service}."
  27954. msgstr ""
  27955. #. type: item
  27956. #: guix-git/doc/guix.texi:19154
  27957. #, no-wrap
  27958. msgid "@code{package} (default: @var{webssh})"
  27959. msgstr ""
  27960. #. type: table
  27961. #: guix-git/doc/guix.texi:19156
  27962. msgid "@code{webssh} package to use."
  27963. msgstr ""
  27964. #. type: item
  27965. #: guix-git/doc/guix.texi:19157
  27966. #, no-wrap
  27967. msgid "@code{user-name} (default: @var{\"webssh\"})"
  27968. msgstr ""
  27969. #. type: table
  27970. #: guix-git/doc/guix.texi:19160
  27971. msgid "User name or user ID that file transfers to and from that module should take place."
  27972. msgstr ""
  27973. #. type: item
  27974. #: guix-git/doc/guix.texi:19161
  27975. #, no-wrap
  27976. msgid "@code{group-name} (default: @var{\"webssh\"})"
  27977. msgstr ""
  27978. #. type: item
  27979. #: guix-git/doc/guix.texi:19164
  27980. #, no-wrap
  27981. msgid "@code{address} (default: @var{#f})"
  27982. msgstr ""
  27983. #. type: table
  27984. #: guix-git/doc/guix.texi:19166
  27985. msgid "IP address on which @command{webssh} listens for incoming connections."
  27986. msgstr ""
  27987. #. type: item
  27988. #: guix-git/doc/guix.texi:19167
  27989. #, no-wrap
  27990. msgid "@code{port} (default: @var{8888})"
  27991. msgstr ""
  27992. #. type: table
  27993. #: guix-git/doc/guix.texi:19169
  27994. msgid "TCP port on which @command{webssh} listens for incoming connections."
  27995. msgstr ""
  27996. #. type: item
  27997. #: guix-git/doc/guix.texi:19170
  27998. #, no-wrap
  27999. msgid "@code{policy} (default: @var{#f})"
  28000. msgstr ""
  28001. #. type: table
  28002. #: guix-git/doc/guix.texi:19172
  28003. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  28004. msgstr ""
  28005. #. type: item
  28006. #: guix-git/doc/guix.texi:19173
  28007. #, no-wrap
  28008. msgid "@code{known-hosts} (default: @var{'()})"
  28009. msgstr ""
  28010. #. type: table
  28011. #: guix-git/doc/guix.texi:19175
  28012. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  28013. msgstr ""
  28014. #. type: item
  28015. #: guix-git/doc/guix.texi:19176
  28016. #, no-wrap
  28017. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  28018. msgstr ""
  28019. #. type: table
  28020. #: guix-git/doc/guix.texi:19178
  28021. msgid "Name of the file where @command{webssh} writes its log file."
  28022. msgstr ""
  28023. #. type: item
  28024. #: guix-git/doc/guix.texi:19179
  28025. #, no-wrap
  28026. msgid "@code{log-level} (default: @var{#f})"
  28027. msgstr ""
  28028. #. type: table
  28029. #: guix-git/doc/guix.texi:19181
  28030. msgid "Logging level."
  28031. msgstr ""
  28032. #. type: defvr
  28033. #: guix-git/doc/guix.texi:19185
  28034. #, no-wrap
  28035. msgid "{Scheme Variable} %facebook-host-aliases"
  28036. msgstr ""
  28037. #. type: defvr
  28038. #: guix-git/doc/guix.texi:19191
  28039. 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}."
  28040. msgstr ""
  28041. #. type: defvr
  28042. #: guix-git/doc/guix.texi:19195
  28043. 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}}):"
  28044. msgstr ""
  28045. #. type: lisp
  28046. #: guix-git/doc/guix.texi:19208
  28047. #, no-wrap
  28048. msgid ""
  28049. "(operating-system\n"
  28050. " (host-name \"mymachine\")\n"
  28051. " ;; ...\n"
  28052. " (hosts-file\n"
  28053. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  28054. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  28055. " (plain-file \"hosts\"\n"
  28056. " (string-append (local-host-aliases host-name)\n"
  28057. " %facebook-host-aliases))))\n"
  28058. msgstr ""
  28059. #. type: defvr
  28060. #: guix-git/doc/guix.texi:19212
  28061. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  28062. msgstr ""
  28063. #. type: Plain text
  28064. #: guix-git/doc/guix.texi:19215
  28065. msgid "The @code{(gnu services avahi)} provides the following definition."
  28066. msgstr ""
  28067. #. type: defvr
  28068. #: guix-git/doc/guix.texi:19216
  28069. #, no-wrap
  28070. msgid "{Scheme Variable} avahi-service-type"
  28071. msgstr ""
  28072. #. type: defvr
  28073. #: guix-git/doc/guix.texi:19221
  28074. 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."
  28075. msgstr ""
  28076. #. type: defvr
  28077. #: guix-git/doc/guix.texi:19226
  28078. 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."
  28079. msgstr ""
  28080. #. type: defvr
  28081. #: guix-git/doc/guix.texi:19229
  28082. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  28083. msgstr ""
  28084. #. type: deftp
  28085. #: guix-git/doc/guix.texi:19231
  28086. #, no-wrap
  28087. msgid "{Data Type} avahi-configuration"
  28088. msgstr ""
  28089. #. type: deftp
  28090. #: guix-git/doc/guix.texi:19233
  28091. msgid "Data type representation the configuration for Avahi."
  28092. msgstr ""
  28093. #. type: item
  28094. #: guix-git/doc/guix.texi:19236
  28095. #, no-wrap
  28096. msgid "@code{host-name} (default: @code{#f})"
  28097. msgstr ""
  28098. #. type: table
  28099. #: guix-git/doc/guix.texi:19239
  28100. 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."
  28101. msgstr ""
  28102. #. type: item
  28103. #: guix-git/doc/guix.texi:19240 guix-git/doc/guix.texi:29565
  28104. #, no-wrap
  28105. msgid "@code{publish?} (default: @code{#t})"
  28106. msgstr ""
  28107. #. type: table
  28108. #: guix-git/doc/guix.texi:19243
  28109. msgid "When true, allow host names and services to be published (broadcast) over the network."
  28110. msgstr ""
  28111. #. type: item
  28112. #: guix-git/doc/guix.texi:19244
  28113. #, no-wrap
  28114. msgid "@code{publish-workstation?} (default: @code{#t})"
  28115. msgstr ""
  28116. #. type: table
  28117. #: guix-git/doc/guix.texi:19248
  28118. 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:"
  28119. msgstr ""
  28120. #. type: example
  28121. #: guix-git/doc/guix.texi:19251
  28122. #, no-wrap
  28123. msgid "avahi-browse _workstation._tcp\n"
  28124. msgstr ""
  28125. #. type: item
  28126. #: guix-git/doc/guix.texi:19253
  28127. #, no-wrap
  28128. msgid "@code{wide-area?} (default: @code{#f})"
  28129. msgstr ""
  28130. #. type: table
  28131. #: guix-git/doc/guix.texi:19255
  28132. msgid "When true, DNS-SD over unicast DNS is enabled."
  28133. msgstr ""
  28134. #. type: item
  28135. #: guix-git/doc/guix.texi:19256
  28136. #, no-wrap
  28137. msgid "@code{ipv4?} (default: @code{#t})"
  28138. msgstr ""
  28139. #. type: itemx
  28140. #: guix-git/doc/guix.texi:19257
  28141. #, no-wrap
  28142. msgid "@code{ipv6?} (default: @code{#t})"
  28143. msgstr ""
  28144. #. type: table
  28145. #: guix-git/doc/guix.texi:19259
  28146. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  28147. msgstr ""
  28148. #. type: item
  28149. #: guix-git/doc/guix.texi:19260
  28150. #, no-wrap
  28151. msgid "@code{domains-to-browse} (default: @code{'()})"
  28152. msgstr ""
  28153. #. type: table
  28154. #: guix-git/doc/guix.texi:19262
  28155. msgid "This is a list of domains to browse."
  28156. msgstr ""
  28157. #. type: deffn
  28158. #: guix-git/doc/guix.texi:19265
  28159. #, no-wrap
  28160. msgid "{Scheme Variable} openvswitch-service-type"
  28161. msgstr ""
  28162. #. type: deffn
  28163. #: guix-git/doc/guix.texi:19269
  28164. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  28165. msgstr ""
  28166. #. type: deftp
  28167. #: guix-git/doc/guix.texi:19271
  28168. #, no-wrap
  28169. msgid "{Data Type} openvswitch-configuration"
  28170. msgstr ""
  28171. #. type: deftp
  28172. #: guix-git/doc/guix.texi:19275
  28173. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  28174. msgstr ""
  28175. #. type: item
  28176. #: guix-git/doc/guix.texi:19277
  28177. #, no-wrap
  28178. msgid "@code{package} (default: @var{openvswitch})"
  28179. msgstr ""
  28180. #. type: table
  28181. #: guix-git/doc/guix.texi:19279
  28182. msgid "Package object of the Open vSwitch."
  28183. msgstr ""
  28184. #. type: defvr
  28185. #: guix-git/doc/guix.texi:19283
  28186. #, no-wrap
  28187. msgid "{Scheme Variable} pagekite-service-type"
  28188. msgstr ""
  28189. #. type: defvr
  28190. #: guix-git/doc/guix.texi:19288
  28191. 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."
  28192. msgstr ""
  28193. #. type: defvr
  28194. #: guix-git/doc/guix.texi:19290
  28195. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  28196. msgstr ""
  28197. #. type: lisp
  28198. #: guix-git/doc/guix.texi:19297
  28199. #, no-wrap
  28200. msgid ""
  28201. "(service pagekite-service-type\n"
  28202. " (pagekite-configuration\n"
  28203. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  28204. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  28205. " (extra-file \"/etc/pagekite.rc\")))\n"
  28206. msgstr ""
  28207. #. type: deftp
  28208. #: guix-git/doc/guix.texi:19300
  28209. #, no-wrap
  28210. msgid "{Data Type} pagekite-configuration"
  28211. msgstr ""
  28212. #. type: deftp
  28213. #: guix-git/doc/guix.texi:19302
  28214. msgid "Data type representing the configuration of PageKite."
  28215. msgstr ""
  28216. #. type: item
  28217. #: guix-git/doc/guix.texi:19304
  28218. #, no-wrap
  28219. msgid "@code{package} (default: @var{pagekite})"
  28220. msgstr ""
  28221. #. type: table
  28222. #: guix-git/doc/guix.texi:19306
  28223. msgid "Package object of PageKite."
  28224. msgstr ""
  28225. #. type: item
  28226. #: guix-git/doc/guix.texi:19307
  28227. #, no-wrap
  28228. msgid "@code{kitename} (default: @code{#f})"
  28229. msgstr ""
  28230. #. type: table
  28231. #: guix-git/doc/guix.texi:19309
  28232. msgid "PageKite name for authenticating to the frontend server."
  28233. msgstr ""
  28234. #. type: item
  28235. #: guix-git/doc/guix.texi:19310
  28236. #, no-wrap
  28237. msgid "@code{kitesecret} (default: @code{#f})"
  28238. msgstr ""
  28239. #. type: table
  28240. #: guix-git/doc/guix.texi:19313
  28241. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  28242. msgstr ""
  28243. #. type: item
  28244. #: guix-git/doc/guix.texi:19314
  28245. #, no-wrap
  28246. msgid "@code{frontend} (default: @code{#f})"
  28247. msgstr ""
  28248. #. type: table
  28249. #: guix-git/doc/guix.texi:19317
  28250. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  28251. msgstr ""
  28252. #. type: item
  28253. #: guix-git/doc/guix.texi:19318
  28254. #, no-wrap
  28255. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  28256. msgstr ""
  28257. #. type: table
  28258. #: guix-git/doc/guix.texi:19321
  28259. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  28260. msgstr ""
  28261. #. type: item
  28262. #: guix-git/doc/guix.texi:19322
  28263. #, no-wrap
  28264. msgid "@code{extra-file} (default: @code{#f})"
  28265. msgstr ""
  28266. #. type: table
  28267. #: guix-git/doc/guix.texi:19325
  28268. 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."
  28269. msgstr ""
  28270. #. type: defvr
  28271. #: guix-git/doc/guix.texi:19329
  28272. #, no-wrap
  28273. msgid "{Scheme Variable} yggdrasil-service-type"
  28274. msgstr ""
  28275. #. type: defvr
  28276. #: guix-git/doc/guix.texi:19333
  28277. 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."
  28278. msgstr ""
  28279. #. type: quotation
  28280. #: guix-git/doc/guix.texi:19340
  28281. 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}"
  28282. msgstr ""
  28283. #. type: defvr
  28284. #: guix-git/doc/guix.texi:19344
  28285. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  28286. msgstr ""
  28287. #. type: defvr
  28288. #: guix-git/doc/guix.texi:19348
  28289. 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})."
  28290. msgstr ""
  28291. #. type: lisp
  28292. #: guix-git/doc/guix.texi:19360
  28293. #, no-wrap
  28294. msgid ""
  28295. ";; part of the operating-system declaration\n"
  28296. "(service yggdrasil-service-type\n"
  28297. " (yggdrasil-configuration\n"
  28298. " (autoconf? #f) ;; use only the public peers\n"
  28299. " (json-config\n"
  28300. " ;; choose one from\n"
  28301. " ;; https://github.com/yggdrasil-network/public-peers\n"
  28302. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  28303. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  28304. " ))\n"
  28305. msgstr ""
  28306. #. type: example
  28307. #: guix-git/doc/guix.texi:19367
  28308. #, no-wrap
  28309. msgid ""
  28310. "# sample content for /etc/yggdrasil-private.conf\n"
  28311. "@{\n"
  28312. " # Your public encryption key. Your peers may ask you for this to put\n"
  28313. " # into their AllowedEncryptionPublicKeys configuration.\n"
  28314. " EncryptionPublicKey: 378dc5...\n"
  28315. "\n"
  28316. msgstr ""
  28317. #. type: example
  28318. #: guix-git/doc/guix.texi:19370
  28319. #, no-wrap
  28320. msgid ""
  28321. " # Your private encryption key. DO NOT share this with anyone!\n"
  28322. " EncryptionPrivateKey: 0777...\n"
  28323. "\n"
  28324. msgstr ""
  28325. #. type: example
  28326. #: guix-git/doc/guix.texi:19374
  28327. #, no-wrap
  28328. msgid ""
  28329. " # Your public signing key. You should not ordinarily need to share\n"
  28330. " # this with anyone.\n"
  28331. " SigningPublicKey: e1664...\n"
  28332. "\n"
  28333. msgstr ""
  28334. #. type: example
  28335. #: guix-git/doc/guix.texi:19378
  28336. #, no-wrap
  28337. msgid ""
  28338. " # Your private signing key. DO NOT share this with anyone!\n"
  28339. " SigningPrivateKey: 0589d...\n"
  28340. "@}\n"
  28341. msgstr ""
  28342. #. type: deftp
  28343. #: guix-git/doc/guix.texi:19381
  28344. #, no-wrap
  28345. msgid "{Data Type} yggdrasil-configuration"
  28346. msgstr ""
  28347. #. type: deftp
  28348. #: guix-git/doc/guix.texi:19383
  28349. msgid "Data type representing the configuration of Yggdrasil."
  28350. msgstr ""
  28351. #. type: item
  28352. #: guix-git/doc/guix.texi:19385
  28353. #, no-wrap
  28354. msgid "@code{package} (default: @code{yggdrasil})"
  28355. msgstr ""
  28356. #. type: table
  28357. #: guix-git/doc/guix.texi:19387
  28358. msgid "Package object of Yggdrasil."
  28359. msgstr ""
  28360. #. type: item
  28361. #: guix-git/doc/guix.texi:19388
  28362. #, no-wrap
  28363. msgid "@code{json-config} (default: @code{'()})"
  28364. msgstr ""
  28365. #. type: table
  28366. #: guix-git/doc/guix.texi:19394
  28367. 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."
  28368. msgstr ""
  28369. #. type: item
  28370. #: guix-git/doc/guix.texi:19395
  28371. #, no-wrap
  28372. msgid "@code{autoconf?} (default: @code{#f})"
  28373. msgstr ""
  28374. #. type: table
  28375. #: guix-git/doc/guix.texi:19398
  28376. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  28377. msgstr ""
  28378. #. type: table
  28379. #: guix-git/doc/guix.texi:19401
  28380. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  28381. msgstr ""
  28382. #. type: item
  28383. #: guix-git/doc/guix.texi:19402
  28384. #, no-wrap
  28385. msgid "@code{log-to} (default: @code{'stdout})"
  28386. msgstr ""
  28387. #. type: table
  28388. #: guix-git/doc/guix.texi:19406
  28389. 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."
  28390. msgstr ""
  28391. #. type: item
  28392. #: guix-git/doc/guix.texi:19407
  28393. #, no-wrap
  28394. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  28395. msgstr ""
  28396. #. type: table
  28397. #: guix-git/doc/guix.texi:19414
  28398. 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:"
  28399. msgstr ""
  28400. #. type: code{#1}
  28401. #: guix-git/doc/guix.texi:19416
  28402. #, no-wrap
  28403. msgid "EncryptionPublicKey"
  28404. msgstr ""
  28405. #. type: code{#1}
  28406. #: guix-git/doc/guix.texi:19417
  28407. #, no-wrap
  28408. msgid "EncryptionPrivateKey"
  28409. msgstr ""
  28410. #. type: code{#1}
  28411. #: guix-git/doc/guix.texi:19418
  28412. #, no-wrap
  28413. msgid "SigningPublicKey"
  28414. msgstr ""
  28415. #. type: code{#1}
  28416. #: guix-git/doc/guix.texi:19419
  28417. #, no-wrap
  28418. msgid "SigningPrivateKey"
  28419. msgstr ""
  28420. #. type: cindex
  28421. #: guix-git/doc/guix.texi:19424
  28422. #, no-wrap
  28423. msgid "IPFS"
  28424. msgstr ""
  28425. #. type: defvr
  28426. #: guix-git/doc/guix.texi:19425
  28427. #, no-wrap
  28428. msgid "{Scheme Variable} ipfs-service-type"
  28429. msgstr ""
  28430. #. type: defvr
  28431. #: guix-git/doc/guix.texi:19429
  28432. 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."
  28433. msgstr ""
  28434. #. type: defvr
  28435. #: guix-git/doc/guix.texi:19431
  28436. msgid "Here's an example configuration, using some non-standard ports:"
  28437. msgstr ""
  28438. #. type: lisp
  28439. #: guix-git/doc/guix.texi:19437
  28440. #, no-wrap
  28441. msgid ""
  28442. "(service ipfs-service-type\n"
  28443. " (ipfs-configuration\n"
  28444. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  28445. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  28446. msgstr ""
  28447. #. type: deftp
  28448. #: guix-git/doc/guix.texi:19440
  28449. #, no-wrap
  28450. msgid "{Data Type} ipfs-configuration"
  28451. msgstr ""
  28452. #. type: deftp
  28453. #: guix-git/doc/guix.texi:19442
  28454. msgid "Data type representing the configuration of IPFS."
  28455. msgstr ""
  28456. #. type: item
  28457. #: guix-git/doc/guix.texi:19444
  28458. #, no-wrap
  28459. msgid "@code{package} (default: @code{go-ipfs})"
  28460. msgstr ""
  28461. #. type: table
  28462. #: guix-git/doc/guix.texi:19446
  28463. msgid "Package object of IPFS."
  28464. msgstr ""
  28465. #. type: item
  28466. #: guix-git/doc/guix.texi:19447
  28467. #, no-wrap
  28468. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  28469. msgstr ""
  28470. #. type: table
  28471. #: guix-git/doc/guix.texi:19449
  28472. msgid "Address of the gateway, in ‘multiaddress’ format."
  28473. msgstr ""
  28474. #. type: item
  28475. #: guix-git/doc/guix.texi:19450
  28476. #, no-wrap
  28477. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  28478. msgstr ""
  28479. #. type: table
  28480. #: guix-git/doc/guix.texi:19452
  28481. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  28482. msgstr ""
  28483. #. type: cindex
  28484. #: guix-git/doc/guix.texi:19455
  28485. #, no-wrap
  28486. msgid "keepalived"
  28487. msgstr ""
  28488. #. type: deffn
  28489. #: guix-git/doc/guix.texi:19456
  28490. #, no-wrap
  28491. msgid "{Scheme Variable} keepalived-service-type"
  28492. msgstr ""
  28493. #. type: deffn
  28494. #: guix-git/doc/guix.texi:19461
  28495. 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:"
  28496. msgstr ""
  28497. #. type: lisp
  28498. #: guix-git/doc/guix.texi:19466
  28499. #, no-wrap
  28500. msgid ""
  28501. "(service keepalived-service-type\n"
  28502. " (keepalived-configuration\n"
  28503. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  28504. msgstr ""
  28505. #. type: deffn
  28506. #: guix-git/doc/guix.texi:19469
  28507. msgid "where @file{keepalived-master.conf}:"
  28508. msgstr ""
  28509. #. type: example
  28510. #: guix-git/doc/guix.texi:19481
  28511. #, no-wrap
  28512. msgid ""
  28513. "vrrp_instance my-group @{\n"
  28514. " state MASTER\n"
  28515. " interface enp9s0\n"
  28516. " virtual_router_id 100\n"
  28517. " priority 100\n"
  28518. " unicast_peer @{ 10.0.0.2 @}\n"
  28519. " virtual_ipaddress @{\n"
  28520. " 10.0.0.4/24\n"
  28521. " @}\n"
  28522. "@}\n"
  28523. msgstr ""
  28524. #. type: deffn
  28525. #: guix-git/doc/guix.texi:19484
  28526. msgid "and for backup machine:"
  28527. msgstr ""
  28528. #. type: lisp
  28529. #: guix-git/doc/guix.texi:19489
  28530. #, no-wrap
  28531. msgid ""
  28532. "(service keepalived-service-type\n"
  28533. " (keepalived-configuration\n"
  28534. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  28535. msgstr ""
  28536. #. type: deffn
  28537. #: guix-git/doc/guix.texi:19492
  28538. msgid "where @file{keepalived-backup.conf}:"
  28539. msgstr ""
  28540. #. type: example
  28541. #: guix-git/doc/guix.texi:19504
  28542. #, no-wrap
  28543. msgid ""
  28544. "vrrp_instance my-group @{\n"
  28545. " state BACKUP\n"
  28546. " interface enp9s0\n"
  28547. " virtual_router_id 100\n"
  28548. " priority 99\n"
  28549. " unicast_peer @{ 10.0.0.3 @}\n"
  28550. " virtual_ipaddress @{\n"
  28551. " 10.0.0.4/24\n"
  28552. " @}\n"
  28553. "@}\n"
  28554. msgstr ""
  28555. #. type: cindex
  28556. #: guix-git/doc/guix.texi:19510
  28557. #, no-wrap
  28558. msgid "unattended upgrades"
  28559. msgstr ""
  28560. #. type: cindex
  28561. #: guix-git/doc/guix.texi:19511
  28562. #, no-wrap
  28563. msgid "upgrades, unattended"
  28564. msgstr ""
  28565. #. type: Plain text
  28566. #: guix-git/doc/guix.texi:19516
  28567. 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:"
  28568. msgstr ""
  28569. #. type: itemize
  28570. #: guix-git/doc/guix.texi:19521
  28571. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  28572. msgstr ""
  28573. #. type: itemize
  28574. #: guix-git/doc/guix.texi:19525
  28575. 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;"
  28576. msgstr ""
  28577. #. type: itemize
  28578. #: guix-git/doc/guix.texi:19528
  28579. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  28580. msgstr ""
  28581. #. type: itemize
  28582. #: guix-git/doc/guix.texi:19531
  28583. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  28584. msgstr ""
  28585. #. type: Plain text
  28586. #: guix-git/doc/guix.texi:19536
  28587. 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:"
  28588. msgstr ""
  28589. #. type: lisp
  28590. #: guix-git/doc/guix.texi:19539
  28591. #, no-wrap
  28592. msgid "(service unattended-upgrade-service-type)\n"
  28593. msgstr ""
  28594. #. type: Plain text
  28595. #: guix-git/doc/guix.texi:19546
  28596. 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."
  28597. msgstr ""
  28598. #. type: Plain text
  28599. #: guix-git/doc/guix.texi:19552
  28600. 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."
  28601. msgstr ""
  28602. #. type: Plain text
  28603. #: guix-git/doc/guix.texi:19556
  28604. 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)."
  28605. msgstr ""
  28606. #. type: defvr
  28607. #: guix-git/doc/guix.texi:19557
  28608. #, no-wrap
  28609. msgid "{Scheme Variable} unattended-upgrade-service-type"
  28610. msgstr ""
  28611. #. type: defvr
  28612. #: guix-git/doc/guix.texi:19561
  28613. 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."
  28614. msgstr ""
  28615. #. type: defvr
  28616. #: guix-git/doc/guix.texi:19564
  28617. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  28618. msgstr ""
  28619. #. type: deftp
  28620. #: guix-git/doc/guix.texi:19566
  28621. #, no-wrap
  28622. msgid "{Data Type} unattended-upgrade-configuration"
  28623. msgstr ""
  28624. #. type: deftp
  28625. #: guix-git/doc/guix.texi:19569
  28626. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  28627. msgstr ""
  28628. #. type: item
  28629. #: guix-git/doc/guix.texi:19571
  28630. #, no-wrap
  28631. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  28632. msgstr ""
  28633. #. type: table
  28634. #: guix-git/doc/guix.texi:19575
  28635. 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})."
  28636. msgstr ""
  28637. #. type: item
  28638. #: guix-git/doc/guix.texi:19576
  28639. #, no-wrap
  28640. msgid "@code{channels} (default: @code{#~%default-channels})"
  28641. msgstr ""
  28642. #. type: table
  28643. #: guix-git/doc/guix.texi:19580
  28644. 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."
  28645. msgstr ""
  28646. #. type: item
  28647. #: guix-git/doc/guix.texi:19581
  28648. #, no-wrap
  28649. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  28650. msgstr ""
  28651. #. type: table
  28652. #: guix-git/doc/guix.texi:19584
  28653. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  28654. msgstr ""
  28655. #. type: table
  28656. #: guix-git/doc/guix.texi:19590
  28657. 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:"
  28658. msgstr ""
  28659. #. type: lisp
  28660. #: guix-git/doc/guix.texi:19596
  28661. #, no-wrap
  28662. msgid ""
  28663. "(unattended-upgrade-configuration\n"
  28664. " (operating-system-file\n"
  28665. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  28666. " \"/config.scm\")))\n"
  28667. msgstr ""
  28668. #. type: table
  28669. #: guix-git/doc/guix.texi:19603
  28670. 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}."
  28671. msgstr ""
  28672. #. type: item
  28673. #: guix-git/doc/guix.texi:19604
  28674. #, no-wrap
  28675. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  28676. msgstr ""
  28677. #. type: table
  28678. #: guix-git/doc/guix.texi:19607
  28679. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  28680. msgstr ""
  28681. #. type: table
  28682. #: guix-git/doc/guix.texi:19614
  28683. 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."
  28684. msgstr ""
  28685. #. type: table
  28686. #: guix-git/doc/guix.texi:19618
  28687. 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}."
  28688. msgstr ""
  28689. #. type: table
  28690. #: guix-git/doc/guix.texi:19621
  28691. 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."
  28692. msgstr ""
  28693. #. type: item
  28694. #: guix-git/doc/guix.texi:19622
  28695. #, no-wrap
  28696. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  28697. msgstr ""
  28698. #. type: table
  28699. #: guix-git/doc/guix.texi:19626
  28700. 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."
  28701. msgstr ""
  28702. #. type: quotation
  28703. #: guix-git/doc/guix.texi:19631
  28704. 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."
  28705. msgstr ""
  28706. #. type: item
  28707. #: guix-git/doc/guix.texi:19633
  28708. #, no-wrap
  28709. msgid "@code{maximum-duration} (default: @code{3600})"
  28710. msgstr ""
  28711. #. type: table
  28712. #: guix-git/doc/guix.texi:19636
  28713. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  28714. msgstr ""
  28715. #. type: table
  28716. #: guix-git/doc/guix.texi:19639
  28717. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  28718. msgstr ""
  28719. #. type: item
  28720. #: guix-git/doc/guix.texi:19640
  28721. #, no-wrap
  28722. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  28723. msgstr ""
  28724. #. type: table
  28725. #: guix-git/doc/guix.texi:19642
  28726. msgid "File where unattended upgrades are logged."
  28727. msgstr ""
  28728. #. type: cindex
  28729. #: guix-git/doc/guix.texi:19648
  28730. #, no-wrap
  28731. msgid "X11"
  28732. msgstr ""
  28733. #. type: cindex
  28734. #: guix-git/doc/guix.texi:19649
  28735. #, no-wrap
  28736. msgid "X Window System"
  28737. msgstr ""
  28738. #. type: cindex
  28739. #: guix-git/doc/guix.texi:19650 guix-git/doc/guix.texi:19923
  28740. #, no-wrap
  28741. msgid "login manager"
  28742. msgstr ""
  28743. #. type: Plain text
  28744. #: guix-git/doc/guix.texi:19655
  28745. 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)."
  28746. msgstr ""
  28747. #. type: cindex
  28748. #: guix-git/doc/guix.texi:19656
  28749. #, no-wrap
  28750. msgid "GDM"
  28751. msgstr ""
  28752. #. type: cindex
  28753. #: guix-git/doc/guix.texi:19657
  28754. #, no-wrap
  28755. msgid "GNOME, login manager"
  28756. msgstr ""
  28757. #. type: Plain text
  28758. #: guix-git/doc/guix.texi:19661
  28759. 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."
  28760. msgstr ""
  28761. #. type: cindex
  28762. #: guix-git/doc/guix.texi:19662
  28763. #, no-wrap
  28764. msgid "window manager"
  28765. msgstr ""
  28766. #. type: Plain text
  28767. #: guix-git/doc/guix.texi:19667
  28768. 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})."
  28769. msgstr ""
  28770. #. type: anchor{#1}
  28771. #: guix-git/doc/guix.texi:19673
  28772. msgid "wayland-gdm"
  28773. msgstr ""
  28774. #. type: Plain text
  28775. #: guix-git/doc/guix.texi:19673
  28776. 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}."
  28777. msgstr ""
  28778. #. type: defvr
  28779. #: guix-git/doc/guix.texi:19674
  28780. #, no-wrap
  28781. msgid "{Scheme Variable} gdm-service-type"
  28782. msgstr ""
  28783. #. type: defvr
  28784. #: guix-git/doc/guix.texi:19679
  28785. 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)."
  28786. msgstr ""
  28787. #. type: cindex
  28788. #: guix-git/doc/guix.texi:19680
  28789. #, no-wrap
  28790. msgid "session types"
  28791. msgstr ""
  28792. #. type: defvr
  28793. #: guix-git/doc/guix.texi:19688
  28794. 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."
  28795. msgstr ""
  28796. #. type: defvr
  28797. #: guix-git/doc/guix.texi:19692
  28798. 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."
  28799. msgstr ""
  28800. #. type: deftp
  28801. #: guix-git/doc/guix.texi:19694
  28802. #, no-wrap
  28803. msgid "{Data Type} gdm-configuration"
  28804. msgstr ""
  28805. #. type: item
  28806. #: guix-git/doc/guix.texi:19696 guix-git/doc/guix.texi:19778
  28807. #, no-wrap
  28808. msgid "@code{auto-login?} (default: @code{#f})"
  28809. msgstr ""
  28810. #. type: itemx
  28811. #: guix-git/doc/guix.texi:19697
  28812. #, no-wrap
  28813. msgid "@code{default-user} (default: @code{#f})"
  28814. msgstr ""
  28815. #. type: table
  28816. #: guix-git/doc/guix.texi:19699
  28817. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  28818. msgstr ""
  28819. #. type: table
  28820. #: guix-git/doc/guix.texi:19702
  28821. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  28822. msgstr ""
  28823. #. type: item
  28824. #: guix-git/doc/guix.texi:19703 guix-git/doc/guix.texi:25597
  28825. #: guix-git/doc/guix.texi:27217 guix-git/doc/guix.texi:31731
  28826. #: guix-git/doc/guix.texi:31760 guix-git/doc/guix.texi:31789
  28827. #: guix-git/doc/guix.texi:31816 guix-git/doc/guix.texi:31871
  28828. #: guix-git/doc/guix.texi:31896 guix-git/doc/guix.texi:31923
  28829. #: guix-git/doc/guix.texi:31949 guix-git/doc/guix.texi:31991
  28830. #, no-wrap
  28831. msgid "@code{debug?} (default: @code{#f})"
  28832. msgstr ""
  28833. #. type: table
  28834. #: guix-git/doc/guix.texi:19705
  28835. msgid "When true, GDM writes debug messages to its log."
  28836. msgstr ""
  28837. #. type: item
  28838. #: guix-git/doc/guix.texi:19706
  28839. #, no-wrap
  28840. msgid "@code{gnome-shell-assets} (default: ...)"
  28841. msgstr ""
  28842. #. type: table
  28843. #: guix-git/doc/guix.texi:19708
  28844. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  28845. msgstr ""
  28846. #. type: item
  28847. #: guix-git/doc/guix.texi:19709
  28848. #, no-wrap
  28849. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  28850. msgstr ""
  28851. #. type: table
  28852. #: guix-git/doc/guix.texi:19711 guix-git/doc/guix.texi:19805
  28853. #: guix-git/doc/guix.texi:19889
  28854. msgid "Configuration of the Xorg graphical server."
  28855. msgstr ""
  28856. #. type: item
  28857. #: guix-git/doc/guix.texi:19712
  28858. #, no-wrap
  28859. msgid "@code{xsession} (default: @code{(xinitrc)})"
  28860. msgstr ""
  28861. #. type: table
  28862. #: guix-git/doc/guix.texi:19714 guix-git/doc/guix.texi:19904
  28863. msgid "Script to run before starting a X session."
  28864. msgstr ""
  28865. #. type: item
  28866. #: guix-git/doc/guix.texi:19715
  28867. #, no-wrap
  28868. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  28869. msgstr ""
  28870. #. type: table
  28871. #: guix-git/doc/guix.texi:19717
  28872. msgid "File name of the @code{dbus-daemon} executable."
  28873. msgstr ""
  28874. #. type: item
  28875. #: guix-git/doc/guix.texi:19718
  28876. #, no-wrap
  28877. msgid "@code{gdm} (default: @code{gdm})"
  28878. msgstr ""
  28879. #. type: table
  28880. #: guix-git/doc/guix.texi:19720
  28881. msgid "The GDM package to use."
  28882. msgstr ""
  28883. #. type: item
  28884. #: guix-git/doc/guix.texi:19721
  28885. #, no-wrap
  28886. msgid "@code{wayland?} (default: @code{#f})"
  28887. msgstr ""
  28888. #. type: table
  28889. #: guix-git/doc/guix.texi:19723
  28890. msgid "When true, enables Wayland in GDM, necessary to use Wayland sessions."
  28891. msgstr ""
  28892. #. type: item
  28893. #: guix-git/doc/guix.texi:19724
  28894. #, no-wrap
  28895. msgid "@code{wayland-session} (default: @code{gdm-wayland-session-wrapper})"
  28896. msgstr ""
  28897. #. type: table
  28898. #: guix-git/doc/guix.texi:19727
  28899. msgid "The Wayland session wrapper to use, needed to setup the environment."
  28900. msgstr ""
  28901. #. type: defvr
  28902. #: guix-git/doc/guix.texi:19730
  28903. #, no-wrap
  28904. msgid "{Scheme Variable} slim-service-type"
  28905. msgstr ""
  28906. #. type: defvr
  28907. #: guix-git/doc/guix.texi:19732
  28908. msgid "This is the type for the SLiM graphical login manager for X11."
  28909. msgstr ""
  28910. #. type: defvr
  28911. #: guix-git/doc/guix.texi:19736
  28912. 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."
  28913. msgstr ""
  28914. #. type: defvr
  28915. #: guix-git/doc/guix.texi:19743
  28916. 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."
  28917. msgstr ""
  28918. #. type: lisp
  28919. #: guix-git/doc/guix.texi:19748
  28920. #, no-wrap
  28921. msgid ""
  28922. "(use-modules (gnu services)\n"
  28923. " (gnu services desktop)\n"
  28924. " (gnu services xorg))\n"
  28925. "\n"
  28926. msgstr ""
  28927. #. type: lisp
  28928. #: guix-git/doc/guix.texi:19759
  28929. #, no-wrap
  28930. msgid ""
  28931. "(operating-system\n"
  28932. " ;; ...\n"
  28933. " (services (cons* (service slim-service-type (slim-configuration\n"
  28934. " (display \":0\")\n"
  28935. " (vt \"vt7\")))\n"
  28936. " (service slim-service-type (slim-configuration\n"
  28937. " (display \":1\")\n"
  28938. " (vt \"vt8\")))\n"
  28939. " (modify-services %desktop-services\n"
  28940. " (delete gdm-service-type)))))\n"
  28941. msgstr ""
  28942. #. type: deftp
  28943. #: guix-git/doc/guix.texi:19763
  28944. #, no-wrap
  28945. msgid "{Data Type} slim-configuration"
  28946. msgstr ""
  28947. #. type: deftp
  28948. #: guix-git/doc/guix.texi:19765
  28949. msgid "Data type representing the configuration of @code{slim-service-type}."
  28950. msgstr ""
  28951. #. type: table
  28952. #: guix-git/doc/guix.texi:19769
  28953. msgid "Whether to allow logins with empty passwords."
  28954. msgstr ""
  28955. #. type: item
  28956. #: guix-git/doc/guix.texi:19770
  28957. #, no-wrap
  28958. msgid "@code{gnupg?} (default: @code{#f})"
  28959. msgstr ""
  28960. #. type: table
  28961. #: guix-git/doc/guix.texi:19777
  28962. 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}."
  28963. msgstr ""
  28964. #. type: itemx
  28965. #: guix-git/doc/guix.texi:19779
  28966. #, no-wrap
  28967. msgid "@code{default-user} (default: @code{\"\"})"
  28968. msgstr ""
  28969. #. type: table
  28970. #: guix-git/doc/guix.texi:19781
  28971. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  28972. msgstr ""
  28973. #. type: table
  28974. #: guix-git/doc/guix.texi:19784
  28975. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  28976. msgstr ""
  28977. #. type: item
  28978. #: guix-git/doc/guix.texi:19785
  28979. #, no-wrap
  28980. msgid "@code{theme} (default: @code{%default-slim-theme})"
  28981. msgstr ""
  28982. #. type: itemx
  28983. #: guix-git/doc/guix.texi:19786
  28984. #, no-wrap
  28985. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  28986. msgstr ""
  28987. #. type: table
  28988. #: guix-git/doc/guix.texi:19788
  28989. msgid "The graphical theme to use and its name."
  28990. msgstr ""
  28991. #. type: item
  28992. #: guix-git/doc/guix.texi:19789
  28993. #, no-wrap
  28994. msgid "@code{auto-login-session} (default: @code{#f})"
  28995. msgstr ""
  28996. #. type: table
  28997. #: guix-git/doc/guix.texi:19792
  28998. 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\")}."
  28999. msgstr ""
  29000. #. type: table
  29001. #: guix-git/doc/guix.texi:19796
  29002. 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."
  29003. msgstr ""
  29004. #. type: quotation
  29005. #: guix-git/doc/guix.texi:19801
  29006. 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."
  29007. msgstr ""
  29008. #. type: item
  29009. #: guix-git/doc/guix.texi:19803 guix-git/doc/guix.texi:19887
  29010. #, no-wrap
  29011. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  29012. msgstr ""
  29013. #. type: item
  29014. #: guix-git/doc/guix.texi:19806
  29015. #, no-wrap
  29016. msgid "@code{display} (default @code{\":0\"})"
  29017. msgstr ""
  29018. #. type: table
  29019. #: guix-git/doc/guix.texi:19808
  29020. msgid "The display on which to start the Xorg graphical server."
  29021. msgstr ""
  29022. #. type: item
  29023. #: guix-git/doc/guix.texi:19809
  29024. #, no-wrap
  29025. msgid "@code{vt} (default @code{\"vt7\"})"
  29026. msgstr ""
  29027. #. type: table
  29028. #: guix-git/doc/guix.texi:19811
  29029. msgid "The VT on which to start the Xorg graphical server."
  29030. msgstr ""
  29031. #. type: item
  29032. #: guix-git/doc/guix.texi:19812
  29033. #, no-wrap
  29034. msgid "@code{xauth} (default: @code{xauth})"
  29035. msgstr ""
  29036. #. type: table
  29037. #: guix-git/doc/guix.texi:19814
  29038. msgid "The XAuth package to use."
  29039. msgstr ""
  29040. #. type: item
  29041. #: guix-git/doc/guix.texi:19815
  29042. #, no-wrap
  29043. msgid "@code{shepherd} (default: @code{shepherd})"
  29044. msgstr ""
  29045. #. type: table
  29046. #: guix-git/doc/guix.texi:19818
  29047. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  29048. msgstr ""
  29049. #. type: item
  29050. #: guix-git/doc/guix.texi:19819
  29051. #, no-wrap
  29052. msgid "@code{sessreg} (default: @code{sessreg})"
  29053. msgstr ""
  29054. #. type: table
  29055. #: guix-git/doc/guix.texi:19821
  29056. msgid "The sessreg package used in order to register the session."
  29057. msgstr ""
  29058. #. type: item
  29059. #: guix-git/doc/guix.texi:19822
  29060. #, no-wrap
  29061. msgid "@code{slim} (default: @code{slim})"
  29062. msgstr ""
  29063. #. type: table
  29064. #: guix-git/doc/guix.texi:19824
  29065. msgid "The SLiM package to use."
  29066. msgstr ""
  29067. #. type: defvr
  29068. #: guix-git/doc/guix.texi:19827
  29069. #, no-wrap
  29070. msgid "{Scheme Variable} %default-theme"
  29071. msgstr ""
  29072. #. type: defvrx
  29073. #: guix-git/doc/guix.texi:19828
  29074. #, no-wrap
  29075. msgid "{Scheme Variable} %default-theme-name"
  29076. msgstr ""
  29077. #. type: defvr
  29078. #: guix-git/doc/guix.texi:19830
  29079. msgid "The default SLiM theme and its name."
  29080. msgstr ""
  29081. #. type: deftp
  29082. #: guix-git/doc/guix.texi:19833 guix-git/doc/guix.texi:19940
  29083. #, no-wrap
  29084. msgid "{Data Type} sddm-configuration"
  29085. msgstr ""
  29086. #. type: deftp
  29087. #: guix-git/doc/guix.texi:19835
  29088. msgid "This is the data type representing the SDDM service configuration."
  29089. msgstr ""
  29090. #. type: item
  29091. #: guix-git/doc/guix.texi:19837
  29092. #, no-wrap
  29093. msgid "@code{display-server} (default: \"x11\")"
  29094. msgstr ""
  29095. #. type: table
  29096. #: guix-git/doc/guix.texi:19840
  29097. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  29098. msgstr ""
  29099. #. type: item
  29100. #: guix-git/doc/guix.texi:19841
  29101. #, no-wrap
  29102. msgid "@code{numlock} (default: \"on\")"
  29103. msgstr ""
  29104. #. type: table
  29105. #: guix-git/doc/guix.texi:19843
  29106. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  29107. msgstr ""
  29108. #. type: item
  29109. #: guix-git/doc/guix.texi:19844
  29110. #, no-wrap
  29111. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  29112. msgstr ""
  29113. #. type: table
  29114. #: guix-git/doc/guix.texi:19846
  29115. msgid "Command to run when halting."
  29116. msgstr ""
  29117. #. type: item
  29118. #: guix-git/doc/guix.texi:19847
  29119. #, no-wrap
  29120. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  29121. msgstr ""
  29122. #. type: table
  29123. #: guix-git/doc/guix.texi:19849
  29124. msgid "Command to run when rebooting."
  29125. msgstr ""
  29126. #. type: item
  29127. #: guix-git/doc/guix.texi:19850
  29128. #, no-wrap
  29129. msgid "@code{theme} (default \"maldives\")"
  29130. msgstr ""
  29131. #. type: table
  29132. #: guix-git/doc/guix.texi:19853
  29133. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  29134. msgstr ""
  29135. #. type: item
  29136. #: guix-git/doc/guix.texi:19854
  29137. #, no-wrap
  29138. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  29139. msgstr ""
  29140. #. type: table
  29141. #: guix-git/doc/guix.texi:19856
  29142. msgid "Directory to look for themes."
  29143. msgstr ""
  29144. #. type: item
  29145. #: guix-git/doc/guix.texi:19857
  29146. #, no-wrap
  29147. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  29148. msgstr ""
  29149. #. type: table
  29150. #: guix-git/doc/guix.texi:19859
  29151. msgid "Directory to look for faces."
  29152. msgstr ""
  29153. #. type: item
  29154. #: guix-git/doc/guix.texi:19860
  29155. #, no-wrap
  29156. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  29157. msgstr ""
  29158. #. type: table
  29159. #: guix-git/doc/guix.texi:19862
  29160. msgid "Default PATH to use."
  29161. msgstr ""
  29162. #. type: item
  29163. #: guix-git/doc/guix.texi:19863
  29164. #, no-wrap
  29165. msgid "@code{minimum-uid} (default: 1000)"
  29166. msgstr ""
  29167. #. type: table
  29168. #: guix-git/doc/guix.texi:19865
  29169. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  29170. msgstr ""
  29171. #. type: item
  29172. #: guix-git/doc/guix.texi:19866
  29173. #, no-wrap
  29174. msgid "@code{maximum-uid} (default: 2000)"
  29175. msgstr ""
  29176. #. type: table
  29177. #: guix-git/doc/guix.texi:19868
  29178. msgid "Maximum UID to display in SDDM."
  29179. msgstr ""
  29180. #. type: item
  29181. #: guix-git/doc/guix.texi:19869
  29182. #, no-wrap
  29183. msgid "@code{remember-last-user?} (default #t)"
  29184. msgstr ""
  29185. #. type: table
  29186. #: guix-git/doc/guix.texi:19871
  29187. msgid "Remember last user."
  29188. msgstr ""
  29189. #. type: item
  29190. #: guix-git/doc/guix.texi:19872
  29191. #, no-wrap
  29192. msgid "@code{remember-last-session?} (default #t)"
  29193. msgstr ""
  29194. #. type: table
  29195. #: guix-git/doc/guix.texi:19874
  29196. msgid "Remember last session."
  29197. msgstr ""
  29198. #. type: item
  29199. #: guix-git/doc/guix.texi:19875
  29200. #, no-wrap
  29201. msgid "@code{hide-users} (default \"\")"
  29202. msgstr ""
  29203. #. type: table
  29204. #: guix-git/doc/guix.texi:19877
  29205. msgid "Usernames to hide from SDDM greeter."
  29206. msgstr ""
  29207. #. type: item
  29208. #: guix-git/doc/guix.texi:19878
  29209. #, no-wrap
  29210. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  29211. msgstr ""
  29212. #. type: table
  29213. #: guix-git/doc/guix.texi:19880
  29214. msgid "Users with shells listed will be hidden from the SDDM greeter."
  29215. msgstr ""
  29216. #. type: item
  29217. #: guix-git/doc/guix.texi:19881
  29218. #, no-wrap
  29219. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  29220. msgstr ""
  29221. #. type: table
  29222. #: guix-git/doc/guix.texi:19883
  29223. msgid "Script to run before starting a wayland session."
  29224. msgstr ""
  29225. #. type: item
  29226. #: guix-git/doc/guix.texi:19884
  29227. #, no-wrap
  29228. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  29229. msgstr ""
  29230. #. type: table
  29231. #: guix-git/doc/guix.texi:19886
  29232. msgid "Directory to look for desktop files starting wayland sessions."
  29233. msgstr ""
  29234. #. type: item
  29235. #: guix-git/doc/guix.texi:19890
  29236. #, no-wrap
  29237. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  29238. msgstr ""
  29239. #. type: table
  29240. #: guix-git/doc/guix.texi:19892
  29241. msgid "Path to xauth."
  29242. msgstr ""
  29243. #. type: item
  29244. #: guix-git/doc/guix.texi:19893
  29245. #, no-wrap
  29246. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  29247. msgstr ""
  29248. #. type: table
  29249. #: guix-git/doc/guix.texi:19895
  29250. msgid "Path to Xephyr."
  29251. msgstr ""
  29252. #. type: item
  29253. #: guix-git/doc/guix.texi:19896
  29254. #, no-wrap
  29255. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  29256. msgstr ""
  29257. #. type: table
  29258. #: guix-git/doc/guix.texi:19898
  29259. msgid "Script to run after starting xorg-server."
  29260. msgstr ""
  29261. #. type: item
  29262. #: guix-git/doc/guix.texi:19899
  29263. #, no-wrap
  29264. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  29265. msgstr ""
  29266. #. type: table
  29267. #: guix-git/doc/guix.texi:19901
  29268. msgid "Script to run before stopping xorg-server."
  29269. msgstr ""
  29270. #. type: item
  29271. #: guix-git/doc/guix.texi:19902
  29272. #, no-wrap
  29273. msgid "@code{xsession-command} (default: @code{xinitrc})"
  29274. msgstr ""
  29275. #. type: item
  29276. #: guix-git/doc/guix.texi:19905
  29277. #, no-wrap
  29278. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  29279. msgstr ""
  29280. #. type: table
  29281. #: guix-git/doc/guix.texi:19907
  29282. msgid "Directory to look for desktop files starting X sessions."
  29283. msgstr ""
  29284. #. type: item
  29285. #: guix-git/doc/guix.texi:19908
  29286. #, no-wrap
  29287. msgid "@code{minimum-vt} (default: 7)"
  29288. msgstr ""
  29289. #. type: table
  29290. #: guix-git/doc/guix.texi:19910
  29291. msgid "Minimum VT to use."
  29292. msgstr ""
  29293. #. type: item
  29294. #: guix-git/doc/guix.texi:19911
  29295. #, no-wrap
  29296. msgid "@code{auto-login-user} (default \"\")"
  29297. msgstr ""
  29298. #. type: table
  29299. #: guix-git/doc/guix.texi:19913
  29300. msgid "User to use for auto-login."
  29301. msgstr ""
  29302. #. type: item
  29303. #: guix-git/doc/guix.texi:19914
  29304. #, no-wrap
  29305. msgid "@code{auto-login-session} (default \"\")"
  29306. msgstr ""
  29307. #. type: table
  29308. #: guix-git/doc/guix.texi:19916
  29309. msgid "Desktop file to use for auto-login."
  29310. msgstr ""
  29311. #. type: item
  29312. #: guix-git/doc/guix.texi:19917
  29313. #, no-wrap
  29314. msgid "@code{relogin?} (default #f)"
  29315. msgstr ""
  29316. #. type: table
  29317. #: guix-git/doc/guix.texi:19919
  29318. msgid "Relogin after logout."
  29319. msgstr ""
  29320. #. type: cindex
  29321. #: guix-git/doc/guix.texi:19924
  29322. #, no-wrap
  29323. msgid "X11 login"
  29324. msgstr ""
  29325. #. type: defvr
  29326. #: guix-git/doc/guix.texi:19925
  29327. #, no-wrap
  29328. msgid "{Scheme Variable} sddm-service-type"
  29329. msgstr ""
  29330. #. type: defvr
  29331. #: guix-git/doc/guix.texi:19929
  29332. 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)."
  29333. msgstr ""
  29334. #. type: defvr
  29335. #: guix-git/doc/guix.texi:19931
  29336. msgid "Here's an example use:"
  29337. msgstr ""
  29338. #. type: lisp
  29339. #: guix-git/doc/guix.texi:19937
  29340. #, no-wrap
  29341. msgid ""
  29342. "(service sddm-service-type\n"
  29343. " (sddm-configuration\n"
  29344. " (auto-login-user \"alice\")\n"
  29345. " (auto-login-session \"xfce.desktop\")))\n"
  29346. msgstr ""
  29347. #. type: deftp
  29348. #: guix-git/doc/guix.texi:19943
  29349. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  29350. msgstr ""
  29351. #. type: item
  29352. #: guix-git/doc/guix.texi:19945
  29353. #, no-wrap
  29354. msgid "@code{sddm} (default: @code{sddm})"
  29355. msgstr ""
  29356. #. type: table
  29357. #: guix-git/doc/guix.texi:19947
  29358. msgid "The SDDM package to use."
  29359. msgstr ""
  29360. #. type: item
  29361. #: guix-git/doc/guix.texi:19948
  29362. #, no-wrap
  29363. msgid "@code{display-server} (default: @code{\"x11\"})"
  29364. msgstr ""
  29365. #. type: table
  29366. #: guix-git/doc/guix.texi:19950
  29367. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  29368. msgstr ""
  29369. #. type: item
  29370. #: guix-git/doc/guix.texi:19953
  29371. #, no-wrap
  29372. msgid "@code{auto-login-user} (default: @code{\"\"})"
  29373. msgstr ""
  29374. #. type: table
  29375. #: guix-git/doc/guix.texi:19956
  29376. msgid "If non-empty, this is the user account under which to log in automatically."
  29377. msgstr ""
  29378. #. type: item
  29379. #: guix-git/doc/guix.texi:19957
  29380. #, no-wrap
  29381. msgid "@code{auto-login-session} (default: @code{\"\"})"
  29382. msgstr ""
  29383. #. type: table
  29384. #: guix-git/doc/guix.texi:19960
  29385. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  29386. msgstr ""
  29387. #. type: cindex
  29388. #: guix-git/doc/guix.texi:19963
  29389. #, no-wrap
  29390. msgid "Xorg, configuration"
  29391. msgstr ""
  29392. #. type: deftp
  29393. #: guix-git/doc/guix.texi:19964
  29394. #, no-wrap
  29395. msgid "{Data Type} xorg-configuration"
  29396. msgstr ""
  29397. #. type: deftp
  29398. #: guix-git/doc/guix.texi:19969
  29399. 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."
  29400. msgstr ""
  29401. #. type: item
  29402. #: guix-git/doc/guix.texi:19971
  29403. #, no-wrap
  29404. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  29405. msgstr ""
  29406. #. type: table
  29407. #: guix-git/doc/guix.texi:19974
  29408. 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."
  29409. msgstr ""
  29410. #. type: item
  29411. #: guix-git/doc/guix.texi:19975
  29412. #, no-wrap
  29413. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  29414. msgstr ""
  29415. #. type: table
  29416. #: guix-git/doc/guix.texi:19977
  29417. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  29418. msgstr ""
  29419. #. type: item
  29420. #: guix-git/doc/guix.texi:19978
  29421. #, no-wrap
  29422. msgid "@code{drivers} (default: @code{'()})"
  29423. msgstr ""
  29424. #. type: table
  29425. #: guix-git/doc/guix.texi:19982
  29426. 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\")}."
  29427. msgstr ""
  29428. #. type: item
  29429. #: guix-git/doc/guix.texi:19983
  29430. #, no-wrap
  29431. msgid "@code{resolutions} (default: @code{'()})"
  29432. msgstr ""
  29433. #. type: table
  29434. #: guix-git/doc/guix.texi:19987
  29435. 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))}."
  29436. msgstr ""
  29437. #. type: cindex
  29438. #: guix-git/doc/guix.texi:19988
  29439. #, no-wrap
  29440. msgid "keyboard layout, for Xorg"
  29441. msgstr ""
  29442. #. type: cindex
  29443. #: guix-git/doc/guix.texi:19989
  29444. #, no-wrap
  29445. msgid "keymap, for Xorg"
  29446. msgstr ""
  29447. #. type: table
  29448. #: guix-git/doc/guix.texi:19993
  29449. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  29450. msgstr ""
  29451. #. type: table
  29452. #: guix-git/doc/guix.texi:19997
  29453. 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."
  29454. msgstr ""
  29455. #. type: item
  29456. #: guix-git/doc/guix.texi:19998 guix-git/doc/guix.texi:21743
  29457. #: guix-git/doc/guix.texi:34597
  29458. #, no-wrap
  29459. msgid "@code{extra-config} (default: @code{'()})"
  29460. msgstr ""
  29461. #. type: table
  29462. #: guix-git/doc/guix.texi:20001 guix-git/doc/guix.texi:34601
  29463. 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."
  29464. msgstr ""
  29465. #. type: item
  29466. #: guix-git/doc/guix.texi:20002
  29467. #, no-wrap
  29468. msgid "@code{server} (default: @code{xorg-server})"
  29469. msgstr ""
  29470. #. type: table
  29471. #: guix-git/doc/guix.texi:20004
  29472. msgid "This is the package providing the Xorg server."
  29473. msgstr ""
  29474. #. type: item
  29475. #: guix-git/doc/guix.texi:20005
  29476. #, no-wrap
  29477. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  29478. msgstr ""
  29479. #. type: table
  29480. #: guix-git/doc/guix.texi:20008
  29481. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  29482. msgstr ""
  29483. #. type: deffn
  29484. #: guix-git/doc/guix.texi:20011
  29485. #, no-wrap
  29486. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  29487. msgstr ""
  29488. #. type: deffn
  29489. #: guix-git/doc/guix.texi:20015
  29490. 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."
  29491. msgstr ""
  29492. #. type: deffn
  29493. #: guix-git/doc/guix.texi:20019
  29494. 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."
  29495. msgstr ""
  29496. #. type: deffn
  29497. #: guix-git/doc/guix.texi:20021
  29498. #, no-wrap
  29499. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  29500. msgstr ""
  29501. #. type: deffn
  29502. #: guix-git/doc/guix.texi:20025
  29503. 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}."
  29504. msgstr ""
  29505. #. type: deffn
  29506. #: guix-git/doc/guix.texi:20027
  29507. msgid "Usually the X server is started by a login manager."
  29508. msgstr ""
  29509. #. type: deffn
  29510. #: guix-git/doc/guix.texi:20030
  29511. #, no-wrap
  29512. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  29513. msgstr ""
  29514. #. type: deffn
  29515. #: guix-git/doc/guix.texi:20034
  29516. 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:"
  29517. msgstr ""
  29518. #. type: lisp
  29519. #: guix-git/doc/guix.texi:20037
  29520. #, no-wrap
  29521. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  29522. msgstr ""
  29523. #. type: deffn
  29524. #: guix-git/doc/guix.texi:20040
  29525. msgid "makes the good ol' XlockMore usable."
  29526. msgstr ""
  29527. #. type: cindex
  29528. #: guix-git/doc/guix.texi:20046
  29529. #, no-wrap
  29530. msgid "printer support with CUPS"
  29531. msgstr ""
  29532. #. type: Plain text
  29533. #: guix-git/doc/guix.texi:20050
  29534. 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:"
  29535. msgstr ""
  29536. #. type: deffn
  29537. #: guix-git/doc/guix.texi:20051
  29538. #, no-wrap
  29539. msgid "{Scheme Variable} cups-service-type"
  29540. msgstr ""
  29541. #. type: deffn
  29542. #: guix-git/doc/guix.texi:20055
  29543. 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:"
  29544. msgstr ""
  29545. #. type: lisp
  29546. #: guix-git/doc/guix.texi:20057
  29547. #, no-wrap
  29548. msgid "(service cups-service-type)\n"
  29549. msgstr ""
  29550. #. type: Plain text
  29551. #: guix-git/doc/guix.texi:20067
  29552. 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."
  29553. msgstr ""
  29554. #. type: Plain text
  29555. #: guix-git/doc/guix.texi:20073
  29556. 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):"
  29557. msgstr ""
  29558. #. type: lisp
  29559. #: guix-git/doc/guix.texi:20080
  29560. #, no-wrap
  29561. msgid ""
  29562. "(service cups-service-type\n"
  29563. " (cups-configuration\n"
  29564. " (web-interface? #t)\n"
  29565. " (extensions\n"
  29566. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  29567. msgstr ""
  29568. #. type: Plain text
  29569. #: guix-git/doc/guix.texi:20085
  29570. 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."
  29571. msgstr ""
  29572. #. type: Plain text
  29573. #: guix-git/doc/guix.texi:20092
  29574. 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."
  29575. msgstr ""
  29576. #. type: Plain text
  29577. #: guix-git/doc/guix.texi:20103
  29578. msgid "Available @code{cups-configuration} fields are:"
  29579. msgstr ""
  29580. #. type: deftypevr
  29581. #: guix-git/doc/guix.texi:20104
  29582. #, no-wrap
  29583. msgid "{@code{cups-configuration} parameter} package cups"
  29584. msgstr ""
  29585. #. type: deftypevr
  29586. #: guix-git/doc/guix.texi:20106 guix-git/doc/guix.texi:20874
  29587. msgid "The CUPS package."
  29588. msgstr ""
  29589. #. type: deftypevr
  29590. #: guix-git/doc/guix.texi:20108
  29591. #, no-wrap
  29592. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  29593. msgstr ""
  29594. #. type: deftypevr
  29595. #: guix-git/doc/guix.texi:20110
  29596. msgid "Drivers and other extensions to the CUPS package."
  29597. msgstr ""
  29598. #. type: deftypevr
  29599. #: guix-git/doc/guix.texi:20112
  29600. #, no-wrap
  29601. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  29602. msgstr ""
  29603. #. type: deftypevr
  29604. #: guix-git/doc/guix.texi:20115
  29605. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  29606. msgstr ""
  29607. #. type: deftypevr
  29608. #: guix-git/doc/guix.texi:20117
  29609. msgid "Available @code{files-configuration} fields are:"
  29610. msgstr ""
  29611. #. type: deftypevr
  29612. #: guix-git/doc/guix.texi:20118
  29613. #, no-wrap
  29614. msgid "{@code{files-configuration} parameter} log-location access-log"
  29615. msgstr ""
  29616. #. type: deftypevr
  29617. #: guix-git/doc/guix.texi:20126
  29618. 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}."
  29619. msgstr ""
  29620. #. type: deftypevr
  29621. #: guix-git/doc/guix.texi:20128
  29622. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  29623. msgstr ""
  29624. #. type: deftypevr
  29625. #: guix-git/doc/guix.texi:20130
  29626. #, no-wrap
  29627. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  29628. msgstr ""
  29629. #. type: deftypevr
  29630. #: guix-git/doc/guix.texi:20132
  29631. msgid "Where CUPS should cache data."
  29632. msgstr ""
  29633. #. type: deftypevr
  29634. #: guix-git/doc/guix.texi:20134
  29635. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  29636. msgstr ""
  29637. #. type: deftypevr
  29638. #: guix-git/doc/guix.texi:20136
  29639. #, no-wrap
  29640. msgid "{@code{files-configuration} parameter} string config-file-perm"
  29641. msgstr ""
  29642. #. type: deftypevr
  29643. #: guix-git/doc/guix.texi:20139
  29644. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  29645. msgstr ""
  29646. #. type: deftypevr
  29647. #: guix-git/doc/guix.texi:20145
  29648. 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."
  29649. msgstr ""
  29650. #. type: deftypevr
  29651. #: guix-git/doc/guix.texi:20147
  29652. msgid "Defaults to @samp{\"0640\"}."
  29653. msgstr ""
  29654. #. type: deftypevr
  29655. #: guix-git/doc/guix.texi:20149
  29656. #, no-wrap
  29657. msgid "{@code{files-configuration} parameter} log-location error-log"
  29658. msgstr ""
  29659. #. type: deftypevr
  29660. #: guix-git/doc/guix.texi:20157
  29661. 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}."
  29662. msgstr ""
  29663. #. type: deftypevr
  29664. #: guix-git/doc/guix.texi:20159
  29665. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  29666. msgstr ""
  29667. #. type: deftypevr
  29668. #: guix-git/doc/guix.texi:20161
  29669. #, no-wrap
  29670. msgid "{@code{files-configuration} parameter} string fatal-errors"
  29671. msgstr ""
  29672. #. type: deftypevr
  29673. #: guix-git/doc/guix.texi:20164
  29674. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  29675. msgstr ""
  29676. #. type: table
  29677. #: guix-git/doc/guix.texi:20168
  29678. msgid "No errors are fatal."
  29679. msgstr ""
  29680. #. type: table
  29681. #: guix-git/doc/guix.texi:20171
  29682. msgid "All of the errors below are fatal."
  29683. msgstr ""
  29684. #. type: item
  29685. #: guix-git/doc/guix.texi:20172
  29686. #, no-wrap
  29687. msgid "browse"
  29688. msgstr ""
  29689. #. type: table
  29690. #: guix-git/doc/guix.texi:20175
  29691. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  29692. msgstr ""
  29693. #. type: item
  29694. #: guix-git/doc/guix.texi:20176
  29695. #, no-wrap
  29696. msgid "config"
  29697. msgstr ""
  29698. #. type: table
  29699. #: guix-git/doc/guix.texi:20178
  29700. msgid "Configuration file syntax errors are fatal."
  29701. msgstr ""
  29702. #. type: item
  29703. #: guix-git/doc/guix.texi:20179
  29704. #, no-wrap
  29705. msgid "listen"
  29706. msgstr ""
  29707. #. type: table
  29708. #: guix-git/doc/guix.texi:20182
  29709. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  29710. msgstr ""
  29711. #. type: item
  29712. #: guix-git/doc/guix.texi:20183
  29713. #, no-wrap
  29714. msgid "log"
  29715. msgstr ""
  29716. #. type: table
  29717. #: guix-git/doc/guix.texi:20185
  29718. msgid "Log file creation or write errors are fatal."
  29719. msgstr ""
  29720. #. type: item
  29721. #: guix-git/doc/guix.texi:20186
  29722. #, no-wrap
  29723. msgid "permissions"
  29724. msgstr ""
  29725. #. type: table
  29726. #: guix-git/doc/guix.texi:20189
  29727. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  29728. msgstr ""
  29729. #. type: deftypevr
  29730. #: guix-git/doc/guix.texi:20192
  29731. msgid "Defaults to @samp{\"all -browse\"}."
  29732. msgstr ""
  29733. #. type: deftypevr
  29734. #: guix-git/doc/guix.texi:20194
  29735. #, no-wrap
  29736. msgid "{@code{files-configuration} parameter} boolean file-device?"
  29737. msgstr ""
  29738. #. type: deftypevr
  29739. #: guix-git/doc/guix.texi:20197
  29740. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  29741. msgstr ""
  29742. #. type: deftypevr
  29743. #: guix-git/doc/guix.texi:20201
  29744. #, no-wrap
  29745. msgid "{@code{files-configuration} parameter} string group"
  29746. msgstr ""
  29747. #. type: deftypevr
  29748. #: guix-git/doc/guix.texi:20204
  29749. msgid "Specifies the group name or ID that will be used when executing external programs."
  29750. msgstr ""
  29751. #. type: deftypevr
  29752. #: guix-git/doc/guix.texi:20206 guix-git/doc/guix.texi:20292
  29753. msgid "Defaults to @samp{\"lp\"}."
  29754. msgstr ""
  29755. #. type: deftypevr
  29756. #: guix-git/doc/guix.texi:20208
  29757. #, no-wrap
  29758. msgid "{@code{files-configuration} parameter} string log-file-group"
  29759. msgstr ""
  29760. #. type: deftypevr
  29761. #: guix-git/doc/guix.texi:20210
  29762. msgid "Specifies the group name or ID that will be used for log files."
  29763. msgstr ""
  29764. #. type: deftypevr
  29765. #: guix-git/doc/guix.texi:20212
  29766. msgid "Defaults to @samp{\"lpadmin\"}."
  29767. msgstr ""
  29768. #. type: deftypevr
  29769. #: guix-git/doc/guix.texi:20214
  29770. #, no-wrap
  29771. msgid "{@code{files-configuration} parameter} string log-file-perm"
  29772. msgstr ""
  29773. #. type: deftypevr
  29774. #: guix-git/doc/guix.texi:20216
  29775. msgid "Specifies the permissions for all log files that the scheduler writes."
  29776. msgstr ""
  29777. #. type: deftypevr
  29778. #: guix-git/doc/guix.texi:20218
  29779. msgid "Defaults to @samp{\"0644\"}."
  29780. msgstr ""
  29781. #. type: deftypevr
  29782. #: guix-git/doc/guix.texi:20220
  29783. #, no-wrap
  29784. msgid "{@code{files-configuration} parameter} log-location page-log"
  29785. msgstr ""
  29786. #. type: deftypevr
  29787. #: guix-git/doc/guix.texi:20228
  29788. 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}."
  29789. msgstr ""
  29790. #. type: deftypevr
  29791. #: guix-git/doc/guix.texi:20230
  29792. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  29793. msgstr ""
  29794. #. type: deftypevr
  29795. #: guix-git/doc/guix.texi:20232
  29796. #, no-wrap
  29797. msgid "{@code{files-configuration} parameter} string remote-root"
  29798. msgstr ""
  29799. #. type: deftypevr
  29800. #: guix-git/doc/guix.texi:20235
  29801. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  29802. msgstr ""
  29803. #. type: deftypevr
  29804. #: guix-git/doc/guix.texi:20237
  29805. msgid "Defaults to @samp{\"remroot\"}."
  29806. msgstr ""
  29807. #. type: deftypevr
  29808. #: guix-git/doc/guix.texi:20239
  29809. #, no-wrap
  29810. msgid "{@code{files-configuration} parameter} file-name request-root"
  29811. msgstr ""
  29812. #. type: deftypevr
  29813. #: guix-git/doc/guix.texi:20242
  29814. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  29815. msgstr ""
  29816. #. type: deftypevr
  29817. #: guix-git/doc/guix.texi:20244
  29818. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  29819. msgstr ""
  29820. #. type: deftypevr
  29821. #: guix-git/doc/guix.texi:20246
  29822. #, no-wrap
  29823. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  29824. msgstr ""
  29825. #. type: deftypevr
  29826. #: guix-git/doc/guix.texi:20251
  29827. 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."
  29828. msgstr ""
  29829. #. type: deftypevr
  29830. #: guix-git/doc/guix.texi:20253
  29831. msgid "Defaults to @samp{strict}."
  29832. msgstr ""
  29833. #. type: deftypevr
  29834. #: guix-git/doc/guix.texi:20255
  29835. #, no-wrap
  29836. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  29837. msgstr ""
  29838. #. type: deftypevr
  29839. #: guix-git/doc/guix.texi:20260
  29840. 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."
  29841. msgstr ""
  29842. #. type: deftypevr
  29843. #: guix-git/doc/guix.texi:20262
  29844. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  29845. msgstr ""
  29846. #. type: deftypevr
  29847. #: guix-git/doc/guix.texi:20264
  29848. #, no-wrap
  29849. msgid "{@code{files-configuration} parameter} file-name server-root"
  29850. msgstr ""
  29851. #. type: deftypevr
  29852. #: guix-git/doc/guix.texi:20266
  29853. msgid "Specifies the directory containing the server configuration files."
  29854. msgstr ""
  29855. #. type: deftypevr
  29856. #: guix-git/doc/guix.texi:20268
  29857. msgid "Defaults to @samp{\"/etc/cups\"}."
  29858. msgstr ""
  29859. #. type: deftypevr
  29860. #: guix-git/doc/guix.texi:20270
  29861. #, no-wrap
  29862. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  29863. msgstr ""
  29864. #. type: deftypevr
  29865. #: guix-git/doc/guix.texi:20273
  29866. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  29867. msgstr ""
  29868. #. type: deftypevr
  29869. #: guix-git/doc/guix.texi:20277
  29870. #, no-wrap
  29871. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  29872. msgstr ""
  29873. #. type: deftypevr
  29874. #: guix-git/doc/guix.texi:20279
  29875. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  29876. msgstr ""
  29877. #. type: deftypevr
  29878. #: guix-git/doc/guix.texi:20281
  29879. #, no-wrap
  29880. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  29881. msgstr ""
  29882. #. type: deftypevr
  29883. #: guix-git/doc/guix.texi:20283
  29884. msgid "Specifies the directory where temporary files are stored."
  29885. msgstr ""
  29886. #. type: deftypevr
  29887. #: guix-git/doc/guix.texi:20285
  29888. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  29889. msgstr ""
  29890. #. type: deftypevr
  29891. #: guix-git/doc/guix.texi:20287
  29892. #, no-wrap
  29893. msgid "{@code{files-configuration} parameter} string user"
  29894. msgstr ""
  29895. #. type: deftypevr
  29896. #: guix-git/doc/guix.texi:20290
  29897. msgid "Specifies the user name or ID that is used when running external programs."
  29898. msgstr ""
  29899. #. type: deftypevr
  29900. #: guix-git/doc/guix.texi:20294
  29901. #, no-wrap
  29902. msgid "{@code{files-configuration} parameter} string set-env"
  29903. msgstr ""
  29904. #. type: deftypevr
  29905. #: guix-git/doc/guix.texi:20296
  29906. msgid "Set the specified environment variable to be passed to child processes."
  29907. msgstr ""
  29908. #. type: deftypevr
  29909. #: guix-git/doc/guix.texi:20298
  29910. msgid "Defaults to @samp{\"variable value\"}."
  29911. msgstr ""
  29912. #. type: deftypevr
  29913. #: guix-git/doc/guix.texi:20301
  29914. #, no-wrap
  29915. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  29916. msgstr ""
  29917. #. type: deftypevr
  29918. #: guix-git/doc/guix.texi:20308
  29919. 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."
  29920. msgstr ""
  29921. #. type: deftypevr
  29922. #: guix-git/doc/guix.texi:20310
  29923. msgid "Defaults to @samp{actions}."
  29924. msgstr ""
  29925. #. type: deftypevr
  29926. #: guix-git/doc/guix.texi:20312
  29927. #, no-wrap
  29928. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  29929. msgstr ""
  29930. #. type: deftypevr
  29931. #: guix-git/doc/guix.texi:20315
  29932. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  29933. msgstr ""
  29934. #. type: deftypevr
  29935. #: guix-git/doc/guix.texi:20319
  29936. #, no-wrap
  29937. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  29938. msgstr ""
  29939. #. type: deftypevr
  29940. #: guix-git/doc/guix.texi:20323
  29941. 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."
  29942. msgstr ""
  29943. #. type: deftypevr
  29944. #: guix-git/doc/guix.texi:20325
  29945. msgid "Defaults to @samp{\"_cups\"}."
  29946. msgstr ""
  29947. #. type: deftypevr
  29948. #: guix-git/doc/guix.texi:20327
  29949. #, no-wrap
  29950. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  29951. msgstr ""
  29952. #. type: deftypevr
  29953. #: guix-git/doc/guix.texi:20329
  29954. msgid "Specifies which protocols to use for local printer sharing."
  29955. msgstr ""
  29956. #. type: deftypevr
  29957. #: guix-git/doc/guix.texi:20331
  29958. msgid "Defaults to @samp{dnssd}."
  29959. msgstr ""
  29960. #. type: deftypevr
  29961. #: guix-git/doc/guix.texi:20333
  29962. #, no-wrap
  29963. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  29964. msgstr ""
  29965. #. type: deftypevr
  29966. #: guix-git/doc/guix.texi:20335
  29967. msgid "Specifies whether the CUPS web interface is advertised."
  29968. msgstr ""
  29969. #. type: deftypevr
  29970. #: guix-git/doc/guix.texi:20339
  29971. #, no-wrap
  29972. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  29973. msgstr ""
  29974. #. type: deftypevr
  29975. #: guix-git/doc/guix.texi:20341
  29976. msgid "Specifies whether shared printers are advertised."
  29977. msgstr ""
  29978. #. type: deftypevr
  29979. #: guix-git/doc/guix.texi:20345
  29980. #, no-wrap
  29981. msgid "{@code{cups-configuration} parameter} string classification"
  29982. msgstr ""
  29983. #. type: deftypevr
  29984. #: guix-git/doc/guix.texi:20350
  29985. 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."
  29986. msgstr ""
  29987. #. type: deftypevr
  29988. #: guix-git/doc/guix.texi:20352 guix-git/doc/guix.texi:20683
  29989. #: guix-git/doc/guix.texi:22700 guix-git/doc/guix.texi:22712
  29990. #: guix-git/doc/guix.texi:22740 guix-git/doc/guix.texi:23497
  29991. #: guix-git/doc/guix.texi:23511 guix-git/doc/guix.texi:23518
  29992. #: guix-git/doc/guix.texi:23525 guix-git/doc/guix.texi:23555
  29993. #: guix-git/doc/guix.texi:23653 guix-git/doc/guix.texi:30546
  29994. #: guix-git/doc/guix.texi:30554 guix-git/doc/guix.texi:30562
  29995. #: guix-git/doc/guix.texi:30570 guix-git/doc/guix.texi:30849
  29996. #: guix-git/doc/guix.texi:32208 guix-git/doc/guix.texi:32216
  29997. #: guix-git/doc/guix.texi:32224 guix-git/doc/guix.texi:32332
  29998. #: guix-git/doc/guix.texi:32357 guix-git/doc/guix.texi:32488
  29999. #: guix-git/doc/guix.texi:32496 guix-git/doc/guix.texi:32504
  30000. #: guix-git/doc/guix.texi:32512 guix-git/doc/guix.texi:32520
  30001. #: guix-git/doc/guix.texi:32528 guix-git/doc/guix.texi:32551
  30002. #: guix-git/doc/guix.texi:32559 guix-git/doc/guix.texi:32611
  30003. #: guix-git/doc/guix.texi:32627 guix-git/doc/guix.texi:32635
  30004. #: guix-git/doc/guix.texi:32674 guix-git/doc/guix.texi:32697
  30005. #: guix-git/doc/guix.texi:32719 guix-git/doc/guix.texi:32726
  30006. #: guix-git/doc/guix.texi:32761 guix-git/doc/guix.texi:32769
  30007. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:32825
  30008. #: guix-git/doc/guix.texi:32854 guix-git/doc/guix.texi:32861
  30009. #: guix-git/doc/guix.texi:32868 guix-git/doc/guix.texi:32876
  30010. #: guix-git/doc/guix.texi:32890 guix-git/doc/guix.texi:32899
  30011. #: guix-git/doc/guix.texi:32909 guix-git/doc/guix.texi:32916
  30012. #: guix-git/doc/guix.texi:32923 guix-git/doc/guix.texi:32930
  30013. #: guix-git/doc/guix.texi:33001 guix-git/doc/guix.texi:33008
  30014. #: guix-git/doc/guix.texi:33015 guix-git/doc/guix.texi:33024
  30015. #: guix-git/doc/guix.texi:33040 guix-git/doc/guix.texi:33047
  30016. #: guix-git/doc/guix.texi:33054 guix-git/doc/guix.texi:33061
  30017. #: guix-git/doc/guix.texi:33069 guix-git/doc/guix.texi:33077
  30018. msgid "Defaults to @samp{\"\"}."
  30019. msgstr ""
  30020. #. type: deftypevr
  30021. #: guix-git/doc/guix.texi:20354
  30022. #, no-wrap
  30023. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  30024. msgstr ""
  30025. #. type: deftypevr
  30026. #: guix-git/doc/guix.texi:20357
  30027. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  30028. msgstr ""
  30029. #. type: deftypevr
  30030. #: guix-git/doc/guix.texi:20361
  30031. #, no-wrap
  30032. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  30033. msgstr ""
  30034. #. type: deftypevr
  30035. #: guix-git/doc/guix.texi:20363
  30036. msgid "Specifies the default type of authentication to use."
  30037. msgstr ""
  30038. #. type: deftypevr
  30039. #: guix-git/doc/guix.texi:20365
  30040. msgid "Defaults to @samp{Basic}."
  30041. msgstr ""
  30042. #. type: deftypevr
  30043. #: guix-git/doc/guix.texi:20367
  30044. #, no-wrap
  30045. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  30046. msgstr ""
  30047. #. type: deftypevr
  30048. #: guix-git/doc/guix.texi:20369
  30049. msgid "Specifies whether encryption will be used for authenticated requests."
  30050. msgstr ""
  30051. #. type: deftypevr
  30052. #: guix-git/doc/guix.texi:20371
  30053. msgid "Defaults to @samp{Required}."
  30054. msgstr ""
  30055. #. type: deftypevr
  30056. #: guix-git/doc/guix.texi:20373
  30057. #, no-wrap
  30058. msgid "{@code{cups-configuration} parameter} string default-language"
  30059. msgstr ""
  30060. #. type: deftypevr
  30061. #: guix-git/doc/guix.texi:20375
  30062. msgid "Specifies the default language to use for text and web content."
  30063. msgstr ""
  30064. #. type: deftypevr
  30065. #: guix-git/doc/guix.texi:20377
  30066. msgid "Defaults to @samp{\"en\"}."
  30067. msgstr ""
  30068. #. type: deftypevr
  30069. #: guix-git/doc/guix.texi:20379
  30070. #, no-wrap
  30071. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  30072. msgstr ""
  30073. #. type: deftypevr
  30074. #: guix-git/doc/guix.texi:20384
  30075. 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\"}."
  30076. msgstr ""
  30077. #. type: deftypevr
  30078. #: guix-git/doc/guix.texi:20386
  30079. msgid "Defaults to @samp{\"Auto\"}."
  30080. msgstr ""
  30081. #. type: deftypevr
  30082. #: guix-git/doc/guix.texi:20388
  30083. #, no-wrap
  30084. msgid "{@code{cups-configuration} parameter} string default-policy"
  30085. msgstr ""
  30086. #. type: deftypevr
  30087. #: guix-git/doc/guix.texi:20390
  30088. msgid "Specifies the default access policy to use."
  30089. msgstr ""
  30090. #. type: deftypevr
  30091. #: guix-git/doc/guix.texi:20392
  30092. msgid "Defaults to @samp{\"default\"}."
  30093. msgstr ""
  30094. #. type: deftypevr
  30095. #: guix-git/doc/guix.texi:20394
  30096. #, no-wrap
  30097. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  30098. msgstr ""
  30099. #. type: deftypevr
  30100. #: guix-git/doc/guix.texi:20396
  30101. msgid "Specifies whether local printers are shared by default."
  30102. msgstr ""
  30103. #. type: deftypevr
  30104. #: guix-git/doc/guix.texi:20398 guix-git/doc/guix.texi:20478
  30105. #: guix-git/doc/guix.texi:20768 guix-git/doc/guix.texi:23587
  30106. #: guix-git/doc/guix.texi:23638 guix-git/doc/guix.texi:23645
  30107. #: guix-git/doc/guix.texi:24927 guix-git/doc/guix.texi:25115
  30108. #: guix-git/doc/guix.texi:25232 guix-git/doc/guix.texi:25268
  30109. #: guix-git/doc/guix.texi:25319 guix-git/doc/guix.texi:25338
  30110. #: guix-git/doc/guix.texi:25348 guix-git/doc/guix.texi:25358
  30111. #: guix-git/doc/guix.texi:25417 guix-git/doc/guix.texi:25439
  30112. #: guix-git/doc/guix.texi:25464 guix-git/doc/guix.texi:25490
  30113. #: guix-git/doc/guix.texi:25508 guix-git/doc/guix.texi:28613
  30114. #: guix-git/doc/guix.texi:28641 guix-git/doc/guix.texi:28777
  30115. #: guix-git/doc/guix.texi:28784 guix-git/doc/guix.texi:28792
  30116. #: guix-git/doc/guix.texi:28829 guix-git/doc/guix.texi:28843
  30117. #: guix-git/doc/guix.texi:28932 guix-git/doc/guix.texi:28939
  30118. #: guix-git/doc/guix.texi:28947 guix-git/doc/guix.texi:29726
  30119. #: guix-git/doc/guix.texi:29866 guix-git/doc/guix.texi:30080
  30120. #: guix-git/doc/guix.texi:30087 guix-git/doc/guix.texi:30109
  30121. #: guix-git/doc/guix.texi:30148 guix-git/doc/guix.texi:30168
  30122. #: guix-git/doc/guix.texi:30182 guix-git/doc/guix.texi:30395
  30123. #: guix-git/doc/guix.texi:32310 guix-git/doc/guix.texi:32398
  30124. #: guix-git/doc/guix.texi:32414 guix-git/doc/guix.texi:32464
  30125. msgid "Defaults to @samp{#t}."
  30126. msgstr ""
  30127. #. type: deftypevr
  30128. #: guix-git/doc/guix.texi:20400
  30129. #, no-wrap
  30130. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  30131. msgstr ""
  30132. #. type: deftypevr
  30133. #: guix-git/doc/guix.texi:20404
  30134. 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."
  30135. msgstr ""
  30136. #. type: deftypevr
  30137. #: guix-git/doc/guix.texi:20406 guix-git/doc/guix.texi:20454
  30138. #: guix-git/doc/guix.texi:20463 guix-git/doc/guix.texi:20775
  30139. #: guix-git/doc/guix.texi:25277 guix-git/doc/guix.texi:25310
  30140. msgid "Defaults to @samp{30}."
  30141. msgstr ""
  30142. #. type: deftypevr
  30143. #: guix-git/doc/guix.texi:20408
  30144. #, no-wrap
  30145. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  30146. msgstr ""
  30147. #. type: deftypevr
  30148. #: guix-git/doc/guix.texi:20414
  30149. 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."
  30150. msgstr ""
  30151. #. type: deftypevr
  30152. #: guix-git/doc/guix.texi:20416
  30153. msgid "Defaults to @samp{stop-printer}."
  30154. msgstr ""
  30155. #. type: deftypevr
  30156. #: guix-git/doc/guix.texi:20418
  30157. #, no-wrap
  30158. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  30159. msgstr ""
  30160. #. type: deftypevr
  30161. #: guix-git/doc/guix.texi:20426
  30162. 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."
  30163. msgstr ""
  30164. #. type: deftypevr
  30165. #: guix-git/doc/guix.texi:20428 guix-git/doc/guix.texi:20436
  30166. #: guix-git/doc/guix.texi:20485 guix-git/doc/guix.texi:20601
  30167. #: guix-git/doc/guix.texi:20615 guix-git/doc/guix.texi:20622
  30168. #: guix-git/doc/guix.texi:22142 guix-git/doc/guix.texi:22158
  30169. #: guix-git/doc/guix.texi:22815 guix-git/doc/guix.texi:22827
  30170. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23615
  30171. #: guix-git/doc/guix.texi:23623 guix-git/doc/guix.texi:23631
  30172. #: guix-git/doc/guix.texi:29742 guix-git/doc/guix.texi:30095
  30173. #: guix-git/doc/guix.texi:32303 guix-git/doc/guix.texi:32603
  30174. #: guix-git/doc/guix.texi:32777
  30175. msgid "Defaults to @samp{0}."
  30176. msgstr ""
  30177. #. type: deftypevr
  30178. #: guix-git/doc/guix.texi:20430
  30179. #, no-wrap
  30180. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  30181. msgstr ""
  30182. #. type: deftypevr
  30183. #: guix-git/doc/guix.texi:20434
  30184. 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."
  30185. msgstr ""
  30186. #. type: deftypevr
  30187. #: guix-git/doc/guix.texi:20438
  30188. #, no-wrap
  30189. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  30190. msgstr ""
  30191. #. type: deftypevr
  30192. #: guix-git/doc/guix.texi:20445
  30193. 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."
  30194. msgstr ""
  30195. #. type: deftypevr
  30196. #: guix-git/doc/guix.texi:20449
  30197. #, no-wrap
  30198. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  30199. msgstr ""
  30200. #. type: deftypevr
  30201. #: guix-git/doc/guix.texi:20452
  30202. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  30203. msgstr ""
  30204. #. type: deftypevr
  30205. #: guix-git/doc/guix.texi:20456
  30206. #, no-wrap
  30207. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  30208. msgstr ""
  30209. #. type: deftypevr
  30210. #: guix-git/doc/guix.texi:20461
  30211. 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}."
  30212. msgstr ""
  30213. #. type: deftypevr
  30214. #: guix-git/doc/guix.texi:20465
  30215. #, no-wrap
  30216. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  30217. msgstr ""
  30218. #. type: deftypevr
  30219. #: guix-git/doc/guix.texi:20470
  30220. 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}."
  30221. msgstr ""
  30222. #. type: deftypevr
  30223. #: guix-git/doc/guix.texi:20472 guix-git/doc/guix.texi:25241
  30224. #: guix-git/doc/guix.texi:30647 guix-git/doc/guix.texi:30667
  30225. #: guix-git/doc/guix.texi:30683 guix-git/doc/guix.texi:30697
  30226. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  30227. #: guix-git/doc/guix.texi:30718 guix-git/doc/guix.texi:30878
  30228. #: guix-git/doc/guix.texi:30894 guix-git/doc/guix.texi:30901
  30229. #: guix-git/doc/guix.texi:30908 guix-git/doc/guix.texi:30919
  30230. #: guix-git/doc/guix.texi:32255 guix-git/doc/guix.texi:32263
  30231. #: guix-git/doc/guix.texi:32271 guix-git/doc/guix.texi:32295
  30232. msgid "Defaults to @samp{5}."
  30233. msgstr ""
  30234. #. type: deftypevr
  30235. #: guix-git/doc/guix.texi:20474
  30236. #, no-wrap
  30237. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  30238. msgstr ""
  30239. #. type: deftypevr
  30240. #: guix-git/doc/guix.texi:20476
  30241. msgid "Specifies whether to support HTTP keep-alive connections."
  30242. msgstr ""
  30243. #. type: deftypevr
  30244. #: guix-git/doc/guix.texi:20480
  30245. #, no-wrap
  30246. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  30247. msgstr ""
  30248. #. type: deftypevr
  30249. #: guix-git/doc/guix.texi:20483
  30250. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  30251. msgstr ""
  30252. #. type: deftypevr
  30253. #: guix-git/doc/guix.texi:20487
  30254. #, no-wrap
  30255. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  30256. msgstr ""
  30257. #. type: deftypevr
  30258. #: guix-git/doc/guix.texi:20494
  30259. 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."
  30260. msgstr ""
  30261. #. type: deftypevr
  30262. #: guix-git/doc/guix.texi:20496
  30263. #, no-wrap
  30264. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  30265. msgstr ""
  30266. #. type: deftypevr
  30267. #: guix-git/doc/guix.texi:20503
  30268. 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."
  30269. msgstr ""
  30270. #. type: deftypevr
  30271. #: guix-git/doc/guix.texi:20505
  30272. msgid "Defaults to @samp{128}."
  30273. msgstr ""
  30274. #. type: deftypevr
  30275. #: guix-git/doc/guix.texi:20507
  30276. #, no-wrap
  30277. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  30278. msgstr ""
  30279. #. type: deftypevr
  30280. #: guix-git/doc/guix.texi:20509
  30281. msgid "Specifies a set of additional access controls."
  30282. msgstr ""
  30283. #. type: deftypevr
  30284. #: guix-git/doc/guix.texi:20511
  30285. msgid "Available @code{location-access-controls} fields are:"
  30286. msgstr ""
  30287. #. type: deftypevr
  30288. #: guix-git/doc/guix.texi:20512
  30289. #, no-wrap
  30290. msgid "{@code{location-access-controls} parameter} file-name path"
  30291. msgstr ""
  30292. #. type: deftypevr
  30293. #: guix-git/doc/guix.texi:20514
  30294. msgid "Specifies the URI path to which the access control applies."
  30295. msgstr ""
  30296. #. type: deftypevr
  30297. #: guix-git/doc/guix.texi:20516
  30298. #, no-wrap
  30299. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  30300. msgstr ""
  30301. #. type: deftypevr
  30302. #: guix-git/doc/guix.texi:20519
  30303. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  30304. msgstr ""
  30305. #. type: deftypevr
  30306. #: guix-git/doc/guix.texi:20521 guix-git/doc/guix.texi:20527
  30307. #: guix-git/doc/guix.texi:20541 guix-git/doc/guix.texi:20548
  30308. #: guix-git/doc/guix.texi:20690 guix-git/doc/guix.texi:20749
  30309. #: guix-git/doc/guix.texi:20827 guix-git/doc/guix.texi:20841
  30310. #: guix-git/doc/guix.texi:22022 guix-git/doc/guix.texi:22031
  30311. #: guix-git/doc/guix.texi:23301 guix-git/doc/guix.texi:23504
  30312. #: guix-git/doc/guix.texi:23532 guix-git/doc/guix.texi:23562
  30313. #: guix-git/doc/guix.texi:23677 guix-git/doc/guix.texi:23690
  30314. #: guix-git/doc/guix.texi:23697 guix-git/doc/guix.texi:25447
  30315. #: guix-git/doc/guix.texi:26283 guix-git/doc/guix.texi:26291
  30316. #: guix-git/doc/guix.texi:26536 guix-git/doc/guix.texi:28672
  30317. #: guix-git/doc/guix.texi:28850 guix-git/doc/guix.texi:29049
  30318. #: guix-git/doc/guix.texi:30538 guix-git/doc/guix.texi:30598
  30319. #: guix-git/doc/guix.texi:30606 guix-git/doc/guix.texi:32318
  30320. #: guix-git/doc/guix.texi:32325 guix-git/doc/guix.texi:32667
  30321. #: guix-git/doc/guix.texi:32745 guix-git/doc/guix.texi:32839
  30322. #: guix-git/doc/guix.texi:32847 guix-git/doc/guix.texi:32883
  30323. #: guix-git/doc/guix.texi:33033 guix-git/doc/guix.texi:33084
  30324. #: guix-git/doc/guix.texi:33093
  30325. msgid "Defaults to @samp{()}."
  30326. msgstr ""
  30327. #. type: deftypevr
  30328. #: guix-git/doc/guix.texi:20523
  30329. #, no-wrap
  30330. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  30331. msgstr ""
  30332. #. type: deftypevr
  30333. #: guix-git/doc/guix.texi:20525
  30334. msgid "Access controls for method-specific access to this path."
  30335. msgstr ""
  30336. #. type: deftypevr
  30337. #: guix-git/doc/guix.texi:20529
  30338. msgid "Available @code{method-access-controls} fields are:"
  30339. msgstr ""
  30340. #. type: deftypevr
  30341. #: guix-git/doc/guix.texi:20530
  30342. #, no-wrap
  30343. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  30344. msgstr ""
  30345. #. type: deftypevr
  30346. #: guix-git/doc/guix.texi:20533
  30347. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  30348. msgstr ""
  30349. #. type: deftypevr
  30350. #: guix-git/doc/guix.texi:20537
  30351. #, no-wrap
  30352. msgid "{@code{method-access-controls} parameter} method-list methods"
  30353. msgstr ""
  30354. #. type: deftypevr
  30355. #: guix-git/doc/guix.texi:20539
  30356. msgid "Methods to which this access control applies."
  30357. msgstr ""
  30358. #. type: deftypevr
  30359. #: guix-git/doc/guix.texi:20543
  30360. #, no-wrap
  30361. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  30362. msgstr ""
  30363. #. type: deftypevr
  30364. #: guix-git/doc/guix.texi:20546
  30365. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  30366. msgstr ""
  30367. #. type: deftypevr
  30368. #: guix-git/doc/guix.texi:20552
  30369. #, no-wrap
  30370. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  30371. msgstr ""
  30372. #. type: deftypevr
  30373. #: guix-git/doc/guix.texi:20556
  30374. 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."
  30375. msgstr ""
  30376. #. type: deftypevr
  30377. #: guix-git/doc/guix.texi:20558 guix-git/doc/guix.texi:20579
  30378. #: guix-git/doc/guix.texi:20586 guix-git/doc/guix.texi:23061
  30379. #: guix-git/doc/guix.texi:24979 guix-git/doc/guix.texi:24994
  30380. #: guix-git/doc/guix.texi:29034
  30381. msgid "Defaults to @samp{100}."
  30382. msgstr ""
  30383. #. type: deftypevr
  30384. #: guix-git/doc/guix.texi:20560
  30385. #, no-wrap
  30386. msgid "{@code{cups-configuration} parameter} log-level log-level"
  30387. msgstr ""
  30388. #. type: deftypevr
  30389. #: guix-git/doc/guix.texi:20563
  30390. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  30391. msgstr ""
  30392. #. type: deftypevr
  30393. #: guix-git/doc/guix.texi:20565 guix-git/doc/guix.texi:25456
  30394. msgid "Defaults to @samp{info}."
  30395. msgstr ""
  30396. #. type: deftypevr
  30397. #: guix-git/doc/guix.texi:20567
  30398. #, no-wrap
  30399. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  30400. msgstr ""
  30401. #. type: deftypevr
  30402. #: guix-git/doc/guix.texi:20570
  30403. 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."
  30404. msgstr ""
  30405. #. type: deftypevr
  30406. #: guix-git/doc/guix.texi:20572
  30407. msgid "Defaults to @samp{standard}."
  30408. msgstr ""
  30409. #. type: deftypevr
  30410. #: guix-git/doc/guix.texi:20574
  30411. #, no-wrap
  30412. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  30413. msgstr ""
  30414. #. type: deftypevr
  30415. #: guix-git/doc/guix.texi:20577
  30416. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  30417. msgstr ""
  30418. #. type: deftypevr
  30419. #: guix-git/doc/guix.texi:20581
  30420. #, no-wrap
  30421. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  30422. msgstr ""
  30423. #. type: deftypevr
  30424. #: guix-git/doc/guix.texi:20584
  30425. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  30426. msgstr ""
  30427. #. type: deftypevr
  30428. #: guix-git/doc/guix.texi:20588
  30429. #, no-wrap
  30430. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  30431. msgstr ""
  30432. #. type: deftypevr
  30433. #: guix-git/doc/guix.texi:20591
  30434. msgid "Specifies the maximum number of copies that a user can print of each job."
  30435. msgstr ""
  30436. #. type: deftypevr
  30437. #: guix-git/doc/guix.texi:20593
  30438. msgid "Defaults to @samp{9999}."
  30439. msgstr ""
  30440. #. type: deftypevr
  30441. #: guix-git/doc/guix.texi:20595
  30442. #, no-wrap
  30443. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  30444. msgstr ""
  30445. #. type: deftypevr
  30446. #: guix-git/doc/guix.texi:20599
  30447. 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."
  30448. msgstr ""
  30449. #. type: deftypevr
  30450. #: guix-git/doc/guix.texi:20603
  30451. #, no-wrap
  30452. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  30453. msgstr ""
  30454. #. type: deftypevr
  30455. #: guix-git/doc/guix.texi:20606
  30456. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  30457. msgstr ""
  30458. #. type: deftypevr
  30459. #: guix-git/doc/guix.texi:20608
  30460. msgid "Defaults to @samp{500}."
  30461. msgstr ""
  30462. #. type: deftypevr
  30463. #: guix-git/doc/guix.texi:20610
  30464. #, no-wrap
  30465. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  30466. msgstr ""
  30467. #. type: deftypevr
  30468. #: guix-git/doc/guix.texi:20613
  30469. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  30470. msgstr ""
  30471. #. type: deftypevr
  30472. #: guix-git/doc/guix.texi:20617
  30473. #, no-wrap
  30474. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  30475. msgstr ""
  30476. #. type: deftypevr
  30477. #: guix-git/doc/guix.texi:20620
  30478. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  30479. msgstr ""
  30480. #. type: deftypevr
  30481. #: guix-git/doc/guix.texi:20624
  30482. #, no-wrap
  30483. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  30484. msgstr ""
  30485. #. type: deftypevr
  30486. #: guix-git/doc/guix.texi:20627
  30487. 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."
  30488. msgstr ""
  30489. #. type: deftypevr
  30490. #: guix-git/doc/guix.texi:20629
  30491. msgid "Defaults to @samp{10800}."
  30492. msgstr ""
  30493. #. type: deftypevr
  30494. #: guix-git/doc/guix.texi:20631
  30495. #, no-wrap
  30496. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  30497. msgstr ""
  30498. #. type: deftypevr
  30499. #: guix-git/doc/guix.texi:20634
  30500. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  30501. msgstr ""
  30502. #. type: deftypevr
  30503. #: guix-git/doc/guix.texi:20636
  30504. msgid "Defaults to @samp{1048576}."
  30505. msgstr ""
  30506. #. type: deftypevr
  30507. #: guix-git/doc/guix.texi:20638
  30508. #, no-wrap
  30509. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  30510. msgstr ""
  30511. #. type: deftypevr
  30512. #: guix-git/doc/guix.texi:20641
  30513. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  30514. msgstr ""
  30515. #. type: deftypevr
  30516. #: guix-git/doc/guix.texi:20643 guix-git/doc/guix.texi:20854
  30517. msgid "Defaults to @samp{900}."
  30518. msgstr ""
  30519. #. type: deftypevr
  30520. #: guix-git/doc/guix.texi:20645
  30521. #, no-wrap
  30522. msgid "{@code{cups-configuration} parameter} string page-log-format"
  30523. msgstr ""
  30524. #. type: deftypevr
  30525. #: guix-git/doc/guix.texi:20650
  30526. 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:"
  30527. msgstr ""
  30528. #. type: item
  30529. #: guix-git/doc/guix.texi:20652
  30530. #, no-wrap
  30531. msgid "%%"
  30532. msgstr ""
  30533. #. type: table
  30534. #: guix-git/doc/guix.texi:20654
  30535. msgid "insert a single percent character"
  30536. msgstr ""
  30537. #. type: item
  30538. #: guix-git/doc/guix.texi:20655
  30539. #, no-wrap
  30540. msgid "%@{name@}"
  30541. msgstr ""
  30542. #. type: table
  30543. #: guix-git/doc/guix.texi:20657
  30544. msgid "insert the value of the specified IPP attribute"
  30545. msgstr ""
  30546. #. type: item
  30547. #: guix-git/doc/guix.texi:20658
  30548. #, no-wrap
  30549. msgid "%C"
  30550. msgstr ""
  30551. #. type: table
  30552. #: guix-git/doc/guix.texi:20660
  30553. msgid "insert the number of copies for the current page"
  30554. msgstr ""
  30555. #. type: item
  30556. #: guix-git/doc/guix.texi:20661
  30557. #, no-wrap
  30558. msgid "%P"
  30559. msgstr ""
  30560. #. type: table
  30561. #: guix-git/doc/guix.texi:20663
  30562. msgid "insert the current page number"
  30563. msgstr ""
  30564. #. type: item
  30565. #: guix-git/doc/guix.texi:20664
  30566. #, no-wrap
  30567. msgid "%T"
  30568. msgstr ""
  30569. #. type: table
  30570. #: guix-git/doc/guix.texi:20666
  30571. msgid "insert the current date and time in common log format"
  30572. msgstr ""
  30573. #. type: item
  30574. #: guix-git/doc/guix.texi:20667
  30575. #, no-wrap
  30576. msgid "%j"
  30577. msgstr ""
  30578. #. type: table
  30579. #: guix-git/doc/guix.texi:20669
  30580. msgid "insert the job ID"
  30581. msgstr ""
  30582. #. type: item
  30583. #: guix-git/doc/guix.texi:20670 guix-git/doc/guix.texi:22660
  30584. #, no-wrap
  30585. msgid "%p"
  30586. msgstr ""
  30587. #. type: table
  30588. #: guix-git/doc/guix.texi:20672
  30589. msgid "insert the printer name"
  30590. msgstr ""
  30591. #. type: item
  30592. #: guix-git/doc/guix.texi:20673 guix-git/doc/guix.texi:22683
  30593. #, no-wrap
  30594. msgid "%u"
  30595. msgstr ""
  30596. #. type: table
  30597. #: guix-git/doc/guix.texi:20675
  30598. msgid "insert the username"
  30599. msgstr ""
  30600. #. type: deftypevr
  30601. #: guix-git/doc/guix.texi:20681
  30602. 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."
  30603. msgstr ""
  30604. #. type: deftypevr
  30605. #: guix-git/doc/guix.texi:20685
  30606. #, no-wrap
  30607. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  30608. msgstr ""
  30609. #. type: deftypevr
  30610. #: guix-git/doc/guix.texi:20688
  30611. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  30612. msgstr ""
  30613. #. type: deftypevr
  30614. #: guix-git/doc/guix.texi:20692
  30615. #, no-wrap
  30616. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  30617. msgstr ""
  30618. #. type: deftypevr
  30619. #: guix-git/doc/guix.texi:20694
  30620. msgid "Specifies named access control policies."
  30621. msgstr ""
  30622. #. type: deftypevr
  30623. #: guix-git/doc/guix.texi:20696
  30624. msgid "Available @code{policy-configuration} fields are:"
  30625. msgstr ""
  30626. #. type: deftypevr
  30627. #: guix-git/doc/guix.texi:20697
  30628. #, no-wrap
  30629. msgid "{@code{policy-configuration} parameter} string name"
  30630. msgstr ""
  30631. #. type: deftypevr
  30632. #: guix-git/doc/guix.texi:20699
  30633. msgid "Name of the policy."
  30634. msgstr ""
  30635. #. type: deftypevr
  30636. #: guix-git/doc/guix.texi:20701
  30637. #, no-wrap
  30638. msgid "{@code{policy-configuration} parameter} string job-private-access"
  30639. msgstr ""
  30640. #. type: deftypevr
  30641. #: guix-git/doc/guix.texi:20711
  30642. 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}."
  30643. msgstr ""
  30644. #. type: deftypevr
  30645. #: guix-git/doc/guix.texi:20713 guix-git/doc/guix.texi:20735
  30646. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  30647. msgstr ""
  30648. #. type: deftypevr
  30649. #: guix-git/doc/guix.texi:20715
  30650. #, no-wrap
  30651. msgid "{@code{policy-configuration} parameter} string job-private-values"
  30652. msgstr ""
  30653. #. type: deftypevr
  30654. #: guix-git/doc/guix.texi:20718 guix-git/doc/guix.texi:20740
  30655. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  30656. msgstr ""
  30657. #. type: deftypevr
  30658. #: guix-git/doc/guix.texi:20721
  30659. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  30660. msgstr ""
  30661. #. type: deftypevr
  30662. #: guix-git/doc/guix.texi:20723
  30663. #, no-wrap
  30664. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  30665. msgstr ""
  30666. #. type: deftypevr
  30667. #: guix-git/doc/guix.texi:20733
  30668. 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}."
  30669. msgstr ""
  30670. #. type: deftypevr
  30671. #: guix-git/doc/guix.texi:20737
  30672. #, no-wrap
  30673. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  30674. msgstr ""
  30675. #. type: deftypevr
  30676. #: guix-git/doc/guix.texi:20743
  30677. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  30678. msgstr ""
  30679. #. type: deftypevr
  30680. #: guix-git/doc/guix.texi:20745
  30681. #, no-wrap
  30682. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  30683. msgstr ""
  30684. #. type: deftypevr
  30685. #: guix-git/doc/guix.texi:20747
  30686. msgid "Access control by IPP operation."
  30687. msgstr ""
  30688. #. type: deftypevr
  30689. #: guix-git/doc/guix.texi:20752
  30690. #, no-wrap
  30691. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  30692. msgstr ""
  30693. #. type: deftypevr
  30694. #: guix-git/doc/guix.texi:20757
  30695. 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."
  30696. msgstr ""
  30697. #. type: deftypevr
  30698. #: guix-git/doc/guix.texi:20759
  30699. msgid "Defaults to @samp{86400}."
  30700. msgstr ""
  30701. #. type: deftypevr
  30702. #: guix-git/doc/guix.texi:20761
  30703. #, no-wrap
  30704. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  30705. msgstr ""
  30706. #. type: deftypevr
  30707. #: guix-git/doc/guix.texi:20766
  30708. 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."
  30709. msgstr ""
  30710. #. type: deftypevr
  30711. #: guix-git/doc/guix.texi:20770
  30712. #, no-wrap
  30713. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  30714. msgstr ""
  30715. #. type: deftypevr
  30716. #: guix-git/doc/guix.texi:20773
  30717. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  30718. msgstr ""
  30719. #. type: deftypevr
  30720. #: guix-git/doc/guix.texi:20777
  30721. #, no-wrap
  30722. msgid "{@code{cups-configuration} parameter} string rip-cache"
  30723. msgstr ""
  30724. #. type: deftypevr
  30725. #: guix-git/doc/guix.texi:20780
  30726. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  30727. msgstr ""
  30728. #. type: deftypevr
  30729. #: guix-git/doc/guix.texi:20782
  30730. msgid "Defaults to @samp{\"128m\"}."
  30731. msgstr ""
  30732. #. type: deftypevr
  30733. #: guix-git/doc/guix.texi:20784
  30734. #, no-wrap
  30735. msgid "{@code{cups-configuration} parameter} string server-admin"
  30736. msgstr ""
  30737. #. type: deftypevr
  30738. #: guix-git/doc/guix.texi:20786
  30739. msgid "Specifies the email address of the server administrator."
  30740. msgstr ""
  30741. #. type: deftypevr
  30742. #: guix-git/doc/guix.texi:20788
  30743. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  30744. msgstr ""
  30745. #. type: deftypevr
  30746. #: guix-git/doc/guix.texi:20790
  30747. #, no-wrap
  30748. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  30749. msgstr ""
  30750. #. type: deftypevr
  30751. #: guix-git/doc/guix.texi:20798
  30752. 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{*}."
  30753. msgstr ""
  30754. #. type: deftypevr
  30755. #: guix-git/doc/guix.texi:20800
  30756. msgid "Defaults to @samp{*}."
  30757. msgstr ""
  30758. #. type: deftypevr
  30759. #: guix-git/doc/guix.texi:20802
  30760. #, no-wrap
  30761. msgid "{@code{cups-configuration} parameter} string server-name"
  30762. msgstr ""
  30763. #. type: deftypevr
  30764. #: guix-git/doc/guix.texi:20804
  30765. msgid "Specifies the fully-qualified host name of the server."
  30766. msgstr ""
  30767. #. type: deftypevr
  30768. #: guix-git/doc/guix.texi:20806
  30769. msgid "Defaults to @samp{\"localhost\"}."
  30770. msgstr ""
  30771. #. type: deftypevr
  30772. #: guix-git/doc/guix.texi:20808
  30773. #, no-wrap
  30774. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  30775. msgstr ""
  30776. #. type: deftypevr
  30777. #: guix-git/doc/guix.texi:20816
  30778. 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}."
  30779. msgstr ""
  30780. #. type: deftypevr
  30781. #: guix-git/doc/guix.texi:20818
  30782. msgid "Defaults to @samp{Minimal}."
  30783. msgstr ""
  30784. #. type: deftypevr
  30785. #: guix-git/doc/guix.texi:20820
  30786. #, no-wrap
  30787. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  30788. msgstr ""
  30789. #. type: deftypevr
  30790. #: guix-git/doc/guix.texi:20825
  30791. 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."
  30792. msgstr ""
  30793. #. type: deftypevr
  30794. #: guix-git/doc/guix.texi:20829
  30795. #, no-wrap
  30796. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  30797. msgstr ""
  30798. #. type: deftypevr
  30799. #: guix-git/doc/guix.texi:20839
  30800. 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."
  30801. msgstr ""
  30802. #. type: deftypevr
  30803. #: guix-git/doc/guix.texi:20843
  30804. #, no-wrap
  30805. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  30806. msgstr ""
  30807. #. type: deftypevr
  30808. #: guix-git/doc/guix.texi:20846
  30809. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  30810. msgstr ""
  30811. #. type: deftypevr
  30812. #: guix-git/doc/guix.texi:20850
  30813. #, no-wrap
  30814. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  30815. msgstr ""
  30816. #. type: deftypevr
  30817. #: guix-git/doc/guix.texi:20852
  30818. msgid "Specifies the HTTP request timeout, in seconds."
  30819. msgstr ""
  30820. #. type: deftypevr
  30821. #: guix-git/doc/guix.texi:20857
  30822. #, no-wrap
  30823. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  30824. msgstr ""
  30825. #. type: deftypevr
  30826. #: guix-git/doc/guix.texi:20859
  30827. msgid "Specifies whether the web interface is enabled."
  30828. msgstr ""
  30829. #. type: Plain text
  30830. #: guix-git/doc/guix.texi:20869
  30831. 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}."
  30832. msgstr ""
  30833. #. type: Plain text
  30834. #: guix-git/doc/guix.texi:20871
  30835. msgid "Available @code{opaque-cups-configuration} fields are:"
  30836. msgstr ""
  30837. #. type: deftypevr
  30838. #: guix-git/doc/guix.texi:20872
  30839. #, no-wrap
  30840. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  30841. msgstr ""
  30842. #. type: deftypevr
  30843. #: guix-git/doc/guix.texi:20876
  30844. #, no-wrap
  30845. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  30846. msgstr ""
  30847. #. type: deftypevr
  30848. #: guix-git/doc/guix.texi:20878
  30849. msgid "The contents of the @code{cupsd.conf}, as a string."
  30850. msgstr ""
  30851. #. type: deftypevr
  30852. #: guix-git/doc/guix.texi:20880
  30853. #, no-wrap
  30854. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  30855. msgstr ""
  30856. #. type: deftypevr
  30857. #: guix-git/doc/guix.texi:20882
  30858. msgid "The contents of the @code{cups-files.conf} file, as a string."
  30859. msgstr ""
  30860. #. type: Plain text
  30861. #: guix-git/doc/guix.texi:20887
  30862. 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:"
  30863. msgstr ""
  30864. #. type: lisp
  30865. #: guix-git/doc/guix.texi:20893
  30866. #, no-wrap
  30867. msgid ""
  30868. "(service cups-service-type\n"
  30869. " (opaque-cups-configuration\n"
  30870. " (cupsd.conf cupsd.conf)\n"
  30871. " (cups-files.conf cups-files.conf)))\n"
  30872. msgstr ""
  30873. #. type: Plain text
  30874. #: guix-git/doc/guix.texi:20904
  30875. 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."
  30876. msgstr ""
  30877. #. type: Plain text
  30878. #: guix-git/doc/guix.texi:20908
  30879. 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:"
  30880. msgstr ""
  30881. #. type: defvr
  30882. #: guix-git/doc/guix.texi:20909
  30883. #, no-wrap
  30884. msgid "{Scheme Variable} %desktop-services"
  30885. msgstr ""
  30886. #. type: defvr
  30887. #: guix-git/doc/guix.texi:20912
  30888. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  30889. msgstr ""
  30890. #. type: defvr
  30891. #: guix-git/doc/guix.texi:20923
  30892. 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})."
  30893. msgstr ""
  30894. #. type: Plain text
  30895. #: guix-git/doc/guix.texi:20928
  30896. 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}})."
  30897. msgstr ""
  30898. #. type: Plain text
  30899. #: guix-git/doc/guix.texi:20951
  30900. 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."
  30901. msgstr ""
  30902. #. type: Plain text
  30903. #: guix-git/doc/guix.texi:20961
  30904. 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."
  30905. msgstr ""
  30906. #. type: defvr
  30907. #: guix-git/doc/guix.texi:20962
  30908. #, no-wrap
  30909. msgid "{Scheme Variable} gnome-desktop-service-type"
  30910. msgstr ""
  30911. #. type: defvr
  30912. #: guix-git/doc/guix.texi:20966
  30913. 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)."
  30914. msgstr ""
  30915. #. type: defvr
  30916. #: guix-git/doc/guix.texi:20969
  30917. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  30918. msgstr ""
  30919. #. type: deftp
  30920. #: guix-git/doc/guix.texi:20971
  30921. #, no-wrap
  30922. msgid "{Data Type} gnome-desktop-configuration"
  30923. msgstr ""
  30924. #. type: deftp
  30925. #: guix-git/doc/guix.texi:20973
  30926. msgid "Configuration record for the GNOME desktop environment."
  30927. msgstr ""
  30928. #. type: item
  30929. #: guix-git/doc/guix.texi:20975
  30930. #, no-wrap
  30931. msgid "@code{gnome} (default: @code{gnome})"
  30932. msgstr ""
  30933. #. type: table
  30934. #: guix-git/doc/guix.texi:20977
  30935. msgid "The GNOME package to use."
  30936. msgstr ""
  30937. #. type: defvr
  30938. #: guix-git/doc/guix.texi:20980
  30939. #, no-wrap
  30940. msgid "{Scheme Variable} xfce-desktop-service-type"
  30941. msgstr ""
  30942. #. type: defvr
  30943. #: guix-git/doc/guix.texi:20984
  30944. 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)."
  30945. msgstr ""
  30946. #. type: defvr
  30947. #: guix-git/doc/guix.texi:20989
  30948. 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."
  30949. msgstr ""
  30950. #. type: defvr
  30951. #: guix-git/doc/guix.texi:20995
  30952. 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}."
  30953. msgstr ""
  30954. #. type: deftp
  30955. #: guix-git/doc/guix.texi:20997
  30956. #, no-wrap
  30957. msgid "{Data Type} xfce-desktop-configuration"
  30958. msgstr ""
  30959. #. type: deftp
  30960. #: guix-git/doc/guix.texi:20999
  30961. msgid "Configuration record for the Xfce desktop environment."
  30962. msgstr ""
  30963. #. type: item
  30964. #: guix-git/doc/guix.texi:21001
  30965. #, no-wrap
  30966. msgid "@code{xfce} (default: @code{xfce})"
  30967. msgstr ""
  30968. #. type: table
  30969. #: guix-git/doc/guix.texi:21003
  30970. msgid "The Xfce package to use."
  30971. msgstr ""
  30972. #. type: deffn
  30973. #: guix-git/doc/guix.texi:21006
  30974. #, no-wrap
  30975. msgid "{Scheme Variable} mate-desktop-service-type"
  30976. msgstr ""
  30977. #. type: deffn
  30978. #: guix-git/doc/guix.texi:21010
  30979. 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)."
  30980. msgstr ""
  30981. #. type: deffn
  30982. #: guix-git/doc/guix.texi:21014
  30983. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  30984. msgstr ""
  30985. #. type: deftp
  30986. #: guix-git/doc/guix.texi:21016
  30987. #, no-wrap
  30988. msgid "{Data Type} mate-desktop-configuration"
  30989. msgstr ""
  30990. #. type: deftp
  30991. #: guix-git/doc/guix.texi:21018
  30992. msgid "Configuration record for the MATE desktop environment."
  30993. msgstr ""
  30994. #. type: item
  30995. #: guix-git/doc/guix.texi:21020
  30996. #, no-wrap
  30997. msgid "@code{mate} (default: @code{mate})"
  30998. msgstr ""
  30999. #. type: table
  31000. #: guix-git/doc/guix.texi:21022
  31001. msgid "The MATE package to use."
  31002. msgstr ""
  31003. #. type: deffn
  31004. #: guix-git/doc/guix.texi:21025
  31005. #, no-wrap
  31006. msgid "{Scheme Variable} lxqt-desktop-service-type"
  31007. msgstr ""
  31008. #. type: deffn
  31009. #: guix-git/doc/guix.texi:21029
  31010. 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)."
  31011. msgstr ""
  31012. #. type: deffn
  31013. #: guix-git/doc/guix.texi:21032
  31014. msgid "This service adds the @code{lxqt} package to the system profile."
  31015. msgstr ""
  31016. #. type: deftp
  31017. #: guix-git/doc/guix.texi:21034
  31018. #, no-wrap
  31019. msgid "{Data Type} lxqt-desktop-configuration"
  31020. msgstr ""
  31021. #. type: deftp
  31022. #: guix-git/doc/guix.texi:21036
  31023. msgid "Configuration record for the LXQt desktop environment."
  31024. msgstr ""
  31025. #. type: item
  31026. #: guix-git/doc/guix.texi:21038
  31027. #, no-wrap
  31028. msgid "@code{lxqt} (default: @code{lxqt})"
  31029. msgstr ""
  31030. #. type: table
  31031. #: guix-git/doc/guix.texi:21040
  31032. msgid "The LXQT package to use."
  31033. msgstr ""
  31034. #. type: deffn
  31035. #: guix-git/doc/guix.texi:21043
  31036. #, no-wrap
  31037. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  31038. msgstr ""
  31039. #. type: deffn
  31040. #: guix-git/doc/guix.texi:21046
  31041. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  31042. msgstr ""
  31043. #. type: deftp
  31044. #: guix-git/doc/guix.texi:21048
  31045. #, no-wrap
  31046. msgid "{Data Type} enlightenment-desktop-service-configuration"
  31047. msgstr ""
  31048. #. type: item
  31049. #: guix-git/doc/guix.texi:21050
  31050. #, no-wrap
  31051. msgid "@code{enlightenment} (default: @code{enlightenment})"
  31052. msgstr ""
  31053. #. type: table
  31054. #: guix-git/doc/guix.texi:21052
  31055. msgid "The enlightenment package to use."
  31056. msgstr ""
  31057. #. type: Plain text
  31058. #: guix-git/doc/guix.texi:21060
  31059. 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}:"
  31060. msgstr ""
  31061. #. type: lisp
  31062. #: guix-git/doc/guix.texi:21071
  31063. #, no-wrap
  31064. msgid ""
  31065. "(use-modules (gnu))\n"
  31066. "(use-service-modules desktop)\n"
  31067. "(operating-system\n"
  31068. " ...\n"
  31069. " ;; cons* adds items to the list given as its last argument.\n"
  31070. " (services (cons* (service gnome-desktop-service-type)\n"
  31071. " (service xfce-desktop-service)\n"
  31072. " %desktop-services))\n"
  31073. " ...)\n"
  31074. msgstr ""
  31075. #. type: Plain text
  31076. #: guix-git/doc/guix.texi:21075
  31077. msgid "These desktop environments will then be available as options in the graphical login window."
  31078. msgstr ""
  31079. #. type: Plain text
  31080. #: guix-git/doc/guix.texi:21079
  31081. 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."
  31082. msgstr ""
  31083. #. type: deffn
  31084. #: guix-git/doc/guix.texi:21080
  31085. #, no-wrap
  31086. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  31087. msgstr ""
  31088. #. type: deffn
  31089. #: guix-git/doc/guix.texi:21083
  31090. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  31091. msgstr ""
  31092. #. type: deffn
  31093. #: guix-git/doc/guix.texi:21087
  31094. 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."
  31095. msgstr ""
  31096. #. type: deffn
  31097. #: guix-git/doc/guix.texi:21092
  31098. 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)}."
  31099. msgstr ""
  31100. #. type: deffn
  31101. #: guix-git/doc/guix.texi:21094
  31102. #, no-wrap
  31103. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  31104. msgstr ""
  31105. #. type: deffn
  31106. #: guix-git/doc/guix.texi:21100
  31107. 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."
  31108. msgstr ""
  31109. #. type: deffn
  31110. #: guix-git/doc/guix.texi:21104
  31111. 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."
  31112. msgstr ""
  31113. #. type: deffn
  31114. #: guix-git/doc/guix.texi:21109
  31115. 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:"
  31116. msgstr ""
  31117. #. type: item
  31118. #: guix-git/doc/guix.texi:21111
  31119. #, no-wrap
  31120. msgid "kill-user-processes?"
  31121. msgstr ""
  31122. #. type: code{#1}
  31123. #: guix-git/doc/guix.texi:21113 guix-git/doc/guix.texi:21133
  31124. #: guix-git/doc/guix.texi:21135 guix-git/doc/guix.texi:21137
  31125. #: guix-git/doc/guix.texi:21149
  31126. msgid "#f"
  31127. msgstr ""
  31128. #. type: item
  31129. #: guix-git/doc/guix.texi:21113
  31130. #, no-wrap
  31131. msgid "kill-only-users"
  31132. msgstr ""
  31133. #. type: code{#1}
  31134. #: guix-git/doc/guix.texi:21115 guix-git/doc/guix.texi:21155
  31135. msgid "()"
  31136. msgstr ""
  31137. #. type: item
  31138. #: guix-git/doc/guix.texi:21115
  31139. #, no-wrap
  31140. msgid "kill-exclude-users"
  31141. msgstr ""
  31142. #. type: code{#1}
  31143. #: guix-git/doc/guix.texi:21117
  31144. msgid "(\"root\")"
  31145. msgstr ""
  31146. #. type: item
  31147. #: guix-git/doc/guix.texi:21117
  31148. #, no-wrap
  31149. msgid "inhibit-delay-max-seconds"
  31150. msgstr ""
  31151. #. type: code{#1}
  31152. #: guix-git/doc/guix.texi:21119
  31153. msgid "5"
  31154. msgstr ""
  31155. #. type: item
  31156. #: guix-git/doc/guix.texi:21119
  31157. #, no-wrap
  31158. msgid "handle-power-key"
  31159. msgstr ""
  31160. #. type: code{#1}
  31161. #: guix-git/doc/guix.texi:21121
  31162. msgid "poweroff"
  31163. msgstr ""
  31164. #. type: item
  31165. #: guix-git/doc/guix.texi:21121
  31166. #, no-wrap
  31167. msgid "handle-suspend-key"
  31168. msgstr ""
  31169. #. type: code{#1}
  31170. #: guix-git/doc/guix.texi:21123 guix-git/doc/guix.texi:21127
  31171. msgid "suspend"
  31172. msgstr ""
  31173. #. type: item
  31174. #: guix-git/doc/guix.texi:21123
  31175. #, no-wrap
  31176. msgid "handle-hibernate-key"
  31177. msgstr ""
  31178. #. type: code{#1}
  31179. #: guix-git/doc/guix.texi:21125
  31180. msgid "hibernate"
  31181. msgstr ""
  31182. #. type: item
  31183. #: guix-git/doc/guix.texi:21125
  31184. #, no-wrap
  31185. msgid "handle-lid-switch"
  31186. msgstr ""
  31187. #. type: item
  31188. #: guix-git/doc/guix.texi:21127
  31189. #, no-wrap
  31190. msgid "handle-lid-switch-docked"
  31191. msgstr ""
  31192. #. type: code{#1}
  31193. #: guix-git/doc/guix.texi:21129 guix-git/doc/guix.texi:21131
  31194. #: guix-git/doc/guix.texi:21143
  31195. msgid "ignore"
  31196. msgstr ""
  31197. #. type: item
  31198. #: guix-git/doc/guix.texi:21129
  31199. #, no-wrap
  31200. msgid "handle-lid-switch-external-power"
  31201. msgstr ""
  31202. #. type: item
  31203. #: guix-git/doc/guix.texi:21131
  31204. #, no-wrap
  31205. msgid "power-key-ignore-inhibited?"
  31206. msgstr ""
  31207. #. type: item
  31208. #: guix-git/doc/guix.texi:21133
  31209. #, no-wrap
  31210. msgid "suspend-key-ignore-inhibited?"
  31211. msgstr ""
  31212. #. type: item
  31213. #: guix-git/doc/guix.texi:21135
  31214. #, no-wrap
  31215. msgid "hibernate-key-ignore-inhibited?"
  31216. msgstr ""
  31217. #. type: item
  31218. #: guix-git/doc/guix.texi:21137
  31219. #, no-wrap
  31220. msgid "lid-switch-ignore-inhibited?"
  31221. msgstr ""
  31222. #. type: code{#1}
  31223. #: guix-git/doc/guix.texi:21139 guix-git/doc/guix.texi:21151
  31224. msgid "#t"
  31225. msgstr ""
  31226. #. type: item
  31227. #: guix-git/doc/guix.texi:21139
  31228. #, no-wrap
  31229. msgid "holdoff-timeout-seconds"
  31230. msgstr ""
  31231. #. type: code{#1}
  31232. #: guix-git/doc/guix.texi:21141
  31233. msgid "30"
  31234. msgstr ""
  31235. #. type: item
  31236. #: guix-git/doc/guix.texi:21141
  31237. #, no-wrap
  31238. msgid "idle-action"
  31239. msgstr ""
  31240. #. type: item
  31241. #: guix-git/doc/guix.texi:21143
  31242. #, no-wrap
  31243. msgid "idle-action-seconds"
  31244. msgstr ""
  31245. #. type: code{#1}
  31246. #: guix-git/doc/guix.texi:21145
  31247. msgid "(* 30 60)"
  31248. msgstr ""
  31249. #. type: item
  31250. #: guix-git/doc/guix.texi:21145
  31251. #, no-wrap
  31252. msgid "runtime-directory-size-percent"
  31253. msgstr ""
  31254. #. type: code{#1}
  31255. #: guix-git/doc/guix.texi:21147
  31256. msgid "10"
  31257. msgstr ""
  31258. #. type: item
  31259. #: guix-git/doc/guix.texi:21147
  31260. #, no-wrap
  31261. msgid "runtime-directory-size"
  31262. msgstr ""
  31263. #. type: item
  31264. #: guix-git/doc/guix.texi:21149
  31265. #, no-wrap
  31266. msgid "remove-ipc?"
  31267. msgstr ""
  31268. #. type: item
  31269. #: guix-git/doc/guix.texi:21151
  31270. #, no-wrap
  31271. msgid "suspend-state"
  31272. msgstr ""
  31273. #. type: code{#1}
  31274. #: guix-git/doc/guix.texi:21153
  31275. msgid "(\"mem\" \"standby\" \"freeze\")"
  31276. msgstr ""
  31277. #. type: item
  31278. #: guix-git/doc/guix.texi:21153
  31279. #, no-wrap
  31280. msgid "suspend-mode"
  31281. msgstr ""
  31282. #. type: item
  31283. #: guix-git/doc/guix.texi:21155
  31284. #, no-wrap
  31285. msgid "hibernate-state"
  31286. msgstr ""
  31287. #. type: code{#1}
  31288. #: guix-git/doc/guix.texi:21157 guix-git/doc/guix.texi:21161
  31289. msgid "(\"disk\")"
  31290. msgstr ""
  31291. #. type: item
  31292. #: guix-git/doc/guix.texi:21157
  31293. #, no-wrap
  31294. msgid "hibernate-mode"
  31295. msgstr ""
  31296. #. type: code{#1}
  31297. #: guix-git/doc/guix.texi:21159
  31298. msgid "(\"platform\" \"shutdown\")"
  31299. msgstr ""
  31300. #. type: item
  31301. #: guix-git/doc/guix.texi:21159
  31302. #, no-wrap
  31303. msgid "hybrid-sleep-state"
  31304. msgstr ""
  31305. #. type: item
  31306. #: guix-git/doc/guix.texi:21161
  31307. #, no-wrap
  31308. msgid "hybrid-sleep-mode"
  31309. msgstr ""
  31310. #. type: code{#1}
  31311. #: guix-git/doc/guix.texi:21163
  31312. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  31313. msgstr ""
  31314. #. type: deffn
  31315. #: guix-git/doc/guix.texi:21166
  31316. #, no-wrap
  31317. msgid "{Scheme Procedure} accountsservice-service @"
  31318. msgstr ""
  31319. #. type: deffn
  31320. #: guix-git/doc/guix.texi:21174
  31321. 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."
  31322. msgstr ""
  31323. #. type: deffn
  31324. #: guix-git/doc/guix.texi:21177
  31325. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  31326. msgstr ""
  31327. #. type: deffn
  31328. #: guix-git/doc/guix.texi:21179
  31329. #, no-wrap
  31330. msgid "{Scheme Procedure} polkit-service @"
  31331. msgstr ""
  31332. #. type: deffn
  31333. #: guix-git/doc/guix.texi:21188
  31334. 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."
  31335. msgstr ""
  31336. #. type: defvr
  31337. #: guix-git/doc/guix.texi:21190
  31338. #, no-wrap
  31339. msgid "{Scheme Variable} polkit-wheel-service"
  31340. msgstr ""
  31341. #. type: defvr
  31342. #: guix-git/doc/guix.texi:21195
  31343. 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}."
  31344. msgstr ""
  31345. #. type: defvr
  31346. #: guix-git/doc/guix.texi:21197
  31347. #, no-wrap
  31348. msgid "{Scheme Variable} upower-service-type"
  31349. msgstr ""
  31350. #. type: defvr
  31351. #: guix-git/doc/guix.texi:21201
  31352. 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."
  31353. msgstr ""
  31354. #. type: defvr
  31355. #: guix-git/doc/guix.texi:21204
  31356. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  31357. msgstr ""
  31358. #. type: deftp
  31359. #: guix-git/doc/guix.texi:21206
  31360. #, no-wrap
  31361. msgid "{Data Type} upower-configuration"
  31362. msgstr ""
  31363. #. type: deftp
  31364. #: guix-git/doc/guix.texi:21208
  31365. msgid "Data type representation the configuration for UPower."
  31366. msgstr ""
  31367. #. type: item
  31368. #: guix-git/doc/guix.texi:21211
  31369. #, no-wrap
  31370. msgid "@code{upower} (default: @var{upower})"
  31371. msgstr ""
  31372. #. type: table
  31373. #: guix-git/doc/guix.texi:21213
  31374. msgid "Package to use for @code{upower}."
  31375. msgstr ""
  31376. #. type: item
  31377. #: guix-git/doc/guix.texi:21214
  31378. #, no-wrap
  31379. msgid "@code{watts-up-pro?} (default: @code{#f})"
  31380. msgstr ""
  31381. #. type: table
  31382. #: guix-git/doc/guix.texi:21216
  31383. msgid "Enable the Watts Up Pro device."
  31384. msgstr ""
  31385. #. type: item
  31386. #: guix-git/doc/guix.texi:21217
  31387. #, no-wrap
  31388. msgid "@code{poll-batteries?} (default: @code{#t})"
  31389. msgstr ""
  31390. #. type: table
  31391. #: guix-git/doc/guix.texi:21219
  31392. msgid "Enable polling the kernel for battery level changes."
  31393. msgstr ""
  31394. #. type: item
  31395. #: guix-git/doc/guix.texi:21220
  31396. #, no-wrap
  31397. msgid "@code{ignore-lid?} (default: @code{#f})"
  31398. msgstr ""
  31399. #. type: table
  31400. #: guix-git/doc/guix.texi:21222
  31401. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  31402. msgstr ""
  31403. #. type: item
  31404. #: guix-git/doc/guix.texi:21223
  31405. #, no-wrap
  31406. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  31407. msgstr ""
  31408. #. type: table
  31409. #: guix-git/doc/guix.texi:21226
  31410. 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."
  31411. msgstr ""
  31412. #. type: item
  31413. #: guix-git/doc/guix.texi:21227
  31414. #, no-wrap
  31415. msgid "@code{percentage-low} (default: @code{10})"
  31416. msgstr ""
  31417. #. type: table
  31418. #: guix-git/doc/guix.texi:21230
  31419. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  31420. msgstr ""
  31421. #. type: item
  31422. #: guix-git/doc/guix.texi:21231
  31423. #, no-wrap
  31424. msgid "@code{percentage-critical} (default: @code{3})"
  31425. msgstr ""
  31426. #. type: table
  31427. #: guix-git/doc/guix.texi:21234
  31428. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  31429. msgstr ""
  31430. #. type: item
  31431. #: guix-git/doc/guix.texi:21235
  31432. #, no-wrap
  31433. msgid "@code{percentage-action} (default: @code{2})"
  31434. msgstr ""
  31435. #. type: table
  31436. #: guix-git/doc/guix.texi:21238
  31437. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  31438. msgstr ""
  31439. #. type: item
  31440. #: guix-git/doc/guix.texi:21239
  31441. #, no-wrap
  31442. msgid "@code{time-low} (default: @code{1200})"
  31443. msgstr ""
  31444. #. type: table
  31445. #: guix-git/doc/guix.texi:21242
  31446. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  31447. msgstr ""
  31448. #. type: item
  31449. #: guix-git/doc/guix.texi:21243
  31450. #, no-wrap
  31451. msgid "@code{time-critical} (default: @code{300})"
  31452. msgstr ""
  31453. #. type: table
  31454. #: guix-git/doc/guix.texi:21246
  31455. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  31456. msgstr ""
  31457. #. type: item
  31458. #: guix-git/doc/guix.texi:21247
  31459. #, no-wrap
  31460. msgid "@code{time-action} (default: @code{120})"
  31461. msgstr ""
  31462. #. type: table
  31463. #: guix-git/doc/guix.texi:21250
  31464. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  31465. msgstr ""
  31466. #. type: item
  31467. #: guix-git/doc/guix.texi:21251
  31468. #, no-wrap
  31469. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  31470. msgstr ""
  31471. #. type: table
  31472. #: guix-git/doc/guix.texi:21254
  31473. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  31474. msgstr ""
  31475. #. type: table
  31476. #: guix-git/doc/guix.texi:21256
  31477. msgid "Possible values are:"
  31478. msgstr ""
  31479. #. type: code{#1}
  31480. #: guix-git/doc/guix.texi:21260
  31481. msgid "'power-off"
  31482. msgstr ""
  31483. #. type: code{#1}
  31484. #: guix-git/doc/guix.texi:21263
  31485. msgid "'hibernate"
  31486. msgstr ""
  31487. #. type: itemize
  31488. #: guix-git/doc/guix.texi:21266
  31489. msgid "@code{'hybrid-sleep}."
  31490. msgstr ""
  31491. #. type: deffn
  31492. #: guix-git/doc/guix.texi:21271
  31493. #, no-wrap
  31494. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  31495. msgstr ""
  31496. #. type: deffn
  31497. #: guix-git/doc/guix.texi:21281
  31498. 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."
  31499. msgstr ""
  31500. #. type: deffn
  31501. #: guix-git/doc/guix.texi:21283
  31502. #, no-wrap
  31503. msgid "{Scheme Variable} colord-service-type"
  31504. msgstr ""
  31505. #. type: deffn
  31506. #: guix-git/doc/guix.texi:21290
  31507. 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."
  31508. msgstr ""
  31509. #. type: cindex
  31510. #: guix-git/doc/guix.texi:21292
  31511. #, no-wrap
  31512. msgid "scanner access"
  31513. msgstr ""
  31514. #. type: defvr
  31515. #: guix-git/doc/guix.texi:21293
  31516. #, no-wrap
  31517. msgid "{Scheme Variable} sane-service-type"
  31518. msgstr ""
  31519. #. type: defvr
  31520. #: guix-git/doc/guix.texi:21299
  31521. 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."
  31522. msgstr ""
  31523. #. type: defvr
  31524. #: guix-git/doc/guix.texi:21301
  31525. #, no-wrap
  31526. msgid "{Scheme Variable} sane-backends-minimal"
  31527. msgstr ""
  31528. #. type: defvr
  31529. #: guix-git/doc/guix.texi:21304
  31530. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  31531. msgstr ""
  31532. #. type: defvr
  31533. #: guix-git/doc/guix.texi:21306
  31534. #, no-wrap
  31535. msgid "{Scheme Variable} sane-backends"
  31536. msgstr ""
  31537. #. type: defvr
  31538. #: guix-git/doc/guix.texi:21313
  31539. 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:"
  31540. msgstr ""
  31541. #. type: lisp
  31542. #: guix-git/doc/guix.texi:21322
  31543. #, no-wrap
  31544. msgid ""
  31545. "(use-modules (gnu))\n"
  31546. "(use-service-modules\n"
  31547. " @dots{}\n"
  31548. " desktop)\n"
  31549. "(use-package-modules\n"
  31550. " @dots{}\n"
  31551. " scanner)\n"
  31552. "\n"
  31553. msgstr ""
  31554. #. type: lisp
  31555. #: guix-git/doc/guix.texi:21327
  31556. #, no-wrap
  31557. msgid ""
  31558. "(define %my-desktop-services\n"
  31559. " ;; List of desktop services that supports a broader range of scanners.\n"
  31560. " (modify-services %desktop-services\n"
  31561. " (sane-service-type _ => sane-backends)))\n"
  31562. "\n"
  31563. msgstr ""
  31564. #. type: lisp
  31565. #: guix-git/doc/guix.texi:21331
  31566. #, no-wrap
  31567. msgid ""
  31568. "(operating-system\n"
  31569. " @dots{}\n"
  31570. " (services %my-desktop-services))\n"
  31571. msgstr ""
  31572. #. type: deffn
  31573. #: guix-git/doc/guix.texi:21334
  31574. #, no-wrap
  31575. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  31576. msgstr ""
  31577. #. type: deffn
  31578. #: guix-git/doc/guix.texi:21343
  31579. 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."
  31580. msgstr ""
  31581. #. type: defvr
  31582. #: guix-git/doc/guix.texi:21345
  31583. #, no-wrap
  31584. msgid "{Scheme Variable} %standard-geoclue-applications"
  31585. msgstr ""
  31586. #. type: defvr
  31587. #: guix-git/doc/guix.texi:21352
  31588. 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."
  31589. msgstr ""
  31590. #. type: deffn
  31591. #: guix-git/doc/guix.texi:21354
  31592. #, no-wrap
  31593. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  31594. msgstr ""
  31595. #. type: deffn
  31596. #: guix-git/doc/guix.texi:21367
  31597. 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."
  31598. msgstr ""
  31599. #. type: deffn
  31600. #: guix-git/doc/guix.texi:21369
  31601. #, no-wrap
  31602. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  31603. msgstr ""
  31604. #. type: deffn
  31605. #: guix-git/doc/guix.texi:21376
  31606. 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."
  31607. msgstr ""
  31608. #. type: deffn
  31609. #: guix-git/doc/guix.texi:21378
  31610. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  31611. msgstr ""
  31612. #. type: defvr
  31613. #: guix-git/doc/guix.texi:21380
  31614. #, no-wrap
  31615. msgid "{Scheme Variable} gnome-keyring-service-type"
  31616. msgstr ""
  31617. #. type: defvr
  31618. #: guix-git/doc/guix.texi:21384
  31619. 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)."
  31620. msgstr ""
  31621. #. type: defvr
  31622. #: guix-git/doc/guix.texi:21388
  31623. 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."
  31624. msgstr ""
  31625. #. type: deftp
  31626. #: guix-git/doc/guix.texi:21390
  31627. #, no-wrap
  31628. msgid "{Data Type} gnome-keyring-configuration"
  31629. msgstr ""
  31630. #. type: deftp
  31631. #: guix-git/doc/guix.texi:21392
  31632. msgid "Configuration record for the GNOME Keyring service."
  31633. msgstr ""
  31634. #. type: item
  31635. #: guix-git/doc/guix.texi:21394
  31636. #, no-wrap
  31637. msgid "@code{keyring} (default: @code{gnome-keyring})"
  31638. msgstr ""
  31639. #. type: table
  31640. #: guix-git/doc/guix.texi:21396
  31641. msgid "The GNOME keyring package to use."
  31642. msgstr ""
  31643. #. type: code{#1}
  31644. #: guix-git/doc/guix.texi:21397
  31645. #, no-wrap
  31646. msgid "pam-services"
  31647. msgstr ""
  31648. #. type: table
  31649. #: guix-git/doc/guix.texi:21402
  31650. 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}."
  31651. msgstr ""
  31652. #. type: table
  31653. #: guix-git/doc/guix.texi:21408
  31654. 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."
  31655. msgstr ""
  31656. #. type: table
  31657. #: guix-git/doc/guix.texi:21411
  31658. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  31659. msgstr ""
  31660. #. type: cindex
  31661. #: guix-git/doc/guix.texi:21418
  31662. #, no-wrap
  31663. msgid "sound support"
  31664. msgstr ""
  31665. #. type: cindex
  31666. #: guix-git/doc/guix.texi:21419
  31667. #, no-wrap
  31668. msgid "ALSA"
  31669. msgstr ""
  31670. #. type: cindex
  31671. #: guix-git/doc/guix.texi:21420
  31672. #, no-wrap
  31673. msgid "PulseAudio, sound support"
  31674. msgstr ""
  31675. #. type: Plain text
  31676. #: guix-git/doc/guix.texi:21425
  31677. 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."
  31678. msgstr ""
  31679. #. type: deffn
  31680. #: guix-git/doc/guix.texi:21426
  31681. #, no-wrap
  31682. msgid "{Scheme Variable} alsa-service-type"
  31683. msgstr ""
  31684. #. type: deffn
  31685. #: guix-git/doc/guix.texi:21431
  31686. 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:"
  31687. msgstr ""
  31688. #. type: lisp
  31689. #: guix-git/doc/guix.texi:21434
  31690. #, no-wrap
  31691. msgid "(service alsa-service-type)\n"
  31692. msgstr ""
  31693. #. type: deffn
  31694. #: guix-git/doc/guix.texi:21437
  31695. msgid "See below for details about @code{alsa-configuration}."
  31696. msgstr ""
  31697. #. type: deftp
  31698. #: guix-git/doc/guix.texi:21439
  31699. #, no-wrap
  31700. msgid "{Data Type} alsa-configuration"
  31701. msgstr ""
  31702. #. type: deftp
  31703. #: guix-git/doc/guix.texi:21441
  31704. msgid "Data type representing the configuration for @code{alsa-service}."
  31705. msgstr ""
  31706. #. type: item
  31707. #: guix-git/doc/guix.texi:21443
  31708. #, no-wrap
  31709. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  31710. msgstr ""
  31711. #. type: table
  31712. #: guix-git/doc/guix.texi:21445
  31713. msgid "@code{alsa-plugins} package to use."
  31714. msgstr ""
  31715. #. type: item
  31716. #: guix-git/doc/guix.texi:21446
  31717. #, no-wrap
  31718. msgid "@code{pulseaudio?} (default: @var{#t})"
  31719. msgstr ""
  31720. #. type: table
  31721. #: guix-git/doc/guix.texi:21449
  31722. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  31723. msgstr ""
  31724. #. type: table
  31725. #: guix-git/doc/guix.texi:21453
  31726. 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."
  31727. msgstr ""
  31728. #. type: item
  31729. #: guix-git/doc/guix.texi:21454
  31730. #, no-wrap
  31731. msgid "@code{extra-options} (default: @var{\"\"})"
  31732. msgstr ""
  31733. #. type: table
  31734. #: guix-git/doc/guix.texi:21456
  31735. msgid "String to append to the @file{/etc/asound.conf} file."
  31736. msgstr ""
  31737. #. type: Plain text
  31738. #: guix-git/doc/guix.texi:21462
  31739. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  31740. msgstr ""
  31741. #. type: example
  31742. #: guix-git/doc/guix.texi:21468
  31743. #, no-wrap
  31744. msgid ""
  31745. "# In guix, we have to specify the absolute path for plugins.\n"
  31746. "pcm_type.jack @{\n"
  31747. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  31748. "@}\n"
  31749. "\n"
  31750. msgstr ""
  31751. #. type: example
  31752. #: guix-git/doc/guix.texi:21477
  31753. #, no-wrap
  31754. msgid ""
  31755. "# Routing ALSA to jack:\n"
  31756. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  31757. "pcm.rawjack @{\n"
  31758. " type jack\n"
  31759. " playback_ports @{\n"
  31760. " 0 system:playback_1\n"
  31761. " 1 system:playback_2\n"
  31762. " @}\n"
  31763. "\n"
  31764. msgstr ""
  31765. #. type: example
  31766. #: guix-git/doc/guix.texi:21483
  31767. #, no-wrap
  31768. msgid ""
  31769. " capture_ports @{\n"
  31770. " 0 system:capture_1\n"
  31771. " 1 system:capture_2\n"
  31772. " @}\n"
  31773. "@}\n"
  31774. "\n"
  31775. msgstr ""
  31776. #. type: example
  31777. #: guix-git/doc/guix.texi:21490
  31778. #, no-wrap
  31779. msgid ""
  31780. "pcm.!default @{\n"
  31781. " type plug\n"
  31782. " slave @{\n"
  31783. " pcm \"rawjack\"\n"
  31784. " @}\n"
  31785. "@}\n"
  31786. msgstr ""
  31787. #. type: Plain text
  31788. #: guix-git/doc/guix.texi:21494
  31789. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  31790. msgstr ""
  31791. #. type: deffn
  31792. #: guix-git/doc/guix.texi:21495
  31793. #, no-wrap
  31794. msgid "{Scheme Variable} pulseaudio-service-type"
  31795. msgstr ""
  31796. #. type: deffn
  31797. #: guix-git/doc/guix.texi:21499
  31798. 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."
  31799. msgstr ""
  31800. #. type: quotation
  31801. #: guix-git/doc/guix.texi:21505
  31802. 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}."
  31803. msgstr ""
  31804. #. type: quotation
  31805. #: guix-git/doc/guix.texi:21513
  31806. 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."
  31807. msgstr ""
  31808. #. type: deftp
  31809. #: guix-git/doc/guix.texi:21516
  31810. #, no-wrap
  31811. msgid "{Data Type} pulseaudio-configuration"
  31812. msgstr ""
  31813. #. type: deftp
  31814. #: guix-git/doc/guix.texi:21518
  31815. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  31816. msgstr ""
  31817. #. type: item
  31818. #: guix-git/doc/guix.texi:21520
  31819. #, no-wrap
  31820. msgid "@code{client-conf} (default: @code{'()})"
  31821. msgstr ""
  31822. #. type: table
  31823. #: guix-git/doc/guix.texi:21525
  31824. 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."
  31825. msgstr ""
  31826. #. type: item
  31827. #: guix-git/doc/guix.texi:21526
  31828. #, no-wrap
  31829. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  31830. msgstr ""
  31831. #. type: table
  31832. #: guix-git/doc/guix.texi:21529
  31833. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  31834. msgstr ""
  31835. #. type: item
  31836. #: guix-git/doc/guix.texi:21530
  31837. #, no-wrap
  31838. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  31839. msgstr ""
  31840. #. type: table
  31841. #: guix-git/doc/guix.texi:21535
  31842. 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."
  31843. msgstr ""
  31844. #. type: item
  31845. #: guix-git/doc/guix.texi:21536
  31846. #, no-wrap
  31847. msgid "@code{extra-script-files} (default: @code{'())})"
  31848. msgstr ""
  31849. #. type: table
  31850. #: guix-git/doc/guix.texi:21543
  31851. 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}."
  31852. msgstr ""
  31853. #. type: item
  31854. #: guix-git/doc/guix.texi:21544
  31855. #, no-wrap
  31856. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  31857. msgstr ""
  31858. #. type: table
  31859. #: guix-git/doc/guix.texi:21546
  31860. msgid "Script file to use as @file{system.pa}."
  31861. msgstr ""
  31862. #. type: deftp
  31863. #: guix-git/doc/guix.texi:21551
  31864. 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:"
  31865. msgstr ""
  31866. #. type: lisp
  31867. #: guix-git/doc/guix.texi:21560
  31868. #, no-wrap
  31869. msgid ""
  31870. "(pulseaudio-configuration\n"
  31871. " (extra-script-files\n"
  31872. " (list (plain-file \"audigy.pa\"\n"
  31873. " (string-append \"\\\n"
  31874. "set-card-profile alsa_card.pci-0000_01_01.0 \\\n"
  31875. " output:analog-surround-40+input:analog-mono\n"
  31876. "set-default-source alsa_input.pci-0000_01_01.0.analog-mono\n"
  31877. "set-default-sink alsa_output.pci-0000_01_01.0.analog-surround-40\\n\")))))\n"
  31878. msgstr ""
  31879. #. type: deftp
  31880. #: guix-git/doc/guix.texi:21568
  31881. 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."
  31882. msgstr ""
  31883. #. type: deffn
  31884. #: guix-git/doc/guix.texi:21571
  31885. #, no-wrap
  31886. msgid "{Scheme Variable} ladspa-service-type"
  31887. msgstr ""
  31888. #. type: deffn
  31889. #: guix-git/doc/guix.texi:21574
  31890. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  31891. msgstr ""
  31892. #. type: deffn
  31893. #: guix-git/doc/guix.texi:21577
  31894. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  31895. msgstr ""
  31896. #. type: lisp
  31897. #: guix-git/doc/guix.texi:21581
  31898. #, no-wrap
  31899. msgid ""
  31900. "(service ladspa-service-type\n"
  31901. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  31902. msgstr ""
  31903. #. type: deffn
  31904. #: guix-git/doc/guix.texi:21585
  31905. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  31906. msgstr ""
  31907. #. type: cindex
  31908. #: guix-git/doc/guix.texi:21592
  31909. #, no-wrap
  31910. msgid "SQL"
  31911. msgstr ""
  31912. #. type: Plain text
  31913. #: guix-git/doc/guix.texi:21594
  31914. msgid "The @code{(gnu services databases)} module provides the following services."
  31915. msgstr ""
  31916. #. type: subsubheading
  31917. #: guix-git/doc/guix.texi:21595
  31918. #, no-wrap
  31919. msgid "PostgreSQL"
  31920. msgstr ""
  31921. #. type: Plain text
  31922. #: guix-git/doc/guix.texi:21599
  31923. msgid "The following example describes a PostgreSQL service with the default configuration."
  31924. msgstr ""
  31925. #. type: lisp
  31926. #: guix-git/doc/guix.texi:21604
  31927. #, no-wrap
  31928. msgid ""
  31929. "(service postgresql-service-type\n"
  31930. " (postgresql-configuration\n"
  31931. " (postgresql postgresql-10)))\n"
  31932. msgstr ""
  31933. #. type: Plain text
  31934. #: guix-git/doc/guix.texi:21610
  31935. 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."
  31936. msgstr ""
  31937. #. type: Plain text
  31938. #: guix-git/doc/guix.texi:21617
  31939. 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."
  31940. msgstr ""
  31941. #. type: example
  31942. #: guix-git/doc/guix.texi:21622
  31943. #, no-wrap
  31944. msgid ""
  31945. "sudo -u postgres -s /bin/sh\n"
  31946. "createuser --interactive\n"
  31947. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  31948. msgstr ""
  31949. #. type: deftp
  31950. #: guix-git/doc/guix.texi:21624
  31951. #, no-wrap
  31952. msgid "{Data Type} postgresql-configuration"
  31953. msgstr ""
  31954. #. type: deftp
  31955. #: guix-git/doc/guix.texi:21627
  31956. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  31957. msgstr ""
  31958. #. type: code{#1}
  31959. #: guix-git/doc/guix.texi:21629
  31960. #, no-wrap
  31961. msgid "postgresql"
  31962. msgstr ""
  31963. #. type: table
  31964. #: guix-git/doc/guix.texi:21631
  31965. msgid "PostgreSQL package to use for the service."
  31966. msgstr ""
  31967. #. type: item
  31968. #: guix-git/doc/guix.texi:21632
  31969. #, no-wrap
  31970. msgid "@code{port} (default: @code{5432})"
  31971. msgstr ""
  31972. #. type: table
  31973. #: guix-git/doc/guix.texi:21634
  31974. msgid "Port on which PostgreSQL should listen."
  31975. msgstr ""
  31976. #. type: table
  31977. #: guix-git/doc/guix.texi:21637
  31978. msgid "Locale to use as the default when creating the database cluster."
  31979. msgstr ""
  31980. #. type: item
  31981. #: guix-git/doc/guix.texi:21638
  31982. #, no-wrap
  31983. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  31984. msgstr ""
  31985. #. type: table
  31986. #: guix-git/doc/guix.texi:21642
  31987. 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."
  31988. msgstr ""
  31989. #. type: item
  31990. #: guix-git/doc/guix.texi:21643
  31991. #, no-wrap
  31992. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  31993. msgstr ""
  31994. #. type: table
  31995. #: guix-git/doc/guix.texi:21647
  31996. 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."
  31997. msgstr ""
  31998. #. type: item
  31999. #: guix-git/doc/guix.texi:21648
  32000. #, no-wrap
  32001. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  32002. msgstr ""
  32003. #. type: table
  32004. #: guix-git/doc/guix.texi:21650
  32005. msgid "Directory in which to store the data."
  32006. msgstr ""
  32007. #. type: item
  32008. #: guix-git/doc/guix.texi:21651
  32009. #, no-wrap
  32010. msgid "@code{extension-packages} (default: @code{'()})"
  32011. msgstr ""
  32012. #. type: cindex
  32013. #: guix-git/doc/guix.texi:21652
  32014. #, no-wrap
  32015. msgid "postgresql extension-packages"
  32016. msgstr ""
  32017. #. type: table
  32018. #: guix-git/doc/guix.texi:21657
  32019. 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:"
  32020. msgstr ""
  32021. #. type: cindex
  32022. #: guix-git/doc/guix.texi:21658
  32023. #, no-wrap
  32024. msgid "postgis"
  32025. msgstr ""
  32026. #. type: lisp
  32027. #: guix-git/doc/guix.texi:21661
  32028. #, no-wrap
  32029. msgid ""
  32030. "(use-package-modules databases geo)\n"
  32031. "\n"
  32032. msgstr ""
  32033. #. type: lisp
  32034. #: guix-git/doc/guix.texi:21674
  32035. #, no-wrap
  32036. msgid ""
  32037. "(operating-system\n"
  32038. " ...\n"
  32039. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  32040. " ;; proper operation.\n"
  32041. " (packages (cons* postgresql %base-packages))\n"
  32042. " (services\n"
  32043. " (cons*\n"
  32044. " (service postgresql-service-type\n"
  32045. " (postgresql-configuration\n"
  32046. " (postgresql postgresql-10)\n"
  32047. " (extension-packages (list postgis))))\n"
  32048. " %base-services)))\n"
  32049. msgstr ""
  32050. #. type: table
  32051. #: guix-git/doc/guix.texi:21678
  32052. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  32053. msgstr ""
  32054. #. type: example
  32055. #: guix-git/doc/guix.texi:21685
  32056. #, no-wrap
  32057. msgid ""
  32058. "psql -U postgres\n"
  32059. "> create database postgistest;\n"
  32060. "> \\connect postgistest;\n"
  32061. "> create extension postgis;\n"
  32062. "> create extension postgis_topology;\n"
  32063. msgstr ""
  32064. #. type: table
  32065. #: guix-git/doc/guix.texi:21690
  32066. 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."
  32067. msgstr ""
  32068. #. type: deftp
  32069. #: guix-git/doc/guix.texi:21694
  32070. #, no-wrap
  32071. msgid "{Data Type} postgresql-config-file"
  32072. msgstr ""
  32073. #. type: deftp
  32074. #: guix-git/doc/guix.texi:21700
  32075. 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."
  32076. msgstr ""
  32077. #. type: lisp
  32078. #: guix-git/doc/guix.texi:21720
  32079. #, no-wrap
  32080. msgid ""
  32081. "(service postgresql-service-type\n"
  32082. " (postgresql-configuration\n"
  32083. " (config-file\n"
  32084. " (postgresql-config-file\n"
  32085. " (log-destination \"stderr\")\n"
  32086. " (hba-file\n"
  32087. " (plain-file \"pg_hba.conf\"\n"
  32088. " \"\n"
  32089. "local\tall\tall\t\t\ttrust\n"
  32090. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  32091. "host\tall\tall\t::1/128 \tmd5\"))\n"
  32092. " (extra-config\n"
  32093. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  32094. " (\"random_page_cost\" 2)\n"
  32095. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  32096. " (\"work_mem\" \"500 MB\")\n"
  32097. " (\"logging_collector\" #t)\n"
  32098. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  32099. msgstr ""
  32100. #. type: item
  32101. #: guix-git/doc/guix.texi:21723
  32102. #, no-wrap
  32103. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  32104. msgstr ""
  32105. #. type: table
  32106. #: guix-git/doc/guix.texi:21726
  32107. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  32108. msgstr ""
  32109. #. type: item
  32110. #: guix-git/doc/guix.texi:21727
  32111. #, no-wrap
  32112. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  32113. msgstr ""
  32114. #. type: table
  32115. #: guix-git/doc/guix.texi:21730
  32116. msgid "Filename or G-expression for the host-based authentication configuration."
  32117. msgstr ""
  32118. #. type: item
  32119. #: guix-git/doc/guix.texi:21731
  32120. #, no-wrap
  32121. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  32122. msgstr ""
  32123. #. type: table
  32124. #: guix-git/doc/guix.texi:21733
  32125. msgid "Filename or G-expression for the user name mapping configuration."
  32126. msgstr ""
  32127. #. type: item
  32128. #: guix-git/doc/guix.texi:21734
  32129. #, no-wrap
  32130. msgid "@code{socket-directory} (default: @code{\"/var/run/postgresql\"})"
  32131. msgstr ""
  32132. #. type: table
  32133. #: guix-git/doc/guix.texi:21739
  32134. 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."
  32135. msgstr ""
  32136. #. type: table
  32137. #: guix-git/doc/guix.texi:21742
  32138. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  32139. msgstr ""
  32140. #. type: table
  32141. #: guix-git/doc/guix.texi:21747
  32142. 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."
  32143. msgstr ""
  32144. #. type: table
  32145. #: guix-git/doc/guix.texi:21753
  32146. 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}."
  32147. msgstr ""
  32148. #. type: deffn
  32149. #: guix-git/doc/guix.texi:21757
  32150. #, no-wrap
  32151. msgid "{Scheme Variable} postgresql-role-service-type"
  32152. msgstr ""
  32153. #. type: deffn
  32154. #: guix-git/doc/guix.texi:21760
  32155. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  32156. msgstr ""
  32157. #. type: lisp
  32158. #: guix-git/doc/guix.texi:21768
  32159. #, no-wrap
  32160. msgid ""
  32161. "(service postgresql-role-service-type\n"
  32162. " (postgresql-role-configuration\n"
  32163. " (roles\n"
  32164. " (list (postgresql-role\n"
  32165. " (name \"test\")\n"
  32166. " (create-database? #t))))))\n"
  32167. msgstr ""
  32168. #. type: deffn
  32169. #: guix-git/doc/guix.texi:21772
  32170. msgid "This service can be extended with extra roles, as in this example:"
  32171. msgstr ""
  32172. #. type: lisp
  32173. #: guix-git/doc/guix.texi:21778
  32174. #, no-wrap
  32175. msgid ""
  32176. "(service-extension postgresql-role-service-type\n"
  32177. " (const (postgresql-role\n"
  32178. " (name \"alice\")\n"
  32179. " (create-database? #t))))\n"
  32180. msgstr ""
  32181. #. type: deftp
  32182. #: guix-git/doc/guix.texi:21781
  32183. #, no-wrap
  32184. msgid "{Data Type} postgresql-role"
  32185. msgstr ""
  32186. #. type: deftp
  32187. #: guix-git/doc/guix.texi:21787
  32188. 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."
  32189. msgstr ""
  32190. #. type: table
  32191. #: guix-git/doc/guix.texi:21791
  32192. msgid "The role name."
  32193. msgstr ""
  32194. #. type: item
  32195. #: guix-git/doc/guix.texi:21792
  32196. #, no-wrap
  32197. msgid "@code{permissions} (default: @code{'(createdb login)})"
  32198. msgstr ""
  32199. #. type: table
  32200. #: guix-git/doc/guix.texi:21796
  32201. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  32202. msgstr ""
  32203. #. type: item
  32204. #: guix-git/doc/guix.texi:21797
  32205. #, no-wrap
  32206. msgid "@code{create-database?} (default: @code{#f})"
  32207. msgstr ""
  32208. #. type: table
  32209. #: guix-git/doc/guix.texi:21799
  32210. msgid "Whether to create a database with the same name as the role."
  32211. msgstr ""
  32212. #. type: deftp
  32213. #: guix-git/doc/guix.texi:21803
  32214. #, no-wrap
  32215. msgid "{Data Type} postgresql-role-configuration"
  32216. msgstr ""
  32217. #. type: deftp
  32218. #: guix-git/doc/guix.texi:21806
  32219. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  32220. msgstr ""
  32221. #. type: item
  32222. #: guix-git/doc/guix.texi:21808
  32223. #, no-wrap
  32224. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  32225. msgstr ""
  32226. #. type: table
  32227. #: guix-git/doc/guix.texi:21810
  32228. msgid "The PostgreSQL host to connect to."
  32229. msgstr ""
  32230. #. type: item
  32231. #: guix-git/doc/guix.texi:21811
  32232. #, no-wrap
  32233. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  32234. msgstr ""
  32235. #. type: table
  32236. #: guix-git/doc/guix.texi:21813
  32237. msgid "File name of the log file."
  32238. msgstr ""
  32239. #. type: item
  32240. #: guix-git/doc/guix.texi:21814
  32241. #, no-wrap
  32242. msgid "@code{roles} (default: @code{'()})"
  32243. msgstr ""
  32244. #. type: table
  32245. #: guix-git/doc/guix.texi:21816
  32246. msgid "The initial PostgreSQL roles to create."
  32247. msgstr ""
  32248. #. type: subsubheading
  32249. #: guix-git/doc/guix.texi:21819
  32250. #, no-wrap
  32251. msgid "MariaDB/MySQL"
  32252. msgstr ""
  32253. #. type: defvr
  32254. #: guix-git/doc/guix.texi:21821
  32255. #, no-wrap
  32256. msgid "{Scheme Variable} mysql-service-type"
  32257. msgstr ""
  32258. #. type: defvr
  32259. #: guix-git/doc/guix.texi:21825
  32260. 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."
  32261. msgstr ""
  32262. #. type: deftp
  32263. #: guix-git/doc/guix.texi:21827
  32264. #, no-wrap
  32265. msgid "{Data Type} mysql-configuration"
  32266. msgstr ""
  32267. #. type: deftp
  32268. #: guix-git/doc/guix.texi:21829
  32269. msgid "Data type representing the configuration of @var{mysql-service-type}."
  32270. msgstr ""
  32271. #. type: item
  32272. #: guix-git/doc/guix.texi:21831
  32273. #, no-wrap
  32274. msgid "@code{mysql} (default: @var{mariadb})"
  32275. msgstr ""
  32276. #. type: table
  32277. #: guix-git/doc/guix.texi:21834
  32278. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  32279. msgstr ""
  32280. #. type: table
  32281. #: guix-git/doc/guix.texi:21837
  32282. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  32283. msgstr ""
  32284. #. type: item
  32285. #: guix-git/doc/guix.texi:21838 guix-git/doc/guix.texi:25658
  32286. #, no-wrap
  32287. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  32288. msgstr ""
  32289. #. type: table
  32290. #: guix-git/doc/guix.texi:21841
  32291. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  32292. msgstr ""
  32293. #. type: item
  32294. #: guix-git/doc/guix.texi:21842
  32295. #, no-wrap
  32296. msgid "@code{port} (default: @code{3306})"
  32297. msgstr ""
  32298. #. type: table
  32299. #: guix-git/doc/guix.texi:21844
  32300. msgid "TCP port on which the database server listens for incoming connections."
  32301. msgstr ""
  32302. #. type: item
  32303. #: guix-git/doc/guix.texi:21845
  32304. #, no-wrap
  32305. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  32306. msgstr ""
  32307. #. type: table
  32308. #: guix-git/doc/guix.texi:21847
  32309. msgid "Socket file to use for local (non-network) connections."
  32310. msgstr ""
  32311. #. type: table
  32312. #: guix-git/doc/guix.texi:21850
  32313. msgid "Additional settings for the @file{my.cnf} configuration file."
  32314. msgstr ""
  32315. #. type: item
  32316. #: guix-git/doc/guix.texi:21851
  32317. #, no-wrap
  32318. msgid "@code{extra-environment} (default: @code{#~'()})"
  32319. msgstr ""
  32320. #. type: table
  32321. #: guix-git/doc/guix.texi:21853
  32322. msgid "List of environment variables passed to the @command{mysqld} process."
  32323. msgstr ""
  32324. #. type: item
  32325. #: guix-git/doc/guix.texi:21854
  32326. #, no-wrap
  32327. msgid "@code{auto-upgrade?} (default: @code{#t})"
  32328. msgstr ""
  32329. #. type: table
  32330. #: guix-git/doc/guix.texi:21859
  32331. 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."
  32332. msgstr ""
  32333. #. type: subsubheading
  32334. #: guix-git/doc/guix.texi:21863
  32335. #, no-wrap
  32336. msgid "Memcached"
  32337. msgstr ""
  32338. #. type: defvr
  32339. #: guix-git/doc/guix.texi:21865
  32340. #, no-wrap
  32341. msgid "{Scheme Variable} memcached-service-type"
  32342. msgstr ""
  32343. #. type: defvr
  32344. #: guix-git/doc/guix.texi:21869
  32345. 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."
  32346. msgstr ""
  32347. #. type: lisp
  32348. #: guix-git/doc/guix.texi:21873
  32349. #, no-wrap
  32350. msgid "(service memcached-service-type)\n"
  32351. msgstr ""
  32352. #. type: deftp
  32353. #: guix-git/doc/guix.texi:21875
  32354. #, no-wrap
  32355. msgid "{Data Type} memcached-configuration"
  32356. msgstr ""
  32357. #. type: deftp
  32358. #: guix-git/doc/guix.texi:21877
  32359. msgid "Data type representing the configuration of memcached."
  32360. msgstr ""
  32361. #. type: item
  32362. #: guix-git/doc/guix.texi:21879
  32363. #, no-wrap
  32364. msgid "@code{memcached} (default: @code{memcached})"
  32365. msgstr ""
  32366. #. type: table
  32367. #: guix-git/doc/guix.texi:21881
  32368. msgid "The Memcached package to use."
  32369. msgstr ""
  32370. #. type: item
  32371. #: guix-git/doc/guix.texi:21882
  32372. #, no-wrap
  32373. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  32374. msgstr ""
  32375. #. type: table
  32376. #: guix-git/doc/guix.texi:21884
  32377. msgid "Network interfaces on which to listen."
  32378. msgstr ""
  32379. #. type: item
  32380. #: guix-git/doc/guix.texi:21885
  32381. #, no-wrap
  32382. msgid "@code{tcp-port} (default: @code{11211})"
  32383. msgstr ""
  32384. #. type: table
  32385. #: guix-git/doc/guix.texi:21887
  32386. msgid "Port on which to accept connections."
  32387. msgstr ""
  32388. #. type: item
  32389. #: guix-git/doc/guix.texi:21888
  32390. #, no-wrap
  32391. msgid "@code{udp-port} (default: @code{11211})"
  32392. msgstr ""
  32393. #. type: table
  32394. #: guix-git/doc/guix.texi:21891
  32395. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  32396. msgstr ""
  32397. #. type: item
  32398. #: guix-git/doc/guix.texi:21892
  32399. #, no-wrap
  32400. msgid "@code{additional-options} (default: @code{'()})"
  32401. msgstr ""
  32402. #. type: table
  32403. #: guix-git/doc/guix.texi:21894
  32404. msgid "Additional command line options to pass to @code{memcached}."
  32405. msgstr ""
  32406. #. type: subsubheading
  32407. #: guix-git/doc/guix.texi:21897
  32408. #, no-wrap
  32409. msgid "Redis"
  32410. msgstr ""
  32411. #. type: defvr
  32412. #: guix-git/doc/guix.texi:21899
  32413. #, no-wrap
  32414. msgid "{Scheme Variable} redis-service-type"
  32415. msgstr ""
  32416. #. type: defvr
  32417. #: guix-git/doc/guix.texi:21902
  32418. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  32419. msgstr ""
  32420. #. type: deftp
  32421. #: guix-git/doc/guix.texi:21904
  32422. #, no-wrap
  32423. msgid "{Data Type} redis-configuration"
  32424. msgstr ""
  32425. #. type: deftp
  32426. #: guix-git/doc/guix.texi:21906
  32427. msgid "Data type representing the configuration of redis."
  32428. msgstr ""
  32429. #. type: item
  32430. #: guix-git/doc/guix.texi:21908
  32431. #, no-wrap
  32432. msgid "@code{redis} (default: @code{redis})"
  32433. msgstr ""
  32434. #. type: table
  32435. #: guix-git/doc/guix.texi:21910
  32436. msgid "The Redis package to use."
  32437. msgstr ""
  32438. #. type: item
  32439. #: guix-git/doc/guix.texi:21911
  32440. #, no-wrap
  32441. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  32442. msgstr ""
  32443. #. type: table
  32444. #: guix-git/doc/guix.texi:21913
  32445. msgid "Network interface on which to listen."
  32446. msgstr ""
  32447. #. type: item
  32448. #: guix-git/doc/guix.texi:21914
  32449. #, no-wrap
  32450. msgid "@code{port} (default: @code{6379})"
  32451. msgstr ""
  32452. #. type: table
  32453. #: guix-git/doc/guix.texi:21917
  32454. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  32455. msgstr ""
  32456. #. type: item
  32457. #: guix-git/doc/guix.texi:21918
  32458. #, no-wrap
  32459. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  32460. msgstr ""
  32461. #. type: table
  32462. #: guix-git/doc/guix.texi:21920
  32463. msgid "Directory in which to store the database and related files."
  32464. msgstr ""
  32465. #. type: cindex
  32466. #: guix-git/doc/guix.texi:21926
  32467. #, no-wrap
  32468. msgid "mail"
  32469. msgstr ""
  32470. #. type: cindex
  32471. #: guix-git/doc/guix.texi:21927
  32472. #, no-wrap
  32473. msgid "email"
  32474. msgstr ""
  32475. #. type: Plain text
  32476. #: guix-git/doc/guix.texi:21932
  32477. 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."
  32478. msgstr ""
  32479. #. type: subsubheading
  32480. #: guix-git/doc/guix.texi:21933
  32481. #, no-wrap
  32482. msgid "Dovecot Service"
  32483. msgstr ""
  32484. #. type: deffn
  32485. #: guix-git/doc/guix.texi:21935
  32486. #, no-wrap
  32487. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  32488. msgstr ""
  32489. #. type: deffn
  32490. #: guix-git/doc/guix.texi:21937
  32491. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  32492. msgstr ""
  32493. #. type: Plain text
  32494. #: guix-git/doc/guix.texi:21947
  32495. 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."
  32496. msgstr ""
  32497. #. type: Plain text
  32498. #: guix-git/doc/guix.texi:21950
  32499. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  32500. msgstr ""
  32501. #. type: lisp
  32502. #: guix-git/doc/guix.texi:21955
  32503. #, no-wrap
  32504. msgid ""
  32505. "(dovecot-service #:config\n"
  32506. " (dovecot-configuration\n"
  32507. " (mail-location \"maildir:~/.mail\")))\n"
  32508. msgstr ""
  32509. #. type: Plain text
  32510. #: guix-git/doc/guix.texi:21963
  32511. 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."
  32512. msgstr ""
  32513. #. type: Plain text
  32514. #: guix-git/doc/guix.texi:21973
  32515. msgid "Available @code{dovecot-configuration} fields are:"
  32516. msgstr ""
  32517. #. type: deftypevr
  32518. #: guix-git/doc/guix.texi:21974
  32519. #, no-wrap
  32520. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  32521. msgstr ""
  32522. #. type: deftypevr
  32523. #: guix-git/doc/guix.texi:21976 guix-git/doc/guix.texi:23325
  32524. msgid "The dovecot package."
  32525. msgstr ""
  32526. #. type: deftypevr
  32527. #: guix-git/doc/guix.texi:21978
  32528. #, no-wrap
  32529. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  32530. msgstr ""
  32531. #. type: deftypevr
  32532. #: guix-git/doc/guix.texi:21984
  32533. 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."
  32534. msgstr ""
  32535. #. type: deftypevr
  32536. #: guix-git/doc/guix.texi:21986
  32537. #, no-wrap
  32538. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  32539. msgstr ""
  32540. #. type: deftypevr
  32541. #: guix-git/doc/guix.texi:21989
  32542. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  32543. msgstr ""
  32544. #. type: deftypevr
  32545. #: guix-git/doc/guix.texi:21991
  32546. msgid "Available @code{protocol-configuration} fields are:"
  32547. msgstr ""
  32548. #. type: deftypevr
  32549. #: guix-git/doc/guix.texi:21992
  32550. #, no-wrap
  32551. msgid "{@code{protocol-configuration} parameter} string name"
  32552. msgstr ""
  32553. #. type: deftypevr
  32554. #: guix-git/doc/guix.texi:21994
  32555. msgid "The name of the protocol."
  32556. msgstr ""
  32557. #. type: deftypevr
  32558. #: guix-git/doc/guix.texi:21996
  32559. #, no-wrap
  32560. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  32561. msgstr ""
  32562. #. type: deftypevr
  32563. #: guix-git/doc/guix.texi:22000
  32564. 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\"}."
  32565. msgstr ""
  32566. #. type: deftypevr
  32567. #: guix-git/doc/guix.texi:22002
  32568. #, no-wrap
  32569. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  32570. msgstr ""
  32571. #. type: deftypevr
  32572. #: guix-git/doc/guix.texi:22007
  32573. 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."
  32574. msgstr ""
  32575. #. type: deftypevr
  32576. #: guix-git/doc/guix.texi:22010
  32577. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  32578. msgstr ""
  32579. #. type: deftypevr
  32580. #: guix-git/doc/guix.texi:22015
  32581. #, no-wrap
  32582. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  32583. msgstr ""
  32584. #. type: deftypevr
  32585. #: guix-git/doc/guix.texi:22020
  32586. 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."
  32587. msgstr ""
  32588. #. type: deftypevr
  32589. #: guix-git/doc/guix.texi:22024
  32590. #, no-wrap
  32591. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  32592. msgstr ""
  32593. #. type: deftypevr
  32594. #: guix-git/doc/guix.texi:22029
  32595. 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."
  32596. msgstr ""
  32597. #. type: deftypevr
  32598. #: guix-git/doc/guix.texi:22034
  32599. #, no-wrap
  32600. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  32601. msgstr ""
  32602. #. type: deftypevr
  32603. #: guix-git/doc/guix.texi:22036
  32604. msgid "Space separated list of plugins to load."
  32605. msgstr ""
  32606. #. type: deftypevr
  32607. #: guix-git/doc/guix.texi:22038
  32608. #, no-wrap
  32609. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  32610. msgstr ""
  32611. #. type: deftypevr
  32612. #: guix-git/doc/guix.texi:22042
  32613. 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}."
  32614. msgstr ""
  32615. #. type: deftypevr
  32616. #: guix-git/doc/guix.texi:22046
  32617. #, no-wrap
  32618. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  32619. msgstr ""
  32620. #. type: deftypevr
  32621. #: guix-git/doc/guix.texi:22050
  32622. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  32623. msgstr ""
  32624. #. type: deftypevr
  32625. #: guix-git/doc/guix.texi:22052
  32626. msgid "Available @code{service-configuration} fields are:"
  32627. msgstr ""
  32628. #. type: deftypevr
  32629. #: guix-git/doc/guix.texi:22053
  32630. #, no-wrap
  32631. msgid "{@code{service-configuration} parameter} string kind"
  32632. msgstr ""
  32633. #. type: deftypevr
  32634. #: guix-git/doc/guix.texi:22058
  32635. 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."
  32636. msgstr ""
  32637. #. type: deftypevr
  32638. #: guix-git/doc/guix.texi:22060
  32639. #, no-wrap
  32640. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  32641. msgstr ""
  32642. #. type: deftypevr
  32643. #: guix-git/doc/guix.texi:22065
  32644. 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{()}."
  32645. msgstr ""
  32646. #. type: deftypevr
  32647. #: guix-git/doc/guix.texi:22067
  32648. msgid "Available @code{unix-listener-configuration} fields are:"
  32649. msgstr ""
  32650. #. type: deftypevr
  32651. #: guix-git/doc/guix.texi:22068
  32652. #, no-wrap
  32653. msgid "{@code{unix-listener-configuration} parameter} string path"
  32654. msgstr ""
  32655. #. type: deftypevr
  32656. #: guix-git/doc/guix.texi:22071 guix-git/doc/guix.texi:22094
  32657. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  32658. msgstr ""
  32659. #. type: deftypevr
  32660. #: guix-git/doc/guix.texi:22073
  32661. #, no-wrap
  32662. msgid "{@code{unix-listener-configuration} parameter} string mode"
  32663. msgstr ""
  32664. #. type: deftypevr
  32665. #: guix-git/doc/guix.texi:22076 guix-git/doc/guix.texi:22099
  32666. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  32667. msgstr ""
  32668. #. type: deftypevr
  32669. #: guix-git/doc/guix.texi:22078
  32670. #, no-wrap
  32671. msgid "{@code{unix-listener-configuration} parameter} string user"
  32672. msgstr ""
  32673. #. type: deftypevr
  32674. #: guix-git/doc/guix.texi:22081 guix-git/doc/guix.texi:22104
  32675. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  32676. msgstr ""
  32677. #. type: deftypevr
  32678. #: guix-git/doc/guix.texi:22083
  32679. #, no-wrap
  32680. msgid "{@code{unix-listener-configuration} parameter} string group"
  32681. msgstr ""
  32682. #. type: deftypevr
  32683. #: guix-git/doc/guix.texi:22086 guix-git/doc/guix.texi:22109
  32684. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  32685. msgstr ""
  32686. #. type: deftypevr
  32687. #: guix-git/doc/guix.texi:22090
  32688. msgid "Available @code{fifo-listener-configuration} fields are:"
  32689. msgstr ""
  32690. #. type: deftypevr
  32691. #: guix-git/doc/guix.texi:22091
  32692. #, no-wrap
  32693. msgid "{@code{fifo-listener-configuration} parameter} string path"
  32694. msgstr ""
  32695. #. type: deftypevr
  32696. #: guix-git/doc/guix.texi:22096
  32697. #, no-wrap
  32698. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  32699. msgstr ""
  32700. #. type: deftypevr
  32701. #: guix-git/doc/guix.texi:22101
  32702. #, no-wrap
  32703. msgid "{@code{fifo-listener-configuration} parameter} string user"
  32704. msgstr ""
  32705. #. type: deftypevr
  32706. #: guix-git/doc/guix.texi:22106
  32707. #, no-wrap
  32708. msgid "{@code{fifo-listener-configuration} parameter} string group"
  32709. msgstr ""
  32710. #. type: deftypevr
  32711. #: guix-git/doc/guix.texi:22113
  32712. msgid "Available @code{inet-listener-configuration} fields are:"
  32713. msgstr ""
  32714. #. type: deftypevr
  32715. #: guix-git/doc/guix.texi:22114
  32716. #, no-wrap
  32717. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  32718. msgstr ""
  32719. #. type: deftypevr
  32720. #: guix-git/doc/guix.texi:22116
  32721. msgid "The protocol to listen for."
  32722. msgstr ""
  32723. #. type: deftypevr
  32724. #: guix-git/doc/guix.texi:22118
  32725. #, no-wrap
  32726. msgid "{@code{inet-listener-configuration} parameter} string address"
  32727. msgstr ""
  32728. #. type: deftypevr
  32729. #: guix-git/doc/guix.texi:22121
  32730. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  32731. msgstr ""
  32732. #. type: deftypevr
  32733. #: guix-git/doc/guix.texi:22123
  32734. #, no-wrap
  32735. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  32736. msgstr ""
  32737. #. type: deftypevr
  32738. #: guix-git/doc/guix.texi:22125
  32739. msgid "The port on which to listen."
  32740. msgstr ""
  32741. #. type: deftypevr
  32742. #: guix-git/doc/guix.texi:22127
  32743. #, no-wrap
  32744. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  32745. msgstr ""
  32746. #. type: deftypevr
  32747. #: guix-git/doc/guix.texi:22131
  32748. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  32749. msgstr ""
  32750. #. type: deftypevr
  32751. #: guix-git/doc/guix.texi:22135
  32752. #, no-wrap
  32753. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  32754. msgstr ""
  32755. #. type: deftypevr
  32756. #: guix-git/doc/guix.texi:22140
  32757. 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."
  32758. msgstr ""
  32759. #. type: deftypevr
  32760. #: guix-git/doc/guix.texi:22145
  32761. #, no-wrap
  32762. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  32763. msgstr ""
  32764. #. type: deftypevr
  32765. #: guix-git/doc/guix.texi:22150
  32766. 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}."
  32767. msgstr ""
  32768. #. type: deftypevr
  32769. #: guix-git/doc/guix.texi:22153
  32770. #, no-wrap
  32771. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  32772. msgstr ""
  32773. #. type: deftypevr
  32774. #: guix-git/doc/guix.texi:22156
  32775. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  32776. msgstr ""
  32777. #. type: deftypevr
  32778. #: guix-git/doc/guix.texi:22161
  32779. #, no-wrap
  32780. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  32781. msgstr ""
  32782. #. type: deftypevr
  32783. #: guix-git/doc/guix.texi:22164
  32784. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  32785. msgstr ""
  32786. #. type: deftypevr
  32787. #: guix-git/doc/guix.texi:22166
  32788. #, no-wrap
  32789. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  32790. msgstr ""
  32791. #. type: deftypevr
  32792. #: guix-git/doc/guix.texi:22170
  32793. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  32794. msgstr ""
  32795. #. type: deftypevr
  32796. #: guix-git/doc/guix.texi:22174
  32797. #, no-wrap
  32798. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  32799. msgstr ""
  32800. #. type: deftypevr
  32801. #: guix-git/doc/guix.texi:22177
  32802. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  32803. msgstr ""
  32804. #. type: deftypevr
  32805. #: guix-git/doc/guix.texi:22179
  32806. msgid "Available @code{dict-configuration} fields are:"
  32807. msgstr ""
  32808. #. type: deftypevr
  32809. #: guix-git/doc/guix.texi:22180
  32810. #, no-wrap
  32811. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  32812. msgstr ""
  32813. #. type: deftypevr
  32814. #: guix-git/doc/guix.texi:22183
  32815. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  32816. msgstr ""
  32817. #. type: deftypevr
  32818. #: guix-git/doc/guix.texi:22187
  32819. #, no-wrap
  32820. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  32821. msgstr ""
  32822. #. type: deftypevr
  32823. #: guix-git/doc/guix.texi:22190
  32824. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  32825. msgstr ""
  32826. #. type: deftypevr
  32827. #: guix-git/doc/guix.texi:22192
  32828. msgid "Available @code{passdb-configuration} fields are:"
  32829. msgstr ""
  32830. #. type: deftypevr
  32831. #: guix-git/doc/guix.texi:22193
  32832. #, no-wrap
  32833. msgid "{@code{passdb-configuration} parameter} string driver"
  32834. msgstr ""
  32835. #. type: deftypevr
  32836. #: guix-git/doc/guix.texi:22198
  32837. 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\"}."
  32838. msgstr ""
  32839. #. type: deftypevr
  32840. #: guix-git/doc/guix.texi:22200
  32841. #, no-wrap
  32842. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  32843. msgstr ""
  32844. #. type: deftypevr
  32845. #: guix-git/doc/guix.texi:22203
  32846. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  32847. msgstr ""
  32848. #. type: deftypevr
  32849. #: guix-git/doc/guix.texi:22207
  32850. #, no-wrap
  32851. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  32852. msgstr ""
  32853. #. type: deftypevr
  32854. #: guix-git/doc/guix.texi:22210
  32855. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  32856. msgstr ""
  32857. #. type: deftypevr
  32858. #: guix-git/doc/guix.texi:22212
  32859. msgid "Available @code{userdb-configuration} fields are:"
  32860. msgstr ""
  32861. #. type: deftypevr
  32862. #: guix-git/doc/guix.texi:22213
  32863. #, no-wrap
  32864. msgid "{@code{userdb-configuration} parameter} string driver"
  32865. msgstr ""
  32866. #. type: deftypevr
  32867. #: guix-git/doc/guix.texi:22217
  32868. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  32869. msgstr ""
  32870. #. type: deftypevr
  32871. #: guix-git/doc/guix.texi:22219
  32872. #, no-wrap
  32873. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  32874. msgstr ""
  32875. #. type: deftypevr
  32876. #: guix-git/doc/guix.texi:22222
  32877. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  32878. msgstr ""
  32879. #. type: deftypevr
  32880. #: guix-git/doc/guix.texi:22224
  32881. #, no-wrap
  32882. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  32883. msgstr ""
  32884. #. type: deftypevr
  32885. #: guix-git/doc/guix.texi:22227
  32886. msgid "Override fields from passwd. Defaults to @samp{()}."
  32887. msgstr ""
  32888. #. type: deftypevr
  32889. #: guix-git/doc/guix.texi:22231
  32890. #, no-wrap
  32891. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  32892. msgstr ""
  32893. #. type: deftypevr
  32894. #: guix-git/doc/guix.texi:22234
  32895. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  32896. msgstr ""
  32897. #. type: deftypevr
  32898. #: guix-git/doc/guix.texi:22236
  32899. #, no-wrap
  32900. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  32901. msgstr ""
  32902. #. type: deftypevr
  32903. #: guix-git/doc/guix.texi:22239
  32904. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  32905. msgstr ""
  32906. #. type: deftypevr
  32907. #: guix-git/doc/guix.texi:22241
  32908. msgid "Available @code{namespace-configuration} fields are:"
  32909. msgstr ""
  32910. #. type: deftypevr
  32911. #: guix-git/doc/guix.texi:22242
  32912. #, no-wrap
  32913. msgid "{@code{namespace-configuration} parameter} string name"
  32914. msgstr ""
  32915. #. type: deftypevr
  32916. #: guix-git/doc/guix.texi:22244
  32917. msgid "Name for this namespace."
  32918. msgstr ""
  32919. #. type: deftypevr
  32920. #: guix-git/doc/guix.texi:22246
  32921. #, no-wrap
  32922. msgid "{@code{namespace-configuration} parameter} string type"
  32923. msgstr ""
  32924. #. type: deftypevr
  32925. #: guix-git/doc/guix.texi:22249
  32926. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  32927. msgstr ""
  32928. #. type: deftypevr
  32929. #: guix-git/doc/guix.texi:22251
  32930. #, no-wrap
  32931. msgid "{@code{namespace-configuration} parameter} string separator"
  32932. msgstr ""
  32933. #. type: deftypevr
  32934. #: guix-git/doc/guix.texi:22257
  32935. 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{\"\"}."
  32936. msgstr ""
  32937. #. type: deftypevr
  32938. #: guix-git/doc/guix.texi:22259
  32939. #, no-wrap
  32940. msgid "{@code{namespace-configuration} parameter} string prefix"
  32941. msgstr ""
  32942. #. type: deftypevr
  32943. #: guix-git/doc/guix.texi:22263
  32944. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  32945. msgstr ""
  32946. #. type: deftypevr
  32947. #: guix-git/doc/guix.texi:22265
  32948. #, no-wrap
  32949. msgid "{@code{namespace-configuration} parameter} string location"
  32950. msgstr ""
  32951. #. type: deftypevr
  32952. #: guix-git/doc/guix.texi:22269
  32953. 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{\"\"}."
  32954. msgstr ""
  32955. #. type: deftypevr
  32956. #: guix-git/doc/guix.texi:22271
  32957. #, no-wrap
  32958. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  32959. msgstr ""
  32960. #. type: deftypevr
  32961. #: guix-git/doc/guix.texi:22275
  32962. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  32963. msgstr ""
  32964. #. type: deftypevr
  32965. #: guix-git/doc/guix.texi:22277
  32966. #, no-wrap
  32967. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  32968. msgstr ""
  32969. #. type: deftypevr
  32970. #: guix-git/doc/guix.texi:22285
  32971. 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}."
  32972. msgstr ""
  32973. #. type: deftypevr
  32974. #: guix-git/doc/guix.texi:22287
  32975. #, no-wrap
  32976. msgid "{@code{namespace-configuration} parameter} boolean list?"
  32977. msgstr ""
  32978. #. type: deftypevr
  32979. #: guix-git/doc/guix.texi:22293
  32980. 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}."
  32981. msgstr ""
  32982. #. type: deftypevr
  32983. #: guix-git/doc/guix.texi:22295
  32984. #, no-wrap
  32985. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  32986. msgstr ""
  32987. #. type: deftypevr
  32988. #: guix-git/doc/guix.texi:22300
  32989. 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}."
  32990. msgstr ""
  32991. #. type: deftypevr
  32992. #: guix-git/doc/guix.texi:22302
  32993. #, no-wrap
  32994. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  32995. msgstr ""
  32996. #. type: deftypevr
  32997. #: guix-git/doc/guix.texi:22305
  32998. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  32999. msgstr ""
  33000. #. type: deftypevr
  33001. #: guix-git/doc/guix.texi:22307
  33002. msgid "Available @code{mailbox-configuration} fields are:"
  33003. msgstr ""
  33004. #. type: deftypevr
  33005. #: guix-git/doc/guix.texi:22308
  33006. #, no-wrap
  33007. msgid "{@code{mailbox-configuration} parameter} string name"
  33008. msgstr ""
  33009. #. type: deftypevr
  33010. #: guix-git/doc/guix.texi:22310
  33011. msgid "Name for this mailbox."
  33012. msgstr ""
  33013. #. type: deftypevr
  33014. #: guix-git/doc/guix.texi:22312
  33015. #, no-wrap
  33016. msgid "{@code{mailbox-configuration} parameter} string auto"
  33017. msgstr ""
  33018. #. type: deftypevr
  33019. #: guix-git/doc/guix.texi:22316
  33020. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  33021. msgstr ""
  33022. #. type: deftypevr
  33023. #: guix-git/doc/guix.texi:22318
  33024. #, no-wrap
  33025. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  33026. msgstr ""
  33027. #. type: deftypevr
  33028. #: guix-git/doc/guix.texi:22323
  33029. 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{()}."
  33030. msgstr ""
  33031. #. type: deftypevr
  33032. #: guix-git/doc/guix.texi:22329
  33033. #, no-wrap
  33034. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  33035. msgstr ""
  33036. #. type: deftypevr
  33037. #: guix-git/doc/guix.texi:22332
  33038. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  33039. msgstr ""
  33040. #. type: deftypevr
  33041. #: guix-git/doc/guix.texi:22334
  33042. #, no-wrap
  33043. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  33044. msgstr ""
  33045. #. type: deftypevr
  33046. #: guix-git/doc/guix.texi:22337
  33047. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  33048. msgstr ""
  33049. #. type: deftypevr
  33050. #: guix-git/doc/guix.texi:22339
  33051. #, no-wrap
  33052. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  33053. msgstr ""
  33054. #. type: deftypevr
  33055. #: guix-git/doc/guix.texi:22346
  33056. 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{()}."
  33057. msgstr ""
  33058. #. type: deftypevr
  33059. #: guix-git/doc/guix.texi:22348
  33060. #, no-wrap
  33061. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  33062. msgstr ""
  33063. #. type: deftypevr
  33064. #: guix-git/doc/guix.texi:22351
  33065. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  33066. msgstr ""
  33067. #. type: deftypevr
  33068. #: guix-git/doc/guix.texi:22353
  33069. #, no-wrap
  33070. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  33071. msgstr ""
  33072. #. type: deftypevr
  33073. #: guix-git/doc/guix.texi:22359
  33074. 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}."
  33075. msgstr ""
  33076. #. type: deftypevr
  33077. #: guix-git/doc/guix.texi:22361
  33078. #, no-wrap
  33079. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  33080. msgstr ""
  33081. #. type: deftypevr
  33082. #: guix-git/doc/guix.texi:22367
  33083. 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}."
  33084. msgstr ""
  33085. #. type: deftypevr
  33086. #: guix-git/doc/guix.texi:22369
  33087. #, no-wrap
  33088. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  33089. msgstr ""
  33090. #. type: deftypevr
  33091. #: guix-git/doc/guix.texi:22373
  33092. 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}."
  33093. msgstr ""
  33094. #. type: deftypevr
  33095. #: guix-git/doc/guix.texi:22375
  33096. #, no-wrap
  33097. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  33098. msgstr ""
  33099. #. type: deftypevr
  33100. #: guix-git/doc/guix.texi:22378
  33101. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  33102. msgstr ""
  33103. #. type: deftypevr
  33104. #: guix-git/doc/guix.texi:22380
  33105. #, no-wrap
  33106. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  33107. msgstr ""
  33108. #. type: deftypevr
  33109. #: guix-git/doc/guix.texi:22384
  33110. 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."
  33111. msgstr ""
  33112. #. type: deftypevr
  33113. #: guix-git/doc/guix.texi:22386
  33114. #, no-wrap
  33115. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  33116. msgstr ""
  33117. #. type: deftypevr
  33118. #: guix-git/doc/guix.texi:22393
  33119. 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}."
  33120. msgstr ""
  33121. #. type: deftypevr
  33122. #: guix-git/doc/guix.texi:22395
  33123. #, no-wrap
  33124. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  33125. msgstr ""
  33126. #. type: deftypevr
  33127. #: guix-git/doc/guix.texi:22400
  33128. 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}."
  33129. msgstr ""
  33130. #. type: deftypevr
  33131. #: guix-git/doc/guix.texi:22402
  33132. #, no-wrap
  33133. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  33134. msgstr ""
  33135. #. type: deftypevr
  33136. #: guix-git/doc/guix.texi:22410
  33137. 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\"}."
  33138. msgstr ""
  33139. #. type: deftypevr
  33140. #: guix-git/doc/guix.texi:22412
  33141. #, no-wrap
  33142. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  33143. msgstr ""
  33144. #. type: deftypevr
  33145. #: guix-git/doc/guix.texi:22416
  33146. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  33147. msgstr ""
  33148. #. type: deftypevr
  33149. #: guix-git/doc/guix.texi:22418
  33150. #, no-wrap
  33151. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  33152. msgstr ""
  33153. #. type: deftypevr
  33154. #: guix-git/doc/guix.texi:22424
  33155. 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{()}."
  33156. msgstr ""
  33157. #. type: deftypevr
  33158. #: guix-git/doc/guix.texi:22426
  33159. #, no-wrap
  33160. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  33161. msgstr ""
  33162. #. type: deftypevr
  33163. #: guix-git/doc/guix.texi:22431
  33164. 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{\"\"}."
  33165. msgstr ""
  33166. #. type: deftypevr
  33167. #: guix-git/doc/guix.texi:22433
  33168. #, no-wrap
  33169. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  33170. msgstr ""
  33171. #. type: deftypevr
  33172. #: guix-git/doc/guix.texi:22440
  33173. 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.-_@@\"}."
  33174. msgstr ""
  33175. #. type: deftypevr
  33176. #: guix-git/doc/guix.texi:22442
  33177. #, no-wrap
  33178. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  33179. msgstr ""
  33180. #. type: deftypevr
  33181. #: guix-git/doc/guix.texi:22448
  33182. 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{\"\"}."
  33183. msgstr ""
  33184. #. type: deftypevr
  33185. #: guix-git/doc/guix.texi:22450
  33186. #, no-wrap
  33187. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  33188. msgstr ""
  33189. #. type: deftypevr
  33190. #: guix-git/doc/guix.texi:22457
  33191. 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\"}."
  33192. msgstr ""
  33193. #. type: deftypevr
  33194. #: guix-git/doc/guix.texi:22459
  33195. #, no-wrap
  33196. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  33197. msgstr ""
  33198. #. type: deftypevr
  33199. #: guix-git/doc/guix.texi:22467
  33200. 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{\"\"}."
  33201. msgstr ""
  33202. #. type: deftypevr
  33203. #: guix-git/doc/guix.texi:22469
  33204. #, no-wrap
  33205. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  33206. msgstr ""
  33207. #. type: deftypevr
  33208. #: guix-git/doc/guix.texi:22473
  33209. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  33210. msgstr ""
  33211. #. type: deftypevr
  33212. #: guix-git/doc/guix.texi:22475
  33213. #, no-wrap
  33214. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  33215. msgstr ""
  33216. #. type: deftypevr
  33217. #: guix-git/doc/guix.texi:22480
  33218. 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}."
  33219. msgstr ""
  33220. #. type: deftypevr
  33221. #: guix-git/doc/guix.texi:22482
  33222. #, no-wrap
  33223. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  33224. msgstr ""
  33225. #. type: deftypevr
  33226. #: guix-git/doc/guix.texi:22487
  33227. 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{\"\"}."
  33228. msgstr ""
  33229. #. type: deftypevr
  33230. #: guix-git/doc/guix.texi:22489
  33231. #, no-wrap
  33232. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  33233. msgstr ""
  33234. #. type: deftypevr
  33235. #: guix-git/doc/guix.texi:22495
  33236. 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{\"\"}."
  33237. msgstr ""
  33238. #. type: deftypevr
  33239. #: guix-git/doc/guix.texi:22497
  33240. #, no-wrap
  33241. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  33242. msgstr ""
  33243. #. type: deftypevr
  33244. #: guix-git/doc/guix.texi:22502
  33245. 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}."
  33246. msgstr ""
  33247. #. type: deftypevr
  33248. #: guix-git/doc/guix.texi:22504
  33249. #, no-wrap
  33250. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  33251. msgstr ""
  33252. #. type: deftypevr
  33253. #: guix-git/doc/guix.texi:22507
  33254. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  33255. msgstr ""
  33256. #. type: deftypevr
  33257. #: guix-git/doc/guix.texi:22509
  33258. #, no-wrap
  33259. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  33260. msgstr ""
  33261. #. type: deftypevr
  33262. #: guix-git/doc/guix.texi:22512
  33263. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  33264. msgstr ""
  33265. #. type: deftypevr
  33266. #: guix-git/doc/guix.texi:22514
  33267. #, no-wrap
  33268. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  33269. msgstr ""
  33270. #. type: deftypevr
  33271. #: guix-git/doc/guix.texi:22518
  33272. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  33273. msgstr ""
  33274. #. type: deftypevr
  33275. #: guix-git/doc/guix.texi:22520
  33276. #, no-wrap
  33277. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  33278. msgstr ""
  33279. #. type: deftypevr
  33280. #: guix-git/doc/guix.texi:22525
  33281. 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}."
  33282. msgstr ""
  33283. #. type: deftypevr
  33284. #: guix-git/doc/guix.texi:22527
  33285. #, no-wrap
  33286. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  33287. msgstr ""
  33288. #. type: deftypevr
  33289. #: guix-git/doc/guix.texi:22533
  33290. 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."
  33291. msgstr ""
  33292. #. type: deftypevr
  33293. #: guix-git/doc/guix.texi:22535
  33294. #, no-wrap
  33295. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  33296. msgstr ""
  33297. #. type: deftypevr
  33298. #: guix-git/doc/guix.texi:22540
  33299. 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{()}."
  33300. msgstr ""
  33301. #. type: deftypevr
  33302. #: guix-git/doc/guix.texi:22542
  33303. #, no-wrap
  33304. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  33305. msgstr ""
  33306. #. type: deftypevr
  33307. #: guix-git/doc/guix.texi:22546
  33308. 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{()}."
  33309. msgstr ""
  33310. #. type: deftypevr
  33311. #: guix-git/doc/guix.texi:22548
  33312. #, no-wrap
  33313. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  33314. msgstr ""
  33315. #. type: deftypevr
  33316. #: guix-git/doc/guix.texi:22552
  33317. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  33318. msgstr ""
  33319. #. type: deftypevr
  33320. #: guix-git/doc/guix.texi:22554
  33321. #, no-wrap
  33322. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  33323. msgstr ""
  33324. #. type: deftypevr
  33325. #: guix-git/doc/guix.texi:22559
  33326. 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\"}."
  33327. msgstr ""
  33328. #. type: deftypevr
  33329. #: guix-git/doc/guix.texi:22561
  33330. #, no-wrap
  33331. msgid "{@code{dovecot-configuration} parameter} string log-path"
  33332. msgstr ""
  33333. #. type: deftypevr
  33334. #: guix-git/doc/guix.texi:22565
  33335. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  33336. msgstr ""
  33337. #. type: deftypevr
  33338. #: guix-git/doc/guix.texi:22567
  33339. #, no-wrap
  33340. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  33341. msgstr ""
  33342. #. type: deftypevr
  33343. #: guix-git/doc/guix.texi:22571
  33344. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  33345. msgstr ""
  33346. #. type: deftypevr
  33347. #: guix-git/doc/guix.texi:22573
  33348. #, no-wrap
  33349. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  33350. msgstr ""
  33351. #. type: deftypevr
  33352. #: guix-git/doc/guix.texi:22577
  33353. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  33354. msgstr ""
  33355. #. type: deftypevr
  33356. #: guix-git/doc/guix.texi:22579
  33357. #, no-wrap
  33358. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  33359. msgstr ""
  33360. #. type: deftypevr
  33361. #: guix-git/doc/guix.texi:22584
  33362. 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\"}."
  33363. msgstr ""
  33364. #. type: deftypevr
  33365. #: guix-git/doc/guix.texi:22586
  33366. #, no-wrap
  33367. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  33368. msgstr ""
  33369. #. type: deftypevr
  33370. #: guix-git/doc/guix.texi:22590
  33371. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  33372. msgstr ""
  33373. #. type: deftypevr
  33374. #: guix-git/doc/guix.texi:22592
  33375. #, no-wrap
  33376. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  33377. msgstr ""
  33378. #. type: deftypevr
  33379. #: guix-git/doc/guix.texi:22599
  33380. 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\"}."
  33381. msgstr ""
  33382. #. type: deftypevr
  33383. #: guix-git/doc/guix.texi:22601
  33384. #, no-wrap
  33385. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  33386. msgstr ""
  33387. #. type: deftypevr
  33388. #: guix-git/doc/guix.texi:22605
  33389. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  33390. msgstr ""
  33391. #. type: deftypevr
  33392. #: guix-git/doc/guix.texi:22607
  33393. #, no-wrap
  33394. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  33395. msgstr ""
  33396. #. type: deftypevr
  33397. #: guix-git/doc/guix.texi:22612
  33398. 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}."
  33399. msgstr ""
  33400. #. type: deftypevr
  33401. #: guix-git/doc/guix.texi:22614
  33402. #, no-wrap
  33403. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  33404. msgstr ""
  33405. #. type: deftypevr
  33406. #: guix-git/doc/guix.texi:22618
  33407. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  33408. msgstr ""
  33409. #. type: deftypevr
  33410. #: guix-git/doc/guix.texi:22620
  33411. #, no-wrap
  33412. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  33413. msgstr ""
  33414. #. type: deftypevr
  33415. #: guix-git/doc/guix.texi:22623
  33416. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  33417. msgstr ""
  33418. #. type: deftypevr
  33419. #: guix-git/doc/guix.texi:22625
  33420. #, no-wrap
  33421. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  33422. msgstr ""
  33423. #. type: deftypevr
  33424. #: guix-git/doc/guix.texi:22629
  33425. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  33426. msgstr ""
  33427. #. type: deftypevr
  33428. #: guix-git/doc/guix.texi:22631
  33429. #, no-wrap
  33430. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  33431. msgstr ""
  33432. #. type: deftypevr
  33433. #: guix-git/doc/guix.texi:22635
  33434. 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."
  33435. msgstr ""
  33436. #. type: deftypevr
  33437. #: guix-git/doc/guix.texi:22637
  33438. #, no-wrap
  33439. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  33440. msgstr ""
  33441. #. type: deftypevr
  33442. #: guix-git/doc/guix.texi:22641
  33443. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  33444. msgstr ""
  33445. #. type: deftypevr
  33446. #: guix-git/doc/guix.texi:22643
  33447. #, no-wrap
  33448. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  33449. msgstr ""
  33450. #. type: deftypevr
  33451. #: guix-git/doc/guix.texi:22647
  33452. 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@}>: \\\"\"}."
  33453. msgstr ""
  33454. #. type: deftypevr
  33455. #: guix-git/doc/guix.texi:22649
  33456. #, no-wrap
  33457. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  33458. msgstr ""
  33459. #. type: deftypevr
  33460. #: guix-git/doc/guix.texi:22651
  33461. msgid "Format to use for logging mail deliveries. You can use variables:"
  33462. msgstr ""
  33463. #. type: item
  33464. #: guix-git/doc/guix.texi:22652
  33465. #, no-wrap
  33466. msgid "%$"
  33467. msgstr ""
  33468. #. type: table
  33469. #: guix-git/doc/guix.texi:22654
  33470. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  33471. msgstr ""
  33472. #. type: item
  33473. #: guix-git/doc/guix.texi:22654
  33474. #, no-wrap
  33475. msgid "%m"
  33476. msgstr ""
  33477. #. type: table
  33478. #: guix-git/doc/guix.texi:22656
  33479. msgid "Message-ID"
  33480. msgstr ""
  33481. #. type: item
  33482. #: guix-git/doc/guix.texi:22656 guix-git/doc/guix.texi:23199
  33483. #, no-wrap
  33484. msgid "%s"
  33485. msgstr ""
  33486. #. type: table
  33487. #: guix-git/doc/guix.texi:22658
  33488. msgid "Subject"
  33489. msgstr ""
  33490. #. type: item
  33491. #: guix-git/doc/guix.texi:22658
  33492. #, no-wrap
  33493. msgid "%f"
  33494. msgstr ""
  33495. #. type: table
  33496. #: guix-git/doc/guix.texi:22660
  33497. msgid "From address"
  33498. msgstr ""
  33499. #. type: table
  33500. #: guix-git/doc/guix.texi:22662
  33501. msgid "Physical size"
  33502. msgstr ""
  33503. #. type: item
  33504. #: guix-git/doc/guix.texi:22662
  33505. #, no-wrap
  33506. msgid "%w"
  33507. msgstr ""
  33508. #. type: table
  33509. #: guix-git/doc/guix.texi:22664
  33510. msgid "Virtual size."
  33511. msgstr ""
  33512. #. type: deftypevr
  33513. #: guix-git/doc/guix.texi:22666
  33514. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  33515. msgstr ""
  33516. #. type: deftypevr
  33517. #: guix-git/doc/guix.texi:22668
  33518. #, no-wrap
  33519. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  33520. msgstr ""
  33521. #. type: deftypevr
  33522. #: guix-git/doc/guix.texi:22673
  33523. 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."
  33524. msgstr ""
  33525. #. type: deftypevr
  33526. #: guix-git/doc/guix.texi:22679
  33527. 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."
  33528. msgstr ""
  33529. #. type: deftypevr
  33530. #: guix-git/doc/guix.texi:22681
  33531. msgid "There are a few special variables you can use, e.g.:"
  33532. msgstr ""
  33533. #. type: table
  33534. #: guix-git/doc/guix.texi:22685
  33535. msgid "username"
  33536. msgstr ""
  33537. #. type: item
  33538. #: guix-git/doc/guix.texi:22685 guix-git/doc/guix.texi:23195
  33539. #, no-wrap
  33540. msgid "%n"
  33541. msgstr ""
  33542. #. type: table
  33543. #: guix-git/doc/guix.texi:22687
  33544. msgid "user part in user@@domain, same as %u if there's no domain"
  33545. msgstr ""
  33546. #. type: item
  33547. #: guix-git/doc/guix.texi:22687
  33548. #, no-wrap
  33549. msgid "%d"
  33550. msgstr ""
  33551. #. type: table
  33552. #: guix-git/doc/guix.texi:22689
  33553. msgid "domain part in user@@domain, empty if there's no domain"
  33554. msgstr ""
  33555. #. type: item
  33556. #: guix-git/doc/guix.texi:22689
  33557. #, no-wrap
  33558. msgid "%h"
  33559. msgstr ""
  33560. #. type: table
  33561. #: guix-git/doc/guix.texi:22691
  33562. msgid "home director"
  33563. msgstr ""
  33564. #. type: deftypevr
  33565. #: guix-git/doc/guix.texi:22694
  33566. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  33567. msgstr ""
  33568. #. type: item
  33569. #: guix-git/doc/guix.texi:22695
  33570. #, no-wrap
  33571. msgid "maildir:~/Maildir"
  33572. msgstr ""
  33573. #. type: item
  33574. #: guix-git/doc/guix.texi:22696
  33575. #, no-wrap
  33576. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  33577. msgstr ""
  33578. #. type: item
  33579. #: guix-git/doc/guix.texi:22697
  33580. #, no-wrap
  33581. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  33582. msgstr ""
  33583. #. type: deftypevr
  33584. #: guix-git/doc/guix.texi:22702
  33585. #, no-wrap
  33586. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  33587. msgstr ""
  33588. #. type: deftypevr
  33589. #: guix-git/doc/guix.texi:22707
  33590. 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{\"\"}."
  33591. msgstr ""
  33592. #. type: deftypevr
  33593. #: guix-git/doc/guix.texi:22709
  33594. #, no-wrap
  33595. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  33596. msgstr ""
  33597. #. type: deftypevr
  33598. #: guix-git/doc/guix.texi:22714
  33599. #, no-wrap
  33600. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  33601. msgstr ""
  33602. #. type: deftypevr
  33603. #: guix-git/doc/guix.texi:22720
  33604. 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{\"\"}."
  33605. msgstr ""
  33606. #. type: deftypevr
  33607. #: guix-git/doc/guix.texi:22722
  33608. #, no-wrap
  33609. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  33610. msgstr ""
  33611. #. type: deftypevr
  33612. #: guix-git/doc/guix.texi:22730
  33613. 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{\"\"}."
  33614. msgstr ""
  33615. #. type: deftypevr
  33616. #: guix-git/doc/guix.texi:22732
  33617. #, no-wrap
  33618. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  33619. msgstr ""
  33620. #. type: deftypevr
  33621. #: guix-git/doc/guix.texi:22735
  33622. 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}."
  33623. msgstr ""
  33624. #. type: deftypevr
  33625. #: guix-git/doc/guix.texi:22738
  33626. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  33627. msgstr ""
  33628. #. type: deftypevr
  33629. #: guix-git/doc/guix.texi:22743
  33630. #, no-wrap
  33631. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  33632. msgstr ""
  33633. #. type: deftypevr
  33634. #: guix-git/doc/guix.texi:22749
  33635. 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}."
  33636. msgstr ""
  33637. #. type: deftypevr
  33638. #: guix-git/doc/guix.texi:22751
  33639. #, no-wrap
  33640. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  33641. msgstr ""
  33642. #. type: deftypevr
  33643. #: guix-git/doc/guix.texi:22755
  33644. 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}."
  33645. msgstr ""
  33646. #. type: deftypevr
  33647. #: guix-git/doc/guix.texi:22757
  33648. #, no-wrap
  33649. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  33650. msgstr ""
  33651. #. type: deftypevr
  33652. #: guix-git/doc/guix.texi:22762
  33653. 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}."
  33654. msgstr ""
  33655. #. type: deftypevr
  33656. #: guix-git/doc/guix.texi:22764
  33657. #, no-wrap
  33658. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  33659. msgstr ""
  33660. #. type: deftypevr
  33661. #: guix-git/doc/guix.texi:22766
  33662. msgid "When to use fsync() or fdatasync() calls:"
  33663. msgstr ""
  33664. #. type: item
  33665. #: guix-git/doc/guix.texi:22767
  33666. #, no-wrap
  33667. msgid "optimized"
  33668. msgstr ""
  33669. #. type: table
  33670. #: guix-git/doc/guix.texi:22769
  33671. msgid "Whenever necessary to avoid losing important data"
  33672. msgstr ""
  33673. #. type: table
  33674. #: guix-git/doc/guix.texi:22771
  33675. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  33676. msgstr ""
  33677. #. type: table
  33678. #: guix-git/doc/guix.texi:22773
  33679. msgid "Never use it (best performance, but crashes can lose data)."
  33680. msgstr ""
  33681. #. type: deftypevr
  33682. #: guix-git/doc/guix.texi:22775
  33683. msgid "Defaults to @samp{\"optimized\"}."
  33684. msgstr ""
  33685. #. type: deftypevr
  33686. #: guix-git/doc/guix.texi:22777
  33687. #, no-wrap
  33688. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  33689. msgstr ""
  33690. #. type: deftypevr
  33691. #: guix-git/doc/guix.texi:22782
  33692. 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}."
  33693. msgstr ""
  33694. #. type: deftypevr
  33695. #: guix-git/doc/guix.texi:22784
  33696. #, no-wrap
  33697. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  33698. msgstr ""
  33699. #. type: deftypevr
  33700. #: guix-git/doc/guix.texi:22788
  33701. 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}."
  33702. msgstr ""
  33703. #. type: deftypevr
  33704. #: guix-git/doc/guix.texi:22790
  33705. #, no-wrap
  33706. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  33707. msgstr ""
  33708. #. type: deftypevr
  33709. #: guix-git/doc/guix.texi:22796
  33710. 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\"}."
  33711. msgstr ""
  33712. #. type: deftypevr
  33713. #: guix-git/doc/guix.texi:22798
  33714. #, no-wrap
  33715. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  33716. msgstr ""
  33717. #. type: deftypevr
  33718. #: guix-git/doc/guix.texi:22802
  33719. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  33720. msgstr ""
  33721. #. type: deftypevr
  33722. #: guix-git/doc/guix.texi:22804
  33723. #, no-wrap
  33724. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  33725. msgstr ""
  33726. #. type: deftypevr
  33727. #: guix-git/doc/guix.texi:22810
  33728. 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}."
  33729. msgstr ""
  33730. #. type: deftypevr
  33731. #: guix-git/doc/guix.texi:22812
  33732. #, no-wrap
  33733. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  33734. msgstr ""
  33735. #. type: deftypevr
  33736. #: guix-git/doc/guix.texi:22817
  33737. #, no-wrap
  33738. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  33739. msgstr ""
  33740. #. type: deftypevr
  33741. #: guix-git/doc/guix.texi:22822
  33742. 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}."
  33743. msgstr ""
  33744. #. type: deftypevr
  33745. #: guix-git/doc/guix.texi:22824
  33746. #, no-wrap
  33747. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  33748. msgstr ""
  33749. #. type: deftypevr
  33750. #: guix-git/doc/guix.texi:22829
  33751. #, no-wrap
  33752. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  33753. msgstr ""
  33754. #. type: deftypevr
  33755. #: guix-git/doc/guix.texi:22833
  33756. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  33757. msgstr ""
  33758. #. type: deftypevr
  33759. #: guix-git/doc/guix.texi:22835
  33760. #, no-wrap
  33761. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  33762. msgstr ""
  33763. #. type: deftypevr
  33764. #: guix-git/doc/guix.texi:22845
  33765. 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{()}."
  33766. msgstr ""
  33767. #. type: deftypevr
  33768. #: guix-git/doc/guix.texi:22847
  33769. #, no-wrap
  33770. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  33771. msgstr ""
  33772. #. type: deftypevr
  33773. #: guix-git/doc/guix.texi:22856
  33774. 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{\"\"}."
  33775. msgstr ""
  33776. #. type: deftypevr
  33777. #: guix-git/doc/guix.texi:22858
  33778. #, no-wrap
  33779. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  33780. msgstr ""
  33781. #. type: deftypevr
  33782. #: guix-git/doc/guix.texi:22862
  33783. 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\"}."
  33784. msgstr ""
  33785. #. type: deftypevr
  33786. #: guix-git/doc/guix.texi:22864
  33787. #, no-wrap
  33788. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  33789. msgstr ""
  33790. #. type: deftypevr
  33791. #: guix-git/doc/guix.texi:22867
  33792. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  33793. msgstr ""
  33794. #. type: deftypevr
  33795. #: guix-git/doc/guix.texi:22869
  33796. #, no-wrap
  33797. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  33798. msgstr ""
  33799. #. type: deftypevr
  33800. #: guix-git/doc/guix.texi:22873
  33801. 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{()}."
  33802. msgstr ""
  33803. #. type: deftypevr
  33804. #: guix-git/doc/guix.texi:22875
  33805. #, no-wrap
  33806. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  33807. msgstr ""
  33808. #. type: deftypevr
  33809. #: guix-git/doc/guix.texi:22880
  33810. 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}."
  33811. msgstr ""
  33812. #. type: deftypevr
  33813. #: guix-git/doc/guix.texi:22882
  33814. #, no-wrap
  33815. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  33816. msgstr ""
  33817. #. type: deftypevr
  33818. #: guix-git/doc/guix.texi:22889
  33819. 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\"}."
  33820. msgstr ""
  33821. #. type: deftypevr
  33822. #: guix-git/doc/guix.texi:22891
  33823. #, no-wrap
  33824. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  33825. msgstr ""
  33826. #. type: deftypevr
  33827. #: guix-git/doc/guix.texi:22898
  33828. 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}."
  33829. msgstr ""
  33830. #. type: deftypevr
  33831. #: guix-git/doc/guix.texi:22900
  33832. #, no-wrap
  33833. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  33834. msgstr ""
  33835. #. type: deftypevr
  33836. #: guix-git/doc/guix.texi:22908
  33837. 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}."
  33838. msgstr ""
  33839. #. type: deftypevr
  33840. #: guix-git/doc/guix.texi:22910
  33841. #, no-wrap
  33842. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  33843. msgstr ""
  33844. #. type: deftypevr
  33845. #: guix-git/doc/guix.texi:22915
  33846. 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}."
  33847. msgstr ""
  33848. #. type: deftypevr
  33849. #: guix-git/doc/guix.texi:22917
  33850. #, no-wrap
  33851. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  33852. msgstr ""
  33853. #. type: deftypevr
  33854. #: guix-git/doc/guix.texi:22922
  33855. 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}."
  33856. msgstr ""
  33857. #. type: deftypevr
  33858. #: guix-git/doc/guix.texi:22924
  33859. #, no-wrap
  33860. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  33861. msgstr ""
  33862. #. type: deftypevr
  33863. #: guix-git/doc/guix.texi:22927
  33864. msgid "Which locking methods to use for locking mbox. There are four available:"
  33865. msgstr ""
  33866. #. type: item
  33867. #: guix-git/doc/guix.texi:22929
  33868. #, no-wrap
  33869. msgid "dotlock"
  33870. msgstr ""
  33871. #. type: table
  33872. #: guix-git/doc/guix.texi:22933
  33873. 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."
  33874. msgstr ""
  33875. #. type: item
  33876. #: guix-git/doc/guix.texi:22933
  33877. #, no-wrap
  33878. msgid "dotlock-try"
  33879. msgstr ""
  33880. #. type: table
  33881. #: guix-git/doc/guix.texi:22936
  33882. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  33883. msgstr ""
  33884. #. type: item
  33885. #: guix-git/doc/guix.texi:22936
  33886. #, no-wrap
  33887. msgid "fcntl"
  33888. msgstr ""
  33889. #. type: table
  33890. #: guix-git/doc/guix.texi:22938
  33891. msgid "Use this if possible. Works with NFS too if lockd is used."
  33892. msgstr ""
  33893. #. type: item
  33894. #: guix-git/doc/guix.texi:22938
  33895. #, no-wrap
  33896. msgid "flock"
  33897. msgstr ""
  33898. #. type: table
  33899. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22942
  33900. msgid "May not exist in all systems. Doesn't work with NFS."
  33901. msgstr ""
  33902. #. type: item
  33903. #: guix-git/doc/guix.texi:22940
  33904. #, no-wrap
  33905. msgid "lockf"
  33906. msgstr ""
  33907. #. type: deftypevr
  33908. #: guix-git/doc/guix.texi:22948
  33909. 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."
  33910. msgstr ""
  33911. #. type: deftypevr
  33912. #: guix-git/doc/guix.texi:22950
  33913. #, no-wrap
  33914. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  33915. msgstr ""
  33916. #. type: deftypevr
  33917. #: guix-git/doc/guix.texi:22954
  33918. #, no-wrap
  33919. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  33920. msgstr ""
  33921. #. type: deftypevr
  33922. #: guix-git/doc/guix.texi:22957
  33923. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  33924. msgstr ""
  33925. #. type: deftypevr
  33926. #: guix-git/doc/guix.texi:22959
  33927. #, no-wrap
  33928. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  33929. msgstr ""
  33930. #. type: deftypevr
  33931. #: guix-git/doc/guix.texi:22963
  33932. 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\"}."
  33933. msgstr ""
  33934. #. type: deftypevr
  33935. #: guix-git/doc/guix.texi:22965
  33936. #, no-wrap
  33937. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  33938. msgstr ""
  33939. #. type: deftypevr
  33940. #: guix-git/doc/guix.texi:22976
  33941. 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}."
  33942. msgstr ""
  33943. #. type: deftypevr
  33944. #: guix-git/doc/guix.texi:22978
  33945. #, no-wrap
  33946. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  33947. msgstr ""
  33948. #. type: deftypevr
  33949. #: guix-git/doc/guix.texi:22983
  33950. 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}."
  33951. msgstr ""
  33952. #. type: deftypevr
  33953. #: guix-git/doc/guix.texi:22985
  33954. #, no-wrap
  33955. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  33956. msgstr ""
  33957. #. type: deftypevr
  33958. #: guix-git/doc/guix.texi:22991
  33959. 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}."
  33960. msgstr ""
  33961. #. type: deftypevr
  33962. #: guix-git/doc/guix.texi:22993
  33963. #, no-wrap
  33964. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  33965. msgstr ""
  33966. #. type: deftypevr
  33967. #: guix-git/doc/guix.texi:22998
  33968. 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}."
  33969. msgstr ""
  33970. #. type: deftypevr
  33971. #: guix-git/doc/guix.texi:23000
  33972. #, no-wrap
  33973. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  33974. msgstr ""
  33975. #. type: deftypevr
  33976. #: guix-git/doc/guix.texi:23003
  33977. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  33978. msgstr ""
  33979. #. type: deftypevr
  33980. #: guix-git/doc/guix.texi:23005
  33981. #, no-wrap
  33982. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  33983. msgstr ""
  33984. #. type: deftypevr
  33985. #: guix-git/doc/guix.texi:23010
  33986. 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\"}."
  33987. msgstr ""
  33988. #. type: deftypevr
  33989. #: guix-git/doc/guix.texi:23012
  33990. #, no-wrap
  33991. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  33992. msgstr ""
  33993. #. type: deftypevr
  33994. #: guix-git/doc/guix.texi:23017
  33995. 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}."
  33996. msgstr ""
  33997. #. type: deftypevr
  33998. #: guix-git/doc/guix.texi:23019
  33999. #, no-wrap
  34000. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  34001. msgstr ""
  34002. #. type: deftypevr
  34003. #: guix-git/doc/guix.texi:23023
  34004. 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."
  34005. msgstr ""
  34006. #. type: deftypevr
  34007. #: guix-git/doc/guix.texi:23025
  34008. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  34009. msgstr ""
  34010. #. type: deftypevr
  34011. #: guix-git/doc/guix.texi:23028
  34012. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  34013. msgstr ""
  34014. #. type: deftypevr
  34015. #: guix-git/doc/guix.texi:23030
  34016. #, no-wrap
  34017. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  34018. msgstr ""
  34019. #. type: deftypevr
  34020. #: guix-git/doc/guix.texi:23035
  34021. 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}."
  34022. msgstr ""
  34023. #. type: deftypevr
  34024. #: guix-git/doc/guix.texi:23037
  34025. #, no-wrap
  34026. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  34027. msgstr ""
  34028. #. type: deftypevr
  34029. #: guix-git/doc/guix.texi:23039
  34030. msgid "File system backend to use for saving attachments:"
  34031. msgstr ""
  34032. #. type: item
  34033. #: guix-git/doc/guix.texi:23040
  34034. #, no-wrap
  34035. msgid "posix"
  34036. msgstr ""
  34037. #. type: table
  34038. #: guix-git/doc/guix.texi:23042
  34039. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  34040. msgstr ""
  34041. #. type: item
  34042. #: guix-git/doc/guix.texi:23042
  34043. #, no-wrap
  34044. msgid "sis posix"
  34045. msgstr ""
  34046. #. type: table
  34047. #: guix-git/doc/guix.texi:23044
  34048. msgid "SiS with immediate byte-by-byte comparison during saving"
  34049. msgstr ""
  34050. #. type: item
  34051. #: guix-git/doc/guix.texi:23044
  34052. #, no-wrap
  34053. msgid "sis-queue posix"
  34054. msgstr ""
  34055. #. type: table
  34056. #: guix-git/doc/guix.texi:23046
  34057. msgid "SiS with delayed comparison and deduplication."
  34058. msgstr ""
  34059. #. type: deftypevr
  34060. #: guix-git/doc/guix.texi:23048
  34061. msgid "Defaults to @samp{\"sis posix\"}."
  34062. msgstr ""
  34063. #. type: deftypevr
  34064. #: guix-git/doc/guix.texi:23050
  34065. #, no-wrap
  34066. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  34067. msgstr ""
  34068. #. type: deftypevr
  34069. #: guix-git/doc/guix.texi:23056
  34070. 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@}\"}."
  34071. msgstr ""
  34072. #. type: deftypevr
  34073. #: guix-git/doc/guix.texi:23058
  34074. #, no-wrap
  34075. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  34076. msgstr ""
  34077. #. type: deftypevr
  34078. #: guix-git/doc/guix.texi:23063
  34079. #, no-wrap
  34080. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  34081. msgstr ""
  34082. #. type: deftypevr
  34083. #: guix-git/doc/guix.texi:23066 guix-git/doc/guix.texi:30632
  34084. msgid "Defaults to @samp{1000}."
  34085. msgstr ""
  34086. #. type: deftypevr
  34087. #: guix-git/doc/guix.texi:23068
  34088. #, no-wrap
  34089. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  34090. msgstr ""
  34091. #. type: deftypevr
  34092. #: guix-git/doc/guix.texi:23073
  34093. 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}."
  34094. msgstr ""
  34095. #. type: deftypevr
  34096. #: guix-git/doc/guix.texi:23075
  34097. #, no-wrap
  34098. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  34099. msgstr ""
  34100. #. type: deftypevr
  34101. #: guix-git/doc/guix.texi:23080
  34102. 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\"}."
  34103. msgstr ""
  34104. #. type: deftypevr
  34105. #: guix-git/doc/guix.texi:23082
  34106. #, no-wrap
  34107. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  34108. msgstr ""
  34109. #. type: deftypevr
  34110. #: guix-git/doc/guix.texi:23087
  34111. 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\"}."
  34112. msgstr ""
  34113. #. type: deftypevr
  34114. #: guix-git/doc/guix.texi:23089
  34115. #, no-wrap
  34116. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  34117. msgstr ""
  34118. #. type: deftypevr
  34119. #: guix-git/doc/guix.texi:23092
  34120. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  34121. msgstr ""
  34122. #. type: deftypevr
  34123. #: guix-git/doc/guix.texi:23094
  34124. #, no-wrap
  34125. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  34126. msgstr ""
  34127. #. type: deftypevr
  34128. #: guix-git/doc/guix.texi:23097
  34129. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  34130. msgstr ""
  34131. #. type: deftypevr
  34132. #: guix-git/doc/guix.texi:23099
  34133. #, no-wrap
  34134. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  34135. msgstr ""
  34136. #. type: deftypevr
  34137. #: guix-git/doc/guix.texi:23104
  34138. 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\"}."
  34139. msgstr ""
  34140. #. type: deftypevr
  34141. #: guix-git/doc/guix.texi:23106
  34142. #, no-wrap
  34143. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  34144. msgstr ""
  34145. #. type: deftypevr
  34146. #: guix-git/doc/guix.texi:23112
  34147. 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{\"\"}."
  34148. msgstr ""
  34149. #. type: deftypevr
  34150. #: guix-git/doc/guix.texi:23114
  34151. #, no-wrap
  34152. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  34153. msgstr ""
  34154. #. type: deftypevr
  34155. #: guix-git/doc/guix.texi:23120
  34156. 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{\"\"}."
  34157. msgstr ""
  34158. #. type: deftypevr
  34159. #: guix-git/doc/guix.texi:23122
  34160. #, no-wrap
  34161. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  34162. msgstr ""
  34163. #. type: deftypevr
  34164. #: guix-git/doc/guix.texi:23125
  34165. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  34166. msgstr ""
  34167. #. type: deftypevr
  34168. #: guix-git/doc/guix.texi:23127
  34169. #, no-wrap
  34170. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  34171. msgstr ""
  34172. #. type: deftypevr
  34173. #: guix-git/doc/guix.texi:23131
  34174. 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}."
  34175. msgstr ""
  34176. #. type: deftypevr
  34177. #: guix-git/doc/guix.texi:23133
  34178. #, no-wrap
  34179. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  34180. msgstr ""
  34181. #. type: deftypevr
  34182. #: guix-git/doc/guix.texi:23138
  34183. 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\"}."
  34184. msgstr ""
  34185. #. type: deftypevr
  34186. #: guix-git/doc/guix.texi:23140
  34187. #, no-wrap
  34188. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  34189. msgstr ""
  34190. #. type: deftypevr
  34191. #: guix-git/doc/guix.texi:23143
  34192. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  34193. msgstr ""
  34194. #. type: deftypevr
  34195. #: guix-git/doc/guix.texi:23145
  34196. #, no-wrap
  34197. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  34198. msgstr ""
  34199. #. type: deftypevr
  34200. #: guix-git/doc/guix.texi:23148
  34201. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  34202. msgstr ""
  34203. #. type: deftypevr
  34204. #: guix-git/doc/guix.texi:23150
  34205. #, no-wrap
  34206. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  34207. msgstr ""
  34208. #. type: deftypevr
  34209. #: guix-git/doc/guix.texi:23153
  34210. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  34211. msgstr ""
  34212. #. type: deftypevr
  34213. #: guix-git/doc/guix.texi:23155
  34214. #, no-wrap
  34215. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  34216. msgstr ""
  34217. #. type: deftypevr
  34218. #: guix-git/doc/guix.texi:23159
  34219. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  34220. msgstr ""
  34221. #. type: deftypevr
  34222. #: guix-git/doc/guix.texi:23161
  34223. #, no-wrap
  34224. msgid "{@code{dovecot-configuration} parameter} string hostname"
  34225. msgstr ""
  34226. #. type: deftypevr
  34227. #: guix-git/doc/guix.texi:23165
  34228. 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{\"\"}."
  34229. msgstr ""
  34230. #. type: deftypevr
  34231. #: guix-git/doc/guix.texi:23167
  34232. #, no-wrap
  34233. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  34234. msgstr ""
  34235. #. type: deftypevr
  34236. #: guix-git/doc/guix.texi:23171
  34237. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  34238. msgstr ""
  34239. #. type: deftypevr
  34240. #: guix-git/doc/guix.texi:23173
  34241. #, no-wrap
  34242. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  34243. msgstr ""
  34244. #. type: deftypevr
  34245. #: guix-git/doc/guix.texi:23176
  34246. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  34247. msgstr ""
  34248. #. type: deftypevr
  34249. #: guix-git/doc/guix.texi:23178
  34250. #, no-wrap
  34251. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  34252. msgstr ""
  34253. #. type: deftypevr
  34254. #: guix-git/doc/guix.texi:23182
  34255. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  34256. msgstr ""
  34257. #. type: deftypevr
  34258. #: guix-git/doc/guix.texi:23184
  34259. #, no-wrap
  34260. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  34261. msgstr ""
  34262. #. type: deftypevr
  34263. #: guix-git/doc/guix.texi:23188
  34264. 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\"}."
  34265. msgstr ""
  34266. #. type: deftypevr
  34267. #: guix-git/doc/guix.texi:23190
  34268. #, no-wrap
  34269. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  34270. msgstr ""
  34271. #. type: deftypevr
  34272. #: guix-git/doc/guix.texi:23193
  34273. msgid "Human readable error message for rejection mails. You can use variables:"
  34274. msgstr ""
  34275. #. type: table
  34276. #: guix-git/doc/guix.texi:23197
  34277. msgid "CRLF"
  34278. msgstr ""
  34279. #. type: item
  34280. #: guix-git/doc/guix.texi:23197
  34281. #, no-wrap
  34282. msgid "%r"
  34283. msgstr ""
  34284. #. type: table
  34285. #: guix-git/doc/guix.texi:23199
  34286. msgid "reason"
  34287. msgstr ""
  34288. #. type: table
  34289. #: guix-git/doc/guix.texi:23201
  34290. msgid "original subject"
  34291. msgstr ""
  34292. #. type: item
  34293. #: guix-git/doc/guix.texi:23201
  34294. #, no-wrap
  34295. msgid "%t"
  34296. msgstr ""
  34297. #. type: table
  34298. #: guix-git/doc/guix.texi:23203
  34299. msgid "recipient"
  34300. msgstr ""
  34301. #. type: deftypevr
  34302. #: guix-git/doc/guix.texi:23205
  34303. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  34304. msgstr ""
  34305. #. type: deftypevr
  34306. #: guix-git/doc/guix.texi:23207
  34307. #, no-wrap
  34308. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  34309. msgstr ""
  34310. #. type: deftypevr
  34311. #: guix-git/doc/guix.texi:23211
  34312. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  34313. msgstr ""
  34314. #. type: deftypevr
  34315. #: guix-git/doc/guix.texi:23213
  34316. #, no-wrap
  34317. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  34318. msgstr ""
  34319. #. type: deftypevr
  34320. #: guix-git/doc/guix.texi:23219
  34321. 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{\"\"}."
  34322. msgstr ""
  34323. #. type: deftypevr
  34324. #: guix-git/doc/guix.texi:23221
  34325. #, no-wrap
  34326. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  34327. msgstr ""
  34328. #. type: deftypevr
  34329. #: guix-git/doc/guix.texi:23225
  34330. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  34331. msgstr ""
  34332. #. type: deftypevr
  34333. #: guix-git/doc/guix.texi:23227
  34334. #, no-wrap
  34335. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  34336. msgstr ""
  34337. #. type: deftypevr
  34338. #: guix-git/doc/guix.texi:23231
  34339. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  34340. msgstr ""
  34341. #. type: deftypevr
  34342. #: guix-git/doc/guix.texi:23233
  34343. #, no-wrap
  34344. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  34345. msgstr ""
  34346. #. type: deftypevr
  34347. #: guix-git/doc/guix.texi:23239
  34348. 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}."
  34349. msgstr ""
  34350. #. type: deftypevr
  34351. #: guix-git/doc/guix.texi:23241
  34352. #, no-wrap
  34353. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  34354. msgstr ""
  34355. #. type: deftypevr
  34356. #: guix-git/doc/guix.texi:23243
  34357. msgid "IMAP logout format string:"
  34358. msgstr ""
  34359. #. type: item
  34360. #: guix-git/doc/guix.texi:23244
  34361. #, no-wrap
  34362. msgid "%i"
  34363. msgstr ""
  34364. #. type: table
  34365. #: guix-git/doc/guix.texi:23246
  34366. msgid "total number of bytes read from client"
  34367. msgstr ""
  34368. #. type: item
  34369. #: guix-git/doc/guix.texi:23246
  34370. #, no-wrap
  34371. msgid "%o"
  34372. msgstr ""
  34373. #. type: table
  34374. #: guix-git/doc/guix.texi:23248
  34375. msgid "total number of bytes sent to client."
  34376. msgstr ""
  34377. #. type: deftypevr
  34378. #: guix-git/doc/guix.texi:23251
  34379. 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@}\"}."
  34380. msgstr ""
  34381. #. type: deftypevr
  34382. #: guix-git/doc/guix.texi:23253
  34383. #, no-wrap
  34384. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  34385. msgstr ""
  34386. #. type: deftypevr
  34387. #: guix-git/doc/guix.texi:23257
  34388. 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{\"\"}."
  34389. msgstr ""
  34390. #. type: deftypevr
  34391. #: guix-git/doc/guix.texi:23259
  34392. #, no-wrap
  34393. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  34394. msgstr ""
  34395. #. type: deftypevr
  34396. #: guix-git/doc/guix.texi:23263
  34397. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  34398. msgstr ""
  34399. #. type: deftypevr
  34400. #: guix-git/doc/guix.texi:23265
  34401. #, no-wrap
  34402. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  34403. msgstr ""
  34404. #. type: deftypevr
  34405. #: guix-git/doc/guix.texi:23271
  34406. 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{\"\"}."
  34407. msgstr ""
  34408. #. type: deftypevr
  34409. #: guix-git/doc/guix.texi:23273
  34410. #, no-wrap
  34411. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  34412. msgstr ""
  34413. #. type: deftypevr
  34414. #: guix-git/doc/guix.texi:23276
  34415. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  34416. msgstr ""
  34417. #. type: deftypevr
  34418. #: guix-git/doc/guix.texi:23278
  34419. #, no-wrap
  34420. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  34421. msgstr ""
  34422. #. type: deftypevr
  34423. #: guix-git/doc/guix.texi:23280
  34424. msgid "Workarounds for various client bugs:"
  34425. msgstr ""
  34426. #. type: item
  34427. #: guix-git/doc/guix.texi:23282
  34428. #, no-wrap
  34429. msgid "delay-newmail"
  34430. msgstr ""
  34431. #. type: table
  34432. #: guix-git/doc/guix.texi:23289
  34433. 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\"."
  34434. msgstr ""
  34435. #. type: item
  34436. #: guix-git/doc/guix.texi:23290
  34437. #, no-wrap
  34438. msgid "tb-extra-mailbox-sep"
  34439. msgstr ""
  34440. #. type: table
  34441. #: guix-git/doc/guix.texi:23294
  34442. 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."
  34443. msgstr ""
  34444. #. type: item
  34445. #: guix-git/doc/guix.texi:23295
  34446. #, no-wrap
  34447. msgid "tb-lsub-flags"
  34448. msgstr ""
  34449. #. type: table
  34450. #: guix-git/doc/guix.texi:23299
  34451. 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."
  34452. msgstr ""
  34453. #. type: deftypevr
  34454. #: guix-git/doc/guix.texi:23303
  34455. #, no-wrap
  34456. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  34457. msgstr ""
  34458. #. type: deftypevr
  34459. #: guix-git/doc/guix.texi:23306
  34460. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  34461. msgstr ""
  34462. #. type: Plain text
  34463. #: guix-git/doc/guix.texi:23314
  34464. 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."
  34465. msgstr ""
  34466. #. type: Plain text
  34467. #: guix-git/doc/guix.texi:23320
  34468. 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."
  34469. msgstr ""
  34470. #. type: Plain text
  34471. #: guix-git/doc/guix.texi:23322
  34472. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  34473. msgstr ""
  34474. #. type: deftypevr
  34475. #: guix-git/doc/guix.texi:23323
  34476. #, no-wrap
  34477. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  34478. msgstr ""
  34479. #. type: deftypevr
  34480. #: guix-git/doc/guix.texi:23327
  34481. #, no-wrap
  34482. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  34483. msgstr ""
  34484. #. type: deftypevr
  34485. #: guix-git/doc/guix.texi:23329
  34486. msgid "The contents of the @code{dovecot.conf}, as a string."
  34487. msgstr ""
  34488. #. type: Plain text
  34489. #: guix-git/doc/guix.texi:23333
  34490. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  34491. msgstr ""
  34492. #. type: lisp
  34493. #: guix-git/doc/guix.texi:23338
  34494. #, no-wrap
  34495. msgid ""
  34496. "(dovecot-service #:config\n"
  34497. " (opaque-dovecot-configuration\n"
  34498. " (string \"\")))\n"
  34499. msgstr ""
  34500. #. type: subsubheading
  34501. #: guix-git/doc/guix.texi:23340
  34502. #, no-wrap
  34503. msgid "OpenSMTPD Service"
  34504. msgstr ""
  34505. #. type: deffn
  34506. #: guix-git/doc/guix.texi:23342
  34507. #, no-wrap
  34508. msgid "{Scheme Variable} opensmtpd-service-type"
  34509. msgstr ""
  34510. #. type: deffn
  34511. #: guix-git/doc/guix.texi:23346
  34512. 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:"
  34513. msgstr ""
  34514. #. type: lisp
  34515. #: guix-git/doc/guix.texi:23351
  34516. #, no-wrap
  34517. msgid ""
  34518. "(service opensmtpd-service-type\n"
  34519. " (opensmtpd-configuration\n"
  34520. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  34521. msgstr ""
  34522. #. type: deftp
  34523. #: guix-git/doc/guix.texi:23354
  34524. #, no-wrap
  34525. msgid "{Data Type} opensmtpd-configuration"
  34526. msgstr ""
  34527. #. type: deftp
  34528. #: guix-git/doc/guix.texi:23356
  34529. msgid "Data type representing the configuration of opensmtpd."
  34530. msgstr ""
  34531. #. type: item
  34532. #: guix-git/doc/guix.texi:23358
  34533. #, no-wrap
  34534. msgid "@code{package} (default: @var{opensmtpd})"
  34535. msgstr ""
  34536. #. type: table
  34537. #: guix-git/doc/guix.texi:23360
  34538. msgid "Package object of the OpenSMTPD SMTP server."
  34539. msgstr ""
  34540. #. type: item
  34541. #: guix-git/doc/guix.texi:23361
  34542. #, no-wrap
  34543. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  34544. msgstr ""
  34545. #. type: table
  34546. #: guix-git/doc/guix.texi:23366
  34547. 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."
  34548. msgstr ""
  34549. #. type: subsubheading
  34550. #: guix-git/doc/guix.texi:23370
  34551. #, no-wrap
  34552. msgid "Exim Service"
  34553. msgstr ""
  34554. #. type: cindex
  34555. #: guix-git/doc/guix.texi:23372
  34556. #, no-wrap
  34557. msgid "mail transfer agent (MTA)"
  34558. msgstr ""
  34559. #. type: cindex
  34560. #: guix-git/doc/guix.texi:23373
  34561. #, no-wrap
  34562. msgid "MTA (mail transfer agent)"
  34563. msgstr ""
  34564. #. type: cindex
  34565. #: guix-git/doc/guix.texi:23374
  34566. #, no-wrap
  34567. msgid "SMTP"
  34568. msgstr ""
  34569. #. type: deffn
  34570. #: guix-git/doc/guix.texi:23376
  34571. #, no-wrap
  34572. msgid "{Scheme Variable} exim-service-type"
  34573. msgstr ""
  34574. #. type: deffn
  34575. #: guix-git/doc/guix.texi:23380
  34576. 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:"
  34577. msgstr ""
  34578. #. type: lisp
  34579. #: guix-git/doc/guix.texi:23385
  34580. #, no-wrap
  34581. msgid ""
  34582. "(service exim-service-type\n"
  34583. " (exim-configuration\n"
  34584. " (config-file (local-file \"./my-exim.conf\"))))\n"
  34585. msgstr ""
  34586. #. type: Plain text
  34587. #: guix-git/doc/guix.texi:23391
  34588. 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)."
  34589. msgstr ""
  34590. #. type: deftp
  34591. #: guix-git/doc/guix.texi:23392
  34592. #, no-wrap
  34593. msgid "{Data Type} exim-configuration"
  34594. msgstr ""
  34595. #. type: deftp
  34596. #: guix-git/doc/guix.texi:23394
  34597. msgid "Data type representing the configuration of exim."
  34598. msgstr ""
  34599. #. type: item
  34600. #: guix-git/doc/guix.texi:23396
  34601. #, no-wrap
  34602. msgid "@code{package} (default: @var{exim})"
  34603. msgstr ""
  34604. #. type: table
  34605. #: guix-git/doc/guix.texi:23398
  34606. msgid "Package object of the Exim server."
  34607. msgstr ""
  34608. #. type: table
  34609. #: guix-git/doc/guix.texi:23405
  34610. 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."
  34611. msgstr ""
  34612. #. type: subsubheading
  34613. #: guix-git/doc/guix.texi:23409
  34614. #, no-wrap
  34615. msgid "Getmail service"
  34616. msgstr ""
  34617. #. type: cindex
  34618. #: guix-git/doc/guix.texi:23411
  34619. #, no-wrap
  34620. msgid "IMAP"
  34621. msgstr ""
  34622. #. type: cindex
  34623. #: guix-git/doc/guix.texi:23412
  34624. #, no-wrap
  34625. msgid "POP"
  34626. msgstr ""
  34627. #. type: deffn
  34628. #: guix-git/doc/guix.texi:23414
  34629. #, no-wrap
  34630. msgid "{Scheme Variable} getmail-service-type"
  34631. msgstr ""
  34632. #. type: deffn
  34633. #: guix-git/doc/guix.texi:23417
  34634. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  34635. msgstr ""
  34636. #. type: Plain text
  34637. #: guix-git/doc/guix.texi:23420
  34638. msgid "Available @code{getmail-configuration} fields are:"
  34639. msgstr ""
  34640. #. type: deftypevr
  34641. #: guix-git/doc/guix.texi:23421
  34642. #, no-wrap
  34643. msgid "{@code{getmail-configuration} parameter} symbol name"
  34644. msgstr ""
  34645. #. type: deftypevr
  34646. #: guix-git/doc/guix.texi:23423
  34647. msgid "A symbol to identify the getmail service."
  34648. msgstr ""
  34649. #. type: deftypevr
  34650. #: guix-git/doc/guix.texi:23425
  34651. msgid "Defaults to @samp{\"unset\"}."
  34652. msgstr ""
  34653. #. type: deftypevr
  34654. #: guix-git/doc/guix.texi:23428
  34655. #, no-wrap
  34656. msgid "{@code{getmail-configuration} parameter} package package"
  34657. msgstr ""
  34658. #. type: deftypevr
  34659. #: guix-git/doc/guix.texi:23430
  34660. msgid "The getmail package to use."
  34661. msgstr ""
  34662. #. type: deftypevr
  34663. #: guix-git/doc/guix.texi:23433
  34664. #, no-wrap
  34665. msgid "{@code{getmail-configuration} parameter} string user"
  34666. msgstr ""
  34667. #. type: deftypevr
  34668. #: guix-git/doc/guix.texi:23435
  34669. msgid "The user to run getmail as."
  34670. msgstr ""
  34671. #. type: deftypevr
  34672. #: guix-git/doc/guix.texi:23437 guix-git/doc/guix.texi:23444
  34673. msgid "Defaults to @samp{\"getmail\"}."
  34674. msgstr ""
  34675. #. type: deftypevr
  34676. #: guix-git/doc/guix.texi:23440
  34677. #, no-wrap
  34678. msgid "{@code{getmail-configuration} parameter} string group"
  34679. msgstr ""
  34680. #. type: deftypevr
  34681. #: guix-git/doc/guix.texi:23442
  34682. msgid "The group to run getmail as."
  34683. msgstr ""
  34684. #. type: deftypevr
  34685. #: guix-git/doc/guix.texi:23447
  34686. #, no-wrap
  34687. msgid "{@code{getmail-configuration} parameter} string directory"
  34688. msgstr ""
  34689. #. type: deftypevr
  34690. #: guix-git/doc/guix.texi:23449
  34691. msgid "The getmail directory to use."
  34692. msgstr ""
  34693. #. type: deftypevr
  34694. #: guix-git/doc/guix.texi:23451
  34695. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  34696. msgstr ""
  34697. #. type: deftypevr
  34698. #: guix-git/doc/guix.texi:23454
  34699. #, no-wrap
  34700. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  34701. msgstr ""
  34702. #. type: deftypevr
  34703. #: guix-git/doc/guix.texi:23456
  34704. msgid "The getmail configuration file to use."
  34705. msgstr ""
  34706. #. type: deftypevr
  34707. #: guix-git/doc/guix.texi:23458
  34708. msgid "Available @code{getmail-configuration-file} fields are:"
  34709. msgstr ""
  34710. #. type: deftypevr
  34711. #: guix-git/doc/guix.texi:23459
  34712. #, no-wrap
  34713. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  34714. msgstr ""
  34715. #. type: deftypevr
  34716. #: guix-git/doc/guix.texi:23461
  34717. msgid "What mail account to retrieve mail from, and how to access that account."
  34718. msgstr ""
  34719. #. type: deftypevr
  34720. #: guix-git/doc/guix.texi:23463
  34721. msgid "Available @code{getmail-retriever-configuration} fields are:"
  34722. msgstr ""
  34723. #. type: deftypevr
  34724. #: guix-git/doc/guix.texi:23464
  34725. #, no-wrap
  34726. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  34727. msgstr ""
  34728. #. type: deftypevr
  34729. #: guix-git/doc/guix.texi:23467
  34730. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  34731. msgstr ""
  34732. #. type: deftypevr
  34733. #: guix-git/doc/guix.texi:23469
  34734. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  34735. msgstr ""
  34736. #. type: deftypevr
  34737. #: guix-git/doc/guix.texi:23472
  34738. #, no-wrap
  34739. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  34740. msgstr ""
  34741. #. type: deftypevr
  34742. #: guix-git/doc/guix.texi:23474 guix-git/doc/guix.texi:23481
  34743. msgid "Username to login to the mail server with."
  34744. msgstr ""
  34745. #. type: deftypevr
  34746. #: guix-git/doc/guix.texi:23476 guix-git/doc/guix.texi:23483
  34747. #: guix-git/doc/guix.texi:23547
  34748. msgid "Defaults to @samp{unset}."
  34749. msgstr ""
  34750. #. type: deftypevr
  34751. #: guix-git/doc/guix.texi:23479
  34752. #, no-wrap
  34753. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  34754. msgstr ""
  34755. #. type: deftypevr
  34756. #: guix-git/doc/guix.texi:23486
  34757. #, no-wrap
  34758. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  34759. msgstr ""
  34760. #. type: deftypevr
  34761. #: guix-git/doc/guix.texi:23488
  34762. msgid "Port number to connect to."
  34763. msgstr ""
  34764. #. type: deftypevr
  34765. #: guix-git/doc/guix.texi:23493
  34766. #, no-wrap
  34767. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  34768. msgstr ""
  34769. #. type: deftypevr
  34770. #: guix-git/doc/guix.texi:23495 guix-git/doc/guix.texi:23502
  34771. msgid "Override fields from passwd."
  34772. msgstr ""
  34773. #. type: deftypevr
  34774. #: guix-git/doc/guix.texi:23500
  34775. #, no-wrap
  34776. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  34777. msgstr ""
  34778. #. type: deftypevr
  34779. #: guix-git/doc/guix.texi:23507
  34780. #, no-wrap
  34781. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  34782. msgstr ""
  34783. #. type: deftypevr
  34784. #: guix-git/doc/guix.texi:23509
  34785. msgid "PEM-formatted key file to use for the TLS negotiation."
  34786. msgstr ""
  34787. #. type: deftypevr
  34788. #: guix-git/doc/guix.texi:23514
  34789. #, no-wrap
  34790. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  34791. msgstr ""
  34792. #. type: deftypevr
  34793. #: guix-git/doc/guix.texi:23516
  34794. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  34795. msgstr ""
  34796. #. type: deftypevr
  34797. #: guix-git/doc/guix.texi:23521
  34798. #, no-wrap
  34799. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  34800. msgstr ""
  34801. #. type: deftypevr
  34802. #: guix-git/doc/guix.texi:23523
  34803. msgid "CA certificates to use."
  34804. msgstr ""
  34805. #. type: deftypevr
  34806. #: guix-git/doc/guix.texi:23528
  34807. #, no-wrap
  34808. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  34809. msgstr ""
  34810. #. type: deftypevr
  34811. #: guix-git/doc/guix.texi:23530
  34812. msgid "Extra retriever parameters."
  34813. msgstr ""
  34814. #. type: deftypevr
  34815. #: guix-git/doc/guix.texi:23537
  34816. #, no-wrap
  34817. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  34818. msgstr ""
  34819. #. type: deftypevr
  34820. #: guix-git/doc/guix.texi:23539
  34821. msgid "What to do with retrieved messages."
  34822. msgstr ""
  34823. #. type: deftypevr
  34824. #: guix-git/doc/guix.texi:23541
  34825. msgid "Available @code{getmail-destination-configuration} fields are:"
  34826. msgstr ""
  34827. #. type: deftypevr
  34828. #: guix-git/doc/guix.texi:23542
  34829. #, no-wrap
  34830. msgid "{@code{getmail-destination-configuration} parameter} string type"
  34831. msgstr ""
  34832. #. type: deftypevr
  34833. #: guix-git/doc/guix.texi:23545
  34834. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  34835. msgstr ""
  34836. #. type: deftypevr
  34837. #: guix-git/doc/guix.texi:23550
  34838. #, no-wrap
  34839. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  34840. msgstr ""
  34841. #. type: deftypevr
  34842. #: guix-git/doc/guix.texi:23553
  34843. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  34844. msgstr ""
  34845. #. type: deftypevr
  34846. #: guix-git/doc/guix.texi:23558
  34847. #, no-wrap
  34848. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  34849. msgstr ""
  34850. #. type: deftypevr
  34851. #: guix-git/doc/guix.texi:23560
  34852. msgid "Extra destination parameters"
  34853. msgstr ""
  34854. #. type: deftypevr
  34855. #: guix-git/doc/guix.texi:23567
  34856. #, no-wrap
  34857. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  34858. msgstr ""
  34859. #. type: deftypevr
  34860. #: guix-git/doc/guix.texi:23569
  34861. msgid "Configure getmail."
  34862. msgstr ""
  34863. #. type: deftypevr
  34864. #: guix-git/doc/guix.texi:23571
  34865. msgid "Available @code{getmail-options-configuration} fields are:"
  34866. msgstr ""
  34867. #. type: deftypevr
  34868. #: guix-git/doc/guix.texi:23572
  34869. #, no-wrap
  34870. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  34871. msgstr ""
  34872. #. type: deftypevr
  34873. #: guix-git/doc/guix.texi:23577
  34874. 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."
  34875. msgstr ""
  34876. #. type: deftypevr
  34877. #: guix-git/doc/guix.texi:23579 guix-git/doc/guix.texi:30102
  34878. #: guix-git/doc/guix.texi:30690 guix-git/doc/guix.texi:30835
  34879. msgid "Defaults to @samp{1}."
  34880. msgstr ""
  34881. #. type: deftypevr
  34882. #: guix-git/doc/guix.texi:23582
  34883. #, no-wrap
  34884. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  34885. msgstr ""
  34886. #. type: deftypevr
  34887. #: guix-git/doc/guix.texi:23585
  34888. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  34889. msgstr ""
  34890. #. type: deftypevr
  34891. #: guix-git/doc/guix.texi:23590
  34892. #, no-wrap
  34893. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  34894. msgstr ""
  34895. #. type: deftypevr
  34896. #: guix-git/doc/guix.texi:23594
  34897. 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."
  34898. msgstr ""
  34899. #. type: deftypevr
  34900. #: guix-git/doc/guix.texi:23599
  34901. #, no-wrap
  34902. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  34903. msgstr ""
  34904. #. type: deftypevr
  34905. #: guix-git/doc/guix.texi:23604
  34906. 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."
  34907. msgstr ""
  34908. #. type: deftypevr
  34909. #: guix-git/doc/guix.texi:23609
  34910. #, no-wrap
  34911. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  34912. msgstr ""
  34913. #. type: deftypevr
  34914. #: guix-git/doc/guix.texi:23613
  34915. 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."
  34916. msgstr ""
  34917. #. type: deftypevr
  34918. #: guix-git/doc/guix.texi:23618
  34919. #, no-wrap
  34920. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  34921. msgstr ""
  34922. #. type: deftypevr
  34923. #: guix-git/doc/guix.texi:23621
  34924. 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."
  34925. msgstr ""
  34926. #. type: deftypevr
  34927. #: guix-git/doc/guix.texi:23626
  34928. #, no-wrap
  34929. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  34930. msgstr ""
  34931. #. type: deftypevr
  34932. #: guix-git/doc/guix.texi:23629
  34933. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  34934. msgstr ""
  34935. #. type: deftypevr
  34936. #: guix-git/doc/guix.texi:23634
  34937. #, no-wrap
  34938. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  34939. msgstr ""
  34940. #. type: deftypevr
  34941. #: guix-git/doc/guix.texi:23636
  34942. msgid "If true, getmail will add a Delivered-To header to messages."
  34943. msgstr ""
  34944. #. type: deftypevr
  34945. #: guix-git/doc/guix.texi:23641
  34946. #, no-wrap
  34947. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  34948. msgstr ""
  34949. #. type: deftypevr
  34950. #: guix-git/doc/guix.texi:23643
  34951. msgid "If set, getmail adds a Received header to the messages."
  34952. msgstr ""
  34953. #. type: deftypevr
  34954. #: guix-git/doc/guix.texi:23648
  34955. #, no-wrap
  34956. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  34957. msgstr ""
  34958. #. type: deftypevr
  34959. #: guix-git/doc/guix.texi:23651
  34960. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  34961. msgstr ""
  34962. #. type: deftypevr
  34963. #: guix-git/doc/guix.texi:23656
  34964. #, no-wrap
  34965. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  34966. msgstr ""
  34967. #. type: deftypevr
  34968. #: guix-git/doc/guix.texi:23659
  34969. msgid "If true, getmail will record a log of its actions using the system logger."
  34970. msgstr ""
  34971. #. type: deftypevr
  34972. #: guix-git/doc/guix.texi:23664
  34973. #, no-wrap
  34974. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  34975. msgstr ""
  34976. #. type: deftypevr
  34977. #: guix-git/doc/guix.texi:23668
  34978. 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."
  34979. msgstr ""
  34980. #. type: deftypevr
  34981. #: guix-git/doc/guix.texi:23673
  34982. #, no-wrap
  34983. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  34984. msgstr ""
  34985. #. type: deftypevr
  34986. #: guix-git/doc/guix.texi:23675
  34987. msgid "Extra options to include."
  34988. msgstr ""
  34989. #. type: deftypevr
  34990. #: guix-git/doc/guix.texi:23684
  34991. #, no-wrap
  34992. msgid "{@code{getmail-configuration} parameter} list idle"
  34993. msgstr ""
  34994. #. type: deftypevr
  34995. #: guix-git/doc/guix.texi:23688
  34996. 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."
  34997. msgstr ""
  34998. #. type: deftypevr
  34999. #: guix-git/doc/guix.texi:23693
  35000. #, no-wrap
  35001. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  35002. msgstr ""
  35003. #. type: deftypevr
  35004. #: guix-git/doc/guix.texi:23695
  35005. msgid "Environment variables to set for getmail."
  35006. msgstr ""
  35007. #. type: subsubheading
  35008. #: guix-git/doc/guix.texi:23700
  35009. #, no-wrap
  35010. msgid "Mail Aliases Service"
  35011. msgstr ""
  35012. #. type: cindex
  35013. #: guix-git/doc/guix.texi:23702
  35014. #, no-wrap
  35015. msgid "email aliases"
  35016. msgstr ""
  35017. #. type: cindex
  35018. #: guix-git/doc/guix.texi:23703
  35019. #, no-wrap
  35020. msgid "aliases, for email addresses"
  35021. msgstr ""
  35022. #. type: deffn
  35023. #: guix-git/doc/guix.texi:23705
  35024. #, no-wrap
  35025. msgid "{Scheme Variable} mail-aliases-service-type"
  35026. msgstr ""
  35027. #. type: deffn
  35028. #: guix-git/doc/guix.texi:23708
  35029. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  35030. msgstr ""
  35031. #. type: lisp
  35032. #: guix-git/doc/guix.texi:23713
  35033. #, no-wrap
  35034. msgid ""
  35035. "(service mail-aliases-service-type\n"
  35036. " '((\"postmaster\" \"bob\")\n"
  35037. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  35038. msgstr ""
  35039. #. type: Plain text
  35040. #: guix-git/doc/guix.texi:23721
  35041. 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."
  35042. msgstr ""
  35043. #. type: Plain text
  35044. #: guix-git/doc/guix.texi:23727
  35045. 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})."
  35046. msgstr ""
  35047. #. type: cindex
  35048. #: guix-git/doc/guix.texi:23728 guix-git/doc/guix.texi:23729
  35049. #, no-wrap
  35050. msgid "GNU Mailutils IMAP4 Daemon"
  35051. msgstr ""
  35052. #. type: deffn
  35053. #: guix-git/doc/guix.texi:23731
  35054. #, no-wrap
  35055. msgid "{Scheme Variable} imap4d-service-type"
  35056. msgstr ""
  35057. #. type: deffn
  35058. #: guix-git/doc/guix.texi:23735
  35059. 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:"
  35060. msgstr ""
  35061. #. type: lisp
  35062. #: guix-git/doc/guix.texi:23740
  35063. #, no-wrap
  35064. msgid ""
  35065. "(service imap4d-service-type\n"
  35066. " (imap4d-configuration\n"
  35067. " (config-file (local-file \"imap4d.conf\"))))\n"
  35068. msgstr ""
  35069. #. type: deftp
  35070. #: guix-git/doc/guix.texi:23743
  35071. #, no-wrap
  35072. msgid "{Data Type} imap4d-configuration"
  35073. msgstr ""
  35074. #. type: deftp
  35075. #: guix-git/doc/guix.texi:23745
  35076. msgid "Data type representing the configuration of @command{imap4d}."
  35077. msgstr ""
  35078. #. type: item
  35079. #: guix-git/doc/guix.texi:23747
  35080. #, no-wrap
  35081. msgid "@code{package} (default: @code{mailutils})"
  35082. msgstr ""
  35083. #. type: table
  35084. #: guix-git/doc/guix.texi:23749
  35085. msgid "The package that provides @command{imap4d}."
  35086. msgstr ""
  35087. #. type: item
  35088. #: guix-git/doc/guix.texi:23750
  35089. #, no-wrap
  35090. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  35091. msgstr ""
  35092. #. type: table
  35093. #: guix-git/doc/guix.texi:23754
  35094. 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."
  35095. msgstr ""
  35096. #. type: subsubheading
  35097. #: guix-git/doc/guix.texi:23758
  35098. #, no-wrap
  35099. msgid "Radicale Service"
  35100. msgstr ""
  35101. #. type: cindex
  35102. #: guix-git/doc/guix.texi:23759
  35103. #, no-wrap
  35104. msgid "CalDAV"
  35105. msgstr ""
  35106. #. type: cindex
  35107. #: guix-git/doc/guix.texi:23760
  35108. #, no-wrap
  35109. msgid "CardDAV"
  35110. msgstr ""
  35111. #. type: deffn
  35112. #: guix-git/doc/guix.texi:23762
  35113. #, no-wrap
  35114. msgid "{Scheme Variable} radicale-service-type"
  35115. msgstr ""
  35116. #. type: deffn
  35117. #: guix-git/doc/guix.texi:23765
  35118. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  35119. msgstr ""
  35120. #. type: deftp
  35121. #: guix-git/doc/guix.texi:23767
  35122. #, no-wrap
  35123. msgid "{Data Type} radicale-configuration"
  35124. msgstr ""
  35125. #. type: deftp
  35126. #: guix-git/doc/guix.texi:23769
  35127. msgid "Data type representing the configuration of @command{radicale}."
  35128. msgstr ""
  35129. #. type: item
  35130. #: guix-git/doc/guix.texi:23771
  35131. #, no-wrap
  35132. msgid "@code{package} (default: @code{radicale})"
  35133. msgstr ""
  35134. #. type: table
  35135. #: guix-git/doc/guix.texi:23773
  35136. msgid "The package that provides @command{radicale}."
  35137. msgstr ""
  35138. #. type: item
  35139. #: guix-git/doc/guix.texi:23774
  35140. #, no-wrap
  35141. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  35142. msgstr ""
  35143. #. type: table
  35144. #: guix-git/doc/guix.texi:23778
  35145. 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."
  35146. msgstr ""
  35147. #. type: cindex
  35148. #: guix-git/doc/guix.texi:23785
  35149. #, no-wrap
  35150. msgid "messaging"
  35151. msgstr ""
  35152. #. type: cindex
  35153. #: guix-git/doc/guix.texi:23786
  35154. #, no-wrap
  35155. msgid "jabber"
  35156. msgstr ""
  35157. #. type: cindex
  35158. #: guix-git/doc/guix.texi:23787
  35159. #, no-wrap
  35160. msgid "XMPP"
  35161. msgstr ""
  35162. #. type: Plain text
  35163. #: guix-git/doc/guix.texi:23791
  35164. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  35165. msgstr ""
  35166. #. type: subsubheading
  35167. #: guix-git/doc/guix.texi:23792
  35168. #, no-wrap
  35169. msgid "Prosody Service"
  35170. msgstr ""
  35171. #. type: deffn
  35172. #: guix-git/doc/guix.texi:23794
  35173. #, no-wrap
  35174. msgid "{Scheme Variable} prosody-service-type"
  35175. msgstr ""
  35176. #. type: deffn
  35177. #: guix-git/doc/guix.texi:23798
  35178. 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:"
  35179. msgstr ""
  35180. #. type: lisp
  35181. #: guix-git/doc/guix.texi:23813
  35182. #, no-wrap
  35183. msgid ""
  35184. "(service prosody-service-type\n"
  35185. " (prosody-configuration\n"
  35186. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  35187. " (int-components\n"
  35188. " (list\n"
  35189. " (int-component-configuration\n"
  35190. " (hostname \"conference.example.net\")\n"
  35191. " (plugin \"muc\")\n"
  35192. " (mod-muc (mod-muc-configuration)))))\n"
  35193. " (virtualhosts\n"
  35194. " (list\n"
  35195. " (virtualhost-configuration\n"
  35196. " (domain \"example.net\"))))))\n"
  35197. msgstr ""
  35198. #. type: deffn
  35199. #: guix-git/doc/guix.texi:23816
  35200. msgid "See below for details about @code{prosody-configuration}."
  35201. msgstr ""
  35202. #. type: Plain text
  35203. #: guix-git/doc/guix.texi:23822
  35204. 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."
  35205. msgstr ""
  35206. #. type: Plain text
  35207. #: guix-git/doc/guix.texi:23825
  35208. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  35209. msgstr ""
  35210. #. type: Plain text
  35211. #: guix-git/doc/guix.texi:23829
  35212. 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}."
  35213. msgstr ""
  35214. #. type: example
  35215. #: guix-git/doc/guix.texi:23832
  35216. #, no-wrap
  35217. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  35218. msgstr ""
  35219. #. type: Plain text
  35220. #: guix-git/doc/guix.texi:23839
  35221. 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}."
  35222. msgstr ""
  35223. #. type: Plain text
  35224. #: guix-git/doc/guix.texi:23843
  35225. 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."
  35226. msgstr ""
  35227. #. type: Plain text
  35228. #: guix-git/doc/guix.texi:23846
  35229. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  35230. msgstr ""
  35231. #. type: Plain text
  35232. #: guix-git/doc/guix.texi:23856
  35233. msgid "Available @code{prosody-configuration} fields are:"
  35234. msgstr ""
  35235. #. type: deftypevr
  35236. #: guix-git/doc/guix.texi:23857
  35237. #, no-wrap
  35238. msgid "{@code{prosody-configuration} parameter} package prosody"
  35239. msgstr ""
  35240. #. type: deftypevr
  35241. #: guix-git/doc/guix.texi:23859
  35242. msgid "The Prosody package."
  35243. msgstr ""
  35244. #. type: deftypevr
  35245. #: guix-git/doc/guix.texi:23861
  35246. #, no-wrap
  35247. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  35248. msgstr ""
  35249. #. type: deftypevr
  35250. #: guix-git/doc/guix.texi:23865
  35251. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  35252. msgstr ""
  35253. #. type: deftypevr
  35254. #: guix-git/doc/guix.texi:23867
  35255. #, no-wrap
  35256. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  35257. msgstr ""
  35258. #. type: deftypevr
  35259. #: guix-git/doc/guix.texi:23871
  35260. 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{()}."
  35261. msgstr ""
  35262. #. type: deftypevr
  35263. #: guix-git/doc/guix.texi:23873
  35264. #, no-wrap
  35265. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  35266. msgstr ""
  35267. #. type: deftypevr
  35268. #: guix-git/doc/guix.texi:23878
  35269. 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\"}."
  35270. msgstr ""
  35271. #. type: deftypevr
  35272. #: guix-git/doc/guix.texi:23880
  35273. #, no-wrap
  35274. msgid "{@code{prosody-configuration} parameter} string-list admins"
  35275. msgstr ""
  35276. #. type: deftypevr
  35277. #: guix-git/doc/guix.texi:23886
  35278. 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{()}."
  35279. msgstr ""
  35280. #. type: deftypevr
  35281. #: guix-git/doc/guix.texi:23888
  35282. #, no-wrap
  35283. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  35284. msgstr ""
  35285. #. type: deftypevr
  35286. #: guix-git/doc/guix.texi:23892
  35287. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  35288. msgstr ""
  35289. #. type: deftypevr
  35290. #: guix-git/doc/guix.texi:23894
  35291. #, no-wrap
  35292. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  35293. msgstr ""
  35294. #. type: deftypevr
  35295. #: guix-git/doc/guix.texi:23900
  35296. 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\")}."
  35297. msgstr ""
  35298. #. type: deftypevr
  35299. #: guix-git/doc/guix.texi:23902
  35300. #, no-wrap
  35301. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  35302. msgstr ""
  35303. #. type: deftypevr
  35304. #: guix-git/doc/guix.texi:23906
  35305. 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{()}."
  35306. msgstr ""
  35307. #. type: deftypevr
  35308. #: guix-git/doc/guix.texi:23908
  35309. #, no-wrap
  35310. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  35311. msgstr ""
  35312. #. type: deftypevr
  35313. #: guix-git/doc/guix.texi:23913
  35314. 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\"}."
  35315. msgstr ""
  35316. #. type: deftypevr
  35317. #: guix-git/doc/guix.texi:23915
  35318. #, no-wrap
  35319. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  35320. msgstr ""
  35321. #. type: deftypevr
  35322. #: guix-git/doc/guix.texi:23919
  35323. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  35324. msgstr ""
  35325. #. type: deftypevr
  35326. #: guix-git/doc/guix.texi:23921
  35327. #, no-wrap
  35328. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  35329. msgstr ""
  35330. #. type: deftypevr
  35331. #: guix-git/doc/guix.texi:23926
  35332. 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}."
  35333. msgstr ""
  35334. #. type: deftypevr
  35335. #: guix-git/doc/guix.texi:23928
  35336. msgid "Available @code{ssl-configuration} fields are:"
  35337. msgstr ""
  35338. #. type: deftypevr
  35339. #: guix-git/doc/guix.texi:23929
  35340. #, no-wrap
  35341. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  35342. msgstr ""
  35343. #. type: deftypevr
  35344. #: guix-git/doc/guix.texi:23931
  35345. msgid "This determines what handshake to use."
  35346. msgstr ""
  35347. #. type: deftypevr
  35348. #: guix-git/doc/guix.texi:23933
  35349. #, no-wrap
  35350. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  35351. msgstr ""
  35352. #. type: deftypevr
  35353. #: guix-git/doc/guix.texi:23935
  35354. msgid "Path to your private key file."
  35355. msgstr ""
  35356. #. type: deftypevr
  35357. #: guix-git/doc/guix.texi:23937
  35358. #, no-wrap
  35359. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  35360. msgstr ""
  35361. #. type: deftypevr
  35362. #: guix-git/doc/guix.texi:23939
  35363. msgid "Path to your certificate file."
  35364. msgstr ""
  35365. #. type: deftypevr
  35366. #: guix-git/doc/guix.texi:23941
  35367. #, no-wrap
  35368. msgid "{@code{ssl-configuration} parameter} file-object capath"
  35369. msgstr ""
  35370. #. type: deftypevr
  35371. #: guix-git/doc/guix.texi:23945
  35372. 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\"}."
  35373. msgstr ""
  35374. #. type: deftypevr
  35375. #: guix-git/doc/guix.texi:23947
  35376. #, no-wrap
  35377. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  35378. msgstr ""
  35379. #. type: deftypevr
  35380. #: guix-git/doc/guix.texi:23950
  35381. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  35382. msgstr ""
  35383. #. type: deftypevr
  35384. #: guix-git/doc/guix.texi:23952
  35385. #, no-wrap
  35386. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  35387. msgstr ""
  35388. #. type: deftypevr
  35389. #: guix-git/doc/guix.texi:23955
  35390. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  35391. msgstr ""
  35392. #. type: deftypevr
  35393. #: guix-git/doc/guix.texi:23957
  35394. #, no-wrap
  35395. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  35396. msgstr ""
  35397. #. type: deftypevr
  35398. #: guix-git/doc/guix.texi:23961
  35399. 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."
  35400. msgstr ""
  35401. #. type: deftypevr
  35402. #: guix-git/doc/guix.texi:23963
  35403. #, no-wrap
  35404. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  35405. msgstr ""
  35406. #. type: deftypevr
  35407. #: guix-git/doc/guix.texi:23966
  35408. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  35409. msgstr ""
  35410. #. type: deftypevr
  35411. #: guix-git/doc/guix.texi:23968
  35412. #, no-wrap
  35413. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  35414. msgstr ""
  35415. #. type: deftypevr
  35416. #: guix-git/doc/guix.texi:23971
  35417. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  35418. msgstr ""
  35419. #. type: deftypevr
  35420. #: guix-git/doc/guix.texi:23973
  35421. #, no-wrap
  35422. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  35423. msgstr ""
  35424. #. type: deftypevr
  35425. #: guix-git/doc/guix.texi:23977
  35426. 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}"
  35427. msgstr ""
  35428. #. type: deftypevr
  35429. #: guix-git/doc/guix.texi:23979
  35430. #, no-wrap
  35431. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  35432. msgstr ""
  35433. #. type: deftypevr
  35434. #: guix-git/doc/guix.texi:23982
  35435. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  35436. msgstr ""
  35437. #. type: deftypevr
  35438. #: guix-git/doc/guix.texi:23984
  35439. #, no-wrap
  35440. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  35441. msgstr ""
  35442. #. type: deftypevr
  35443. #: guix-git/doc/guix.texi:23986
  35444. msgid "A list of ``extra'' verification options."
  35445. msgstr ""
  35446. #. type: deftypevr
  35447. #: guix-git/doc/guix.texi:23988
  35448. #, no-wrap
  35449. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  35450. msgstr ""
  35451. #. type: deftypevr
  35452. #: guix-git/doc/guix.texi:23990
  35453. msgid "Password for encrypted private keys."
  35454. msgstr ""
  35455. #. type: deftypevr
  35456. #: guix-git/doc/guix.texi:23994
  35457. #, no-wrap
  35458. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  35459. msgstr ""
  35460. #. type: deftypevr
  35461. #: guix-git/doc/guix.texi:23998
  35462. 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}."
  35463. msgstr ""
  35464. #. type: deftypevr
  35465. #: guix-git/doc/guix.texi:24000
  35466. #, no-wrap
  35467. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  35468. msgstr ""
  35469. #. type: deftypevr
  35470. #: guix-git/doc/guix.texi:24004
  35471. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  35472. msgstr ""
  35473. #. type: deftypevr
  35474. #: guix-git/doc/guix.texi:24006
  35475. #, no-wrap
  35476. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  35477. msgstr ""
  35478. #. type: deftypevr
  35479. #: guix-git/doc/guix.texi:24010
  35480. 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}."
  35481. msgstr ""
  35482. #. type: deftypevr
  35483. #: guix-git/doc/guix.texi:24012
  35484. #, no-wrap
  35485. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  35486. msgstr ""
  35487. #. type: deftypevr
  35488. #: guix-git/doc/guix.texi:24018
  35489. 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}."
  35490. msgstr ""
  35491. #. type: deftypevr
  35492. #: guix-git/doc/guix.texi:24020
  35493. #, no-wrap
  35494. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  35495. msgstr ""
  35496. #. type: deftypevr
  35497. #: guix-git/doc/guix.texi:24026
  35498. 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{()}."
  35499. msgstr ""
  35500. #. type: deftypevr
  35501. #: guix-git/doc/guix.texi:24028
  35502. #, no-wrap
  35503. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  35504. msgstr ""
  35505. #. type: deftypevr
  35506. #: guix-git/doc/guix.texi:24033
  35507. 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{()}."
  35508. msgstr ""
  35509. #. type: deftypevr
  35510. #: guix-git/doc/guix.texi:24035
  35511. #, no-wrap
  35512. msgid "{@code{prosody-configuration} parameter} string authentication"
  35513. msgstr ""
  35514. #. type: deftypevr
  35515. #: guix-git/doc/guix.texi:24043
  35516. 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\"}."
  35517. msgstr ""
  35518. #. type: deftypevr
  35519. #: guix-git/doc/guix.texi:24045
  35520. #, no-wrap
  35521. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  35522. msgstr ""
  35523. #. type: deftypevr
  35524. #: guix-git/doc/guix.texi:24049
  35525. 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\"}."
  35526. msgstr ""
  35527. #. type: deftypevr
  35528. #: guix-git/doc/guix.texi:24051
  35529. #, no-wrap
  35530. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  35531. msgstr ""
  35532. #. type: deftypevr
  35533. #: guix-git/doc/guix.texi:24054
  35534. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  35535. msgstr ""
  35536. #. type: deftypevr
  35537. #: guix-git/doc/guix.texi:24056
  35538. #, no-wrap
  35539. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  35540. msgstr ""
  35541. #. type: deftypevr
  35542. #: guix-git/doc/guix.texi:24058
  35543. msgid "Maximum allowed size of the HTTP body (in bytes)."
  35544. msgstr ""
  35545. #. type: deftypevr
  35546. #: guix-git/doc/guix.texi:24060
  35547. #, no-wrap
  35548. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  35549. msgstr ""
  35550. #. type: deftypevr
  35551. #: guix-git/doc/guix.texi:24065
  35552. 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}."
  35553. msgstr ""
  35554. #. type: deftypevr
  35555. #: guix-git/doc/guix.texi:24067
  35556. #, no-wrap
  35557. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  35558. msgstr ""
  35559. #. type: deftypevr
  35560. #: guix-git/doc/guix.texi:24072
  35561. 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."
  35562. msgstr ""
  35563. #. type: deftypevr
  35564. #: guix-git/doc/guix.texi:24078
  35565. 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."
  35566. msgstr ""
  35567. #. type: deftypevr
  35568. #: guix-git/doc/guix.texi:24080
  35569. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  35570. msgstr ""
  35571. #. type: deftypevr
  35572. #: guix-git/doc/guix.texi:24082
  35573. msgid "Available @code{virtualhost-configuration} fields are:"
  35574. msgstr ""
  35575. #. type: deftypevr
  35576. #: guix-git/doc/guix.texi:24084 guix-git/doc/guix.texi:24106
  35577. #: guix-git/doc/guix.texi:24159
  35578. 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:"
  35579. msgstr ""
  35580. #. type: deftypevr
  35581. #: guix-git/doc/guix.texi:24084
  35582. #, no-wrap
  35583. msgid "{@code{virtualhost-configuration} parameter} string domain"
  35584. msgstr ""
  35585. #. type: deftypevr
  35586. #: guix-git/doc/guix.texi:24086
  35587. msgid "Domain you wish Prosody to serve."
  35588. msgstr ""
  35589. #. type: deftypevr
  35590. #: guix-git/doc/guix.texi:24090
  35591. #, no-wrap
  35592. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  35593. msgstr ""
  35594. #. type: deftypevr
  35595. #: guix-git/doc/guix.texi:24095
  35596. 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."
  35597. msgstr ""
  35598. #. type: deftypevr
  35599. #: guix-git/doc/guix.texi:24099
  35600. 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."
  35601. msgstr ""
  35602. #. type: deftypevr
  35603. #: guix-git/doc/guix.texi:24102
  35604. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  35605. msgstr ""
  35606. #. type: deftypevr
  35607. #: guix-git/doc/guix.texi:24104
  35608. msgid "Available @code{int-component-configuration} fields are:"
  35609. msgstr ""
  35610. #. type: deftypevr
  35611. #: guix-git/doc/guix.texi:24106
  35612. #, no-wrap
  35613. msgid "{@code{int-component-configuration} parameter} string hostname"
  35614. msgstr ""
  35615. #. type: deftypevr
  35616. #: guix-git/doc/guix.texi:24108 guix-git/doc/guix.texi:24165
  35617. msgid "Hostname of the component."
  35618. msgstr ""
  35619. #. type: deftypevr
  35620. #: guix-git/doc/guix.texi:24110
  35621. #, no-wrap
  35622. msgid "{@code{int-component-configuration} parameter} string plugin"
  35623. msgstr ""
  35624. #. type: deftypevr
  35625. #: guix-git/doc/guix.texi:24112
  35626. msgid "Plugin you wish to use for the component."
  35627. msgstr ""
  35628. #. type: deftypevr
  35629. #: guix-git/doc/guix.texi:24114
  35630. #, no-wrap
  35631. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  35632. msgstr ""
  35633. #. type: deftypevr
  35634. #: guix-git/doc/guix.texi:24117
  35635. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  35636. msgstr ""
  35637. #. type: deftypevr
  35638. #: guix-git/doc/guix.texi:24121
  35639. 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."
  35640. msgstr ""
  35641. #. type: deftypevr
  35642. #: guix-git/doc/guix.texi:24123
  35643. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  35644. msgstr ""
  35645. #. type: deftypevr
  35646. #: guix-git/doc/guix.texi:24125
  35647. msgid "Available @code{mod-muc-configuration} fields are:"
  35648. msgstr ""
  35649. #. type: deftypevr
  35650. #: guix-git/doc/guix.texi:24126
  35651. #, no-wrap
  35652. msgid "{@code{mod-muc-configuration} parameter} string name"
  35653. msgstr ""
  35654. #. type: deftypevr
  35655. #: guix-git/doc/guix.texi:24129
  35656. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  35657. msgstr ""
  35658. #. type: deftypevr
  35659. #: guix-git/doc/guix.texi:24131
  35660. #, no-wrap
  35661. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  35662. msgstr ""
  35663. #. type: deftypevr
  35664. #: guix-git/doc/guix.texi:24138
  35665. 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}."
  35666. msgstr ""
  35667. #. type: deftypevr
  35668. #: guix-git/doc/guix.texi:24140
  35669. #, no-wrap
  35670. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  35671. msgstr ""
  35672. #. type: deftypevr
  35673. #: guix-git/doc/guix.texi:24144
  35674. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  35675. msgstr ""
  35676. #. type: deftypevr
  35677. #: guix-git/doc/guix.texi:24150
  35678. #, no-wrap
  35679. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  35680. msgstr ""
  35681. #. type: deftypevr
  35682. #: guix-git/doc/guix.texi:24155
  35683. 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{()}."
  35684. msgstr ""
  35685. #. type: deftypevr
  35686. #: guix-git/doc/guix.texi:24157
  35687. msgid "Available @code{ext-component-configuration} fields are:"
  35688. msgstr ""
  35689. #. type: deftypevr
  35690. #: guix-git/doc/guix.texi:24159
  35691. #, no-wrap
  35692. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  35693. msgstr ""
  35694. #. type: deftypevr
  35695. #: guix-git/doc/guix.texi:24161
  35696. msgid "Password which the component will use to log in."
  35697. msgstr ""
  35698. #. type: deftypevr
  35699. #: guix-git/doc/guix.texi:24163
  35700. #, no-wrap
  35701. msgid "{@code{ext-component-configuration} parameter} string hostname"
  35702. msgstr ""
  35703. #. type: deftypevr
  35704. #: guix-git/doc/guix.texi:24169
  35705. #, no-wrap
  35706. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  35707. msgstr ""
  35708. #. type: deftypevr
  35709. #: guix-git/doc/guix.texi:24172
  35710. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  35711. msgstr ""
  35712. #. type: deftypevr
  35713. #: guix-git/doc/guix.texi:24174
  35714. #, no-wrap
  35715. msgid "{@code{prosody-configuration} parameter} string component-interface"
  35716. msgstr ""
  35717. #. type: deftypevr
  35718. #: guix-git/doc/guix.texi:24177
  35719. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  35720. msgstr ""
  35721. #. type: deftypevr
  35722. #: guix-git/doc/guix.texi:24179
  35723. #, no-wrap
  35724. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  35725. msgstr ""
  35726. #. type: deftypevr
  35727. #: guix-git/doc/guix.texi:24181
  35728. msgid "Raw content that will be added to the configuration file."
  35729. msgstr ""
  35730. #. type: Plain text
  35731. #: guix-git/doc/guix.texi:24189
  35732. 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:"
  35733. msgstr ""
  35734. #. type: deftypevr
  35735. #: guix-git/doc/guix.texi:24190
  35736. #, no-wrap
  35737. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  35738. msgstr ""
  35739. #. type: deftypevr
  35740. #: guix-git/doc/guix.texi:24192
  35741. msgid "The prosody package."
  35742. msgstr ""
  35743. #. type: deftypevr
  35744. #: guix-git/doc/guix.texi:24194
  35745. #, no-wrap
  35746. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  35747. msgstr ""
  35748. #. type: deftypevr
  35749. #: guix-git/doc/guix.texi:24196
  35750. msgid "The contents of the @code{prosody.cfg.lua} to use."
  35751. msgstr ""
  35752. #. type: Plain text
  35753. #: guix-git/doc/guix.texi:24200
  35754. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  35755. msgstr ""
  35756. #. type: lisp
  35757. #: guix-git/doc/guix.texi:24205
  35758. #, no-wrap
  35759. msgid ""
  35760. "(service prosody-service-type\n"
  35761. " (opaque-prosody-configuration\n"
  35762. " (prosody.cfg.lua \"\")))\n"
  35763. msgstr ""
  35764. #. type: subsubheading
  35765. #: guix-git/doc/guix.texi:24209
  35766. #, no-wrap
  35767. msgid "BitlBee Service"
  35768. msgstr ""
  35769. #. type: cindex
  35770. #: guix-git/doc/guix.texi:24211 guix-git/doc/guix.texi:24255
  35771. #, no-wrap
  35772. msgid "IRC (Internet Relay Chat)"
  35773. msgstr ""
  35774. #. type: cindex
  35775. #: guix-git/doc/guix.texi:24212
  35776. #, no-wrap
  35777. msgid "IRC gateway"
  35778. msgstr ""
  35779. #. type: Plain text
  35780. #: guix-git/doc/guix.texi:24215
  35781. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  35782. msgstr ""
  35783. #. type: defvr
  35784. #: guix-git/doc/guix.texi:24216
  35785. #, no-wrap
  35786. msgid "{Scheme Variable} bitlbee-service-type"
  35787. msgstr ""
  35788. #. type: defvr
  35789. #: guix-git/doc/guix.texi:24220
  35790. 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)."
  35791. msgstr ""
  35792. #. type: defvr
  35793. #: guix-git/doc/guix.texi:24223
  35794. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  35795. msgstr ""
  35796. #. type: lisp
  35797. #: guix-git/doc/guix.texi:24226
  35798. #, no-wrap
  35799. msgid "(service bitlbee-service-type)\n"
  35800. msgstr ""
  35801. #. type: deftp
  35802. #: guix-git/doc/guix.texi:24229
  35803. #, no-wrap
  35804. msgid "{Data Type} bitlbee-configuration"
  35805. msgstr ""
  35806. #. type: deftp
  35807. #: guix-git/doc/guix.texi:24231
  35808. msgid "This is the configuration for BitlBee, with the following fields:"
  35809. msgstr ""
  35810. #. type: item
  35811. #: guix-git/doc/guix.texi:24233
  35812. #, no-wrap
  35813. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  35814. msgstr ""
  35815. #. type: itemx
  35816. #: guix-git/doc/guix.texi:24234
  35817. #, no-wrap
  35818. msgid "@code{port} (default: @code{6667})"
  35819. msgstr ""
  35820. #. type: table
  35821. #: guix-git/doc/guix.texi:24237
  35822. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  35823. msgstr ""
  35824. #. type: table
  35825. #: guix-git/doc/guix.texi:24241
  35826. 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."
  35827. msgstr ""
  35828. #. type: item
  35829. #: guix-git/doc/guix.texi:24242
  35830. #, no-wrap
  35831. msgid "@code{bitlbee} (default: @code{bitlbee})"
  35832. msgstr ""
  35833. #. type: table
  35834. #: guix-git/doc/guix.texi:24244
  35835. msgid "The BitlBee package to use."
  35836. msgstr ""
  35837. #. type: item
  35838. #: guix-git/doc/guix.texi:24245
  35839. #, no-wrap
  35840. msgid "@code{plugins} (default: @code{'()})"
  35841. msgstr ""
  35842. #. type: table
  35843. #: guix-git/doc/guix.texi:24247
  35844. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  35845. msgstr ""
  35846. #. type: table
  35847. #: guix-git/doc/guix.texi:24250
  35848. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  35849. msgstr ""
  35850. #. type: subsubheading
  35851. #: guix-git/doc/guix.texi:24253
  35852. #, no-wrap
  35853. msgid "Quassel Service"
  35854. msgstr ""
  35855. #. type: Plain text
  35856. #: guix-git/doc/guix.texi:24259
  35857. 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."
  35858. msgstr ""
  35859. #. type: defvr
  35860. #: guix-git/doc/guix.texi:24260
  35861. #, no-wrap
  35862. msgid "{Scheme Variable} quassel-service-type"
  35863. msgstr ""
  35864. #. type: defvr
  35865. #: guix-git/doc/guix.texi:24264
  35866. 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)."
  35867. msgstr ""
  35868. #. type: deftp
  35869. #: guix-git/doc/guix.texi:24266
  35870. #, no-wrap
  35871. msgid "{Data Type} quassel-configuration"
  35872. msgstr ""
  35873. #. type: deftp
  35874. #: guix-git/doc/guix.texi:24268
  35875. msgid "This is the configuration for Quassel, with the following fields:"
  35876. msgstr ""
  35877. #. type: item
  35878. #: guix-git/doc/guix.texi:24270
  35879. #, no-wrap
  35880. msgid "@code{quassel} (default: @code{quassel})"
  35881. msgstr ""
  35882. #. type: table
  35883. #: guix-git/doc/guix.texi:24272
  35884. msgid "The Quassel package to use."
  35885. msgstr ""
  35886. #. type: item
  35887. #: guix-git/doc/guix.texi:24273
  35888. #, no-wrap
  35889. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  35890. msgstr ""
  35891. #. type: item
  35892. #: guix-git/doc/guix.texi:24274
  35893. #, no-wrap
  35894. msgid "@code{port} (default: @code{4242})"
  35895. msgstr ""
  35896. #. type: table
  35897. #: guix-git/doc/guix.texi:24278
  35898. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  35899. msgstr ""
  35900. #. type: item
  35901. #: guix-git/doc/guix.texi:24279
  35902. #, no-wrap
  35903. msgid "@code{loglevel} (default: @code{\"Info\"})"
  35904. msgstr ""
  35905. #. type: table
  35906. #: guix-git/doc/guix.texi:24282
  35907. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  35908. msgstr ""
  35909. #. type: cindex
  35910. #: guix-git/doc/guix.texi:24288
  35911. #, no-wrap
  35912. msgid "telephony, services"
  35913. msgstr ""
  35914. #. type: Plain text
  35915. #: guix-git/doc/guix.texi:24292
  35916. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  35917. msgstr ""
  35918. #. type: subsubheading
  35919. #: guix-git/doc/guix.texi:24293
  35920. #, no-wrap
  35921. msgid "Jami"
  35922. msgstr ""
  35923. #. type: cindex
  35924. #: guix-git/doc/guix.texi:24295
  35925. #, no-wrap
  35926. msgid "jami, service"
  35927. msgstr ""
  35928. #. type: Plain text
  35929. #: guix-git/doc/guix.texi:24301
  35930. 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:"
  35931. msgstr ""
  35932. #. type: lisp
  35933. #: guix-git/doc/guix.texi:24310
  35934. #, no-wrap
  35935. msgid ""
  35936. "(service jami-service-type\n"
  35937. " (jami-configuration\n"
  35938. " (accounts\n"
  35939. " (list (jami-account\n"
  35940. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  35941. " (jami-account\n"
  35942. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  35943. msgstr ""
  35944. #. type: Plain text
  35945. #: guix-git/doc/guix.texi:24315
  35946. 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."
  35947. msgstr ""
  35948. #. type: Plain text
  35949. #: guix-git/doc/guix.texi:24320
  35950. 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}."
  35951. msgstr ""
  35952. #. type: Plain text
  35953. #: guix-git/doc/guix.texi:24323
  35954. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  35955. msgstr ""
  35956. #. type: lisp
  35957. #: guix-git/doc/guix.texi:24335
  35958. #, no-wrap
  35959. msgid ""
  35960. "(service jami-service-type\n"
  35961. " (jami-configuration\n"
  35962. " (accounts\n"
  35963. " (list (jami-account\n"
  35964. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  35965. " (peer-discovery? #t)\n"
  35966. " (rendezvous-point? #t)\n"
  35967. " (allowed-contacts\n"
  35968. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  35969. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  35970. msgstr ""
  35971. #. type: Plain text
  35972. #: guix-git/doc/guix.texi:24341
  35973. 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."
  35974. msgstr ""
  35975. #. type: Plain text
  35976. #: guix-git/doc/guix.texi:24344
  35977. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  35978. msgstr ""
  35979. #. type: example
  35980. #: guix-git/doc/guix.texi:24356
  35981. #, no-wrap
  35982. msgid ""
  35983. "# herd doc jami list-actions\n"
  35984. "(list-accounts\n"
  35985. " list-account-details\n"
  35986. " list-banned-contacts\n"
  35987. " list-contacts\n"
  35988. " list-moderators\n"
  35989. " add-moderator\n"
  35990. " ban-contact\n"
  35991. " enable-account\n"
  35992. " disable-account)\n"
  35993. msgstr ""
  35994. #. type: Plain text
  35995. #: guix-git/doc/guix.texi:24363
  35996. 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."
  35997. msgstr ""
  35998. #. type: Plain text
  35999. #: guix-git/doc/guix.texi:24369
  36000. 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:"
  36001. msgstr ""
  36002. #. type: example
  36003. #: guix-git/doc/guix.texi:24373
  36004. #, no-wrap
  36005. msgid ""
  36006. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  36007. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36008. "\n"
  36009. msgstr ""
  36010. #. type: example
  36011. #: guix-git/doc/guix.texi:24377
  36012. #, no-wrap
  36013. msgid ""
  36014. "# herd list-moderators jami\n"
  36015. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36016. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36017. "\n"
  36018. msgstr ""
  36019. #. type: Plain text
  36020. #: guix-git/doc/guix.texi:24382
  36021. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  36022. msgstr ""
  36023. #. type: example
  36024. #: guix-git/doc/guix.texi:24385
  36025. #, no-wrap
  36026. msgid ""
  36027. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36028. "\n"
  36029. msgstr ""
  36030. #. type: example
  36031. #: guix-git/doc/guix.texi:24389
  36032. #, no-wrap
  36033. msgid ""
  36034. "# herd list-banned-contacts jami\n"
  36035. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36036. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36037. "\n"
  36038. msgstr ""
  36039. #. type: Plain text
  36040. #: guix-git/doc/guix.texi:24393
  36041. msgid "Banned contacts are also stripped from their moderation privileges."
  36042. msgstr ""
  36043. #. type: Plain text
  36044. #: guix-git/doc/guix.texi:24398
  36045. 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:"
  36046. msgstr ""
  36047. #. type: example
  36048. #: guix-git/doc/guix.texi:24401
  36049. #, no-wrap
  36050. msgid ""
  36051. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36052. "\n"
  36053. msgstr ""
  36054. #. type: example
  36055. #: guix-git/doc/guix.texi:24405
  36056. #, no-wrap
  36057. msgid ""
  36058. "# herd list-accounts jami\n"
  36059. "The following Jami accounts are available:\n"
  36060. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  36061. "\n"
  36062. msgstr ""
  36063. #. type: Plain text
  36064. #: guix-git/doc/guix.texi:24416
  36065. 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:"
  36066. msgstr ""
  36067. #. type: example
  36068. #: guix-git/doc/guix.texi:24421
  36069. #, no-wrap
  36070. msgid ""
  36071. "# herd list-account-details jami | \\\n"
  36072. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  36073. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36074. msgstr ""
  36075. #. type: Plain text
  36076. #: guix-git/doc/guix.texi:24424
  36077. msgid "The remaining actions should be self-explanatory."
  36078. msgstr ""
  36079. #. type: Plain text
  36080. #: guix-git/doc/guix.texi:24426
  36081. msgid "The complete set of available configuration options is detailed below."
  36082. msgstr ""
  36083. #. type: deftp
  36084. #: guix-git/doc/guix.texi:24430
  36085. #, no-wrap
  36086. msgid "{Data Type} jami-configuration"
  36087. msgstr ""
  36088. #. type: deftp
  36089. #: guix-git/doc/guix.texi:24432
  36090. msgid "Available @code{jami-configuration} fields are:"
  36091. msgstr ""
  36092. #. type: item
  36093. #: guix-git/doc/guix.texi:24434
  36094. #, no-wrap
  36095. msgid "@code{jamid} (default: @code{libjami}) (type: package)"
  36096. msgstr ""
  36097. #. type: table
  36098. #: guix-git/doc/guix.texi:24436
  36099. msgid "The Jami daemon package to use."
  36100. msgstr ""
  36101. #. type: item
  36102. #: guix-git/doc/guix.texi:24437
  36103. #, no-wrap
  36104. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  36105. msgstr ""
  36106. #. type: table
  36107. #: guix-git/doc/guix.texi:24439
  36108. msgid "The D-Bus package to use to start the required D-Bus session."
  36109. msgstr ""
  36110. #. type: item
  36111. #: guix-git/doc/guix.texi:24440
  36112. #, no-wrap
  36113. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  36114. msgstr ""
  36115. #. type: table
  36116. #: guix-git/doc/guix.texi:24442
  36117. msgid "The nss-certs package to use to provide TLS certificates."
  36118. msgstr ""
  36119. #. type: item
  36120. #: guix-git/doc/guix.texi:24443
  36121. #, no-wrap
  36122. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  36123. msgstr ""
  36124. #. type: table
  36125. #: guix-git/doc/guix.texi:24445
  36126. msgid "Whether to enable logging to syslog."
  36127. msgstr ""
  36128. #. type: item
  36129. #: guix-git/doc/guix.texi:24446
  36130. #, no-wrap
  36131. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  36132. msgstr ""
  36133. #. type: table
  36134. #: guix-git/doc/guix.texi:24448
  36135. msgid "Whether to enable debug level messages."
  36136. msgstr ""
  36137. #. type: item
  36138. #: guix-git/doc/guix.texi:24449
  36139. #, no-wrap
  36140. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  36141. msgstr ""
  36142. #. type: table
  36143. #: guix-git/doc/guix.texi:24451
  36144. msgid "Whether to force automatic answer to incoming calls."
  36145. msgstr ""
  36146. #. type: item
  36147. #: guix-git/doc/guix.texi:24452
  36148. #, no-wrap
  36149. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  36150. msgstr ""
  36151. #. type: table
  36152. #: guix-git/doc/guix.texi:24457
  36153. 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."
  36154. msgstr ""
  36155. #. type: deftp
  36156. #: guix-git/doc/guix.texi:24463
  36157. #, no-wrap
  36158. msgid "{Data Type} jami-account"
  36159. msgstr ""
  36160. #. type: deftp
  36161. #: guix-git/doc/guix.texi:24465
  36162. msgid "Available @code{jami-account} fields are:"
  36163. msgstr ""
  36164. #. type: item
  36165. #: guix-git/doc/guix.texi:24467
  36166. #, no-wrap
  36167. msgid "@code{archive} (type: string-or-computed-file)"
  36168. msgstr ""
  36169. #. type: table
  36170. #: guix-git/doc/guix.texi:24473
  36171. 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."
  36172. msgstr ""
  36173. #. type: item
  36174. #: guix-git/doc/guix.texi:24474
  36175. #, no-wrap
  36176. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36177. msgstr ""
  36178. #. type: table
  36179. #: guix-git/doc/guix.texi:24481
  36180. 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."
  36181. msgstr ""
  36182. #. type: item
  36183. #: guix-git/doc/guix.texi:24482
  36184. #, no-wrap
  36185. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36186. msgstr ""
  36187. #. type: table
  36188. #: guix-git/doc/guix.texi:24488
  36189. 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."
  36190. msgstr ""
  36191. #. type: item
  36192. #: guix-git/doc/guix.texi:24489
  36193. #, no-wrap
  36194. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  36195. msgstr ""
  36196. #. type: table
  36197. #: guix-git/doc/guix.texi:24493
  36198. 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."
  36199. msgstr ""
  36200. #. type: item
  36201. #: guix-git/doc/guix.texi:24494
  36202. #, no-wrap
  36203. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  36204. msgstr ""
  36205. #. type: table
  36206. #: guix-git/doc/guix.texi:24500
  36207. 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."
  36208. msgstr ""
  36209. #. type: item
  36210. #: guix-git/doc/guix.texi:24501
  36211. #, no-wrap
  36212. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  36213. msgstr ""
  36214. #. type: table
  36215. #: guix-git/doc/guix.texi:24505
  36216. 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."
  36217. msgstr ""
  36218. #. type: item
  36219. #: guix-git/doc/guix.texi:24506
  36220. #, no-wrap
  36221. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  36222. msgstr ""
  36223. #. type: table
  36224. #: guix-git/doc/guix.texi:24509
  36225. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  36226. msgstr ""
  36227. #. type: cindex
  36228. #: guix-git/doc/guix.texi:24514 guix-git/doc/guix.texi:24516
  36229. #, no-wrap
  36230. msgid "Murmur (VoIP server)"
  36231. msgstr ""
  36232. #. type: cindex
  36233. #: guix-git/doc/guix.texi:24517
  36234. #, no-wrap
  36235. msgid "VoIP server"
  36236. msgstr ""
  36237. #. type: Plain text
  36238. #: guix-git/doc/guix.texi:24521
  36239. 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."
  36240. msgstr ""
  36241. #. type: deftp
  36242. #: guix-git/doc/guix.texi:24522
  36243. #, no-wrap
  36244. msgid "{Data Type} murmur-configuration"
  36245. msgstr ""
  36246. #. type: deftp
  36247. #: guix-git/doc/guix.texi:24525
  36248. msgid "The service type for the Murmur server. An example configuration can look like this:"
  36249. msgstr ""
  36250. #. type: lisp
  36251. #: guix-git/doc/guix.texi:24534
  36252. #, no-wrap
  36253. msgid ""
  36254. "(service murmur-service-type\n"
  36255. " (murmur-configuration\n"
  36256. " (welcome-text\n"
  36257. " \"Welcome to this Mumble server running on Guix!\")\n"
  36258. " (cert-required? #t) ;disallow text password logins\n"
  36259. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  36260. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  36261. msgstr ""
  36262. #. type: deftp
  36263. #: guix-git/doc/guix.texi:24538
  36264. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  36265. msgstr ""
  36266. #. type: deftp
  36267. #: guix-git/doc/guix.texi:24547
  36268. 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."
  36269. msgstr ""
  36270. #. type: deftp
  36271. #: guix-git/doc/guix.texi:24549
  36272. msgid "Available @code{murmur-configuration} fields are:"
  36273. msgstr ""
  36274. #. type: item
  36275. #: guix-git/doc/guix.texi:24551
  36276. #, no-wrap
  36277. msgid "@code{package} (default: @code{mumble})"
  36278. msgstr ""
  36279. #. type: table
  36280. #: guix-git/doc/guix.texi:24553
  36281. msgid "Package that contains @code{bin/murmurd}."
  36282. msgstr ""
  36283. #. type: item
  36284. #: guix-git/doc/guix.texi:24554
  36285. #, no-wrap
  36286. msgid "@code{user} (default: @code{\"murmur\"})"
  36287. msgstr ""
  36288. #. type: table
  36289. #: guix-git/doc/guix.texi:24556
  36290. msgid "User who will run the Murmur server."
  36291. msgstr ""
  36292. #. type: item
  36293. #: guix-git/doc/guix.texi:24557
  36294. #, no-wrap
  36295. msgid "@code{group} (default: @code{\"murmur\"})"
  36296. msgstr ""
  36297. #. type: table
  36298. #: guix-git/doc/guix.texi:24559
  36299. msgid "Group of the user who will run the murmur server."
  36300. msgstr ""
  36301. #. type: item
  36302. #: guix-git/doc/guix.texi:24560
  36303. #, no-wrap
  36304. msgid "@code{port} (default: @code{64738})"
  36305. msgstr ""
  36306. #. type: table
  36307. #: guix-git/doc/guix.texi:24562
  36308. msgid "Port on which the server will listen."
  36309. msgstr ""
  36310. #. type: item
  36311. #: guix-git/doc/guix.texi:24563
  36312. #, no-wrap
  36313. msgid "@code{welcome-text} (default: @code{\"\"})"
  36314. msgstr ""
  36315. #. type: table
  36316. #: guix-git/doc/guix.texi:24565
  36317. msgid "Welcome text sent to clients when they connect."
  36318. msgstr ""
  36319. #. type: item
  36320. #: guix-git/doc/guix.texi:24566
  36321. #, no-wrap
  36322. msgid "@code{server-password} (default: @code{\"\"})"
  36323. msgstr ""
  36324. #. type: table
  36325. #: guix-git/doc/guix.texi:24568
  36326. msgid "Password the clients have to enter in order to connect."
  36327. msgstr ""
  36328. #. type: item
  36329. #: guix-git/doc/guix.texi:24569
  36330. #, no-wrap
  36331. msgid "@code{max-users} (default: @code{100})"
  36332. msgstr ""
  36333. #. type: table
  36334. #: guix-git/doc/guix.texi:24571
  36335. msgid "Maximum of users that can be connected to the server at once."
  36336. msgstr ""
  36337. #. type: item
  36338. #: guix-git/doc/guix.texi:24572
  36339. #, no-wrap
  36340. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  36341. msgstr ""
  36342. #. type: table
  36343. #: guix-git/doc/guix.texi:24574
  36344. msgid "Maximum voice traffic a user can send per second."
  36345. msgstr ""
  36346. #. type: item
  36347. #: guix-git/doc/guix.texi:24575
  36348. #, no-wrap
  36349. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  36350. msgstr ""
  36351. #. type: table
  36352. #: guix-git/doc/guix.texi:24578
  36353. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  36354. msgstr ""
  36355. #. type: item
  36356. #: guix-git/doc/guix.texi:24579
  36357. #, no-wrap
  36358. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  36359. msgstr ""
  36360. #. type: table
  36361. #: guix-git/doc/guix.texi:24582
  36362. msgid "File name of the log file. The service's user will become the owner of the directory."
  36363. msgstr ""
  36364. #. type: item
  36365. #: guix-git/doc/guix.texi:24583
  36366. #, no-wrap
  36367. msgid "@code{autoban-attempts} (default: @code{10})"
  36368. msgstr ""
  36369. #. type: table
  36370. #: guix-git/doc/guix.texi:24586
  36371. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  36372. msgstr ""
  36373. #. type: item
  36374. #: guix-git/doc/guix.texi:24587
  36375. #, no-wrap
  36376. msgid "@code{autoban-timeframe} (default: @code{120})"
  36377. msgstr ""
  36378. #. type: table
  36379. #: guix-git/doc/guix.texi:24589
  36380. msgid "Timeframe for autoban in seconds."
  36381. msgstr ""
  36382. #. type: item
  36383. #: guix-git/doc/guix.texi:24590
  36384. #, no-wrap
  36385. msgid "@code{autoban-time} (default: @code{300})"
  36386. msgstr ""
  36387. #. type: table
  36388. #: guix-git/doc/guix.texi:24593
  36389. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  36390. msgstr ""
  36391. #. type: item
  36392. #: guix-git/doc/guix.texi:24594
  36393. #, no-wrap
  36394. msgid "@code{opus-threshold} (default: @code{100})"
  36395. msgstr ""
  36396. #. type: table
  36397. #: guix-git/doc/guix.texi:24597
  36398. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  36399. msgstr ""
  36400. #. type: item
  36401. #: guix-git/doc/guix.texi:24598
  36402. #, no-wrap
  36403. msgid "@code{channel-nesting-limit} (default: @code{10})"
  36404. msgstr ""
  36405. #. type: table
  36406. #: guix-git/doc/guix.texi:24600
  36407. msgid "How deep channels can be nested at maximum."
  36408. msgstr ""
  36409. #. type: item
  36410. #: guix-git/doc/guix.texi:24601
  36411. #, no-wrap
  36412. msgid "@code{channelname-regex} (default: @code{#f})"
  36413. msgstr ""
  36414. #. type: table
  36415. #: guix-git/doc/guix.texi:24603
  36416. msgid "A string in form of a Qt regular expression that channel names must conform to."
  36417. msgstr ""
  36418. #. type: item
  36419. #: guix-git/doc/guix.texi:24604
  36420. #, no-wrap
  36421. msgid "@code{username-regex} (default: @code{#f})"
  36422. msgstr ""
  36423. #. type: table
  36424. #: guix-git/doc/guix.texi:24606
  36425. msgid "A string in form of a Qt regular expression that user names must conform to."
  36426. msgstr ""
  36427. #. type: item
  36428. #: guix-git/doc/guix.texi:24607
  36429. #, no-wrap
  36430. msgid "@code{text-message-length} (default: @code{5000})"
  36431. msgstr ""
  36432. #. type: table
  36433. #: guix-git/doc/guix.texi:24609
  36434. msgid "Maximum size in bytes that a user can send in one text chat message."
  36435. msgstr ""
  36436. #. type: item
  36437. #: guix-git/doc/guix.texi:24610
  36438. #, no-wrap
  36439. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  36440. msgstr ""
  36441. #. type: table
  36442. #: guix-git/doc/guix.texi:24612
  36443. msgid "Maximum size in bytes that a user can send in one image message."
  36444. msgstr ""
  36445. #. type: item
  36446. #: guix-git/doc/guix.texi:24613
  36447. #, no-wrap
  36448. msgid "@code{cert-required?} (default: @code{#f})"
  36449. msgstr ""
  36450. #. type: table
  36451. #: guix-git/doc/guix.texi:24616
  36452. 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."
  36453. msgstr ""
  36454. #. type: item
  36455. #: guix-git/doc/guix.texi:24617
  36456. #, no-wrap
  36457. msgid "@code{remember-channel?} (default: @code{#f})"
  36458. msgstr ""
  36459. #. type: table
  36460. #: guix-git/doc/guix.texi:24620
  36461. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  36462. msgstr ""
  36463. #. type: item
  36464. #: guix-git/doc/guix.texi:24621
  36465. #, no-wrap
  36466. msgid "@code{allow-html?} (default: @code{#f})"
  36467. msgstr ""
  36468. #. type: table
  36469. #: guix-git/doc/guix.texi:24623
  36470. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  36471. msgstr ""
  36472. #. type: item
  36473. #: guix-git/doc/guix.texi:24624
  36474. #, no-wrap
  36475. msgid "@code{allow-ping?} (default: @code{#f})"
  36476. msgstr ""
  36477. #. type: table
  36478. #: guix-git/doc/guix.texi:24628
  36479. 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."
  36480. msgstr ""
  36481. #. type: table
  36482. #: guix-git/doc/guix.texi:24630
  36483. msgid "Disabling this setting will prevent public listing of the server."
  36484. msgstr ""
  36485. #. type: item
  36486. #: guix-git/doc/guix.texi:24631
  36487. #, no-wrap
  36488. msgid "@code{bonjour?} (default: @code{#f})"
  36489. msgstr ""
  36490. #. type: table
  36491. #: guix-git/doc/guix.texi:24633
  36492. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  36493. msgstr ""
  36494. #. type: item
  36495. #: guix-git/doc/guix.texi:24634
  36496. #, no-wrap
  36497. msgid "@code{send-version?} (default: @code{#f})"
  36498. msgstr ""
  36499. #. type: table
  36500. #: guix-git/doc/guix.texi:24636
  36501. msgid "Should the murmur server version be exposed in ping requests."
  36502. msgstr ""
  36503. #. type: item
  36504. #: guix-git/doc/guix.texi:24637
  36505. #, no-wrap
  36506. msgid "@code{log-days} (default: @code{31})"
  36507. msgstr ""
  36508. #. type: table
  36509. #: guix-git/doc/guix.texi:24641
  36510. 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."
  36511. msgstr ""
  36512. #. type: item
  36513. #: guix-git/doc/guix.texi:24642
  36514. #, no-wrap
  36515. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  36516. msgstr ""
  36517. #. type: table
  36518. #: guix-git/doc/guix.texi:24644
  36519. msgid "Should logged ips be obfuscated to protect the privacy of users."
  36520. msgstr ""
  36521. #. type: item
  36522. #: guix-git/doc/guix.texi:24645
  36523. #, no-wrap
  36524. msgid "@code{ssl-cert} (default: @code{#f})"
  36525. msgstr ""
  36526. #. type: table
  36527. #: guix-git/doc/guix.texi:24647
  36528. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  36529. msgstr ""
  36530. #. type: lisp
  36531. #: guix-git/doc/guix.texi:24650
  36532. #, no-wrap
  36533. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  36534. msgstr ""
  36535. #. type: item
  36536. #: guix-git/doc/guix.texi:24651
  36537. #, no-wrap
  36538. msgid "@code{ssl-key} (default: @code{#f})"
  36539. msgstr ""
  36540. #. type: table
  36541. #: guix-git/doc/guix.texi:24653
  36542. msgid "Filepath to the ssl private key used for encrypted connections."
  36543. msgstr ""
  36544. #. type: lisp
  36545. #: guix-git/doc/guix.texi:24655
  36546. #, no-wrap
  36547. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  36548. msgstr ""
  36549. #. type: item
  36550. #: guix-git/doc/guix.texi:24657
  36551. #, no-wrap
  36552. msgid "@code{ssl-dh-params} (default: @code{#f})"
  36553. msgstr ""
  36554. #. type: table
  36555. #: guix-git/doc/guix.texi:24662
  36556. 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."
  36557. msgstr ""
  36558. #. type: item
  36559. #: guix-git/doc/guix.texi:24663
  36560. #, no-wrap
  36561. msgid "@code{ssl-ciphers} (default: @code{#f})"
  36562. msgstr ""
  36563. #. type: table
  36564. #: guix-git/doc/guix.texi:24666
  36565. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  36566. msgstr ""
  36567. #. type: table
  36568. #: guix-git/doc/guix.texi:24670
  36569. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  36570. msgstr ""
  36571. #. type: table
  36572. #: guix-git/doc/guix.texi:24675
  36573. 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."
  36574. msgstr ""
  36575. #. type: table
  36576. #: guix-git/doc/guix.texi:24679
  36577. 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."
  36578. msgstr ""
  36579. #. type: item
  36580. #: guix-git/doc/guix.texi:24680
  36581. #, no-wrap
  36582. msgid "@code{public-registration} (default: @code{#f})"
  36583. msgstr ""
  36584. #. type: table
  36585. #: guix-git/doc/guix.texi:24682
  36586. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  36587. msgstr ""
  36588. #. type: table
  36589. #: guix-git/doc/guix.texi:24687
  36590. 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}."
  36591. msgstr ""
  36592. #. type: table
  36593. #: guix-git/doc/guix.texi:24689
  36594. msgid "It might take a few hours until it shows up in the public list."
  36595. msgstr ""
  36596. #. type: item
  36597. #: guix-git/doc/guix.texi:24690 guix-git/doc/guix.texi:26837
  36598. #, no-wrap
  36599. msgid "@code{file} (default: @code{#f})"
  36600. msgstr ""
  36601. #. type: table
  36602. #: guix-git/doc/guix.texi:24692
  36603. msgid "Optional alternative override for this configuration."
  36604. msgstr ""
  36605. #. type: deftp
  36606. #: guix-git/doc/guix.texi:24695
  36607. #, no-wrap
  36608. msgid "{Data Type} murmur-public-registration-configuration"
  36609. msgstr ""
  36610. #. type: deftp
  36611. #: guix-git/doc/guix.texi:24697
  36612. msgid "Configuration for public registration of a murmur service."
  36613. msgstr ""
  36614. #. type: table
  36615. #: guix-git/doc/guix.texi:24701
  36616. msgid "This is a display name for your server. Not to be confused with the hostname."
  36617. msgstr ""
  36618. #. type: itemx
  36619. #: guix-git/doc/guix.texi:24702 guix-git/doc/guix.texi:33600
  36620. #: guix-git/doc/guix.texi:34857
  36621. #, no-wrap
  36622. msgid "password"
  36623. msgstr ""
  36624. #. type: table
  36625. #: guix-git/doc/guix.texi:24705
  36626. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  36627. msgstr ""
  36628. #. type: table
  36629. #: guix-git/doc/guix.texi:24709
  36630. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  36631. msgstr ""
  36632. #. type: item
  36633. #: guix-git/doc/guix.texi:24710 guix-git/doc/guix.texi:27725
  36634. #, no-wrap
  36635. msgid "@code{hostname} (default: @code{#f})"
  36636. msgstr ""
  36637. #. type: table
  36638. #: guix-git/doc/guix.texi:24713
  36639. 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."
  36640. msgstr ""
  36641. #. type: Plain text
  36642. #: guix-git/doc/guix.texi:24723
  36643. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  36644. msgstr ""
  36645. #. type: subsubheading
  36646. #: guix-git/doc/guix.texi:24724
  36647. #, no-wrap
  36648. msgid "Transmission Daemon Service"
  36649. msgstr ""
  36650. #. type: Plain text
  36651. #: guix-git/doc/guix.texi:24732
  36652. 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."
  36653. msgstr ""
  36654. #. type: deffn
  36655. #: guix-git/doc/guix.texi:24733
  36656. #, no-wrap
  36657. msgid "{Scheme Variable} transmission-daemon-service-type"
  36658. msgstr ""
  36659. #. type: deffn
  36660. #: guix-git/doc/guix.texi:24737
  36661. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  36662. msgstr ""
  36663. #. type: lisp
  36664. #: guix-git/doc/guix.texi:24748
  36665. #, no-wrap
  36666. msgid ""
  36667. "(service transmission-daemon-service-type\n"
  36668. " (transmission-daemon-configuration\n"
  36669. " ;; Restrict access to the RPC (\"control\") interface\n"
  36670. " (rpc-authentication-required? #t)\n"
  36671. " (rpc-username \"transmission\")\n"
  36672. " (rpc-password\n"
  36673. " (transmission-password-hash\n"
  36674. " \"transmission\" ; desired password\n"
  36675. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  36676. "\n"
  36677. msgstr ""
  36678. #. type: lisp
  36679. #: guix-git/doc/guix.texi:24753
  36680. #, no-wrap
  36681. msgid ""
  36682. " ;; Accept requests from this and other hosts on the\n"
  36683. " ;; local network\n"
  36684. " (rpc-whitelist-enabled? #t)\n"
  36685. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  36686. "\n"
  36687. msgstr ""
  36688. #. type: lisp
  36689. #: guix-git/doc/guix.texi:24757
  36690. #, no-wrap
  36691. msgid ""
  36692. " ;; Limit bandwidth use during work hours\n"
  36693. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  36694. " (alt-speed-up 512) ; 512 kB/s\n"
  36695. "\n"
  36696. msgstr ""
  36697. #. type: lisp
  36698. #: guix-git/doc/guix.texi:24764
  36699. #, no-wrap
  36700. msgid ""
  36701. " (alt-speed-time-enabled? #t)\n"
  36702. " (alt-speed-time-day 'weekdays)\n"
  36703. " (alt-speed-time-begin\n"
  36704. " (+ (* 60 8) 30)) ; 8:30 am\n"
  36705. " (alt-speed-time-end\n"
  36706. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  36707. msgstr ""
  36708. #. type: Plain text
  36709. #: guix-git/doc/guix.texi:24777
  36710. 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."
  36711. msgstr ""
  36712. #. type: Plain text
  36713. #: guix-git/doc/guix.texi:24785
  36714. 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."
  36715. msgstr ""
  36716. #. type: deffn
  36717. #: guix-git/doc/guix.texi:24786
  36718. #, no-wrap
  36719. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  36720. msgstr ""
  36721. #. type: deffn
  36722. #: guix-git/doc/guix.texi:24790
  36723. 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."
  36724. msgstr ""
  36725. #. type: deffn
  36726. #: guix-git/doc/guix.texi:24794
  36727. 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."
  36728. msgstr ""
  36729. #. type: deffn
  36730. #: guix-git/doc/guix.texi:24796
  36731. #, no-wrap
  36732. msgid "{Scheme Procedure} transmission-random-salt"
  36733. msgstr ""
  36734. #. type: deffn
  36735. #: guix-git/doc/guix.texi:24800
  36736. 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."
  36737. msgstr ""
  36738. #. type: Plain text
  36739. #: guix-git/doc/guix.texi:24806
  36740. 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:"
  36741. msgstr ""
  36742. #. type: example
  36743. #: guix-git/doc/guix.texi:24812
  36744. #, no-wrap
  36745. msgid ""
  36746. "$ guix repl\n"
  36747. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  36748. "scheme@@(guix-user)> (transmission-random-salt)\n"
  36749. "$1 = \"uKd1uMs9\"\n"
  36750. msgstr ""
  36751. #. type: Plain text
  36752. #: guix-git/doc/guix.texi:24815
  36753. msgid "Alternatively, a complete password hash can generated in a single step:"
  36754. msgstr ""
  36755. #. type: example
  36756. #: guix-git/doc/guix.texi:24820
  36757. #, no-wrap
  36758. msgid ""
  36759. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  36760. "(transmission-random-salt))\n"
  36761. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  36762. msgstr ""
  36763. #. type: Plain text
  36764. #: guix-git/doc/guix.texi:24825
  36765. 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."
  36766. msgstr ""
  36767. #. type: Plain text
  36768. #: guix-git/doc/guix.texi:24834
  36769. 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."
  36770. msgstr ""
  36771. #. type: Plain text
  36772. #: guix-git/doc/guix.texi:24841
  36773. 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.)"
  36774. msgstr ""
  36775. #. type: Plain text
  36776. #: guix-git/doc/guix.texi:24846
  36777. 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:"
  36778. msgstr ""
  36779. #. type: example
  36780. #: guix-git/doc/guix.texi:24849
  36781. #, no-wrap
  36782. msgid "# herd reload transmission-daemon\n"
  36783. msgstr ""
  36784. #. type: Plain text
  36785. #: guix-git/doc/guix.texi:24853
  36786. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  36787. msgstr ""
  36788. #. type: deftp
  36789. #: guix-git/doc/guix.texi:24854
  36790. #, no-wrap
  36791. msgid "{Data Type} transmission-daemon-configuration"
  36792. msgstr ""
  36793. #. type: deftp
  36794. #: guix-git/doc/guix.texi:24858
  36795. 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."
  36796. msgstr ""
  36797. #. type: Plain text
  36798. #: guix-git/doc/guix.texi:24872
  36799. msgid "Available @code{transmission-daemon-configuration} fields are:"
  36800. msgstr ""
  36801. #. type: deftypevr
  36802. #: guix-git/doc/guix.texi:24873
  36803. #, no-wrap
  36804. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  36805. msgstr ""
  36806. #. type: deftypevr
  36807. #: guix-git/doc/guix.texi:24875
  36808. msgid "The Transmission package to use."
  36809. msgstr ""
  36810. #. type: deftypevr
  36811. #: guix-git/doc/guix.texi:24878
  36812. #, no-wrap
  36813. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  36814. msgstr ""
  36815. #. type: deftypevr
  36816. #: guix-git/doc/guix.texi:24884
  36817. 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."
  36818. msgstr ""
  36819. #. type: deftypevr
  36820. #: guix-git/doc/guix.texi:24886 guix-git/doc/guix.texi:25258
  36821. #: guix-git/doc/guix.texi:32566 guix-git/doc/guix.texi:32801
  36822. #: guix-git/doc/guix.texi:32809 guix-git/doc/guix.texi:32817
  36823. msgid "Defaults to @samp{10}."
  36824. msgstr ""
  36825. #. type: deftypevr
  36826. #: guix-git/doc/guix.texi:24889
  36827. #, no-wrap
  36828. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  36829. msgstr ""
  36830. #. type: deftypevr
  36831. #: guix-git/doc/guix.texi:24891
  36832. msgid "The directory to which torrent files are downloaded."
  36833. msgstr ""
  36834. #. type: deftypevr
  36835. #: guix-git/doc/guix.texi:24893
  36836. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  36837. msgstr ""
  36838. #. type: deftypevr
  36839. #: guix-git/doc/guix.texi:24896
  36840. #, no-wrap
  36841. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  36842. msgstr ""
  36843. #. type: deftypevr
  36844. #: guix-git/doc/guix.texi:24901
  36845. 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}."
  36846. msgstr ""
  36847. #. type: deftypevr
  36848. #: guix-git/doc/guix.texi:24906
  36849. #, no-wrap
  36850. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  36851. msgstr ""
  36852. #. type: deftypevr
  36853. #: guix-git/doc/guix.texi:24909
  36854. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  36855. msgstr ""
  36856. #. type: deftypevr
  36857. #: guix-git/doc/guix.texi:24914
  36858. #, no-wrap
  36859. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  36860. msgstr ""
  36861. #. type: deftypevr
  36862. #: guix-git/doc/guix.texi:24917
  36863. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  36864. msgstr ""
  36865. #. type: deftypevr
  36866. #: guix-git/doc/guix.texi:24919
  36867. msgid "Defaults to @samp{18}."
  36868. msgstr ""
  36869. #. type: deftypevr
  36870. #: guix-git/doc/guix.texi:24922
  36871. #, no-wrap
  36872. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  36873. msgstr ""
  36874. #. type: deftypevr
  36875. #: guix-git/doc/guix.texi:24925
  36876. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  36877. msgstr ""
  36878. #. type: deftypevr
  36879. #: guix-git/doc/guix.texi:24930
  36880. #, no-wrap
  36881. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  36882. msgstr ""
  36883. #. type: deftypevr
  36884. #: guix-git/doc/guix.texi:24935
  36885. 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."
  36886. msgstr ""
  36887. #. type: deftypevr
  36888. #: guix-git/doc/guix.texi:24937
  36889. msgid "Defaults to @samp{fast}."
  36890. msgstr ""
  36891. #. type: deftypevr
  36892. #: guix-git/doc/guix.texi:24940
  36893. #, no-wrap
  36894. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  36895. msgstr ""
  36896. #. type: deftypevr
  36897. #: guix-git/doc/guix.texi:24945
  36898. 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})."
  36899. msgstr ""
  36900. #. type: deftypevr
  36901. #: guix-git/doc/guix.texi:24950
  36902. #, no-wrap
  36903. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  36904. msgstr ""
  36905. #. type: deftypevr
  36906. #: guix-git/doc/guix.texi:24953
  36907. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  36908. msgstr ""
  36909. #. type: deftypevr
  36910. #: guix-git/doc/guix.texi:24958
  36911. #, no-wrap
  36912. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  36913. msgstr ""
  36914. #. type: deftypevr
  36915. #: guix-git/doc/guix.texi:24962
  36916. 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?})."
  36917. msgstr ""
  36918. #. type: deftypevr
  36919. #: guix-git/doc/guix.texi:24967
  36920. #, no-wrap
  36921. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  36922. msgstr ""
  36923. #. type: deftypevr
  36924. #: guix-git/doc/guix.texi:24970
  36925. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  36926. msgstr ""
  36927. #. type: deftypevr
  36928. #: guix-git/doc/guix.texi:24975
  36929. #, no-wrap
  36930. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  36931. msgstr ""
  36932. #. type: deftypevr
  36933. #: guix-git/doc/guix.texi:24977
  36934. msgid "The default global-maximum download speed, in kilobytes per second."
  36935. msgstr ""
  36936. #. type: deftypevr
  36937. #: guix-git/doc/guix.texi:24982
  36938. #, no-wrap
  36939. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  36940. msgstr ""
  36941. #. type: deftypevr
  36942. #: guix-git/doc/guix.texi:24985
  36943. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  36944. msgstr ""
  36945. #. type: deftypevr
  36946. #: guix-git/doc/guix.texi:24990
  36947. #, no-wrap
  36948. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  36949. msgstr ""
  36950. #. type: deftypevr
  36951. #: guix-git/doc/guix.texi:24992
  36952. msgid "The default global-maximum upload speed, in kilobytes per second."
  36953. msgstr ""
  36954. #. type: deftypevr
  36955. #: guix-git/doc/guix.texi:24997
  36956. #, no-wrap
  36957. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  36958. msgstr ""
  36959. #. type: deftypevr
  36960. #: guix-git/doc/guix.texi:25003
  36961. 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?}."
  36962. msgstr ""
  36963. #. type: deftypevr
  36964. #: guix-git/doc/guix.texi:25008
  36965. #, no-wrap
  36966. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  36967. msgstr ""
  36968. #. type: deftypevr
  36969. #: guix-git/doc/guix.texi:25010
  36970. msgid "The alternate global-maximum download speed, in kilobytes per second."
  36971. msgstr ""
  36972. #. type: deftypevr
  36973. #: guix-git/doc/guix.texi:25012 guix-git/doc/guix.texi:25019
  36974. #: guix-git/doc/guix.texi:25191 guix-git/doc/guix.texi:32573
  36975. #: guix-git/doc/guix.texi:32588
  36976. msgid "Defaults to @samp{50}."
  36977. msgstr ""
  36978. #. type: deftypevr
  36979. #: guix-git/doc/guix.texi:25015
  36980. #, no-wrap
  36981. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  36982. msgstr ""
  36983. #. type: deftypevr
  36984. #: guix-git/doc/guix.texi:25017
  36985. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  36986. msgstr ""
  36987. #. type: deftypevr
  36988. #: guix-git/doc/guix.texi:25022
  36989. #, no-wrap
  36990. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  36991. msgstr ""
  36992. #. type: deftypevr
  36993. #: guix-git/doc/guix.texi:25027
  36994. 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}."
  36995. msgstr ""
  36996. #. type: deftypevr
  36997. #: guix-git/doc/guix.texi:25032
  36998. #, no-wrap
  36999. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  37000. msgstr ""
  37001. #. type: deftypevr
  37002. #: guix-git/doc/guix.texi:25037
  37003. 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}."
  37004. msgstr ""
  37005. #. type: deftypevr
  37006. #: guix-git/doc/guix.texi:25039
  37007. msgid "Defaults to @samp{all}."
  37008. msgstr ""
  37009. #. type: deftypevr
  37010. #: guix-git/doc/guix.texi:25042
  37011. #, no-wrap
  37012. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  37013. msgstr ""
  37014. #. type: deftypevr
  37015. #: guix-git/doc/guix.texi:25045
  37016. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  37017. msgstr ""
  37018. #. type: deftypevr
  37019. #: guix-git/doc/guix.texi:25047
  37020. msgid "Defaults to @samp{540}."
  37021. msgstr ""
  37022. #. type: deftypevr
  37023. #: guix-git/doc/guix.texi:25050
  37024. #, no-wrap
  37025. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  37026. msgstr ""
  37027. #. type: deftypevr
  37028. #: guix-git/doc/guix.texi:25053
  37029. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  37030. msgstr ""
  37031. #. type: deftypevr
  37032. #: guix-git/doc/guix.texi:25055
  37033. msgid "Defaults to @samp{1020}."
  37034. msgstr ""
  37035. #. type: deftypevr
  37036. #: guix-git/doc/guix.texi:25058
  37037. #, no-wrap
  37038. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  37039. msgstr ""
  37040. #. type: deftypevr
  37041. #: guix-git/doc/guix.texi:25061
  37042. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37043. msgstr ""
  37044. #. type: deftypevr
  37045. #: guix-git/doc/guix.texi:25063 guix-git/doc/guix.texi:25366
  37046. #: guix-git/doc/guix.texi:30430
  37047. msgid "Defaults to @samp{\"0.0.0.0\"}."
  37048. msgstr ""
  37049. #. type: deftypevr
  37050. #: guix-git/doc/guix.texi:25066
  37051. #, no-wrap
  37052. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  37053. msgstr ""
  37054. #. type: deftypevr
  37055. #: guix-git/doc/guix.texi:25069
  37056. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  37057. msgstr ""
  37058. #. type: deftypevr
  37059. #: guix-git/doc/guix.texi:25071
  37060. msgid "Defaults to @samp{\"::\"}."
  37061. msgstr ""
  37062. #. type: deftypevr
  37063. #: guix-git/doc/guix.texi:25074
  37064. #, no-wrap
  37065. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  37066. msgstr ""
  37067. #. type: deftypevr
  37068. #: guix-git/doc/guix.texi:25080
  37069. 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}."
  37070. msgstr ""
  37071. #. type: deftypevr
  37072. #: guix-git/doc/guix.texi:25085
  37073. #, no-wrap
  37074. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  37075. msgstr ""
  37076. #. type: deftypevr
  37077. #: guix-git/doc/guix.texi:25088
  37078. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  37079. msgstr ""
  37080. #. type: deftypevr
  37081. #: guix-git/doc/guix.texi:25090
  37082. msgid "Defaults to @samp{49152}."
  37083. msgstr ""
  37084. #. type: deftypevr
  37085. #: guix-git/doc/guix.texi:25093
  37086. #, no-wrap
  37087. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  37088. msgstr ""
  37089. #. type: deftypevr
  37090. #: guix-git/doc/guix.texi:25096
  37091. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  37092. msgstr ""
  37093. #. type: deftypevr
  37094. #: guix-git/doc/guix.texi:25098
  37095. msgid "Defaults to @samp{65535}."
  37096. msgstr ""
  37097. #. type: deftypevr
  37098. #: guix-git/doc/guix.texi:25101
  37099. #, no-wrap
  37100. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  37101. msgstr ""
  37102. #. type: deftypevr
  37103. #: guix-git/doc/guix.texi:25104
  37104. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  37105. msgstr ""
  37106. #. type: deftypevr
  37107. #: guix-git/doc/guix.texi:25106
  37108. msgid "Defaults to @samp{51413}."
  37109. msgstr ""
  37110. #. type: deftypevr
  37111. #: guix-git/doc/guix.texi:25109
  37112. #, no-wrap
  37113. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  37114. msgstr ""
  37115. #. type: deftypevr
  37116. #: guix-git/doc/guix.texi:25113
  37117. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  37118. msgstr ""
  37119. #. type: deftypevr
  37120. #: guix-git/doc/guix.texi:25118
  37121. #, no-wrap
  37122. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  37123. msgstr ""
  37124. #. type: deftypevr
  37125. #: guix-git/doc/guix.texi:25123
  37126. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  37127. msgstr ""
  37128. #. type: deftypevr
  37129. #: guix-git/doc/guix.texi:25125
  37130. msgid "Defaults to @samp{prefer-encrypted-connections}."
  37131. msgstr ""
  37132. #. type: deftypevr
  37133. #: guix-git/doc/guix.texi:25128
  37134. #, no-wrap
  37135. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  37136. msgstr ""
  37137. #. type: deftypevr
  37138. #: guix-git/doc/guix.texi:25133
  37139. 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)."
  37140. msgstr ""
  37141. #. type: deftypevr
  37142. #: guix-git/doc/guix.texi:25142
  37143. 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."
  37144. msgstr ""
  37145. #. type: deftypevr
  37146. #: guix-git/doc/guix.texi:25150
  37147. 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:"
  37148. msgstr ""
  37149. #. type: lisp
  37150. #: guix-git/doc/guix.texi:25157
  37151. #, no-wrap
  37152. msgid ""
  37153. "(service sysctl-service-type\n"
  37154. " (sysctl-configuration\n"
  37155. " (settings\n"
  37156. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  37157. " \"reno cubic lp\"))))\n"
  37158. msgstr ""
  37159. #. type: deftypevr
  37160. #: guix-git/doc/guix.texi:25160
  37161. msgid "The Transmission Daemon configuration can then be updated with"
  37162. msgstr ""
  37163. #. type: lisp
  37164. #: guix-git/doc/guix.texi:25163
  37165. #, no-wrap
  37166. msgid "(peer-congestion-algorithm \"lp\")\n"
  37167. msgstr ""
  37168. #. type: deftypevr
  37169. #: guix-git/doc/guix.texi:25166
  37170. msgid "and the system reconfigured to have the changes take effect."
  37171. msgstr ""
  37172. #. type: deftypevr
  37173. #: guix-git/doc/guix.texi:25171
  37174. #, no-wrap
  37175. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  37176. msgstr ""
  37177. #. type: deftypevr
  37178. #: guix-git/doc/guix.texi:25175
  37179. 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}."
  37180. msgstr ""
  37181. #. type: deftypevr
  37182. #: guix-git/doc/guix.texi:25177
  37183. msgid "Defaults to @samp{default}."
  37184. msgstr ""
  37185. #. type: deftypevr
  37186. #: guix-git/doc/guix.texi:25180
  37187. #, no-wrap
  37188. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  37189. msgstr ""
  37190. #. type: deftypevr
  37191. #: guix-git/doc/guix.texi:25182
  37192. msgid "The global limit on the number of connected peers."
  37193. msgstr ""
  37194. #. type: deftypevr
  37195. #: guix-git/doc/guix.texi:25184
  37196. msgid "Defaults to @samp{200}."
  37197. msgstr ""
  37198. #. type: deftypevr
  37199. #: guix-git/doc/guix.texi:25187
  37200. #, no-wrap
  37201. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  37202. msgstr ""
  37203. #. type: deftypevr
  37204. #: guix-git/doc/guix.texi:25189
  37205. msgid "The per-torrent limit on the number of connected peers."
  37206. msgstr ""
  37207. #. type: deftypevr
  37208. #: guix-git/doc/guix.texi:25194
  37209. #, no-wrap
  37210. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  37211. msgstr ""
  37212. #. type: deftypevr
  37213. #: guix-git/doc/guix.texi:25197
  37214. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  37215. msgstr ""
  37216. #. type: deftypevr
  37217. #: guix-git/doc/guix.texi:25199
  37218. msgid "Defaults to @samp{14}."
  37219. msgstr ""
  37220. #. type: deftypevr
  37221. #: guix-git/doc/guix.texi:25202
  37222. #, no-wrap
  37223. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  37224. msgstr ""
  37225. #. type: deftypevr
  37226. #: guix-git/doc/guix.texi:25205
  37227. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  37228. msgstr ""
  37229. #. type: deftypevr
  37230. #: guix-git/doc/guix.texi:25207
  37231. msgid "Defaults to @samp{6}."
  37232. msgstr ""
  37233. #. type: deftypevr
  37234. #: guix-git/doc/guix.texi:25210
  37235. #, no-wrap
  37236. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  37237. msgstr ""
  37238. #. type: deftypevr
  37239. #: guix-git/doc/guix.texi:25213
  37240. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  37241. msgstr ""
  37242. #. type: deftypevr
  37243. #: guix-git/doc/guix.texi:25218
  37244. #, no-wrap
  37245. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  37246. msgstr ""
  37247. #. type: deftypevr
  37248. #: guix-git/doc/guix.texi:25222
  37249. 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}."
  37250. msgstr ""
  37251. #. type: deftypevr
  37252. #: guix-git/doc/guix.texi:25227
  37253. #, no-wrap
  37254. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  37255. msgstr ""
  37256. #. type: deftypevr
  37257. #: guix-git/doc/guix.texi:25230
  37258. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  37259. msgstr ""
  37260. #. type: deftypevr
  37261. #: guix-git/doc/guix.texi:25235
  37262. #, no-wrap
  37263. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  37264. msgstr ""
  37265. #. type: deftypevr
  37266. #: guix-git/doc/guix.texi:25239
  37267. 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}."
  37268. msgstr ""
  37269. #. type: deftypevr
  37270. #: guix-git/doc/guix.texi:25244
  37271. #, no-wrap
  37272. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  37273. msgstr ""
  37274. #. type: deftypevr
  37275. #: guix-git/doc/guix.texi:25247
  37276. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  37277. msgstr ""
  37278. #. type: deftypevr
  37279. #: guix-git/doc/guix.texi:25252
  37280. #, no-wrap
  37281. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  37282. msgstr ""
  37283. #. type: deftypevr
  37284. #: guix-git/doc/guix.texi:25256
  37285. 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}."
  37286. msgstr ""
  37287. #. type: deftypevr
  37288. #: guix-git/doc/guix.texi:25261
  37289. #, no-wrap
  37290. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  37291. msgstr ""
  37292. #. type: deftypevr
  37293. #: guix-git/doc/guix.texi:25266
  37294. 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."
  37295. msgstr ""
  37296. #. type: deftypevr
  37297. #: guix-git/doc/guix.texi:25271
  37298. #, no-wrap
  37299. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  37300. msgstr ""
  37301. #. type: deftypevr
  37302. #: guix-git/doc/guix.texi:25275
  37303. 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}."
  37304. msgstr ""
  37305. #. type: deftypevr
  37306. #: guix-git/doc/guix.texi:25280
  37307. #, no-wrap
  37308. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  37309. msgstr ""
  37310. #. type: deftypevr
  37311. #: guix-git/doc/guix.texi:25283
  37312. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  37313. msgstr ""
  37314. #. type: deftypevr
  37315. #: guix-git/doc/guix.texi:25288
  37316. #, no-wrap
  37317. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  37318. msgstr ""
  37319. #. type: deftypevr
  37320. #: guix-git/doc/guix.texi:25291
  37321. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  37322. msgstr ""
  37323. #. type: deftypevr
  37324. #: guix-git/doc/guix.texi:25293
  37325. msgid "Defaults to @samp{2.0}."
  37326. msgstr ""
  37327. #. type: deftypevr
  37328. #: guix-git/doc/guix.texi:25296
  37329. #, no-wrap
  37330. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  37331. msgstr ""
  37332. #. type: deftypevr
  37333. #: guix-git/doc/guix.texi:25299
  37334. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  37335. msgstr ""
  37336. #. type: deftypevr
  37337. #: guix-git/doc/guix.texi:25304
  37338. #, no-wrap
  37339. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  37340. msgstr ""
  37341. #. type: deftypevr
  37342. #: guix-git/doc/guix.texi:25308
  37343. 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}."
  37344. msgstr ""
  37345. #. type: deftypevr
  37346. #: guix-git/doc/guix.texi:25313
  37347. #, no-wrap
  37348. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  37349. msgstr ""
  37350. #. type: deftypevr
  37351. #: guix-git/doc/guix.texi:25317
  37352. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  37353. msgstr ""
  37354. #. type: deftypevr
  37355. #: guix-git/doc/guix.texi:25322
  37356. #, no-wrap
  37357. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  37358. msgstr ""
  37359. #. type: deftypevr
  37360. #: guix-git/doc/guix.texi:25327
  37361. 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."
  37362. msgstr ""
  37363. #. type: deftypevr
  37364. #: guix-git/doc/guix.texi:25332
  37365. #, no-wrap
  37366. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  37367. msgstr ""
  37368. #. type: deftypevr
  37369. #: guix-git/doc/guix.texi:25336
  37370. 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."
  37371. msgstr ""
  37372. #. type: deftypevr
  37373. #: guix-git/doc/guix.texi:25341
  37374. #, no-wrap
  37375. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  37376. msgstr ""
  37377. #. type: deftypevr
  37378. #: guix-git/doc/guix.texi:25346
  37379. 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."
  37380. msgstr ""
  37381. #. type: deftypevr
  37382. #: guix-git/doc/guix.texi:25351
  37383. #, no-wrap
  37384. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  37385. msgstr ""
  37386. #. type: deftypevr
  37387. #: guix-git/doc/guix.texi:25356
  37388. 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."
  37389. msgstr ""
  37390. #. type: deftypevr
  37391. #: guix-git/doc/guix.texi:25361
  37392. #, no-wrap
  37393. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  37394. msgstr ""
  37395. #. type: deftypevr
  37396. #: guix-git/doc/guix.texi:25364
  37397. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37398. msgstr ""
  37399. #. type: deftypevr
  37400. #: guix-git/doc/guix.texi:25369
  37401. #, no-wrap
  37402. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  37403. msgstr ""
  37404. #. type: deftypevr
  37405. #: guix-git/doc/guix.texi:25371
  37406. msgid "The port on which to listen for @acronym{RPC} connections."
  37407. msgstr ""
  37408. #. type: deftypevr
  37409. #: guix-git/doc/guix.texi:25373
  37410. msgid "Defaults to @samp{9091}."
  37411. msgstr ""
  37412. #. type: deftypevr
  37413. #: guix-git/doc/guix.texi:25376
  37414. #, no-wrap
  37415. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  37416. msgstr ""
  37417. #. type: deftypevr
  37418. #: guix-git/doc/guix.texi:25378
  37419. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  37420. msgstr ""
  37421. #. type: deftypevr
  37422. #: guix-git/doc/guix.texi:25380
  37423. msgid "Defaults to @samp{\"/transmission/\"}."
  37424. msgstr ""
  37425. #. type: deftypevr
  37426. #: guix-git/doc/guix.texi:25383
  37427. #, no-wrap
  37428. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  37429. msgstr ""
  37430. #. type: deftypevr
  37431. #: guix-git/doc/guix.texi:25388
  37432. 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?}."
  37433. msgstr ""
  37434. #. type: deftypevr
  37435. #: guix-git/doc/guix.texi:25393
  37436. #, no-wrap
  37437. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  37438. msgstr ""
  37439. #. type: deftypevr
  37440. #: guix-git/doc/guix.texi:25396
  37441. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  37442. msgstr ""
  37443. #. type: deftypevr
  37444. #: guix-git/doc/guix.texi:25401
  37445. #, no-wrap
  37446. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  37447. msgstr ""
  37448. #. type: deftypevr
  37449. #: guix-git/doc/guix.texi:25407
  37450. 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."
  37451. msgstr ""
  37452. #. type: deftypevr
  37453. #: guix-git/doc/guix.texi:25412
  37454. #, no-wrap
  37455. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  37456. msgstr ""
  37457. #. type: deftypevr
  37458. #: guix-git/doc/guix.texi:25415
  37459. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  37460. msgstr ""
  37461. #. type: deftypevr
  37462. #: guix-git/doc/guix.texi:25420
  37463. #, no-wrap
  37464. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  37465. msgstr ""
  37466. #. type: deftypevr
  37467. #: guix-git/doc/guix.texi:25424
  37468. 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{*}."
  37469. msgstr ""
  37470. #. type: deftypevr
  37471. #: guix-git/doc/guix.texi:25426
  37472. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  37473. msgstr ""
  37474. #. type: deftypevr
  37475. #: guix-git/doc/guix.texi:25429
  37476. #, no-wrap
  37477. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  37478. msgstr ""
  37479. #. type: deftypevr
  37480. #: guix-git/doc/guix.texi:25434
  37481. 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."
  37482. msgstr ""
  37483. #. type: deftypevr
  37484. #: guix-git/doc/guix.texi:25437
  37485. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  37486. msgstr ""
  37487. #. type: deftypevr
  37488. #: guix-git/doc/guix.texi:25442
  37489. #, no-wrap
  37490. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  37491. msgstr ""
  37492. #. type: deftypevr
  37493. #: guix-git/doc/guix.texi:25445
  37494. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  37495. msgstr ""
  37496. #. type: deftypevr
  37497. #: guix-git/doc/guix.texi:25450
  37498. #, no-wrap
  37499. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  37500. msgstr ""
  37501. #. type: deftypevr
  37502. #: guix-git/doc/guix.texi:25454
  37503. 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}."
  37504. msgstr ""
  37505. #. type: deftypevr
  37506. #: guix-git/doc/guix.texi:25459
  37507. #, no-wrap
  37508. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  37509. msgstr ""
  37510. #. type: deftypevr
  37511. #: guix-git/doc/guix.texi:25462
  37512. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  37513. msgstr ""
  37514. #. type: deftypevr
  37515. #: guix-git/doc/guix.texi:25467
  37516. #, no-wrap
  37517. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  37518. msgstr ""
  37519. #. type: deftypevr
  37520. #: guix-git/doc/guix.texi:25471
  37521. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  37522. msgstr ""
  37523. #. type: deftypevr
  37524. #: guix-git/doc/guix.texi:25476
  37525. #, no-wrap
  37526. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  37527. msgstr ""
  37528. #. type: deftypevr
  37529. #: guix-git/doc/guix.texi:25480
  37530. 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}."
  37531. msgstr ""
  37532. #. type: deftypevr
  37533. #: guix-git/doc/guix.texi:25485
  37534. #, no-wrap
  37535. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  37536. msgstr ""
  37537. #. type: deftypevr
  37538. #: guix-git/doc/guix.texi:25488
  37539. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  37540. msgstr ""
  37541. #. type: deftypevr
  37542. #: guix-git/doc/guix.texi:25493
  37543. #, no-wrap
  37544. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  37545. msgstr ""
  37546. #. type: deftypevr
  37547. #: guix-git/doc/guix.texi:25497
  37548. 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."
  37549. msgstr ""
  37550. #. type: deftypevr
  37551. #: guix-git/doc/guix.texi:25499
  37552. msgid "Defaults to @samp{4}."
  37553. msgstr ""
  37554. #. type: deftypevr
  37555. #: guix-git/doc/guix.texi:25502
  37556. #, no-wrap
  37557. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  37558. msgstr ""
  37559. #. type: deftypevr
  37560. #: guix-git/doc/guix.texi:25506
  37561. 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."
  37562. msgstr ""
  37563. #. type: subsubheading
  37564. #: guix-git/doc/guix.texi:25519
  37565. #, no-wrap
  37566. msgid "Tailon Service"
  37567. msgstr ""
  37568. #. type: Plain text
  37569. #: guix-git/doc/guix.texi:25523
  37570. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  37571. msgstr ""
  37572. #. type: Plain text
  37573. #: guix-git/doc/guix.texi:25526
  37574. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  37575. msgstr ""
  37576. #. type: lisp
  37577. #: guix-git/doc/guix.texi:25529
  37578. #, no-wrap
  37579. msgid "(service tailon-service-type)\n"
  37580. msgstr ""
  37581. #. type: Plain text
  37582. #: guix-git/doc/guix.texi:25533
  37583. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  37584. msgstr ""
  37585. #. type: lisp
  37586. #: guix-git/doc/guix.texi:25540
  37587. #, no-wrap
  37588. msgid ""
  37589. "(service tailon-service-type\n"
  37590. " (tailon-configuration\n"
  37591. " (config-file\n"
  37592. " (tailon-configuration-file\n"
  37593. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  37594. msgstr ""
  37595. #. type: deftp
  37596. #: guix-git/doc/guix.texi:25543
  37597. #, no-wrap
  37598. msgid "{Data Type} tailon-configuration"
  37599. msgstr ""
  37600. #. type: deftp
  37601. #: guix-git/doc/guix.texi:25546
  37602. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  37603. msgstr ""
  37604. #. type: item
  37605. #: guix-git/doc/guix.texi:25548
  37606. #, no-wrap
  37607. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  37608. msgstr ""
  37609. #. type: table
  37610. #: guix-git/doc/guix.texi:25552
  37611. 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})."
  37612. msgstr ""
  37613. #. type: table
  37614. #: guix-git/doc/guix.texi:25555
  37615. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  37616. msgstr ""
  37617. #. type: lisp
  37618. #: guix-git/doc/guix.texi:25560
  37619. #, no-wrap
  37620. msgid ""
  37621. "(service tailon-service-type\n"
  37622. " (tailon-configuration\n"
  37623. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  37624. msgstr ""
  37625. #. type: item
  37626. #: guix-git/doc/guix.texi:25562
  37627. #, no-wrap
  37628. msgid "@code{package} (default: @code{tailon})"
  37629. msgstr ""
  37630. #. type: table
  37631. #: guix-git/doc/guix.texi:25564
  37632. msgid "The tailon package to use."
  37633. msgstr ""
  37634. #. type: deftp
  37635. #: guix-git/doc/guix.texi:25568
  37636. #, no-wrap
  37637. msgid "{Data Type} tailon-configuration-file"
  37638. msgstr ""
  37639. #. type: deftp
  37640. #: guix-git/doc/guix.texi:25571
  37641. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  37642. msgstr ""
  37643. #. type: item
  37644. #: guix-git/doc/guix.texi:25573
  37645. #, no-wrap
  37646. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  37647. msgstr ""
  37648. #. type: table
  37649. #: guix-git/doc/guix.texi:25578
  37650. 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."
  37651. msgstr ""
  37652. #. type: item
  37653. #: guix-git/doc/guix.texi:25579
  37654. #, no-wrap
  37655. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  37656. msgstr ""
  37657. #. type: table
  37658. #: guix-git/doc/guix.texi:25581
  37659. msgid "Address and port to which Tailon should bind on."
  37660. msgstr ""
  37661. #. type: item
  37662. #: guix-git/doc/guix.texi:25582
  37663. #, no-wrap
  37664. msgid "@code{relative-root} (default: @code{#f})"
  37665. msgstr ""
  37666. #. type: table
  37667. #: guix-git/doc/guix.texi:25584
  37668. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  37669. msgstr ""
  37670. #. type: item
  37671. #: guix-git/doc/guix.texi:25585
  37672. #, no-wrap
  37673. msgid "@code{allow-transfers?} (default: @code{#t})"
  37674. msgstr ""
  37675. #. type: table
  37676. #: guix-git/doc/guix.texi:25587
  37677. msgid "Allow downloading the log files in the web interface."
  37678. msgstr ""
  37679. #. type: item
  37680. #: guix-git/doc/guix.texi:25588
  37681. #, no-wrap
  37682. msgid "@code{follow-names?} (default: @code{#t})"
  37683. msgstr ""
  37684. #. type: table
  37685. #: guix-git/doc/guix.texi:25590
  37686. msgid "Allow tailing of not-yet existent files."
  37687. msgstr ""
  37688. #. type: item
  37689. #: guix-git/doc/guix.texi:25591
  37690. #, no-wrap
  37691. msgid "@code{tail-lines} (default: @code{200})"
  37692. msgstr ""
  37693. #. type: table
  37694. #: guix-git/doc/guix.texi:25593
  37695. msgid "Number of lines to read initially from each file."
  37696. msgstr ""
  37697. #. type: item
  37698. #: guix-git/doc/guix.texi:25594
  37699. #, no-wrap
  37700. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  37701. msgstr ""
  37702. #. type: table
  37703. #: guix-git/doc/guix.texi:25596
  37704. msgid "Commands to allow running. By default, @code{sed} is disabled."
  37705. msgstr ""
  37706. #. type: table
  37707. #: guix-git/doc/guix.texi:25599
  37708. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  37709. msgstr ""
  37710. #. type: item
  37711. #: guix-git/doc/guix.texi:25600
  37712. #, no-wrap
  37713. msgid "@code{wrap-lines} (default: @code{#t})"
  37714. msgstr ""
  37715. #. type: table
  37716. #: guix-git/doc/guix.texi:25604
  37717. 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."
  37718. msgstr ""
  37719. #. type: item
  37720. #: guix-git/doc/guix.texi:25605
  37721. #, no-wrap
  37722. msgid "@code{http-auth} (default: @code{#f})"
  37723. msgstr ""
  37724. #. type: table
  37725. #: guix-git/doc/guix.texi:25609
  37726. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  37727. msgstr ""
  37728. #. type: item
  37729. #: guix-git/doc/guix.texi:25610
  37730. #, no-wrap
  37731. msgid "@code{users} (default: @code{#f})"
  37732. msgstr ""
  37733. #. type: table
  37734. #: guix-git/doc/guix.texi:25615
  37735. 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."
  37736. msgstr ""
  37737. #. type: lisp
  37738. #: guix-git/doc/guix.texi:25621
  37739. #, no-wrap
  37740. msgid ""
  37741. "(tailon-configuration-file\n"
  37742. " (http-auth \"basic\")\n"
  37743. " (users '((\"user1\" . \"password1\")\n"
  37744. " (\"user2\" . \"password2\"))))\n"
  37745. msgstr ""
  37746. #. type: subsubheading
  37747. #: guix-git/doc/guix.texi:25627
  37748. #, no-wrap
  37749. msgid "Darkstat Service"
  37750. msgstr ""
  37751. #. type: cindex
  37752. #: guix-git/doc/guix.texi:25628
  37753. #, no-wrap
  37754. msgid "darkstat"
  37755. msgstr ""
  37756. #. type: Plain text
  37757. #: guix-git/doc/guix.texi:25631
  37758. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  37759. msgstr ""
  37760. #. type: defvar
  37761. #: guix-git/doc/guix.texi:25632
  37762. #, no-wrap
  37763. msgid "{Scheme Variable} darkstat-service-type"
  37764. msgstr ""
  37765. #. type: defvar
  37766. #: guix-git/doc/guix.texi:25637
  37767. 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:"
  37768. msgstr ""
  37769. #. type: lisp
  37770. #: guix-git/doc/guix.texi:25642
  37771. #, no-wrap
  37772. msgid ""
  37773. "(service darkstat-service-type\n"
  37774. " (darkstat-configuration\n"
  37775. " (interface \"eno1\")))\n"
  37776. msgstr ""
  37777. #. type: deftp
  37778. #: guix-git/doc/guix.texi:25645
  37779. #, no-wrap
  37780. msgid "{Data Type} darkstat-configuration"
  37781. msgstr ""
  37782. #. type: deftp
  37783. #: guix-git/doc/guix.texi:25647
  37784. msgid "Data type representing the configuration of @command{darkstat}."
  37785. msgstr ""
  37786. #. type: item
  37787. #: guix-git/doc/guix.texi:25649
  37788. #, no-wrap
  37789. msgid "@code{package} (default: @code{darkstat})"
  37790. msgstr ""
  37791. #. type: table
  37792. #: guix-git/doc/guix.texi:25651
  37793. msgid "The darkstat package to use."
  37794. msgstr ""
  37795. #. type: code{#1}
  37796. #: guix-git/doc/guix.texi:25652
  37797. #, no-wrap
  37798. msgid "interface"
  37799. msgstr ""
  37800. #. type: table
  37801. #: guix-git/doc/guix.texi:25654
  37802. msgid "Capture traffic on the specified network interface."
  37803. msgstr ""
  37804. #. type: item
  37805. #: guix-git/doc/guix.texi:25655
  37806. #, no-wrap
  37807. msgid "@code{port} (default: @code{\"667\"})"
  37808. msgstr ""
  37809. #. type: table
  37810. #: guix-git/doc/guix.texi:25657
  37811. msgid "Bind the web interface to the specified port."
  37812. msgstr ""
  37813. #. type: table
  37814. #: guix-git/doc/guix.texi:25660 guix-git/doc/guix.texi:25696
  37815. msgid "Bind the web interface to the specified address."
  37816. msgstr ""
  37817. #. type: item
  37818. #: guix-git/doc/guix.texi:25661
  37819. #, no-wrap
  37820. msgid "@code{base} (default: @code{\"/\"})"
  37821. msgstr ""
  37822. #. type: table
  37823. #: guix-git/doc/guix.texi:25664
  37824. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  37825. msgstr ""
  37826. #. type: cindex
  37827. #: guix-git/doc/guix.texi:25669 guix-git/doc/guix.texi:25670
  37828. #, no-wrap
  37829. msgid "prometheus-node-exporter"
  37830. msgstr ""
  37831. #. type: subsubheading
  37832. #: guix-git/doc/guix.texi:25669
  37833. #, no-wrap
  37834. msgid "Prometheus Node Exporter Service"
  37835. msgstr ""
  37836. #. type: Plain text
  37837. #: guix-git/doc/guix.texi:25676
  37838. 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."
  37839. msgstr ""
  37840. #. type: defvar
  37841. #: guix-git/doc/guix.texi:25677
  37842. #, no-wrap
  37843. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  37844. msgstr ""
  37845. #. type: defvar
  37846. #: guix-git/doc/guix.texi:25681
  37847. 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}."
  37848. msgstr ""
  37849. #. type: lisp
  37850. #: guix-git/doc/guix.texi:25684
  37851. #, no-wrap
  37852. msgid "(service prometheus-node-exporter-service-type)\n"
  37853. msgstr ""
  37854. #. type: deftp
  37855. #: guix-git/doc/guix.texi:25687
  37856. #, no-wrap
  37857. msgid "{Data Type} prometheus-node-exporter-configuration"
  37858. msgstr ""
  37859. #. type: deftp
  37860. #: guix-git/doc/guix.texi:25689
  37861. msgid "Data type representing the configuration of @command{node_exporter}."
  37862. msgstr ""
  37863. #. type: item
  37864. #: guix-git/doc/guix.texi:25691
  37865. #, no-wrap
  37866. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  37867. msgstr ""
  37868. #. type: table
  37869. #: guix-git/doc/guix.texi:25693
  37870. msgid "The prometheus-node-exporter package to use."
  37871. msgstr ""
  37872. #. type: item
  37873. #: guix-git/doc/guix.texi:25694
  37874. #, no-wrap
  37875. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  37876. msgstr ""
  37877. #. type: item
  37878. #: guix-git/doc/guix.texi:25697
  37879. #, no-wrap
  37880. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  37881. msgstr ""
  37882. #. type: table
  37883. #: guix-git/doc/guix.texi:25701
  37884. 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."
  37885. msgstr ""
  37886. #. type: table
  37887. #: guix-git/doc/guix.texi:25704
  37888. msgid "Extra options to pass to the Prometheus node exporter."
  37889. msgstr ""
  37890. #. type: subsubheading
  37891. #: guix-git/doc/guix.texi:25708
  37892. #, no-wrap
  37893. msgid "Zabbix server"
  37894. msgstr ""
  37895. #. type: cindex
  37896. #: guix-git/doc/guix.texi:25709
  37897. #, no-wrap
  37898. msgid "zabbix zabbix-server"
  37899. msgstr ""
  37900. #. type: Plain text
  37901. #: guix-git/doc/guix.texi:25714
  37902. 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."
  37903. msgstr ""
  37904. #. type: Plain text
  37905. #: guix-git/doc/guix.texi:25721
  37906. 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})."
  37907. msgstr ""
  37908. #. type: defvar
  37909. #: guix-git/doc/guix.texi:25722
  37910. #, no-wrap
  37911. msgid "{Scheme variable} zabbix-server-service-type"
  37912. msgstr ""
  37913. #. type: defvar
  37914. #: guix-git/doc/guix.texi:25725
  37915. msgid "This is the service type for the Zabbix server service. Its value must be a @code{zabbix-server-configuration} record, shown below."
  37916. msgstr ""
  37917. #. type: deftp
  37918. #: guix-git/doc/guix.texi:25729
  37919. #, no-wrap
  37920. msgid "{Data Type} zabbix-server-configuration"
  37921. msgstr ""
  37922. #. type: deftp
  37923. #: guix-git/doc/guix.texi:25731
  37924. msgid "Available @code{zabbix-server-configuration} fields are:"
  37925. msgstr ""
  37926. #. type: item
  37927. #: guix-git/doc/guix.texi:25733 guix-git/doc/guix.texi:25896
  37928. #, no-wrap
  37929. msgid "@code{zabbix-server} (default: @code{zabbix-server}) (type: file-like)"
  37930. msgstr ""
  37931. #. type: table
  37932. #: guix-git/doc/guix.texi:25735
  37933. msgid "The zabbix-server package."
  37934. msgstr ""
  37935. #. type: item
  37936. #: guix-git/doc/guix.texi:25736 guix-git/doc/guix.texi:25822
  37937. #, no-wrap
  37938. msgid "@code{user} (default: @code{\"zabbix\"}) (type: string)"
  37939. msgstr ""
  37940. #. type: table
  37941. #: guix-git/doc/guix.texi:25738
  37942. msgid "User who will run the Zabbix server."
  37943. msgstr ""
  37944. #. type: item
  37945. #: guix-git/doc/guix.texi:25739 guix-git/doc/guix.texi:25825
  37946. #, no-wrap
  37947. msgid "@code{group} (default: @code{\"zabbix\"}) (type: group)"
  37948. msgstr ""
  37949. #. type: table
  37950. #: guix-git/doc/guix.texi:25741
  37951. msgid "Group who will run the Zabbix server."
  37952. msgstr ""
  37953. #. type: item
  37954. #: guix-git/doc/guix.texi:25742
  37955. #, no-wrap
  37956. msgid "@code{db-host} (default: @code{\"127.0.0.1\"}) (type: string)"
  37957. msgstr ""
  37958. #. type: table
  37959. #: guix-git/doc/guix.texi:25744 guix-git/doc/guix.texi:25906
  37960. msgid "Database host name."
  37961. msgstr ""
  37962. #. type: item
  37963. #: guix-git/doc/guix.texi:25745 guix-git/doc/guix.texi:25910
  37964. #, no-wrap
  37965. msgid "@code{db-name} (default: @code{\"zabbix\"}) (type: string)"
  37966. msgstr ""
  37967. #. type: table
  37968. #: guix-git/doc/guix.texi:25747 guix-git/doc/guix.texi:25912
  37969. msgid "Database name."
  37970. msgstr ""
  37971. #. type: item
  37972. #: guix-git/doc/guix.texi:25748 guix-git/doc/guix.texi:25913
  37973. #, no-wrap
  37974. msgid "@code{db-user} (default: @code{\"zabbix\"}) (type: string)"
  37975. msgstr ""
  37976. #. type: table
  37977. #: guix-git/doc/guix.texi:25750 guix-git/doc/guix.texi:25915
  37978. msgid "Database user."
  37979. msgstr ""
  37980. #. type: item
  37981. #: guix-git/doc/guix.texi:25751 guix-git/doc/guix.texi:25916
  37982. #, no-wrap
  37983. msgid "@code{db-password} (default: @code{\"\"}) (type: string)"
  37984. msgstr ""
  37985. #. type: table
  37986. #: guix-git/doc/guix.texi:25754
  37987. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  37988. msgstr ""
  37989. #. type: item
  37990. #: guix-git/doc/guix.texi:25755 guix-git/doc/guix.texi:25907
  37991. #, no-wrap
  37992. msgid "@code{db-port} (default: @code{5432}) (type: number)"
  37993. msgstr ""
  37994. #. type: table
  37995. #: guix-git/doc/guix.texi:25757 guix-git/doc/guix.texi:25909
  37996. msgid "Database port."
  37997. msgstr ""
  37998. #. type: item
  37999. #: guix-git/doc/guix.texi:25758 guix-git/doc/guix.texi:25832
  38000. #, no-wrap
  38001. msgid "@code{log-type} (default: @code{\"\"}) (type: string)"
  38002. msgstr ""
  38003. #. type: table
  38004. #: guix-git/doc/guix.texi:25760 guix-git/doc/guix.texi:25834
  38005. msgid "Specifies where log messages are written to:"
  38006. msgstr ""
  38007. #. type: itemize
  38008. #: guix-git/doc/guix.texi:25763 guix-git/doc/guix.texi:25838
  38009. #, no-wrap
  38010. msgid "@code{system} - syslog."
  38011. msgstr ""
  38012. #. type: item
  38013. #: guix-git/doc/guix.texi:25765
  38014. #, no-wrap
  38015. msgid "@code{file} - file specified with @code{log-file} parameter."
  38016. msgstr ""
  38017. #. type: item
  38018. #: guix-git/doc/guix.texi:25767 guix-git/doc/guix.texi:25842
  38019. #, no-wrap
  38020. msgid "@code{console} - standard output."
  38021. msgstr ""
  38022. #. type: item
  38023. #: guix-git/doc/guix.texi:25771
  38024. #, no-wrap
  38025. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/server.log\"}) (type: string)"
  38026. msgstr ""
  38027. #. type: table
  38028. #: guix-git/doc/guix.texi:25773 guix-git/doc/guix.texi:25848
  38029. msgid "Log file name for @code{log-type} @code{file} parameter."
  38030. msgstr ""
  38031. #. type: item
  38032. #: guix-git/doc/guix.texi:25774
  38033. #, no-wrap
  38034. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_server.pid\"}) (type: string)"
  38035. msgstr ""
  38036. #. type: table
  38037. #: guix-git/doc/guix.texi:25776 guix-git/doc/guix.texi:25851
  38038. msgid "Name of PID file."
  38039. msgstr ""
  38040. #. type: item
  38041. #: guix-git/doc/guix.texi:25777
  38042. #, no-wrap
  38043. msgid "@code{ssl-ca-location} (default: @code{\"/etc/ssl/certs/ca-certificates.crt\"}) (type: string)"
  38044. msgstr ""
  38045. #. type: table
  38046. #: guix-git/doc/guix.texi:25780
  38047. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  38048. msgstr ""
  38049. #. type: item
  38050. #: guix-git/doc/guix.texi:25781
  38051. #, no-wrap
  38052. msgid "@code{ssl-cert-location} (default: @code{\"/etc/ssl/certs\"}) (type: string)"
  38053. msgstr ""
  38054. #. type: table
  38055. #: guix-git/doc/guix.texi:25783
  38056. msgid "Location of SSL client certificates."
  38057. msgstr ""
  38058. #. type: item
  38059. #: guix-git/doc/guix.texi:25784 guix-git/doc/guix.texi:25862
  38060. #, no-wrap
  38061. msgid "@code{extra-options} (default: @code{\"\"}) (type: extra-options)"
  38062. msgstr ""
  38063. #. type: table
  38064. #: guix-git/doc/guix.texi:25786 guix-git/doc/guix.texi:25864
  38065. msgid "Extra options will be appended to Zabbix server configuration file."
  38066. msgstr ""
  38067. #. type: item
  38068. #: guix-git/doc/guix.texi:25787 guix-git/doc/guix.texi:25865
  38069. #, no-wrap
  38070. msgid "@code{include-files} (default: @code{()}) (type: include-files)"
  38071. msgstr ""
  38072. #. type: table
  38073. #: guix-git/doc/guix.texi:25790 guix-git/doc/guix.texi:25868
  38074. msgid "You may include individual files or all files in a directory in the configuration file."
  38075. msgstr ""
  38076. #. type: anchor{#1}
  38077. #: guix-git/doc/guix.texi:25799
  38078. msgid "zabbix-agent"
  38079. msgstr ""
  38080. #. type: subsubheading
  38081. #: guix-git/doc/guix.texi:25799
  38082. #, no-wrap
  38083. msgid "Zabbix agent"
  38084. msgstr ""
  38085. #. type: cindex
  38086. #: guix-git/doc/guix.texi:25800
  38087. #, no-wrap
  38088. msgid "zabbix zabbix-agent"
  38089. msgstr ""
  38090. #. type: Plain text
  38091. #: guix-git/doc/guix.texi:25807
  38092. 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}}."
  38093. msgstr ""
  38094. #. type: defvar
  38095. #: guix-git/doc/guix.texi:25808
  38096. #, no-wrap
  38097. msgid "{Scheme variable} zabbix-agent-service-type"
  38098. msgstr ""
  38099. #. type: defvar
  38100. #: guix-git/doc/guix.texi:25811
  38101. msgid "This is the service type for the Zabbix agent service. Its value must be a @code{zabbix-agent-configuration} record, shown below."
  38102. msgstr ""
  38103. #. type: deftp
  38104. #: guix-git/doc/guix.texi:25815
  38105. #, no-wrap
  38106. msgid "{Data Type} zabbix-agent-configuration"
  38107. msgstr ""
  38108. #. type: deftp
  38109. #: guix-git/doc/guix.texi:25817
  38110. msgid "Available @code{zabbix-agent-configuration} fields are:"
  38111. msgstr ""
  38112. #. type: item
  38113. #: guix-git/doc/guix.texi:25819
  38114. #, no-wrap
  38115. msgid "@code{zabbix-agent} (default: @code{zabbix-agentd}) (type: file-like)"
  38116. msgstr ""
  38117. #. type: table
  38118. #: guix-git/doc/guix.texi:25821
  38119. msgid "The zabbix-agent package."
  38120. msgstr ""
  38121. #. type: table
  38122. #: guix-git/doc/guix.texi:25824
  38123. msgid "User who will run the Zabbix agent."
  38124. msgstr ""
  38125. #. type: table
  38126. #: guix-git/doc/guix.texi:25827
  38127. msgid "Group who will run the Zabbix agent."
  38128. msgstr ""
  38129. #. type: item
  38130. #: guix-git/doc/guix.texi:25828
  38131. #, no-wrap
  38132. msgid "@code{hostname} (default: @code{\"\"}) (type: string)"
  38133. msgstr ""
  38134. #. type: table
  38135. #: guix-git/doc/guix.texi:25831
  38136. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  38137. msgstr ""
  38138. #. type: item
  38139. #: guix-git/doc/guix.texi:25839
  38140. #, no-wrap
  38141. msgid "@code{file} - file specified with"
  38142. msgstr ""
  38143. #. type: itemize
  38144. #: guix-git/doc/guix.texi:25841
  38145. msgid "@code{log-file} parameter."
  38146. msgstr ""
  38147. #. type: item
  38148. #: guix-git/doc/guix.texi:25846
  38149. #, no-wrap
  38150. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/agent.log\"}) (type: string)"
  38151. msgstr ""
  38152. #. type: item
  38153. #: guix-git/doc/guix.texi:25849
  38154. #, no-wrap
  38155. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_agent.pid\"}) (type: string)"
  38156. msgstr ""
  38157. #. type: item
  38158. #: guix-git/doc/guix.texi:25852
  38159. #, no-wrap
  38160. msgid "@code{server} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38161. msgstr ""
  38162. #. type: table
  38163. #: guix-git/doc/guix.texi:25856
  38164. 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."
  38165. msgstr ""
  38166. #. type: item
  38167. #: guix-git/doc/guix.texi:25857
  38168. #, no-wrap
  38169. msgid "@code{server-active} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38170. msgstr ""
  38171. #. type: table
  38172. #: guix-git/doc/guix.texi:25861
  38173. 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."
  38174. msgstr ""
  38175. #. type: anchor{#1}
  38176. #: guix-git/doc/guix.texi:25877
  38177. msgid "zabbix-front-end"
  38178. msgstr ""
  38179. #. type: subsubheading
  38180. #: guix-git/doc/guix.texi:25877
  38181. #, no-wrap
  38182. msgid "Zabbix front-end"
  38183. msgstr ""
  38184. #. type: cindex
  38185. #: guix-git/doc/guix.texi:25878
  38186. #, no-wrap
  38187. msgid "zabbix zabbix-front-end"
  38188. msgstr ""
  38189. #. type: Plain text
  38190. #: guix-git/doc/guix.texi:25884
  38191. 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."
  38192. msgstr ""
  38193. #. type: defvar
  38194. #: guix-git/doc/guix.texi:25885
  38195. #, no-wrap
  38196. msgid "{Scheme variable} zabbix-front-end-service-type"
  38197. msgstr ""
  38198. #. type: defvar
  38199. #: guix-git/doc/guix.texi:25888
  38200. msgid "This is the service type for the Zabbix web frontend. Its value must be a @code{zabbix-front-end-configuration} record, shown below."
  38201. msgstr ""
  38202. #. type: deftp
  38203. #: guix-git/doc/guix.texi:25892
  38204. #, no-wrap
  38205. msgid "{Data Type} zabbix-front-end-configuration"
  38206. msgstr ""
  38207. #. type: deftp
  38208. #: guix-git/doc/guix.texi:25894
  38209. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  38210. msgstr ""
  38211. #. type: table
  38212. #: guix-git/doc/guix.texi:25898
  38213. msgid "The Zabbix server package to use."
  38214. msgstr ""
  38215. #. type: item
  38216. #: guix-git/doc/guix.texi:25899
  38217. #, no-wrap
  38218. msgid "@code{nginx} (default: @code{()}) (type: list)"
  38219. msgstr ""
  38220. #. type: table
  38221. #: guix-git/doc/guix.texi:25903
  38222. 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."
  38223. msgstr ""
  38224. #. type: item
  38225. #: guix-git/doc/guix.texi:25904
  38226. #, no-wrap
  38227. msgid "@code{db-host} (default: @code{\"localhost\"}) (type: string)"
  38228. msgstr ""
  38229. #. type: table
  38230. #: guix-git/doc/guix.texi:25918
  38231. msgid "Database password. Please, use @code{db-secret-file} instead."
  38232. msgstr ""
  38233. #. type: item
  38234. #: guix-git/doc/guix.texi:25919
  38235. #, no-wrap
  38236. msgid "@code{db-secret-file} (default: @code{\"\"}) (type: string)"
  38237. msgstr ""
  38238. #. type: table
  38239. #: guix-git/doc/guix.texi:25923
  38240. 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."
  38241. msgstr ""
  38242. #. type: item
  38243. #: guix-git/doc/guix.texi:25924
  38244. #, no-wrap
  38245. msgid "@code{zabbix-host} (default: @code{\"localhost\"}) (type: string)"
  38246. msgstr ""
  38247. #. type: table
  38248. #: guix-git/doc/guix.texi:25926
  38249. msgid "Zabbix server hostname."
  38250. msgstr ""
  38251. #. type: item
  38252. #: guix-git/doc/guix.texi:25927
  38253. #, no-wrap
  38254. msgid "@code{zabbix-port} (default: @code{10051}) (type: number)"
  38255. msgstr ""
  38256. #. type: table
  38257. #: guix-git/doc/guix.texi:25929
  38258. msgid "Zabbix server port."
  38259. msgstr ""
  38260. #. type: cindex
  38261. #: guix-git/doc/guix.texi:25939
  38262. #, no-wrap
  38263. msgid "Kerberos"
  38264. msgstr ""
  38265. #. type: Plain text
  38266. #: guix-git/doc/guix.texi:25943
  38267. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  38268. msgstr ""
  38269. #. type: subsubheading
  38270. #: guix-git/doc/guix.texi:25944
  38271. #, no-wrap
  38272. msgid "Krb5 Service"
  38273. msgstr ""
  38274. #. type: Plain text
  38275. #: guix-git/doc/guix.texi:25951
  38276. 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."
  38277. msgstr ""
  38278. #. type: Plain text
  38279. #: guix-git/doc/guix.texi:25955
  38280. 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."
  38281. msgstr ""
  38282. #. type: defvr
  38283. #: guix-git/doc/guix.texi:25956
  38284. #, no-wrap
  38285. msgid "{Scheme Variable} krb5-service-type"
  38286. msgstr ""
  38287. #. type: defvr
  38288. #: guix-git/doc/guix.texi:25958
  38289. msgid "A service type for Kerberos 5 clients."
  38290. msgstr ""
  38291. #. type: Plain text
  38292. #: guix-git/doc/guix.texi:25962
  38293. msgid "Here is an example of its use:"
  38294. msgstr ""
  38295. #. type: lisp
  38296. #: guix-git/doc/guix.texi:25976
  38297. #, no-wrap
  38298. msgid ""
  38299. "(service krb5-service-type\n"
  38300. " (krb5-configuration\n"
  38301. " (default-realm \"EXAMPLE.COM\")\n"
  38302. " (allow-weak-crypto? #t)\n"
  38303. " (realms (list\n"
  38304. " (krb5-realm\n"
  38305. " (name \"EXAMPLE.COM\")\n"
  38306. " (admin-server \"groucho.example.com\")\n"
  38307. " (kdc \"karl.example.com\"))\n"
  38308. " (krb5-realm\n"
  38309. " (name \"ARGRX.EDU\")\n"
  38310. " (admin-server \"kerb-admin.argrx.edu\")\n"
  38311. " (kdc \"keys.argrx.edu\"))))))\n"
  38312. msgstr ""
  38313. #. type: Plain text
  38314. #: guix-git/doc/guix.texi:25980
  38315. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  38316. msgstr ""
  38317. #. type: item
  38318. #: guix-git/doc/guix.texi:25981
  38319. #, no-wrap
  38320. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  38321. msgstr ""
  38322. #. type: itemize
  38323. #: guix-git/doc/guix.texi:25983
  38324. msgid "of which have distinct administration servers and key distribution centers;"
  38325. msgstr ""
  38326. #. type: item
  38327. #: guix-git/doc/guix.texi:25983
  38328. #, no-wrap
  38329. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  38330. msgstr ""
  38331. #. type: itemize
  38332. #: guix-git/doc/guix.texi:25985
  38333. msgid "specified by clients;"
  38334. msgstr ""
  38335. #. type: item
  38336. #: guix-git/doc/guix.texi:25985
  38337. #, no-wrap
  38338. msgid "Accepts services which only support encryption types known to be weak."
  38339. msgstr ""
  38340. #. type: Plain text
  38341. #: guix-git/doc/guix.texi:25993
  38342. 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."
  38343. msgstr ""
  38344. #. type: deftp
  38345. #: guix-git/doc/guix.texi:25995
  38346. #, no-wrap
  38347. msgid "{Data Type} krb5-realm"
  38348. msgstr ""
  38349. #. type: cindex
  38350. #: guix-git/doc/guix.texi:25996
  38351. #, no-wrap
  38352. msgid "realm, kerberos"
  38353. msgstr ""
  38354. #. type: table
  38355. #: guix-git/doc/guix.texi:26002
  38356. 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."
  38357. msgstr ""
  38358. #. type: code{#1}
  38359. #: guix-git/doc/guix.texi:26003
  38360. #, no-wrap
  38361. msgid "admin-server"
  38362. msgstr ""
  38363. #. type: table
  38364. #: guix-git/doc/guix.texi:26006
  38365. msgid "This field is a string identifying the host where the administration server is running."
  38366. msgstr ""
  38367. #. type: code{#1}
  38368. #: guix-git/doc/guix.texi:26007
  38369. #, no-wrap
  38370. msgid "kdc"
  38371. msgstr ""
  38372. #. type: table
  38373. #: guix-git/doc/guix.texi:26010
  38374. msgid "This field is a string identifying the key distribution center for the realm."
  38375. msgstr ""
  38376. #. type: deftp
  38377. #: guix-git/doc/guix.texi:26013
  38378. #, no-wrap
  38379. msgid "{Data Type} krb5-configuration"
  38380. msgstr ""
  38381. #. type: item
  38382. #: guix-git/doc/guix.texi:26016
  38383. #, no-wrap
  38384. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  38385. msgstr ""
  38386. #. type: table
  38387. #: guix-git/doc/guix.texi:26019
  38388. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  38389. msgstr ""
  38390. #. type: item
  38391. #: guix-git/doc/guix.texi:26020
  38392. #, no-wrap
  38393. msgid "@code{default-realm} (default: @code{#f})"
  38394. msgstr ""
  38395. #. type: table
  38396. #: guix-git/doc/guix.texi:26027
  38397. 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}."
  38398. msgstr ""
  38399. #. type: code{#1}
  38400. #: guix-git/doc/guix.texi:26028
  38401. #, no-wrap
  38402. msgid "realms"
  38403. msgstr ""
  38404. #. type: table
  38405. #: guix-git/doc/guix.texi:26033
  38406. 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."
  38407. msgstr ""
  38408. #. type: subsubheading
  38409. #: guix-git/doc/guix.texi:26037
  38410. #, no-wrap
  38411. msgid "PAM krb5 Service"
  38412. msgstr ""
  38413. #. type: cindex
  38414. #: guix-git/doc/guix.texi:26038
  38415. #, no-wrap
  38416. msgid "pam-krb5"
  38417. msgstr ""
  38418. #. type: Plain text
  38419. #: guix-git/doc/guix.texi:26044
  38420. 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."
  38421. msgstr ""
  38422. #. type: defvr
  38423. #: guix-git/doc/guix.texi:26045
  38424. #, no-wrap
  38425. msgid "{Scheme Variable} pam-krb5-service-type"
  38426. msgstr ""
  38427. #. type: defvr
  38428. #: guix-git/doc/guix.texi:26047
  38429. msgid "A service type for the Kerberos 5 PAM module."
  38430. msgstr ""
  38431. #. type: deftp
  38432. #: guix-git/doc/guix.texi:26049
  38433. #, no-wrap
  38434. msgid "{Data Type} pam-krb5-configuration"
  38435. msgstr ""
  38436. #. type: deftp
  38437. #: guix-git/doc/guix.texi:26052
  38438. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  38439. msgstr ""
  38440. #. type: item
  38441. #: guix-git/doc/guix.texi:26053
  38442. #, no-wrap
  38443. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  38444. msgstr ""
  38445. #. type: table
  38446. #: guix-git/doc/guix.texi:26055
  38447. msgid "The pam-krb5 package to use."
  38448. msgstr ""
  38449. #. type: item
  38450. #: guix-git/doc/guix.texi:26056
  38451. #, no-wrap
  38452. msgid "@code{minimum-uid} (default: @code{1000})"
  38453. msgstr ""
  38454. #. type: table
  38455. #: guix-git/doc/guix.texi:26059
  38456. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  38457. msgstr ""
  38458. #. type: cindex
  38459. #: guix-git/doc/guix.texi:26065
  38460. #, no-wrap
  38461. msgid "LDAP"
  38462. msgstr ""
  38463. #. type: cindex
  38464. #: guix-git/doc/guix.texi:26066
  38465. #, no-wrap
  38466. msgid "nslcd, LDAP service"
  38467. msgstr ""
  38468. #. type: Plain text
  38469. #: guix-git/doc/guix.texi:26073
  38470. 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."
  38471. msgstr ""
  38472. #. type: Plain text
  38473. #: guix-git/doc/guix.texi:26077
  38474. 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:"
  38475. msgstr ""
  38476. #. type: lisp
  38477. #: guix-git/doc/guix.texi:26100
  38478. #, no-wrap
  38479. msgid ""
  38480. "(use-service-modules authentication)\n"
  38481. "(use-modules (gnu system nss))\n"
  38482. "...\n"
  38483. "(operating-system\n"
  38484. " ...\n"
  38485. " (services\n"
  38486. " (cons*\n"
  38487. " (service nslcd-service-type)\n"
  38488. " (service dhcp-client-service-type)\n"
  38489. " %base-services))\n"
  38490. " (name-service-switch\n"
  38491. " (let ((services (list (name-service (name \"db\"))\n"
  38492. " (name-service (name \"files\"))\n"
  38493. " (name-service (name \"ldap\")))))\n"
  38494. " (name-service-switch\n"
  38495. " (inherit %mdns-host-lookup-nss)\n"
  38496. " (password services)\n"
  38497. " (shadow services)\n"
  38498. " (group services)\n"
  38499. " (netgroup services)\n"
  38500. " (gshadow services)))))\n"
  38501. msgstr ""
  38502. #. type: Plain text
  38503. #: guix-git/doc/guix.texi:26105
  38504. msgid "Available @code{nslcd-configuration} fields are:"
  38505. msgstr ""
  38506. #. type: deftypevr
  38507. #: guix-git/doc/guix.texi:26106
  38508. #, no-wrap
  38509. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  38510. msgstr ""
  38511. #. type: deftypevr
  38512. #: guix-git/doc/guix.texi:26108
  38513. msgid "The @code{nss-pam-ldapd} package to use."
  38514. msgstr ""
  38515. #. type: deftypevr
  38516. #: guix-git/doc/guix.texi:26111
  38517. #, no-wrap
  38518. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  38519. msgstr ""
  38520. #. type: deftypevr
  38521. #: guix-git/doc/guix.texi:26115
  38522. 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."
  38523. msgstr ""
  38524. #. type: deftypevr
  38525. #: guix-git/doc/guix.texi:26120
  38526. #, no-wrap
  38527. msgid "{@code{nslcd-configuration} parameter} string uid"
  38528. msgstr ""
  38529. #. type: deftypevr
  38530. #: guix-git/doc/guix.texi:26122
  38531. msgid "This specifies the user id with which the daemon should be run."
  38532. msgstr ""
  38533. #. type: deftypevr
  38534. #: guix-git/doc/guix.texi:26124 guix-git/doc/guix.texi:26131
  38535. msgid "Defaults to @samp{\"nslcd\"}."
  38536. msgstr ""
  38537. #. type: deftypevr
  38538. #: guix-git/doc/guix.texi:26127
  38539. #, no-wrap
  38540. msgid "{@code{nslcd-configuration} parameter} string gid"
  38541. msgstr ""
  38542. #. type: deftypevr
  38543. #: guix-git/doc/guix.texi:26129
  38544. msgid "This specifies the group id with which the daemon should be run."
  38545. msgstr ""
  38546. #. type: deftypevr
  38547. #: guix-git/doc/guix.texi:26134
  38548. #, no-wrap
  38549. msgid "{@code{nslcd-configuration} parameter} log-option log"
  38550. msgstr ""
  38551. #. type: deftypevr
  38552. #: guix-git/doc/guix.texi:26142
  38553. 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."
  38554. msgstr ""
  38555. #. type: deftypevr
  38556. #: guix-git/doc/guix.texi:26144
  38557. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  38558. msgstr ""
  38559. #. type: deftypevr
  38560. #: guix-git/doc/guix.texi:26147
  38561. #, no-wrap
  38562. msgid "{@code{nslcd-configuration} parameter} list uri"
  38563. msgstr ""
  38564. #. type: deftypevr
  38565. #: guix-git/doc/guix.texi:26150
  38566. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  38567. msgstr ""
  38568. #. type: deftypevr
  38569. #: guix-git/doc/guix.texi:26152
  38570. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  38571. msgstr ""
  38572. #. type: deftypevr
  38573. #: guix-git/doc/guix.texi:26155
  38574. #, no-wrap
  38575. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  38576. msgstr ""
  38577. #. type: deftypevr
  38578. #: guix-git/doc/guix.texi:26158
  38579. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  38580. msgstr ""
  38581. #. type: deftypevr
  38582. #: guix-git/doc/guix.texi:26163
  38583. #, no-wrap
  38584. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  38585. msgstr ""
  38586. #. type: deftypevr
  38587. #: guix-git/doc/guix.texi:26166
  38588. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  38589. msgstr ""
  38590. #. type: deftypevr
  38591. #: guix-git/doc/guix.texi:26171
  38592. #, no-wrap
  38593. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  38594. msgstr ""
  38595. #. type: deftypevr
  38596. #: guix-git/doc/guix.texi:26174
  38597. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  38598. msgstr ""
  38599. #. type: deftypevr
  38600. #: guix-git/doc/guix.texi:26179
  38601. #, no-wrap
  38602. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  38603. msgstr ""
  38604. #. type: deftypevr
  38605. #: guix-git/doc/guix.texi:26182
  38606. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  38607. msgstr ""
  38608. #. type: deftypevr
  38609. #: guix-git/doc/guix.texi:26187
  38610. #, no-wrap
  38611. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  38612. msgstr ""
  38613. #. type: deftypevr
  38614. #: guix-git/doc/guix.texi:26191
  38615. 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"
  38616. msgstr ""
  38617. #. type: deftypevr
  38618. #: guix-git/doc/guix.texi:26196
  38619. #, no-wrap
  38620. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  38621. msgstr ""
  38622. #. type: deftypevr
  38623. #: guix-git/doc/guix.texi:26199
  38624. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  38625. msgstr ""
  38626. #. type: deftypevr
  38627. #: guix-git/doc/guix.texi:26204
  38628. #, no-wrap
  38629. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  38630. msgstr ""
  38631. #. type: deftypevr
  38632. #: guix-git/doc/guix.texi:26206
  38633. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  38634. msgstr ""
  38635. #. type: deftypevr
  38636. #: guix-git/doc/guix.texi:26211
  38637. #, no-wrap
  38638. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  38639. msgstr ""
  38640. #. type: deftypevr
  38641. #: guix-git/doc/guix.texi:26214
  38642. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  38643. msgstr ""
  38644. #. type: deftypevr
  38645. #: guix-git/doc/guix.texi:26219
  38646. #, no-wrap
  38647. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  38648. msgstr ""
  38649. #. type: deftypevr
  38650. #: guix-git/doc/guix.texi:26222
  38651. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  38652. msgstr ""
  38653. #. type: deftypevr
  38654. #: guix-git/doc/guix.texi:26227
  38655. #, no-wrap
  38656. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  38657. msgstr ""
  38658. #. type: deftypevr
  38659. #: guix-git/doc/guix.texi:26232
  38660. 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."
  38661. msgstr ""
  38662. #. type: deftypevr
  38663. #: guix-git/doc/guix.texi:26237
  38664. #, no-wrap
  38665. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  38666. msgstr ""
  38667. #. type: deftypevr
  38668. #: guix-git/doc/guix.texi:26239
  38669. msgid "Set the name for the GSS-API Kerberos credentials cache."
  38670. msgstr ""
  38671. #. type: deftypevr
  38672. #: guix-git/doc/guix.texi:26244
  38673. #, no-wrap
  38674. msgid "{@code{nslcd-configuration} parameter} string base"
  38675. msgstr ""
  38676. #. type: deftypevr
  38677. #: guix-git/doc/guix.texi:26246
  38678. msgid "The directory search base."
  38679. msgstr ""
  38680. #. type: deftypevr
  38681. #: guix-git/doc/guix.texi:26248
  38682. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  38683. msgstr ""
  38684. #. type: deftypevr
  38685. #: guix-git/doc/guix.texi:26251
  38686. #, no-wrap
  38687. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  38688. msgstr ""
  38689. #. type: deftypevr
  38690. #: guix-git/doc/guix.texi:26255
  38691. 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."
  38692. msgstr ""
  38693. #. type: deftypevr
  38694. #: guix-git/doc/guix.texi:26257
  38695. msgid "Defaults to @samp{(subtree)}."
  38696. msgstr ""
  38697. #. type: deftypevr
  38698. #: guix-git/doc/guix.texi:26260
  38699. #, no-wrap
  38700. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  38701. msgstr ""
  38702. #. type: deftypevr
  38703. #: guix-git/doc/guix.texi:26263
  38704. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  38705. msgstr ""
  38706. #. type: deftypevr
  38707. #: guix-git/doc/guix.texi:26268
  38708. #, no-wrap
  38709. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  38710. msgstr ""
  38711. #. type: deftypevr
  38712. #: guix-git/doc/guix.texi:26271
  38713. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  38714. msgstr ""
  38715. #. type: deftypevr
  38716. #: guix-git/doc/guix.texi:26276
  38717. #, no-wrap
  38718. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  38719. msgstr ""
  38720. #. type: deftypevr
  38721. #: guix-git/doc/guix.texi:26281
  38722. 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."
  38723. msgstr ""
  38724. #. type: deftypevr
  38725. #: guix-git/doc/guix.texi:26286
  38726. #, no-wrap
  38727. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  38728. msgstr ""
  38729. #. type: deftypevr
  38730. #: guix-git/doc/guix.texi:26289
  38731. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  38732. msgstr ""
  38733. #. type: deftypevr
  38734. #: guix-git/doc/guix.texi:26294
  38735. #, no-wrap
  38736. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  38737. msgstr ""
  38738. #. type: deftypevr
  38739. #: guix-git/doc/guix.texi:26297
  38740. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  38741. msgstr ""
  38742. #. type: deftypevr
  38743. #: guix-git/doc/guix.texi:26302
  38744. #, no-wrap
  38745. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  38746. msgstr ""
  38747. #. type: deftypevr
  38748. #: guix-git/doc/guix.texi:26306
  38749. 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."
  38750. msgstr ""
  38751. #. type: deftypevr
  38752. #: guix-git/doc/guix.texi:26311
  38753. #, no-wrap
  38754. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  38755. msgstr ""
  38756. #. type: deftypevr
  38757. #: guix-git/doc/guix.texi:26315
  38758. 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."
  38759. msgstr ""
  38760. #. type: deftypevr
  38761. #: guix-git/doc/guix.texi:26320
  38762. #, no-wrap
  38763. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  38764. msgstr ""
  38765. #. type: deftypevr
  38766. #: guix-git/doc/guix.texi:26324
  38767. 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."
  38768. msgstr ""
  38769. #. type: deftypevr
  38770. #: guix-git/doc/guix.texi:26329
  38771. #, no-wrap
  38772. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  38773. msgstr ""
  38774. #. type: deftypevr
  38775. #: guix-git/doc/guix.texi:26333
  38776. 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."
  38777. msgstr ""
  38778. #. type: deftypevr
  38779. #: guix-git/doc/guix.texi:26338
  38780. #, no-wrap
  38781. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  38782. msgstr ""
  38783. #. type: deftypevr
  38784. #: guix-git/doc/guix.texi:26342
  38785. 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."
  38786. msgstr ""
  38787. #. type: deftypevr
  38788. #: guix-git/doc/guix.texi:26347
  38789. #, no-wrap
  38790. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  38791. msgstr ""
  38792. #. type: deftypevr
  38793. #: guix-git/doc/guix.texi:26350
  38794. 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."
  38795. msgstr ""
  38796. #. type: deftypevr
  38797. #: guix-git/doc/guix.texi:26355
  38798. #, no-wrap
  38799. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  38800. msgstr ""
  38801. #. type: deftypevr
  38802. #: guix-git/doc/guix.texi:26358
  38803. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  38804. msgstr ""
  38805. #. type: deftypevr
  38806. #: guix-git/doc/guix.texi:26363
  38807. #, no-wrap
  38808. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  38809. msgstr ""
  38810. #. type: deftypevr
  38811. #: guix-git/doc/guix.texi:26365
  38812. msgid "Specifies the path to the X.509 certificate for peer authentication."
  38813. msgstr ""
  38814. #. type: deftypevr
  38815. #: guix-git/doc/guix.texi:26370
  38816. #, no-wrap
  38817. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  38818. msgstr ""
  38819. #. type: deftypevr
  38820. #: guix-git/doc/guix.texi:26373
  38821. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  38822. msgstr ""
  38823. #. type: deftypevr
  38824. #: guix-git/doc/guix.texi:26378
  38825. #, no-wrap
  38826. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  38827. msgstr ""
  38828. #. type: deftypevr
  38829. #: guix-git/doc/guix.texi:26380
  38830. msgid "Specifies the ciphers to use for TLS as a string."
  38831. msgstr ""
  38832. #. type: deftypevr
  38833. #: guix-git/doc/guix.texi:26385
  38834. #, no-wrap
  38835. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  38836. msgstr ""
  38837. #. type: deftypevr
  38838. #: guix-git/doc/guix.texi:26388
  38839. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  38840. msgstr ""
  38841. #. type: deftypevr
  38842. #: guix-git/doc/guix.texi:26393
  38843. #, no-wrap
  38844. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  38845. msgstr ""
  38846. #. type: deftypevr
  38847. #: guix-git/doc/guix.texi:26396
  38848. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  38849. msgstr ""
  38850. #. type: deftypevr
  38851. #: guix-git/doc/guix.texi:26401
  38852. #, no-wrap
  38853. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  38854. msgstr ""
  38855. #. type: deftypevr
  38856. #: guix-git/doc/guix.texi:26405
  38857. 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."
  38858. msgstr ""
  38859. #. type: deftypevr
  38860. #: guix-git/doc/guix.texi:26410
  38861. #, no-wrap
  38862. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  38863. msgstr ""
  38864. #. type: deftypevr
  38865. #: guix-git/doc/guix.texi:26414
  38866. 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."
  38867. msgstr ""
  38868. #. type: deftypevr
  38869. #: guix-git/doc/guix.texi:26419
  38870. #, no-wrap
  38871. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  38872. msgstr ""
  38873. #. type: deftypevr
  38874. #: guix-git/doc/guix.texi:26422
  38875. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  38876. msgstr ""
  38877. #. type: deftypevr
  38878. #: guix-git/doc/guix.texi:26427
  38879. #, no-wrap
  38880. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  38881. msgstr ""
  38882. #. type: deftypevr
  38883. #: guix-git/doc/guix.texi:26430
  38884. 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."
  38885. msgstr ""
  38886. #. type: deftypevr
  38887. #: guix-git/doc/guix.texi:26435
  38888. #, no-wrap
  38889. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  38890. msgstr ""
  38891. #. type: deftypevr
  38892. #: guix-git/doc/guix.texi:26438
  38893. 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."
  38894. msgstr ""
  38895. #. type: deftypevr
  38896. #: guix-git/doc/guix.texi:26443
  38897. #, no-wrap
  38898. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  38899. msgstr ""
  38900. #. type: deftypevr
  38901. #: guix-git/doc/guix.texi:26449
  38902. 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."
  38903. msgstr ""
  38904. #. type: deftypevr
  38905. #: guix-git/doc/guix.texi:26454
  38906. #, no-wrap
  38907. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  38908. msgstr ""
  38909. #. type: deftypevr
  38910. #: guix-git/doc/guix.texi:26459
  38911. 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."
  38912. msgstr ""
  38913. #. type: deftypevr
  38914. #: guix-git/doc/guix.texi:26464
  38915. #, no-wrap
  38916. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  38917. msgstr ""
  38918. #. type: deftypevr
  38919. #: guix-git/doc/guix.texi:26470
  38920. 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."
  38921. msgstr ""
  38922. #. type: deftypevr
  38923. #: guix-git/doc/guix.texi:26475
  38924. #, no-wrap
  38925. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  38926. msgstr ""
  38927. #. type: deftypevr
  38928. #: guix-git/doc/guix.texi:26479
  38929. 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."
  38930. msgstr ""
  38931. #. type: deftypevr
  38932. #: guix-git/doc/guix.texi:26484
  38933. #, no-wrap
  38934. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  38935. msgstr ""
  38936. #. type: deftypevr
  38937. #: guix-git/doc/guix.texi:26489
  38938. 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."
  38939. msgstr ""
  38940. #. type: deftypevr
  38941. #: guix-git/doc/guix.texi:26494
  38942. #, no-wrap
  38943. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  38944. msgstr ""
  38945. #. type: deftypevr
  38946. #: guix-git/doc/guix.texi:26497
  38947. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  38948. msgstr ""
  38949. #. type: deftypevr
  38950. #: guix-git/doc/guix.texi:26502
  38951. #, no-wrap
  38952. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  38953. msgstr ""
  38954. #. type: deftypevr
  38955. #: guix-git/doc/guix.texi:26508
  38956. 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."
  38957. msgstr ""
  38958. #. type: deftypevr
  38959. #: guix-git/doc/guix.texi:26513
  38960. #, no-wrap
  38961. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  38962. msgstr ""
  38963. #. type: deftypevr
  38964. #: guix-git/doc/guix.texi:26517
  38965. 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."
  38966. msgstr ""
  38967. #. type: deftypevr
  38968. #: guix-git/doc/guix.texi:26522
  38969. #, no-wrap
  38970. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  38971. msgstr ""
  38972. #. type: deftypevr
  38973. #: guix-git/doc/guix.texi:26527
  38974. 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."
  38975. msgstr ""
  38976. #. type: deftypevr
  38977. #: guix-git/doc/guix.texi:26532
  38978. #, no-wrap
  38979. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  38980. msgstr ""
  38981. #. type: deftypevr
  38982. #: guix-git/doc/guix.texi:26534
  38983. msgid "List of pam service names for which LDAP authentication should suffice."
  38984. msgstr ""
  38985. #. type: cindex
  38986. #: guix-git/doc/guix.texi:26545
  38987. #, no-wrap
  38988. msgid "web"
  38989. msgstr ""
  38990. #. type: cindex
  38991. #: guix-git/doc/guix.texi:26546
  38992. #, no-wrap
  38993. msgid "www"
  38994. msgstr ""
  38995. #. type: cindex
  38996. #: guix-git/doc/guix.texi:26547
  38997. #, no-wrap
  38998. msgid "HTTP"
  38999. msgstr ""
  39000. #. type: Plain text
  39001. #: guix-git/doc/guix.texi:26550
  39002. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  39003. msgstr ""
  39004. #. type: subsubheading
  39005. #: guix-git/doc/guix.texi:26551
  39006. #, no-wrap
  39007. msgid "Apache HTTP Server"
  39008. msgstr ""
  39009. #. type: deffn
  39010. #: guix-git/doc/guix.texi:26553
  39011. #, no-wrap
  39012. msgid "{Scheme Variable} httpd-service-type"
  39013. msgstr ""
  39014. #. type: deffn
  39015. #: guix-git/doc/guix.texi:26557
  39016. 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."
  39017. msgstr ""
  39018. #. type: deffn
  39019. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26741
  39020. msgid "A simple example configuration is given below."
  39021. msgstr ""
  39022. #. type: lisp
  39023. #: guix-git/doc/guix.texi:26567
  39024. #, no-wrap
  39025. msgid ""
  39026. "(service httpd-service-type\n"
  39027. " (httpd-configuration\n"
  39028. " (config\n"
  39029. " (httpd-config-file\n"
  39030. " (server-name \"www.example.com\")\n"
  39031. " (document-root \"/srv/http/www.example.com\")))))\n"
  39032. msgstr ""
  39033. #. type: deffn
  39034. #: guix-git/doc/guix.texi:26571
  39035. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  39036. msgstr ""
  39037. #. type: lisp
  39038. #: guix-git/doc/guix.texi:26580 guix-git/doc/guix.texi:26720
  39039. #, no-wrap
  39040. msgid ""
  39041. "(simple-service 'www.example.com-server httpd-service-type\n"
  39042. " (list\n"
  39043. " (httpd-virtualhost\n"
  39044. " \"*:80\"\n"
  39045. " (list (string-join '(\"ServerName www.example.com\"\n"
  39046. " \"DocumentRoot /srv/http/www.example.com\")\n"
  39047. " \"\\n\")))))\n"
  39048. msgstr ""
  39049. #. type: Plain text
  39050. #: guix-git/doc/guix.texi:26586
  39051. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  39052. msgstr ""
  39053. #. type: deffn
  39054. #: guix-git/doc/guix.texi:26587
  39055. #, no-wrap
  39056. msgid "{Data Type} httpd-configuration"
  39057. msgstr ""
  39058. #. type: deffn
  39059. #: guix-git/doc/guix.texi:26589
  39060. msgid "This data type represents the configuration for the httpd service."
  39061. msgstr ""
  39062. #. type: item
  39063. #: guix-git/doc/guix.texi:26591
  39064. #, no-wrap
  39065. msgid "@code{package} (default: @code{httpd})"
  39066. msgstr ""
  39067. #. type: table
  39068. #: guix-git/doc/guix.texi:26593
  39069. msgid "The httpd package to use."
  39070. msgstr ""
  39071. #. type: item
  39072. #: guix-git/doc/guix.texi:26594 guix-git/doc/guix.texi:26683
  39073. #, no-wrap
  39074. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  39075. msgstr ""
  39076. #. type: table
  39077. #: guix-git/doc/guix.texi:26596
  39078. msgid "The pid file used by the shepherd-service."
  39079. msgstr ""
  39080. #. type: item
  39081. #: guix-git/doc/guix.texi:26597
  39082. #, no-wrap
  39083. msgid "@code{config} (default: @code{(httpd-config-file)})"
  39084. msgstr ""
  39085. #. type: table
  39086. #: guix-git/doc/guix.texi:26602
  39087. 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."
  39088. msgstr ""
  39089. #. type: deffn
  39090. #: guix-git/doc/guix.texi:26606
  39091. #, no-wrap
  39092. msgid "{Data Type} httpd-module"
  39093. msgstr ""
  39094. #. type: deffn
  39095. #: guix-git/doc/guix.texi:26608
  39096. msgid "This data type represents a module for the httpd service."
  39097. msgstr ""
  39098. #. type: table
  39099. #: guix-git/doc/guix.texi:26612
  39100. msgid "The name of the module."
  39101. msgstr ""
  39102. #. type: table
  39103. #: guix-git/doc/guix.texi:26618
  39104. 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\")}."
  39105. msgstr ""
  39106. #. type: defvr
  39107. #: guix-git/doc/guix.texi:26622
  39108. #, no-wrap
  39109. msgid "{Scheme Variable} %default-httpd-modules"
  39110. msgstr ""
  39111. #. type: defvr
  39112. #: guix-git/doc/guix.texi:26624
  39113. msgid "A default list of @code{httpd-module} objects."
  39114. msgstr ""
  39115. #. type: deffn
  39116. #: guix-git/doc/guix.texi:26626
  39117. #, no-wrap
  39118. msgid "{Data Type} httpd-config-file"
  39119. msgstr ""
  39120. #. type: deffn
  39121. #: guix-git/doc/guix.texi:26628
  39122. msgid "This data type represents a configuration file for the httpd service."
  39123. msgstr ""
  39124. #. type: item
  39125. #: guix-git/doc/guix.texi:26630
  39126. #, no-wrap
  39127. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  39128. msgstr ""
  39129. #. type: table
  39130. #: guix-git/doc/guix.texi:26633
  39131. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  39132. msgstr ""
  39133. #. type: table
  39134. #: guix-git/doc/guix.texi:26636
  39135. 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}:"
  39136. msgstr ""
  39137. #. type: lisp
  39138. #: guix-git/doc/guix.texi:26658
  39139. #, no-wrap
  39140. msgid ""
  39141. "(service httpd-service-type\n"
  39142. " (httpd-configuration\n"
  39143. " (config\n"
  39144. " (httpd-config-file\n"
  39145. " (modules (cons*\n"
  39146. " (httpd-module\n"
  39147. " (name \"proxy_module\")\n"
  39148. " (file \"modules/mod_proxy.so\"))\n"
  39149. " (httpd-module\n"
  39150. " (name \"proxy_fcgi_module\")\n"
  39151. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  39152. " %default-httpd-modules))\n"
  39153. " (extra-config (list \"\\\n"
  39154. "<FilesMatch \\\\.php$>\n"
  39155. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  39156. "</FilesMatch>\"))))))\n"
  39157. "(service php-fpm-service-type\n"
  39158. " (php-fpm-configuration\n"
  39159. " (socket \"/var/run/php-fpm.sock\")\n"
  39160. " (socket-group \"httpd\")))\n"
  39161. msgstr ""
  39162. #. type: item
  39163. #: guix-git/doc/guix.texi:26660
  39164. #, no-wrap
  39165. msgid "@code{server-root} (default: @code{httpd})"
  39166. msgstr ""
  39167. #. type: table
  39168. #: guix-git/doc/guix.texi:26664
  39169. 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."
  39170. msgstr ""
  39171. #. type: item
  39172. #: guix-git/doc/guix.texi:26665
  39173. #, no-wrap
  39174. msgid "@code{server-name} (default: @code{#f})"
  39175. msgstr ""
  39176. #. type: table
  39177. #: guix-git/doc/guix.texi:26669
  39178. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  39179. msgstr ""
  39180. #. type: table
  39181. #: guix-git/doc/guix.texi:26673
  39182. 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}."
  39183. msgstr ""
  39184. #. type: item
  39185. #: guix-git/doc/guix.texi:26674
  39186. #, no-wrap
  39187. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  39188. msgstr ""
  39189. #. type: table
  39190. #: guix-git/doc/guix.texi:26676
  39191. msgid "The @code{DocumentRoot} from which files will be served."
  39192. msgstr ""
  39193. #. type: item
  39194. #: guix-git/doc/guix.texi:26677
  39195. #, no-wrap
  39196. msgid "@code{listen} (default: @code{'(\"80\")})"
  39197. msgstr ""
  39198. #. type: table
  39199. #: guix-git/doc/guix.texi:26682
  39200. 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."
  39201. msgstr ""
  39202. #. type: table
  39203. #: guix-git/doc/guix.texi:26687
  39204. 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."
  39205. msgstr ""
  39206. #. type: item
  39207. #: guix-git/doc/guix.texi:26688
  39208. #, no-wrap
  39209. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  39210. msgstr ""
  39211. #. type: table
  39212. #: guix-git/doc/guix.texi:26690
  39213. msgid "The @code{ErrorLog} to which the server will log errors."
  39214. msgstr ""
  39215. #. type: item
  39216. #: guix-git/doc/guix.texi:26691 guix-git/doc/guix.texi:27254
  39217. #, no-wrap
  39218. msgid "@code{user} (default: @code{\"httpd\"})"
  39219. msgstr ""
  39220. #. type: table
  39221. #: guix-git/doc/guix.texi:26693
  39222. msgid "The @code{User} which the server will answer requests as."
  39223. msgstr ""
  39224. #. type: item
  39225. #: guix-git/doc/guix.texi:26694
  39226. #, no-wrap
  39227. msgid "@code{group} (default: @code{\"httpd\"})"
  39228. msgstr ""
  39229. #. type: table
  39230. #: guix-git/doc/guix.texi:26696
  39231. msgid "The @code{Group} which the server will answer requests as."
  39232. msgstr ""
  39233. #. type: item
  39234. #: guix-git/doc/guix.texi:26697
  39235. #, no-wrap
  39236. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  39237. msgstr ""
  39238. #. type: table
  39239. #: guix-git/doc/guix.texi:26700
  39240. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  39241. msgstr ""
  39242. #. type: table
  39243. #: guix-git/doc/guix.texi:26703
  39244. msgid "Any values which the service is extended with will be appended to this list."
  39245. msgstr ""
  39246. #. type: deffn
  39247. #: guix-git/doc/guix.texi:26707
  39248. #, no-wrap
  39249. msgid "{Data Type} httpd-virtualhost"
  39250. msgstr ""
  39251. #. type: deffn
  39252. #: guix-git/doc/guix.texi:26709
  39253. msgid "This data type represents a virtualhost configuration block for the httpd service."
  39254. msgstr ""
  39255. #. type: deffn
  39256. #: guix-git/doc/guix.texi:26711
  39257. msgid "These should be added to the extra-config for the httpd-service."
  39258. msgstr ""
  39259. #. type: code{#1}
  39260. #: guix-git/doc/guix.texi:26723
  39261. #, no-wrap
  39262. msgid "addresses-and-ports"
  39263. msgstr ""
  39264. #. type: table
  39265. #: guix-git/doc/guix.texi:26725
  39266. msgid "The addresses and ports for the @code{VirtualHost} directive."
  39267. msgstr ""
  39268. #. type: code{#1}
  39269. #: guix-git/doc/guix.texi:26726
  39270. #, no-wrap
  39271. msgid "contents"
  39272. msgstr ""
  39273. #. type: table
  39274. #: guix-git/doc/guix.texi:26729
  39275. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  39276. msgstr ""
  39277. #. type: subsubheading
  39278. #: guix-git/doc/guix.texi:26734
  39279. #, no-wrap
  39280. msgid "NGINX"
  39281. msgstr ""
  39282. #. type: deffn
  39283. #: guix-git/doc/guix.texi:26736
  39284. #, no-wrap
  39285. msgid "{Scheme Variable} nginx-service-type"
  39286. msgstr ""
  39287. #. type: deffn
  39288. #: guix-git/doc/guix.texi:26739
  39289. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  39290. msgstr ""
  39291. #. type: lisp
  39292. #: guix-git/doc/guix.texi:26749 guix-git/doc/guix.texi:26803
  39293. #, no-wrap
  39294. msgid ""
  39295. "(service nginx-service-type\n"
  39296. " (nginx-configuration\n"
  39297. " (server-blocks\n"
  39298. " (list (nginx-server-configuration\n"
  39299. " (server-name '(\"www.example.com\"))\n"
  39300. " (root \"/srv/http/www.example.com\"))))))\n"
  39301. msgstr ""
  39302. #. type: deffn
  39303. #: guix-git/doc/guix.texi:26754
  39304. 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:"
  39305. msgstr ""
  39306. #. type: lisp
  39307. #: guix-git/doc/guix.texi:26760
  39308. #, no-wrap
  39309. msgid ""
  39310. "(simple-service 'my-extra-server nginx-service-type\n"
  39311. " (list (nginx-server-configuration\n"
  39312. " (root \"/srv/http/extra-website\")\n"
  39313. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  39314. msgstr ""
  39315. #. type: Plain text
  39316. #: guix-git/doc/guix.texi:26771
  39317. 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."
  39318. msgstr ""
  39319. #. type: deffn
  39320. #: guix-git/doc/guix.texi:26772
  39321. #, no-wrap
  39322. msgid "{Data Type} nginx-configuration"
  39323. msgstr ""
  39324. #. type: deffn
  39325. #: guix-git/doc/guix.texi:26776
  39326. 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."
  39327. msgstr ""
  39328. #. type: item
  39329. #: guix-git/doc/guix.texi:26778
  39330. #, no-wrap
  39331. msgid "@code{nginx} (default: @code{nginx})"
  39332. msgstr ""
  39333. #. type: table
  39334. #: guix-git/doc/guix.texi:26780
  39335. msgid "The nginx package to use."
  39336. msgstr ""
  39337. #. type: item
  39338. #: guix-git/doc/guix.texi:26781
  39339. #, no-wrap
  39340. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  39341. msgstr ""
  39342. #. type: table
  39343. #: guix-git/doc/guix.texi:26783
  39344. msgid "The directory to which NGinx will write log files."
  39345. msgstr ""
  39346. #. type: item
  39347. #: guix-git/doc/guix.texi:26784
  39348. #, no-wrap
  39349. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  39350. msgstr ""
  39351. #. type: table
  39352. #: guix-git/doc/guix.texi:26787
  39353. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  39354. msgstr ""
  39355. #. type: item
  39356. #: guix-git/doc/guix.texi:26788
  39357. #, no-wrap
  39358. msgid "@code{server-blocks} (default: @code{'()})"
  39359. msgstr ""
  39360. #. type: table
  39361. #: guix-git/doc/guix.texi:26792
  39362. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  39363. msgstr ""
  39364. #. type: table
  39365. #: guix-git/doc/guix.texi:26796
  39366. 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."
  39367. msgstr ""
  39368. #. type: item
  39369. #: guix-git/doc/guix.texi:26805
  39370. #, no-wrap
  39371. msgid "@code{upstream-blocks} (default: @code{'()})"
  39372. msgstr ""
  39373. #. type: table
  39374. #: guix-git/doc/guix.texi:26809
  39375. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  39376. msgstr ""
  39377. #. type: table
  39378. #: guix-git/doc/guix.texi:26816
  39379. 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."
  39380. msgstr ""
  39381. #. type: lisp
  39382. #: guix-git/doc/guix.texi:26835
  39383. #, no-wrap
  39384. msgid ""
  39385. "(service\n"
  39386. " nginx-service-type\n"
  39387. " (nginx-configuration\n"
  39388. " (server-blocks\n"
  39389. " (list (nginx-server-configuration\n"
  39390. " (server-name '(\"www.example.com\"))\n"
  39391. " (root \"/srv/http/www.example.com\")\n"
  39392. " (locations\n"
  39393. " (list\n"
  39394. " (nginx-location-configuration\n"
  39395. " (uri \"/path1\")\n"
  39396. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  39397. " (upstream-blocks\n"
  39398. " (list (nginx-upstream-configuration\n"
  39399. " (name \"server-proxy\")\n"
  39400. " (servers (list \"server1.example.com\"\n"
  39401. " \"server2.example.com\")))))))\n"
  39402. msgstr ""
  39403. #. type: table
  39404. #: guix-git/doc/guix.texi:26843
  39405. 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."
  39406. msgstr ""
  39407. #. type: table
  39408. #: guix-git/doc/guix.texi:26847
  39409. 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."
  39410. msgstr ""
  39411. #. type: item
  39412. #: guix-git/doc/guix.texi:26848
  39413. #, no-wrap
  39414. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  39415. msgstr ""
  39416. #. type: table
  39417. #: guix-git/doc/guix.texi:26851
  39418. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  39419. msgstr ""
  39420. #. type: item
  39421. #: guix-git/doc/guix.texi:26852
  39422. #, no-wrap
  39423. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  39424. msgstr ""
  39425. #. type: table
  39426. #: guix-git/doc/guix.texi:26854
  39427. msgid "Maximum bucket size for the server names hash tables."
  39428. msgstr ""
  39429. #. type: table
  39430. #: guix-git/doc/guix.texi:26858
  39431. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  39432. msgstr ""
  39433. #. type: lisp
  39434. #: guix-git/doc/guix.texi:26866
  39435. #, no-wrap
  39436. msgid ""
  39437. "(modules\n"
  39438. " (list\n"
  39439. " (file-append nginx-accept-language-module \"\\\n"
  39440. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  39441. " (file-append nginx-lua-module \"\\\n"
  39442. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  39443. msgstr ""
  39444. #. type: item
  39445. #: guix-git/doc/guix.texi:26868
  39446. #, no-wrap
  39447. msgid "@code{lua-package-path} (default: @code{'()})"
  39448. msgstr ""
  39449. #. type: table
  39450. #: guix-git/doc/guix.texi:26871
  39451. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  39452. msgstr ""
  39453. #. type: lisp
  39454. #: guix-git/doc/guix.texi:26878
  39455. #, no-wrap
  39456. msgid ""
  39457. "(lua-package-path (list lua-resty-core\n"
  39458. " lua-resty-lrucache\n"
  39459. " lua-resty-signal\n"
  39460. " lua-tablepool\n"
  39461. " lua-resty-shell))\n"
  39462. msgstr ""
  39463. #. type: item
  39464. #: guix-git/doc/guix.texi:26880
  39465. #, no-wrap
  39466. msgid "@code{lua-package-cpath} (default: @code{'()})"
  39467. msgstr ""
  39468. #. type: table
  39469. #: guix-git/doc/guix.texi:26883
  39470. 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:"
  39471. msgstr ""
  39472. #. type: lisp
  39473. #: guix-git/doc/guix.texi:26886
  39474. #, no-wrap
  39475. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  39476. msgstr ""
  39477. #. type: item
  39478. #: guix-git/doc/guix.texi:26888
  39479. #, no-wrap
  39480. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  39481. msgstr ""
  39482. #. type: table
  39483. #: guix-git/doc/guix.texi:26891
  39484. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  39485. msgstr ""
  39486. #. type: lisp
  39487. #: guix-git/doc/guix.texi:26897
  39488. #, no-wrap
  39489. msgid ""
  39490. "(global-directives\n"
  39491. " `((worker_processes . 16)\n"
  39492. " (pcre_jit . on)\n"
  39493. " (events . ((worker_connections . 1024)))))\n"
  39494. msgstr ""
  39495. #. type: table
  39496. #: guix-git/doc/guix.texi:26902
  39497. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  39498. msgstr ""
  39499. #. type: anchor{#1}
  39500. #: guix-git/doc/guix.texi:26907
  39501. msgid "nginx-server-configuration"
  39502. msgstr ""
  39503. #. type: deftp
  39504. #: guix-git/doc/guix.texi:26907
  39505. #, no-wrap
  39506. msgid "{Data Type} nginx-server-configuration"
  39507. msgstr ""
  39508. #. type: deftp
  39509. #: guix-git/doc/guix.texi:26910
  39510. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  39511. msgstr ""
  39512. #. type: item
  39513. #: guix-git/doc/guix.texi:26912
  39514. #, no-wrap
  39515. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  39516. msgstr ""
  39517. #. type: table
  39518. #: guix-git/doc/guix.texi:26917
  39519. 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:"
  39520. msgstr ""
  39521. #. type: lisp
  39522. #: guix-git/doc/guix.texi:26920
  39523. #, no-wrap
  39524. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  39525. msgstr ""
  39526. #. type: item
  39527. #: guix-git/doc/guix.texi:26922
  39528. #, no-wrap
  39529. msgid "@code{server-name} (default: @code{(list 'default)})"
  39530. msgstr ""
  39531. #. type: table
  39532. #: guix-git/doc/guix.texi:26925
  39533. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  39534. msgstr ""
  39535. #. type: item
  39536. #: guix-git/doc/guix.texi:26926
  39537. #, no-wrap
  39538. msgid "@code{root} (default: @code{\"/srv/http\"})"
  39539. msgstr ""
  39540. #. type: table
  39541. #: guix-git/doc/guix.texi:26928
  39542. msgid "Root of the website nginx will serve."
  39543. msgstr ""
  39544. #. type: item
  39545. #: guix-git/doc/guix.texi:26929
  39546. #, no-wrap
  39547. msgid "@code{locations} (default: @code{'()})"
  39548. msgstr ""
  39549. #. type: table
  39550. #: guix-git/doc/guix.texi:26933
  39551. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  39552. msgstr ""
  39553. #. type: item
  39554. #: guix-git/doc/guix.texi:26934
  39555. #, no-wrap
  39556. msgid "@code{index} (default: @code{(list \"index.html\")})"
  39557. msgstr ""
  39558. #. type: table
  39559. #: guix-git/doc/guix.texi:26937
  39560. 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."
  39561. msgstr ""
  39562. #. type: item
  39563. #: guix-git/doc/guix.texi:26938
  39564. #, no-wrap
  39565. msgid "@code{try-files} (default: @code{'()})"
  39566. msgstr ""
  39567. #. type: table
  39568. #: guix-git/doc/guix.texi:26941
  39569. 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."
  39570. msgstr ""
  39571. #. type: item
  39572. #: guix-git/doc/guix.texi:26942
  39573. #, no-wrap
  39574. msgid "@code{ssl-certificate} (default: @code{#f})"
  39575. msgstr ""
  39576. #. type: table
  39577. #: guix-git/doc/guix.texi:26945
  39578. 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."
  39579. msgstr ""
  39580. #. type: item
  39581. #: guix-git/doc/guix.texi:26946
  39582. #, no-wrap
  39583. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  39584. msgstr ""
  39585. #. type: table
  39586. #: guix-git/doc/guix.texi:26949
  39587. 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."
  39588. msgstr ""
  39589. #. type: item
  39590. #: guix-git/doc/guix.texi:26950
  39591. #, no-wrap
  39592. msgid "@code{server-tokens?} (default: @code{#f})"
  39593. msgstr ""
  39594. #. type: table
  39595. #: guix-git/doc/guix.texi:26952
  39596. msgid "Whether the server should add its configuration to response."
  39597. msgstr ""
  39598. #. type: item
  39599. #: guix-git/doc/guix.texi:26953
  39600. #, no-wrap
  39601. msgid "@code{raw-content} (default: @code{'()})"
  39602. msgstr ""
  39603. #. type: table
  39604. #: guix-git/doc/guix.texi:26955
  39605. msgid "A list of raw lines added to the server block."
  39606. msgstr ""
  39607. #. type: deftp
  39608. #: guix-git/doc/guix.texi:26959
  39609. #, no-wrap
  39610. msgid "{Data Type} nginx-upstream-configuration"
  39611. msgstr ""
  39612. #. type: deftp
  39613. #: guix-git/doc/guix.texi:26962
  39614. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  39615. msgstr ""
  39616. #. type: table
  39617. #: guix-git/doc/guix.texi:26966
  39618. msgid "Name for this group of servers."
  39619. msgstr ""
  39620. #. type: code{#1}
  39621. #: guix-git/doc/guix.texi:26967
  39622. #, no-wrap
  39623. msgid "servers"
  39624. msgstr ""
  39625. #. type: table
  39626. #: guix-git/doc/guix.texi:26974
  39627. 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."
  39628. msgstr ""
  39629. #. type: deftp
  39630. #: guix-git/doc/guix.texi:26978
  39631. #, no-wrap
  39632. msgid "{Data Type} nginx-location-configuration"
  39633. msgstr ""
  39634. #. type: deftp
  39635. #: guix-git/doc/guix.texi:26981
  39636. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  39637. msgstr ""
  39638. #. type: table
  39639. #: guix-git/doc/guix.texi:26985
  39640. msgid "URI which this location block matches."
  39641. msgstr ""
  39642. #. type: anchor{#1}
  39643. #: guix-git/doc/guix.texi:26987
  39644. msgid "nginx-location-configuration body"
  39645. msgstr ""
  39646. #. type: code{#1}
  39647. #: guix-git/doc/guix.texi:26987 guix-git/doc/guix.texi:27008
  39648. #, no-wrap
  39649. msgid "body"
  39650. msgstr ""
  39651. #. type: table
  39652. #: guix-git/doc/guix.texi:26994
  39653. 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;\")}."
  39654. msgstr ""
  39655. #. type: deftp
  39656. #: guix-git/doc/guix.texi:26998
  39657. #, no-wrap
  39658. msgid "{Data Type} nginx-named-location-configuration"
  39659. msgstr ""
  39660. #. type: deftp
  39661. #: guix-git/doc/guix.texi:27003
  39662. 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:"
  39663. msgstr ""
  39664. #. type: table
  39665. #: guix-git/doc/guix.texi:27007
  39666. msgid "Name to identify this location block."
  39667. msgstr ""
  39668. #. type: table
  39669. #: guix-git/doc/guix.texi:27013
  39670. 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."
  39671. msgstr ""
  39672. #. type: subsubheading
  39673. #: guix-git/doc/guix.texi:27017
  39674. #, no-wrap
  39675. msgid "Varnish Cache"
  39676. msgstr ""
  39677. #. type: cindex
  39678. #: guix-git/doc/guix.texi:27018
  39679. #, no-wrap
  39680. msgid "Varnish"
  39681. msgstr ""
  39682. #. type: Plain text
  39683. #: guix-git/doc/guix.texi:27023
  39684. 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."
  39685. msgstr ""
  39686. #. type: defvr
  39687. #: guix-git/doc/guix.texi:27024
  39688. #, no-wrap
  39689. msgid "{Scheme Variable} varnish-service-type"
  39690. msgstr ""
  39691. #. type: defvr
  39692. #: guix-git/doc/guix.texi:27026
  39693. msgid "Service type for the Varnish daemon."
  39694. msgstr ""
  39695. #. type: deftp
  39696. #: guix-git/doc/guix.texi:27028
  39697. #, no-wrap
  39698. msgid "{Data Type} varnish-configuration"
  39699. msgstr ""
  39700. #. type: deftp
  39701. #: guix-git/doc/guix.texi:27031
  39702. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  39703. msgstr ""
  39704. #. type: item
  39705. #: guix-git/doc/guix.texi:27033
  39706. #, no-wrap
  39707. msgid "@code{package} (default: @code{varnish})"
  39708. msgstr ""
  39709. #. type: table
  39710. #: guix-git/doc/guix.texi:27035
  39711. msgid "The Varnish package to use."
  39712. msgstr ""
  39713. #. type: item
  39714. #: guix-git/doc/guix.texi:27036
  39715. #, no-wrap
  39716. msgid "@code{name} (default: @code{\"default\"})"
  39717. msgstr ""
  39718. #. type: table
  39719. #: guix-git/doc/guix.texi:27041
  39720. 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."
  39721. msgstr ""
  39722. #. type: table
  39723. #: guix-git/doc/guix.texi:27044
  39724. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  39725. msgstr ""
  39726. #. type: item
  39727. #: guix-git/doc/guix.texi:27045
  39728. #, no-wrap
  39729. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  39730. msgstr ""
  39731. #. type: table
  39732. #: guix-git/doc/guix.texi:27047
  39733. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  39734. msgstr ""
  39735. #. type: item
  39736. #: guix-git/doc/guix.texi:27048
  39737. #, no-wrap
  39738. msgid "@code{vcl} (default: #f)"
  39739. msgstr ""
  39740. #. type: table
  39741. #: guix-git/doc/guix.texi:27053
  39742. 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."
  39743. msgstr ""
  39744. #. type: table
  39745. #: guix-git/doc/guix.texi:27057
  39746. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  39747. msgstr ""
  39748. #. type: lisp
  39749. #: guix-git/doc/guix.texi:27063
  39750. #, no-wrap
  39751. msgid ""
  39752. "(define %gnu-mirror\n"
  39753. " (plain-file \"gnu.vcl\"\n"
  39754. " \"vcl 4.1;\n"
  39755. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  39756. "\n"
  39757. msgstr ""
  39758. #. type: lisp
  39759. #: guix-git/doc/guix.texi:27071
  39760. #, no-wrap
  39761. msgid ""
  39762. "(operating-system\n"
  39763. " ;; @dots{}\n"
  39764. " (services (cons (service varnish-service-type\n"
  39765. " (varnish-configuration\n"
  39766. " (listen '(\":80\"))\n"
  39767. " (vcl %gnu-mirror)))\n"
  39768. " %base-services)))\n"
  39769. msgstr ""
  39770. #. type: table
  39771. #: guix-git/doc/guix.texi:27075
  39772. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  39773. msgstr ""
  39774. #. type: table
  39775. #: guix-git/doc/guix.texi:27079
  39776. 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."
  39777. msgstr ""
  39778. #. type: item
  39779. #: guix-git/doc/guix.texi:27080
  39780. #, no-wrap
  39781. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  39782. msgstr ""
  39783. #. type: table
  39784. #: guix-git/doc/guix.texi:27082
  39785. msgid "List of addresses Varnish will listen on."
  39786. msgstr ""
  39787. #. type: item
  39788. #: guix-git/doc/guix.texi:27083
  39789. #, no-wrap
  39790. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  39791. msgstr ""
  39792. #. type: table
  39793. #: guix-git/doc/guix.texi:27085
  39794. msgid "List of storage backends that will be available in VCL."
  39795. msgstr ""
  39796. #. type: item
  39797. #: guix-git/doc/guix.texi:27086
  39798. #, no-wrap
  39799. msgid "@code{parameters} (default: @code{'()})"
  39800. msgstr ""
  39801. #. type: table
  39802. #: guix-git/doc/guix.texi:27088
  39803. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  39804. msgstr ""
  39805. #. type: table
  39806. #: guix-git/doc/guix.texi:27091
  39807. msgid "Additional arguments to pass to the @command{varnishd} process."
  39808. msgstr ""
  39809. #. type: cindex
  39810. #: guix-git/doc/guix.texi:27095 guix-git/doc/guix.texi:27096
  39811. #, no-wrap
  39812. msgid "Patchwork"
  39813. msgstr ""
  39814. #. type: Plain text
  39815. #: guix-git/doc/guix.texi:27099
  39816. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  39817. msgstr ""
  39818. #. type: defvr
  39819. #: guix-git/doc/guix.texi:27100
  39820. #, no-wrap
  39821. msgid "{Scheme Variable} patchwork-service-type"
  39822. msgstr ""
  39823. #. type: defvr
  39824. #: guix-git/doc/guix.texi:27102
  39825. msgid "Service type for Patchwork."
  39826. msgstr ""
  39827. #. type: Plain text
  39828. #: guix-git/doc/guix.texi:27106
  39829. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  39830. msgstr ""
  39831. #. type: lisp
  39832. #: guix-git/doc/guix.texi:27126
  39833. #, no-wrap
  39834. msgid ""
  39835. "(service patchwork-service-type\n"
  39836. " (patchwork-configuration\n"
  39837. " (domain \"patchwork.example.com\")\n"
  39838. " (settings-module\n"
  39839. " (patchwork-settings-module\n"
  39840. " (allowed-hosts (list domain))\n"
  39841. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  39842. " (getmail-retriever-config\n"
  39843. " (getmail-retriever-configuration\n"
  39844. " (type \"SimpleIMAPSSLRetriever\")\n"
  39845. " (server \"imap.example.com\")\n"
  39846. " (port 993)\n"
  39847. " (username \"patchwork\")\n"
  39848. " (password-command\n"
  39849. " (list (file-append coreutils \"/bin/cat\")\n"
  39850. " \"/etc/getmail-patchwork-imap-password\"))\n"
  39851. " (extra-parameters\n"
  39852. " '((mailboxes . (\"Patches\"))))))))\n"
  39853. "\n"
  39854. msgstr ""
  39855. #. type: Plain text
  39856. #: guix-git/doc/guix.texi:27132
  39857. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  39858. msgstr ""
  39859. #. type: Plain text
  39860. #: guix-git/doc/guix.texi:27136
  39861. 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."
  39862. msgstr ""
  39863. #. type: Plain text
  39864. #: guix-git/doc/guix.texi:27140
  39865. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  39866. msgstr ""
  39867. #. type: deftp
  39868. #: guix-git/doc/guix.texi:27141
  39869. #, no-wrap
  39870. msgid "{Data Type} patchwork-configuration"
  39871. msgstr ""
  39872. #. type: deftp
  39873. #: guix-git/doc/guix.texi:27144
  39874. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  39875. msgstr ""
  39876. #. type: item
  39877. #: guix-git/doc/guix.texi:27146
  39878. #, no-wrap
  39879. msgid "@code{patchwork} (default: @code{patchwork})"
  39880. msgstr ""
  39881. #. type: table
  39882. #: guix-git/doc/guix.texi:27148
  39883. msgid "The Patchwork package to use."
  39884. msgstr ""
  39885. #. type: code{#1}
  39886. #: guix-git/doc/guix.texi:27149
  39887. #, no-wrap
  39888. msgid "domain"
  39889. msgstr ""
  39890. #. type: table
  39891. #: guix-git/doc/guix.texi:27152
  39892. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  39893. msgstr ""
  39894. #. type: code{#1}
  39895. #: guix-git/doc/guix.texi:27153
  39896. #, no-wrap
  39897. msgid "settings-module"
  39898. msgstr ""
  39899. #. type: table
  39900. #: guix-git/doc/guix.texi:27159
  39901. 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."
  39902. msgstr ""
  39903. #. type: item
  39904. #: guix-git/doc/guix.texi:27160
  39905. #, no-wrap
  39906. msgid "@code{static-path} (default: @code{\"/static/\"})"
  39907. msgstr ""
  39908. #. type: table
  39909. #: guix-git/doc/guix.texi:27162
  39910. msgid "The path under which the HTTPD service should serve the static files."
  39911. msgstr ""
  39912. #. type: code{#1}
  39913. #: guix-git/doc/guix.texi:27163
  39914. #, no-wrap
  39915. msgid "getmail-retriever-config"
  39916. msgstr ""
  39917. #. type: table
  39918. #: guix-git/doc/guix.texi:27167
  39919. 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."
  39920. msgstr ""
  39921. #. type: deftp
  39922. #: guix-git/doc/guix.texi:27171
  39923. #, no-wrap
  39924. msgid "{Data Type} patchwork-settings-module"
  39925. msgstr ""
  39926. #. type: deftp
  39927. #: guix-git/doc/guix.texi:27176
  39928. 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:"
  39929. msgstr ""
  39930. #. type: item
  39931. #: guix-git/doc/guix.texi:27178
  39932. #, no-wrap
  39933. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  39934. msgstr ""
  39935. #. type: table
  39936. #: guix-git/doc/guix.texi:27181
  39937. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  39938. msgstr ""
  39939. #. type: item
  39940. #: guix-git/doc/guix.texi:27182
  39941. #, no-wrap
  39942. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  39943. msgstr ""
  39944. #. type: table
  39945. #: guix-git/doc/guix.texi:27185
  39946. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  39947. msgstr ""
  39948. #. type: table
  39949. #: guix-git/doc/guix.texi:27188
  39950. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  39951. msgstr ""
  39952. #. type: table
  39953. #: guix-git/doc/guix.texi:27190
  39954. msgid "This setting relates to Django."
  39955. msgstr ""
  39956. #. type: code{#1}
  39957. #: guix-git/doc/guix.texi:27191
  39958. #, no-wrap
  39959. msgid "allowed-hosts"
  39960. msgstr ""
  39961. #. type: table
  39962. #: guix-git/doc/guix.texi:27194
  39963. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  39964. msgstr ""
  39965. #. type: table
  39966. #: guix-git/doc/guix.texi:27196 guix-git/doc/guix.texi:27210
  39967. #: guix-git/doc/guix.texi:27216 guix-git/doc/guix.texi:27222
  39968. msgid "This is a Django setting."
  39969. msgstr ""
  39970. #. type: code{#1}
  39971. #: guix-git/doc/guix.texi:27197
  39972. #, no-wrap
  39973. msgid "default-from-email"
  39974. msgstr ""
  39975. #. type: table
  39976. #: guix-git/doc/guix.texi:27199
  39977. msgid "The email address from which Patchwork should send email by default."
  39978. msgstr ""
  39979. #. type: table
  39980. #: guix-git/doc/guix.texi:27201 guix-git/doc/guix.texi:27227
  39981. #: guix-git/doc/guix.texi:27232 guix-git/doc/guix.texi:27237
  39982. msgid "This is a Patchwork setting."
  39983. msgstr ""
  39984. #. type: item
  39985. #: guix-git/doc/guix.texi:27202
  39986. #, no-wrap
  39987. msgid "@code{static-url} (default: @code{#f})"
  39988. msgstr ""
  39989. #. type: table
  39990. #: guix-git/doc/guix.texi:27205
  39991. 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{/}."
  39992. msgstr ""
  39993. #. type: table
  39994. #: guix-git/doc/guix.texi:27208
  39995. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  39996. msgstr ""
  39997. #. type: item
  39998. #: guix-git/doc/guix.texi:27211
  39999. #, no-wrap
  40000. msgid "@code{admins} (default: @code{'()})"
  40001. msgstr ""
  40002. #. type: table
  40003. #: guix-git/doc/guix.texi:27214
  40004. 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."
  40005. msgstr ""
  40006. #. type: table
  40007. #: guix-git/doc/guix.texi:27220
  40008. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  40009. msgstr ""
  40010. #. type: item
  40011. #: guix-git/doc/guix.texi:27223
  40012. #, no-wrap
  40013. msgid "@code{enable-rest-api?} (default: @code{#t})"
  40014. msgstr ""
  40015. #. type: table
  40016. #: guix-git/doc/guix.texi:27225
  40017. msgid "Whether to enable the Patchwork REST API."
  40018. msgstr ""
  40019. #. type: item
  40020. #: guix-git/doc/guix.texi:27228
  40021. #, no-wrap
  40022. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  40023. msgstr ""
  40024. #. type: table
  40025. #: guix-git/doc/guix.texi:27230
  40026. msgid "Whether to enable the XML RPC API."
  40027. msgstr ""
  40028. #. type: item
  40029. #: guix-git/doc/guix.texi:27233
  40030. #, no-wrap
  40031. msgid "@code{force-https-links?} (default: @code{#t})"
  40032. msgstr ""
  40033. #. type: table
  40034. #: guix-git/doc/guix.texi:27235
  40035. msgid "Whether to use HTTPS links on Patchwork pages."
  40036. msgstr ""
  40037. #. type: table
  40038. #: guix-git/doc/guix.texi:27240
  40039. msgid "Extra code to place at the end of the Patchwork settings module."
  40040. msgstr ""
  40041. #. type: deftp
  40042. #: guix-git/doc/guix.texi:27244
  40043. #, no-wrap
  40044. msgid "{Data Type} patchwork-database-configuration"
  40045. msgstr ""
  40046. #. type: deftp
  40047. #: guix-git/doc/guix.texi:27246
  40048. msgid "Data type representing the database configuration for Patchwork."
  40049. msgstr ""
  40050. #. type: item
  40051. #: guix-git/doc/guix.texi:27248
  40052. #, no-wrap
  40053. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  40054. msgstr ""
  40055. #. type: table
  40056. #: guix-git/doc/guix.texi:27250
  40057. msgid "The database engine to use."
  40058. msgstr ""
  40059. #. type: item
  40060. #: guix-git/doc/guix.texi:27251
  40061. #, no-wrap
  40062. msgid "@code{name} (default: @code{\"patchwork\"})"
  40063. msgstr ""
  40064. #. type: table
  40065. #: guix-git/doc/guix.texi:27253
  40066. msgid "The name of the database to use."
  40067. msgstr ""
  40068. #. type: table
  40069. #: guix-git/doc/guix.texi:27256
  40070. msgid "The user to connect to the database as."
  40071. msgstr ""
  40072. #. type: item
  40073. #: guix-git/doc/guix.texi:27257
  40074. #, no-wrap
  40075. msgid "@code{password} (default: @code{\"\"})"
  40076. msgstr ""
  40077. #. type: table
  40078. #: guix-git/doc/guix.texi:27259
  40079. msgid "The password to use when connecting to the database."
  40080. msgstr ""
  40081. #. type: item
  40082. #: guix-git/doc/guix.texi:27260
  40083. #, no-wrap
  40084. msgid "@code{host} (default: @code{\"\"})"
  40085. msgstr ""
  40086. #. type: table
  40087. #: guix-git/doc/guix.texi:27262
  40088. msgid "The host to make the database connection to."
  40089. msgstr ""
  40090. #. type: item
  40091. #: guix-git/doc/guix.texi:27263
  40092. #, no-wrap
  40093. msgid "@code{port} (default: @code{\"\"})"
  40094. msgstr ""
  40095. #. type: table
  40096. #: guix-git/doc/guix.texi:27265
  40097. msgid "The port on which to connect to the database."
  40098. msgstr ""
  40099. #. type: subsubheading
  40100. #: guix-git/doc/guix.texi:27269
  40101. #, no-wrap
  40102. msgid "Mumi"
  40103. msgstr ""
  40104. #. type: cindex
  40105. #: guix-git/doc/guix.texi:27271
  40106. #, no-wrap
  40107. msgid "Mumi, Debbugs Web interface"
  40108. msgstr ""
  40109. #. type: cindex
  40110. #: guix-git/doc/guix.texi:27272
  40111. #, no-wrap
  40112. msgid "Debbugs, Mumi Web interface"
  40113. msgstr ""
  40114. #. type: Plain text
  40115. #: guix-git/doc/guix.texi:27277
  40116. 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."
  40117. msgstr ""
  40118. #. type: defvr
  40119. #: guix-git/doc/guix.texi:27278
  40120. #, no-wrap
  40121. msgid "{Scheme Variable} mumi-service-type"
  40122. msgstr ""
  40123. #. type: defvr
  40124. #: guix-git/doc/guix.texi:27280
  40125. msgid "This is the service type for Mumi."
  40126. msgstr ""
  40127. #. type: deftp
  40128. #: guix-git/doc/guix.texi:27282
  40129. #, no-wrap
  40130. msgid "{Data Type} mumi-configuration"
  40131. msgstr ""
  40132. #. type: deftp
  40133. #: guix-git/doc/guix.texi:27285
  40134. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  40135. msgstr ""
  40136. #. type: item
  40137. #: guix-git/doc/guix.texi:27287
  40138. #, no-wrap
  40139. msgid "@code{mumi} (default: @code{mumi})"
  40140. msgstr ""
  40141. #. type: table
  40142. #: guix-git/doc/guix.texi:27289
  40143. msgid "The Mumi package to use."
  40144. msgstr ""
  40145. #. type: item
  40146. #: guix-git/doc/guix.texi:27290
  40147. #, no-wrap
  40148. msgid "@code{mailer?} (default: @code{#true})"
  40149. msgstr ""
  40150. #. type: table
  40151. #: guix-git/doc/guix.texi:27292
  40152. msgid "Whether to enable or disable the mailer component."
  40153. msgstr ""
  40154. #. type: code{#1}
  40155. #: guix-git/doc/guix.texi:27293
  40156. #, no-wrap
  40157. msgid "mumi-configuration-sender"
  40158. msgstr ""
  40159. #. type: table
  40160. #: guix-git/doc/guix.texi:27295
  40161. msgid "The email address used as the sender for comments."
  40162. msgstr ""
  40163. #. type: code{#1}
  40164. #: guix-git/doc/guix.texi:27296
  40165. #, no-wrap
  40166. msgid "mumi-configuration-smtp"
  40167. msgstr ""
  40168. #. type: table
  40169. #: guix-git/doc/guix.texi:27301
  40170. 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}."
  40171. msgstr ""
  40172. #. type: subsubheading
  40173. #: guix-git/doc/guix.texi:27306
  40174. #, no-wrap
  40175. msgid "FastCGI"
  40176. msgstr ""
  40177. #. type: cindex
  40178. #: guix-git/doc/guix.texi:27307
  40179. #, no-wrap
  40180. msgid "fastcgi"
  40181. msgstr ""
  40182. #. type: cindex
  40183. #: guix-git/doc/guix.texi:27308
  40184. #, no-wrap
  40185. msgid "fcgiwrap"
  40186. msgstr ""
  40187. #. type: Plain text
  40188. #: guix-git/doc/guix.texi:27315
  40189. 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."
  40190. msgstr ""
  40191. #. type: Plain text
  40192. #: guix-git/doc/guix.texi:27322
  40193. 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."
  40194. msgstr ""
  40195. #. type: defvr
  40196. #: guix-git/doc/guix.texi:27323
  40197. #, no-wrap
  40198. msgid "{Scheme Variable} fcgiwrap-service-type"
  40199. msgstr ""
  40200. #. type: defvr
  40201. #: guix-git/doc/guix.texi:27325
  40202. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  40203. msgstr ""
  40204. #. type: deftp
  40205. #: guix-git/doc/guix.texi:27327
  40206. #, no-wrap
  40207. msgid "{Data Type} fcgiwrap-configuration"
  40208. msgstr ""
  40209. #. type: deftp
  40210. #: guix-git/doc/guix.texi:27330
  40211. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  40212. msgstr ""
  40213. #. type: item
  40214. #: guix-git/doc/guix.texi:27331
  40215. #, no-wrap
  40216. msgid "@code{package} (default: @code{fcgiwrap})"
  40217. msgstr ""
  40218. #. type: table
  40219. #: guix-git/doc/guix.texi:27333
  40220. msgid "The fcgiwrap package to use."
  40221. msgstr ""
  40222. #. type: item
  40223. #: guix-git/doc/guix.texi:27334
  40224. #, no-wrap
  40225. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  40226. msgstr ""
  40227. #. type: table
  40228. #: guix-git/doc/guix.texi:27340
  40229. 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}."
  40230. msgstr ""
  40231. #. type: item
  40232. #: guix-git/doc/guix.texi:27341
  40233. #, no-wrap
  40234. msgid "@code{user} (default: @code{fcgiwrap})"
  40235. msgstr ""
  40236. #. type: itemx
  40237. #: guix-git/doc/guix.texi:27342
  40238. #, no-wrap
  40239. msgid "@code{group} (default: @code{fcgiwrap})"
  40240. msgstr ""
  40241. #. type: table
  40242. #: guix-git/doc/guix.texi:27347
  40243. 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."
  40244. msgstr ""
  40245. #. type: table
  40246. #: guix-git/doc/guix.texi:27354
  40247. 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."
  40248. msgstr ""
  40249. #. type: subsubheading
  40250. #: guix-git/doc/guix.texi:27358
  40251. #, no-wrap
  40252. msgid "PHP-FPM"
  40253. msgstr ""
  40254. #. type: cindex
  40255. #: guix-git/doc/guix.texi:27359
  40256. #, no-wrap
  40257. msgid "php-fpm"
  40258. msgstr ""
  40259. #. type: Plain text
  40260. #: guix-git/doc/guix.texi:27362
  40261. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  40262. msgstr ""
  40263. #. type: Plain text
  40264. #: guix-git/doc/guix.texi:27364
  40265. msgid "These features include:"
  40266. msgstr ""
  40267. #. type: item
  40268. #: guix-git/doc/guix.texi:27365
  40269. #, no-wrap
  40270. msgid "Adaptive process spawning"
  40271. msgstr ""
  40272. #. type: item
  40273. #: guix-git/doc/guix.texi:27366
  40274. #, no-wrap
  40275. msgid "Basic statistics (similar to Apache's mod_status)"
  40276. msgstr ""
  40277. #. type: item
  40278. #: guix-git/doc/guix.texi:27367
  40279. #, no-wrap
  40280. msgid "Advanced process management with graceful stop/start"
  40281. msgstr ""
  40282. #. type: item
  40283. #: guix-git/doc/guix.texi:27368
  40284. #, no-wrap
  40285. msgid "Ability to start workers with different uid/gid/chroot/environment"
  40286. msgstr ""
  40287. #. type: itemize
  40288. #: guix-git/doc/guix.texi:27370
  40289. msgid "and different php.ini (replaces safe_mode)"
  40290. msgstr ""
  40291. #. type: item
  40292. #: guix-git/doc/guix.texi:27370
  40293. #, no-wrap
  40294. msgid "Stdout & stderr logging"
  40295. msgstr ""
  40296. #. type: item
  40297. #: guix-git/doc/guix.texi:27371
  40298. #, no-wrap
  40299. msgid "Emergency restart in case of accidental opcode cache destruction"
  40300. msgstr ""
  40301. #. type: item
  40302. #: guix-git/doc/guix.texi:27372
  40303. #, no-wrap
  40304. msgid "Accelerated upload support"
  40305. msgstr ""
  40306. #. type: item
  40307. #: guix-git/doc/guix.texi:27373
  40308. #, no-wrap
  40309. msgid "Support for a \"slowlog\""
  40310. msgstr ""
  40311. #. type: item
  40312. #: guix-git/doc/guix.texi:27374
  40313. #, no-wrap
  40314. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  40315. msgstr ""
  40316. #. type: itemize
  40317. #: guix-git/doc/guix.texi:27377
  40318. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  40319. msgstr ""
  40320. #. type: Plain text
  40321. #: guix-git/doc/guix.texi:27379
  40322. msgid "...@: and much more."
  40323. msgstr ""
  40324. #. type: defvr
  40325. #: guix-git/doc/guix.texi:27380
  40326. #, no-wrap
  40327. msgid "{Scheme Variable} php-fpm-service-type"
  40328. msgstr ""
  40329. #. type: defvr
  40330. #: guix-git/doc/guix.texi:27382
  40331. msgid "A Service type for @code{php-fpm}."
  40332. msgstr ""
  40333. #. type: deftp
  40334. #: guix-git/doc/guix.texi:27384
  40335. #, no-wrap
  40336. msgid "{Data Type} php-fpm-configuration"
  40337. msgstr ""
  40338. #. type: deftp
  40339. #: guix-git/doc/guix.texi:27386
  40340. msgid "Data Type for php-fpm service configuration."
  40341. msgstr ""
  40342. #. type: item
  40343. #: guix-git/doc/guix.texi:27387
  40344. #, no-wrap
  40345. msgid "@code{php} (default: @code{php})"
  40346. msgstr ""
  40347. #. type: table
  40348. #: guix-git/doc/guix.texi:27389
  40349. msgid "The php package to use."
  40350. msgstr ""
  40351. #. type: item
  40352. #: guix-git/doc/guix.texi:27389
  40353. #, no-wrap
  40354. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  40355. msgstr ""
  40356. #. type: table
  40357. #: guix-git/doc/guix.texi:27391
  40358. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  40359. msgstr ""
  40360. #. type: code{#1}
  40361. #: guix-git/doc/guix.texi:27392
  40362. #, no-wrap
  40363. msgid "\"ip.add.re.ss:port\""
  40364. msgstr ""
  40365. #. type: table
  40366. #: guix-git/doc/guix.texi:27394
  40367. msgid "Listen on a TCP socket to a specific address on a specific port."
  40368. msgstr ""
  40369. #. type: code{#1}
  40370. #: guix-git/doc/guix.texi:27394
  40371. #, no-wrap
  40372. msgid "\"port\""
  40373. msgstr ""
  40374. #. type: table
  40375. #: guix-git/doc/guix.texi:27396
  40376. msgid "Listen on a TCP socket to all addresses on a specific port."
  40377. msgstr ""
  40378. #. type: code{#1}
  40379. #: guix-git/doc/guix.texi:27396
  40380. #, no-wrap
  40381. msgid "\"/path/to/unix/socket\""
  40382. msgstr ""
  40383. #. type: table
  40384. #: guix-git/doc/guix.texi:27398
  40385. msgid "Listen on a unix socket."
  40386. msgstr ""
  40387. #. type: item
  40388. #: guix-git/doc/guix.texi:27400
  40389. #, no-wrap
  40390. msgid "@code{user} (default: @code{php-fpm})"
  40391. msgstr ""
  40392. #. type: table
  40393. #: guix-git/doc/guix.texi:27402
  40394. msgid "User who will own the php worker processes."
  40395. msgstr ""
  40396. #. type: item
  40397. #: guix-git/doc/guix.texi:27402
  40398. #, no-wrap
  40399. msgid "@code{group} (default: @code{php-fpm})"
  40400. msgstr ""
  40401. #. type: table
  40402. #: guix-git/doc/guix.texi:27404
  40403. msgid "Group of the worker processes."
  40404. msgstr ""
  40405. #. type: item
  40406. #: guix-git/doc/guix.texi:27404
  40407. #, no-wrap
  40408. msgid "@code{socket-user} (default: @code{php-fpm})"
  40409. msgstr ""
  40410. #. type: table
  40411. #: guix-git/doc/guix.texi:27406
  40412. msgid "User who can speak to the php-fpm socket."
  40413. msgstr ""
  40414. #. type: item
  40415. #: guix-git/doc/guix.texi:27406
  40416. #, no-wrap
  40417. msgid "@code{socket-group} (default: @code{nginx})"
  40418. msgstr ""
  40419. #. type: table
  40420. #: guix-git/doc/guix.texi:27408
  40421. msgid "Group that can speak to the php-fpm socket."
  40422. msgstr ""
  40423. #. type: item
  40424. #: guix-git/doc/guix.texi:27408
  40425. #, no-wrap
  40426. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  40427. msgstr ""
  40428. #. type: table
  40429. #: guix-git/doc/guix.texi:27411
  40430. msgid "The process id of the php-fpm process is written to this file once the service has started."
  40431. msgstr ""
  40432. #. type: item
  40433. #: guix-git/doc/guix.texi:27411
  40434. #, no-wrap
  40435. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  40436. msgstr ""
  40437. #. type: table
  40438. #: guix-git/doc/guix.texi:27413
  40439. msgid "Log for the php-fpm master process."
  40440. msgstr ""
  40441. #. type: item
  40442. #: guix-git/doc/guix.texi:27413
  40443. #, no-wrap
  40444. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  40445. msgstr ""
  40446. #. type: table
  40447. #: guix-git/doc/guix.texi:27416
  40448. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  40449. msgstr ""
  40450. #. type: code{#1}
  40451. #: guix-git/doc/guix.texi:27417
  40452. #, no-wrap
  40453. msgid "<php-fpm-dynamic-process-manager-configuration>"
  40454. msgstr ""
  40455. #. type: code{#1}
  40456. #: guix-git/doc/guix.texi:27418
  40457. #, no-wrap
  40458. msgid "<php-fpm-static-process-manager-configuration>"
  40459. msgstr ""
  40460. #. type: code{#1}
  40461. #: guix-git/doc/guix.texi:27419
  40462. #, no-wrap
  40463. msgid "<php-fpm-on-demand-process-manager-configuration>"
  40464. msgstr ""
  40465. #. type: item
  40466. #: guix-git/doc/guix.texi:27421
  40467. #, no-wrap
  40468. msgid "@code{display-errors} (default @code{#f})"
  40469. msgstr ""
  40470. #. type: table
  40471. #: guix-git/doc/guix.texi:27426
  40472. 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."
  40473. msgstr ""
  40474. #. type: item
  40475. #: guix-git/doc/guix.texi:27426
  40476. #, no-wrap
  40477. msgid "@code{timezone} (default @code{#f})"
  40478. msgstr ""
  40479. #. type: table
  40480. #: guix-git/doc/guix.texi:27428
  40481. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  40482. msgstr ""
  40483. #. type: item
  40484. #: guix-git/doc/guix.texi:27428
  40485. #, no-wrap
  40486. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  40487. msgstr ""
  40488. #. type: table
  40489. #: guix-git/doc/guix.texi:27431
  40490. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  40491. msgstr ""
  40492. #. type: item
  40493. #: guix-git/doc/guix.texi:27431
  40494. #, no-wrap
  40495. msgid "@code{file} (default @code{#f})"
  40496. msgstr ""
  40497. #. type: table
  40498. #: guix-git/doc/guix.texi:27434
  40499. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  40500. msgstr ""
  40501. #. type: item
  40502. #: guix-git/doc/guix.texi:27434
  40503. #, no-wrap
  40504. msgid "@code{php-ini-file} (default @code{#f})"
  40505. msgstr ""
  40506. #. type: table
  40507. #: guix-git/doc/guix.texi:27438
  40508. 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."
  40509. msgstr ""
  40510. #. type: table
  40511. #: guix-git/doc/guix.texi:27442
  40512. 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:"
  40513. msgstr ""
  40514. #. type: lisp
  40515. #: guix-git/doc/guix.texi:27447
  40516. #, no-wrap
  40517. msgid ""
  40518. "(define %local-php-ini\n"
  40519. " (plain-file \"php.ini\"\n"
  40520. " \"memory_limit = 2G\n"
  40521. "max_execution_time = 1800\"))\n"
  40522. "\n"
  40523. msgstr ""
  40524. #. type: lisp
  40525. #: guix-git/doc/guix.texi:27454
  40526. #, no-wrap
  40527. msgid ""
  40528. "(operating-system\n"
  40529. " ;; @dots{}\n"
  40530. " (services (cons (service php-fpm-service-type\n"
  40531. " (php-fpm-configuration\n"
  40532. " (php-ini-file %local-php-ini)))\n"
  40533. " %base-services)))\n"
  40534. msgstr ""
  40535. #. type: table
  40536. #: guix-git/doc/guix.texi:27459
  40537. 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."
  40538. msgstr ""
  40539. #. type: deftp
  40540. #: guix-git/doc/guix.texi:27462
  40541. #, no-wrap
  40542. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  40543. msgstr ""
  40544. #. type: deftp
  40545. #: guix-git/doc/guix.texi:27466
  40546. 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."
  40547. msgstr ""
  40548. #. type: item
  40549. #: guix-git/doc/guix.texi:27467 guix-git/doc/guix.texi:27483
  40550. #: guix-git/doc/guix.texi:27493
  40551. #, no-wrap
  40552. msgid "@code{max-children} (default: @code{5})"
  40553. msgstr ""
  40554. #. type: table
  40555. #: guix-git/doc/guix.texi:27469 guix-git/doc/guix.texi:27485
  40556. #: guix-git/doc/guix.texi:27495
  40557. msgid "Maximum of worker processes."
  40558. msgstr ""
  40559. #. type: item
  40560. #: guix-git/doc/guix.texi:27469
  40561. #, no-wrap
  40562. msgid "@code{start-servers} (default: @code{2})"
  40563. msgstr ""
  40564. #. type: table
  40565. #: guix-git/doc/guix.texi:27471
  40566. msgid "How many worker processes should be started on start-up."
  40567. msgstr ""
  40568. #. type: item
  40569. #: guix-git/doc/guix.texi:27471
  40570. #, no-wrap
  40571. msgid "@code{min-spare-servers} (default: @code{1})"
  40572. msgstr ""
  40573. #. type: table
  40574. #: guix-git/doc/guix.texi:27473
  40575. msgid "How many spare worker processes should be kept around at minimum."
  40576. msgstr ""
  40577. #. type: item
  40578. #: guix-git/doc/guix.texi:27473
  40579. #, no-wrap
  40580. msgid "@code{max-spare-servers} (default: @code{3})"
  40581. msgstr ""
  40582. #. type: table
  40583. #: guix-git/doc/guix.texi:27475
  40584. msgid "How many spare worker processes should be kept around at maximum."
  40585. msgstr ""
  40586. #. type: deftp
  40587. #: guix-git/doc/guix.texi:27478
  40588. #, no-wrap
  40589. msgid "{Data type} php-fpm-static-process-manager-configuration"
  40590. msgstr ""
  40591. #. type: deftp
  40592. #: guix-git/doc/guix.texi:27482
  40593. 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."
  40594. msgstr ""
  40595. #. type: deftp
  40596. #: guix-git/doc/guix.texi:27488
  40597. #, no-wrap
  40598. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  40599. msgstr ""
  40600. #. type: deftp
  40601. #: guix-git/doc/guix.texi:27492
  40602. 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."
  40603. msgstr ""
  40604. #. type: item
  40605. #: guix-git/doc/guix.texi:27495
  40606. #, no-wrap
  40607. msgid "@code{process-idle-timeout} (default: @code{10})"
  40608. msgstr ""
  40609. #. type: table
  40610. #: guix-git/doc/guix.texi:27497
  40611. msgid "The time in seconds after which a process with no requests is killed."
  40612. msgstr ""
  40613. #. type: deffn
  40614. #: guix-git/doc/guix.texi:27501
  40615. #, no-wrap
  40616. msgid "{Scheme Procedure} nginx-php-location @"
  40617. msgstr ""
  40618. #. type: deffn
  40619. #: guix-git/doc/guix.texi:27507
  40620. 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}."
  40621. msgstr ""
  40622. #. type: Plain text
  40623. #: guix-git/doc/guix.texi:27510
  40624. msgid "A simple services setup for nginx with php can look like this:"
  40625. msgstr ""
  40626. #. type: lisp
  40627. #: guix-git/doc/guix.texi:27523
  40628. #, no-wrap
  40629. msgid ""
  40630. "(services (cons* (service dhcp-client-service-type)\n"
  40631. " (service php-fpm-service-type)\n"
  40632. " (service nginx-service-type\n"
  40633. " (nginx-server-configuration\n"
  40634. " (server-name '(\"example.com\"))\n"
  40635. " (root \"/srv/http/\")\n"
  40636. " (locations\n"
  40637. " (list (nginx-php-location)))\n"
  40638. " (listen '(\"80\"))\n"
  40639. " (ssl-certificate #f)\n"
  40640. " (ssl-certificate-key #f)))\n"
  40641. " %base-services))\n"
  40642. msgstr ""
  40643. #. type: cindex
  40644. #: guix-git/doc/guix.texi:27525
  40645. #, no-wrap
  40646. msgid "cat-avatar-generator"
  40647. msgstr ""
  40648. #. type: Plain text
  40649. #: guix-git/doc/guix.texi:27529
  40650. 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."
  40651. msgstr ""
  40652. #. type: deffn
  40653. #: guix-git/doc/guix.texi:27530
  40654. #, no-wrap
  40655. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  40656. msgstr ""
  40657. #. type: deffn
  40658. #: guix-git/doc/guix.texi:27538
  40659. 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."
  40660. msgstr ""
  40661. #. type: Plain text
  40662. #: guix-git/doc/guix.texi:27541
  40663. msgid "A simple setup for cat-avatar-generator can look like this:"
  40664. msgstr ""
  40665. #. type: lisp
  40666. #: guix-git/doc/guix.texi:27548
  40667. #, no-wrap
  40668. msgid ""
  40669. "(services (cons* (cat-avatar-generator-service\n"
  40670. " #:configuration\n"
  40671. " (nginx-server-configuration\n"
  40672. " (server-name '(\"example.com\"))))\n"
  40673. " ...\n"
  40674. " %base-services))\n"
  40675. msgstr ""
  40676. #. type: subsubheading
  40677. #: guix-git/doc/guix.texi:27550
  40678. #, no-wrap
  40679. msgid "Hpcguix-web"
  40680. msgstr ""
  40681. #. type: cindex
  40682. #: guix-git/doc/guix.texi:27552
  40683. #, no-wrap
  40684. msgid "hpcguix-web"
  40685. msgstr ""
  40686. #. type: Plain text
  40687. #: guix-git/doc/guix.texi:27557
  40688. 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."
  40689. msgstr ""
  40690. #. type: defvr
  40691. #: guix-git/doc/guix.texi:27558
  40692. #, no-wrap
  40693. msgid "{Scheme Variable} hpcguix-web-service-type"
  40694. msgstr ""
  40695. #. type: defvr
  40696. #: guix-git/doc/guix.texi:27560
  40697. msgid "The service type for @code{hpcguix-web}."
  40698. msgstr ""
  40699. #. type: deftp
  40700. #: guix-git/doc/guix.texi:27562
  40701. #, no-wrap
  40702. msgid "{Data Type} hpcguix-web-configuration"
  40703. msgstr ""
  40704. #. type: deftp
  40705. #: guix-git/doc/guix.texi:27564
  40706. msgid "Data type for the hpcguix-web service configuration."
  40707. msgstr ""
  40708. #. type: code{#1}
  40709. #: guix-git/doc/guix.texi:27566
  40710. #, no-wrap
  40711. msgid "specs"
  40712. msgstr ""
  40713. #. type: table
  40714. #: guix-git/doc/guix.texi:27569
  40715. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  40716. msgstr ""
  40717. #. type: item
  40718. #: guix-git/doc/guix.texi:27571
  40719. #, no-wrap
  40720. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  40721. msgstr ""
  40722. #. type: table
  40723. #: guix-git/doc/guix.texi:27573
  40724. msgid "The page title prefix."
  40725. msgstr ""
  40726. #. type: item
  40727. #: guix-git/doc/guix.texi:27574
  40728. #, no-wrap
  40729. msgid "@code{guix-command} (default: @code{\"guix\"})"
  40730. msgstr ""
  40731. #. type: table
  40732. #: guix-git/doc/guix.texi:27576
  40733. msgid "The @command{guix} command."
  40734. msgstr ""
  40735. #. type: item
  40736. #: guix-git/doc/guix.texi:27577
  40737. #, no-wrap
  40738. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  40739. msgstr ""
  40740. #. type: table
  40741. #: guix-git/doc/guix.texi:27579
  40742. msgid "A procedure specifying how to filter packages that are displayed."
  40743. msgstr ""
  40744. #. type: item
  40745. #: guix-git/doc/guix.texi:27580
  40746. #, no-wrap
  40747. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  40748. msgstr ""
  40749. #. type: table
  40750. #: guix-git/doc/guix.texi:27582
  40751. msgid "Extension package for @code{hpcguix-web}."
  40752. msgstr ""
  40753. #. type: item
  40754. #: guix-git/doc/guix.texi:27583
  40755. #, no-wrap
  40756. msgid "@code{menu} (default: @code{'()})"
  40757. msgstr ""
  40758. #. type: table
  40759. #: guix-git/doc/guix.texi:27585
  40760. msgid "Additional entry in page @code{menu}."
  40761. msgstr ""
  40762. #. type: item
  40763. #: guix-git/doc/guix.texi:27586
  40764. #, no-wrap
  40765. msgid "@code{channels} (default: @code{%default-channels})"
  40766. msgstr ""
  40767. #. type: table
  40768. #: guix-git/doc/guix.texi:27588
  40769. msgid "List of channels from which the package list is built (@pxref{Channels})."
  40770. msgstr ""
  40771. #. type: item
  40772. #: guix-git/doc/guix.texi:27589
  40773. #, no-wrap
  40774. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  40775. msgstr ""
  40776. #. type: table
  40777. #: guix-git/doc/guix.texi:27592
  40778. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  40779. msgstr ""
  40780. #. type: table
  40781. #: guix-git/doc/guix.texi:27597
  40782. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  40783. msgstr ""
  40784. #. type: item
  40785. #: guix-git/doc/guix.texi:27598
  40786. #, no-wrap
  40787. msgid "@code{package} (default: @code{hpcguix-web})"
  40788. msgstr ""
  40789. #. type: table
  40790. #: guix-git/doc/guix.texi:27600
  40791. msgid "The hpcguix-web package to use."
  40792. msgstr ""
  40793. #. type: item
  40794. #: guix-git/doc/guix.texi:27601
  40795. #, no-wrap
  40796. msgid "@code{address} (default: @code{\"127.0.0.1\"})"
  40797. msgstr ""
  40798. #. type: table
  40799. #: guix-git/doc/guix.texi:27603
  40800. msgid "The IP address to listen to."
  40801. msgstr ""
  40802. #. type: item
  40803. #: guix-git/doc/guix.texi:27604
  40804. #, no-wrap
  40805. msgid "@code{port} (default: @code{5000})"
  40806. msgstr ""
  40807. #. type: table
  40808. #: guix-git/doc/guix.texi:27606
  40809. msgid "The port number to listen to."
  40810. msgstr ""
  40811. #. type: Plain text
  40812. #: guix-git/doc/guix.texi:27610
  40813. msgid "A typical hpcguix-web service declaration looks like this:"
  40814. msgstr ""
  40815. #. type: lisp
  40816. #: guix-git/doc/guix.texi:27619
  40817. #, no-wrap
  40818. msgid ""
  40819. "(service hpcguix-web-service-type\n"
  40820. " (hpcguix-web-configuration\n"
  40821. " (specs\n"
  40822. " #~(define site-config\n"
  40823. " (hpcweb-configuration\n"
  40824. " (title-prefix \"Guix-HPC - \")\n"
  40825. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  40826. msgstr ""
  40827. #. type: quotation
  40828. #: guix-git/doc/guix.texi:27626
  40829. 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."
  40830. msgstr ""
  40831. #. type: quotation
  40832. #: guix-git/doc/guix.texi:27630
  40833. 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."
  40834. msgstr ""
  40835. #. type: cindex
  40836. #: guix-git/doc/guix.texi:27632 guix-git/doc/guix.texi:27634
  40837. #, no-wrap
  40838. msgid "gmnisrv"
  40839. msgstr ""
  40840. #. type: Plain text
  40841. #: guix-git/doc/guix.texi:27637
  40842. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  40843. msgstr ""
  40844. #. type: deffn
  40845. #: guix-git/doc/guix.texi:27638
  40846. #, no-wrap
  40847. msgid "{Scheme Variable} gmnisrv-service-type"
  40848. msgstr ""
  40849. #. type: deffn
  40850. #: guix-git/doc/guix.texi:27641
  40851. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  40852. msgstr ""
  40853. #. type: lisp
  40854. #: guix-git/doc/guix.texi:27646
  40855. #, no-wrap
  40856. msgid ""
  40857. "(service gmnisrv-service-type\n"
  40858. " (gmnisrv-configuration\n"
  40859. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  40860. msgstr ""
  40861. #. type: deftp
  40862. #: guix-git/doc/guix.texi:27649
  40863. #, no-wrap
  40864. msgid "{Data Type} gmnisrv-configuration"
  40865. msgstr ""
  40866. #. type: deftp
  40867. #: guix-git/doc/guix.texi:27651
  40868. msgid "Data type representing the configuration of gmnisrv."
  40869. msgstr ""
  40870. #. type: item
  40871. #: guix-git/doc/guix.texi:27653
  40872. #, no-wrap
  40873. msgid "@code{package} (default: @var{gmnisrv})"
  40874. msgstr ""
  40875. #. type: table
  40876. #: guix-git/doc/guix.texi:27655
  40877. msgid "Package object of the gmnisrv server."
  40878. msgstr ""
  40879. #. type: item
  40880. #: guix-git/doc/guix.texi:27656
  40881. #, no-wrap
  40882. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  40883. msgstr ""
  40884. #. type: table
  40885. #: guix-git/doc/guix.texi:27662
  40886. 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}."
  40887. msgstr ""
  40888. #. type: subsubheading
  40889. #: guix-git/doc/guix.texi:27666
  40890. #, no-wrap
  40891. msgid "Agate"
  40892. msgstr ""
  40893. #. type: cindex
  40894. #: guix-git/doc/guix.texi:27668
  40895. #, no-wrap
  40896. msgid "agate"
  40897. msgstr ""
  40898. #. type: Plain text
  40899. #: guix-git/doc/guix.texi:27673
  40900. 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."
  40901. msgstr ""
  40902. #. type: deffn
  40903. #: guix-git/doc/guix.texi:27674
  40904. #, no-wrap
  40905. msgid "{Scheme Variable} agate-service-type"
  40906. msgstr ""
  40907. #. type: deffn
  40908. #: guix-git/doc/guix.texi:27677
  40909. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  40910. msgstr ""
  40911. #. type: lisp
  40912. #: guix-git/doc/guix.texi:27684
  40913. #, no-wrap
  40914. msgid ""
  40915. "(service agate-service-type\n"
  40916. "\t (agate-configuration\n"
  40917. "\t (content \"/srv/gemini\")\n"
  40918. "\t (cert \"/srv/cert.pem\")\n"
  40919. "\t (key \"/srv/key.rsa\")))\n"
  40920. msgstr ""
  40921. #. type: deffn
  40922. #: guix-git/doc/guix.texi:27689
  40923. 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."
  40924. msgstr ""
  40925. #. type: deffn
  40926. #: guix-git/doc/guix.texi:27692
  40927. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  40928. msgstr ""
  40929. #. type: example
  40930. #: guix-git/doc/guix.texi:27696
  40931. #, no-wrap
  40932. msgid ""
  40933. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  40934. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  40935. msgstr ""
  40936. #. type: deffn
  40937. #: guix-git/doc/guix.texi:27701
  40938. 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."
  40939. msgstr ""
  40940. #. type: deftp
  40941. #: guix-git/doc/guix.texi:27704
  40942. #, no-wrap
  40943. msgid "{Data Type} agate-configuration"
  40944. msgstr ""
  40945. #. type: deftp
  40946. #: guix-git/doc/guix.texi:27706
  40947. msgid "Data type representing the configuration of Agate."
  40948. msgstr ""
  40949. #. type: item
  40950. #: guix-git/doc/guix.texi:27708
  40951. #, no-wrap
  40952. msgid "@code{package} (default: @code{agate})"
  40953. msgstr ""
  40954. #. type: table
  40955. #: guix-git/doc/guix.texi:27710
  40956. msgid "The package object of the Agate server."
  40957. msgstr ""
  40958. #. type: item
  40959. #: guix-git/doc/guix.texi:27711
  40960. #, no-wrap
  40961. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  40962. msgstr ""
  40963. #. type: table
  40964. #: guix-git/doc/guix.texi:27713
  40965. msgid "The directory from which Agate will serve files."
  40966. msgstr ""
  40967. #. type: item
  40968. #: guix-git/doc/guix.texi:27714
  40969. #, no-wrap
  40970. msgid "@code{cert} (default: @code{#f})"
  40971. msgstr ""
  40972. #. type: table
  40973. #: guix-git/doc/guix.texi:27717
  40974. 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."
  40975. msgstr ""
  40976. #. type: item
  40977. #: guix-git/doc/guix.texi:27718 guix-git/doc/guix.texi:28154
  40978. #, no-wrap
  40979. msgid "@code{key} (default: @code{#f})"
  40980. msgstr ""
  40981. #. type: table
  40982. #: guix-git/doc/guix.texi:27721
  40983. 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."
  40984. msgstr ""
  40985. #. type: item
  40986. #: guix-git/doc/guix.texi:27722
  40987. #, no-wrap
  40988. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  40989. msgstr ""
  40990. #. type: table
  40991. #: guix-git/doc/guix.texi:27724
  40992. msgid "A list of the addresses to listen on."
  40993. msgstr ""
  40994. #. type: table
  40995. #: guix-git/doc/guix.texi:27727
  40996. msgid "The domain name of this Gemini server. Optional."
  40997. msgstr ""
  40998. #. type: item
  40999. #: guix-git/doc/guix.texi:27728
  41000. #, no-wrap
  41001. msgid "@code{lang} (default: @code{#f})"
  41002. msgstr ""
  41003. #. type: table
  41004. #: guix-git/doc/guix.texi:27730
  41005. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  41006. msgstr ""
  41007. #. type: item
  41008. #: guix-git/doc/guix.texi:27731
  41009. #, no-wrap
  41010. msgid "@code{silent?} (default: @code{#f})"
  41011. msgstr ""
  41012. #. type: table
  41013. #: guix-git/doc/guix.texi:27733
  41014. msgid "Set to @code{#t} to disable logging output."
  41015. msgstr ""
  41016. #. type: item
  41017. #: guix-git/doc/guix.texi:27734
  41018. #, no-wrap
  41019. msgid "@code{serve-secret?} (default: @code{#f})"
  41020. msgstr ""
  41021. #. type: table
  41022. #: guix-git/doc/guix.texi:27737
  41023. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  41024. msgstr ""
  41025. #. type: item
  41026. #: guix-git/doc/guix.texi:27738
  41027. #, no-wrap
  41028. msgid "@code{log-ip?} (default: @code{#t})"
  41029. msgstr ""
  41030. #. type: table
  41031. #: guix-git/doc/guix.texi:27740
  41032. msgid "Whether or not to output IP addresses when logging."
  41033. msgstr ""
  41034. #. type: item
  41035. #: guix-git/doc/guix.texi:27741
  41036. #, no-wrap
  41037. msgid "@code{user} (default: @code{\"agate\"})"
  41038. msgstr ""
  41039. #. type: table
  41040. #: guix-git/doc/guix.texi:27743
  41041. msgid "Owner of the @code{agate} process."
  41042. msgstr ""
  41043. #. type: item
  41044. #: guix-git/doc/guix.texi:27744
  41045. #, no-wrap
  41046. msgid "@code{group} (default: @code{\"agate\"})"
  41047. msgstr ""
  41048. #. type: table
  41049. #: guix-git/doc/guix.texi:27746
  41050. msgid "Owner's group of the @code{agate} process."
  41051. msgstr ""
  41052. #. type: item
  41053. #: guix-git/doc/guix.texi:27747
  41054. #, no-wrap
  41055. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  41056. msgstr ""
  41057. #. type: table
  41058. #: guix-git/doc/guix.texi:27749
  41059. msgid "The file which should store the logging output of Agate."
  41060. msgstr ""
  41061. #. type: cindex
  41062. #: guix-git/doc/guix.texi:27756
  41063. #, no-wrap
  41064. msgid "Web"
  41065. msgstr ""
  41066. #. type: cindex
  41067. #: guix-git/doc/guix.texi:27757
  41068. #, no-wrap
  41069. msgid "HTTP, HTTPS"
  41070. msgstr ""
  41071. #. type: cindex
  41072. #: guix-git/doc/guix.texi:27758
  41073. #, no-wrap
  41074. msgid "Let's Encrypt"
  41075. msgstr ""
  41076. #. type: cindex
  41077. #: guix-git/doc/guix.texi:27759
  41078. #, no-wrap
  41079. msgid "TLS certificates"
  41080. msgstr ""
  41081. #. type: Plain text
  41082. #: guix-git/doc/guix.texi:27766
  41083. 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."
  41084. msgstr ""
  41085. #. type: Plain text
  41086. #: guix-git/doc/guix.texi:27778
  41087. 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."
  41088. msgstr ""
  41089. #. type: Plain text
  41090. #: guix-git/doc/guix.texi:27785
  41091. 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)."
  41092. msgstr ""
  41093. #. type: Plain text
  41094. #: guix-git/doc/guix.texi:27791
  41095. 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."
  41096. msgstr ""
  41097. #. type: Plain text
  41098. #: guix-git/doc/guix.texi:27795
  41099. 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}."
  41100. msgstr ""
  41101. #. type: defvr
  41102. #: guix-git/doc/guix.texi:27796
  41103. #, no-wrap
  41104. msgid "{Scheme Variable} certbot-service-type"
  41105. msgstr ""
  41106. #. type: defvr
  41107. #: guix-git/doc/guix.texi:27799
  41108. 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:"
  41109. msgstr ""
  41110. #. type: lisp
  41111. #: guix-git/doc/guix.texi:27806
  41112. #, no-wrap
  41113. msgid ""
  41114. "(define %nginx-deploy-hook\n"
  41115. " (program-file\n"
  41116. " \"nginx-deploy-hook\"\n"
  41117. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  41118. " (kill pid SIGHUP))))\n"
  41119. "\n"
  41120. msgstr ""
  41121. #. type: lisp
  41122. #: guix-git/doc/guix.texi:27817
  41123. #, no-wrap
  41124. msgid ""
  41125. "(service certbot-service-type\n"
  41126. " (certbot-configuration\n"
  41127. " (email \"foo@@example.net\")\n"
  41128. " (certificates\n"
  41129. " (list\n"
  41130. " (certificate-configuration\n"
  41131. " (domains '(\"example.net\" \"www.example.net\"))\n"
  41132. " (deploy-hook %nginx-deploy-hook))\n"
  41133. " (certificate-configuration\n"
  41134. " (domains '(\"bar.example.net\")))))))\n"
  41135. msgstr ""
  41136. #. type: defvr
  41137. #: guix-git/doc/guix.texi:27820
  41138. msgid "See below for details about @code{certbot-configuration}."
  41139. msgstr ""
  41140. #. type: deftp
  41141. #: guix-git/doc/guix.texi:27822
  41142. #, no-wrap
  41143. msgid "{Data Type} certbot-configuration"
  41144. msgstr ""
  41145. #. type: deftp
  41146. #: guix-git/doc/guix.texi:27825
  41147. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  41148. msgstr ""
  41149. #. type: item
  41150. #: guix-git/doc/guix.texi:27827
  41151. #, no-wrap
  41152. msgid "@code{package} (default: @code{certbot})"
  41153. msgstr ""
  41154. #. type: table
  41155. #: guix-git/doc/guix.texi:27829
  41156. msgid "The certbot package to use."
  41157. msgstr ""
  41158. #. type: item
  41159. #: guix-git/doc/guix.texi:27830
  41160. #, no-wrap
  41161. msgid "@code{webroot} (default: @code{/var/www})"
  41162. msgstr ""
  41163. #. type: table
  41164. #: guix-git/doc/guix.texi:27833
  41165. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  41166. msgstr ""
  41167. #. type: item
  41168. #: guix-git/doc/guix.texi:27834
  41169. #, no-wrap
  41170. msgid "@code{certificates} (default: @code{()})"
  41171. msgstr ""
  41172. #. type: table
  41173. #: guix-git/doc/guix.texi:27838
  41174. 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}."
  41175. msgstr ""
  41176. #. type: item
  41177. #: guix-git/doc/guix.texi:27839
  41178. #, no-wrap
  41179. msgid "@code{email} (default: @code{#f})"
  41180. msgstr ""
  41181. #. type: table
  41182. #: guix-git/doc/guix.texi:27843
  41183. 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."
  41184. msgstr ""
  41185. #. type: item
  41186. #: guix-git/doc/guix.texi:27844 guix-git/doc/guix.texi:29591
  41187. #, no-wrap
  41188. msgid "@code{server} (default: @code{#f})"
  41189. msgstr ""
  41190. #. type: table
  41191. #: guix-git/doc/guix.texi:27847
  41192. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  41193. msgstr ""
  41194. #. type: item
  41195. #: guix-git/doc/guix.texi:27848
  41196. #, no-wrap
  41197. msgid "@code{rsa-key-size} (default: @code{2048})"
  41198. msgstr ""
  41199. #. type: table
  41200. #: guix-git/doc/guix.texi:27850
  41201. msgid "Size of the RSA key."
  41202. msgstr ""
  41203. #. type: item
  41204. #: guix-git/doc/guix.texi:27851
  41205. #, no-wrap
  41206. msgid "@code{default-location} (default: @i{see below})"
  41207. msgstr ""
  41208. #. type: table
  41209. #: guix-git/doc/guix.texi:27860
  41210. 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."
  41211. msgstr ""
  41212. #. type: table
  41213. #: guix-git/doc/guix.texi:27864
  41214. 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."
  41215. msgstr ""
  41216. #. type: table
  41217. #: guix-git/doc/guix.texi:27868
  41218. 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}."
  41219. msgstr ""
  41220. #. type: table
  41221. #: guix-git/doc/guix.texi:27870
  41222. msgid "Pass @code{#f} to not issue a default location."
  41223. msgstr ""
  41224. #. type: deftp
  41225. #: guix-git/doc/guix.texi:27873
  41226. #, no-wrap
  41227. msgid "{Data Type} certificate-configuration"
  41228. msgstr ""
  41229. #. type: deftp
  41230. #: guix-git/doc/guix.texi:27876
  41231. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  41232. msgstr ""
  41233. #. type: item
  41234. #: guix-git/doc/guix.texi:27878
  41235. #, no-wrap
  41236. msgid "@code{name} (default: @i{see below})"
  41237. msgstr ""
  41238. #. type: table
  41239. #: guix-git/doc/guix.texi:27882
  41240. 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}."
  41241. msgstr ""
  41242. #. type: table
  41243. #: guix-git/doc/guix.texi:27884
  41244. msgid "Its default is the first provided domain."
  41245. msgstr ""
  41246. #. type: item
  41247. #: guix-git/doc/guix.texi:27885
  41248. #, no-wrap
  41249. msgid "@code{domains} (default: @code{()})"
  41250. msgstr ""
  41251. #. type: table
  41252. #: guix-git/doc/guix.texi:27888
  41253. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  41254. msgstr ""
  41255. #. type: item
  41256. #: guix-git/doc/guix.texi:27889
  41257. #, no-wrap
  41258. msgid "@code{challenge} (default: @code{#f})"
  41259. msgstr ""
  41260. #. type: table
  41261. #: guix-git/doc/guix.texi:27896
  41262. 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."
  41263. msgstr ""
  41264. #. type: item
  41265. #: guix-git/doc/guix.texi:27897
  41266. #, no-wrap
  41267. msgid "@code{csr} (default: @code{#f})"
  41268. msgstr ""
  41269. #. type: table
  41270. #: guix-git/doc/guix.texi:27904
  41271. 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."
  41272. msgstr ""
  41273. #. type: item
  41274. #: guix-git/doc/guix.texi:27905
  41275. #, no-wrap
  41276. msgid "@code{authentication-hook} (default: @code{#f})"
  41277. msgstr ""
  41278. #. type: table
  41279. #: guix-git/doc/guix.texi:27911
  41280. 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."
  41281. msgstr ""
  41282. #. type: item
  41283. #: guix-git/doc/guix.texi:27912
  41284. #, no-wrap
  41285. msgid "@code{cleanup-hook} (default: @code{#f})"
  41286. msgstr ""
  41287. #. type: table
  41288. #: guix-git/doc/guix.texi:27918
  41289. 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."
  41290. msgstr ""
  41291. #. type: item
  41292. #: guix-git/doc/guix.texi:27919
  41293. #, no-wrap
  41294. msgid "@code{deploy-hook} (default: @code{#f})"
  41295. msgstr ""
  41296. #. type: table
  41297. #: guix-git/doc/guix.texi:27927
  41298. 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\"}."
  41299. msgstr ""
  41300. #. type: Plain text
  41301. #: guix-git/doc/guix.texi:27934
  41302. 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}."
  41303. msgstr ""
  41304. #. type: cindex
  41305. #: guix-git/doc/guix.texi:27936
  41306. #, no-wrap
  41307. msgid "DNS (domain name system)"
  41308. msgstr ""
  41309. #. type: cindex
  41310. #: guix-git/doc/guix.texi:27937
  41311. #, no-wrap
  41312. msgid "domain name system (DNS)"
  41313. msgstr ""
  41314. #. type: Plain text
  41315. #: guix-git/doc/guix.texi:27945
  41316. 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}."
  41317. msgstr ""
  41318. #. type: subsubheading
  41319. #: guix-git/doc/guix.texi:27946
  41320. #, no-wrap
  41321. msgid "Knot Service"
  41322. msgstr ""
  41323. #. type: Plain text
  41324. #: guix-git/doc/guix.texi:27950
  41325. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  41326. msgstr ""
  41327. #. type: lisp
  41328. #: guix-git/doc/guix.texi:27957
  41329. #, no-wrap
  41330. msgid ""
  41331. "(define-zone-entries example.org.zone\n"
  41332. ";; Name TTL Class Type Data\n"
  41333. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  41334. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  41335. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  41336. "\n"
  41337. msgstr ""
  41338. #. type: lisp
  41339. #: guix-git/doc/guix.texi:27964
  41340. #, no-wrap
  41341. msgid ""
  41342. "(define master-zone\n"
  41343. " (knot-zone-configuration\n"
  41344. " (domain \"example.org\")\n"
  41345. " (zone (zone-file\n"
  41346. " (origin \"example.org\")\n"
  41347. " (entries example.org.zone)))))\n"
  41348. "\n"
  41349. msgstr ""
  41350. #. type: lisp
  41351. #: guix-git/doc/guix.texi:27970
  41352. #, no-wrap
  41353. msgid ""
  41354. "(define slave-zone\n"
  41355. " (knot-zone-configuration\n"
  41356. " (domain \"plop.org\")\n"
  41357. " (dnssec-policy \"default\")\n"
  41358. " (master (list \"plop-master\"))))\n"
  41359. "\n"
  41360. msgstr ""
  41361. #. type: lisp
  41362. #: guix-git/doc/guix.texi:27975
  41363. #, no-wrap
  41364. msgid ""
  41365. "(define plop-master\n"
  41366. " (knot-remote-configuration\n"
  41367. " (id \"plop-master\")\n"
  41368. " (address (list \"208.76.58.171\"))))\n"
  41369. "\n"
  41370. msgstr ""
  41371. #. type: lisp
  41372. #: guix-git/doc/guix.texi:27984
  41373. #, no-wrap
  41374. msgid ""
  41375. "(operating-system\n"
  41376. " ;; ...\n"
  41377. " (services (cons* (service knot-service-type\n"
  41378. " (knot-configuration\n"
  41379. " (remotes (list plop-master))\n"
  41380. " (zones (list master-zone slave-zone))))\n"
  41381. " ;; ...\n"
  41382. " %base-services)))\n"
  41383. msgstr ""
  41384. #. type: deffn
  41385. #: guix-git/doc/guix.texi:27986
  41386. #, no-wrap
  41387. msgid "{Scheme Variable} knot-service-type"
  41388. msgstr ""
  41389. #. type: deffn
  41390. #: guix-git/doc/guix.texi:27988
  41391. msgid "This is the type for the Knot DNS server."
  41392. msgstr ""
  41393. #. type: deffn
  41394. #: guix-git/doc/guix.texi:27996
  41395. 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."
  41396. msgstr ""
  41397. #. type: deffn
  41398. #: guix-git/doc/guix.texi:27998
  41399. msgid "The following data types are used to configure the Knot DNS server:"
  41400. msgstr ""
  41401. #. type: deftp
  41402. #: guix-git/doc/guix.texi:28000
  41403. #, no-wrap
  41404. msgid "{Data Type} knot-key-configuration"
  41405. msgstr ""
  41406. #. type: deftp
  41407. #: guix-git/doc/guix.texi:28003
  41408. msgid "Data type representing a key. This type has the following parameters:"
  41409. msgstr ""
  41410. #. type: item
  41411. #: guix-git/doc/guix.texi:28005 guix-git/doc/guix.texi:28025
  41412. #: guix-git/doc/guix.texi:28140 guix-git/doc/guix.texi:28166
  41413. #: guix-git/doc/guix.texi:28201
  41414. #, no-wrap
  41415. msgid "@code{id} (default: @code{\"\"})"
  41416. msgstr ""
  41417. #. type: table
  41418. #: guix-git/doc/guix.texi:28008 guix-git/doc/guix.texi:28028
  41419. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  41420. msgstr ""
  41421. #. type: item
  41422. #: guix-git/doc/guix.texi:28009
  41423. #, no-wrap
  41424. msgid "@code{algorithm} (default: @code{#f})"
  41425. msgstr ""
  41426. #. type: table
  41427. #: guix-git/doc/guix.texi:28013
  41428. 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}."
  41429. msgstr ""
  41430. #. type: item
  41431. #: guix-git/doc/guix.texi:28014
  41432. #, no-wrap
  41433. msgid "@code{secret} (default: @code{\"\"})"
  41434. msgstr ""
  41435. #. type: table
  41436. #: guix-git/doc/guix.texi:28016
  41437. msgid "The secret key itself."
  41438. msgstr ""
  41439. #. type: deftp
  41440. #: guix-git/doc/guix.texi:28020
  41441. #, no-wrap
  41442. msgid "{Data Type} knot-acl-configuration"
  41443. msgstr ""
  41444. #. type: deftp
  41445. #: guix-git/doc/guix.texi:28023
  41446. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  41447. msgstr ""
  41448. #. type: item
  41449. #: guix-git/doc/guix.texi:28029 guix-git/doc/guix.texi:28144
  41450. #, no-wrap
  41451. msgid "@code{address} (default: @code{'()})"
  41452. msgstr ""
  41453. #. type: table
  41454. #: guix-git/doc/guix.texi:28033
  41455. 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."
  41456. msgstr ""
  41457. #. type: item
  41458. #: guix-git/doc/guix.texi:28034
  41459. #, no-wrap
  41460. msgid "@code{key} (default: @code{'()})"
  41461. msgstr ""
  41462. #. type: table
  41463. #: guix-git/doc/guix.texi:28038
  41464. 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."
  41465. msgstr ""
  41466. #. type: item
  41467. #: guix-git/doc/guix.texi:28039
  41468. #, no-wrap
  41469. msgid "@code{action} (default: @code{'()})"
  41470. msgstr ""
  41471. #. type: table
  41472. #: guix-git/doc/guix.texi:28043
  41473. 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}."
  41474. msgstr ""
  41475. #. type: item
  41476. #: guix-git/doc/guix.texi:28044
  41477. #, no-wrap
  41478. msgid "@code{deny?} (default: @code{#f})"
  41479. msgstr ""
  41480. #. type: table
  41481. #: guix-git/doc/guix.texi:28047
  41482. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  41483. msgstr ""
  41484. #. type: deftp
  41485. #: guix-git/doc/guix.texi:28051
  41486. #, no-wrap
  41487. msgid "{Data Type} zone-entry"
  41488. msgstr ""
  41489. #. type: deftp
  41490. #: guix-git/doc/guix.texi:28054
  41491. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  41492. msgstr ""
  41493. #. type: item
  41494. #: guix-git/doc/guix.texi:28056
  41495. #, no-wrap
  41496. msgid "@code{name} (default: @code{\"@@\"})"
  41497. msgstr ""
  41498. #. type: table
  41499. #: guix-git/doc/guix.texi:28062
  41500. 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}."
  41501. msgstr ""
  41502. #. type: item
  41503. #: guix-git/doc/guix.texi:28063
  41504. #, no-wrap
  41505. msgid "@code{ttl} (default: @code{\"\"})"
  41506. msgstr ""
  41507. #. type: table
  41508. #: guix-git/doc/guix.texi:28065
  41509. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  41510. msgstr ""
  41511. #. type: item
  41512. #: guix-git/doc/guix.texi:28066
  41513. #, no-wrap
  41514. msgid "@code{class} (default: @code{\"IN\"})"
  41515. msgstr ""
  41516. #. type: table
  41517. #: guix-git/doc/guix.texi:28069
  41518. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  41519. msgstr ""
  41520. #. type: item
  41521. #: guix-git/doc/guix.texi:28070
  41522. #, no-wrap
  41523. msgid "@code{type} (default: @code{\"A\"})"
  41524. msgstr ""
  41525. #. type: table
  41526. #: guix-git/doc/guix.texi:28074
  41527. 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."
  41528. msgstr ""
  41529. #. type: item
  41530. #: guix-git/doc/guix.texi:28075
  41531. #, no-wrap
  41532. msgid "@code{data} (default: @code{\"\"})"
  41533. msgstr ""
  41534. #. type: table
  41535. #: guix-git/doc/guix.texi:28079
  41536. 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."
  41537. msgstr ""
  41538. #. type: deftp
  41539. #: guix-git/doc/guix.texi:28083
  41540. #, no-wrap
  41541. msgid "{Data Type} zone-file"
  41542. msgstr ""
  41543. #. type: deftp
  41544. #: guix-git/doc/guix.texi:28086
  41545. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  41546. msgstr ""
  41547. #. type: table
  41548. #: guix-git/doc/guix.texi:28095
  41549. 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}."
  41550. msgstr ""
  41551. #. type: item
  41552. #: guix-git/doc/guix.texi:28096
  41553. #, no-wrap
  41554. msgid "@code{origin} (default: @code{\"\"})"
  41555. msgstr ""
  41556. #. type: table
  41557. #: guix-git/doc/guix.texi:28098
  41558. msgid "The name of your zone. This parameter cannot be empty."
  41559. msgstr ""
  41560. #. type: item
  41561. #: guix-git/doc/guix.texi:28099
  41562. #, no-wrap
  41563. msgid "@code{ns} (default: @code{\"ns\"})"
  41564. msgstr ""
  41565. #. type: table
  41566. #: guix-git/doc/guix.texi:28104
  41567. 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."
  41568. msgstr ""
  41569. #. type: item
  41570. #: guix-git/doc/guix.texi:28105
  41571. #, no-wrap
  41572. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  41573. msgstr ""
  41574. #. type: table
  41575. #: guix-git/doc/guix.texi:28108
  41576. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  41577. msgstr ""
  41578. #. type: item
  41579. #: guix-git/doc/guix.texi:28109
  41580. #, no-wrap
  41581. msgid "@code{serial} (default: @code{1})"
  41582. msgstr ""
  41583. #. type: table
  41584. #: guix-git/doc/guix.texi:28113
  41585. 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."
  41586. msgstr ""
  41587. #. type: item
  41588. #: guix-git/doc/guix.texi:28114
  41589. #, no-wrap
  41590. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  41591. msgstr ""
  41592. #. type: table
  41593. #: guix-git/doc/guix.texi:28118
  41594. 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)}."
  41595. msgstr ""
  41596. #. type: item
  41597. #: guix-git/doc/guix.texi:28119
  41598. #, no-wrap
  41599. msgid "@code{retry} (default: @code{(* 15 60)})"
  41600. msgstr ""
  41601. #. type: table
  41602. #: guix-git/doc/guix.texi:28122
  41603. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  41604. msgstr ""
  41605. #. type: item
  41606. #: guix-git/doc/guix.texi:28123
  41607. #, no-wrap
  41608. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  41609. msgstr ""
  41610. #. type: table
  41611. #: guix-git/doc/guix.texi:28127
  41612. 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."
  41613. msgstr ""
  41614. #. type: item
  41615. #: guix-git/doc/guix.texi:28128
  41616. #, no-wrap
  41617. msgid "@code{nx} (default: @code{3600})"
  41618. msgstr ""
  41619. #. type: table
  41620. #: guix-git/doc/guix.texi:28131
  41621. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  41622. msgstr ""
  41623. #. type: deftp
  41624. #: guix-git/doc/guix.texi:28135
  41625. #, no-wrap
  41626. msgid "{Data Type} knot-remote-configuration"
  41627. msgstr ""
  41628. #. type: deftp
  41629. #: guix-git/doc/guix.texi:28138
  41630. msgid "Data type representing a remote configuration. This type has the following parameters:"
  41631. msgstr ""
  41632. #. type: table
  41633. #: guix-git/doc/guix.texi:28143
  41634. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  41635. msgstr ""
  41636. #. type: table
  41637. #: guix-git/doc/guix.texi:28148
  41638. 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."
  41639. msgstr ""
  41640. #. type: item
  41641. #: guix-git/doc/guix.texi:28149
  41642. #, no-wrap
  41643. msgid "@code{via} (default: @code{'()})"
  41644. msgstr ""
  41645. #. type: table
  41646. #: guix-git/doc/guix.texi:28153
  41647. 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."
  41648. msgstr ""
  41649. #. type: table
  41650. #: guix-git/doc/guix.texi:28157
  41651. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  41652. msgstr ""
  41653. #. type: deftp
  41654. #: guix-git/doc/guix.texi:28161
  41655. #, no-wrap
  41656. msgid "{Data Type} knot-keystore-configuration"
  41657. msgstr ""
  41658. #. type: deftp
  41659. #: guix-git/doc/guix.texi:28164
  41660. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  41661. msgstr ""
  41662. #. type: table
  41663. #: guix-git/doc/guix.texi:28168
  41664. msgid "The id of the keystore. It must not be empty."
  41665. msgstr ""
  41666. #. type: item
  41667. #: guix-git/doc/guix.texi:28169
  41668. #, no-wrap
  41669. msgid "@code{backend} (default: @code{'pem})"
  41670. msgstr ""
  41671. #. type: table
  41672. #: guix-git/doc/guix.texi:28171
  41673. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  41674. msgstr ""
  41675. #. type: item
  41676. #: guix-git/doc/guix.texi:28172
  41677. #, no-wrap
  41678. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  41679. msgstr ""
  41680. #. type: table
  41681. #: guix-git/doc/guix.texi:28176
  41682. 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."
  41683. msgstr ""
  41684. #. type: deftp
  41685. #: guix-git/doc/guix.texi:28180
  41686. #, no-wrap
  41687. msgid "{Data Type} knot-policy-configuration"
  41688. msgstr ""
  41689. #. type: deftp
  41690. #: guix-git/doc/guix.texi:28184
  41691. 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."
  41692. msgstr ""
  41693. #. type: deftp
  41694. #: guix-git/doc/guix.texi:28191
  41695. 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."
  41696. msgstr ""
  41697. #. type: deftp
  41698. #: guix-git/doc/guix.texi:28197
  41699. 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."
  41700. msgstr ""
  41701. #. type: deftp
  41702. #: guix-git/doc/guix.texi:28199
  41703. msgid "This type has the following parameters:"
  41704. msgstr ""
  41705. #. type: table
  41706. #: guix-git/doc/guix.texi:28203
  41707. msgid "The id of the policy. It must not be empty."
  41708. msgstr ""
  41709. #. type: item
  41710. #: guix-git/doc/guix.texi:28204
  41711. #, no-wrap
  41712. msgid "@code{keystore} (default: @code{\"default\"})"
  41713. msgstr ""
  41714. #. type: table
  41715. #: guix-git/doc/guix.texi:28209
  41716. 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)."
  41717. msgstr ""
  41718. #. type: item
  41719. #: guix-git/doc/guix.texi:28210
  41720. #, no-wrap
  41721. msgid "@code{manual?} (default: @code{#f})"
  41722. msgstr ""
  41723. #. type: table
  41724. #: guix-git/doc/guix.texi:28212
  41725. msgid "Whether the key management is manual or automatic."
  41726. msgstr ""
  41727. #. type: item
  41728. #: guix-git/doc/guix.texi:28213
  41729. #, no-wrap
  41730. msgid "@code{single-type-signing?} (default: @code{#f})"
  41731. msgstr ""
  41732. #. type: table
  41733. #: guix-git/doc/guix.texi:28215
  41734. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  41735. msgstr ""
  41736. #. type: item
  41737. #: guix-git/doc/guix.texi:28216
  41738. #, no-wrap
  41739. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  41740. msgstr ""
  41741. #. type: table
  41742. #: guix-git/doc/guix.texi:28218
  41743. msgid "An algorithm of signing keys and issued signatures."
  41744. msgstr ""
  41745. #. type: item
  41746. #: guix-git/doc/guix.texi:28219
  41747. #, no-wrap
  41748. msgid "@code{ksk-size} (default: @code{256})"
  41749. msgstr ""
  41750. #. type: table
  41751. #: guix-git/doc/guix.texi:28222
  41752. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41753. msgstr ""
  41754. #. type: item
  41755. #: guix-git/doc/guix.texi:28223
  41756. #, no-wrap
  41757. msgid "@code{zsk-size} (default: @code{256})"
  41758. msgstr ""
  41759. #. type: table
  41760. #: guix-git/doc/guix.texi:28226
  41761. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41762. msgstr ""
  41763. #. type: item
  41764. #: guix-git/doc/guix.texi:28227
  41765. #, no-wrap
  41766. msgid "@code{dnskey-ttl} (default: @code{'default})"
  41767. msgstr ""
  41768. #. type: table
  41769. #: guix-git/doc/guix.texi:28230
  41770. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  41771. msgstr ""
  41772. #. type: item
  41773. #: guix-git/doc/guix.texi:28231
  41774. #, no-wrap
  41775. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  41776. msgstr ""
  41777. #. type: table
  41778. #: guix-git/doc/guix.texi:28233
  41779. msgid "The period between ZSK publication and the next rollover initiation."
  41780. msgstr ""
  41781. #. type: item
  41782. #: guix-git/doc/guix.texi:28234
  41783. #, no-wrap
  41784. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  41785. msgstr ""
  41786. #. type: table
  41787. #: guix-git/doc/guix.texi:28237
  41788. 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."
  41789. msgstr ""
  41790. #. type: item
  41791. #: guix-git/doc/guix.texi:28238
  41792. #, no-wrap
  41793. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  41794. msgstr ""
  41795. #. type: table
  41796. #: guix-git/doc/guix.texi:28240
  41797. msgid "A validity period of newly issued signatures."
  41798. msgstr ""
  41799. #. type: item
  41800. #: guix-git/doc/guix.texi:28241
  41801. #, no-wrap
  41802. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  41803. msgstr ""
  41804. #. type: table
  41805. #: guix-git/doc/guix.texi:28243
  41806. msgid "A period how long before a signature expiration the signature will be refreshed."
  41807. msgstr ""
  41808. #. type: item
  41809. #: guix-git/doc/guix.texi:28244
  41810. #, no-wrap
  41811. msgid "@code{nsec3?} (default: @code{#f})"
  41812. msgstr ""
  41813. #. type: table
  41814. #: guix-git/doc/guix.texi:28246
  41815. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  41816. msgstr ""
  41817. #. type: item
  41818. #: guix-git/doc/guix.texi:28247
  41819. #, no-wrap
  41820. msgid "@code{nsec3-iterations} (default: @code{5})"
  41821. msgstr ""
  41822. #. type: table
  41823. #: guix-git/doc/guix.texi:28249
  41824. msgid "The number of additional times the hashing is performed."
  41825. msgstr ""
  41826. #. type: item
  41827. #: guix-git/doc/guix.texi:28250
  41828. #, no-wrap
  41829. msgid "@code{nsec3-salt-length} (default: @code{8})"
  41830. msgstr ""
  41831. #. type: table
  41832. #: guix-git/doc/guix.texi:28253
  41833. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  41834. msgstr ""
  41835. #. type: item
  41836. #: guix-git/doc/guix.texi:28254
  41837. #, no-wrap
  41838. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  41839. msgstr ""
  41840. #. type: table
  41841. #: guix-git/doc/guix.texi:28256
  41842. msgid "The validity period of newly issued salt field."
  41843. msgstr ""
  41844. #. type: deftp
  41845. #: guix-git/doc/guix.texi:28260
  41846. #, no-wrap
  41847. msgid "{Data Type} knot-zone-configuration"
  41848. msgstr ""
  41849. #. type: deftp
  41850. #: guix-git/doc/guix.texi:28263
  41851. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  41852. msgstr ""
  41853. #. type: item
  41854. #: guix-git/doc/guix.texi:28265
  41855. #, no-wrap
  41856. msgid "@code{domain} (default: @code{\"\"})"
  41857. msgstr ""
  41858. #. type: table
  41859. #: guix-git/doc/guix.texi:28267
  41860. msgid "The domain served by this configuration. It must not be empty."
  41861. msgstr ""
  41862. #. type: item
  41863. #: guix-git/doc/guix.texi:28268
  41864. #, no-wrap
  41865. msgid "@code{file} (default: @code{\"\"})"
  41866. msgstr ""
  41867. #. type: table
  41868. #: guix-git/doc/guix.texi:28271
  41869. 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."
  41870. msgstr ""
  41871. #. type: item
  41872. #: guix-git/doc/guix.texi:28272
  41873. #, no-wrap
  41874. msgid "@code{zone} (default: @code{(zone-file)})"
  41875. msgstr ""
  41876. #. type: table
  41877. #: guix-git/doc/guix.texi:28275
  41878. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  41879. msgstr ""
  41880. #. type: item
  41881. #: guix-git/doc/guix.texi:28276
  41882. #, no-wrap
  41883. msgid "@code{master} (default: @code{'()})"
  41884. msgstr ""
  41885. #. type: table
  41886. #: guix-git/doc/guix.texi:28279
  41887. 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."
  41888. msgstr ""
  41889. #. type: item
  41890. #: guix-git/doc/guix.texi:28280
  41891. #, no-wrap
  41892. msgid "@code{ddns-master} (default: @code{#f})"
  41893. msgstr ""
  41894. #. type: table
  41895. #: guix-git/doc/guix.texi:28283
  41896. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  41897. msgstr ""
  41898. #. type: item
  41899. #: guix-git/doc/guix.texi:28284
  41900. #, no-wrap
  41901. msgid "@code{notify} (default: @code{'()})"
  41902. msgstr ""
  41903. #. type: table
  41904. #: guix-git/doc/guix.texi:28286
  41905. msgid "A list of slave remote identifiers."
  41906. msgstr ""
  41907. #. type: item
  41908. #: guix-git/doc/guix.texi:28287
  41909. #, no-wrap
  41910. msgid "@code{acl} (default: @code{'()})"
  41911. msgstr ""
  41912. #. type: table
  41913. #: guix-git/doc/guix.texi:28289
  41914. msgid "A list of acl identifiers."
  41915. msgstr ""
  41916. #. type: item
  41917. #: guix-git/doc/guix.texi:28290
  41918. #, no-wrap
  41919. msgid "@code{semantic-checks?} (default: @code{#f})"
  41920. msgstr ""
  41921. #. type: table
  41922. #: guix-git/doc/guix.texi:28292
  41923. msgid "When set, this adds more semantic checks to the zone."
  41924. msgstr ""
  41925. #. type: item
  41926. #: guix-git/doc/guix.texi:28293
  41927. #, no-wrap
  41928. msgid "@code{zonefile-sync} (default: @code{0})"
  41929. msgstr ""
  41930. #. type: table
  41931. #: guix-git/doc/guix.texi:28296
  41932. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  41933. msgstr ""
  41934. #. type: item
  41935. #: guix-git/doc/guix.texi:28297
  41936. #, no-wrap
  41937. msgid "@code{zonefile-load} (default: @code{#f})"
  41938. msgstr ""
  41939. #. type: table
  41940. #: guix-git/doc/guix.texi:28300
  41941. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  41942. msgstr ""
  41943. #. type: item
  41944. #: guix-git/doc/guix.texi:28302
  41945. #, no-wrap
  41946. msgid "@code{#f} for using the default value from Knot,"
  41947. msgstr ""
  41948. #. type: item
  41949. #: guix-git/doc/guix.texi:28303
  41950. #, no-wrap
  41951. msgid "@code{'none} for not using the zone file at all,"
  41952. msgstr ""
  41953. #. type: item
  41954. #: guix-git/doc/guix.texi:28304
  41955. #, no-wrap
  41956. msgid "@code{'difference} for computing the difference between already available"
  41957. msgstr ""
  41958. #. type: itemize
  41959. #: guix-git/doc/guix.texi:28306
  41960. msgid "contents and zone contents and applying it to the current zone contents,"
  41961. msgstr ""
  41962. #. type: item
  41963. #: guix-git/doc/guix.texi:28306
  41964. #, no-wrap
  41965. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  41966. msgstr ""
  41967. #. type: itemize
  41968. #: guix-git/doc/guix.texi:28309
  41969. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  41970. msgstr ""
  41971. #. type: item
  41972. #: guix-git/doc/guix.texi:28309
  41973. #, no-wrap
  41974. msgid "@code{'whole} for loading zone contents from the zone file."
  41975. msgstr ""
  41976. #. type: item
  41977. #: guix-git/doc/guix.texi:28312
  41978. #, no-wrap
  41979. msgid "@code{journal-content} (default: @code{#f})"
  41980. msgstr ""
  41981. #. type: table
  41982. #: guix-git/doc/guix.texi:28317
  41983. 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."
  41984. msgstr ""
  41985. #. type: item
  41986. #: guix-git/doc/guix.texi:28318
  41987. #, no-wrap
  41988. msgid "@code{max-journal-usage} (default: @code{#f})"
  41989. msgstr ""
  41990. #. type: table
  41991. #: guix-git/doc/guix.texi:28321
  41992. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  41993. msgstr ""
  41994. #. type: item
  41995. #: guix-git/doc/guix.texi:28322
  41996. #, no-wrap
  41997. msgid "@code{max-journal-depth} (default: @code{#f})"
  41998. msgstr ""
  41999. #. type: table
  42000. #: guix-git/doc/guix.texi:28325
  42001. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  42002. msgstr ""
  42003. #. type: item
  42004. #: guix-git/doc/guix.texi:28326
  42005. #, no-wrap
  42006. msgid "@code{max-zone-size} (default: @code{#f})"
  42007. msgstr ""
  42008. #. type: table
  42009. #: guix-git/doc/guix.texi:28330
  42010. 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."
  42011. msgstr ""
  42012. #. type: item
  42013. #: guix-git/doc/guix.texi:28331
  42014. #, no-wrap
  42015. msgid "@code{dnssec-policy} (default: @code{#f})"
  42016. msgstr ""
  42017. #. type: table
  42018. #: guix-git/doc/guix.texi:28335
  42019. 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."
  42020. msgstr ""
  42021. #. type: item
  42022. #: guix-git/doc/guix.texi:28336
  42023. #, no-wrap
  42024. msgid "@code{serial-policy} (default: @code{'increment})"
  42025. msgstr ""
  42026. #. type: table
  42027. #: guix-git/doc/guix.texi:28338
  42028. msgid "A policy between @code{'increment} and @code{'unixtime}."
  42029. msgstr ""
  42030. #. type: deftp
  42031. #: guix-git/doc/guix.texi:28342
  42032. #, no-wrap
  42033. msgid "{Data Type} knot-configuration"
  42034. msgstr ""
  42035. #. type: deftp
  42036. #: guix-git/doc/guix.texi:28345
  42037. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  42038. msgstr ""
  42039. #. type: item
  42040. #: guix-git/doc/guix.texi:28347
  42041. #, no-wrap
  42042. msgid "@code{knot} (default: @code{knot})"
  42043. msgstr ""
  42044. #. type: table
  42045. #: guix-git/doc/guix.texi:28349
  42046. msgid "The Knot package."
  42047. msgstr ""
  42048. #. type: item
  42049. #: guix-git/doc/guix.texi:28350
  42050. #, no-wrap
  42051. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  42052. msgstr ""
  42053. #. type: table
  42054. #: guix-git/doc/guix.texi:28352
  42055. msgid "The run directory. This directory will be used for pid file and sockets."
  42056. msgstr ""
  42057. #. type: item
  42058. #: guix-git/doc/guix.texi:28353
  42059. #, no-wrap
  42060. msgid "@code{includes} (default: @code{'()})"
  42061. msgstr ""
  42062. #. type: table
  42063. #: guix-git/doc/guix.texi:28356
  42064. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  42065. msgstr ""
  42066. #. type: cindex
  42067. #: guix-git/doc/guix.texi:28357
  42068. #, no-wrap
  42069. msgid "secrets, Knot service"
  42070. msgstr ""
  42071. #. type: table
  42072. #: guix-git/doc/guix.texi:28363
  42073. 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."
  42074. msgstr ""
  42075. #. type: table
  42076. #: guix-git/doc/guix.texi:28368
  42077. 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:"
  42078. msgstr ""
  42079. #. type: example
  42080. #: guix-git/doc/guix.texi:28372
  42081. #, no-wrap
  42082. msgid ""
  42083. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  42084. "chmod 600 /etc/knot/secrets.conf\n"
  42085. msgstr ""
  42086. #. type: table
  42087. #: guix-git/doc/guix.texi:28378
  42088. 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."
  42089. msgstr ""
  42090. #. type: table
  42091. #: guix-git/doc/guix.texi:28380
  42092. msgid "It can also be used to add configuration not supported by this interface."
  42093. msgstr ""
  42094. #. type: item
  42095. #: guix-git/doc/guix.texi:28381
  42096. #, no-wrap
  42097. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  42098. msgstr ""
  42099. #. type: table
  42100. #: guix-git/doc/guix.texi:28383 guix-git/doc/guix.texi:28386
  42101. msgid "An ip address on which to listen."
  42102. msgstr ""
  42103. #. type: item
  42104. #: guix-git/doc/guix.texi:28384
  42105. #, no-wrap
  42106. msgid "@code{listen-v6} (default: @code{\"::\"})"
  42107. msgstr ""
  42108. #. type: item
  42109. #: guix-git/doc/guix.texi:28387
  42110. #, no-wrap
  42111. msgid "@code{listen-port} (default: @code{53})"
  42112. msgstr ""
  42113. #. type: table
  42114. #: guix-git/doc/guix.texi:28389
  42115. msgid "A port on which to listen."
  42116. msgstr ""
  42117. #. type: item
  42118. #: guix-git/doc/guix.texi:28390
  42119. #, no-wrap
  42120. msgid "@code{keys} (default: @code{'()})"
  42121. msgstr ""
  42122. #. type: table
  42123. #: guix-git/doc/guix.texi:28392
  42124. msgid "The list of knot-key-configuration used by this configuration."
  42125. msgstr ""
  42126. #. type: item
  42127. #: guix-git/doc/guix.texi:28393
  42128. #, no-wrap
  42129. msgid "@code{acls} (default: @code{'()})"
  42130. msgstr ""
  42131. #. type: table
  42132. #: guix-git/doc/guix.texi:28395
  42133. msgid "The list of knot-acl-configuration used by this configuration."
  42134. msgstr ""
  42135. #. type: item
  42136. #: guix-git/doc/guix.texi:28396
  42137. #, no-wrap
  42138. msgid "@code{remotes} (default: @code{'()})"
  42139. msgstr ""
  42140. #. type: table
  42141. #: guix-git/doc/guix.texi:28398
  42142. msgid "The list of knot-remote-configuration used by this configuration."
  42143. msgstr ""
  42144. #. type: item
  42145. #: guix-git/doc/guix.texi:28399
  42146. #, no-wrap
  42147. msgid "@code{zones} (default: @code{'()})"
  42148. msgstr ""
  42149. #. type: table
  42150. #: guix-git/doc/guix.texi:28401
  42151. msgid "The list of knot-zone-configuration used by this configuration."
  42152. msgstr ""
  42153. #. type: subsubheading
  42154. #: guix-git/doc/guix.texi:28405
  42155. #, no-wrap
  42156. msgid "Knot Resolver Service"
  42157. msgstr ""
  42158. #. type: deffn
  42159. #: guix-git/doc/guix.texi:28407
  42160. #, no-wrap
  42161. msgid "{Scheme Variable} knot-resolver-service-type"
  42162. msgstr ""
  42163. #. type: deffn
  42164. #: guix-git/doc/guix.texi:28410
  42165. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  42166. msgstr ""
  42167. #. type: lisp
  42168. #: guix-git/doc/guix.texi:28420
  42169. #, no-wrap
  42170. msgid ""
  42171. "(service knot-resolver-service-type\n"
  42172. " (knot-resolver-configuration\n"
  42173. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  42174. "net.listen('192.168.0.1', 5353)\n"
  42175. "user('knot-resolver', 'knot-resolver')\n"
  42176. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  42177. "cache.size = 100 * MB\n"
  42178. "\"))))\n"
  42179. msgstr ""
  42180. #. type: deffn
  42181. #: guix-git/doc/guix.texi:28423
  42182. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  42183. msgstr ""
  42184. #. type: deftp
  42185. #: guix-git/doc/guix.texi:28425
  42186. #, no-wrap
  42187. msgid "{Data Type} knot-resolver-configuration"
  42188. msgstr ""
  42189. #. type: deftp
  42190. #: guix-git/doc/guix.texi:28427
  42191. msgid "Data type representing the configuration of knot-resolver."
  42192. msgstr ""
  42193. #. type: item
  42194. #: guix-git/doc/guix.texi:28429
  42195. #, no-wrap
  42196. msgid "@code{package} (default: @var{knot-resolver})"
  42197. msgstr ""
  42198. #. type: table
  42199. #: guix-git/doc/guix.texi:28431
  42200. msgid "Package object of the knot DNS resolver."
  42201. msgstr ""
  42202. #. type: item
  42203. #: guix-git/doc/guix.texi:28432
  42204. #, no-wrap
  42205. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  42206. msgstr ""
  42207. #. type: table
  42208. #: guix-git/doc/guix.texi:28435
  42209. 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}."
  42210. msgstr ""
  42211. #. type: item
  42212. #: guix-git/doc/guix.texi:28436
  42213. #, no-wrap
  42214. msgid "@code{garbage-collection-interval} (default: 1000)"
  42215. msgstr ""
  42216. #. type: table
  42217. #: guix-git/doc/guix.texi:28438
  42218. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  42219. msgstr ""
  42220. #. type: subsubheading
  42221. #: guix-git/doc/guix.texi:28443
  42222. #, no-wrap
  42223. msgid "Dnsmasq Service"
  42224. msgstr ""
  42225. #. type: deffn
  42226. #: guix-git/doc/guix.texi:28445
  42227. #, no-wrap
  42228. msgid "{Scheme Variable} dnsmasq-service-type"
  42229. msgstr ""
  42230. #. type: deffn
  42231. #: guix-git/doc/guix.texi:28448
  42232. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  42233. msgstr ""
  42234. #. type: lisp
  42235. #: guix-git/doc/guix.texi:28454
  42236. #, no-wrap
  42237. msgid ""
  42238. "(service dnsmasq-service-type\n"
  42239. " (dnsmasq-configuration\n"
  42240. " (no-resolv? #t)\n"
  42241. " (servers '(\"192.168.1.1\"))))\n"
  42242. msgstr ""
  42243. #. type: deftp
  42244. #: guix-git/doc/guix.texi:28457
  42245. #, no-wrap
  42246. msgid "{Data Type} dnsmasq-configuration"
  42247. msgstr ""
  42248. #. type: deftp
  42249. #: guix-git/doc/guix.texi:28459
  42250. msgid "Data type representing the configuration of dnsmasq."
  42251. msgstr ""
  42252. #. type: item
  42253. #: guix-git/doc/guix.texi:28461
  42254. #, no-wrap
  42255. msgid "@code{package} (default: @var{dnsmasq})"
  42256. msgstr ""
  42257. #. type: table
  42258. #: guix-git/doc/guix.texi:28463
  42259. msgid "Package object of the dnsmasq server."
  42260. msgstr ""
  42261. #. type: item
  42262. #: guix-git/doc/guix.texi:28464
  42263. #, no-wrap
  42264. msgid "@code{no-hosts?} (default: @code{#f})"
  42265. msgstr ""
  42266. #. type: table
  42267. #: guix-git/doc/guix.texi:28466
  42268. msgid "When true, don't read the hostnames in /etc/hosts."
  42269. msgstr ""
  42270. #. type: item
  42271. #: guix-git/doc/guix.texi:28467
  42272. #, no-wrap
  42273. msgid "@code{port} (default: @code{53})"
  42274. msgstr ""
  42275. #. type: table
  42276. #: guix-git/doc/guix.texi:28470
  42277. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  42278. msgstr ""
  42279. #. type: item
  42280. #: guix-git/doc/guix.texi:28471
  42281. #, no-wrap
  42282. msgid "@code{local-service?} (default: @code{#t})"
  42283. msgstr ""
  42284. #. type: table
  42285. #: guix-git/doc/guix.texi:28474
  42286. 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."
  42287. msgstr ""
  42288. #. type: item
  42289. #: guix-git/doc/guix.texi:28475
  42290. #, no-wrap
  42291. msgid "@code{listen-addresses} (default: @code{'()})"
  42292. msgstr ""
  42293. #. type: table
  42294. #: guix-git/doc/guix.texi:28477
  42295. msgid "Listen on the given IP addresses."
  42296. msgstr ""
  42297. #. type: item
  42298. #: guix-git/doc/guix.texi:28478
  42299. #, no-wrap
  42300. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  42301. msgstr ""
  42302. #. type: table
  42303. #: guix-git/doc/guix.texi:28480
  42304. msgid "The file to read the IP address of the upstream nameservers from."
  42305. msgstr ""
  42306. #. type: item
  42307. #: guix-git/doc/guix.texi:28481
  42308. #, no-wrap
  42309. msgid "@code{no-resolv?} (default: @code{#f})"
  42310. msgstr ""
  42311. #. type: table
  42312. #: guix-git/doc/guix.texi:28483
  42313. msgid "When true, don't read @var{resolv-file}."
  42314. msgstr ""
  42315. #. type: item
  42316. #: guix-git/doc/guix.texi:28484
  42317. #, no-wrap
  42318. msgid "@code{servers} (default: @code{'()})"
  42319. msgstr ""
  42320. #. type: table
  42321. #: guix-git/doc/guix.texi:28486
  42322. msgid "Specify IP address of upstream servers directly."
  42323. msgstr ""
  42324. #. type: item
  42325. #: guix-git/doc/guix.texi:28487
  42326. #, no-wrap
  42327. msgid "@code{addresses} (default: @code{'()})"
  42328. msgstr ""
  42329. #. type: table
  42330. #: guix-git/doc/guix.texi:28491
  42331. 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."
  42332. msgstr ""
  42333. #. type: table
  42334. #: guix-git/doc/guix.texi:28493
  42335. msgid "This is useful for redirecting hosts locally, for example:"
  42336. msgstr ""
  42337. #. type: lisp
  42338. #: guix-git/doc/guix.texi:28502
  42339. #, no-wrap
  42340. msgid ""
  42341. "(service dnsmasq-service-type\n"
  42342. " (dnsmasq-configuration\n"
  42343. " (addresses\n"
  42344. " '(; Redirect to a local web-server.\n"
  42345. " \"/example.org/127.0.0.1\"\n"
  42346. " ; Redirect subdomain to a specific IP.\n"
  42347. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  42348. msgstr ""
  42349. #. type: table
  42350. #: guix-git/doc/guix.texi:28505
  42351. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  42352. msgstr ""
  42353. #. type: item
  42354. #: guix-git/doc/guix.texi:28506
  42355. #, no-wrap
  42356. msgid "@code{cache-size} (default: @code{150})"
  42357. msgstr ""
  42358. #. type: table
  42359. #: guix-git/doc/guix.texi:28509
  42360. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  42361. msgstr ""
  42362. #. type: item
  42363. #: guix-git/doc/guix.texi:28510
  42364. #, no-wrap
  42365. msgid "@code{negative-cache?} (default: @code{#t})"
  42366. msgstr ""
  42367. #. type: table
  42368. #: guix-git/doc/guix.texi:28512
  42369. msgid "When false, disable negative caching."
  42370. msgstr ""
  42371. #. type: item
  42372. #: guix-git/doc/guix.texi:28513
  42373. #, no-wrap
  42374. msgid "@code{tftp-enable?} (default: @code{#f})"
  42375. msgstr ""
  42376. #. type: table
  42377. #: guix-git/doc/guix.texi:28515
  42378. msgid "Whether to enable the built-in TFTP server."
  42379. msgstr ""
  42380. #. type: item
  42381. #: guix-git/doc/guix.texi:28516
  42382. #, no-wrap
  42383. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  42384. msgstr ""
  42385. #. type: table
  42386. #: guix-git/doc/guix.texi:28518
  42387. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  42388. msgstr ""
  42389. #. type: item
  42390. #: guix-git/doc/guix.texi:28519
  42391. #, no-wrap
  42392. msgid "@code{tftp-single-port?} (default: @code{#f})"
  42393. msgstr ""
  42394. #. type: table
  42395. #: guix-git/doc/guix.texi:28521
  42396. msgid "Whether to use only one single port for TFTP."
  42397. msgstr ""
  42398. #. type: item
  42399. #: guix-git/doc/guix.texi:28522
  42400. #, no-wrap
  42401. msgid "@code{tftp-secure?} (default: @code{#f})"
  42402. msgstr ""
  42403. #. type: table
  42404. #: guix-git/doc/guix.texi:28524
  42405. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  42406. msgstr ""
  42407. #. type: table
  42408. #: guix-git/doc/guix.texi:28528
  42409. 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."
  42410. msgstr ""
  42411. #. type: item
  42412. #: guix-git/doc/guix.texi:28529
  42413. #, no-wrap
  42414. msgid "@code{tftp-max} (default: @code{#f})"
  42415. msgstr ""
  42416. #. type: table
  42417. #: guix-git/doc/guix.texi:28531
  42418. msgid "If set, sets the maximal number of concurrent connections allowed."
  42419. msgstr ""
  42420. #. type: item
  42421. #: guix-git/doc/guix.texi:28532
  42422. #, no-wrap
  42423. msgid "@code{tftp-mtu} (default: @code{#f})"
  42424. msgstr ""
  42425. #. type: table
  42426. #: guix-git/doc/guix.texi:28534
  42427. msgid "If set, sets the MTU for TFTP packets to that value."
  42428. msgstr ""
  42429. #. type: item
  42430. #: guix-git/doc/guix.texi:28535
  42431. #, no-wrap
  42432. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  42433. msgstr ""
  42434. #. type: table
  42435. #: guix-git/doc/guix.texi:28537
  42436. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  42437. msgstr ""
  42438. #. type: item
  42439. #: guix-git/doc/guix.texi:28538
  42440. #, no-wrap
  42441. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  42442. msgstr ""
  42443. #. type: table
  42444. #: guix-git/doc/guix.texi:28540
  42445. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  42446. msgstr ""
  42447. #. type: item
  42448. #: guix-git/doc/guix.texi:28541
  42449. #, no-wrap
  42450. msgid "@code{tftp-port-range} (default: @code{#f})"
  42451. msgstr ""
  42452. #. type: table
  42453. #: guix-git/doc/guix.texi:28544
  42454. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  42455. msgstr ""
  42456. #. type: item
  42457. #: guix-git/doc/guix.texi:28545
  42458. #, no-wrap
  42459. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  42460. msgstr ""
  42461. #. type: table
  42462. #: guix-git/doc/guix.texi:28552
  42463. 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."
  42464. msgstr ""
  42465. #. type: item
  42466. #: guix-git/doc/guix.texi:28553
  42467. #, no-wrap
  42468. msgid "@code{tftp-unique-root} (default: @code{#f})"
  42469. msgstr ""
  42470. #. type: table
  42471. #: guix-git/doc/guix.texi:28558
  42472. 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)."
  42473. msgstr ""
  42474. #. type: table
  42475. #: guix-git/doc/guix.texi:28567
  42476. 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."
  42477. msgstr ""
  42478. #. type: subsubheading
  42479. #: guix-git/doc/guix.texi:28571
  42480. #, no-wrap
  42481. msgid "ddclient Service"
  42482. msgstr ""
  42483. #. type: cindex
  42484. #: guix-git/doc/guix.texi:28573
  42485. #, no-wrap
  42486. msgid "ddclient"
  42487. msgstr ""
  42488. #. type: Plain text
  42489. #: guix-git/doc/guix.texi:28577
  42490. 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}."
  42491. msgstr ""
  42492. #. type: Plain text
  42493. #: guix-git/doc/guix.texi:28580
  42494. msgid "The following example show instantiates the service with its default configuration:"
  42495. msgstr ""
  42496. #. type: lisp
  42497. #: guix-git/doc/guix.texi:28583
  42498. #, no-wrap
  42499. msgid "(service ddclient-service-type)\n"
  42500. msgstr ""
  42501. #. type: Plain text
  42502. #: guix-git/doc/guix.texi:28592
  42503. 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."
  42504. msgstr ""
  42505. #. type: Plain text
  42506. #: guix-git/doc/guix.texi:28596
  42507. msgid "Available @code{ddclient-configuration} fields are:"
  42508. msgstr ""
  42509. #. type: deftypevr
  42510. #: guix-git/doc/guix.texi:28597
  42511. #, no-wrap
  42512. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  42513. msgstr ""
  42514. #. type: deftypevr
  42515. #: guix-git/doc/guix.texi:28599
  42516. msgid "The ddclient package."
  42517. msgstr ""
  42518. #. type: deftypevr
  42519. #: guix-git/doc/guix.texi:28602
  42520. #, no-wrap
  42521. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  42522. msgstr ""
  42523. #. type: deftypevr
  42524. #: guix-git/doc/guix.texi:28604
  42525. msgid "The period after which ddclient will retry to check IP and domain name."
  42526. msgstr ""
  42527. #. type: deftypevr
  42528. #: guix-git/doc/guix.texi:28606
  42529. msgid "Defaults to @samp{300}."
  42530. msgstr ""
  42531. #. type: deftypevr
  42532. #: guix-git/doc/guix.texi:28609
  42533. #, no-wrap
  42534. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  42535. msgstr ""
  42536. #. type: deftypevr
  42537. #: guix-git/doc/guix.texi:28611
  42538. msgid "Use syslog for the output."
  42539. msgstr ""
  42540. #. type: deftypevr
  42541. #: guix-git/doc/guix.texi:28616
  42542. #, no-wrap
  42543. msgid "{@code{ddclient-configuration} parameter} string mail"
  42544. msgstr ""
  42545. #. type: deftypevr
  42546. #: guix-git/doc/guix.texi:28618
  42547. msgid "Mail to user."
  42548. msgstr ""
  42549. #. type: deftypevr
  42550. #: guix-git/doc/guix.texi:28620 guix-git/doc/guix.texi:28627
  42551. #: guix-git/doc/guix.texi:30457
  42552. msgid "Defaults to @samp{\"root\"}."
  42553. msgstr ""
  42554. #. type: deftypevr
  42555. #: guix-git/doc/guix.texi:28623
  42556. #, no-wrap
  42557. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  42558. msgstr ""
  42559. #. type: deftypevr
  42560. #: guix-git/doc/guix.texi:28625
  42561. msgid "Mail failed update to user."
  42562. msgstr ""
  42563. #. type: deftypevr
  42564. #: guix-git/doc/guix.texi:28630
  42565. #, no-wrap
  42566. msgid "{@code{ddclient-configuration} parameter} string pid"
  42567. msgstr ""
  42568. #. type: deftypevr
  42569. #: guix-git/doc/guix.texi:28632
  42570. msgid "The ddclient PID file."
  42571. msgstr ""
  42572. #. type: deftypevr
  42573. #: guix-git/doc/guix.texi:28634
  42574. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  42575. msgstr ""
  42576. #. type: deftypevr
  42577. #: guix-git/doc/guix.texi:28637
  42578. #, no-wrap
  42579. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  42580. msgstr ""
  42581. #. type: deftypevr
  42582. #: guix-git/doc/guix.texi:28639
  42583. msgid "Enable SSL support."
  42584. msgstr ""
  42585. #. type: deftypevr
  42586. #: guix-git/doc/guix.texi:28644
  42587. #, no-wrap
  42588. msgid "{@code{ddclient-configuration} parameter} string user"
  42589. msgstr ""
  42590. #. type: deftypevr
  42591. #: guix-git/doc/guix.texi:28647
  42592. msgid "Specifies the user name or ID that is used when running ddclient program."
  42593. msgstr ""
  42594. #. type: deftypevr
  42595. #: guix-git/doc/guix.texi:28649 guix-git/doc/guix.texi:28656
  42596. msgid "Defaults to @samp{\"ddclient\"}."
  42597. msgstr ""
  42598. #. type: deftypevr
  42599. #: guix-git/doc/guix.texi:28652
  42600. #, no-wrap
  42601. msgid "{@code{ddclient-configuration} parameter} string group"
  42602. msgstr ""
  42603. #. type: deftypevr
  42604. #: guix-git/doc/guix.texi:28654
  42605. msgid "Group of the user who will run the ddclient program."
  42606. msgstr ""
  42607. #. type: deftypevr
  42608. #: guix-git/doc/guix.texi:28659
  42609. #, no-wrap
  42610. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  42611. msgstr ""
  42612. #. type: deftypevr
  42613. #: guix-git/doc/guix.texi:28663
  42614. 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."
  42615. msgstr ""
  42616. #. type: deftypevr
  42617. #: guix-git/doc/guix.texi:28665
  42618. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  42619. msgstr ""
  42620. #. type: deftypevr
  42621. #: guix-git/doc/guix.texi:28668
  42622. #, no-wrap
  42623. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  42624. msgstr ""
  42625. #. type: deftypevr
  42626. #: guix-git/doc/guix.texi:28670
  42627. msgid "Extra options will be appended to @file{ddclient.conf} file."
  42628. msgstr ""
  42629. #. type: cindex
  42630. #: guix-git/doc/guix.texi:28681
  42631. #, no-wrap
  42632. msgid "VPN (virtual private network)"
  42633. msgstr ""
  42634. #. type: cindex
  42635. #: guix-git/doc/guix.texi:28682
  42636. #, no-wrap
  42637. msgid "virtual private network (VPN)"
  42638. msgstr ""
  42639. #. type: Plain text
  42640. #: guix-git/doc/guix.texi:28686
  42641. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  42642. msgstr ""
  42643. #. type: subsubheading
  42644. #: guix-git/doc/guix.texi:28687
  42645. #, no-wrap
  42646. msgid "Bitmask"
  42647. msgstr ""
  42648. #. type: defvr
  42649. #: guix-git/doc/guix.texi:28689
  42650. #, no-wrap
  42651. msgid "{Scheme Variable} bitmask-service-type"
  42652. msgstr ""
  42653. #. type: defvr
  42654. #: guix-git/doc/guix.texi:28694
  42655. 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."
  42656. msgstr ""
  42657. #. type: subsubheading
  42658. #: guix-git/doc/guix.texi:28696
  42659. #, no-wrap
  42660. msgid "OpenVPN"
  42661. msgstr ""
  42662. #. type: Plain text
  42663. #: guix-git/doc/guix.texi:28700
  42664. 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@."
  42665. msgstr ""
  42666. #. type: deffn
  42667. #: guix-git/doc/guix.texi:28701
  42668. #, no-wrap
  42669. msgid "{Scheme Procedure} openvpn-client-service @"
  42670. msgstr ""
  42671. #. type: deffn
  42672. #: guix-git/doc/guix.texi:28703
  42673. msgid "[#:config (openvpn-client-configuration)]"
  42674. msgstr ""
  42675. #. type: deffn
  42676. #: guix-git/doc/guix.texi:28705
  42677. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  42678. msgstr ""
  42679. #. type: deffn
  42680. #: guix-git/doc/guix.texi:28707
  42681. #, no-wrap
  42682. msgid "{Scheme Procedure} openvpn-server-service @"
  42683. msgstr ""
  42684. #. type: deffn
  42685. #: guix-git/doc/guix.texi:28709
  42686. msgid "[#:config (openvpn-server-configuration)]"
  42687. msgstr ""
  42688. #. type: deffn
  42689. #: guix-git/doc/guix.texi:28711
  42690. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  42691. msgstr ""
  42692. #. type: deffn
  42693. #: guix-git/doc/guix.texi:28713
  42694. msgid "Both can be run simultaneously."
  42695. msgstr ""
  42696. #. type: Plain text
  42697. #: guix-git/doc/guix.texi:28718
  42698. msgid "Available @code{openvpn-client-configuration} fields are:"
  42699. msgstr ""
  42700. #. type: deftypevr
  42701. #: guix-git/doc/guix.texi:28719
  42702. #, no-wrap
  42703. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  42704. msgstr ""
  42705. #. type: deftypevr
  42706. #: guix-git/doc/guix.texi:28721 guix-git/doc/guix.texi:28876
  42707. msgid "The OpenVPN package."
  42708. msgstr ""
  42709. #. type: deftypevr
  42710. #: guix-git/doc/guix.texi:28724
  42711. #, no-wrap
  42712. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  42713. msgstr ""
  42714. #. type: deftypevr
  42715. #: guix-git/doc/guix.texi:28726 guix-git/doc/guix.texi:28881
  42716. msgid "The OpenVPN pid file."
  42717. msgstr ""
  42718. #. type: deftypevr
  42719. #: guix-git/doc/guix.texi:28728 guix-git/doc/guix.texi:28883
  42720. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  42721. msgstr ""
  42722. #. type: deftypevr
  42723. #: guix-git/doc/guix.texi:28731
  42724. #, no-wrap
  42725. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  42726. msgstr ""
  42727. #. type: deftypevr
  42728. #: guix-git/doc/guix.texi:28734 guix-git/doc/guix.texi:28889
  42729. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  42730. msgstr ""
  42731. #. type: deftypevr
  42732. #: guix-git/doc/guix.texi:28736 guix-git/doc/guix.texi:28891
  42733. msgid "Defaults to @samp{udp}."
  42734. msgstr ""
  42735. #. type: deftypevr
  42736. #: guix-git/doc/guix.texi:28739
  42737. #, no-wrap
  42738. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  42739. msgstr ""
  42740. #. type: deftypevr
  42741. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28896
  42742. msgid "The device type used to represent the VPN connection."
  42743. msgstr ""
  42744. #. type: deftypevr
  42745. #: guix-git/doc/guix.texi:28743 guix-git/doc/guix.texi:28898
  42746. msgid "Defaults to @samp{tun}."
  42747. msgstr ""
  42748. #. type: Plain text
  42749. #: guix-git/doc/guix.texi:28749 guix-git/doc/guix.texi:28904
  42750. 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}."
  42751. msgstr ""
  42752. #. type: deftypevr
  42753. #: guix-git/doc/guix.texi:28750
  42754. #, no-wrap
  42755. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  42756. msgstr ""
  42757. #. type: deftypevr
  42758. #: guix-git/doc/guix.texi:28752 guix-git/doc/guix.texi:28907
  42759. msgid "The certificate authority to check connections against."
  42760. msgstr ""
  42761. #. type: deftypevr
  42762. #: guix-git/doc/guix.texi:28754 guix-git/doc/guix.texi:28909
  42763. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  42764. msgstr ""
  42765. #. type: deftypevr
  42766. #: guix-git/doc/guix.texi:28757
  42767. #, no-wrap
  42768. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  42769. msgstr ""
  42770. #. type: deftypevr
  42771. #: guix-git/doc/guix.texi:28760 guix-git/doc/guix.texi:28915
  42772. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  42773. msgstr ""
  42774. #. type: deftypevr
  42775. #: guix-git/doc/guix.texi:28762 guix-git/doc/guix.texi:28917
  42776. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  42777. msgstr ""
  42778. #. type: deftypevr
  42779. #: guix-git/doc/guix.texi:28765
  42780. #, no-wrap
  42781. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  42782. msgstr ""
  42783. #. type: deftypevr
  42784. #: guix-git/doc/guix.texi:28768 guix-git/doc/guix.texi:28923
  42785. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  42786. msgstr ""
  42787. #. type: deftypevr
  42788. #: guix-git/doc/guix.texi:28770 guix-git/doc/guix.texi:28925
  42789. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  42790. msgstr ""
  42791. #. type: deftypevr
  42792. #: guix-git/doc/guix.texi:28773
  42793. #, no-wrap
  42794. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  42795. msgstr ""
  42796. #. type: deftypevr
  42797. #: guix-git/doc/guix.texi:28775 guix-git/doc/guix.texi:28930
  42798. msgid "Whether to use the lzo compression algorithm."
  42799. msgstr ""
  42800. #. type: deftypevr
  42801. #: guix-git/doc/guix.texi:28780
  42802. #, no-wrap
  42803. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  42804. msgstr ""
  42805. #. type: deftypevr
  42806. #: guix-git/doc/guix.texi:28782 guix-git/doc/guix.texi:28937
  42807. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  42808. msgstr ""
  42809. #. type: deftypevr
  42810. #: guix-git/doc/guix.texi:28787
  42811. #, no-wrap
  42812. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  42813. msgstr ""
  42814. #. type: deftypevr
  42815. #: guix-git/doc/guix.texi:28790 guix-git/doc/guix.texi:28945
  42816. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  42817. msgstr ""
  42818. #. type: deftypevr
  42819. #: guix-git/doc/guix.texi:28795
  42820. #, no-wrap
  42821. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  42822. msgstr ""
  42823. #. type: deftypevr
  42824. #: guix-git/doc/guix.texi:28798 guix-git/doc/guix.texi:28953
  42825. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  42826. msgstr ""
  42827. #. type: deftypevr
  42828. #: guix-git/doc/guix.texi:28802
  42829. #, no-wrap
  42830. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  42831. msgstr ""
  42832. #. type: deftypevr
  42833. #: guix-git/doc/guix.texi:28804 guix-git/doc/guix.texi:28959
  42834. msgid "Verbosity level."
  42835. msgstr ""
  42836. #. type: deftypevr
  42837. #: guix-git/doc/guix.texi:28806 guix-git/doc/guix.texi:28961
  42838. #: guix-git/doc/guix.texi:30725 guix-git/doc/guix.texi:30953
  42839. msgid "Defaults to @samp{3}."
  42840. msgstr ""
  42841. #. type: deftypevr
  42842. #: guix-git/doc/guix.texi:28809
  42843. #, no-wrap
  42844. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  42845. msgstr ""
  42846. #. type: deftypevr
  42847. #: guix-git/doc/guix.texi:28812 guix-git/doc/guix.texi:28967
  42848. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  42849. msgstr ""
  42850. #. type: deftypevr
  42851. #: guix-git/doc/guix.texi:28817
  42852. #, no-wrap
  42853. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  42854. msgstr ""
  42855. #. type: deftypevr
  42856. #: guix-git/doc/guix.texi:28821
  42857. 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."
  42858. msgstr ""
  42859. #. type: deftypevr
  42860. #: guix-git/doc/guix.texi:28823
  42861. msgid "Defaults to @samp{'disabled}."
  42862. msgstr ""
  42863. #. type: deftypevr
  42864. #: guix-git/doc/guix.texi:28825
  42865. #, no-wrap
  42866. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  42867. msgstr ""
  42868. #. type: deftypevr
  42869. #: guix-git/doc/guix.texi:28827
  42870. msgid "Whether to check the server certificate has server usage extension."
  42871. msgstr ""
  42872. #. type: deftypevr
  42873. #: guix-git/doc/guix.texi:28832
  42874. #, no-wrap
  42875. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  42876. msgstr ""
  42877. #. type: deftypevr
  42878. #: guix-git/doc/guix.texi:28834
  42879. msgid "Bind to a specific local port number."
  42880. msgstr ""
  42881. #. type: deftypevr
  42882. #: guix-git/doc/guix.texi:28839
  42883. #, no-wrap
  42884. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  42885. msgstr ""
  42886. #. type: deftypevr
  42887. #: guix-git/doc/guix.texi:28841
  42888. msgid "Retry resolving server address."
  42889. msgstr ""
  42890. #. type: deftypevr
  42891. #: guix-git/doc/guix.texi:28846
  42892. #, no-wrap
  42893. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  42894. msgstr ""
  42895. #. type: deftypevr
  42896. #: guix-git/doc/guix.texi:28848
  42897. msgid "A list of remote servers to connect to."
  42898. msgstr ""
  42899. #. type: deftypevr
  42900. #: guix-git/doc/guix.texi:28852
  42901. msgid "Available @code{openvpn-remote-configuration} fields are:"
  42902. msgstr ""
  42903. #. type: deftypevr
  42904. #: guix-git/doc/guix.texi:28853
  42905. #, no-wrap
  42906. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  42907. msgstr ""
  42908. #. type: deftypevr
  42909. #: guix-git/doc/guix.texi:28855
  42910. msgid "Server name."
  42911. msgstr ""
  42912. #. type: deftypevr
  42913. #: guix-git/doc/guix.texi:28857
  42914. msgid "Defaults to @samp{\"my-server\"}."
  42915. msgstr ""
  42916. #. type: deftypevr
  42917. #: guix-git/doc/guix.texi:28860
  42918. #, no-wrap
  42919. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  42920. msgstr ""
  42921. #. type: deftypevr
  42922. #: guix-git/doc/guix.texi:28862
  42923. msgid "Port number the server listens to."
  42924. msgstr ""
  42925. #. type: deftypevr
  42926. #: guix-git/doc/guix.texi:28864 guix-git/doc/guix.texi:28976
  42927. msgid "Defaults to @samp{1194}."
  42928. msgstr ""
  42929. #. type: Plain text
  42930. #: guix-git/doc/guix.texi:28873
  42931. msgid "Available @code{openvpn-server-configuration} fields are:"
  42932. msgstr ""
  42933. #. type: deftypevr
  42934. #: guix-git/doc/guix.texi:28874
  42935. #, no-wrap
  42936. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  42937. msgstr ""
  42938. #. type: deftypevr
  42939. #: guix-git/doc/guix.texi:28879
  42940. #, no-wrap
  42941. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  42942. msgstr ""
  42943. #. type: deftypevr
  42944. #: guix-git/doc/guix.texi:28886
  42945. #, no-wrap
  42946. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  42947. msgstr ""
  42948. #. type: deftypevr
  42949. #: guix-git/doc/guix.texi:28894
  42950. #, no-wrap
  42951. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  42952. msgstr ""
  42953. #. type: deftypevr
  42954. #: guix-git/doc/guix.texi:28905
  42955. #, no-wrap
  42956. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  42957. msgstr ""
  42958. #. type: deftypevr
  42959. #: guix-git/doc/guix.texi:28912
  42960. #, no-wrap
  42961. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  42962. msgstr ""
  42963. #. type: deftypevr
  42964. #: guix-git/doc/guix.texi:28920
  42965. #, no-wrap
  42966. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  42967. msgstr ""
  42968. #. type: deftypevr
  42969. #: guix-git/doc/guix.texi:28928
  42970. #, no-wrap
  42971. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  42972. msgstr ""
  42973. #. type: deftypevr
  42974. #: guix-git/doc/guix.texi:28935
  42975. #, no-wrap
  42976. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  42977. msgstr ""
  42978. #. type: deftypevr
  42979. #: guix-git/doc/guix.texi:28942
  42980. #, no-wrap
  42981. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  42982. msgstr ""
  42983. #. type: deftypevr
  42984. #: guix-git/doc/guix.texi:28950
  42985. #, no-wrap
  42986. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  42987. msgstr ""
  42988. #. type: deftypevr
  42989. #: guix-git/doc/guix.texi:28957
  42990. #, no-wrap
  42991. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  42992. msgstr ""
  42993. #. type: deftypevr
  42994. #: guix-git/doc/guix.texi:28964
  42995. #, no-wrap
  42996. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  42997. msgstr ""
  42998. #. type: deftypevr
  42999. #: guix-git/doc/guix.texi:28972
  43000. #, no-wrap
  43001. msgid "{@code{openvpn-server-configuration} parameter} number port"
  43002. msgstr ""
  43003. #. type: deftypevr
  43004. #: guix-git/doc/guix.texi:28974
  43005. msgid "Specifies the port number on which the server listens."
  43006. msgstr ""
  43007. #. type: deftypevr
  43008. #: guix-git/doc/guix.texi:28979
  43009. #, no-wrap
  43010. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  43011. msgstr ""
  43012. #. type: deftypevr
  43013. #: guix-git/doc/guix.texi:28981
  43014. msgid "An ip and mask specifying the subnet inside the virtual network."
  43015. msgstr ""
  43016. #. type: deftypevr
  43017. #: guix-git/doc/guix.texi:28983
  43018. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  43019. msgstr ""
  43020. #. type: deftypevr
  43021. #: guix-git/doc/guix.texi:28986
  43022. #, no-wrap
  43023. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  43024. msgstr ""
  43025. #. type: deftypevr
  43026. #: guix-git/doc/guix.texi:28988
  43027. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  43028. msgstr ""
  43029. #. type: deftypevr
  43030. #: guix-git/doc/guix.texi:28993
  43031. #, no-wrap
  43032. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  43033. msgstr ""
  43034. #. type: deftypevr
  43035. #: guix-git/doc/guix.texi:28995
  43036. msgid "The Diffie-Hellman parameters file."
  43037. msgstr ""
  43038. #. type: deftypevr
  43039. #: guix-git/doc/guix.texi:28997
  43040. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  43041. msgstr ""
  43042. #. type: deftypevr
  43043. #: guix-git/doc/guix.texi:29000
  43044. #, no-wrap
  43045. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  43046. msgstr ""
  43047. #. type: deftypevr
  43048. #: guix-git/doc/guix.texi:29002
  43049. msgid "The file that records client IPs."
  43050. msgstr ""
  43051. #. type: deftypevr
  43052. #: guix-git/doc/guix.texi:29004
  43053. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  43054. msgstr ""
  43055. #. type: deftypevr
  43056. #: guix-git/doc/guix.texi:29007
  43057. #, no-wrap
  43058. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  43059. msgstr ""
  43060. #. type: deftypevr
  43061. #: guix-git/doc/guix.texi:29009
  43062. msgid "When true, the server will act as a gateway for its clients."
  43063. msgstr ""
  43064. #. type: deftypevr
  43065. #: guix-git/doc/guix.texi:29014
  43066. #, no-wrap
  43067. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  43068. msgstr ""
  43069. #. type: deftypevr
  43070. #: guix-git/doc/guix.texi:29016
  43071. msgid "When true, clients are allowed to talk to each other inside the VPN."
  43072. msgstr ""
  43073. #. type: deftypevr
  43074. #: guix-git/doc/guix.texi:29021
  43075. #, no-wrap
  43076. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  43077. msgstr ""
  43078. #. type: deftypevr
  43079. #: guix-git/doc/guix.texi:29027
  43080. 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."
  43081. msgstr ""
  43082. #. type: deftypevr
  43083. #: guix-git/doc/guix.texi:29030
  43084. #, no-wrap
  43085. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  43086. msgstr ""
  43087. #. type: deftypevr
  43088. #: guix-git/doc/guix.texi:29032
  43089. msgid "The maximum number of clients."
  43090. msgstr ""
  43091. #. type: deftypevr
  43092. #: guix-git/doc/guix.texi:29037
  43093. #, no-wrap
  43094. msgid "{@code{openvpn-server-configuration} parameter} string status"
  43095. msgstr ""
  43096. #. type: deftypevr
  43097. #: guix-git/doc/guix.texi:29040
  43098. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  43099. msgstr ""
  43100. #. type: deftypevr
  43101. #: guix-git/doc/guix.texi:29042
  43102. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  43103. msgstr ""
  43104. #. type: deftypevr
  43105. #: guix-git/doc/guix.texi:29045
  43106. #, no-wrap
  43107. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  43108. msgstr ""
  43109. #. type: deftypevr
  43110. #: guix-git/doc/guix.texi:29047
  43111. msgid "The list of configuration for some clients."
  43112. msgstr ""
  43113. #. type: deftypevr
  43114. #: guix-git/doc/guix.texi:29051
  43115. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  43116. msgstr ""
  43117. #. type: deftypevr
  43118. #: guix-git/doc/guix.texi:29052
  43119. #, no-wrap
  43120. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  43121. msgstr ""
  43122. #. type: deftypevr
  43123. #: guix-git/doc/guix.texi:29054
  43124. msgid "Client name."
  43125. msgstr ""
  43126. #. type: deftypevr
  43127. #: guix-git/doc/guix.texi:29056
  43128. msgid "Defaults to @samp{\"client\"}."
  43129. msgstr ""
  43130. #. type: deftypevr
  43131. #: guix-git/doc/guix.texi:29059
  43132. #, no-wrap
  43133. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  43134. msgstr ""
  43135. #. type: deftypevr
  43136. #: guix-git/doc/guix.texi:29061
  43137. msgid "Client own network"
  43138. msgstr ""
  43139. #. type: deftypevr
  43140. #: guix-git/doc/guix.texi:29066
  43141. #, no-wrap
  43142. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  43143. msgstr ""
  43144. #. type: deftypevr
  43145. #: guix-git/doc/guix.texi:29068
  43146. msgid "Client VPN IP."
  43147. msgstr ""
  43148. #. type: subheading
  43149. #: guix-git/doc/guix.texi:29077
  43150. #, no-wrap
  43151. msgid "strongSwan"
  43152. msgstr ""
  43153. #. type: Plain text
  43154. #: guix-git/doc/guix.texi:29081
  43155. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  43156. msgstr ""
  43157. #. type: defvr
  43158. #: guix-git/doc/guix.texi:29082
  43159. #, no-wrap
  43160. msgid "{Scheme Variable} strongswan-service-type"
  43161. msgstr ""
  43162. #. type: defvr
  43163. #: guix-git/doc/guix.texi:29086
  43164. 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:"
  43165. msgstr ""
  43166. #. type: lisp
  43167. #: guix-git/doc/guix.texi:29092
  43168. #, no-wrap
  43169. msgid ""
  43170. "(service strongswan-service-type\n"
  43171. " (strongswan-configuration\n"
  43172. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  43173. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  43174. msgstr ""
  43175. #. type: deftp
  43176. #: guix-git/doc/guix.texi:29096
  43177. #, no-wrap
  43178. msgid "{Data Type} strongswan-configuration"
  43179. msgstr ""
  43180. #. type: deftp
  43181. #: guix-git/doc/guix.texi:29098
  43182. msgid "Data type representing the configuration of the StrongSwan service."
  43183. msgstr ""
  43184. #. type: code{#1}
  43185. #: guix-git/doc/guix.texi:29100
  43186. #, no-wrap
  43187. msgid "strongswan"
  43188. msgstr ""
  43189. #. type: table
  43190. #: guix-git/doc/guix.texi:29102
  43191. msgid "The strongSwan package to use for this service."
  43192. msgstr ""
  43193. #. type: item
  43194. #: guix-git/doc/guix.texi:29103
  43195. #, no-wrap
  43196. msgid "@code{ipsec-conf} (default: @code{#f})"
  43197. msgstr ""
  43198. #. type: table
  43199. #: guix-git/doc/guix.texi:29106
  43200. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  43201. msgstr ""
  43202. #. type: item
  43203. #: guix-git/doc/guix.texi:29107
  43204. #, no-wrap
  43205. msgid "@code{ipsec-secrets} (default @code{#f})"
  43206. msgstr ""
  43207. #. type: table
  43208. #: guix-git/doc/guix.texi:29110
  43209. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  43210. msgstr ""
  43211. #. type: subsubheading
  43212. #: guix-git/doc/guix.texi:29114
  43213. #, no-wrap
  43214. msgid "Wireguard"
  43215. msgstr ""
  43216. #. type: defvr
  43217. #: guix-git/doc/guix.texi:29116
  43218. #, no-wrap
  43219. msgid "{Scheme Variable} wireguard-service-type"
  43220. msgstr ""
  43221. #. type: defvr
  43222. #: guix-git/doc/guix.texi:29119
  43223. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  43224. msgstr ""
  43225. #. type: lisp
  43226. #: guix-git/doc/guix.texi:29130
  43227. #, no-wrap
  43228. msgid ""
  43229. "(service wireguard-service-type\n"
  43230. " (wireguard-configuration\n"
  43231. " (peers\n"
  43232. " (list\n"
  43233. " (wireguard-peer\n"
  43234. " (name \"my-peer\")\n"
  43235. " (endpoint \"my.wireguard.com:51820\")\n"
  43236. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  43237. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  43238. msgstr ""
  43239. #. type: deftp
  43240. #: guix-git/doc/guix.texi:29134
  43241. #, no-wrap
  43242. msgid "{Data Type} wireguard-configuration"
  43243. msgstr ""
  43244. #. type: deftp
  43245. #: guix-git/doc/guix.texi:29136
  43246. msgid "Data type representing the configuration of the Wireguard service."
  43247. msgstr ""
  43248. #. type: code{#1}
  43249. #: guix-git/doc/guix.texi:29138
  43250. #, no-wrap
  43251. msgid "wireguard"
  43252. msgstr ""
  43253. #. type: table
  43254. #: guix-git/doc/guix.texi:29140
  43255. msgid "The wireguard package to use for this service."
  43256. msgstr ""
  43257. #. type: item
  43258. #: guix-git/doc/guix.texi:29141
  43259. #, no-wrap
  43260. msgid "@code{interface} (default: @code{\"wg0\"})"
  43261. msgstr ""
  43262. #. type: table
  43263. #: guix-git/doc/guix.texi:29143
  43264. msgid "The interface name for the VPN."
  43265. msgstr ""
  43266. #. type: item
  43267. #: guix-git/doc/guix.texi:29144
  43268. #, no-wrap
  43269. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  43270. msgstr ""
  43271. #. type: table
  43272. #: guix-git/doc/guix.texi:29146
  43273. msgid "The IP addresses to be assigned to the above interface."
  43274. msgstr ""
  43275. #. type: item
  43276. #: guix-git/doc/guix.texi:29147
  43277. #, no-wrap
  43278. msgid "@code{port} (default: @code{51820})"
  43279. msgstr ""
  43280. #. type: table
  43281. #: guix-git/doc/guix.texi:29149
  43282. msgid "The port on which to listen for incoming connections."
  43283. msgstr ""
  43284. #. type: item
  43285. #: guix-git/doc/guix.texi:29150
  43286. #, no-wrap
  43287. msgid "@code{dns} (default: @code{#f})"
  43288. msgstr ""
  43289. #. type: table
  43290. #: guix-git/doc/guix.texi:29152
  43291. msgid "The DNS server(s) to announce to VPN clients via DHCP."
  43292. msgstr ""
  43293. #. type: item
  43294. #: guix-git/doc/guix.texi:29153
  43295. #, no-wrap
  43296. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  43297. msgstr ""
  43298. #. type: table
  43299. #: guix-git/doc/guix.texi:29156
  43300. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  43301. msgstr ""
  43302. #. type: item
  43303. #: guix-git/doc/guix.texi:29157
  43304. #, no-wrap
  43305. msgid "@code{peers} (default: @code{'()})"
  43306. msgstr ""
  43307. #. type: table
  43308. #: guix-git/doc/guix.texi:29160
  43309. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  43310. msgstr ""
  43311. #. type: deftp
  43312. #: guix-git/doc/guix.texi:29164
  43313. #, no-wrap
  43314. msgid "{Data Type} wireguard-peer"
  43315. msgstr ""
  43316. #. type: deftp
  43317. #: guix-git/doc/guix.texi:29166
  43318. msgid "Data type representing a Wireguard peer attached to a given interface."
  43319. msgstr ""
  43320. #. type: table
  43321. #: guix-git/doc/guix.texi:29170
  43322. msgid "The peer name."
  43323. msgstr ""
  43324. #. type: item
  43325. #: guix-git/doc/guix.texi:29171
  43326. #, no-wrap
  43327. msgid "@code{endpoint} (default: @code{#f})"
  43328. msgstr ""
  43329. #. type: table
  43330. #: guix-git/doc/guix.texi:29174
  43331. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  43332. msgstr ""
  43333. #. type: itemx
  43334. #: guix-git/doc/guix.texi:29175 guix-git/doc/guix.texi:29570
  43335. #: guix-git/doc/guix.texi:29607 guix-git/doc/guix.texi:34858
  43336. #, no-wrap
  43337. msgid "public-key"
  43338. msgstr ""
  43339. #. type: table
  43340. #: guix-git/doc/guix.texi:29177
  43341. msgid "The peer public-key represented as a base64 string."
  43342. msgstr ""
  43343. #. type: code{#1}
  43344. #: guix-git/doc/guix.texi:29178
  43345. #, no-wrap
  43346. msgid "allowed-ips"
  43347. msgstr ""
  43348. #. type: table
  43349. #: guix-git/doc/guix.texi:29181
  43350. 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."
  43351. msgstr ""
  43352. #. type: item
  43353. #: guix-git/doc/guix.texi:29182
  43354. #, no-wrap
  43355. msgid "@code{keep-alive} (default: @code{#f})"
  43356. msgstr ""
  43357. #. type: table
  43358. #: guix-git/doc/guix.texi:29187
  43359. 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."
  43360. msgstr ""
  43361. #. type: cindex
  43362. #: guix-git/doc/guix.texi:29193
  43363. #, no-wrap
  43364. msgid "NFS"
  43365. msgstr ""
  43366. #. type: Plain text
  43367. #: guix-git/doc/guix.texi:29198
  43368. 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)."
  43369. msgstr ""
  43370. #. type: Plain text
  43371. #: guix-git/doc/guix.texi:29202
  43372. 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}."
  43373. msgstr ""
  43374. #. type: subsubheading
  43375. #: guix-git/doc/guix.texi:29203
  43376. #, no-wrap
  43377. msgid "NFS Service"
  43378. msgstr ""
  43379. #. type: cindex
  43380. #: guix-git/doc/guix.texi:29204
  43381. #, no-wrap
  43382. msgid "NFS, server"
  43383. msgstr ""
  43384. #. type: Plain text
  43385. #: guix-git/doc/guix.texi:29209
  43386. 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."
  43387. msgstr ""
  43388. #. type: defvr
  43389. #: guix-git/doc/guix.texi:29210
  43390. #, no-wrap
  43391. msgid "{Scheme Variable} nfs-service-type"
  43392. msgstr ""
  43393. #. type: defvr
  43394. #: guix-git/doc/guix.texi:29212
  43395. msgid "A service type for a complete NFS server."
  43396. msgstr ""
  43397. #. type: deftp
  43398. #: guix-git/doc/guix.texi:29214
  43399. #, no-wrap
  43400. msgid "{Data Type} nfs-configuration"
  43401. msgstr ""
  43402. #. type: deftp
  43403. #: guix-git/doc/guix.texi:29217
  43404. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  43405. msgstr ""
  43406. #. type: deftp
  43407. #: guix-git/doc/guix.texi:29219
  43408. msgid "It has the following parameters:"
  43409. msgstr ""
  43410. #. type: item
  43411. #: guix-git/doc/guix.texi:29220 guix-git/doc/guix.texi:29345
  43412. #: guix-git/doc/guix.texi:29370
  43413. #, no-wrap
  43414. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  43415. msgstr ""
  43416. #. type: table
  43417. #: guix-git/doc/guix.texi:29222
  43418. msgid "The nfs-utils package to use."
  43419. msgstr ""
  43420. #. type: item
  43421. #: guix-git/doc/guix.texi:29223
  43422. #, no-wrap
  43423. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  43424. msgstr ""
  43425. #. type: table
  43426. #: guix-git/doc/guix.texi:29226
  43427. 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."
  43428. msgstr ""
  43429. #. type: item
  43430. #: guix-git/doc/guix.texi:29227
  43431. #, no-wrap
  43432. msgid "@code{exports} (default: @code{'()})"
  43433. msgstr ""
  43434. #. type: table
  43435. #: guix-git/doc/guix.texi:29232
  43436. 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:"
  43437. msgstr ""
  43438. #. type: lisp
  43439. #: guix-git/doc/guix.texi:29238
  43440. #, no-wrap
  43441. msgid ""
  43442. "(nfs-configuration\n"
  43443. " (exports\n"
  43444. " '((\"/export\"\n"
  43445. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  43446. msgstr ""
  43447. #. type: item
  43448. #: guix-git/doc/guix.texi:29240
  43449. #, no-wrap
  43450. msgid "@code{rpcmountd-port} (default: @code{#f})"
  43451. msgstr ""
  43452. #. type: table
  43453. #: guix-git/doc/guix.texi:29242
  43454. msgid "The network port that the @command{rpc.mountd} daemon should use."
  43455. msgstr ""
  43456. #. type: item
  43457. #: guix-git/doc/guix.texi:29243
  43458. #, no-wrap
  43459. msgid "@code{rpcstatd-port} (default: @code{#f})"
  43460. msgstr ""
  43461. #. type: table
  43462. #: guix-git/doc/guix.texi:29245
  43463. msgid "The network port that the @command{rpc.statd} daemon should use."
  43464. msgstr ""
  43465. #. type: item
  43466. #: guix-git/doc/guix.texi:29246 guix-git/doc/guix.texi:29294
  43467. #, no-wrap
  43468. msgid "@code{rpcbind} (default: @code{rpcbind})"
  43469. msgstr ""
  43470. #. type: table
  43471. #: guix-git/doc/guix.texi:29248 guix-git/doc/guix.texi:29296
  43472. msgid "The rpcbind package to use."
  43473. msgstr ""
  43474. #. type: item
  43475. #: guix-git/doc/guix.texi:29249
  43476. #, no-wrap
  43477. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  43478. msgstr ""
  43479. #. type: table
  43480. #: guix-git/doc/guix.texi:29251
  43481. msgid "The local NFSv4 domain name."
  43482. msgstr ""
  43483. #. type: item
  43484. #: guix-git/doc/guix.texi:29252
  43485. #, no-wrap
  43486. msgid "@code{nfsd-port} (default: @code{2049})"
  43487. msgstr ""
  43488. #. type: table
  43489. #: guix-git/doc/guix.texi:29254
  43490. msgid "The network port that the @command{nfsd} daemon should use."
  43491. msgstr ""
  43492. #. type: item
  43493. #: guix-git/doc/guix.texi:29255
  43494. #, no-wrap
  43495. msgid "@code{nfsd-threads} (default: @code{8})"
  43496. msgstr ""
  43497. #. type: table
  43498. #: guix-git/doc/guix.texi:29257
  43499. msgid "The number of threads used by the @command{nfsd} daemon."
  43500. msgstr ""
  43501. #. type: item
  43502. #: guix-git/doc/guix.texi:29258
  43503. #, no-wrap
  43504. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  43505. msgstr ""
  43506. #. type: table
  43507. #: guix-git/doc/guix.texi:29260
  43508. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  43509. msgstr ""
  43510. #. type: item
  43511. #: guix-git/doc/guix.texi:29261
  43512. #, no-wrap
  43513. msgid "@code{nfsd-udp?} (default: @code{#f})"
  43514. msgstr ""
  43515. #. type: table
  43516. #: guix-git/doc/guix.texi:29263
  43517. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  43518. msgstr ""
  43519. #. type: item
  43520. #: guix-git/doc/guix.texi:29264 guix-git/doc/guix.texi:29348
  43521. #: guix-git/doc/guix.texi:29373
  43522. #, no-wrap
  43523. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43524. msgstr ""
  43525. #. type: table
  43526. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29350
  43527. #: guix-git/doc/guix.texi:29375
  43528. msgid "The directory where the pipefs file system is mounted."
  43529. msgstr ""
  43530. #. type: item
  43531. #: guix-git/doc/guix.texi:29267
  43532. #, no-wrap
  43533. msgid "@code{debug} (default: @code{'()\"})"
  43534. msgstr ""
  43535. #. type: table
  43536. #: guix-git/doc/guix.texi:29271
  43537. 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}."
  43538. msgstr ""
  43539. #. type: Plain text
  43540. #: guix-git/doc/guix.texi:29276
  43541. 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."
  43542. msgstr ""
  43543. #. type: subsubheading
  43544. #: guix-git/doc/guix.texi:29277
  43545. #, no-wrap
  43546. msgid "RPC Bind Service"
  43547. msgstr ""
  43548. #. type: cindex
  43549. #: guix-git/doc/guix.texi:29278
  43550. #, no-wrap
  43551. msgid "rpcbind"
  43552. msgstr ""
  43553. #. type: Plain text
  43554. #: guix-git/doc/guix.texi:29284
  43555. 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."
  43556. msgstr ""
  43557. #. type: defvr
  43558. #: guix-git/doc/guix.texi:29285
  43559. #, no-wrap
  43560. msgid "{Scheme Variable} rpcbind-service-type"
  43561. msgstr ""
  43562. #. type: defvr
  43563. #: guix-git/doc/guix.texi:29287
  43564. msgid "A service type for the RPC portmapper daemon."
  43565. msgstr ""
  43566. #. type: deftp
  43567. #: guix-git/doc/guix.texi:29290
  43568. #, no-wrap
  43569. msgid "{Data Type} rpcbind-configuration"
  43570. msgstr ""
  43571. #. type: deftp
  43572. #: guix-git/doc/guix.texi:29293
  43573. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  43574. msgstr ""
  43575. #. type: item
  43576. #: guix-git/doc/guix.texi:29297
  43577. #, no-wrap
  43578. msgid "@code{warm-start?} (default: @code{#t})"
  43579. msgstr ""
  43580. #. type: table
  43581. #: guix-git/doc/guix.texi:29301
  43582. 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."
  43583. msgstr ""
  43584. #. type: subsubheading
  43585. #: guix-git/doc/guix.texi:29305
  43586. #, no-wrap
  43587. msgid "Pipefs Pseudo File System"
  43588. msgstr ""
  43589. #. type: cindex
  43590. #: guix-git/doc/guix.texi:29306
  43591. #, no-wrap
  43592. msgid "pipefs"
  43593. msgstr ""
  43594. #. type: cindex
  43595. #: guix-git/doc/guix.texi:29307
  43596. #, no-wrap
  43597. msgid "rpc_pipefs"
  43598. msgstr ""
  43599. #. type: Plain text
  43600. #: guix-git/doc/guix.texi:29311
  43601. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  43602. msgstr ""
  43603. #. type: defvr
  43604. #: guix-git/doc/guix.texi:29312
  43605. #, no-wrap
  43606. msgid "{Scheme Variable} pipefs-service-type"
  43607. msgstr ""
  43608. #. type: defvr
  43609. #: guix-git/doc/guix.texi:29314
  43610. msgid "A service type for the pipefs pseudo file system."
  43611. msgstr ""
  43612. #. type: deftp
  43613. #: guix-git/doc/guix.texi:29316
  43614. #, no-wrap
  43615. msgid "{Data Type} pipefs-configuration"
  43616. msgstr ""
  43617. #. type: deftp
  43618. #: guix-git/doc/guix.texi:29319
  43619. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  43620. msgstr ""
  43621. #. type: item
  43622. #: guix-git/doc/guix.texi:29320
  43623. #, no-wrap
  43624. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43625. msgstr ""
  43626. #. type: table
  43627. #: guix-git/doc/guix.texi:29322
  43628. msgid "The directory to which the file system is to be attached."
  43629. msgstr ""
  43630. #. type: subsubheading
  43631. #: guix-git/doc/guix.texi:29326
  43632. #, no-wrap
  43633. msgid "GSS Daemon Service"
  43634. msgstr ""
  43635. #. type: cindex
  43636. #: guix-git/doc/guix.texi:29327
  43637. #, no-wrap
  43638. msgid "GSSD"
  43639. msgstr ""
  43640. #. type: cindex
  43641. #: guix-git/doc/guix.texi:29328
  43642. #, no-wrap
  43643. msgid "GSS"
  43644. msgstr ""
  43645. #. type: cindex
  43646. #: guix-git/doc/guix.texi:29329
  43647. #, no-wrap
  43648. msgid "global security system"
  43649. msgstr ""
  43650. #. type: Plain text
  43651. #: guix-git/doc/guix.texi:29336
  43652. 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})."
  43653. msgstr ""
  43654. #. type: defvr
  43655. #: guix-git/doc/guix.texi:29337
  43656. #, no-wrap
  43657. msgid "{Scheme Variable} gss-service-type"
  43658. msgstr ""
  43659. #. type: defvr
  43660. #: guix-git/doc/guix.texi:29339
  43661. msgid "A service type for the Global Security System (GSS) daemon."
  43662. msgstr ""
  43663. #. type: deftp
  43664. #: guix-git/doc/guix.texi:29341
  43665. #, no-wrap
  43666. msgid "{Data Type} gss-configuration"
  43667. msgstr ""
  43668. #. type: deftp
  43669. #: guix-git/doc/guix.texi:29344
  43670. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  43671. msgstr ""
  43672. #. type: table
  43673. #: guix-git/doc/guix.texi:29347
  43674. msgid "The package in which the @command{rpc.gssd} command is to be found."
  43675. msgstr ""
  43676. #. type: subsubheading
  43677. #: guix-git/doc/guix.texi:29355
  43678. #, no-wrap
  43679. msgid "IDMAP Daemon Service"
  43680. msgstr ""
  43681. #. type: cindex
  43682. #: guix-git/doc/guix.texi:29356
  43683. #, no-wrap
  43684. msgid "idmapd"
  43685. msgstr ""
  43686. #. type: cindex
  43687. #: guix-git/doc/guix.texi:29357
  43688. #, no-wrap
  43689. msgid "name mapper"
  43690. msgstr ""
  43691. #. type: Plain text
  43692. #: guix-git/doc/guix.texi:29361
  43693. 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."
  43694. msgstr ""
  43695. #. type: defvr
  43696. #: guix-git/doc/guix.texi:29362
  43697. #, no-wrap
  43698. msgid "{Scheme Variable} idmap-service-type"
  43699. msgstr ""
  43700. #. type: defvr
  43701. #: guix-git/doc/guix.texi:29364
  43702. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  43703. msgstr ""
  43704. #. type: deftp
  43705. #: guix-git/doc/guix.texi:29366
  43706. #, no-wrap
  43707. msgid "{Data Type} idmap-configuration"
  43708. msgstr ""
  43709. #. type: deftp
  43710. #: guix-git/doc/guix.texi:29369
  43711. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  43712. msgstr ""
  43713. #. type: table
  43714. #: guix-git/doc/guix.texi:29372
  43715. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  43716. msgstr ""
  43717. #. type: item
  43718. #: guix-git/doc/guix.texi:29376
  43719. #, no-wrap
  43720. msgid "@code{domain} (default: @code{#f})"
  43721. msgstr ""
  43722. #. type: table
  43723. #: guix-git/doc/guix.texi:29380
  43724. 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."
  43725. msgstr ""
  43726. #. type: item
  43727. #: guix-git/doc/guix.texi:29381
  43728. #, no-wrap
  43729. msgid "@code{verbosity} (default: @code{0})"
  43730. msgstr ""
  43731. #. type: table
  43732. #: guix-git/doc/guix.texi:29383
  43733. msgid "The verbosity level of the daemon."
  43734. msgstr ""
  43735. #. type: Plain text
  43736. #: guix-git/doc/guix.texi:29394
  43737. 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})."
  43738. msgstr ""
  43739. #. type: Plain text
  43740. #: guix-git/doc/guix.texi:29396
  43741. msgid "The @code{(gnu services cuirass)} module provides the following service."
  43742. msgstr ""
  43743. #. type: defvr
  43744. #: guix-git/doc/guix.texi:29397
  43745. #, no-wrap
  43746. msgid "{Scheme Procedure} cuirass-service-type"
  43747. msgstr ""
  43748. #. type: defvr
  43749. #: guix-git/doc/guix.texi:29400
  43750. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  43751. msgstr ""
  43752. #. type: Plain text
  43753. #: guix-git/doc/guix.texi:29405
  43754. 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."
  43755. msgstr ""
  43756. #. type: lisp
  43757. #: guix-git/doc/guix.texi:29416
  43758. #, no-wrap
  43759. msgid ""
  43760. "(define %cuirass-specs\n"
  43761. " #~(list (specification\n"
  43762. " (name \"my-channel\")\n"
  43763. " (build '(channels my-channel))\n"
  43764. " (channels\n"
  43765. " (cons (channel\n"
  43766. " (name 'my-channel)\n"
  43767. " (url \"https://my-channel.git\"))\n"
  43768. " %default-channels)))))\n"
  43769. "\n"
  43770. msgstr ""
  43771. #. type: lisp
  43772. #: guix-git/doc/guix.texi:29420 guix-git/doc/guix.texi:29434
  43773. #, no-wrap
  43774. msgid ""
  43775. "(service cuirass-service-type\n"
  43776. " (cuirass-configuration\n"
  43777. " (specifications %cuirass-specs)))\n"
  43778. msgstr ""
  43779. #. type: Plain text
  43780. #: guix-git/doc/guix.texi:29424
  43781. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  43782. msgstr ""
  43783. #. type: lisp
  43784. #: guix-git/doc/guix.texi:29430
  43785. #, no-wrap
  43786. msgid ""
  43787. "(define %cuirass-specs\n"
  43788. " #~(list (specification\n"
  43789. " (name \"my-linux\")\n"
  43790. " (build '(packages \"linux-libre\")))))\n"
  43791. "\n"
  43792. msgstr ""
  43793. #. type: Plain text
  43794. #: guix-git/doc/guix.texi:29439
  43795. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  43796. msgstr ""
  43797. #. type: Plain text
  43798. #: guix-git/doc/guix.texi:29443
  43799. 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."
  43800. msgstr ""
  43801. #. type: deftp
  43802. #: guix-git/doc/guix.texi:29444
  43803. #, no-wrap
  43804. msgid "{Data Type} cuirass-configuration"
  43805. msgstr ""
  43806. #. type: deftp
  43807. #: guix-git/doc/guix.texi:29446
  43808. msgid "Data type representing the configuration of Cuirass."
  43809. msgstr ""
  43810. #. type: item
  43811. #: guix-git/doc/guix.texi:29448 guix-git/doc/guix.texi:29585
  43812. #, no-wrap
  43813. msgid "@code{cuirass} (default: @code{cuirass})"
  43814. msgstr ""
  43815. #. type: table
  43816. #: guix-git/doc/guix.texi:29450 guix-git/doc/guix.texi:29587
  43817. msgid "The Cuirass package to use."
  43818. msgstr ""
  43819. #. type: item
  43820. #: guix-git/doc/guix.texi:29451
  43821. #, no-wrap
  43822. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  43823. msgstr ""
  43824. #. type: table
  43825. #: guix-git/doc/guix.texi:29453 guix-git/doc/guix.texi:29557
  43826. #: guix-git/doc/guix.texi:29600
  43827. msgid "Location of the log file."
  43828. msgstr ""
  43829. #. type: item
  43830. #: guix-git/doc/guix.texi:29454
  43831. #, no-wrap
  43832. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  43833. msgstr ""
  43834. #. type: table
  43835. #: guix-git/doc/guix.texi:29456
  43836. msgid "Location of the log file used by the web interface."
  43837. msgstr ""
  43838. #. type: item
  43839. #: guix-git/doc/guix.texi:29457
  43840. #, no-wrap
  43841. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  43842. msgstr ""
  43843. #. type: table
  43844. #: guix-git/doc/guix.texi:29459
  43845. msgid "Location of the repository cache."
  43846. msgstr ""
  43847. #. type: item
  43848. #: guix-git/doc/guix.texi:29460
  43849. #, no-wrap
  43850. msgid "@code{user} (default: @code{\"cuirass\"})"
  43851. msgstr ""
  43852. #. type: table
  43853. #: guix-git/doc/guix.texi:29462
  43854. msgid "Owner of the @code{cuirass} process."
  43855. msgstr ""
  43856. #. type: item
  43857. #: guix-git/doc/guix.texi:29463
  43858. #, no-wrap
  43859. msgid "@code{group} (default: @code{\"cuirass\"})"
  43860. msgstr ""
  43861. #. type: table
  43862. #: guix-git/doc/guix.texi:29465
  43863. msgid "Owner's group of the @code{cuirass} process."
  43864. msgstr ""
  43865. #. type: item
  43866. #: guix-git/doc/guix.texi:29466
  43867. #, no-wrap
  43868. msgid "@code{interval} (default: @code{60})"
  43869. msgstr ""
  43870. #. type: table
  43871. #: guix-git/doc/guix.texi:29469
  43872. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  43873. msgstr ""
  43874. #. type: item
  43875. #: guix-git/doc/guix.texi:29470
  43876. #, no-wrap
  43877. msgid "@code{parameters} (default: @code{#f})"
  43878. msgstr ""
  43879. #. type: table
  43880. #: guix-git/doc/guix.texi:29473
  43881. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  43882. msgstr ""
  43883. #. type: item
  43884. #: guix-git/doc/guix.texi:29474
  43885. #, no-wrap
  43886. msgid "@code{remote-server} (default: @code{#f})"
  43887. msgstr ""
  43888. #. type: table
  43889. #: guix-git/doc/guix.texi:29477
  43890. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  43891. msgstr ""
  43892. #. type: item
  43893. #: guix-git/doc/guix.texi:29478
  43894. #, no-wrap
  43895. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  43896. msgstr ""
  43897. #. type: table
  43898. #: guix-git/doc/guix.texi:29483
  43899. 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\"}."
  43900. msgstr ""
  43901. #. type: item
  43902. #: guix-git/doc/guix.texi:29484
  43903. #, no-wrap
  43904. msgid "@code{port} (default: @code{8081})"
  43905. msgstr ""
  43906. #. type: table
  43907. #: guix-git/doc/guix.texi:29486
  43908. msgid "Port number used by the HTTP server."
  43909. msgstr ""
  43910. #. type: table
  43911. #: guix-git/doc/guix.texi:29490
  43912. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  43913. msgstr ""
  43914. #. type: item
  43915. #: guix-git/doc/guix.texi:29491
  43916. #, no-wrap
  43917. msgid "@code{specifications} (default: @code{#~'()})"
  43918. msgstr ""
  43919. #. type: table
  43920. #: guix-git/doc/guix.texi:29495
  43921. 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})."
  43922. msgstr ""
  43923. #. type: item
  43924. #: guix-git/doc/guix.texi:29496
  43925. #, no-wrap
  43926. msgid "@code{use-substitutes?} (default: @code{#f})"
  43927. msgstr ""
  43928. #. type: table
  43929. #: guix-git/doc/guix.texi:29499
  43930. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  43931. msgstr ""
  43932. #. type: item
  43933. #: guix-git/doc/guix.texi:29500 guix-git/doc/guix.texi:36940
  43934. #, no-wrap
  43935. msgid "@code{one-shot?} (default: @code{#f})"
  43936. msgstr ""
  43937. #. type: table
  43938. #: guix-git/doc/guix.texi:29502
  43939. msgid "Only evaluate specifications and build derivations once."
  43940. msgstr ""
  43941. #. type: item
  43942. #: guix-git/doc/guix.texi:29503
  43943. #, no-wrap
  43944. msgid "@code{fallback?} (default: @code{#f})"
  43945. msgstr ""
  43946. #. type: table
  43947. #: guix-git/doc/guix.texi:29506
  43948. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  43949. msgstr ""
  43950. #. type: table
  43951. #: guix-git/doc/guix.texi:29509
  43952. msgid "Extra options to pass when running the Cuirass processes."
  43953. msgstr ""
  43954. #. type: cindex
  43955. #: guix-git/doc/guix.texi:29513
  43956. #, no-wrap
  43957. msgid "remote build"
  43958. msgstr ""
  43959. #. type: subsubheading
  43960. #: guix-git/doc/guix.texi:29514
  43961. #, no-wrap
  43962. msgid "Cuirass remote building"
  43963. msgstr ""
  43964. #. type: Plain text
  43965. #: guix-git/doc/guix.texi:29517
  43966. msgid "Cuirass supports two mechanisms to build derivations."
  43967. msgstr ""
  43968. #. type: item
  43969. #: guix-git/doc/guix.texi:29519
  43970. #, no-wrap
  43971. msgid "Using the local Guix daemon."
  43972. msgstr ""
  43973. #. type: itemize
  43974. #: guix-git/doc/guix.texi:29523
  43975. 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."
  43976. msgstr ""
  43977. #. type: item
  43978. #: guix-git/doc/guix.texi:29524
  43979. #, no-wrap
  43980. msgid "Using the remote build mechanism."
  43981. msgstr ""
  43982. #. type: itemize
  43983. #: guix-git/doc/guix.texi:29528
  43984. 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."
  43985. msgstr ""
  43986. #. type: Plain text
  43987. #: guix-git/doc/guix.texi:29535
  43988. 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."
  43989. msgstr ""
  43990. #. type: Plain text
  43991. #: guix-git/doc/guix.texi:29540
  43992. 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."
  43993. msgstr ""
  43994. #. type: deftp
  43995. #: guix-git/doc/guix.texi:29541
  43996. #, no-wrap
  43997. msgid "{Data Type} cuirass-remote-server-configuration"
  43998. msgstr ""
  43999. #. type: deftp
  44000. #: guix-git/doc/guix.texi:29543
  44001. msgid "Data type representing the configuration of the Cuirass remote-server."
  44002. msgstr ""
  44003. #. type: item
  44004. #: guix-git/doc/guix.texi:29545
  44005. #, no-wrap
  44006. msgid "@code{backend-port} (default: @code{5555})"
  44007. msgstr ""
  44008. #. type: table
  44009. #: guix-git/doc/guix.texi:29548
  44010. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  44011. msgstr ""
  44012. #. type: item
  44013. #: guix-git/doc/guix.texi:29549
  44014. #, no-wrap
  44015. msgid "@code{log-port} (default: @code{5556})"
  44016. msgstr ""
  44017. #. type: table
  44018. #: guix-git/doc/guix.texi:29551
  44019. msgid "The TCP port of the log server. It defaults to @code{5556}."
  44020. msgstr ""
  44021. #. type: item
  44022. #: guix-git/doc/guix.texi:29552
  44023. #, no-wrap
  44024. msgid "@code{publish-port} (default: @code{5557})"
  44025. msgstr ""
  44026. #. type: table
  44027. #: guix-git/doc/guix.texi:29554
  44028. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  44029. msgstr ""
  44030. #. type: item
  44031. #: guix-git/doc/guix.texi:29555
  44032. #, no-wrap
  44033. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  44034. msgstr ""
  44035. #. type: item
  44036. #: guix-git/doc/guix.texi:29558
  44037. #, no-wrap
  44038. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  44039. msgstr ""
  44040. #. type: table
  44041. #: guix-git/doc/guix.texi:29560
  44042. msgid "Use @var{cache} directory to cache build log files."
  44043. msgstr ""
  44044. #. type: item
  44045. #: guix-git/doc/guix.texi:29561
  44046. #, no-wrap
  44047. msgid "@code{trigger-url} (default: @code{#f})"
  44048. msgstr ""
  44049. #. type: table
  44050. #: guix-git/doc/guix.texi:29564
  44051. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  44052. msgstr ""
  44053. #. type: table
  44054. #: guix-git/doc/guix.texi:29569
  44055. 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."
  44056. msgstr ""
  44057. #. type: code{#1}
  44058. #: guix-git/doc/guix.texi:29571 guix-git/doc/guix.texi:29608
  44059. #, no-wrap
  44060. msgid "private-key"
  44061. msgstr ""
  44062. #. type: Plain text
  44063. #: guix-git/doc/guix.texi:29580
  44064. 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."
  44065. msgstr ""
  44066. #. type: deftp
  44067. #: guix-git/doc/guix.texi:29581
  44068. #, no-wrap
  44069. msgid "{Data Type} cuirass-remote-worker-configuration"
  44070. msgstr ""
  44071. #. type: deftp
  44072. #: guix-git/doc/guix.texi:29583
  44073. msgid "Data type representing the configuration of the Cuirass remote-worker."
  44074. msgstr ""
  44075. #. type: item
  44076. #: guix-git/doc/guix.texi:29588
  44077. #, no-wrap
  44078. msgid "@code{workers} (default: @code{1})"
  44079. msgstr ""
  44080. #. type: table
  44081. #: guix-git/doc/guix.texi:29590
  44082. msgid "Start @var{workers} parallel workers."
  44083. msgstr ""
  44084. #. type: table
  44085. #: guix-git/doc/guix.texi:29594
  44086. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  44087. msgstr ""
  44088. #. type: item
  44089. #: guix-git/doc/guix.texi:29595
  44090. #, no-wrap
  44091. msgid "@code{systems} (default: @code{(list (%current-system))})"
  44092. msgstr ""
  44093. #. type: table
  44094. #: guix-git/doc/guix.texi:29597
  44095. msgid "Only request builds for the given @var{systems}."
  44096. msgstr ""
  44097. #. type: item
  44098. #: guix-git/doc/guix.texi:29598
  44099. #, no-wrap
  44100. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  44101. msgstr ""
  44102. #. type: item
  44103. #: guix-git/doc/guix.texi:29601
  44104. #, no-wrap
  44105. msgid "@code{publish-port} (default: @code{5558})"
  44106. msgstr ""
  44107. #. type: table
  44108. #: guix-git/doc/guix.texi:29603
  44109. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  44110. msgstr ""
  44111. #. type: subsubheading
  44112. #: guix-git/doc/guix.texi:29615
  44113. #, no-wrap
  44114. msgid "Laminar"
  44115. msgstr ""
  44116. #. type: Plain text
  44117. #: guix-git/doc/guix.texi:29620
  44118. 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."
  44119. msgstr ""
  44120. #. type: Plain text
  44121. #: guix-git/doc/guix.texi:29623
  44122. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  44123. msgstr ""
  44124. #. type: defvr
  44125. #: guix-git/doc/guix.texi:29624
  44126. #, no-wrap
  44127. msgid "{Scheme Procedure} laminar-service-type"
  44128. msgstr ""
  44129. #. type: defvr
  44130. #: guix-git/doc/guix.texi:29627
  44131. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  44132. msgstr ""
  44133. #. type: defvr
  44134. #: guix-git/doc/guix.texi:29631
  44135. 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."
  44136. msgstr ""
  44137. #. type: lisp
  44138. #: guix-git/doc/guix.texi:29634
  44139. #, no-wrap
  44140. msgid "(service laminar-service-type)\n"
  44141. msgstr ""
  44142. #. type: deftp
  44143. #: guix-git/doc/guix.texi:29637
  44144. #, no-wrap
  44145. msgid "{Data Type} laminar-configuration"
  44146. msgstr ""
  44147. #. type: deftp
  44148. #: guix-git/doc/guix.texi:29639
  44149. msgid "Data type representing the configuration of Laminar."
  44150. msgstr ""
  44151. #. type: item
  44152. #: guix-git/doc/guix.texi:29641
  44153. #, no-wrap
  44154. msgid "@code{laminar} (default: @code{laminar})"
  44155. msgstr ""
  44156. #. type: table
  44157. #: guix-git/doc/guix.texi:29643
  44158. msgid "The Laminar package to use."
  44159. msgstr ""
  44160. #. type: item
  44161. #: guix-git/doc/guix.texi:29644
  44162. #, no-wrap
  44163. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  44164. msgstr ""
  44165. #. type: table
  44166. #: guix-git/doc/guix.texi:29646
  44167. msgid "The directory for job configurations and run directories."
  44168. msgstr ""
  44169. #. type: item
  44170. #: guix-git/doc/guix.texi:29647
  44171. #, no-wrap
  44172. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  44173. msgstr ""
  44174. #. type: table
  44175. #: guix-git/doc/guix.texi:29650
  44176. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  44177. msgstr ""
  44178. #. type: item
  44179. #: guix-git/doc/guix.texi:29651
  44180. #, no-wrap
  44181. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  44182. msgstr ""
  44183. #. type: table
  44184. #: guix-git/doc/guix.texi:29654
  44185. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  44186. msgstr ""
  44187. #. type: item
  44188. #: guix-git/doc/guix.texi:29655
  44189. #, no-wrap
  44190. msgid "@code{title} (default: @code{\"Laminar\"})"
  44191. msgstr ""
  44192. #. type: table
  44193. #: guix-git/doc/guix.texi:29657
  44194. msgid "The page title to show in the web frontend."
  44195. msgstr ""
  44196. #. type: item
  44197. #: guix-git/doc/guix.texi:29658
  44198. #, no-wrap
  44199. msgid "@code{keep-rundirs} (default: @code{0})"
  44200. msgstr ""
  44201. #. type: table
  44202. #: guix-git/doc/guix.texi:29662
  44203. 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."
  44204. msgstr ""
  44205. #. type: item
  44206. #: guix-git/doc/guix.texi:29663
  44207. #, no-wrap
  44208. msgid "@code{archive-url} (default: @code{#f})"
  44209. msgstr ""
  44210. #. type: table
  44211. #: guix-git/doc/guix.texi:29666
  44212. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  44213. msgstr ""
  44214. #. type: item
  44215. #: guix-git/doc/guix.texi:29667
  44216. #, no-wrap
  44217. msgid "@code{base-url} (default: @code{#f})"
  44218. msgstr ""
  44219. #. type: table
  44220. #: guix-git/doc/guix.texi:29669
  44221. msgid "Base URL to use for links to laminar itself."
  44222. msgstr ""
  44223. #. type: cindex
  44224. #: guix-git/doc/guix.texi:29676
  44225. #, no-wrap
  44226. msgid "tlp"
  44227. msgstr ""
  44228. #. type: cindex
  44229. #: guix-git/doc/guix.texi:29677
  44230. #, no-wrap
  44231. msgid "power management with TLP"
  44232. msgstr ""
  44233. #. type: subsubheading
  44234. #: guix-git/doc/guix.texi:29678
  44235. #, no-wrap
  44236. msgid "TLP daemon"
  44237. msgstr ""
  44238. #. type: Plain text
  44239. #: guix-git/doc/guix.texi:29682
  44240. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  44241. msgstr ""
  44242. #. type: Plain text
  44243. #: guix-git/doc/guix.texi:29688
  44244. 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}."
  44245. msgstr ""
  44246. #. type: deffn
  44247. #: guix-git/doc/guix.texi:29689
  44248. #, no-wrap
  44249. msgid "{Scheme Variable} tlp-service-type"
  44250. msgstr ""
  44251. #. type: deffn
  44252. #: guix-git/doc/guix.texi:29693
  44253. 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}:"
  44254. msgstr ""
  44255. #. type: lisp
  44256. #: guix-git/doc/guix.texi:29698
  44257. #, no-wrap
  44258. msgid ""
  44259. "(service tlp-service-type\n"
  44260. " (tlp-configuration\n"
  44261. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  44262. " (sched-powersave-on-bat? #t)))\n"
  44263. msgstr ""
  44264. #. type: Plain text
  44265. #: guix-git/doc/guix.texi:29706
  44266. 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}."
  44267. msgstr ""
  44268. #. type: Plain text
  44269. #: guix-git/doc/guix.texi:29716
  44270. msgid "Available @code{tlp-configuration} fields are:"
  44271. msgstr ""
  44272. #. type: deftypevr
  44273. #: guix-git/doc/guix.texi:29717
  44274. #, no-wrap
  44275. msgid "{@code{tlp-configuration} parameter} package tlp"
  44276. msgstr ""
  44277. #. type: deftypevr
  44278. #: guix-git/doc/guix.texi:29719
  44279. msgid "The TLP package."
  44280. msgstr ""
  44281. #. type: deftypevr
  44282. #: guix-git/doc/guix.texi:29722
  44283. #, no-wrap
  44284. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  44285. msgstr ""
  44286. #. type: deftypevr
  44287. #: guix-git/doc/guix.texi:29724
  44288. msgid "Set to true if you wish to enable TLP."
  44289. msgstr ""
  44290. #. type: deftypevr
  44291. #: guix-git/doc/guix.texi:29729
  44292. #, no-wrap
  44293. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  44294. msgstr ""
  44295. #. type: deftypevr
  44296. #: guix-git/doc/guix.texi:29732
  44297. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  44298. msgstr ""
  44299. #. type: deftypevr
  44300. #: guix-git/doc/guix.texi:29734
  44301. msgid "Defaults to @samp{\"AC\"}."
  44302. msgstr ""
  44303. #. type: deftypevr
  44304. #: guix-git/doc/guix.texi:29737
  44305. #, no-wrap
  44306. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  44307. msgstr ""
  44308. #. type: deftypevr
  44309. #: guix-git/doc/guix.texi:29740
  44310. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  44311. msgstr ""
  44312. #. type: deftypevr
  44313. #: guix-git/doc/guix.texi:29745
  44314. #, no-wrap
  44315. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  44316. msgstr ""
  44317. #. type: deftypevr
  44318. #: guix-git/doc/guix.texi:29747
  44319. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  44320. msgstr ""
  44321. #. type: deftypevr
  44322. #: guix-git/doc/guix.texi:29749
  44323. msgid "Defaults to @samp{2}."
  44324. msgstr ""
  44325. #. type: deftypevr
  44326. #: guix-git/doc/guix.texi:29752
  44327. #, no-wrap
  44328. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  44329. msgstr ""
  44330. #. type: deftypevr
  44331. #: guix-git/doc/guix.texi:29754
  44332. msgid "Dirty pages flushing periodicity, expressed in seconds."
  44333. msgstr ""
  44334. #. type: deftypevr
  44335. #: guix-git/doc/guix.texi:29756 guix-git/doc/guix.texi:29979
  44336. #: guix-git/doc/guix.texi:32279 guix-git/doc/guix.texi:32287
  44337. msgid "Defaults to @samp{15}."
  44338. msgstr ""
  44339. #. type: deftypevr
  44340. #: guix-git/doc/guix.texi:29759
  44341. #, no-wrap
  44342. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  44343. msgstr ""
  44344. #. type: deftypevr
  44345. #: guix-git/doc/guix.texi:29761
  44346. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  44347. msgstr ""
  44348. #. type: deftypevr
  44349. #: guix-git/doc/guix.texi:29763
  44350. msgid "Defaults to @samp{60}."
  44351. msgstr ""
  44352. #. type: deftypevr
  44353. #: guix-git/doc/guix.texi:29766
  44354. #, no-wrap
  44355. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  44356. msgstr ""
  44357. #. type: deftypevr
  44358. #: guix-git/doc/guix.texi:29770
  44359. 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."
  44360. msgstr ""
  44361. #. type: deftypevr
  44362. #: guix-git/doc/guix.texi:29775
  44363. #, no-wrap
  44364. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  44365. msgstr ""
  44366. #. type: deftypevr
  44367. #: guix-git/doc/guix.texi:29777
  44368. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  44369. msgstr ""
  44370. #. type: deftypevr
  44371. #: guix-git/doc/guix.texi:29782
  44372. #, no-wrap
  44373. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  44374. msgstr ""
  44375. #. type: deftypevr
  44376. #: guix-git/doc/guix.texi:29784
  44377. msgid "Set the min available frequency for the scaling governor on AC."
  44378. msgstr ""
  44379. #. type: deftypevr
  44380. #: guix-git/doc/guix.texi:29789
  44381. #, no-wrap
  44382. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  44383. msgstr ""
  44384. #. type: deftypevr
  44385. #: guix-git/doc/guix.texi:29791
  44386. msgid "Set the max available frequency for the scaling governor on AC."
  44387. msgstr ""
  44388. #. type: deftypevr
  44389. #: guix-git/doc/guix.texi:29796
  44390. #, no-wrap
  44391. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  44392. msgstr ""
  44393. #. type: deftypevr
  44394. #: guix-git/doc/guix.texi:29798
  44395. msgid "Set the min available frequency for the scaling governor on BAT."
  44396. msgstr ""
  44397. #. type: deftypevr
  44398. #: guix-git/doc/guix.texi:29803
  44399. #, no-wrap
  44400. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  44401. msgstr ""
  44402. #. type: deftypevr
  44403. #: guix-git/doc/guix.texi:29805
  44404. msgid "Set the max available frequency for the scaling governor on BAT."
  44405. msgstr ""
  44406. #. type: deftypevr
  44407. #: guix-git/doc/guix.texi:29810
  44408. #, no-wrap
  44409. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  44410. msgstr ""
  44411. #. type: deftypevr
  44412. #: guix-git/doc/guix.texi:29813
  44413. 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."
  44414. msgstr ""
  44415. #. type: deftypevr
  44416. #: guix-git/doc/guix.texi:29818
  44417. #, no-wrap
  44418. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  44419. msgstr ""
  44420. #. type: deftypevr
  44421. #: guix-git/doc/guix.texi:29821
  44422. 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."
  44423. msgstr ""
  44424. #. type: deftypevr
  44425. #: guix-git/doc/guix.texi:29826
  44426. #, no-wrap
  44427. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  44428. msgstr ""
  44429. #. type: deftypevr
  44430. #: guix-git/doc/guix.texi:29828
  44431. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  44432. msgstr ""
  44433. #. type: deftypevr
  44434. #: guix-git/doc/guix.texi:29833
  44435. #, no-wrap
  44436. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  44437. msgstr ""
  44438. #. type: deftypevr
  44439. #: guix-git/doc/guix.texi:29835
  44440. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  44441. msgstr ""
  44442. #. type: deftypevr
  44443. #: guix-git/doc/guix.texi:29840
  44444. #, no-wrap
  44445. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  44446. msgstr ""
  44447. #. type: deftypevr
  44448. #: guix-git/doc/guix.texi:29842
  44449. msgid "Enable CPU turbo boost feature on AC mode."
  44450. msgstr ""
  44451. #. type: deftypevr
  44452. #: guix-git/doc/guix.texi:29847
  44453. #, no-wrap
  44454. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  44455. msgstr ""
  44456. #. type: deftypevr
  44457. #: guix-git/doc/guix.texi:29849
  44458. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  44459. msgstr ""
  44460. #. type: deftypevr
  44461. #: guix-git/doc/guix.texi:29854
  44462. #, no-wrap
  44463. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  44464. msgstr ""
  44465. #. type: deftypevr
  44466. #: guix-git/doc/guix.texi:29857
  44467. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  44468. msgstr ""
  44469. #. type: deftypevr
  44470. #: guix-git/doc/guix.texi:29862
  44471. #, no-wrap
  44472. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  44473. msgstr ""
  44474. #. type: deftypevr
  44475. #: guix-git/doc/guix.texi:29864
  44476. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  44477. msgstr ""
  44478. #. type: deftypevr
  44479. #: guix-git/doc/guix.texi:29869
  44480. #, no-wrap
  44481. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  44482. msgstr ""
  44483. #. type: deftypevr
  44484. #: guix-git/doc/guix.texi:29871
  44485. msgid "Enable Linux kernel NMI watchdog."
  44486. msgstr ""
  44487. #. type: deftypevr
  44488. #: guix-git/doc/guix.texi:29876
  44489. #, no-wrap
  44490. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  44491. msgstr ""
  44492. #. type: deftypevr
  44493. #: guix-git/doc/guix.texi:29879
  44494. 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\"}."
  44495. msgstr ""
  44496. #. type: deftypevr
  44497. #: guix-git/doc/guix.texi:29884
  44498. #, no-wrap
  44499. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  44500. msgstr ""
  44501. #. type: deftypevr
  44502. #: guix-git/doc/guix.texi:29887
  44503. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  44504. msgstr ""
  44505. #. type: deftypevr
  44506. #: guix-git/doc/guix.texi:29889 guix-git/doc/guix.texi:29987
  44507. #: guix-git/doc/guix.texi:30045
  44508. msgid "Defaults to @samp{\"performance\"}."
  44509. msgstr ""
  44510. #. type: deftypevr
  44511. #: guix-git/doc/guix.texi:29892
  44512. #, no-wrap
  44513. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  44514. msgstr ""
  44515. #. type: deftypevr
  44516. #: guix-git/doc/guix.texi:29894
  44517. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  44518. msgstr ""
  44519. #. type: deftypevr
  44520. #: guix-git/doc/guix.texi:29896 guix-git/doc/guix.texi:29994
  44521. msgid "Defaults to @samp{\"powersave\"}."
  44522. msgstr ""
  44523. #. type: deftypevr
  44524. #: guix-git/doc/guix.texi:29899
  44525. #, no-wrap
  44526. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  44527. msgstr ""
  44528. #. type: deftypevr
  44529. #: guix-git/doc/guix.texi:29901
  44530. msgid "Hard disk devices."
  44531. msgstr ""
  44532. #. type: deftypevr
  44533. #: guix-git/doc/guix.texi:29904
  44534. #, no-wrap
  44535. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  44536. msgstr ""
  44537. #. type: deftypevr
  44538. #: guix-git/doc/guix.texi:29906
  44539. msgid "Hard disk advanced power management level."
  44540. msgstr ""
  44541. #. type: deftypevr
  44542. #: guix-git/doc/guix.texi:29909
  44543. #, no-wrap
  44544. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  44545. msgstr ""
  44546. #. type: deftypevr
  44547. #: guix-git/doc/guix.texi:29911
  44548. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  44549. msgstr ""
  44550. #. type: deftypevr
  44551. #: guix-git/doc/guix.texi:29914
  44552. #, no-wrap
  44553. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  44554. msgstr ""
  44555. #. type: deftypevr
  44556. #: guix-git/doc/guix.texi:29917
  44557. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  44558. msgstr ""
  44559. #. type: deftypevr
  44560. #: guix-git/doc/guix.texi:29922
  44561. #, no-wrap
  44562. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  44563. msgstr ""
  44564. #. type: deftypevr
  44565. #: guix-git/doc/guix.texi:29924
  44566. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  44567. msgstr ""
  44568. #. type: deftypevr
  44569. #: guix-git/doc/guix.texi:29929
  44570. #, no-wrap
  44571. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  44572. msgstr ""
  44573. #. type: deftypevr
  44574. #: guix-git/doc/guix.texi:29933
  44575. 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."
  44576. msgstr ""
  44577. #. type: deftypevr
  44578. #: guix-git/doc/guix.texi:29938
  44579. #, no-wrap
  44580. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  44581. msgstr ""
  44582. #. type: deftypevr
  44583. #: guix-git/doc/guix.texi:29941
  44584. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  44585. msgstr ""
  44586. #. type: deftypevr
  44587. #: guix-git/doc/guix.texi:29943
  44588. msgid "Defaults to @samp{\"max_performance\"}."
  44589. msgstr ""
  44590. #. type: deftypevr
  44591. #: guix-git/doc/guix.texi:29946
  44592. #, no-wrap
  44593. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  44594. msgstr ""
  44595. #. type: deftypevr
  44596. #: guix-git/doc/guix.texi:29948
  44597. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  44598. msgstr ""
  44599. #. type: deftypevr
  44600. #: guix-git/doc/guix.texi:29950
  44601. msgid "Defaults to @samp{\"min_power\"}."
  44602. msgstr ""
  44603. #. type: deftypevr
  44604. #: guix-git/doc/guix.texi:29953
  44605. #, no-wrap
  44606. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  44607. msgstr ""
  44608. #. type: deftypevr
  44609. #: guix-git/doc/guix.texi:29955
  44610. msgid "Exclude specified SATA host devices for link power management."
  44611. msgstr ""
  44612. #. type: deftypevr
  44613. #: guix-git/doc/guix.texi:29960
  44614. #, no-wrap
  44615. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  44616. msgstr ""
  44617. #. type: deftypevr
  44618. #: guix-git/doc/guix.texi:29963
  44619. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  44620. msgstr ""
  44621. #. type: deftypevr
  44622. #: guix-git/doc/guix.texi:29968
  44623. #, no-wrap
  44624. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  44625. msgstr ""
  44626. #. type: deftypevr
  44627. #: guix-git/doc/guix.texi:29970
  44628. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  44629. msgstr ""
  44630. #. type: deftypevr
  44631. #: guix-git/doc/guix.texi:29975
  44632. #, no-wrap
  44633. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  44634. msgstr ""
  44635. #. type: deftypevr
  44636. #: guix-git/doc/guix.texi:29977
  44637. msgid "Seconds of inactivity before disk is suspended."
  44638. msgstr ""
  44639. #. type: deftypevr
  44640. #: guix-git/doc/guix.texi:29982
  44641. #, no-wrap
  44642. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  44643. msgstr ""
  44644. #. type: deftypevr
  44645. #: guix-git/doc/guix.texi:29985
  44646. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  44647. msgstr ""
  44648. #. type: deftypevr
  44649. #: guix-git/doc/guix.texi:29990
  44650. #, no-wrap
  44651. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  44652. msgstr ""
  44653. #. type: deftypevr
  44654. #: guix-git/doc/guix.texi:29992
  44655. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  44656. msgstr ""
  44657. #. type: deftypevr
  44658. #: guix-git/doc/guix.texi:29997
  44659. #, no-wrap
  44660. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat0"
  44661. msgstr ""
  44662. #. type: deftypevr
  44663. #: guix-git/doc/guix.texi:29999
  44664. msgid "Percentage when battery 0 should begin charging. Only supported on some laptops."
  44665. msgstr ""
  44666. #. type: deftypevr
  44667. #: guix-git/doc/guix.texi:30004
  44668. #, no-wrap
  44669. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat0"
  44670. msgstr ""
  44671. #. type: deftypevr
  44672. #: guix-git/doc/guix.texi:30006
  44673. msgid "Percentage when battery 0 should stop charging. Only supported on some laptops."
  44674. msgstr ""
  44675. #. type: deftypevr
  44676. #: guix-git/doc/guix.texi:30011
  44677. #, no-wrap
  44678. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat1"
  44679. msgstr ""
  44680. #. type: deftypevr
  44681. #: guix-git/doc/guix.texi:30013
  44682. msgid "Percentage when battery 1 should begin charging. Only supported on some laptops."
  44683. msgstr ""
  44684. #. type: deftypevr
  44685. #: guix-git/doc/guix.texi:30018
  44686. #, no-wrap
  44687. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat1"
  44688. msgstr ""
  44689. #. type: deftypevr
  44690. #: guix-git/doc/guix.texi:30020
  44691. msgid "Percentage when battery 1 should stop charging. Only supported on some laptops."
  44692. msgstr ""
  44693. #. type: deftypevr
  44694. #: guix-git/doc/guix.texi:30025
  44695. #, no-wrap
  44696. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  44697. msgstr ""
  44698. #. type: deftypevr
  44699. #: guix-git/doc/guix.texi:30028
  44700. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  44701. msgstr ""
  44702. #. type: deftypevr
  44703. #: guix-git/doc/guix.texi:30030
  44704. msgid "Defaults to @samp{\"high\"}."
  44705. msgstr ""
  44706. #. type: deftypevr
  44707. #: guix-git/doc/guix.texi:30033
  44708. #, no-wrap
  44709. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  44710. msgstr ""
  44711. #. type: deftypevr
  44712. #: guix-git/doc/guix.texi:30035
  44713. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  44714. msgstr ""
  44715. #. type: deftypevr
  44716. #: guix-git/doc/guix.texi:30037
  44717. msgid "Defaults to @samp{\"low\"}."
  44718. msgstr ""
  44719. #. type: deftypevr
  44720. #: guix-git/doc/guix.texi:30040
  44721. #, no-wrap
  44722. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  44723. msgstr ""
  44724. #. type: deftypevr
  44725. #: guix-git/doc/guix.texi:30043
  44726. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  44727. msgstr ""
  44728. #. type: deftypevr
  44729. #: guix-git/doc/guix.texi:30048
  44730. #, no-wrap
  44731. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  44732. msgstr ""
  44733. #. type: deftypevr
  44734. #: guix-git/doc/guix.texi:30050
  44735. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  44736. msgstr ""
  44737. #. type: deftypevr
  44738. #: guix-git/doc/guix.texi:30052
  44739. msgid "Defaults to @samp{\"battery\"}."
  44740. msgstr ""
  44741. #. type: deftypevr
  44742. #: guix-git/doc/guix.texi:30055
  44743. #, no-wrap
  44744. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  44745. msgstr ""
  44746. #. type: deftypevr
  44747. #: guix-git/doc/guix.texi:30057
  44748. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  44749. msgstr ""
  44750. #. type: deftypevr
  44751. #: guix-git/doc/guix.texi:30059 guix-git/doc/guix.texi:30066
  44752. #: guix-git/doc/guix.texi:30140
  44753. msgid "Defaults to @samp{\"auto\"}."
  44754. msgstr ""
  44755. #. type: deftypevr
  44756. #: guix-git/doc/guix.texi:30062
  44757. #, no-wrap
  44758. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  44759. msgstr ""
  44760. #. type: deftypevr
  44761. #: guix-git/doc/guix.texi:30064
  44762. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  44763. msgstr ""
  44764. #. type: deftypevr
  44765. #: guix-git/doc/guix.texi:30069
  44766. #, no-wrap
  44767. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  44768. msgstr ""
  44769. #. type: deftypevr
  44770. #: guix-git/doc/guix.texi:30071
  44771. msgid "Wifi power saving mode."
  44772. msgstr ""
  44773. #. type: deftypevr
  44774. #: guix-git/doc/guix.texi:30076
  44775. #, no-wrap
  44776. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  44777. msgstr ""
  44778. #. type: deftypevr
  44779. #: guix-git/doc/guix.texi:30078
  44780. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  44781. msgstr ""
  44782. #. type: deftypevr
  44783. #: guix-git/doc/guix.texi:30083
  44784. #, no-wrap
  44785. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  44786. msgstr ""
  44787. #. type: deftypevr
  44788. #: guix-git/doc/guix.texi:30085
  44789. msgid "Disable wake on LAN."
  44790. msgstr ""
  44791. #. type: deftypevr
  44792. #: guix-git/doc/guix.texi:30090
  44793. #, no-wrap
  44794. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  44795. msgstr ""
  44796. #. type: deftypevr
  44797. #: guix-git/doc/guix.texi:30093
  44798. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  44799. msgstr ""
  44800. #. type: deftypevr
  44801. #: guix-git/doc/guix.texi:30098
  44802. #, no-wrap
  44803. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  44804. msgstr ""
  44805. #. type: deftypevr
  44806. #: guix-git/doc/guix.texi:30100
  44807. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  44808. msgstr ""
  44809. #. type: deftypevr
  44810. #: guix-git/doc/guix.texi:30105
  44811. #, no-wrap
  44812. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  44813. msgstr ""
  44814. #. type: deftypevr
  44815. #: guix-git/doc/guix.texi:30107
  44816. msgid "Disable controller in powersaving mode on Intel HDA devices."
  44817. msgstr ""
  44818. #. type: deftypevr
  44819. #: guix-git/doc/guix.texi:30112
  44820. #, no-wrap
  44821. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  44822. msgstr ""
  44823. #. type: deftypevr
  44824. #: guix-git/doc/guix.texi:30116
  44825. 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."
  44826. msgstr ""
  44827. #. type: deftypevr
  44828. #: guix-git/doc/guix.texi:30121
  44829. #, no-wrap
  44830. msgid "{@code{tlp-configuration} parameter} string bay-device"
  44831. msgstr ""
  44832. #. type: deftypevr
  44833. #: guix-git/doc/guix.texi:30123
  44834. msgid "Name of the optical drive device to power off."
  44835. msgstr ""
  44836. #. type: deftypevr
  44837. #: guix-git/doc/guix.texi:30125
  44838. msgid "Defaults to @samp{\"sr0\"}."
  44839. msgstr ""
  44840. #. type: deftypevr
  44841. #: guix-git/doc/guix.texi:30128
  44842. #, no-wrap
  44843. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  44844. msgstr ""
  44845. #. type: deftypevr
  44846. #: guix-git/doc/guix.texi:30131
  44847. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  44848. msgstr ""
  44849. #. type: deftypevr
  44850. #: guix-git/doc/guix.texi:30133
  44851. msgid "Defaults to @samp{\"on\"}."
  44852. msgstr ""
  44853. #. type: deftypevr
  44854. #: guix-git/doc/guix.texi:30136
  44855. #, no-wrap
  44856. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  44857. msgstr ""
  44858. #. type: deftypevr
  44859. #: guix-git/doc/guix.texi:30138
  44860. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  44861. msgstr ""
  44862. #. type: deftypevr
  44863. #: guix-git/doc/guix.texi:30143
  44864. #, no-wrap
  44865. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  44866. msgstr ""
  44867. #. type: deftypevr
  44868. #: guix-git/doc/guix.texi:30146
  44869. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  44870. msgstr ""
  44871. #. type: deftypevr
  44872. #: guix-git/doc/guix.texi:30151
  44873. #, no-wrap
  44874. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  44875. msgstr ""
  44876. #. type: deftypevr
  44877. #: guix-git/doc/guix.texi:30153
  44878. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  44879. msgstr ""
  44880. #. type: deftypevr
  44881. #: guix-git/doc/guix.texi:30158
  44882. #, no-wrap
  44883. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  44884. msgstr ""
  44885. #. type: deftypevr
  44886. #: guix-git/doc/guix.texi:30161
  44887. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  44888. msgstr ""
  44889. #. type: deftypevr
  44890. #: guix-git/doc/guix.texi:30164
  44891. #, no-wrap
  44892. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  44893. msgstr ""
  44894. #. type: deftypevr
  44895. #: guix-git/doc/guix.texi:30166
  44896. msgid "Enable USB autosuspend feature."
  44897. msgstr ""
  44898. #. type: deftypevr
  44899. #: guix-git/doc/guix.texi:30171
  44900. #, no-wrap
  44901. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  44902. msgstr ""
  44903. #. type: deftypevr
  44904. #: guix-git/doc/guix.texi:30173
  44905. msgid "Exclude specified devices from USB autosuspend."
  44906. msgstr ""
  44907. #. type: deftypevr
  44908. #: guix-git/doc/guix.texi:30178
  44909. #, no-wrap
  44910. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  44911. msgstr ""
  44912. #. type: deftypevr
  44913. #: guix-git/doc/guix.texi:30180
  44914. msgid "Exclude WWAN devices from USB autosuspend."
  44915. msgstr ""
  44916. #. type: deftypevr
  44917. #: guix-git/doc/guix.texi:30185
  44918. #, no-wrap
  44919. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  44920. msgstr ""
  44921. #. type: deftypevr
  44922. #: guix-git/doc/guix.texi:30188
  44923. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  44924. msgstr ""
  44925. #. type: deftypevr
  44926. #: guix-git/doc/guix.texi:30193
  44927. #, no-wrap
  44928. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  44929. msgstr ""
  44930. #. type: deftypevr
  44931. #: guix-git/doc/guix.texi:30195
  44932. msgid "Enable USB autosuspend before shutdown."
  44933. msgstr ""
  44934. #. type: deftypevr
  44935. #: guix-git/doc/guix.texi:30200
  44936. #, no-wrap
  44937. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  44938. msgstr ""
  44939. #. type: deftypevr
  44940. #: guix-git/doc/guix.texi:30203
  44941. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  44942. msgstr ""
  44943. #. type: cindex
  44944. #: guix-git/doc/guix.texi:30208
  44945. #, no-wrap
  44946. msgid "thermald"
  44947. msgstr ""
  44948. #. type: cindex
  44949. #: guix-git/doc/guix.texi:30209
  44950. #, no-wrap
  44951. msgid "CPU frequency scaling with thermald"
  44952. msgstr ""
  44953. #. type: subsubheading
  44954. #: guix-git/doc/guix.texi:30210
  44955. #, no-wrap
  44956. msgid "Thermald daemon"
  44957. msgstr ""
  44958. #. type: Plain text
  44959. #: guix-git/doc/guix.texi:30214
  44960. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  44961. msgstr ""
  44962. #. type: defvr
  44963. #: guix-git/doc/guix.texi:30215
  44964. #, no-wrap
  44965. msgid "{Scheme Variable} thermald-service-type"
  44966. msgstr ""
  44967. #. type: defvr
  44968. #: guix-git/doc/guix.texi:30220
  44969. 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."
  44970. msgstr ""
  44971. #. type: deftp
  44972. #: guix-git/doc/guix.texi:30222
  44973. #, no-wrap
  44974. msgid "{Data Type} thermald-configuration"
  44975. msgstr ""
  44976. #. type: deftp
  44977. #: guix-git/doc/guix.texi:30224
  44978. msgid "Data type representing the configuration of @code{thermald-service-type}."
  44979. msgstr ""
  44980. #. type: item
  44981. #: guix-git/doc/guix.texi:30226
  44982. #, no-wrap
  44983. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  44984. msgstr ""
  44985. #. type: table
  44986. #: guix-git/doc/guix.texi:30228
  44987. msgid "Ignore cpuid check for supported CPU models."
  44988. msgstr ""
  44989. #. type: item
  44990. #: guix-git/doc/guix.texi:30229
  44991. #, no-wrap
  44992. msgid "@code{thermald} (default: @var{thermald})"
  44993. msgstr ""
  44994. #. type: table
  44995. #: guix-git/doc/guix.texi:30231
  44996. msgid "Package object of thermald."
  44997. msgstr ""
  44998. #. type: Plain text
  44999. #: guix-git/doc/guix.texi:30240
  45000. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  45001. msgstr ""
  45002. #. type: cindex
  45003. #: guix-git/doc/guix.texi:30241
  45004. #, no-wrap
  45005. msgid "mpd"
  45006. msgstr ""
  45007. #. type: subsubheading
  45008. #: guix-git/doc/guix.texi:30242
  45009. #, no-wrap
  45010. msgid "Music Player Daemon"
  45011. msgstr ""
  45012. #. type: Plain text
  45013. #: guix-git/doc/guix.texi:30247
  45014. 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."
  45015. msgstr ""
  45016. #. type: Plain text
  45017. #: guix-git/doc/guix.texi:30250
  45018. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  45019. msgstr ""
  45020. #. type: lisp
  45021. #: guix-git/doc/guix.texi:30256
  45022. #, no-wrap
  45023. msgid ""
  45024. "(service mpd-service-type\n"
  45025. " (mpd-configuration\n"
  45026. " (user \"bob\")\n"
  45027. " (port \"6666\")))\n"
  45028. msgstr ""
  45029. #. type: defvr
  45030. #: guix-git/doc/guix.texi:30258
  45031. #, no-wrap
  45032. msgid "{Scheme Variable} mpd-service-type"
  45033. msgstr ""
  45034. #. type: defvr
  45035. #: guix-git/doc/guix.texi:30260
  45036. msgid "The service type for @command{mpd}"
  45037. msgstr ""
  45038. #. type: deftp
  45039. #: guix-git/doc/guix.texi:30262
  45040. #, no-wrap
  45041. msgid "{Data Type} mpd-configuration"
  45042. msgstr ""
  45043. #. type: deftp
  45044. #: guix-git/doc/guix.texi:30264
  45045. msgid "Data type representing the configuration of @command{mpd}."
  45046. msgstr ""
  45047. #. type: item
  45048. #: guix-git/doc/guix.texi:30266
  45049. #, no-wrap
  45050. msgid "@code{user} (default: @code{\"mpd\"})"
  45051. msgstr ""
  45052. #. type: table
  45053. #: guix-git/doc/guix.texi:30268
  45054. msgid "The user to run mpd as."
  45055. msgstr ""
  45056. #. type: item
  45057. #: guix-git/doc/guix.texi:30269
  45058. #, no-wrap
  45059. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  45060. msgstr ""
  45061. #. type: table
  45062. #: guix-git/doc/guix.texi:30271
  45063. msgid "The directory to scan for music files."
  45064. msgstr ""
  45065. #. type: item
  45066. #: guix-git/doc/guix.texi:30272
  45067. #, no-wrap
  45068. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  45069. msgstr ""
  45070. #. type: table
  45071. #: guix-git/doc/guix.texi:30274
  45072. msgid "The directory to store playlists."
  45073. msgstr ""
  45074. #. type: item
  45075. #: guix-git/doc/guix.texi:30275
  45076. #, no-wrap
  45077. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  45078. msgstr ""
  45079. #. type: table
  45080. #: guix-git/doc/guix.texi:30277
  45081. msgid "The location of the music database."
  45082. msgstr ""
  45083. #. type: item
  45084. #: guix-git/doc/guix.texi:30278
  45085. #, no-wrap
  45086. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  45087. msgstr ""
  45088. #. type: table
  45089. #: guix-git/doc/guix.texi:30280
  45090. msgid "The location of the file that stores current MPD's state."
  45091. msgstr ""
  45092. #. type: item
  45093. #: guix-git/doc/guix.texi:30281
  45094. #, no-wrap
  45095. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  45096. msgstr ""
  45097. #. type: table
  45098. #: guix-git/doc/guix.texi:30283
  45099. msgid "The location of the sticker database."
  45100. msgstr ""
  45101. #. type: item
  45102. #: guix-git/doc/guix.texi:30284
  45103. #, no-wrap
  45104. msgid "@code{port} (default: @code{\"6600\"})"
  45105. msgstr ""
  45106. #. type: table
  45107. #: guix-git/doc/guix.texi:30286
  45108. msgid "The port to run mpd on."
  45109. msgstr ""
  45110. #. type: item
  45111. #: guix-git/doc/guix.texi:30287
  45112. #, no-wrap
  45113. msgid "@code{address} (default: @code{\"any\"})"
  45114. msgstr ""
  45115. #. type: table
  45116. #: guix-git/doc/guix.texi:30290
  45117. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  45118. msgstr ""
  45119. #. type: item
  45120. #: guix-git/doc/guix.texi:30291
  45121. #, no-wrap
  45122. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  45123. msgstr ""
  45124. #. type: table
  45125. #: guix-git/doc/guix.texi:30293
  45126. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  45127. msgstr ""
  45128. #. type: deftp
  45129. #: guix-git/doc/guix.texi:30297
  45130. #, no-wrap
  45131. msgid "{Data Type} mpd-output"
  45132. msgstr ""
  45133. #. type: deftp
  45134. #: guix-git/doc/guix.texi:30299
  45135. msgid "Data type representing an @command{mpd} audio output."
  45136. msgstr ""
  45137. #. type: item
  45138. #: guix-git/doc/guix.texi:30301
  45139. #, no-wrap
  45140. msgid "@code{name} (default: @code{\"MPD\"})"
  45141. msgstr ""
  45142. #. type: table
  45143. #: guix-git/doc/guix.texi:30303
  45144. msgid "The name of the audio output."
  45145. msgstr ""
  45146. #. type: item
  45147. #: guix-git/doc/guix.texi:30304
  45148. #, no-wrap
  45149. msgid "@code{type} (default: @code{\"pulse\"})"
  45150. msgstr ""
  45151. #. type: table
  45152. #: guix-git/doc/guix.texi:30306
  45153. msgid "The type of audio output."
  45154. msgstr ""
  45155. #. type: item
  45156. #: guix-git/doc/guix.texi:30307
  45157. #, no-wrap
  45158. msgid "@code{enabled?} (default: @code{#t})"
  45159. msgstr ""
  45160. #. type: table
  45161. #: guix-git/doc/guix.texi:30312
  45162. 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."
  45163. msgstr ""
  45164. #. type: item
  45165. #: guix-git/doc/guix.texi:30313
  45166. #, no-wrap
  45167. msgid "@code{tags?} (default: @code{#t})"
  45168. msgstr ""
  45169. #. type: table
  45170. #: guix-git/doc/guix.texi:30317
  45171. 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."
  45172. msgstr ""
  45173. #. type: item
  45174. #: guix-git/doc/guix.texi:30318
  45175. #, no-wrap
  45176. msgid "@code{always-on?} (default: @code{#f})"
  45177. msgstr ""
  45178. #. type: table
  45179. #: guix-git/doc/guix.texi:30322
  45180. 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."
  45181. msgstr ""
  45182. #. type: code{#1}
  45183. #: guix-git/doc/guix.texi:30323
  45184. #, no-wrap
  45185. msgid "mixer-type"
  45186. msgstr ""
  45187. #. type: table
  45188. #: guix-git/doc/guix.texi:30329
  45189. 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})."
  45190. msgstr ""
  45191. #. type: table
  45192. #: guix-git/doc/guix.texi:30333
  45193. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  45194. msgstr ""
  45195. #. type: Plain text
  45196. #: guix-git/doc/guix.texi:30339
  45197. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  45198. msgstr ""
  45199. #. type: lisp
  45200. #: guix-git/doc/guix.texi:30351
  45201. #, no-wrap
  45202. msgid ""
  45203. "(service mpd-service-type\n"
  45204. " (mpd-configuration\n"
  45205. " (outputs\n"
  45206. " (list (mpd-output\n"
  45207. " (name \"streaming\")\n"
  45208. " (type \"httpd\")\n"
  45209. " (mixer-type 'null)\n"
  45210. " (extra-options\n"
  45211. " `((encoder . \"vorbis\")\n"
  45212. " (port . \"8080\"))))))))\n"
  45213. msgstr ""
  45214. #. type: Plain text
  45215. #: guix-git/doc/guix.texi:30360
  45216. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  45217. msgstr ""
  45218. #. type: subsubheading
  45219. #: guix-git/doc/guix.texi:30361
  45220. #, no-wrap
  45221. msgid "Libvirt daemon"
  45222. msgstr ""
  45223. #. type: Plain text
  45224. #: guix-git/doc/guix.texi:30366
  45225. 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."
  45226. msgstr ""
  45227. #. type: deffn
  45228. #: guix-git/doc/guix.texi:30367
  45229. #, no-wrap
  45230. msgid "{Scheme Variable} libvirt-service-type"
  45231. msgstr ""
  45232. #. type: deffn
  45233. #: guix-git/doc/guix.texi:30370
  45234. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  45235. msgstr ""
  45236. #. type: lisp
  45237. #: guix-git/doc/guix.texi:30376
  45238. #, no-wrap
  45239. msgid ""
  45240. "(service libvirt-service-type\n"
  45241. " (libvirt-configuration\n"
  45242. " (unix-sock-group \"libvirt\")\n"
  45243. " (tls-port \"16555\")))\n"
  45244. msgstr ""
  45245. #. type: Plain text
  45246. #: guix-git/doc/guix.texi:30381
  45247. msgid "Available @code{libvirt-configuration} fields are:"
  45248. msgstr ""
  45249. #. type: deftypevr
  45250. #: guix-git/doc/guix.texi:30382
  45251. #, no-wrap
  45252. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  45253. msgstr ""
  45254. #. type: deftypevar
  45255. #: guix-git/doc/guix.texi:30384 guix-git/doc/guix.texi:30947
  45256. msgid "Libvirt package."
  45257. msgstr ""
  45258. #. type: deftypevr
  45259. #: guix-git/doc/guix.texi:30387
  45260. #, no-wrap
  45261. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  45262. msgstr ""
  45263. #. type: deftypevr
  45264. #: guix-git/doc/guix.texi:30390
  45265. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45266. msgstr ""
  45267. #. type: deftypevr
  45268. #: guix-git/doc/guix.texi:30393
  45269. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  45270. msgstr ""
  45271. #. type: deftypevr
  45272. #: guix-git/doc/guix.texi:30398
  45273. #, no-wrap
  45274. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  45275. msgstr ""
  45276. #. type: deftypevr
  45277. #: guix-git/doc/guix.texi:30401
  45278. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45279. msgstr ""
  45280. #. type: deftypevr
  45281. #: guix-git/doc/guix.texi:30405
  45282. 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)."
  45283. msgstr ""
  45284. #. type: deftypevr
  45285. #: guix-git/doc/guix.texi:30410
  45286. #, no-wrap
  45287. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  45288. msgstr ""
  45289. #. type: deftypevr
  45290. #: guix-git/doc/guix.texi:30413
  45291. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  45292. msgstr ""
  45293. #. type: deftypevr
  45294. #: guix-git/doc/guix.texi:30415
  45295. msgid "Defaults to @samp{\"16514\"}."
  45296. msgstr ""
  45297. #. type: deftypevr
  45298. #: guix-git/doc/guix.texi:30418
  45299. #, no-wrap
  45300. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  45301. msgstr ""
  45302. #. type: deftypevr
  45303. #: guix-git/doc/guix.texi:30421
  45304. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  45305. msgstr ""
  45306. #. type: deftypevr
  45307. #: guix-git/doc/guix.texi:30423
  45308. msgid "Defaults to @samp{\"16509\"}."
  45309. msgstr ""
  45310. #. type: deftypevr
  45311. #: guix-git/doc/guix.texi:30426
  45312. #, no-wrap
  45313. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  45314. msgstr ""
  45315. #. type: deftypevr
  45316. #: guix-git/doc/guix.texi:30428
  45317. msgid "IP address or hostname used for client connections."
  45318. msgstr ""
  45319. #. type: deftypevr
  45320. #: guix-git/doc/guix.texi:30433
  45321. #, no-wrap
  45322. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  45323. msgstr ""
  45324. #. type: deftypevr
  45325. #: guix-git/doc/guix.texi:30435
  45326. msgid "Flag toggling mDNS advertisement of the libvirt service."
  45327. msgstr ""
  45328. #. type: deftypevr
  45329. #: guix-git/doc/guix.texi:30438
  45330. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  45331. msgstr ""
  45332. #. type: deftypevr
  45333. #: guix-git/doc/guix.texi:30443
  45334. #, no-wrap
  45335. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  45336. msgstr ""
  45337. #. type: deftypevr
  45338. #: guix-git/doc/guix.texi:30446
  45339. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  45340. msgstr ""
  45341. #. type: deftypevr
  45342. #: guix-git/doc/guix.texi:30448
  45343. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  45344. msgstr ""
  45345. #. type: deftypevr
  45346. #: guix-git/doc/guix.texi:30451
  45347. #, no-wrap
  45348. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  45349. msgstr ""
  45350. #. type: deftypevr
  45351. #: guix-git/doc/guix.texi:30455
  45352. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  45353. msgstr ""
  45354. #. type: deftypevr
  45355. #: guix-git/doc/guix.texi:30460
  45356. #, no-wrap
  45357. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  45358. msgstr ""
  45359. #. type: deftypevr
  45360. #: guix-git/doc/guix.texi:30463
  45361. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  45362. msgstr ""
  45363. #. type: deftypevr
  45364. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30483
  45365. msgid "Defaults to @samp{\"0777\"}."
  45366. msgstr ""
  45367. #. type: deftypevr
  45368. #: guix-git/doc/guix.texi:30468
  45369. #, no-wrap
  45370. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  45371. msgstr ""
  45372. #. type: deftypevr
  45373. #: guix-git/doc/guix.texi:30472
  45374. 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)"
  45375. msgstr ""
  45376. #. type: deftypevr
  45377. #: guix-git/doc/guix.texi:30474
  45378. msgid "Defaults to @samp{\"0770\"}."
  45379. msgstr ""
  45380. #. type: deftypevr
  45381. #: guix-git/doc/guix.texi:30477
  45382. #, no-wrap
  45383. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  45384. msgstr ""
  45385. #. type: deftypevr
  45386. #: guix-git/doc/guix.texi:30481
  45387. 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."
  45388. msgstr ""
  45389. #. type: deftypevr
  45390. #: guix-git/doc/guix.texi:30486
  45391. #, no-wrap
  45392. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  45393. msgstr ""
  45394. #. type: deftypevr
  45395. #: guix-git/doc/guix.texi:30488
  45396. msgid "The directory in which sockets will be found/created."
  45397. msgstr ""
  45398. #. type: deftypevr
  45399. #: guix-git/doc/guix.texi:30490
  45400. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  45401. msgstr ""
  45402. #. type: deftypevr
  45403. #: guix-git/doc/guix.texi:30493
  45404. #, no-wrap
  45405. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  45406. msgstr ""
  45407. #. type: deftypevr
  45408. #: guix-git/doc/guix.texi:30496
  45409. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  45410. msgstr ""
  45411. #. type: deftypevr
  45412. #: guix-git/doc/guix.texi:30498 guix-git/doc/guix.texi:30507
  45413. msgid "Defaults to @samp{\"polkit\"}."
  45414. msgstr ""
  45415. #. type: deftypevr
  45416. #: guix-git/doc/guix.texi:30501
  45417. #, no-wrap
  45418. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  45419. msgstr ""
  45420. #. type: deftypevr
  45421. #: guix-git/doc/guix.texi:30505
  45422. 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."
  45423. msgstr ""
  45424. #. type: deftypevr
  45425. #: guix-git/doc/guix.texi:30510
  45426. #, no-wrap
  45427. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  45428. msgstr ""
  45429. #. type: deftypevr
  45430. #: guix-git/doc/guix.texi:30514
  45431. 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."
  45432. msgstr ""
  45433. #. type: deftypevr
  45434. #: guix-git/doc/guix.texi:30516
  45435. msgid "Defaults to @samp{\"sasl\"}."
  45436. msgstr ""
  45437. #. type: deftypevr
  45438. #: guix-git/doc/guix.texi:30519
  45439. #, no-wrap
  45440. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  45441. msgstr ""
  45442. #. type: deftypevr
  45443. #: guix-git/doc/guix.texi:30523
  45444. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  45445. msgstr ""
  45446. #. type: deftypevr
  45447. #: guix-git/doc/guix.texi:30526
  45448. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  45449. msgstr ""
  45450. #. type: deftypevr
  45451. #: guix-git/doc/guix.texi:30528
  45452. msgid "Defaults to @samp{\"none\"}."
  45453. msgstr ""
  45454. #. type: deftypevr
  45455. #: guix-git/doc/guix.texi:30531
  45456. #, no-wrap
  45457. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  45458. msgstr ""
  45459. #. type: deftypevr
  45460. #: guix-git/doc/guix.texi:30533
  45461. msgid "API access control scheme."
  45462. msgstr ""
  45463. #. type: deftypevr
  45464. #: guix-git/doc/guix.texi:30536
  45465. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  45466. msgstr ""
  45467. #. type: deftypevr
  45468. #: guix-git/doc/guix.texi:30541
  45469. #, no-wrap
  45470. msgid "{@code{libvirt-configuration} parameter} string key-file"
  45471. msgstr ""
  45472. #. type: deftypevr
  45473. #: guix-git/doc/guix.texi:30544
  45474. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  45475. msgstr ""
  45476. #. type: deftypevr
  45477. #: guix-git/doc/guix.texi:30549
  45478. #, no-wrap
  45479. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  45480. msgstr ""
  45481. #. type: deftypevr
  45482. #: guix-git/doc/guix.texi:30552
  45483. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  45484. msgstr ""
  45485. #. type: deftypevr
  45486. #: guix-git/doc/guix.texi:30557
  45487. #, no-wrap
  45488. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  45489. msgstr ""
  45490. #. type: deftypevr
  45491. #: guix-git/doc/guix.texi:30560
  45492. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  45493. msgstr ""
  45494. #. type: deftypevr
  45495. #: guix-git/doc/guix.texi:30565
  45496. #, no-wrap
  45497. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  45498. msgstr ""
  45499. #. type: deftypevr
  45500. #: guix-git/doc/guix.texi:30568
  45501. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  45502. msgstr ""
  45503. #. type: deftypevr
  45504. #: guix-git/doc/guix.texi:30573
  45505. #, no-wrap
  45506. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  45507. msgstr ""
  45508. #. type: deftypevr
  45509. #: guix-git/doc/guix.texi:30575
  45510. msgid "Disable verification of our own server certificates."
  45511. msgstr ""
  45512. #. type: deftypevr
  45513. #: guix-git/doc/guix.texi:30578
  45514. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  45515. msgstr ""
  45516. #. type: deftypevr
  45517. #: guix-git/doc/guix.texi:30583
  45518. #, no-wrap
  45519. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  45520. msgstr ""
  45521. #. type: deftypevr
  45522. #: guix-git/doc/guix.texi:30585
  45523. msgid "Disable verification of client certificates."
  45524. msgstr ""
  45525. #. type: deftypevr
  45526. #: guix-git/doc/guix.texi:30589
  45527. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  45528. msgstr ""
  45529. #. type: deftypevr
  45530. #: guix-git/doc/guix.texi:30594
  45531. #, no-wrap
  45532. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  45533. msgstr ""
  45534. #. type: deftypevr
  45535. #: guix-git/doc/guix.texi:30596
  45536. msgid "Whitelist of allowed x509 Distinguished Name."
  45537. msgstr ""
  45538. #. type: deftypevr
  45539. #: guix-git/doc/guix.texi:30601
  45540. #, no-wrap
  45541. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  45542. msgstr ""
  45543. #. type: deftypevr
  45544. #: guix-git/doc/guix.texi:30604
  45545. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  45546. msgstr ""
  45547. #. type: deftypevr
  45548. #: guix-git/doc/guix.texi:30609
  45549. #, no-wrap
  45550. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  45551. msgstr ""
  45552. #. type: deftypevr
  45553. #: guix-git/doc/guix.texi:30613
  45554. 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."
  45555. msgstr ""
  45556. #. type: deftypevr
  45557. #: guix-git/doc/guix.texi:30615
  45558. msgid "Defaults to @samp{\"NORMAL\"}."
  45559. msgstr ""
  45560. #. type: deftypevr
  45561. #: guix-git/doc/guix.texi:30618
  45562. #, no-wrap
  45563. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  45564. msgstr ""
  45565. #. type: deftypevr
  45566. #: guix-git/doc/guix.texi:30621 guix-git/doc/guix.texi:31049
  45567. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  45568. msgstr ""
  45569. #. type: deftypevr
  45570. #: guix-git/doc/guix.texi:30623
  45571. msgid "Defaults to @samp{5000}."
  45572. msgstr ""
  45573. #. type: deftypevr
  45574. #: guix-git/doc/guix.texi:30626
  45575. #, no-wrap
  45576. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  45577. msgstr ""
  45578. #. type: deftypevr
  45579. #: guix-git/doc/guix.texi:30630
  45580. 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."
  45581. msgstr ""
  45582. #. type: deftypevr
  45583. #: guix-git/doc/guix.texi:30635
  45584. #, no-wrap
  45585. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  45586. msgstr ""
  45587. #. type: deftypevr
  45588. #: guix-git/doc/guix.texi:30638
  45589. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  45590. msgstr ""
  45591. #. type: deftypevr
  45592. #: guix-git/doc/guix.texi:30640 guix-git/doc/guix.texi:30658
  45593. #: guix-git/doc/guix.texi:30674
  45594. msgid "Defaults to @samp{20}."
  45595. msgstr ""
  45596. #. type: deftypevr
  45597. #: guix-git/doc/guix.texi:30643
  45598. #, no-wrap
  45599. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  45600. msgstr ""
  45601. #. type: deftypevr
  45602. #: guix-git/doc/guix.texi:30645
  45603. msgid "Number of workers to start up initially."
  45604. msgstr ""
  45605. #. type: deftypevr
  45606. #: guix-git/doc/guix.texi:30650
  45607. #, no-wrap
  45608. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  45609. msgstr ""
  45610. #. type: deftypevr
  45611. #: guix-git/doc/guix.texi:30652
  45612. msgid "Maximum number of worker threads."
  45613. msgstr ""
  45614. #. type: deftypevr
  45615. #: guix-git/doc/guix.texi:30656
  45616. 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."
  45617. msgstr ""
  45618. #. type: deftypevr
  45619. #: guix-git/doc/guix.texi:30661
  45620. #, no-wrap
  45621. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  45622. msgstr ""
  45623. #. type: deftypevr
  45624. #: guix-git/doc/guix.texi:30665
  45625. 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."
  45626. msgstr ""
  45627. #. type: deftypevr
  45628. #: guix-git/doc/guix.texi:30670
  45629. #, no-wrap
  45630. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  45631. msgstr ""
  45632. #. type: deftypevr
  45633. #: guix-git/doc/guix.texi:30672
  45634. msgid "Total global limit on concurrent RPC calls."
  45635. msgstr ""
  45636. #. type: deftypevr
  45637. #: guix-git/doc/guix.texi:30677
  45638. #, no-wrap
  45639. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  45640. msgstr ""
  45641. #. type: deftypevr
  45642. #: guix-git/doc/guix.texi:30681
  45643. 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."
  45644. msgstr ""
  45645. #. type: deftypevr
  45646. #: guix-git/doc/guix.texi:30686
  45647. #, no-wrap
  45648. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  45649. msgstr ""
  45650. #. type: deftypevr
  45651. #: guix-git/doc/guix.texi:30688
  45652. msgid "Same as @code{min-workers} but for the admin interface."
  45653. msgstr ""
  45654. #. type: deftypevr
  45655. #: guix-git/doc/guix.texi:30693
  45656. #, no-wrap
  45657. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  45658. msgstr ""
  45659. #. type: deftypevr
  45660. #: guix-git/doc/guix.texi:30695
  45661. msgid "Same as @code{max-workers} but for the admin interface."
  45662. msgstr ""
  45663. #. type: deftypevr
  45664. #: guix-git/doc/guix.texi:30700
  45665. #, no-wrap
  45666. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  45667. msgstr ""
  45668. #. type: deftypevr
  45669. #: guix-git/doc/guix.texi:30702
  45670. msgid "Same as @code{max-clients} but for the admin interface."
  45671. msgstr ""
  45672. #. type: deftypevr
  45673. #: guix-git/doc/guix.texi:30707
  45674. #, no-wrap
  45675. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  45676. msgstr ""
  45677. #. type: deftypevr
  45678. #: guix-git/doc/guix.texi:30709
  45679. msgid "Same as @code{max-queued-clients} but for the admin interface."
  45680. msgstr ""
  45681. #. type: deftypevr
  45682. #: guix-git/doc/guix.texi:30714
  45683. #, no-wrap
  45684. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  45685. msgstr ""
  45686. #. type: deftypevr
  45687. #: guix-git/doc/guix.texi:30716
  45688. msgid "Same as @code{max-client-requests} but for the admin interface."
  45689. msgstr ""
  45690. #. type: deftypevr
  45691. #: guix-git/doc/guix.texi:30721
  45692. #, no-wrap
  45693. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  45694. msgstr ""
  45695. #. type: deftypevr
  45696. #: guix-git/doc/guix.texi:30723 guix-git/doc/guix.texi:30951
  45697. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  45698. msgstr ""
  45699. #. type: deftypevr
  45700. #: guix-git/doc/guix.texi:30728
  45701. #, no-wrap
  45702. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  45703. msgstr ""
  45704. #. type: deftypevr
  45705. #: guix-git/doc/guix.texi:30730 guix-git/doc/guix.texi:30958
  45706. msgid "Logging filters."
  45707. msgstr ""
  45708. #. type: deftypevr
  45709. #: guix-git/doc/guix.texi:30733
  45710. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  45711. msgstr ""
  45712. #. type: itemize
  45713. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30965
  45714. msgid "x:name"
  45715. msgstr ""
  45716. #. type: itemize
  45717. #: guix-git/doc/guix.texi:30740 guix-git/doc/guix.texi:30968
  45718. msgid "x:+name"
  45719. msgstr ""
  45720. #. type: deftypevr
  45721. #: guix-git/doc/guix.texi:30751
  45722. 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:"
  45723. msgstr ""
  45724. #. type: itemize
  45725. #: guix-git/doc/guix.texi:30755 guix-git/doc/guix.texi:30800
  45726. #: guix-git/doc/guix.texi:30982 guix-git/doc/guix.texi:31027
  45727. msgid "1: DEBUG"
  45728. msgstr ""
  45729. #. type: itemize
  45730. #: guix-git/doc/guix.texi:30758 guix-git/doc/guix.texi:30803
  45731. #: guix-git/doc/guix.texi:30985 guix-git/doc/guix.texi:31030
  45732. msgid "2: INFO"
  45733. msgstr ""
  45734. #. type: itemize
  45735. #: guix-git/doc/guix.texi:30761 guix-git/doc/guix.texi:30806
  45736. #: guix-git/doc/guix.texi:30988 guix-git/doc/guix.texi:31033
  45737. msgid "3: WARNING"
  45738. msgstr ""
  45739. #. type: itemize
  45740. #: guix-git/doc/guix.texi:30764 guix-git/doc/guix.texi:30809
  45741. #: guix-git/doc/guix.texi:30991 guix-git/doc/guix.texi:31036
  45742. msgid "4: ERROR"
  45743. msgstr ""
  45744. #. type: deftypevr
  45745. #: guix-git/doc/guix.texi:30769 guix-git/doc/guix.texi:30996
  45746. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  45747. msgstr ""
  45748. #. type: deftypevr
  45749. #: guix-git/doc/guix.texi:30771 guix-git/doc/guix.texi:30998
  45750. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  45751. msgstr ""
  45752. #. type: deftypevr
  45753. #: guix-git/doc/guix.texi:30774
  45754. #, no-wrap
  45755. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  45756. msgstr ""
  45757. #. type: deftypevr
  45758. #: guix-git/doc/guix.texi:30776 guix-git/doc/guix.texi:31003
  45759. msgid "Logging outputs."
  45760. msgstr ""
  45761. #. type: deftypevr
  45762. #: guix-git/doc/guix.texi:30779
  45763. msgid "An output is one of the places to save logging information. The format for an output can be:"
  45764. msgstr ""
  45765. #. type: item
  45766. #: guix-git/doc/guix.texi:30781 guix-git/doc/guix.texi:31008
  45767. #, no-wrap
  45768. msgid "x:stderr"
  45769. msgstr ""
  45770. #. type: table
  45771. #: guix-git/doc/guix.texi:30783 guix-git/doc/guix.texi:31010
  45772. msgid "output goes to stderr"
  45773. msgstr ""
  45774. #. type: item
  45775. #: guix-git/doc/guix.texi:30784 guix-git/doc/guix.texi:31011
  45776. #, no-wrap
  45777. msgid "x:syslog:name"
  45778. msgstr ""
  45779. #. type: table
  45780. #: guix-git/doc/guix.texi:30786 guix-git/doc/guix.texi:31013
  45781. msgid "use syslog for the output and use the given name as the ident"
  45782. msgstr ""
  45783. #. type: item
  45784. #: guix-git/doc/guix.texi:30787 guix-git/doc/guix.texi:31014
  45785. #, no-wrap
  45786. msgid "x:file:file_path"
  45787. msgstr ""
  45788. #. type: table
  45789. #: guix-git/doc/guix.texi:30789 guix-git/doc/guix.texi:31016
  45790. msgid "output to a file, with the given filepath"
  45791. msgstr ""
  45792. #. type: item
  45793. #: guix-git/doc/guix.texi:30790 guix-git/doc/guix.texi:31017
  45794. #, no-wrap
  45795. msgid "x:journald"
  45796. msgstr ""
  45797. #. type: table
  45798. #: guix-git/doc/guix.texi:30792 guix-git/doc/guix.texi:31019
  45799. msgid "output to journald logging system"
  45800. msgstr ""
  45801. #. type: deftypevr
  45802. #: guix-git/doc/guix.texi:30796 guix-git/doc/guix.texi:31023
  45803. msgid "In all case the x prefix is the minimal level, acting as a filter"
  45804. msgstr ""
  45805. #. type: deftypevr
  45806. #: guix-git/doc/guix.texi:30814 guix-git/doc/guix.texi:31041
  45807. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  45808. msgstr ""
  45809. #. type: deftypevr
  45810. #: guix-git/doc/guix.texi:30816 guix-git/doc/guix.texi:31043
  45811. msgid "Defaults to @samp{\"3:stderr\"}."
  45812. msgstr ""
  45813. #. type: deftypevr
  45814. #: guix-git/doc/guix.texi:30819
  45815. #, no-wrap
  45816. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  45817. msgstr ""
  45818. #. type: deftypevr
  45819. #: guix-git/doc/guix.texi:30821
  45820. msgid "Allows usage of the auditing subsystem to be altered"
  45821. msgstr ""
  45822. #. type: itemize
  45823. #: guix-git/doc/guix.texi:30825
  45824. msgid "0: disable all auditing"
  45825. msgstr ""
  45826. #. type: itemize
  45827. #: guix-git/doc/guix.texi:30828
  45828. msgid "1: enable auditing, only if enabled on host"
  45829. msgstr ""
  45830. #. type: itemize
  45831. #: guix-git/doc/guix.texi:30831
  45832. msgid "2: enable auditing, and exit if disabled on host."
  45833. msgstr ""
  45834. #. type: deftypevr
  45835. #: guix-git/doc/guix.texi:30838
  45836. #, no-wrap
  45837. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  45838. msgstr ""
  45839. #. type: deftypevr
  45840. #: guix-git/doc/guix.texi:30840
  45841. msgid "Send audit messages via libvirt logging infrastructure."
  45842. msgstr ""
  45843. #. type: deftypevr
  45844. #: guix-git/doc/guix.texi:30845
  45845. #, no-wrap
  45846. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  45847. msgstr ""
  45848. #. type: deftypevr
  45849. #: guix-git/doc/guix.texi:30847
  45850. msgid "Host UUID@. UUID must not have all digits be the same."
  45851. msgstr ""
  45852. #. type: deftypevr
  45853. #: guix-git/doc/guix.texi:30852
  45854. #, no-wrap
  45855. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  45856. msgstr ""
  45857. #. type: deftypevr
  45858. #: guix-git/doc/guix.texi:30854
  45859. msgid "Source to read host UUID."
  45860. msgstr ""
  45861. #. type: itemize
  45862. #: guix-git/doc/guix.texi:30858
  45863. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  45864. msgstr ""
  45865. #. type: itemize
  45866. #: guix-git/doc/guix.texi:30861
  45867. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  45868. msgstr ""
  45869. #. type: deftypevr
  45870. #: guix-git/doc/guix.texi:30866
  45871. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  45872. msgstr ""
  45873. #. type: deftypevr
  45874. #: guix-git/doc/guix.texi:30868
  45875. msgid "Defaults to @samp{\"smbios\"}."
  45876. msgstr ""
  45877. #. type: deftypevr
  45878. #: guix-git/doc/guix.texi:30871
  45879. #, no-wrap
  45880. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  45881. msgstr ""
  45882. #. type: deftypevr
  45883. #: guix-git/doc/guix.texi:30876
  45884. 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."
  45885. msgstr ""
  45886. #. type: deftypevr
  45887. #: guix-git/doc/guix.texi:30881
  45888. #, no-wrap
  45889. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  45890. msgstr ""
  45891. #. type: deftypevr
  45892. #: guix-git/doc/guix.texi:30885
  45893. 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."
  45894. msgstr ""
  45895. #. type: deftypevr
  45896. #: guix-git/doc/guix.texi:30892
  45897. 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."
  45898. msgstr ""
  45899. #. type: deftypevr
  45900. #: guix-git/doc/guix.texi:30897
  45901. #, no-wrap
  45902. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  45903. msgstr ""
  45904. #. type: deftypevr
  45905. #: guix-git/doc/guix.texi:30899 guix-git/doc/guix.texi:30906
  45906. msgid "Same as above but for admin interface."
  45907. msgstr ""
  45908. #. type: deftypevr
  45909. #: guix-git/doc/guix.texi:30904
  45910. #, no-wrap
  45911. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  45912. msgstr ""
  45913. #. type: deftypevr
  45914. #: guix-git/doc/guix.texi:30911
  45915. #, no-wrap
  45916. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  45917. msgstr ""
  45918. #. type: deftypevr
  45919. #: guix-git/doc/guix.texi:30913
  45920. msgid "Timeout for Open vSwitch calls."
  45921. msgstr ""
  45922. #. type: deftypevr
  45923. #: guix-git/doc/guix.texi:30917
  45924. 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."
  45925. msgstr ""
  45926. #. type: subsubheading
  45927. #: guix-git/doc/guix.texi:30924
  45928. #, no-wrap
  45929. msgid "Virtlog daemon"
  45930. msgstr ""
  45931. #. type: Plain text
  45932. #: guix-git/doc/guix.texi:30927
  45933. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  45934. msgstr ""
  45935. #. type: Plain text
  45936. #: guix-git/doc/guix.texi:30933
  45937. 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."
  45938. msgstr ""
  45939. #. type: deffn
  45940. #: guix-git/doc/guix.texi:30934
  45941. #, no-wrap
  45942. msgid "{Scheme Variable} virtlog-service-type"
  45943. msgstr ""
  45944. #. type: deffn
  45945. #: guix-git/doc/guix.texi:30937
  45946. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  45947. msgstr ""
  45948. #. type: lisp
  45949. #: guix-git/doc/guix.texi:30942
  45950. #, no-wrap
  45951. msgid ""
  45952. "(service virtlog-service-type\n"
  45953. " (virtlog-configuration\n"
  45954. " (max-clients 1000)))\n"
  45955. msgstr ""
  45956. #. type: deftypevar
  45957. #: guix-git/doc/guix.texi:30945
  45958. #, no-wrap
  45959. msgid "{@code{libvirt} parameter} package libvirt"
  45960. msgstr ""
  45961. #. type: deftypevr
  45962. #: guix-git/doc/guix.texi:30949
  45963. #, no-wrap
  45964. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  45965. msgstr ""
  45966. #. type: deftypevr
  45967. #: guix-git/doc/guix.texi:30956
  45968. #, no-wrap
  45969. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  45970. msgstr ""
  45971. #. type: deftypevr
  45972. #: guix-git/doc/guix.texi:30961
  45973. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  45974. msgstr ""
  45975. #. type: deftypevr
  45976. #: guix-git/doc/guix.texi:30978
  45977. 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:"
  45978. msgstr ""
  45979. #. type: deftypevr
  45980. #: guix-git/doc/guix.texi:31001
  45981. #, no-wrap
  45982. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  45983. msgstr ""
  45984. #. type: deftypevr
  45985. #: guix-git/doc/guix.texi:31006
  45986. msgid "An output is one of the places to save logging information The format for an output can be:"
  45987. msgstr ""
  45988. #. type: deftypevr
  45989. #: guix-git/doc/guix.texi:31046
  45990. #, no-wrap
  45991. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  45992. msgstr ""
  45993. #. type: deftypevr
  45994. #: guix-git/doc/guix.texi:31051
  45995. msgid "Defaults to @samp{1024}."
  45996. msgstr ""
  45997. #. type: deftypevr
  45998. #: guix-git/doc/guix.texi:31054
  45999. #, no-wrap
  46000. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  46001. msgstr ""
  46002. #. type: deftypevr
  46003. #: guix-git/doc/guix.texi:31056
  46004. msgid "Maximum file size before rolling over."
  46005. msgstr ""
  46006. #. type: deftypevr
  46007. #: guix-git/doc/guix.texi:31058
  46008. msgid "Defaults to @samp{2MB}"
  46009. msgstr ""
  46010. #. type: deftypevr
  46011. #: guix-git/doc/guix.texi:31061
  46012. #, no-wrap
  46013. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  46014. msgstr ""
  46015. #. type: deftypevr
  46016. #: guix-git/doc/guix.texi:31063
  46017. msgid "Maximum number of backup files to keep."
  46018. msgstr ""
  46019. #. type: deftypevr
  46020. #: guix-git/doc/guix.texi:31065
  46021. msgid "Defaults to @samp{3}"
  46022. msgstr ""
  46023. #. type: anchor{#1}
  46024. #: guix-git/doc/guix.texi:31069
  46025. msgid "transparent-emulation-qemu"
  46026. msgstr ""
  46027. #. type: subsubheading
  46028. #: guix-git/doc/guix.texi:31069
  46029. #, no-wrap
  46030. msgid "Transparent Emulation with QEMU"
  46031. msgstr ""
  46032. #. type: cindex
  46033. #: guix-git/doc/guix.texi:31071 guix-git/doc/guix.texi:31151
  46034. #, no-wrap
  46035. msgid "emulation"
  46036. msgstr ""
  46037. #. type: code{#1}
  46038. #: guix-git/doc/guix.texi:31072
  46039. #, no-wrap
  46040. msgid "binfmt_misc"
  46041. msgstr ""
  46042. #. type: Plain text
  46043. #: guix-git/doc/guix.texi:31080
  46044. 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."
  46045. msgstr ""
  46046. #. type: defvr
  46047. #: guix-git/doc/guix.texi:31081
  46048. #, no-wrap
  46049. msgid "{Scheme Variable} qemu-binfmt-service-type"
  46050. msgstr ""
  46051. #. type: defvr
  46052. #: guix-git/doc/guix.texi:31086
  46053. 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:"
  46054. msgstr ""
  46055. #. type: lisp
  46056. #: guix-git/doc/guix.texi:31091
  46057. #, no-wrap
  46058. msgid ""
  46059. "(service qemu-binfmt-service-type\n"
  46060. " (qemu-binfmt-configuration\n"
  46061. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  46062. msgstr ""
  46063. #. type: defvr
  46064. #: guix-git/doc/guix.texi:31097
  46065. 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})."
  46066. msgstr ""
  46067. #. type: deftp
  46068. #: guix-git/doc/guix.texi:31099
  46069. #, no-wrap
  46070. msgid "{Data Type} qemu-binfmt-configuration"
  46071. msgstr ""
  46072. #. type: deftp
  46073. #: guix-git/doc/guix.texi:31101
  46074. msgid "This is the configuration for the @code{qemu-binfmt} service."
  46075. msgstr ""
  46076. #. type: item
  46077. #: guix-git/doc/guix.texi:31103
  46078. #, no-wrap
  46079. msgid "@code{platforms} (default: @code{'()})"
  46080. msgstr ""
  46081. #. type: table
  46082. #: guix-git/doc/guix.texi:31106
  46083. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  46084. msgstr ""
  46085. #. type: table
  46086. #: guix-git/doc/guix.texi:31109
  46087. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  46088. msgstr ""
  46089. #. type: lisp
  46090. #: guix-git/doc/guix.texi:31114
  46091. #, no-wrap
  46092. msgid ""
  46093. "(service qemu-binfmt-service-type\n"
  46094. " (qemu-binfmt-configuration\n"
  46095. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  46096. msgstr ""
  46097. #. type: table
  46098. #: guix-git/doc/guix.texi:31117
  46099. msgid "You can run:"
  46100. msgstr ""
  46101. #. type: example
  46102. #: guix-git/doc/guix.texi:31120
  46103. #, no-wrap
  46104. msgid "guix build -s armhf-linux inkscape\n"
  46105. msgstr ""
  46106. #. type: table
  46107. #: guix-git/doc/guix.texi:31127
  46108. 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!"
  46109. msgstr ""
  46110. #. type: item
  46111. #: guix-git/doc/guix.texi:31128
  46112. #, no-wrap
  46113. msgid "@code{qemu} (default: @code{qemu})"
  46114. msgstr ""
  46115. #. type: table
  46116. #: guix-git/doc/guix.texi:31130 guix-git/doc/guix.texi:31188
  46117. #: guix-git/doc/guix.texi:31270
  46118. msgid "The QEMU package to use."
  46119. msgstr ""
  46120. #. type: deffn
  46121. #: guix-git/doc/guix.texi:31133
  46122. #, no-wrap
  46123. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  46124. msgstr ""
  46125. #. type: deffn
  46126. #: guix-git/doc/guix.texi:31138
  46127. 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."
  46128. msgstr ""
  46129. #. type: deffn
  46130. #: guix-git/doc/guix.texi:31140
  46131. #, no-wrap
  46132. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  46133. msgstr ""
  46134. #. type: deffn
  46135. #: guix-git/doc/guix.texi:31142
  46136. msgid "Return true if @var{obj} is a platform object."
  46137. msgstr ""
  46138. #. type: deffn
  46139. #: guix-git/doc/guix.texi:31144
  46140. #, no-wrap
  46141. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  46142. msgstr ""
  46143. #. type: deffn
  46144. #: guix-git/doc/guix.texi:31146
  46145. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  46146. msgstr ""
  46147. #. type: subsubheading
  46148. #: guix-git/doc/guix.texi:31149
  46149. #, no-wrap
  46150. msgid "QEMU Guest Agent"
  46151. msgstr ""
  46152. #. type: Plain text
  46153. #: guix-git/doc/guix.texi:31157
  46154. 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:"
  46155. msgstr ""
  46156. #. type: example
  46157. #: guix-git/doc/guix.texi:31164
  46158. #, no-wrap
  46159. msgid ""
  46160. "qemu-system-x86_64 \\\n"
  46161. "\t-chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \\\n"
  46162. "\t-device virtio-serial \\\n"
  46163. "\t-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 \\\n"
  46164. "\t...\n"
  46165. msgstr ""
  46166. #. type: Plain text
  46167. #: guix-git/doc/guix.texi:31168
  46168. 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}:"
  46169. msgstr ""
  46170. #. type: example
  46171. #: guix-git/doc/guix.texi:31173
  46172. #, no-wrap
  46173. msgid ""
  46174. "$ guix shell socat -- socat unix-connect:/tmp/qga.sock stdio\n"
  46175. "@{\"execute\": \"guest-get-host-name\"@}\n"
  46176. "@{\"return\": @{\"host-name\": \"guix\"@}@}\n"
  46177. msgstr ""
  46178. #. type: Plain text
  46179. #: guix-git/doc/guix.texi:31177
  46180. msgid "See @url{https://wiki.qemu.org/Features/GuestAgent,QEMU guest agent documentation} for more options and commands."
  46181. msgstr ""
  46182. #. type: defvr
  46183. #: guix-git/doc/guix.texi:31178
  46184. #, no-wrap
  46185. msgid "{Scheme Variable} qemu-guest-agent-service-type"
  46186. msgstr ""
  46187. #. type: defvr
  46188. #: guix-git/doc/guix.texi:31180
  46189. msgid "Service type for the QEMU guest agent service."
  46190. msgstr ""
  46191. #. type: deftp
  46192. #: guix-git/doc/guix.texi:31182
  46193. #, no-wrap
  46194. msgid "{Data Type} qemu-guest-agent-configuration"
  46195. msgstr ""
  46196. #. type: deftp
  46197. #: guix-git/doc/guix.texi:31184
  46198. msgid "Configuration for the @code{qemu-guest-agent} service."
  46199. msgstr ""
  46200. #. type: item
  46201. #: guix-git/doc/guix.texi:31186 guix-git/doc/guix.texi:31268
  46202. #, no-wrap
  46203. msgid "@code{qemu} (default: @code{qemu-minimal})"
  46204. msgstr ""
  46205. #. type: item
  46206. #: guix-git/doc/guix.texi:31189
  46207. #, no-wrap
  46208. msgid "@code{device} (default: @code{\"\"})"
  46209. msgstr ""
  46210. #. type: table
  46211. #: guix-git/doc/guix.texi:31192
  46212. msgid "File name of the device or socket the agent uses to communicate with the host. If empty, QEMU uses a default file name."
  46213. msgstr ""
  46214. #. type: subsubheading
  46215. #: guix-git/doc/guix.texi:31196
  46216. #, no-wrap
  46217. msgid "The Hurd in a Virtual Machine"
  46218. msgstr ""
  46219. #. type: cindex
  46220. #: guix-git/doc/guix.texi:31199
  46221. #, no-wrap
  46222. msgid "the Hurd"
  46223. msgstr ""
  46224. #. type: cindex
  46225. #: guix-git/doc/guix.texi:31200
  46226. #, no-wrap
  46227. msgid "childhurd"
  46228. msgstr ""
  46229. #. type: Plain text
  46230. #: guix-git/doc/guix.texi:31208
  46231. 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:"
  46232. msgstr ""
  46233. #. type: example
  46234. #: guix-git/doc/guix.texi:31212
  46235. #, no-wrap
  46236. msgid ""
  46237. "herd start hurd-vm\n"
  46238. "herd stop childhurd\n"
  46239. msgstr ""
  46240. #. type: Plain text
  46241. #: guix-git/doc/guix.texi:31216
  46242. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  46243. msgstr ""
  46244. #. type: example
  46245. #: guix-git/doc/guix.texi:31219
  46246. #, no-wrap
  46247. msgid "guix shell tigervnc-client -- vncviewer localhost:5900\n"
  46248. msgstr ""
  46249. #. type: Plain text
  46250. #: guix-git/doc/guix.texi:31225
  46251. 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:"
  46252. msgstr ""
  46253. #. type: example
  46254. #: guix-git/doc/guix.texi:31228
  46255. #, no-wrap
  46256. msgid "ssh root@@localhost -p 10022\n"
  46257. msgstr ""
  46258. #. type: Plain text
  46259. #: guix-git/doc/guix.texi:31237
  46260. 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."
  46261. msgstr ""
  46262. #. type: defvr
  46263. #: guix-git/doc/guix.texi:31238
  46264. #, no-wrap
  46265. msgid "{Scheme Variable} hurd-vm-service-type"
  46266. msgstr ""
  46267. #. type: defvr
  46268. #: guix-git/doc/guix.texi:31244
  46269. 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."
  46270. msgstr ""
  46271. #. type: defvr
  46272. #: guix-git/doc/guix.texi:31246
  46273. msgid "For example:"
  46274. msgstr ""
  46275. #. type: lisp
  46276. #: guix-git/doc/guix.texi:31252
  46277. #, no-wrap
  46278. msgid ""
  46279. "(service hurd-vm-service-type\n"
  46280. " (hurd-vm-configuration\n"
  46281. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  46282. " (memory-size 1024))) ;1024MiB\n"
  46283. msgstr ""
  46284. #. type: defvr
  46285. #: guix-git/doc/guix.texi:31256
  46286. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  46287. msgstr ""
  46288. #. type: deftp
  46289. #: guix-git/doc/guix.texi:31258
  46290. #, no-wrap
  46291. msgid "{Data Type} hurd-vm-configuration"
  46292. msgstr ""
  46293. #. type: deftp
  46294. #: guix-git/doc/guix.texi:31261
  46295. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  46296. msgstr ""
  46297. #. type: item
  46298. #: guix-git/doc/guix.texi:31263
  46299. #, no-wrap
  46300. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  46301. msgstr ""
  46302. #. type: table
  46303. #: guix-git/doc/guix.texi:31267
  46304. 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}})."
  46305. msgstr ""
  46306. #. type: item
  46307. #: guix-git/doc/guix.texi:31271
  46308. #, no-wrap
  46309. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  46310. msgstr ""
  46311. #. type: table
  46312. #: guix-git/doc/guix.texi:31274
  46313. msgid "The procedure used to build the disk-image built from this configuration."
  46314. msgstr ""
  46315. #. type: item
  46316. #: guix-git/doc/guix.texi:31275
  46317. #, no-wrap
  46318. msgid "@code{disk-size} (default: @code{'guess})"
  46319. msgstr ""
  46320. #. type: table
  46321. #: guix-git/doc/guix.texi:31277
  46322. msgid "The size of the disk image."
  46323. msgstr ""
  46324. #. type: item
  46325. #: guix-git/doc/guix.texi:31278
  46326. #, no-wrap
  46327. msgid "@code{memory-size} (default: @code{512})"
  46328. msgstr ""
  46329. #. type: table
  46330. #: guix-git/doc/guix.texi:31280
  46331. msgid "The memory size of the Virtual Machine in mebibytes."
  46332. msgstr ""
  46333. #. type: item
  46334. #: guix-git/doc/guix.texi:31281
  46335. #, no-wrap
  46336. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  46337. msgstr ""
  46338. #. type: table
  46339. #: guix-git/doc/guix.texi:31283
  46340. msgid "The extra options for running QEMU."
  46341. msgstr ""
  46342. #. type: table
  46343. #: guix-git/doc/guix.texi:31288
  46344. 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}."
  46345. msgstr ""
  46346. #. type: item
  46347. #: guix-git/doc/guix.texi:31289
  46348. #, no-wrap
  46349. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  46350. msgstr ""
  46351. #. type: table
  46352. #: guix-git/doc/guix.texi:31291
  46353. msgid "The procedure used to produce the list of QEMU networking options."
  46354. msgstr ""
  46355. #. type: table
  46356. #: guix-git/doc/guix.texi:31293
  46357. msgid "By default, it produces"
  46358. msgstr ""
  46359. #. type: lisp
  46360. #: guix-git/doc/guix.texi:31301
  46361. #, no-wrap
  46362. msgid ""
  46363. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  46364. " \"--netdev\" (string-append\n"
  46365. " \"user,id=net0,\"\n"
  46366. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  46367. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  46368. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  46369. msgstr ""
  46370. #. type: table
  46371. #: guix-git/doc/guix.texi:31304
  46372. msgid "with forwarded ports:"
  46373. msgstr ""
  46374. #. type: example
  46375. #: guix-git/doc/guix.texi:31309
  46376. #, no-wrap
  46377. msgid ""
  46378. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  46379. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  46380. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  46381. msgstr ""
  46382. #. type: item
  46383. #: guix-git/doc/guix.texi:31311
  46384. #, no-wrap
  46385. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  46386. msgstr ""
  46387. #. type: table
  46388. #: guix-git/doc/guix.texi:31316
  46389. 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."
  46390. msgstr ""
  46391. #. type: table
  46392. #: guix-git/doc/guix.texi:31320
  46393. 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."
  46394. msgstr ""
  46395. #. type: table
  46396. #: guix-git/doc/guix.texi:31323
  46397. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  46398. msgstr ""
  46399. #. type: example
  46400. #: guix-git/doc/guix.texi:31332
  46401. #, no-wrap
  46402. msgid ""
  46403. "/etc/childhurd/etc/guix/acl\n"
  46404. "/etc/childhurd/etc/guix/signing-key.pub\n"
  46405. "/etc/childhurd/etc/guix/signing-key.sec\n"
  46406. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  46407. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  46408. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  46409. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  46410. msgstr ""
  46411. #. type: table
  46412. #: guix-git/doc/guix.texi:31336
  46413. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  46414. msgstr ""
  46415. #. type: cindex
  46416. #: guix-git/doc/guix.texi:31337
  46417. #, no-wrap
  46418. msgid "childhurd, offloading"
  46419. msgstr ""
  46420. #. type: cindex
  46421. #: guix-git/doc/guix.texi:31338
  46422. #, no-wrap
  46423. msgid "Hurd, offloading"
  46424. msgstr ""
  46425. #. type: table
  46426. #: guix-git/doc/guix.texi:31342
  46427. 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:"
  46428. msgstr ""
  46429. #. type: enumerate
  46430. #: guix-git/doc/guix.texi:31347
  46431. 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:"
  46432. msgstr ""
  46433. #. type: example
  46434. #: guix-git/doc/guix.texi:31351
  46435. #, no-wrap
  46436. msgid ""
  46437. "guix archive --authorize < \\\n"
  46438. " /etc/childhurd/etc/guix/signing-key.pub\n"
  46439. msgstr ""
  46440. #. type: enumerate
  46441. #: guix-git/doc/guix.texi:31356
  46442. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  46443. msgstr ""
  46444. #. type: table
  46445. #: guix-git/doc/guix.texi:31360
  46446. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  46447. msgstr ""
  46448. #. type: Plain text
  46449. #: guix-git/doc/guix.texi:31367
  46450. 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:"
  46451. msgstr ""
  46452. #. type: lisp
  46453. #: guix-git/doc/guix.texi:31373
  46454. #, no-wrap
  46455. msgid ""
  46456. "(service hurd-vm-service-type\n"
  46457. " (hurd-vm-configuration\n"
  46458. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  46459. " (options '())))\n"
  46460. msgstr ""
  46461. #. type: subsubheading
  46462. #: guix-git/doc/guix.texi:31375
  46463. #, no-wrap
  46464. msgid "Ganeti"
  46465. msgstr ""
  46466. #. type: cindex
  46467. #: guix-git/doc/guix.texi:31377
  46468. #, no-wrap
  46469. msgid "ganeti"
  46470. msgstr ""
  46471. #. type: quotation
  46472. #: guix-git/doc/guix.texi:31384
  46473. 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}."
  46474. msgstr ""
  46475. #. type: Plain text
  46476. #: guix-git/doc/guix.texi:31394
  46477. 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)."
  46478. msgstr ""
  46479. #. type: Plain text
  46480. #: guix-git/doc/guix.texi:31399
  46481. 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}:"
  46482. msgstr ""
  46483. #. type: lisp
  46484. #: guix-git/doc/guix.texi:31409
  46485. #, no-wrap
  46486. msgid ""
  46487. "(use-package-modules virtualization)\n"
  46488. "(use-service-modules base ganeti networking ssh)\n"
  46489. "(operating-system\n"
  46490. " ;; @dots{}\n"
  46491. " (host-name \"node1\")\n"
  46492. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  46493. "127.0.0.1 localhost\n"
  46494. "::1 localhost\n"
  46495. "\n"
  46496. msgstr ""
  46497. #. type: lisp
  46498. #: guix-git/doc/guix.texi:31414
  46499. #, no-wrap
  46500. msgid ""
  46501. "192.168.1.200 ganeti.example.com\n"
  46502. "192.168.1.201 node1.example.com node1\n"
  46503. "192.168.1.202 node2.example.com node2\n"
  46504. "\")))\n"
  46505. "\n"
  46506. msgstr ""
  46507. #. type: lisp
  46508. #: guix-git/doc/guix.texi:31435
  46509. #, no-wrap
  46510. msgid ""
  46511. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  46512. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  46513. " (packages (append (map specification->package\n"
  46514. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  46515. " ;; Add the debootstrap and guix OS providers.\n"
  46516. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  46517. " %base-packages))\n"
  46518. " (services\n"
  46519. " (append (list (service static-networking-service-type\n"
  46520. " (list (static-networking\n"
  46521. " (addresses\n"
  46522. " (list (network-address\n"
  46523. " (device \"eth0\")\n"
  46524. " (value \"192.168.1.201/24\"))))\n"
  46525. " (routes\n"
  46526. " (list (network-route\n"
  46527. " (destination \"default\")\n"
  46528. " (gateway \"192.168.1.254\"))))\n"
  46529. " (name-servers '(\"192.168.1.252\"\n"
  46530. " \"192.168.1.253\")))))\n"
  46531. "\n"
  46532. msgstr ""
  46533. #. type: lisp
  46534. #: guix-git/doc/guix.texi:31440
  46535. #, no-wrap
  46536. msgid ""
  46537. " ;; Ganeti uses SSH to communicate between nodes.\n"
  46538. " (service openssh-service-type\n"
  46539. " (openssh-configuration\n"
  46540. " (permit-root-login 'prohibit-password)))\n"
  46541. "\n"
  46542. msgstr ""
  46543. #. type: lisp
  46544. #: guix-git/doc/guix.texi:31450
  46545. #, no-wrap
  46546. msgid ""
  46547. " (service ganeti-service-type\n"
  46548. " (ganeti-configuration\n"
  46549. " ;; This list specifies allowed file system paths\n"
  46550. " ;; for storing virtual machine images.\n"
  46551. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  46552. " ;; This variable configures a single \"variant\" for\n"
  46553. " ;; both Debootstrap and Guix that works with KVM.\n"
  46554. " (os %default-ganeti-os))))\n"
  46555. " %base-services)))\n"
  46556. msgstr ""
  46557. #. type: Plain text
  46558. #: guix-git/doc/guix.texi:31458
  46559. 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."
  46560. msgstr ""
  46561. #. type: defvr
  46562. #: guix-git/doc/guix.texi:31459
  46563. #, no-wrap
  46564. msgid "{Scheme Variable} ganeti-service-type"
  46565. msgstr ""
  46566. #. type: defvr
  46567. #: guix-git/doc/guix.texi:31462
  46568. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  46569. msgstr ""
  46570. #. type: defvr
  46571. #: guix-git/doc/guix.texi:31467
  46572. 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."
  46573. msgstr ""
  46574. #. type: deftp
  46575. #: guix-git/doc/guix.texi:31469
  46576. #, no-wrap
  46577. msgid "{Data Type} ganeti-configuration"
  46578. msgstr ""
  46579. #. type: deftp
  46580. #: guix-git/doc/guix.texi:31471
  46581. msgid "The @code{ganeti} service takes the following configuration options:"
  46582. msgstr ""
  46583. #. type: item
  46584. #: guix-git/doc/guix.texi:31473 guix-git/doc/guix.texi:31701
  46585. #: guix-git/doc/guix.texi:31751 guix-git/doc/guix.texi:31781
  46586. #: guix-git/doc/guix.texi:31808 guix-git/doc/guix.texi:31840
  46587. #: guix-git/doc/guix.texi:31893 guix-git/doc/guix.texi:31913
  46588. #: guix-git/doc/guix.texi:31939 guix-git/doc/guix.texi:31972
  46589. #: guix-git/doc/guix.texi:32012
  46590. #, no-wrap
  46591. msgid "@code{ganeti} (default: @code{ganeti})"
  46592. msgstr ""
  46593. #. type: table
  46594. #: guix-git/doc/guix.texi:31478
  46595. 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)."
  46596. msgstr ""
  46597. #. type: item
  46598. #: guix-git/doc/guix.texi:31479
  46599. #, no-wrap
  46600. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  46601. msgstr ""
  46602. #. type: itemx
  46603. #: guix-git/doc/guix.texi:31480
  46604. #, no-wrap
  46605. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  46606. msgstr ""
  46607. #. type: itemx
  46608. #: guix-git/doc/guix.texi:31481
  46609. #, no-wrap
  46610. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  46611. msgstr ""
  46612. #. type: itemx
  46613. #: guix-git/doc/guix.texi:31482
  46614. #, no-wrap
  46615. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  46616. msgstr ""
  46617. #. type: itemx
  46618. #: guix-git/doc/guix.texi:31483
  46619. #, no-wrap
  46620. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  46621. msgstr ""
  46622. #. type: itemx
  46623. #: guix-git/doc/guix.texi:31484
  46624. #, no-wrap
  46625. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  46626. msgstr ""
  46627. #. type: itemx
  46628. #: guix-git/doc/guix.texi:31485
  46629. #, no-wrap
  46630. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  46631. msgstr ""
  46632. #. type: itemx
  46633. #: guix-git/doc/guix.texi:31486
  46634. #, no-wrap
  46635. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  46636. msgstr ""
  46637. #. type: itemx
  46638. #: guix-git/doc/guix.texi:31487
  46639. #, no-wrap
  46640. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  46641. msgstr ""
  46642. #. type: itemx
  46643. #: guix-git/doc/guix.texi:31488
  46644. #, no-wrap
  46645. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  46646. msgstr ""
  46647. #. type: table
  46648. #: guix-git/doc/guix.texi:31493
  46649. 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:"
  46650. msgstr ""
  46651. #. type: lisp
  46652. #: guix-git/doc/guix.texi:31503
  46653. #, no-wrap
  46654. msgid ""
  46655. "(service ganeti-service-type\n"
  46656. " (ganeti-configuration\n"
  46657. " (rapi-configuration\n"
  46658. " (ganeti-rapi-configuration\n"
  46659. " (interface \"eth1\"))))\n"
  46660. " (watcher-configuration\n"
  46661. " (ganeti-watcher-configuration\n"
  46662. " (rapi-ip \"10.0.0.1\"))))\n"
  46663. msgstr ""
  46664. #. type: item
  46665. #: guix-git/doc/guix.texi:31505
  46666. #, no-wrap
  46667. msgid "@code{file-storage-paths} (default: @code{'()})"
  46668. msgstr ""
  46669. #. type: table
  46670. #: guix-git/doc/guix.texi:31507
  46671. msgid "List of allowed directories for file storage backend."
  46672. msgstr ""
  46673. #. type: item
  46674. #: guix-git/doc/guix.texi:31508
  46675. #, no-wrap
  46676. msgid "@code{os} (default: @code{%default-ganeti-os})"
  46677. msgstr ""
  46678. #. type: table
  46679. #: guix-git/doc/guix.texi:31510
  46680. msgid "List of @code{<ganeti-os>} records."
  46681. msgstr ""
  46682. #. type: deftp
  46683. #: guix-git/doc/guix.texi:31514
  46684. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  46685. msgstr ""
  46686. #. type: lisp
  46687. #: guix-git/doc/guix.texi:31525
  46688. #, no-wrap
  46689. msgid ""
  46690. "(service ganeti-noded-service-type)\n"
  46691. "(service ganeti-confd-service-type)\n"
  46692. "(service ganeti-wconfd-service-type)\n"
  46693. "(service ganeti-luxid-service-type)\n"
  46694. "(service ganeti-kvmd-service-type)\n"
  46695. "(service ganeti-mond-service-type)\n"
  46696. "(service ganeti-metad-service-type)\n"
  46697. "(service ganeti-watcher-service-type)\n"
  46698. "(service ganeti-cleaner-service-type)\n"
  46699. msgstr ""
  46700. #. type: deftp
  46701. #: guix-git/doc/guix.texi:31529
  46702. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  46703. msgstr ""
  46704. #. type: deftp
  46705. #: guix-git/doc/guix.texi:31532
  46706. #, no-wrap
  46707. msgid "{Data Type} ganeti-os"
  46708. msgstr ""
  46709. #. type: deftp
  46710. #: guix-git/doc/guix.texi:31535
  46711. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  46712. msgstr ""
  46713. #. type: table
  46714. #: guix-git/doc/guix.texi:31541
  46715. 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}."
  46716. msgstr ""
  46717. #. type: code{#1}
  46718. #: guix-git/doc/guix.texi:31542
  46719. #, no-wrap
  46720. msgid "extension"
  46721. msgstr ""
  46722. #. type: table
  46723. #: guix-git/doc/guix.texi:31545
  46724. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  46725. msgstr ""
  46726. #. type: item
  46727. #: guix-git/doc/guix.texi:31546
  46728. #, no-wrap
  46729. msgid "@code{variants} (default: @code{'()})"
  46730. msgstr ""
  46731. #. type: table
  46732. #: guix-git/doc/guix.texi:31548
  46733. msgid "List of @code{ganeti-os-variant} objects for this OS."
  46734. msgstr ""
  46735. #. type: deftp
  46736. #: guix-git/doc/guix.texi:31552
  46737. #, no-wrap
  46738. msgid "{Data Type} ganeti-os-variant"
  46739. msgstr ""
  46740. #. type: deftp
  46741. #: guix-git/doc/guix.texi:31555
  46742. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  46743. msgstr ""
  46744. #. type: table
  46745. #: guix-git/doc/guix.texi:31559
  46746. msgid "The name of this variant."
  46747. msgstr ""
  46748. #. type: code{#1}
  46749. #: guix-git/doc/guix.texi:31560
  46750. #, no-wrap
  46751. msgid "configuration"
  46752. msgstr ""
  46753. #. type: table
  46754. #: guix-git/doc/guix.texi:31562
  46755. msgid "A configuration file for this variant."
  46756. msgstr ""
  46757. #. type: defvr
  46758. #: guix-git/doc/guix.texi:31565
  46759. #, no-wrap
  46760. msgid "{Scheme Variable} %default-debootstrap-hooks"
  46761. msgstr ""
  46762. #. type: defvr
  46763. #: guix-git/doc/guix.texi:31567
  46764. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  46765. msgstr ""
  46766. #. type: defvr
  46767. #: guix-git/doc/guix.texi:31569
  46768. #, no-wrap
  46769. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  46770. msgstr ""
  46771. #. type: defvr
  46772. #: guix-git/doc/guix.texi:31571
  46773. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  46774. msgstr ""
  46775. #. type: deftp
  46776. #: guix-git/doc/guix.texi:31573
  46777. #, no-wrap
  46778. msgid "{Data Type} debootstrap-configuration"
  46779. msgstr ""
  46780. #. type: deftp
  46781. #: guix-git/doc/guix.texi:31576
  46782. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  46783. msgstr ""
  46784. #. type: item
  46785. #: guix-git/doc/guix.texi:31578
  46786. #, no-wrap
  46787. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  46788. msgstr ""
  46789. #. type: table
  46790. #: guix-git/doc/guix.texi:31582
  46791. 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:"
  46792. msgstr ""
  46793. #. type: lisp
  46794. #: guix-git/doc/guix.texi:31585
  46795. #, no-wrap
  46796. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  46797. msgstr ""
  46798. #. type: table
  46799. #: guix-git/doc/guix.texi:31590
  46800. 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."
  46801. msgstr ""
  46802. #. type: item
  46803. #: guix-git/doc/guix.texi:31590
  46804. #, no-wrap
  46805. msgid "@code{proxy} (default: @code{#f})"
  46806. msgstr ""
  46807. #. type: table
  46808. #: guix-git/doc/guix.texi:31592
  46809. msgid "Optional HTTP proxy to use."
  46810. msgstr ""
  46811. #. type: item
  46812. #: guix-git/doc/guix.texi:31592 guix-git/doc/guix.texi:33785
  46813. #, no-wrap
  46814. msgid "@code{mirror} (default: @code{#f})"
  46815. msgstr ""
  46816. #. type: table
  46817. #: guix-git/doc/guix.texi:31595
  46818. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  46819. msgstr ""
  46820. #. type: item
  46821. #: guix-git/doc/guix.texi:31595
  46822. #, no-wrap
  46823. msgid "@code{arch} (default: @code{#f})"
  46824. msgstr ""
  46825. #. type: table
  46826. #: guix-git/doc/guix.texi:31598
  46827. 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."
  46828. msgstr ""
  46829. #. type: item
  46830. #: guix-git/doc/guix.texi:31598
  46831. #, no-wrap
  46832. msgid "@code{suite} (default: @code{\"stable\"})"
  46833. msgstr ""
  46834. #. type: table
  46835. #: guix-git/doc/guix.texi:31601
  46836. 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."
  46837. msgstr ""
  46838. #. type: item
  46839. #: guix-git/doc/guix.texi:31601
  46840. #, no-wrap
  46841. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  46842. msgstr ""
  46843. #. type: table
  46844. #: guix-git/doc/guix.texi:31604
  46845. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  46846. msgstr ""
  46847. #. type: item
  46848. #: guix-git/doc/guix.texi:31604
  46849. #, no-wrap
  46850. msgid "@code{components} (default: @code{#f})"
  46851. msgstr ""
  46852. #. type: table
  46853. #: guix-git/doc/guix.texi:31607
  46854. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  46855. msgstr ""
  46856. #. type: item
  46857. #: guix-git/doc/guix.texi:31607
  46858. #, no-wrap
  46859. msgid "@code{generate-cache?} (default: @code{#t})"
  46860. msgstr ""
  46861. #. type: table
  46862. #: guix-git/doc/guix.texi:31609
  46863. msgid "Whether to automatically cache the generated debootstrap archive."
  46864. msgstr ""
  46865. #. type: item
  46866. #: guix-git/doc/guix.texi:31609
  46867. #, no-wrap
  46868. msgid "@code{clean-cache} (default: @code{14})"
  46869. msgstr ""
  46870. #. type: table
  46871. #: guix-git/doc/guix.texi:31612
  46872. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  46873. msgstr ""
  46874. #. type: item
  46875. #: guix-git/doc/guix.texi:31612
  46876. #, no-wrap
  46877. msgid "@code{partition-style} (default: @code{'msdos})"
  46878. msgstr ""
  46879. #. type: table
  46880. #: guix-git/doc/guix.texi:31615
  46881. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  46882. msgstr ""
  46883. #. type: item
  46884. #: guix-git/doc/guix.texi:31615
  46885. #, no-wrap
  46886. msgid "@code{partition-alignment} (default: @code{2048})"
  46887. msgstr ""
  46888. #. type: table
  46889. #: guix-git/doc/guix.texi:31617
  46890. msgid "Alignment of the partition in sectors."
  46891. msgstr ""
  46892. #. type: deffn
  46893. #: guix-git/doc/guix.texi:31620
  46894. #, no-wrap
  46895. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  46896. msgstr ""
  46897. #. type: deffn
  46898. #: guix-git/doc/guix.texi:31623
  46899. 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."
  46900. msgstr ""
  46901. #. type: deffn
  46902. #: guix-git/doc/guix.texi:31625
  46903. #, no-wrap
  46904. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  46905. msgstr ""
  46906. #. type: deffn
  46907. #: guix-git/doc/guix.texi:31628
  46908. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  46909. msgstr ""
  46910. #. type: deffn
  46911. #: guix-git/doc/guix.texi:31630
  46912. #, no-wrap
  46913. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  46914. msgstr ""
  46915. #. type: deffn
  46916. #: guix-git/doc/guix.texi:31635
  46917. 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."
  46918. msgstr ""
  46919. #. type: deffn
  46920. #: guix-git/doc/guix.texi:31637
  46921. #, no-wrap
  46922. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  46923. msgstr ""
  46924. #. type: deffn
  46925. #: guix-git/doc/guix.texi:31640
  46926. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  46927. msgstr ""
  46928. #. type: defvr
  46929. #: guix-git/doc/guix.texi:31642
  46930. #, no-wrap
  46931. msgid "{Scheme Variable} %default-debootstrap-variants"
  46932. msgstr ""
  46933. #. type: defvr
  46934. #: guix-git/doc/guix.texi:31646
  46935. 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:"
  46936. msgstr ""
  46937. #. type: lisp
  46938. #: guix-git/doc/guix.texi:31651
  46939. #, no-wrap
  46940. msgid ""
  46941. "(list (debootstrap-variant\n"
  46942. " \"default\"\n"
  46943. " (debootstrap-configuration)))\n"
  46944. msgstr ""
  46945. #. type: defvr
  46946. #: guix-git/doc/guix.texi:31654
  46947. #, no-wrap
  46948. msgid "{Scheme Variable} %default-guix-variants"
  46949. msgstr ""
  46950. #. type: defvr
  46951. #: guix-git/doc/guix.texi:31658
  46952. 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."
  46953. msgstr ""
  46954. #. type: lisp
  46955. #: guix-git/doc/guix.texi:31664
  46956. #, no-wrap
  46957. msgid ""
  46958. "(list (guix-variant\n"
  46959. " \"default\"\n"
  46960. " (file-append ganeti-instance-guix\n"
  46961. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  46962. msgstr ""
  46963. #. type: Plain text
  46964. #: guix-git/doc/guix.texi:31670
  46965. 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:"
  46966. msgstr ""
  46967. #. type: lisp
  46968. #: guix-git/doc/guix.texi:31679
  46969. #, no-wrap
  46970. msgid ""
  46971. "(ganeti-os\n"
  46972. " (name \"custom\")\n"
  46973. " (extension \".conf\")\n"
  46974. " (variants\n"
  46975. " (list (ganeti-os-variant\n"
  46976. " (name \"foo\")\n"
  46977. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  46978. msgstr ""
  46979. #. type: Plain text
  46980. #: guix-git/doc/guix.texi:31684
  46981. 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}."
  46982. msgstr ""
  46983. #. type: Plain text
  46984. #: guix-git/doc/guix.texi:31687
  46985. 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}."
  46986. msgstr ""
  46987. #. type: Plain text
  46988. #: guix-git/doc/guix.texi:31690
  46989. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  46990. msgstr ""
  46991. #. type: defvr
  46992. #: guix-git/doc/guix.texi:31691
  46993. #, no-wrap
  46994. msgid "{Scheme Variable} ganeti-noded-service-type"
  46995. msgstr ""
  46996. #. type: defvr
  46997. #: guix-git/doc/guix.texi:31695
  46998. 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."
  46999. msgstr ""
  47000. #. type: deftp
  47001. #: guix-git/doc/guix.texi:31697
  47002. #, no-wrap
  47003. msgid "{Data Type} ganeti-noded-configuration"
  47004. msgstr ""
  47005. #. type: deftp
  47006. #: guix-git/doc/guix.texi:31699
  47007. msgid "This is the configuration for the @code{ganeti-noded} service."
  47008. msgstr ""
  47009. #. type: table
  47010. #: guix-git/doc/guix.texi:31703 guix-git/doc/guix.texi:31753
  47011. #: guix-git/doc/guix.texi:31783 guix-git/doc/guix.texi:31810
  47012. #: guix-git/doc/guix.texi:31842 guix-git/doc/guix.texi:31895
  47013. #: guix-git/doc/guix.texi:31915 guix-git/doc/guix.texi:31941
  47014. #: guix-git/doc/guix.texi:31974
  47015. msgid "The @code{ganeti} package to use for this service."
  47016. msgstr ""
  47017. #. type: item
  47018. #: guix-git/doc/guix.texi:31704
  47019. #, no-wrap
  47020. msgid "@code{port} (default: @code{1811})"
  47021. msgstr ""
  47022. #. type: table
  47023. #: guix-git/doc/guix.texi:31706
  47024. msgid "The TCP port on which the node daemon listens for network requests."
  47025. msgstr ""
  47026. #. type: item
  47027. #: guix-git/doc/guix.texi:31707 guix-git/doc/guix.texi:31757
  47028. #: guix-git/doc/guix.texi:31849 guix-git/doc/guix.texi:31919
  47029. #, no-wrap
  47030. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  47031. msgstr ""
  47032. #. type: table
  47033. #: guix-git/doc/guix.texi:31710
  47034. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  47035. msgstr ""
  47036. #. type: table
  47037. #: guix-git/doc/guix.texi:31714
  47038. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  47039. msgstr ""
  47040. #. type: item
  47041. #: guix-git/doc/guix.texi:31715 guix-git/doc/guix.texi:31857
  47042. #, no-wrap
  47043. msgid "@code{max-clients} (default: @code{20})"
  47044. msgstr ""
  47045. #. type: table
  47046. #: guix-git/doc/guix.texi:31719
  47047. 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."
  47048. msgstr ""
  47049. #. type: item
  47050. #: guix-git/doc/guix.texi:31720 guix-git/doc/guix.texi:31862
  47051. #, no-wrap
  47052. msgid "@code{ssl?} (default: @code{#t})"
  47053. msgstr ""
  47054. #. type: table
  47055. #: guix-git/doc/guix.texi:31724
  47056. 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}."
  47057. msgstr ""
  47058. #. type: item
  47059. #: guix-git/doc/guix.texi:31725 guix-git/doc/guix.texi:31865
  47060. #, no-wrap
  47061. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47062. msgstr ""
  47063. #. type: table
  47064. #: guix-git/doc/guix.texi:31727 guix-git/doc/guix.texi:31867
  47065. msgid "This can be used to provide a specific encryption key for TLS communications."
  47066. msgstr ""
  47067. #. type: item
  47068. #: guix-git/doc/guix.texi:31728 guix-git/doc/guix.texi:31868
  47069. #, no-wrap
  47070. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47071. msgstr ""
  47072. #. type: table
  47073. #: guix-git/doc/guix.texi:31730 guix-git/doc/guix.texi:31870
  47074. msgid "This can be used to provide a specific certificate for TLS communications."
  47075. msgstr ""
  47076. #. type: table
  47077. #: guix-git/doc/guix.texi:31734 guix-git/doc/guix.texi:31874
  47078. 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."
  47079. msgstr ""
  47080. #. type: defvr
  47081. #: guix-git/doc/guix.texi:31738
  47082. #, no-wrap
  47083. msgid "{Scheme Variable} ganeti-confd-service-type"
  47084. msgstr ""
  47085. #. type: defvr
  47086. #: guix-git/doc/guix.texi:31744
  47087. 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."
  47088. msgstr ""
  47089. #. type: deftp
  47090. #: guix-git/doc/guix.texi:31747
  47091. #, no-wrap
  47092. msgid "{Data Type} ganeti-confd-configuration"
  47093. msgstr ""
  47094. #. type: deftp
  47095. #: guix-git/doc/guix.texi:31749
  47096. msgid "This is the configuration for the @code{ganeti-confd} service."
  47097. msgstr ""
  47098. #. type: item
  47099. #: guix-git/doc/guix.texi:31754
  47100. #, no-wrap
  47101. msgid "@code{port} (default: @code{1814})"
  47102. msgstr ""
  47103. #. type: table
  47104. #: guix-git/doc/guix.texi:31756
  47105. msgid "The UDP port on which to listen for network requests."
  47106. msgstr ""
  47107. #. type: table
  47108. #: guix-git/doc/guix.texi:31759
  47109. msgid "Network address that the daemon will bind to."
  47110. msgstr ""
  47111. #. type: table
  47112. #: guix-git/doc/guix.texi:31762 guix-git/doc/guix.texi:31791
  47113. #: guix-git/doc/guix.texi:31818 guix-git/doc/guix.texi:31898
  47114. #: guix-git/doc/guix.texi:31925 guix-git/doc/guix.texi:31951
  47115. msgid "When true, the daemon performs additional logging for debugging purposes."
  47116. msgstr ""
  47117. #. type: defvr
  47118. #: guix-git/doc/guix.texi:31766
  47119. #, no-wrap
  47120. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  47121. msgstr ""
  47122. #. type: defvr
  47123. #: guix-git/doc/guix.texi:31772
  47124. 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."
  47125. msgstr ""
  47126. #. type: defvr
  47127. #: guix-git/doc/guix.texi:31775
  47128. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  47129. msgstr ""
  47130. #. type: deftp
  47131. #: guix-git/doc/guix.texi:31777
  47132. #, no-wrap
  47133. msgid "{Data Type} ganeti-wconfd-configuration"
  47134. msgstr ""
  47135. #. type: deftp
  47136. #: guix-git/doc/guix.texi:31779
  47137. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  47138. msgstr ""
  47139. #. type: item
  47140. #: guix-git/doc/guix.texi:31784 guix-git/doc/guix.texi:31811
  47141. #, no-wrap
  47142. msgid "@code{no-voting?} (default: @code{#f})"
  47143. msgstr ""
  47144. #. type: table
  47145. #: guix-git/doc/guix.texi:31788
  47146. 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)."
  47147. msgstr ""
  47148. #. type: defvr
  47149. #: guix-git/doc/guix.texi:31795
  47150. #, no-wrap
  47151. msgid "{Scheme Variable} ganeti-luxid-service-type"
  47152. msgstr ""
  47153. #. type: defvr
  47154. #: guix-git/doc/guix.texi:31800
  47155. 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."
  47156. msgstr ""
  47157. #. type: defvr
  47158. #: guix-git/doc/guix.texi:31802
  47159. msgid "It takes a @code{ganeti-luxid-configuration} object."
  47160. msgstr ""
  47161. #. type: deftp
  47162. #: guix-git/doc/guix.texi:31804
  47163. #, no-wrap
  47164. msgid "{Data Type} ganeti-luxid-configuration"
  47165. msgstr ""
  47166. #. type: deftp
  47167. #: guix-git/doc/guix.texi:31806
  47168. msgid "This is the configuration for the @code{ganeti-luxid} service."
  47169. msgstr ""
  47170. #. type: table
  47171. #: guix-git/doc/guix.texi:31815
  47172. 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)."
  47173. msgstr ""
  47174. #. type: defvr
  47175. #: guix-git/doc/guix.texi:31822
  47176. #, no-wrap
  47177. msgid "{Scheme Variable} ganeti-rapi-service-type"
  47178. msgstr ""
  47179. #. type: defvr
  47180. #: guix-git/doc/guix.texi:31826
  47181. 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."
  47182. msgstr ""
  47183. #. type: defvr
  47184. #: guix-git/doc/guix.texi:31832
  47185. 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."
  47186. msgstr ""
  47187. #. type: defvr
  47188. #: guix-git/doc/guix.texi:31834
  47189. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  47190. msgstr ""
  47191. #. type: deftp
  47192. #: guix-git/doc/guix.texi:31836
  47193. #, no-wrap
  47194. msgid "{Data Type} ganeti-rapi-configuration"
  47195. msgstr ""
  47196. #. type: deftp
  47197. #: guix-git/doc/guix.texi:31838
  47198. msgid "This is the configuration for the @code{ganeti-rapi} service."
  47199. msgstr ""
  47200. #. type: item
  47201. #: guix-git/doc/guix.texi:31843
  47202. #, no-wrap
  47203. msgid "@code{require-authentication?} (default: @code{#f})"
  47204. msgstr ""
  47205. #. type: table
  47206. #: guix-git/doc/guix.texi:31845
  47207. msgid "Whether to require authentication even for read-only operations."
  47208. msgstr ""
  47209. #. type: item
  47210. #: guix-git/doc/guix.texi:31846
  47211. #, no-wrap
  47212. msgid "@code{port} (default: @code{5080})"
  47213. msgstr ""
  47214. #. type: table
  47215. #: guix-git/doc/guix.texi:31848
  47216. msgid "The TCP port on which to listen to API requests."
  47217. msgstr ""
  47218. #. type: table
  47219. #: guix-git/doc/guix.texi:31852
  47220. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  47221. msgstr ""
  47222. #. type: table
  47223. #: guix-git/doc/guix.texi:31856
  47224. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  47225. msgstr ""
  47226. #. type: table
  47227. #: guix-git/doc/guix.texi:31861
  47228. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  47229. msgstr ""
  47230. #. type: table
  47231. #: guix-git/doc/guix.texi:31864
  47232. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  47233. msgstr ""
  47234. #. type: defvr
  47235. #: guix-git/doc/guix.texi:31878
  47236. #, no-wrap
  47237. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  47238. msgstr ""
  47239. #. type: defvr
  47240. #: guix-git/doc/guix.texi:31886
  47241. 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."
  47242. msgstr ""
  47243. #. type: defvr
  47244. #: guix-git/doc/guix.texi:31888
  47245. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  47246. msgstr ""
  47247. #. type: deftp
  47248. #: guix-git/doc/guix.texi:31890
  47249. #, no-wrap
  47250. msgid "{Data Type} ganeti-kvmd-configuration"
  47251. msgstr ""
  47252. #. type: defvr
  47253. #: guix-git/doc/guix.texi:31902
  47254. #, no-wrap
  47255. msgid "{Scheme Variable} ganeti-mond-service-type"
  47256. msgstr ""
  47257. #. type: defvr
  47258. #: guix-git/doc/guix.texi:31906
  47259. 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."
  47260. msgstr ""
  47261. #. type: defvr
  47262. #: guix-git/doc/guix.texi:31908
  47263. msgid "It takes a @code{ganeti-mond-configuration} object."
  47264. msgstr ""
  47265. #. type: deftp
  47266. #: guix-git/doc/guix.texi:31910
  47267. #, no-wrap
  47268. msgid "{Data Type} ganeti-mond-configuration"
  47269. msgstr ""
  47270. #. type: item
  47271. #: guix-git/doc/guix.texi:31916
  47272. #, no-wrap
  47273. msgid "@code{port} (default: @code{1815})"
  47274. msgstr ""
  47275. #. type: table
  47276. #: guix-git/doc/guix.texi:31918 guix-git/doc/guix.texi:31944
  47277. msgid "The port on which the daemon will listen."
  47278. msgstr ""
  47279. #. type: table
  47280. #: guix-git/doc/guix.texi:31922
  47281. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  47282. msgstr ""
  47283. #. type: defvr
  47284. #: guix-git/doc/guix.texi:31929
  47285. #, no-wrap
  47286. msgid "{Scheme Variable} ganeti-metad-service-type"
  47287. msgstr ""
  47288. #. type: defvr
  47289. #: guix-git/doc/guix.texi:31932
  47290. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  47291. msgstr ""
  47292. #. type: defvr
  47293. #: guix-git/doc/guix.texi:31934
  47294. msgid "It takes a @code{ganeti-metad-configuration} object."
  47295. msgstr ""
  47296. #. type: deftp
  47297. #: guix-git/doc/guix.texi:31936
  47298. #, no-wrap
  47299. msgid "{Data Type} ganeti-metad-configuration"
  47300. msgstr ""
  47301. #. type: table
  47302. #: guix-git/doc/guix.texi:31948
  47303. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  47304. msgstr ""
  47305. #. type: defvr
  47306. #: guix-git/doc/guix.texi:31955
  47307. #, no-wrap
  47308. msgid "{Scheme Variable} ganeti-watcher-service-type"
  47309. msgstr ""
  47310. #. type: defvr
  47311. #: guix-git/doc/guix.texi:31963
  47312. 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."
  47313. msgstr ""
  47314. #. type: defvr
  47315. #: guix-git/doc/guix.texi:31965
  47316. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  47317. msgstr ""
  47318. #. type: defvr
  47319. #: guix-git/doc/guix.texi:31967
  47320. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  47321. msgstr ""
  47322. #. type: deftp
  47323. #: guix-git/doc/guix.texi:31969
  47324. #, no-wrap
  47325. msgid "{Data Type} ganeti-watcher-configuration"
  47326. msgstr ""
  47327. #. type: item
  47328. #: guix-git/doc/guix.texi:31975
  47329. #, no-wrap
  47330. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  47331. msgstr ""
  47332. #. type: table
  47333. #: guix-git/doc/guix.texi:31977
  47334. msgid "How often to run the script. The default is every five minutes."
  47335. msgstr ""
  47336. #. type: item
  47337. #: guix-git/doc/guix.texi:31978
  47338. #, no-wrap
  47339. msgid "@code{rapi-ip} (default: @code{#f})"
  47340. msgstr ""
  47341. #. type: table
  47342. #: guix-git/doc/guix.texi:31981
  47343. 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."
  47344. msgstr ""
  47345. #. type: item
  47346. #: guix-git/doc/guix.texi:31982
  47347. #, no-wrap
  47348. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  47349. msgstr ""
  47350. #. type: table
  47351. #: guix-git/doc/guix.texi:31985
  47352. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  47353. msgstr ""
  47354. #. type: item
  47355. #: guix-git/doc/guix.texi:31986
  47356. #, no-wrap
  47357. msgid "@code{verify-disks?} (default: @code{#t})"
  47358. msgstr ""
  47359. #. type: table
  47360. #: guix-git/doc/guix.texi:31990
  47361. 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."
  47362. msgstr ""
  47363. #. type: table
  47364. #: guix-git/doc/guix.texi:31993
  47365. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  47366. msgstr ""
  47367. #. type: defvr
  47368. #: guix-git/doc/guix.texi:31997
  47369. #, no-wrap
  47370. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  47371. msgstr ""
  47372. #. type: defvr
  47373. #: guix-git/doc/guix.texi:32005
  47374. 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."
  47375. msgstr ""
  47376. #. type: defvr
  47377. #: guix-git/doc/guix.texi:32007
  47378. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  47379. msgstr ""
  47380. #. type: deftp
  47381. #: guix-git/doc/guix.texi:32009
  47382. #, no-wrap
  47383. msgid "{Data Type} ganeti-cleaner-configuration"
  47384. msgstr ""
  47385. #. type: table
  47386. #: guix-git/doc/guix.texi:32014
  47387. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  47388. msgstr ""
  47389. #. type: item
  47390. #: guix-git/doc/guix.texi:32015
  47391. #, no-wrap
  47392. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  47393. msgstr ""
  47394. #. type: table
  47395. #: guix-git/doc/guix.texi:32018
  47396. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  47397. msgstr ""
  47398. #. type: item
  47399. #: guix-git/doc/guix.texi:32019
  47400. #, no-wrap
  47401. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  47402. msgstr ""
  47403. #. type: table
  47404. #: guix-git/doc/guix.texi:32022
  47405. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  47406. msgstr ""
  47407. #. type: Plain text
  47408. #: guix-git/doc/guix.texi:32036
  47409. 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}."
  47410. msgstr ""
  47411. #. type: deffn
  47412. #: guix-git/doc/guix.texi:32037
  47413. #, no-wrap
  47414. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  47415. msgstr ""
  47416. #. type: deffn
  47417. #: guix-git/doc/guix.texi:32041
  47418. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  47419. msgstr ""
  47420. #. type: deffn
  47421. #: guix-git/doc/guix.texi:32047
  47422. 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}."
  47423. msgstr ""
  47424. #. type: deftp
  47425. #: guix-git/doc/guix.texi:32050
  47426. #, no-wrap
  47427. msgid "{Data Type} git-daemon-configuration"
  47428. msgstr ""
  47429. #. type: deftp
  47430. #: guix-git/doc/guix.texi:32052
  47431. msgid "Data type representing the configuration for @code{git-daemon-service}."
  47432. msgstr ""
  47433. #. type: item
  47434. #: guix-git/doc/guix.texi:32054
  47435. #, no-wrap
  47436. msgid "@code{package} (default: @code{git})"
  47437. msgstr ""
  47438. #. type: table
  47439. #: guix-git/doc/guix.texi:32056 guix-git/doc/guix.texi:32116
  47440. msgid "Package object of the Git distributed version control system."
  47441. msgstr ""
  47442. #. type: item
  47443. #: guix-git/doc/guix.texi:32057 guix-git/doc/guix.texi:32120
  47444. #, no-wrap
  47445. msgid "@code{export-all?} (default: @code{#f})"
  47446. msgstr ""
  47447. #. type: table
  47448. #: guix-git/doc/guix.texi:32060
  47449. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  47450. msgstr ""
  47451. #. type: item
  47452. #: guix-git/doc/guix.texi:32061
  47453. #, no-wrap
  47454. msgid "@code{base-path} (default: @file{/srv/git})"
  47455. msgstr ""
  47456. #. type: table
  47457. #: guix-git/doc/guix.texi:32067
  47458. 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}."
  47459. msgstr ""
  47460. #. type: item
  47461. #: guix-git/doc/guix.texi:32068
  47462. #, no-wrap
  47463. msgid "@code{user-path} (default: @code{#f})"
  47464. msgstr ""
  47465. #. type: table
  47466. #: guix-git/doc/guix.texi:32076
  47467. 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}."
  47468. msgstr ""
  47469. #. type: item
  47470. #: guix-git/doc/guix.texi:32077
  47471. #, no-wrap
  47472. msgid "@code{listen} (default: @code{'()})"
  47473. msgstr ""
  47474. #. type: table
  47475. #: guix-git/doc/guix.texi:32080
  47476. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  47477. msgstr ""
  47478. #. type: item
  47479. #: guix-git/doc/guix.texi:32081
  47480. #, no-wrap
  47481. msgid "@code{port} (default: @code{#f})"
  47482. msgstr ""
  47483. #. type: table
  47484. #: guix-git/doc/guix.texi:32083
  47485. msgid "Whether to listen on an alternative port, which defaults to 9418."
  47486. msgstr ""
  47487. #. type: item
  47488. #: guix-git/doc/guix.texi:32084
  47489. #, no-wrap
  47490. msgid "@code{whitelist} (default: @code{'()})"
  47491. msgstr ""
  47492. #. type: table
  47493. #: guix-git/doc/guix.texi:32086
  47494. msgid "If not empty, only allow access to this list of directories."
  47495. msgstr ""
  47496. #. type: table
  47497. #: guix-git/doc/guix.texi:32090
  47498. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  47499. msgstr ""
  47500. #. type: Plain text
  47501. #: guix-git/doc/guix.texi:32104
  47502. 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."
  47503. msgstr ""
  47504. #. type: Plain text
  47505. #: guix-git/doc/guix.texi:32107
  47506. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  47507. msgstr ""
  47508. #. type: deftp
  47509. #: guix-git/doc/guix.texi:32108
  47510. #, no-wrap
  47511. msgid "{Data Type} git-http-configuration"
  47512. msgstr ""
  47513. #. type: deftp
  47514. #: guix-git/doc/guix.texi:32112
  47515. 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}."
  47516. msgstr ""
  47517. #. type: item
  47518. #: guix-git/doc/guix.texi:32114
  47519. #, no-wrap
  47520. msgid "@code{package} (default: @var{git})"
  47521. msgstr ""
  47522. #. type: item
  47523. #: guix-git/doc/guix.texi:32117
  47524. #, no-wrap
  47525. msgid "@code{git-root} (default: @file{/srv/git})"
  47526. msgstr ""
  47527. #. type: table
  47528. #: guix-git/doc/guix.texi:32119
  47529. msgid "Directory containing the Git repositories to expose to the world."
  47530. msgstr ""
  47531. #. type: table
  47532. #: guix-git/doc/guix.texi:32123
  47533. 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."
  47534. msgstr ""
  47535. #. type: item
  47536. #: guix-git/doc/guix.texi:32124
  47537. #, no-wrap
  47538. msgid "@code{uri-path} (default: @samp{/git/})"
  47539. msgstr ""
  47540. #. type: table
  47541. #: guix-git/doc/guix.texi:32129
  47542. 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."
  47543. msgstr ""
  47544. #. type: item
  47545. #: guix-git/doc/guix.texi:32130
  47546. #, no-wrap
  47547. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  47548. msgstr ""
  47549. #. type: table
  47550. #: guix-git/doc/guix.texi:32133
  47551. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  47552. msgstr ""
  47553. #. type: Plain text
  47554. #: guix-git/doc/guix.texi:32140
  47555. 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."
  47556. msgstr ""
  47557. #. type: deffn
  47558. #: guix-git/doc/guix.texi:32141
  47559. #, no-wrap
  47560. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  47561. msgstr ""
  47562. #. type: deffn
  47563. #: guix-git/doc/guix.texi:32146
  47564. 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:"
  47565. msgstr ""
  47566. #. type: lisp
  47567. #: guix-git/doc/guix.texi:32163
  47568. #, no-wrap
  47569. msgid ""
  47570. "(service nginx-service-type\n"
  47571. " (nginx-configuration\n"
  47572. " (server-blocks\n"
  47573. " (list\n"
  47574. " (nginx-server-configuration\n"
  47575. " (listen '(\"443 ssl\"))\n"
  47576. " (server-name \"git.my-host.org\")\n"
  47577. " (ssl-certificate\n"
  47578. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  47579. " (ssl-certificate-key\n"
  47580. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  47581. " (locations\n"
  47582. " (list\n"
  47583. " (git-http-nginx-location-configuration\n"
  47584. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  47585. msgstr ""
  47586. #. type: deffn
  47587. #: guix-git/doc/guix.texi:32170
  47588. 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}."
  47589. msgstr ""
  47590. #. type: subsubheading
  47591. #: guix-git/doc/guix.texi:32172
  47592. #, no-wrap
  47593. msgid "Cgit Service"
  47594. msgstr ""
  47595. #. type: cindex
  47596. #: guix-git/doc/guix.texi:32174
  47597. #, no-wrap
  47598. msgid "Cgit service"
  47599. msgstr ""
  47600. #. type: cindex
  47601. #: guix-git/doc/guix.texi:32175
  47602. #, no-wrap
  47603. msgid "Git, web interface"
  47604. msgstr ""
  47605. #. type: Plain text
  47606. #: guix-git/doc/guix.texi:32178
  47607. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  47608. msgstr ""
  47609. #. type: Plain text
  47610. #: guix-git/doc/guix.texi:32181
  47611. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  47612. msgstr ""
  47613. #. type: lisp
  47614. #: guix-git/doc/guix.texi:32184
  47615. #, no-wrap
  47616. msgid "(service cgit-service-type)\n"
  47617. msgstr ""
  47618. #. type: Plain text
  47619. #: guix-git/doc/guix.texi:32188
  47620. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  47621. msgstr ""
  47622. #. type: Plain text
  47623. #: guix-git/doc/guix.texi:32192
  47624. msgid "Available @code{cgit-configuration} fields are:"
  47625. msgstr ""
  47626. #. type: deftypevr
  47627. #: guix-git/doc/guix.texi:32193
  47628. #, no-wrap
  47629. msgid "{@code{cgit-configuration} parameter} package package"
  47630. msgstr ""
  47631. #. type: deftypevr
  47632. #: guix-git/doc/guix.texi:32195
  47633. msgid "The CGIT package."
  47634. msgstr ""
  47635. #. type: deftypevr
  47636. #: guix-git/doc/guix.texi:32198
  47637. #, no-wrap
  47638. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  47639. msgstr ""
  47640. #. type: deftypevr
  47641. #: guix-git/doc/guix.texi:32200
  47642. msgid "NGINX configuration."
  47643. msgstr ""
  47644. #. type: deftypevr
  47645. #: guix-git/doc/guix.texi:32203
  47646. #, no-wrap
  47647. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  47648. msgstr ""
  47649. #. type: deftypevr
  47650. #: guix-git/doc/guix.texi:32206
  47651. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  47652. msgstr ""
  47653. #. type: deftypevr
  47654. #: guix-git/doc/guix.texi:32211
  47655. #, no-wrap
  47656. msgid "{@code{cgit-configuration} parameter} string agefile"
  47657. msgstr ""
  47658. #. type: deftypevr
  47659. #: guix-git/doc/guix.texi:32214
  47660. 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."
  47661. msgstr ""
  47662. #. type: deftypevr
  47663. #: guix-git/doc/guix.texi:32219
  47664. #, no-wrap
  47665. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  47666. msgstr ""
  47667. #. type: deftypevr
  47668. #: guix-git/doc/guix.texi:32222
  47669. msgid "Specifies a command that will be invoked for authenticating repository access."
  47670. msgstr ""
  47671. #. type: deftypevr
  47672. #: guix-git/doc/guix.texi:32227
  47673. #, no-wrap
  47674. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  47675. msgstr ""
  47676. #. type: deftypevr
  47677. #: guix-git/doc/guix.texi:32230
  47678. 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."
  47679. msgstr ""
  47680. #. type: deftypevr
  47681. #: guix-git/doc/guix.texi:32232
  47682. msgid "Defaults to @samp{\"name\"}."
  47683. msgstr ""
  47684. #. type: deftypevr
  47685. #: guix-git/doc/guix.texi:32235
  47686. #, no-wrap
  47687. msgid "{@code{cgit-configuration} parameter} string cache-root"
  47688. msgstr ""
  47689. #. type: deftypevr
  47690. #: guix-git/doc/guix.texi:32237
  47691. msgid "Path used to store the cgit cache entries."
  47692. msgstr ""
  47693. #. type: deftypevr
  47694. #: guix-git/doc/guix.texi:32239
  47695. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  47696. msgstr ""
  47697. #. type: deftypevr
  47698. #: guix-git/doc/guix.texi:32242
  47699. #, no-wrap
  47700. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  47701. msgstr ""
  47702. #. type: deftypevr
  47703. #: guix-git/doc/guix.texi:32245
  47704. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  47705. msgstr ""
  47706. #. type: deftypevr
  47707. #: guix-git/doc/guix.texi:32247 guix-git/doc/guix.texi:32690
  47708. msgid "Defaults to @samp{-1}."
  47709. msgstr ""
  47710. #. type: deftypevr
  47711. #: guix-git/doc/guix.texi:32250
  47712. #, no-wrap
  47713. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  47714. msgstr ""
  47715. #. type: deftypevr
  47716. #: guix-git/doc/guix.texi:32253
  47717. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  47718. msgstr ""
  47719. #. type: deftypevr
  47720. #: guix-git/doc/guix.texi:32258
  47721. #, no-wrap
  47722. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  47723. msgstr ""
  47724. #. type: deftypevr
  47725. #: guix-git/doc/guix.texi:32261
  47726. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  47727. msgstr ""
  47728. #. type: deftypevr
  47729. #: guix-git/doc/guix.texi:32266
  47730. #, no-wrap
  47731. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  47732. msgstr ""
  47733. #. type: deftypevr
  47734. #: guix-git/doc/guix.texi:32269
  47735. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  47736. msgstr ""
  47737. #. type: deftypevr
  47738. #: guix-git/doc/guix.texi:32274
  47739. #, no-wrap
  47740. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  47741. msgstr ""
  47742. #. type: deftypevr
  47743. #: guix-git/doc/guix.texi:32277
  47744. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  47745. msgstr ""
  47746. #. type: deftypevr
  47747. #: guix-git/doc/guix.texi:32282
  47748. #, no-wrap
  47749. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  47750. msgstr ""
  47751. #. type: deftypevr
  47752. #: guix-git/doc/guix.texi:32285
  47753. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  47754. msgstr ""
  47755. #. type: deftypevr
  47756. #: guix-git/doc/guix.texi:32290
  47757. #, no-wrap
  47758. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  47759. msgstr ""
  47760. #. type: deftypevr
  47761. #: guix-git/doc/guix.texi:32293
  47762. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  47763. msgstr ""
  47764. #. type: deftypevr
  47765. #: guix-git/doc/guix.texi:32298
  47766. #, no-wrap
  47767. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  47768. msgstr ""
  47769. #. type: deftypevr
  47770. #: guix-git/doc/guix.texi:32301
  47771. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  47772. msgstr ""
  47773. #. type: deftypevr
  47774. #: guix-git/doc/guix.texi:32306
  47775. #, no-wrap
  47776. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  47777. msgstr ""
  47778. #. type: deftypevr
  47779. #: guix-git/doc/guix.texi:32308
  47780. msgid "Sort items in the repo list case sensitively."
  47781. msgstr ""
  47782. #. type: deftypevr
  47783. #: guix-git/doc/guix.texi:32313
  47784. #, no-wrap
  47785. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  47786. msgstr ""
  47787. #. type: deftypevr
  47788. #: guix-git/doc/guix.texi:32316
  47789. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  47790. msgstr ""
  47791. #. type: deftypevr
  47792. #: guix-git/doc/guix.texi:32321
  47793. #, no-wrap
  47794. msgid "{@code{cgit-configuration} parameter} list clone-url"
  47795. msgstr ""
  47796. #. type: deftypevr
  47797. #: guix-git/doc/guix.texi:32323
  47798. msgid "List of @code{clone-url} templates."
  47799. msgstr ""
  47800. #. type: deftypevr
  47801. #: guix-git/doc/guix.texi:32328
  47802. #, no-wrap
  47803. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  47804. msgstr ""
  47805. #. type: deftypevr
  47806. #: guix-git/doc/guix.texi:32330
  47807. msgid "Command which will be invoked to format commit messages."
  47808. msgstr ""
  47809. #. type: deftypevr
  47810. #: guix-git/doc/guix.texi:32335
  47811. #, no-wrap
  47812. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  47813. msgstr ""
  47814. #. type: deftypevr
  47815. #: guix-git/doc/guix.texi:32339 guix-git/doc/guix.texi:32897
  47816. 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."
  47817. msgstr ""
  47818. #. type: deftypevr
  47819. #: guix-git/doc/guix.texi:32341
  47820. msgid "Defaults to @samp{\"git log\"}."
  47821. msgstr ""
  47822. #. type: deftypevr
  47823. #: guix-git/doc/guix.texi:32344
  47824. #, no-wrap
  47825. msgid "{@code{cgit-configuration} parameter} file-object css"
  47826. msgstr ""
  47827. #. type: deftypevr
  47828. #: guix-git/doc/guix.texi:32346
  47829. msgid "URL which specifies the css document to include in all cgit pages."
  47830. msgstr ""
  47831. #. type: deftypevr
  47832. #: guix-git/doc/guix.texi:32348
  47833. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  47834. msgstr ""
  47835. #. type: deftypevr
  47836. #: guix-git/doc/guix.texi:32351
  47837. #, no-wrap
  47838. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  47839. msgstr ""
  47840. #. type: deftypevr
  47841. #: guix-git/doc/guix.texi:32355
  47842. 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."
  47843. msgstr ""
  47844. #. type: deftypevr
  47845. #: guix-git/doc/guix.texi:32360
  47846. #, no-wrap
  47847. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  47848. msgstr ""
  47849. #. type: deftypevr
  47850. #: guix-git/doc/guix.texi:32363
  47851. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  47852. msgstr ""
  47853. #. type: deftypevr
  47854. #: guix-git/doc/guix.texi:32368
  47855. #, no-wrap
  47856. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  47857. msgstr ""
  47858. #. type: deftypevr
  47859. #: guix-git/doc/guix.texi:32372
  47860. 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."
  47861. msgstr ""
  47862. #. type: deftypevr
  47863. #: guix-git/doc/guix.texi:32377
  47864. #, no-wrap
  47865. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  47866. msgstr ""
  47867. #. type: deftypevr
  47868. #: guix-git/doc/guix.texi:32380
  47869. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  47870. msgstr ""
  47871. #. type: deftypevr
  47872. #: guix-git/doc/guix.texi:32385
  47873. #, no-wrap
  47874. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  47875. msgstr ""
  47876. #. type: deftypevr
  47877. #: guix-git/doc/guix.texi:32388
  47878. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  47879. msgstr ""
  47880. #. type: deftypevr
  47881. #: guix-git/doc/guix.texi:32393
  47882. #, no-wrap
  47883. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  47884. msgstr ""
  47885. #. type: deftypevr
  47886. #: guix-git/doc/guix.texi:32396
  47887. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  47888. msgstr ""
  47889. #. type: deftypevr
  47890. #: guix-git/doc/guix.texi:32401
  47891. #, no-wrap
  47892. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  47893. msgstr ""
  47894. #. type: deftypevr
  47895. #: guix-git/doc/guix.texi:32404
  47896. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  47897. msgstr ""
  47898. #. type: deftypevr
  47899. #: guix-git/doc/guix.texi:32409
  47900. #, no-wrap
  47901. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  47902. msgstr ""
  47903. #. type: deftypevr
  47904. #: guix-git/doc/guix.texi:32412
  47905. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  47906. msgstr ""
  47907. #. type: deftypevr
  47908. #: guix-git/doc/guix.texi:32417
  47909. #, no-wrap
  47910. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  47911. msgstr ""
  47912. #. type: deftypevr
  47913. #: guix-git/doc/guix.texi:32420
  47914. 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."
  47915. msgstr ""
  47916. #. type: deftypevr
  47917. #: guix-git/doc/guix.texi:32425
  47918. #, no-wrap
  47919. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  47920. msgstr ""
  47921. #. type: deftypevr
  47922. #: guix-git/doc/guix.texi:32428
  47923. 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."
  47924. msgstr ""
  47925. #. type: deftypevr
  47926. #: guix-git/doc/guix.texi:32433
  47927. #, no-wrap
  47928. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  47929. msgstr ""
  47930. #. type: deftypevr
  47931. #: guix-git/doc/guix.texi:32436 guix-git/doc/guix.texi:32960
  47932. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  47933. msgstr ""
  47934. #. type: deftypevr
  47935. #: guix-git/doc/guix.texi:32441
  47936. #, no-wrap
  47937. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  47938. msgstr ""
  47939. #. type: deftypevr
  47940. #: guix-git/doc/guix.texi:32445
  47941. 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."
  47942. msgstr ""
  47943. #. type: deftypevr
  47944. #: guix-git/doc/guix.texi:32450
  47945. #, no-wrap
  47946. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  47947. msgstr ""
  47948. #. type: deftypevr
  47949. #: guix-git/doc/guix.texi:32454
  47950. 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."
  47951. msgstr ""
  47952. #. type: deftypevr
  47953. #: guix-git/doc/guix.texi:32459
  47954. #, no-wrap
  47955. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  47956. msgstr ""
  47957. #. type: deftypevr
  47958. #: guix-git/doc/guix.texi:32462
  47959. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  47960. msgstr ""
  47961. #. type: deftypevr
  47962. #: guix-git/doc/guix.texi:32467
  47963. #, no-wrap
  47964. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  47965. msgstr ""
  47966. #. type: deftypevr
  47967. #: guix-git/doc/guix.texi:32470
  47968. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  47969. msgstr ""
  47970. #. type: deftypevr
  47971. #: guix-git/doc/guix.texi:32475
  47972. #, no-wrap
  47973. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  47974. msgstr ""
  47975. #. type: deftypevr
  47976. #: guix-git/doc/guix.texi:32477
  47977. msgid "URL used as link to a shortcut icon for cgit."
  47978. msgstr ""
  47979. #. type: deftypevr
  47980. #: guix-git/doc/guix.texi:32479
  47981. msgid "Defaults to @samp{\"/favicon.ico\"}."
  47982. msgstr ""
  47983. #. type: deftypevr
  47984. #: guix-git/doc/guix.texi:32482
  47985. #, no-wrap
  47986. msgid "{@code{cgit-configuration} parameter} string footer"
  47987. msgstr ""
  47988. #. type: deftypevr
  47989. #: guix-git/doc/guix.texi:32486
  47990. 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)."
  47991. msgstr ""
  47992. #. type: deftypevr
  47993. #: guix-git/doc/guix.texi:32491
  47994. #, no-wrap
  47995. msgid "{@code{cgit-configuration} parameter} string head-include"
  47996. msgstr ""
  47997. #. type: deftypevr
  47998. #: guix-git/doc/guix.texi:32494
  47999. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  48000. msgstr ""
  48001. #. type: deftypevr
  48002. #: guix-git/doc/guix.texi:32499
  48003. #, no-wrap
  48004. msgid "{@code{cgit-configuration} parameter} string header"
  48005. msgstr ""
  48006. #. type: deftypevr
  48007. #: guix-git/doc/guix.texi:32502
  48008. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  48009. msgstr ""
  48010. #. type: deftypevr
  48011. #: guix-git/doc/guix.texi:32507
  48012. #, no-wrap
  48013. msgid "{@code{cgit-configuration} parameter} file-object include"
  48014. msgstr ""
  48015. #. type: deftypevr
  48016. #: guix-git/doc/guix.texi:32510
  48017. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  48018. msgstr ""
  48019. #. type: deftypevr
  48020. #: guix-git/doc/guix.texi:32515
  48021. #, no-wrap
  48022. msgid "{@code{cgit-configuration} parameter} string index-header"
  48023. msgstr ""
  48024. #. type: deftypevr
  48025. #: guix-git/doc/guix.texi:32518
  48026. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  48027. msgstr ""
  48028. #. type: deftypevr
  48029. #: guix-git/doc/guix.texi:32523
  48030. #, no-wrap
  48031. msgid "{@code{cgit-configuration} parameter} string index-info"
  48032. msgstr ""
  48033. #. type: deftypevr
  48034. #: guix-git/doc/guix.texi:32526
  48035. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  48036. msgstr ""
  48037. #. type: deftypevr
  48038. #: guix-git/doc/guix.texi:32531
  48039. #, no-wrap
  48040. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  48041. msgstr ""
  48042. #. type: deftypevr
  48043. #: guix-git/doc/guix.texi:32534
  48044. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  48045. msgstr ""
  48046. #. type: deftypevr
  48047. #: guix-git/doc/guix.texi:32539
  48048. #, no-wrap
  48049. msgid "{@code{cgit-configuration} parameter} file-object logo"
  48050. msgstr ""
  48051. #. type: deftypevr
  48052. #: guix-git/doc/guix.texi:32542
  48053. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  48054. msgstr ""
  48055. #. type: deftypevr
  48056. #: guix-git/doc/guix.texi:32544
  48057. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  48058. msgstr ""
  48059. #. type: deftypevr
  48060. #: guix-git/doc/guix.texi:32547
  48061. #, no-wrap
  48062. msgid "{@code{cgit-configuration} parameter} string logo-link"
  48063. msgstr ""
  48064. #. type: deftypevr
  48065. #: guix-git/doc/guix.texi:32549 guix-git/doc/guix.texi:33006
  48066. msgid "URL loaded when clicking on the cgit logo image."
  48067. msgstr ""
  48068. #. type: deftypevr
  48069. #: guix-git/doc/guix.texi:32554
  48070. #, no-wrap
  48071. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  48072. msgstr ""
  48073. #. type: deftypevr
  48074. #: guix-git/doc/guix.texi:32557
  48075. msgid "Command which will be invoked to format the Owner column of the main page."
  48076. msgstr ""
  48077. #. type: deftypevr
  48078. #: guix-git/doc/guix.texi:32562
  48079. #, no-wrap
  48080. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  48081. msgstr ""
  48082. #. type: deftypevr
  48083. #: guix-git/doc/guix.texi:32564
  48084. msgid "Number of items to display in atom feeds view."
  48085. msgstr ""
  48086. #. type: deftypevr
  48087. #: guix-git/doc/guix.texi:32569
  48088. #, no-wrap
  48089. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  48090. msgstr ""
  48091. #. type: deftypevr
  48092. #: guix-git/doc/guix.texi:32571
  48093. msgid "Number of entries to list per page in \"log\" view."
  48094. msgstr ""
  48095. #. type: deftypevr
  48096. #: guix-git/doc/guix.texi:32576
  48097. #, no-wrap
  48098. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  48099. msgstr ""
  48100. #. type: deftypevr
  48101. #: guix-git/doc/guix.texi:32578
  48102. msgid "Number of commit message characters to display in \"log\" view."
  48103. msgstr ""
  48104. #. type: deftypevr
  48105. #: guix-git/doc/guix.texi:32580 guix-git/doc/guix.texi:32596
  48106. msgid "Defaults to @samp{80}."
  48107. msgstr ""
  48108. #. type: deftypevr
  48109. #: guix-git/doc/guix.texi:32583
  48110. #, no-wrap
  48111. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  48112. msgstr ""
  48113. #. type: deftypevr
  48114. #: guix-git/doc/guix.texi:32586
  48115. msgid "Specifies the number of entries to list per page on the repository index page."
  48116. msgstr ""
  48117. #. type: deftypevr
  48118. #: guix-git/doc/guix.texi:32591
  48119. #, no-wrap
  48120. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  48121. msgstr ""
  48122. #. type: deftypevr
  48123. #: guix-git/doc/guix.texi:32594
  48124. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  48125. msgstr ""
  48126. #. type: deftypevr
  48127. #: guix-git/doc/guix.texi:32599
  48128. #, no-wrap
  48129. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  48130. msgstr ""
  48131. #. type: deftypevr
  48132. #: guix-git/doc/guix.texi:32601
  48133. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  48134. msgstr ""
  48135. #. type: deftypevr
  48136. #: guix-git/doc/guix.texi:32606
  48137. #, no-wrap
  48138. msgid "{@code{cgit-configuration} parameter} string max-stats"
  48139. msgstr ""
  48140. #. type: deftypevr
  48141. #: guix-git/doc/guix.texi:32609
  48142. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  48143. msgstr ""
  48144. #. type: deftypevr
  48145. #: guix-git/doc/guix.texi:32614
  48146. #, no-wrap
  48147. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  48148. msgstr ""
  48149. #. type: deftypevr
  48150. #: guix-git/doc/guix.texi:32616
  48151. msgid "Mimetype for the specified filename extension."
  48152. msgstr ""
  48153. #. type: deftypevr
  48154. #: guix-git/doc/guix.texi:32620
  48155. 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\"))}."
  48156. msgstr ""
  48157. #. type: deftypevr
  48158. #: guix-git/doc/guix.texi:32623
  48159. #, no-wrap
  48160. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  48161. msgstr ""
  48162. #. type: deftypevr
  48163. #: guix-git/doc/guix.texi:32625
  48164. msgid "Specifies the file to use for automatic mimetype lookup."
  48165. msgstr ""
  48166. #. type: deftypevr
  48167. #: guix-git/doc/guix.texi:32630
  48168. #, no-wrap
  48169. msgid "{@code{cgit-configuration} parameter} string module-link"
  48170. msgstr ""
  48171. #. type: deftypevr
  48172. #: guix-git/doc/guix.texi:32633
  48173. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  48174. msgstr ""
  48175. #. type: deftypevr
  48176. #: guix-git/doc/guix.texi:32638
  48177. #, no-wrap
  48178. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  48179. msgstr ""
  48180. #. type: deftypevr
  48181. #: guix-git/doc/guix.texi:32640
  48182. msgid "If set to the value @samp{#t} caching will be disabled."
  48183. msgstr ""
  48184. #. type: deftypevr
  48185. #: guix-git/doc/guix.texi:32645
  48186. #, no-wrap
  48187. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  48188. msgstr ""
  48189. #. type: deftypevr
  48190. #: guix-git/doc/guix.texi:32648
  48191. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  48192. msgstr ""
  48193. #. type: deftypevr
  48194. #: guix-git/doc/guix.texi:32653
  48195. #, no-wrap
  48196. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  48197. msgstr ""
  48198. #. type: deftypevr
  48199. #: guix-git/doc/guix.texi:32656
  48200. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  48201. msgstr ""
  48202. #. type: deftypevr
  48203. #: guix-git/doc/guix.texi:32661
  48204. #, no-wrap
  48205. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  48206. msgstr ""
  48207. #. type: deftypevr
  48208. #: guix-git/doc/guix.texi:32665
  48209. 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."
  48210. msgstr ""
  48211. #. type: deftypevr
  48212. #: guix-git/doc/guix.texi:32670
  48213. #, no-wrap
  48214. msgid "{@code{cgit-configuration} parameter} file-object readme"
  48215. msgstr ""
  48216. #. type: deftypevr
  48217. #: guix-git/doc/guix.texi:32672
  48218. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  48219. msgstr ""
  48220. #. type: deftypevr
  48221. #: guix-git/doc/guix.texi:32677
  48222. #, no-wrap
  48223. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  48224. msgstr ""
  48225. #. type: deftypevr
  48226. #: guix-git/doc/guix.texi:32681
  48227. 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."
  48228. msgstr ""
  48229. #. type: deftypevr
  48230. #: guix-git/doc/guix.texi:32686
  48231. #, no-wrap
  48232. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  48233. msgstr ""
  48234. #. type: deftypevr
  48235. #: guix-git/doc/guix.texi:32688
  48236. msgid "Maximum number of files to consider when detecting renames."
  48237. msgstr ""
  48238. #. type: deftypevr
  48239. #: guix-git/doc/guix.texi:32693
  48240. #, no-wrap
  48241. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  48242. msgstr ""
  48243. #. type: deftypevr
  48244. #: guix-git/doc/guix.texi:32695
  48245. msgid "The way in which repositories in each section are sorted."
  48246. msgstr ""
  48247. #. type: deftypevr
  48248. #: guix-git/doc/guix.texi:32700
  48249. #, no-wrap
  48250. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  48251. msgstr ""
  48252. #. type: deftypevr
  48253. #: guix-git/doc/guix.texi:32702
  48254. msgid "Text used as content for the @code{robots} meta-tag."
  48255. msgstr ""
  48256. #. type: deftypevr
  48257. #: guix-git/doc/guix.texi:32704
  48258. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  48259. msgstr ""
  48260. #. type: deftypevr
  48261. #: guix-git/doc/guix.texi:32707
  48262. #, no-wrap
  48263. msgid "{@code{cgit-configuration} parameter} string root-desc"
  48264. msgstr ""
  48265. #. type: deftypevr
  48266. #: guix-git/doc/guix.texi:32709
  48267. msgid "Text printed below the heading on the repository index page."
  48268. msgstr ""
  48269. #. type: deftypevr
  48270. #: guix-git/doc/guix.texi:32711
  48271. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  48272. msgstr ""
  48273. #. type: deftypevr
  48274. #: guix-git/doc/guix.texi:32714
  48275. #, no-wrap
  48276. msgid "{@code{cgit-configuration} parameter} string root-readme"
  48277. msgstr ""
  48278. #. type: deftypevr
  48279. #: guix-git/doc/guix.texi:32717
  48280. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  48281. msgstr ""
  48282. #. type: deftypevr
  48283. #: guix-git/doc/guix.texi:32722
  48284. #, no-wrap
  48285. msgid "{@code{cgit-configuration} parameter} string root-title"
  48286. msgstr ""
  48287. #. type: deftypevr
  48288. #: guix-git/doc/guix.texi:32724
  48289. msgid "Text printed as heading on the repository index page."
  48290. msgstr ""
  48291. #. type: deftypevr
  48292. #: guix-git/doc/guix.texi:32729
  48293. #, no-wrap
  48294. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  48295. msgstr ""
  48296. #. type: deftypevr
  48297. #: guix-git/doc/guix.texi:32735
  48298. 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."
  48299. msgstr ""
  48300. #. type: deftypevr
  48301. #: guix-git/doc/guix.texi:32740
  48302. #, no-wrap
  48303. msgid "{@code{cgit-configuration} parameter} list snapshots"
  48304. msgstr ""
  48305. #. type: deftypevr
  48306. #: guix-git/doc/guix.texi:32743
  48307. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  48308. msgstr ""
  48309. #. type: deftypevr
  48310. #: guix-git/doc/guix.texi:32748
  48311. #, no-wrap
  48312. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  48313. msgstr ""
  48314. #. type: deftypevr
  48315. #: guix-git/doc/guix.texi:32751
  48316. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  48317. msgstr ""
  48318. #. type: deftypevr
  48319. #: guix-git/doc/guix.texi:32753
  48320. msgid "Defaults to @samp{\"/srv/git\"}."
  48321. msgstr ""
  48322. #. type: deftypevr
  48323. #: guix-git/doc/guix.texi:32756
  48324. #, no-wrap
  48325. msgid "{@code{cgit-configuration} parameter} string section"
  48326. msgstr ""
  48327. #. type: deftypevr
  48328. #: guix-git/doc/guix.texi:32759 guix-git/doc/guix.texi:33075
  48329. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  48330. msgstr ""
  48331. #. type: deftypevr
  48332. #: guix-git/doc/guix.texi:32764
  48333. #, no-wrap
  48334. msgid "{@code{cgit-configuration} parameter} string section-sort"
  48335. msgstr ""
  48336. #. type: deftypevr
  48337. #: guix-git/doc/guix.texi:32767
  48338. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  48339. msgstr ""
  48340. #. type: deftypevr
  48341. #: guix-git/doc/guix.texi:32772
  48342. #, no-wrap
  48343. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  48344. msgstr ""
  48345. #. type: deftypevr
  48346. #: guix-git/doc/guix.texi:32775
  48347. 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."
  48348. msgstr ""
  48349. #. type: deftypevr
  48350. #: guix-git/doc/guix.texi:32780
  48351. #, no-wrap
  48352. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  48353. msgstr ""
  48354. #. type: deftypevr
  48355. #: guix-git/doc/guix.texi:32783
  48356. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  48357. msgstr ""
  48358. #. type: deftypevr
  48359. #: guix-git/doc/guix.texi:32788
  48360. #, no-wrap
  48361. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  48362. msgstr ""
  48363. #. type: deftypevr
  48364. #: guix-git/doc/guix.texi:32791
  48365. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  48366. msgstr ""
  48367. #. type: deftypevr
  48368. #: guix-git/doc/guix.texi:32796
  48369. #, no-wrap
  48370. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  48371. msgstr ""
  48372. #. type: deftypevr
  48373. #: guix-git/doc/guix.texi:32799
  48374. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  48375. msgstr ""
  48376. #. type: deftypevr
  48377. #: guix-git/doc/guix.texi:32804
  48378. #, no-wrap
  48379. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  48380. msgstr ""
  48381. #. type: deftypevr
  48382. #: guix-git/doc/guix.texi:32807
  48383. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  48384. msgstr ""
  48385. #. type: deftypevr
  48386. #: guix-git/doc/guix.texi:32812
  48387. #, no-wrap
  48388. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  48389. msgstr ""
  48390. #. type: deftypevr
  48391. #: guix-git/doc/guix.texi:32815
  48392. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  48393. msgstr ""
  48394. #. type: deftypevr
  48395. #: guix-git/doc/guix.texi:32820
  48396. #, no-wrap
  48397. msgid "{@code{cgit-configuration} parameter} string strict-export"
  48398. msgstr ""
  48399. #. type: deftypevr
  48400. #: guix-git/doc/guix.texi:32823
  48401. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  48402. msgstr ""
  48403. #. type: deftypevr
  48404. #: guix-git/doc/guix.texi:32828
  48405. #, no-wrap
  48406. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  48407. msgstr ""
  48408. #. type: deftypevr
  48409. #: guix-git/doc/guix.texi:32830
  48410. msgid "URL which, if specified, will be used as root for all cgit links."
  48411. msgstr ""
  48412. #. type: deftypevr
  48413. #: guix-git/doc/guix.texi:32832
  48414. msgid "Defaults to @samp{\"/\"}."
  48415. msgstr ""
  48416. #. type: deftypevr
  48417. #: guix-git/doc/guix.texi:32835
  48418. #, no-wrap
  48419. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  48420. msgstr ""
  48421. #. type: deftypevr
  48422. #: guix-git/doc/guix.texi:32837
  48423. msgid "A list of @dfn{cgit-repo} records to use with config."
  48424. msgstr ""
  48425. #. type: deftypevr
  48426. #: guix-git/doc/guix.texi:32841
  48427. msgid "Available @code{repository-cgit-configuration} fields are:"
  48428. msgstr ""
  48429. #. type: deftypevr
  48430. #: guix-git/doc/guix.texi:32842
  48431. #, no-wrap
  48432. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  48433. msgstr ""
  48434. #. type: deftypevr
  48435. #: guix-git/doc/guix.texi:32845
  48436. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  48437. msgstr ""
  48438. #. type: deftypevr
  48439. #: guix-git/doc/guix.texi:32850
  48440. #, no-wrap
  48441. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  48442. msgstr ""
  48443. #. type: deftypevr
  48444. #: guix-git/doc/guix.texi:32852
  48445. msgid "Override the default @code{source-filter}."
  48446. msgstr ""
  48447. #. type: deftypevr
  48448. #: guix-git/doc/guix.texi:32857
  48449. #, no-wrap
  48450. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  48451. msgstr ""
  48452. #. type: deftypevr
  48453. #: guix-git/doc/guix.texi:32859
  48454. msgid "The relative URL used to access the repository."
  48455. msgstr ""
  48456. #. type: deftypevr
  48457. #: guix-git/doc/guix.texi:32864
  48458. #, no-wrap
  48459. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  48460. msgstr ""
  48461. #. type: deftypevr
  48462. #: guix-git/doc/guix.texi:32866
  48463. msgid "Override the default @code{about-filter}."
  48464. msgstr ""
  48465. #. type: deftypevr
  48466. #: guix-git/doc/guix.texi:32871
  48467. #, no-wrap
  48468. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  48469. msgstr ""
  48470. #. type: deftypevr
  48471. #: guix-git/doc/guix.texi:32874
  48472. 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."
  48473. msgstr ""
  48474. #. type: deftypevr
  48475. #: guix-git/doc/guix.texi:32879
  48476. #, no-wrap
  48477. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  48478. msgstr ""
  48479. #. type: deftypevr
  48480. #: guix-git/doc/guix.texi:32881
  48481. msgid "A list of URLs which can be used to clone repo."
  48482. msgstr ""
  48483. #. type: deftypevr
  48484. #: guix-git/doc/guix.texi:32886
  48485. #, no-wrap
  48486. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  48487. msgstr ""
  48488. #. type: deftypevr
  48489. #: guix-git/doc/guix.texi:32888
  48490. msgid "Override the default @code{commit-filter}."
  48491. msgstr ""
  48492. #. type: deftypevr
  48493. #: guix-git/doc/guix.texi:32893
  48494. #, no-wrap
  48495. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  48496. msgstr ""
  48497. #. type: deftypevr
  48498. #: guix-git/doc/guix.texi:32902
  48499. #, no-wrap
  48500. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  48501. msgstr ""
  48502. #. type: deftypevr
  48503. #: guix-git/doc/guix.texi:32907
  48504. 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."
  48505. msgstr ""
  48506. #. type: deftypevr
  48507. #: guix-git/doc/guix.texi:32912
  48508. #, no-wrap
  48509. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  48510. msgstr ""
  48511. #. type: deftypevr
  48512. #: guix-git/doc/guix.texi:32914
  48513. msgid "The value to show as repository description."
  48514. msgstr ""
  48515. #. type: deftypevr
  48516. #: guix-git/doc/guix.texi:32919
  48517. #, no-wrap
  48518. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  48519. msgstr ""
  48520. #. type: deftypevr
  48521. #: guix-git/doc/guix.texi:32921
  48522. msgid "The value to show as repository homepage."
  48523. msgstr ""
  48524. #. type: deftypevr
  48525. #: guix-git/doc/guix.texi:32926
  48526. #, no-wrap
  48527. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  48528. msgstr ""
  48529. #. type: deftypevr
  48530. #: guix-git/doc/guix.texi:32928
  48531. msgid "Override the default @code{email-filter}."
  48532. msgstr ""
  48533. #. type: deftypevr
  48534. #: guix-git/doc/guix.texi:32933
  48535. #, no-wrap
  48536. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  48537. msgstr ""
  48538. #. type: deftypevr
  48539. #: guix-git/doc/guix.texi:32936
  48540. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  48541. msgstr ""
  48542. #. type: deftypevr
  48543. #: guix-git/doc/guix.texi:32941
  48544. #, no-wrap
  48545. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  48546. msgstr ""
  48547. #. type: deftypevr
  48548. #: guix-git/doc/guix.texi:32944
  48549. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  48550. msgstr ""
  48551. #. type: deftypevr
  48552. #: guix-git/doc/guix.texi:32949
  48553. #, no-wrap
  48554. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  48555. msgstr ""
  48556. #. type: deftypevr
  48557. #: guix-git/doc/guix.texi:32952
  48558. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  48559. msgstr ""
  48560. #. type: deftypevr
  48561. #: guix-git/doc/guix.texi:32957
  48562. #, no-wrap
  48563. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  48564. msgstr ""
  48565. #. type: deftypevr
  48566. #: guix-git/doc/guix.texi:32965
  48567. #, no-wrap
  48568. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  48569. msgstr ""
  48570. #. type: deftypevr
  48571. #: guix-git/doc/guix.texi:32968
  48572. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  48573. msgstr ""
  48574. #. type: deftypevr
  48575. #: guix-git/doc/guix.texi:32973
  48576. #, no-wrap
  48577. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  48578. msgstr ""
  48579. #. type: deftypevr
  48580. #: guix-git/doc/guix.texi:32976
  48581. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  48582. msgstr ""
  48583. #. type: deftypevr
  48584. #: guix-git/doc/guix.texi:32981
  48585. #, no-wrap
  48586. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  48587. msgstr ""
  48588. #. type: deftypevr
  48589. #: guix-git/doc/guix.texi:32984
  48590. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  48591. msgstr ""
  48592. #. type: deftypevr
  48593. #: guix-git/doc/guix.texi:32989
  48594. #, no-wrap
  48595. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  48596. msgstr ""
  48597. #. type: deftypevr
  48598. #: guix-git/doc/guix.texi:32991
  48599. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  48600. msgstr ""
  48601. #. type: deftypevr
  48602. #: guix-git/doc/guix.texi:32996
  48603. #, no-wrap
  48604. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  48605. msgstr ""
  48606. #. type: deftypevr
  48607. #: guix-git/doc/guix.texi:32999
  48608. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  48609. msgstr ""
  48610. #. type: deftypevr
  48611. #: guix-git/doc/guix.texi:33004
  48612. #, no-wrap
  48613. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  48614. msgstr ""
  48615. #. type: deftypevr
  48616. #: guix-git/doc/guix.texi:33011
  48617. #, no-wrap
  48618. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  48619. msgstr ""
  48620. #. type: deftypevr
  48621. #: guix-git/doc/guix.texi:33013
  48622. msgid "Override the default @code{owner-filter}."
  48623. msgstr ""
  48624. #. type: deftypevr
  48625. #: guix-git/doc/guix.texi:33018
  48626. #, no-wrap
  48627. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  48628. msgstr ""
  48629. #. type: deftypevr
  48630. #: guix-git/doc/guix.texi:33022
  48631. 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."
  48632. msgstr ""
  48633. #. type: deftypevr
  48634. #: guix-git/doc/guix.texi:33027
  48635. #, no-wrap
  48636. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  48637. msgstr ""
  48638. #. type: deftypevr
  48639. #: guix-git/doc/guix.texi:33031
  48640. 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."
  48641. msgstr ""
  48642. #. type: deftypevr
  48643. #: guix-git/doc/guix.texi:33036
  48644. #, no-wrap
  48645. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  48646. msgstr ""
  48647. #. type: deftypevr
  48648. #: guix-git/doc/guix.texi:33038
  48649. msgid "Override the default maximum statistics period."
  48650. msgstr ""
  48651. #. type: deftypevr
  48652. #: guix-git/doc/guix.texi:33043
  48653. #, no-wrap
  48654. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  48655. msgstr ""
  48656. #. type: deftypevr
  48657. #: guix-git/doc/guix.texi:33045
  48658. msgid "The value to show as repository name."
  48659. msgstr ""
  48660. #. type: deftypevr
  48661. #: guix-git/doc/guix.texi:33050
  48662. #, no-wrap
  48663. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  48664. msgstr ""
  48665. #. type: deftypevr
  48666. #: guix-git/doc/guix.texi:33052
  48667. msgid "A value used to identify the owner of the repository."
  48668. msgstr ""
  48669. #. type: deftypevr
  48670. #: guix-git/doc/guix.texi:33057
  48671. #, no-wrap
  48672. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  48673. msgstr ""
  48674. #. type: deftypevr
  48675. #: guix-git/doc/guix.texi:33059
  48676. msgid "An absolute path to the repository directory."
  48677. msgstr ""
  48678. #. type: deftypevr
  48679. #: guix-git/doc/guix.texi:33064
  48680. #, no-wrap
  48681. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  48682. msgstr ""
  48683. #. type: deftypevr
  48684. #: guix-git/doc/guix.texi:33067
  48685. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  48686. msgstr ""
  48687. #. type: deftypevr
  48688. #: guix-git/doc/guix.texi:33072
  48689. #, no-wrap
  48690. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  48691. msgstr ""
  48692. #. type: deftypevr
  48693. #: guix-git/doc/guix.texi:33080
  48694. #, no-wrap
  48695. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  48696. msgstr ""
  48697. #. type: deftypevr
  48698. #: guix-git/doc/guix.texi:33082 guix-git/doc/guix.texi:33091
  48699. msgid "Extra options will be appended to cgitrc file."
  48700. msgstr ""
  48701. #. type: deftypevr
  48702. #: guix-git/doc/guix.texi:33089
  48703. #, no-wrap
  48704. msgid "{@code{cgit-configuration} parameter} list extra-options"
  48705. msgstr ""
  48706. #. type: Plain text
  48707. #: guix-git/doc/guix.texi:33103
  48708. 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."
  48709. msgstr ""
  48710. #. type: Plain text
  48711. #: guix-git/doc/guix.texi:33105
  48712. msgid "Available @code{opaque-cgit-configuration} fields are:"
  48713. msgstr ""
  48714. #. type: deftypevr
  48715. #: guix-git/doc/guix.texi:33106
  48716. #, no-wrap
  48717. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  48718. msgstr ""
  48719. #. type: deftypevr
  48720. #: guix-git/doc/guix.texi:33108
  48721. msgid "The cgit package."
  48722. msgstr ""
  48723. #. type: deftypevr
  48724. #: guix-git/doc/guix.texi:33110
  48725. #, no-wrap
  48726. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  48727. msgstr ""
  48728. #. type: deftypevr
  48729. #: guix-git/doc/guix.texi:33112
  48730. msgid "The contents of the @code{cgitrc}, as a string."
  48731. msgstr ""
  48732. #. type: Plain text
  48733. #: guix-git/doc/guix.texi:33116
  48734. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  48735. msgstr ""
  48736. #. type: lisp
  48737. #: guix-git/doc/guix.texi:33121
  48738. #, no-wrap
  48739. msgid ""
  48740. "(service cgit-service-type\n"
  48741. " (opaque-cgit-configuration\n"
  48742. " (cgitrc \"\")))\n"
  48743. msgstr ""
  48744. #. type: subsubheading
  48745. #: guix-git/doc/guix.texi:33123
  48746. #, no-wrap
  48747. msgid "Gitolite Service"
  48748. msgstr ""
  48749. #. type: cindex
  48750. #: guix-git/doc/guix.texi:33125
  48751. #, no-wrap
  48752. msgid "Gitolite service"
  48753. msgstr ""
  48754. #. type: cindex
  48755. #: guix-git/doc/guix.texi:33126
  48756. #, no-wrap
  48757. msgid "Git, hosting"
  48758. msgstr ""
  48759. #. type: Plain text
  48760. #: guix-git/doc/guix.texi:33129
  48761. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  48762. msgstr ""
  48763. #. type: Plain text
  48764. #: guix-git/doc/guix.texi:33132
  48765. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  48766. msgstr ""
  48767. #. type: Plain text
  48768. #: guix-git/doc/guix.texi:33135
  48769. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  48770. msgstr ""
  48771. #. type: lisp
  48772. #: guix-git/doc/guix.texi:33142
  48773. #, no-wrap
  48774. msgid ""
  48775. "(service gitolite-service-type\n"
  48776. " (gitolite-configuration\n"
  48777. " (admin-pubkey (plain-file\n"
  48778. " \"yourname.pub\"\n"
  48779. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  48780. msgstr ""
  48781. #. type: Plain text
  48782. #: guix-git/doc/guix.texi:33147
  48783. 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."
  48784. msgstr ""
  48785. #. type: example
  48786. #: guix-git/doc/guix.texi:33150
  48787. #, no-wrap
  48788. msgid "git clone git@@example.com:gitolite-admin\n"
  48789. msgstr ""
  48790. #. type: Plain text
  48791. #: guix-git/doc/guix.texi:33156
  48792. 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''."
  48793. msgstr ""
  48794. #. type: deftp
  48795. #: guix-git/doc/guix.texi:33157
  48796. #, no-wrap
  48797. msgid "{Data Type} gitolite-configuration"
  48798. msgstr ""
  48799. #. type: deftp
  48800. #: guix-git/doc/guix.texi:33159
  48801. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  48802. msgstr ""
  48803. #. type: item
  48804. #: guix-git/doc/guix.texi:33161
  48805. #, no-wrap
  48806. msgid "@code{package} (default: @var{gitolite})"
  48807. msgstr ""
  48808. #. type: table
  48809. #: guix-git/doc/guix.texi:33163
  48810. msgid "Gitolite package to use."
  48811. msgstr ""
  48812. #. type: item
  48813. #: guix-git/doc/guix.texi:33164
  48814. #, no-wrap
  48815. msgid "@code{user} (default: @var{git})"
  48816. msgstr ""
  48817. #. type: table
  48818. #: guix-git/doc/guix.texi:33167
  48819. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  48820. msgstr ""
  48821. #. type: item
  48822. #: guix-git/doc/guix.texi:33168
  48823. #, no-wrap
  48824. msgid "@code{group} (default: @var{git})"
  48825. msgstr ""
  48826. #. type: table
  48827. #: guix-git/doc/guix.texi:33170
  48828. msgid "Group to use for Gitolite."
  48829. msgstr ""
  48830. #. type: item
  48831. #: guix-git/doc/guix.texi:33171
  48832. #, no-wrap
  48833. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  48834. msgstr ""
  48835. #. type: table
  48836. #: guix-git/doc/guix.texi:33173
  48837. msgid "Directory in which to store the Gitolite configuration and repositories."
  48838. msgstr ""
  48839. #. type: item
  48840. #: guix-git/doc/guix.texi:33174
  48841. #, no-wrap
  48842. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  48843. msgstr ""
  48844. #. type: table
  48845. #: guix-git/doc/guix.texi:33177
  48846. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  48847. msgstr ""
  48848. #. type: item
  48849. #: guix-git/doc/guix.texi:33178
  48850. #, no-wrap
  48851. msgid "@code{admin-pubkey} (default: @var{#f})"
  48852. msgstr ""
  48853. #. type: table
  48854. #: guix-git/doc/guix.texi:33182
  48855. 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."
  48856. msgstr ""
  48857. #. type: table
  48858. #: guix-git/doc/guix.texi:33184
  48859. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  48860. msgstr ""
  48861. #. type: lisp
  48862. #: guix-git/doc/guix.texi:33187
  48863. #, no-wrap
  48864. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  48865. msgstr ""
  48866. #. type: deftp
  48867. #: guix-git/doc/guix.texi:33192
  48868. #, no-wrap
  48869. msgid "{Data Type} gitolite-rc-file"
  48870. msgstr ""
  48871. #. type: deftp
  48872. #: guix-git/doc/guix.texi:33194
  48873. msgid "Data type representing the Gitolite RC file."
  48874. msgstr ""
  48875. #. type: item
  48876. #: guix-git/doc/guix.texi:33196
  48877. #, no-wrap
  48878. msgid "@code{umask} (default: @code{#o0077})"
  48879. msgstr ""
  48880. #. type: table
  48881. #: guix-git/doc/guix.texi:33199
  48882. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  48883. msgstr ""
  48884. #. type: table
  48885. #: guix-git/doc/guix.texi:33203
  48886. 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."
  48887. msgstr ""
  48888. #. type: item
  48889. #: guix-git/doc/guix.texi:33204
  48890. #, no-wrap
  48891. msgid "@code{unsafe-pattern} (default: @code{#f})"
  48892. msgstr ""
  48893. #. type: table
  48894. #: guix-git/doc/guix.texi:33209
  48895. 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."
  48896. msgstr ""
  48897. #. type: table
  48898. #: guix-git/doc/guix.texi:33216
  48899. 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."
  48900. msgstr ""
  48901. #. type: item
  48902. #: guix-git/doc/guix.texi:33217
  48903. #, no-wrap
  48904. msgid "@code{git-config-keys} (default: @code{\"\"})"
  48905. msgstr ""
  48906. #. type: table
  48907. #: guix-git/doc/guix.texi:33220
  48908. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  48909. msgstr ""
  48910. #. type: item
  48911. #: guix-git/doc/guix.texi:33221
  48912. #, no-wrap
  48913. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  48914. msgstr ""
  48915. #. type: table
  48916. #: guix-git/doc/guix.texi:33223
  48917. msgid "Set the role names allowed to be used by users running the perms command."
  48918. msgstr ""
  48919. #. type: item
  48920. #: guix-git/doc/guix.texi:33224
  48921. #, no-wrap
  48922. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  48923. msgstr ""
  48924. #. type: table
  48925. #: guix-git/doc/guix.texi:33226
  48926. msgid "This setting controls the commands and features to enable within Gitolite."
  48927. msgstr ""
  48928. #. type: subsubheading
  48929. #: guix-git/doc/guix.texi:33231
  48930. #, fuzzy, no-wrap
  48931. #| msgid "Services"
  48932. msgid "Gitile Service"
  48933. msgstr "Servizi"
  48934. #. type: cindex
  48935. #: guix-git/doc/guix.texi:33233
  48936. #, no-wrap
  48937. msgid "Gitile service"
  48938. msgstr ""
  48939. #. type: cindex
  48940. #: guix-git/doc/guix.texi:33234
  48941. #, no-wrap
  48942. msgid "Git, forge"
  48943. msgstr ""
  48944. #. type: Plain text
  48945. #: guix-git/doc/guix.texi:33237
  48946. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  48947. msgstr ""
  48948. #. type: Plain text
  48949. #: guix-git/doc/guix.texi:33243
  48950. 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})."
  48951. msgstr ""
  48952. #. type: Plain text
  48953. #: guix-git/doc/guix.texi:33247
  48954. 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."
  48955. msgstr ""
  48956. #. type: lisp
  48957. #: guix-git/doc/guix.texi:33270
  48958. #, no-wrap
  48959. msgid ""
  48960. "(service gitile-service-type\n"
  48961. " (gitile-configuration\n"
  48962. " (repositories \"/srv/git\")\n"
  48963. " (base-git-url \"https://myweb.site/git\")\n"
  48964. " (index-title \"My git repositories\")\n"
  48965. " (intro '((p \"This is all my public work!\")))\n"
  48966. " (footer '((p \"This is the end\")))\n"
  48967. " (nginx-server-block\n"
  48968. " (nginx-server-configuration\n"
  48969. " (ssl-certificate\n"
  48970. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  48971. " (ssl-certificate-key\n"
  48972. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  48973. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  48974. " (locations\n"
  48975. " (list\n"
  48976. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  48977. " (git-http-nginx-location-configuration\n"
  48978. " (git-http-configuration\n"
  48979. " (uri-path \"/git/\")\n"
  48980. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  48981. msgstr ""
  48982. #. type: Plain text
  48983. #: guix-git/doc/guix.texi:33279
  48984. 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:"
  48985. msgstr ""
  48986. #. type: example
  48987. #: guix-git/doc/guix.texi:33283
  48988. #, no-wrap
  48989. msgid ""
  48990. "repo foo\n"
  48991. " R = daemon\n"
  48992. msgstr ""
  48993. #. type: Plain text
  48994. #: guix-git/doc/guix.texi:33289
  48995. 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}:"
  48996. msgstr ""
  48997. #. type: example
  48998. #: guix-git/doc/guix.texi:33296
  48999. #, no-wrap
  49000. msgid ""
  49001. "repo foo\n"
  49002. " R = daemon\n"
  49003. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  49004. " config gitweb.name = The Foo Project\n"
  49005. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  49006. msgstr ""
  49007. #. type: Plain text
  49008. #: guix-git/doc/guix.texi:33302
  49009. 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:"
  49010. msgstr ""
  49011. #. type: lisp
  49012. #: guix-git/doc/guix.texi:33314
  49013. #, no-wrap
  49014. msgid ""
  49015. "(service gitolite-service-type\n"
  49016. " (gitolite-configuration\n"
  49017. " (admin-pubkey (local-file \"key.pub\"))\n"
  49018. " (rc-file\n"
  49019. " (gitolite-rc-file\n"
  49020. " (umask #o0027)\n"
  49021. " ;; Allow to set any configuration key\n"
  49022. " (git-config-keys \".*\")\n"
  49023. " ;; Allow any text as a valid configuration value\n"
  49024. " (unsafe-patt \"^$\")))))\n"
  49025. msgstr ""
  49026. #. type: deftp
  49027. #: guix-git/doc/guix.texi:33316
  49028. #, no-wrap
  49029. msgid "{Data Type} gitile-configuration"
  49030. msgstr ""
  49031. #. type: deftp
  49032. #: guix-git/doc/guix.texi:33318
  49033. msgid "Data type representing the configuration for @code{gitile-service-type}."
  49034. msgstr ""
  49035. #. type: item
  49036. #: guix-git/doc/guix.texi:33320
  49037. #, no-wrap
  49038. msgid "@code{package} (default: @var{gitile})"
  49039. msgstr ""
  49040. #. type: table
  49041. #: guix-git/doc/guix.texi:33322
  49042. msgid "Gitile package to use."
  49043. msgstr ""
  49044. #. type: table
  49045. #: guix-git/doc/guix.texi:33325
  49046. msgid "The host on which gitile is listening."
  49047. msgstr ""
  49048. #. type: item
  49049. #: guix-git/doc/guix.texi:33326
  49050. #, no-wrap
  49051. msgid "@code{port} (default: @code{8080})"
  49052. msgstr ""
  49053. #. type: table
  49054. #: guix-git/doc/guix.texi:33328
  49055. msgid "The port on which gitile is listening."
  49056. msgstr ""
  49057. #. type: item
  49058. #: guix-git/doc/guix.texi:33329
  49059. #, no-wrap
  49060. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  49061. msgstr ""
  49062. #. type: table
  49063. #: guix-git/doc/guix.texi:33331
  49064. msgid "The location of the database."
  49065. msgstr ""
  49066. #. type: item
  49067. #: guix-git/doc/guix.texi:33332
  49068. #, no-wrap
  49069. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  49070. msgstr ""
  49071. #. type: table
  49072. #: guix-git/doc/guix.texi:33336
  49073. 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."
  49074. msgstr ""
  49075. #. type: code{#1}
  49076. #: guix-git/doc/guix.texi:33337
  49077. #, no-wrap
  49078. msgid "base-git-url"
  49079. msgstr ""
  49080. #. type: table
  49081. #: guix-git/doc/guix.texi:33339
  49082. msgid "The base git url that will be used to show clone commands."
  49083. msgstr ""
  49084. #. type: item
  49085. #: guix-git/doc/guix.texi:33340
  49086. #, no-wrap
  49087. msgid "@code{index-title} (default: @code{\"Index\"})"
  49088. msgstr ""
  49089. #. type: table
  49090. #: guix-git/doc/guix.texi:33342
  49091. msgid "The page title for the index page that lists all the available repositories."
  49092. msgstr ""
  49093. #. type: item
  49094. #: guix-git/doc/guix.texi:33343
  49095. #, no-wrap
  49096. msgid "@code{intro} (default: @code{'()})"
  49097. msgstr ""
  49098. #. type: table
  49099. #: guix-git/doc/guix.texi:33346
  49100. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  49101. msgstr ""
  49102. #. type: item
  49103. #: guix-git/doc/guix.texi:33347
  49104. #, no-wrap
  49105. msgid "@code{footer} (default: @code{'()})"
  49106. msgstr ""
  49107. #. type: table
  49108. #: guix-git/doc/guix.texi:33350
  49109. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  49110. msgstr ""
  49111. #. type: code{#1}
  49112. #: guix-git/doc/guix.texi:33351
  49113. #, no-wrap
  49114. msgid "nginx-server-block"
  49115. msgstr ""
  49116. #. type: table
  49117. #: guix-git/doc/guix.texi:33354
  49118. 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."
  49119. msgstr ""
  49120. #. type: table
  49121. #: guix-git/doc/guix.texi:33358
  49122. 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."
  49123. msgstr ""
  49124. #. type: subsubheading
  49125. #: guix-git/doc/guix.texi:33365
  49126. #, no-wrap
  49127. msgid "The Battle for Wesnoth Service"
  49128. msgstr ""
  49129. #. type: cindex
  49130. #: guix-git/doc/guix.texi:33366
  49131. #, no-wrap
  49132. msgid "wesnothd"
  49133. msgstr ""
  49134. #. type: Plain text
  49135. #: guix-git/doc/guix.texi:33370
  49136. 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)."
  49137. msgstr ""
  49138. #. type: defvar
  49139. #: guix-git/doc/guix.texi:33371
  49140. #, no-wrap
  49141. msgid "{Scheme Variable} wesnothd-service-type"
  49142. msgstr ""
  49143. #. type: defvar
  49144. #: guix-git/doc/guix.texi:33375
  49145. 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:"
  49146. msgstr ""
  49147. #. type: lisp
  49148. #: guix-git/doc/guix.texi:33378
  49149. #, no-wrap
  49150. msgid "(service wesnothd-service-type)\n"
  49151. msgstr ""
  49152. #. type: deftp
  49153. #: guix-git/doc/guix.texi:33381
  49154. #, no-wrap
  49155. msgid "{Data Type} wesnothd-configuration"
  49156. msgstr ""
  49157. #. type: deftp
  49158. #: guix-git/doc/guix.texi:33383
  49159. msgid "Data type representing the configuration of @command{wesnothd}."
  49160. msgstr ""
  49161. #. type: item
  49162. #: guix-git/doc/guix.texi:33385
  49163. #, no-wrap
  49164. msgid "@code{package} (default: @code{wesnoth-server})"
  49165. msgstr ""
  49166. #. type: table
  49167. #: guix-git/doc/guix.texi:33387
  49168. msgid "The wesnoth server package to use."
  49169. msgstr ""
  49170. #. type: item
  49171. #: guix-git/doc/guix.texi:33388
  49172. #, no-wrap
  49173. msgid "@code{port} (default: @code{15000})"
  49174. msgstr ""
  49175. #. type: table
  49176. #: guix-git/doc/guix.texi:33390 guix-git/doc/guix.texi:33781
  49177. msgid "The port to bind the server to."
  49178. msgstr ""
  49179. #. type: cindex
  49180. #: guix-git/doc/guix.texi:33396
  49181. #, no-wrap
  49182. msgid "pam-mount"
  49183. msgstr ""
  49184. #. type: Plain text
  49185. #: guix-git/doc/guix.texi:33401
  49186. 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."
  49187. msgstr ""
  49188. #. type: defvar
  49189. #: guix-git/doc/guix.texi:33402
  49190. #, no-wrap
  49191. msgid "{Scheme Variable} pam-mount-service-type"
  49192. msgstr ""
  49193. #. type: defvar
  49194. #: guix-git/doc/guix.texi:33404
  49195. msgid "Service type for PAM Mount support."
  49196. msgstr ""
  49197. #. type: deftp
  49198. #: guix-git/doc/guix.texi:33406
  49199. #, no-wrap
  49200. msgid "{Data Type} pam-mount-configuration"
  49201. msgstr ""
  49202. #. type: deftp
  49203. #: guix-git/doc/guix.texi:33408
  49204. msgid "Data type representing the configuration of PAM Mount."
  49205. msgstr ""
  49206. #. type: code{#1}
  49207. #: guix-git/doc/guix.texi:33412
  49208. #, no-wrap
  49209. msgid "rules"
  49210. msgstr ""
  49211. #. type: table
  49212. #: guix-git/doc/guix.texi:33415
  49213. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  49214. msgstr ""
  49215. #. type: table
  49216. #: guix-git/doc/guix.texi:33419
  49217. 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:"
  49218. msgstr ""
  49219. #. type: lisp
  49220. #: guix-git/doc/guix.texi:33434
  49221. #, no-wrap
  49222. msgid ""
  49223. "`((debug (@@ (enable \"0\")))\n"
  49224. " (mntoptions (@@ (allow ,(string-join\n"
  49225. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49226. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49227. " \"allow_root\" \"allow_other\")\n"
  49228. " \",\"))))\n"
  49229. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49230. " (logout (@@ (wait \"0\")\n"
  49231. " (hup \"0\")\n"
  49232. " (term \"no\")\n"
  49233. " (kill \"no\")))\n"
  49234. " (mkmountpoint (@@ (enable \"1\")\n"
  49235. " (remove \"true\"))))\n"
  49236. msgstr ""
  49237. #. type: table
  49238. #: guix-git/doc/guix.texi:33440
  49239. 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:"
  49240. msgstr ""
  49241. #. type: lisp
  49242. #: guix-git/doc/guix.texi:33465
  49243. #, no-wrap
  49244. msgid ""
  49245. "(define pam-mount-rules\n"
  49246. "`((debug (@@ (enable \"0\")))\n"
  49247. " (volume (@@ (user \"alice\")\n"
  49248. " (fstype \"crypt\")\n"
  49249. " (path \"/dev/sda2\")\n"
  49250. " (mountpoint \"/home/alice\")))\n"
  49251. " (volume (@@ (user \"bob\")\n"
  49252. " (fstype \"auto\")\n"
  49253. " (path \"/dev/sdb3\")\n"
  49254. " (mountpoint \"/home/bob/data\")\n"
  49255. " (options \"defaults,autodefrag,compress\")))\n"
  49256. " (mntoptions (@@ (allow ,(string-join\n"
  49257. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49258. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49259. " \"allow_root\" \"allow_other\")\n"
  49260. " \",\"))))\n"
  49261. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49262. " (logout (@@ (wait \"0\")\n"
  49263. " (hup \"0\")\n"
  49264. " (term \"no\")\n"
  49265. " (kill \"no\")))\n"
  49266. " (mkmountpoint (@@ (enable \"1\")\n"
  49267. " (remove \"true\")))))\n"
  49268. "\n"
  49269. msgstr ""
  49270. #. type: lisp
  49271. #: guix-git/doc/guix.texi:33469
  49272. #, no-wrap
  49273. msgid ""
  49274. "(service pam-mount-service-type\n"
  49275. " (pam-mount-configuration\n"
  49276. " (rules pam-mount-rules)))\n"
  49277. msgstr ""
  49278. #. type: table
  49279. #: guix-git/doc/guix.texi:33473
  49280. 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}."
  49281. msgstr ""
  49282. #. type: subsubheading
  49283. #: guix-git/doc/guix.texi:33480
  49284. #, no-wrap
  49285. msgid "Guix Build Coordinator"
  49286. msgstr ""
  49287. #. type: Plain text
  49288. #: guix-git/doc/guix.texi:33486
  49289. 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."
  49290. msgstr ""
  49291. #. type: Plain text
  49292. #: guix-git/doc/guix.texi:33492
  49293. 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."
  49294. msgstr ""
  49295. #. type: Plain text
  49296. #: guix-git/doc/guix.texi:33496
  49297. 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."
  49298. msgstr ""
  49299. #. type: defvar
  49300. #: guix-git/doc/guix.texi:33497
  49301. #, no-wrap
  49302. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  49303. msgstr ""
  49304. #. type: defvar
  49305. #: guix-git/doc/guix.texi:33500
  49306. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  49307. msgstr ""
  49308. #. type: deftp
  49309. #: guix-git/doc/guix.texi:33502
  49310. #, no-wrap
  49311. msgid "{Data Type} guix-build-coordinator-configuration"
  49312. msgstr ""
  49313. #. type: deftp
  49314. #: guix-git/doc/guix.texi:33504
  49315. msgid "Data type representing the configuration of the Guix Build Coordinator."
  49316. msgstr ""
  49317. #. type: item
  49318. #: guix-git/doc/guix.texi:33506 guix-git/doc/guix.texi:33676
  49319. #, no-wrap
  49320. msgid "@code{package} (default: @code{guix-build-coordinator})"
  49321. msgstr ""
  49322. #. type: table
  49323. #: guix-git/doc/guix.texi:33508 guix-git/doc/guix.texi:33552
  49324. #: guix-git/doc/guix.texi:33678
  49325. msgid "The Guix Build Coordinator package to use."
  49326. msgstr ""
  49327. #. type: item
  49328. #: guix-git/doc/guix.texi:33509
  49329. #, no-wrap
  49330. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  49331. msgstr ""
  49332. #. type: table
  49333. #: guix-git/doc/guix.texi:33511 guix-git/doc/guix.texi:33555
  49334. #: guix-git/doc/guix.texi:33681 guix-git/doc/guix.texi:33727
  49335. #: guix-git/doc/guix.texi:33775
  49336. msgid "The system user to run the service as."
  49337. msgstr ""
  49338. #. type: item
  49339. #: guix-git/doc/guix.texi:33512
  49340. #, no-wrap
  49341. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  49342. msgstr ""
  49343. #. type: table
  49344. #: guix-git/doc/guix.texi:33514 guix-git/doc/guix.texi:33730
  49345. #: guix-git/doc/guix.texi:33778
  49346. msgid "The system group to run the service as."
  49347. msgstr ""
  49348. #. type: item
  49349. #: guix-git/doc/guix.texi:33515
  49350. #, no-wrap
  49351. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  49352. msgstr ""
  49353. #. type: table
  49354. #: guix-git/doc/guix.texi:33517
  49355. msgid "The URI to use for the database."
  49356. msgstr ""
  49357. #. type: item
  49358. #: guix-git/doc/guix.texi:33518
  49359. #, no-wrap
  49360. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  49361. msgstr ""
  49362. #. type: table
  49363. #: guix-git/doc/guix.texi:33520
  49364. msgid "The URI describing how to listen to requests from agent processes."
  49365. msgstr ""
  49366. #. type: item
  49367. #: guix-git/doc/guix.texi:33521
  49368. #, no-wrap
  49369. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  49370. msgstr ""
  49371. #. type: table
  49372. #: guix-git/doc/guix.texi:33525
  49373. 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."
  49374. msgstr ""
  49375. #. type: item
  49376. #: guix-git/doc/guix.texi:33526
  49377. #, no-wrap
  49378. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  49379. msgstr ""
  49380. #. type: table
  49381. #: guix-git/doc/guix.texi:33530
  49382. 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."
  49383. msgstr ""
  49384. #. type: item
  49385. #: guix-git/doc/guix.texi:33531
  49386. #, no-wrap
  49387. msgid "@code{hooks} (default: @var{'()})"
  49388. msgstr ""
  49389. #. type: table
  49390. #: guix-git/doc/guix.texi:33534
  49391. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  49392. msgstr ""
  49393. #. type: item
  49394. #: guix-git/doc/guix.texi:33535
  49395. #, no-wrap
  49396. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  49397. msgstr ""
  49398. #. type: table
  49399. #: guix-git/doc/guix.texi:33537
  49400. msgid "The Guile package with which to run the Guix Build Coordinator."
  49401. msgstr ""
  49402. #. type: defvar
  49403. #: guix-git/doc/guix.texi:33541
  49404. #, no-wrap
  49405. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  49406. msgstr ""
  49407. #. type: defvar
  49408. #: guix-git/doc/guix.texi:33544
  49409. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  49410. msgstr ""
  49411. #. type: deftp
  49412. #: guix-git/doc/guix.texi:33546
  49413. #, no-wrap
  49414. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  49415. msgstr ""
  49416. #. type: deftp
  49417. #: guix-git/doc/guix.texi:33548
  49418. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  49419. msgstr ""
  49420. #. type: item
  49421. #: guix-git/doc/guix.texi:33550
  49422. #, no-wrap
  49423. msgid "@code{package} (default: @code{guix-build-coordinator/agent-only})"
  49424. msgstr ""
  49425. #. type: item
  49426. #: guix-git/doc/guix.texi:33553
  49427. #, no-wrap
  49428. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  49429. msgstr ""
  49430. #. type: item
  49431. #: guix-git/doc/guix.texi:33556
  49432. #, no-wrap
  49433. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  49434. msgstr ""
  49435. #. type: table
  49436. #: guix-git/doc/guix.texi:33558 guix-git/doc/guix.texi:33684
  49437. msgid "The URI to use when connecting to the coordinator."
  49438. msgstr ""
  49439. #. type: code{#1}
  49440. #: guix-git/doc/guix.texi:33559
  49441. #, fuzzy, no-wrap
  49442. msgid "authentication"
  49443. msgstr "Documentazione"
  49444. #. type: table
  49445. #: guix-git/doc/guix.texi:33562
  49446. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  49447. msgstr ""
  49448. #. type: item
  49449. #: guix-git/doc/guix.texi:33563 guix-git/doc/guix.texi:33685
  49450. #, no-wrap
  49451. msgid "@code{systems} (default: @code{#f})"
  49452. msgstr ""
  49453. #. type: table
  49454. #: guix-git/doc/guix.texi:33566
  49455. 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."
  49456. msgstr ""
  49457. #. type: item
  49458. #: guix-git/doc/guix.texi:33567
  49459. #, no-wrap
  49460. msgid "@code{max-parallel-builds} (default: @code{1})"
  49461. msgstr ""
  49462. #. type: table
  49463. #: guix-git/doc/guix.texi:33569
  49464. msgid "The number of builds to perform in parallel."
  49465. msgstr ""
  49466. #. type: item
  49467. #: guix-git/doc/guix.texi:33570
  49468. #, no-wrap
  49469. msgid "@code{max-1min-load-average} (default: @code{#f})"
  49470. msgstr ""
  49471. #. type: table
  49472. #: guix-git/doc/guix.texi:33574
  49473. 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."
  49474. msgstr ""
  49475. #. type: table
  49476. #: guix-git/doc/guix.texi:33578
  49477. 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."
  49478. msgstr ""
  49479. #. type: item
  49480. #: guix-git/doc/guix.texi:33579
  49481. #, no-wrap
  49482. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  49483. msgstr ""
  49484. #. type: table
  49485. #: guix-git/doc/guix.texi:33582
  49486. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  49487. msgstr ""
  49488. #. type: item
  49489. #: guix-git/doc/guix.texi:33583
  49490. #, no-wrap
  49491. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  49492. msgstr ""
  49493. #. type: table
  49494. #: guix-git/doc/guix.texi:33586
  49495. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  49496. msgstr ""
  49497. #. type: deftp
  49498. #: guix-git/doc/guix.texi:33590
  49499. #, no-wrap
  49500. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  49501. msgstr ""
  49502. #. type: deftp
  49503. #: guix-git/doc/guix.texi:33593
  49504. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  49505. msgstr ""
  49506. #. type: table
  49507. #: guix-git/doc/guix.texi:33599 guix-git/doc/guix.texi:33615
  49508. 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."
  49509. msgstr ""
  49510. #. type: table
  49511. #: guix-git/doc/guix.texi:33602
  49512. msgid "The password to use when connecting to the coordinator."
  49513. msgstr ""
  49514. #. type: deftp
  49515. #: guix-git/doc/guix.texi:33606
  49516. #, no-wrap
  49517. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  49518. msgstr ""
  49519. #. type: deftp
  49520. #: guix-git/doc/guix.texi:33609
  49521. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  49522. msgstr ""
  49523. #. type: code{#1}
  49524. #: guix-git/doc/guix.texi:33616
  49525. #, no-wrap
  49526. msgid "password-file"
  49527. msgstr ""
  49528. #. type: table
  49529. #: guix-git/doc/guix.texi:33619
  49530. msgid "A file containing the password to use when connecting to the coordinator."
  49531. msgstr ""
  49532. #. type: deftp
  49533. #: guix-git/doc/guix.texi:33623
  49534. #, no-wrap
  49535. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  49536. msgstr ""
  49537. #. type: deftp
  49538. #: guix-git/doc/guix.texi:33626
  49539. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  49540. msgstr ""
  49541. #. type: code{#1}
  49542. #: guix-git/doc/guix.texi:33628 guix-git/doc/guix.texi:33645
  49543. #, fuzzy, no-wrap
  49544. msgid "agent-name"
  49545. msgstr "Canali"
  49546. #. type: table
  49547. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33649
  49548. 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."
  49549. msgstr ""
  49550. #. type: code{#1}
  49551. #: guix-git/doc/guix.texi:33633
  49552. #, no-wrap
  49553. msgid "token"
  49554. msgstr ""
  49555. #. type: table
  49556. #: guix-git/doc/guix.texi:33636
  49557. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49558. msgstr ""
  49559. #. type: deftp
  49560. #: guix-git/doc/guix.texi:33640
  49561. #, no-wrap
  49562. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  49563. msgstr ""
  49564. #. type: deftp
  49565. #: guix-git/doc/guix.texi:33643
  49566. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  49567. msgstr ""
  49568. #. type: code{#1}
  49569. #: guix-git/doc/guix.texi:33650
  49570. #, no-wrap
  49571. msgid "token-file"
  49572. msgstr ""
  49573. #. type: table
  49574. #: guix-git/doc/guix.texi:33653
  49575. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49576. msgstr ""
  49577. #. type: Plain text
  49578. #: guix-git/doc/guix.texi:33663
  49579. 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."
  49580. msgstr ""
  49581. #. type: defvar
  49582. #: guix-git/doc/guix.texi:33664
  49583. #, no-wrap
  49584. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  49585. msgstr ""
  49586. #. type: defvar
  49587. #: guix-git/doc/guix.texi:33669
  49588. 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."
  49589. msgstr ""
  49590. #. type: deftp
  49591. #: guix-git/doc/guix.texi:33671
  49592. #, no-wrap
  49593. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  49594. msgstr ""
  49595. #. type: deftp
  49596. #: guix-git/doc/guix.texi:33674
  49597. msgid "Data type representing the options to the queue builds from guix data service script."
  49598. msgstr ""
  49599. #. type: item
  49600. #: guix-git/doc/guix.texi:33679
  49601. #, no-wrap
  49602. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  49603. msgstr ""
  49604. #. type: item
  49605. #: guix-git/doc/guix.texi:33682
  49606. #, no-wrap
  49607. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  49608. msgstr ""
  49609. #. type: table
  49610. #: guix-git/doc/guix.texi:33687
  49611. msgid "The systems for which to fetch derivations to build."
  49612. msgstr ""
  49613. #. type: item
  49614. #: guix-git/doc/guix.texi:33688
  49615. #, no-wrap
  49616. msgid "@code{systems-and-targets} (default: @code{#f})"
  49617. msgstr ""
  49618. #. type: table
  49619. #: guix-git/doc/guix.texi:33691
  49620. msgid "An association list of system and target pairs for which to fetch derivations to build."
  49621. msgstr ""
  49622. #. type: item
  49623. #: guix-git/doc/guix.texi:33692
  49624. #, no-wrap
  49625. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  49626. msgstr ""
  49627. #. type: table
  49628. #: guix-git/doc/guix.texi:33695
  49629. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  49630. msgstr ""
  49631. #. type: item
  49632. #: guix-git/doc/guix.texi:33696
  49633. #, no-wrap
  49634. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  49635. msgstr ""
  49636. #. type: table
  49637. #: guix-git/doc/guix.texi:33699
  49638. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  49639. msgstr ""
  49640. #. type: subsubheading
  49641. #: guix-git/doc/guix.texi:33703
  49642. #, no-wrap
  49643. msgid "Guix Data Service"
  49644. msgstr ""
  49645. #. type: Plain text
  49646. #: guix-git/doc/guix.texi:33707
  49647. 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."
  49648. msgstr ""
  49649. #. type: Plain text
  49650. #: guix-git/doc/guix.texi:33710
  49651. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  49652. msgstr ""
  49653. #. type: defvar
  49654. #: guix-git/doc/guix.texi:33711
  49655. #, no-wrap
  49656. msgid "{Scheme Variable} guix-data-service-type"
  49657. msgstr ""
  49658. #. type: defvar
  49659. #: guix-git/doc/guix.texi:33716
  49660. 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."
  49661. msgstr ""
  49662. #. type: deftp
  49663. #: guix-git/doc/guix.texi:33718
  49664. #, no-wrap
  49665. msgid "{Data Type} guix-data-service-configuration"
  49666. msgstr ""
  49667. #. type: deftp
  49668. #: guix-git/doc/guix.texi:33720 guix-git/doc/guix.texi:33768
  49669. msgid "Data type representing the configuration of the Guix Data Service."
  49670. msgstr ""
  49671. #. type: item
  49672. #: guix-git/doc/guix.texi:33722
  49673. #, no-wrap
  49674. msgid "@code{package} (default: @code{guix-data-service})"
  49675. msgstr ""
  49676. #. type: table
  49677. #: guix-git/doc/guix.texi:33724
  49678. msgid "The Guix Data Service package to use."
  49679. msgstr ""
  49680. #. type: item
  49681. #: guix-git/doc/guix.texi:33725
  49682. #, no-wrap
  49683. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  49684. msgstr ""
  49685. #. type: item
  49686. #: guix-git/doc/guix.texi:33728
  49687. #, no-wrap
  49688. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  49689. msgstr ""
  49690. #. type: item
  49691. #: guix-git/doc/guix.texi:33731
  49692. #, no-wrap
  49693. msgid "@code{port} (default: @code{8765})"
  49694. msgstr ""
  49695. #. type: table
  49696. #: guix-git/doc/guix.texi:33733
  49697. msgid "The port to bind the web service to."
  49698. msgstr ""
  49699. #. type: item
  49700. #: guix-git/doc/guix.texi:33734 guix-git/doc/guix.texi:33782
  49701. #, no-wrap
  49702. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  49703. msgstr ""
  49704. #. type: table
  49705. #: guix-git/doc/guix.texi:33736
  49706. msgid "The host to bind the web service to."
  49707. msgstr ""
  49708. #. type: item
  49709. #: guix-git/doc/guix.texi:33737
  49710. #, no-wrap
  49711. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  49712. msgstr ""
  49713. #. type: table
  49714. #: guix-git/doc/guix.texi:33740
  49715. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  49716. msgstr ""
  49717. #. type: item
  49718. #: guix-git/doc/guix.texi:33741
  49719. #, no-wrap
  49720. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  49721. msgstr ""
  49722. #. type: table
  49723. #: guix-git/doc/guix.texi:33745
  49724. 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."
  49725. msgstr ""
  49726. #. type: item
  49727. #: guix-git/doc/guix.texi:33746
  49728. #, no-wrap
  49729. msgid "@code{extra-options} (default: @var{'()})"
  49730. msgstr ""
  49731. #. type: table
  49732. #: guix-git/doc/guix.texi:33748
  49733. msgid "Extra command line options for @code{guix-data-service}."
  49734. msgstr ""
  49735. #. type: item
  49736. #: guix-git/doc/guix.texi:33749
  49737. #, no-wrap
  49738. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  49739. msgstr ""
  49740. #. type: table
  49741. #: guix-git/doc/guix.texi:33751
  49742. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  49743. msgstr ""
  49744. #. type: subsubheading
  49745. #: guix-git/doc/guix.texi:33755
  49746. #, no-wrap
  49747. msgid "Nar Herder"
  49748. msgstr ""
  49749. #. type: Plain text
  49750. #: guix-git/doc/guix.texi:33758
  49751. msgid "The @uref{https://git.cbaines.net/guix/nar-herder/about/,Nar Herder} is a utility for managing a collection of nars."
  49752. msgstr ""
  49753. #. type: defvar
  49754. #: guix-git/doc/guix.texi:33759
  49755. #, no-wrap
  49756. msgid "{Scheme Variable} nar-herder-type"
  49757. msgstr ""
  49758. #. type: defvar
  49759. #: guix-git/doc/guix.texi:33764
  49760. 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."
  49761. msgstr ""
  49762. #. type: deftp
  49763. #: guix-git/doc/guix.texi:33766
  49764. #, no-wrap
  49765. msgid "{Data Type} nar-herder-configuration"
  49766. msgstr ""
  49767. #. type: item
  49768. #: guix-git/doc/guix.texi:33770
  49769. #, no-wrap
  49770. msgid "@code{package} (default: @code{nar-herder})"
  49771. msgstr ""
  49772. #. type: table
  49773. #: guix-git/doc/guix.texi:33772
  49774. msgid "The Nar Herder package to use."
  49775. msgstr ""
  49776. #. type: item
  49777. #: guix-git/doc/guix.texi:33773
  49778. #, no-wrap
  49779. msgid "@code{user} (default: @code{\"nar-herder\"})"
  49780. msgstr ""
  49781. #. type: item
  49782. #: guix-git/doc/guix.texi:33776
  49783. #, no-wrap
  49784. msgid "@code{group} (default: @code{\"nar-herder\"})"
  49785. msgstr ""
  49786. #. type: item
  49787. #: guix-git/doc/guix.texi:33779
  49788. #, no-wrap
  49789. msgid "@code{port} (default: @code{8734})"
  49790. msgstr ""
  49791. #. type: table
  49792. #: guix-git/doc/guix.texi:33784
  49793. msgid "The host to bind the server to."
  49794. msgstr ""
  49795. #. type: table
  49796. #: guix-git/doc/guix.texi:33789
  49797. 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."
  49798. msgstr ""
  49799. #. type: item
  49800. #: guix-git/doc/guix.texi:33790
  49801. #, no-wrap
  49802. msgid "@code{database} (default: @code{\"/var/lib/nar-herder/nar_herder.db\"})"
  49803. msgstr ""
  49804. #. type: table
  49805. #: guix-git/doc/guix.texi:33795
  49806. 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."
  49807. msgstr ""
  49808. #. type: item
  49809. #: guix-git/doc/guix.texi:33796
  49810. #, no-wrap
  49811. msgid "@code{database-dump} (default: @code{\"/var/lib/nar-herder/nar_herder_dump.db\"})"
  49812. msgstr ""
  49813. #. type: table
  49814. #: guix-git/doc/guix.texi:33800
  49815. 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."
  49816. msgstr ""
  49817. #. type: item
  49818. #: guix-git/doc/guix.texi:33801
  49819. #, no-wrap
  49820. msgid "@code{storage} (default: @code{#f})"
  49821. msgstr ""
  49822. #. type: table
  49823. #: guix-git/doc/guix.texi:33803
  49824. msgid "Optional location in which to store nars."
  49825. msgstr ""
  49826. #. type: item
  49827. #: guix-git/doc/guix.texi:33804
  49828. #, no-wrap
  49829. msgid "@code{storage-limit} (default: @code{\"none\"})"
  49830. msgstr ""
  49831. #. type: table
  49832. #: guix-git/doc/guix.texi:33807
  49833. 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."
  49834. msgstr ""
  49835. #. type: table
  49836. #: guix-git/doc/guix.texi:33810
  49837. msgid "When the storage location exceeds this size, nars are removed according to the nar removal criteria."
  49838. msgstr ""
  49839. #. type: item
  49840. #: guix-git/doc/guix.texi:33811
  49841. #, no-wrap
  49842. msgid "@code{storage-nar-removal-criteria} (default: @code{'()})"
  49843. msgstr ""
  49844. #. type: table
  49845. #: guix-git/doc/guix.texi:33814
  49846. msgid "Criteria used to remove nars from the storage location. These are used in conjunction with the storage limit."
  49847. msgstr ""
  49848. #. type: table
  49849. #: guix-git/doc/guix.texi:33819
  49850. 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."
  49851. msgstr ""
  49852. #. type: table
  49853. #: guix-git/doc/guix.texi:33823
  49854. 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."
  49855. msgstr ""
  49856. #. type: table
  49857. #: guix-git/doc/guix.texi:33831
  49858. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}."
  49859. msgstr ""
  49860. #. type: cindex
  49861. #: guix-git/doc/guix.texi:33844
  49862. #, no-wrap
  49863. msgid "oom"
  49864. msgstr ""
  49865. #. type: cindex
  49866. #: guix-git/doc/guix.texi:33845
  49867. #, no-wrap
  49868. msgid "out of memory killer"
  49869. msgstr ""
  49870. #. type: cindex
  49871. #: guix-git/doc/guix.texi:33846
  49872. #, no-wrap
  49873. msgid "earlyoom"
  49874. msgstr ""
  49875. #. type: cindex
  49876. #: guix-git/doc/guix.texi:33847
  49877. #, no-wrap
  49878. msgid "early out of memory daemon"
  49879. msgstr ""
  49880. #. type: subsubheading
  49881. #: guix-git/doc/guix.texi:33848
  49882. #, no-wrap
  49883. msgid "Early OOM Service"
  49884. msgstr ""
  49885. #. type: Plain text
  49886. #: guix-git/doc/guix.texi:33855
  49887. 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."
  49888. msgstr ""
  49889. #. type: deffn
  49890. #: guix-git/doc/guix.texi:33856
  49891. #, no-wrap
  49892. msgid "{Scheme Variable} earlyoom-service-type"
  49893. msgstr ""
  49894. #. type: deffn
  49895. #: guix-git/doc/guix.texi:33861
  49896. 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:"
  49897. msgstr ""
  49898. #. type: lisp
  49899. #: guix-git/doc/guix.texi:33864
  49900. #, no-wrap
  49901. msgid "(service earlyoom-service-type)\n"
  49902. msgstr ""
  49903. #. type: deftp
  49904. #: guix-git/doc/guix.texi:33867
  49905. #, no-wrap
  49906. msgid "{Data Type} earlyoom-configuration"
  49907. msgstr ""
  49908. #. type: deftp
  49909. #: guix-git/doc/guix.texi:33869
  49910. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  49911. msgstr ""
  49912. #. type: item
  49913. #: guix-git/doc/guix.texi:33871
  49914. #, no-wrap
  49915. msgid "@code{earlyoom} (default: @var{earlyoom})"
  49916. msgstr ""
  49917. #. type: table
  49918. #: guix-git/doc/guix.texi:33873
  49919. msgid "The Earlyoom package to use."
  49920. msgstr ""
  49921. #. type: item
  49922. #: guix-git/doc/guix.texi:33874
  49923. #, no-wrap
  49924. msgid "@code{minimum-available-memory} (default: @code{10})"
  49925. msgstr ""
  49926. #. type: table
  49927. #: guix-git/doc/guix.texi:33876
  49928. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  49929. msgstr ""
  49930. #. type: item
  49931. #: guix-git/doc/guix.texi:33877
  49932. #, no-wrap
  49933. msgid "@code{minimum-free-swap} (default: @code{10})"
  49934. msgstr ""
  49935. #. type: table
  49936. #: guix-git/doc/guix.texi:33879
  49937. msgid "The threshold for the minimum free swap memory, in percentages."
  49938. msgstr ""
  49939. #. type: item
  49940. #: guix-git/doc/guix.texi:33880
  49941. #, no-wrap
  49942. msgid "@code{prefer-regexp} (default: @code{#f})"
  49943. msgstr ""
  49944. #. type: table
  49945. #: guix-git/doc/guix.texi:33883
  49946. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  49947. msgstr ""
  49948. #. type: item
  49949. #: guix-git/doc/guix.texi:33884
  49950. #, no-wrap
  49951. msgid "@code{avoid-regexp} (default: @code{#f})"
  49952. msgstr ""
  49953. #. type: table
  49954. #: guix-git/doc/guix.texi:33887
  49955. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  49956. msgstr ""
  49957. #. type: item
  49958. #: guix-git/doc/guix.texi:33888
  49959. #, no-wrap
  49960. msgid "@code{memory-report-interval} (default: @code{0})"
  49961. msgstr ""
  49962. #. type: table
  49963. #: guix-git/doc/guix.texi:33891
  49964. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  49965. msgstr ""
  49966. #. type: item
  49967. #: guix-git/doc/guix.texi:33892
  49968. #, no-wrap
  49969. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  49970. msgstr ""
  49971. #. type: table
  49972. #: guix-git/doc/guix.texi:33895
  49973. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  49974. msgstr ""
  49975. #. type: item
  49976. #: guix-git/doc/guix.texi:33896
  49977. #, no-wrap
  49978. msgid "@code{show-debug-messages?} (default: @code{#f})"
  49979. msgstr ""
  49980. #. type: table
  49981. #: guix-git/doc/guix.texi:33899
  49982. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  49983. msgstr ""
  49984. #. type: item
  49985. #: guix-git/doc/guix.texi:33900
  49986. #, no-wrap
  49987. msgid "@code{send-notification-command} (default: @code{#f})"
  49988. msgstr ""
  49989. #. type: table
  49990. #: guix-git/doc/guix.texi:33903
  49991. msgid "This can be used to provide a custom command used for sending notifications."
  49992. msgstr ""
  49993. #. type: cindex
  49994. #: guix-git/doc/guix.texi:33906
  49995. #, no-wrap
  49996. msgid "modprobe"
  49997. msgstr ""
  49998. #. type: cindex
  49999. #: guix-git/doc/guix.texi:33907
  50000. #, no-wrap
  50001. msgid "kernel module loader"
  50002. msgstr ""
  50003. #. type: subsubheading
  50004. #: guix-git/doc/guix.texi:33908
  50005. #, no-wrap
  50006. msgid "Kernel Module Loader Service"
  50007. msgstr ""
  50008. #. type: Plain text
  50009. #: guix-git/doc/guix.texi:33914
  50010. 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}."
  50011. msgstr ""
  50012. #. type: deffn
  50013. #: guix-git/doc/guix.texi:33915
  50014. #, no-wrap
  50015. msgid "{Scheme Variable} kernel-module-loader-service-type"
  50016. msgstr ""
  50017. #. type: deffn
  50018. #: guix-git/doc/guix.texi:33921
  50019. 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:"
  50020. msgstr ""
  50021. #. type: lisp
  50022. #: guix-git/doc/guix.texi:33926
  50023. #, no-wrap
  50024. msgid ""
  50025. "(use-modules (gnu) (gnu services))\n"
  50026. "(use-package-modules linux)\n"
  50027. "(use-service-modules linux)\n"
  50028. "\n"
  50029. msgstr ""
  50030. #. type: lisp
  50031. #: guix-git/doc/guix.texi:33930
  50032. #, no-wrap
  50033. msgid ""
  50034. "(define ddcci-config\n"
  50035. " (plain-file \"ddcci.conf\"\n"
  50036. " \"options ddcci dyndbg delay=120\"))\n"
  50037. "\n"
  50038. msgstr ""
  50039. #. type: lisp
  50040. #: guix-git/doc/guix.texi:33940
  50041. #, no-wrap
  50042. msgid ""
  50043. "(operating-system\n"
  50044. " ...\n"
  50045. " (services (cons* (service kernel-module-loader-service-type\n"
  50046. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  50047. " (simple-service 'ddcci-config etc-service-type\n"
  50048. " (list `(\"modprobe.d/ddcci.conf\"\n"
  50049. " ,ddcci-config)))\n"
  50050. " %base-services))\n"
  50051. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  50052. msgstr ""
  50053. #. type: cindex
  50054. #: guix-git/doc/guix.texi:33943
  50055. #, no-wrap
  50056. msgid "rasdaemon"
  50057. msgstr ""
  50058. #. type: cindex
  50059. #: guix-git/doc/guix.texi:33944
  50060. #, no-wrap
  50061. msgid "Platform Reliability, Availability and Serviceability daemon"
  50062. msgstr ""
  50063. #. type: subsubheading
  50064. #: guix-git/doc/guix.texi:33945
  50065. #, no-wrap
  50066. msgid "Rasdaemon Service"
  50067. msgstr ""
  50068. #. type: Plain text
  50069. #: guix-git/doc/guix.texi:33950
  50070. 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."
  50071. msgstr ""
  50072. #. type: Plain text
  50073. #: guix-git/doc/guix.texi:33953
  50074. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  50075. msgstr ""
  50076. #. type: Plain text
  50077. #: guix-git/doc/guix.texi:33956
  50078. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  50079. msgstr ""
  50080. #. type: item
  50081. #: guix-git/doc/guix.texi:33958
  50082. #, no-wrap
  50083. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  50084. msgstr ""
  50085. #. type: item
  50086. #: guix-git/doc/guix.texi:33959
  50087. #, no-wrap
  50088. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  50089. msgstr ""
  50090. #. type: itemize
  50091. #: guix-git/doc/guix.texi:33961
  50092. msgid "faults"
  50093. msgstr ""
  50094. #. type: Plain text
  50095. #: guix-git/doc/guix.texi:33965
  50096. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  50097. msgstr ""
  50098. #. type: item
  50099. #: guix-git/doc/guix.texi:33967
  50100. #, no-wrap
  50101. msgid "Generally measured as a percentage of downtime per a period of time, and"
  50102. msgstr ""
  50103. #. type: item
  50104. #: guix-git/doc/guix.texi:33968
  50105. #, no-wrap
  50106. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  50107. msgstr ""
  50108. #. type: Plain text
  50109. #: guix-git/doc/guix.texi:33973
  50110. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  50111. msgstr ""
  50112. #. type: item
  50113. #: guix-git/doc/guix.texi:33975
  50114. #, no-wrap
  50115. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  50116. msgstr ""
  50117. #. type: Plain text
  50118. #: guix-git/doc/guix.texi:33980
  50119. msgid "Among the monitoring measures, the most usual ones include:"
  50120. msgstr ""
  50121. #. type: item
  50122. #: guix-git/doc/guix.texi:33982
  50123. #, no-wrap
  50124. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  50125. msgstr ""
  50126. #. type: item
  50127. #: guix-git/doc/guix.texi:33983
  50128. #, no-wrap
  50129. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  50130. msgstr ""
  50131. #. type: item
  50132. #: guix-git/doc/guix.texi:33984
  50133. #, no-wrap
  50134. msgid "I/O – add CRC checksums for transferred data;"
  50135. msgstr ""
  50136. #. type: item
  50137. #: guix-git/doc/guix.texi:33985
  50138. #, no-wrap
  50139. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  50140. msgstr ""
  50141. #. type: itemize
  50142. #: guix-git/doc/guix.texi:33987
  50143. msgid "Analysis and Reporting Technology (SMART)."
  50144. msgstr ""
  50145. #. type: Plain text
  50146. #: guix-git/doc/guix.texi:33993
  50147. 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."
  50148. msgstr ""
  50149. #. type: Plain text
  50150. #: guix-git/doc/guix.texi:33997
  50151. 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}."
  50152. msgstr ""
  50153. #. type: defvr
  50154. #: guix-git/doc/guix.texi:33998
  50155. #, no-wrap
  50156. msgid "{Scheme Variable} rasdaemon-service-type"
  50157. msgstr ""
  50158. #. type: defvr
  50159. #: guix-git/doc/guix.texi:34001
  50160. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  50161. msgstr ""
  50162. #. type: lisp
  50163. #: guix-git/doc/guix.texi:34004
  50164. #, no-wrap
  50165. msgid "(service rasdaemon-service-type)\n"
  50166. msgstr ""
  50167. #. type: defvr
  50168. #: guix-git/doc/guix.texi:34008
  50169. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  50170. msgstr ""
  50171. #. type: deftp
  50172. #: guix-git/doc/guix.texi:34010
  50173. #, no-wrap
  50174. msgid "{Data Type} rasdaemon-configuration"
  50175. msgstr ""
  50176. #. type: deftp
  50177. #: guix-git/doc/guix.texi:34012
  50178. msgid "The data type representing the configuration of @command{rasdaemon}."
  50179. msgstr ""
  50180. #. type: item
  50181. #: guix-git/doc/guix.texi:34014
  50182. #, no-wrap
  50183. msgid "@code{record?} (default: @code{#f})"
  50184. msgstr ""
  50185. #. type: table
  50186. #: guix-git/doc/guix.texi:34019
  50187. 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}."
  50188. msgstr ""
  50189. #. type: cindex
  50190. #: guix-git/doc/guix.texi:34023
  50191. #, no-wrap
  50192. msgid "zram"
  50193. msgstr ""
  50194. #. type: cindex
  50195. #: guix-git/doc/guix.texi:34024
  50196. #, no-wrap
  50197. msgid "compressed swap"
  50198. msgstr ""
  50199. #. type: cindex
  50200. #: guix-git/doc/guix.texi:34025
  50201. #, no-wrap
  50202. msgid "Compressed RAM-based block devices"
  50203. msgstr ""
  50204. #. type: subsubheading
  50205. #: guix-git/doc/guix.texi:34026
  50206. #, no-wrap
  50207. msgid "Zram Device Service"
  50208. msgstr ""
  50209. #. type: Plain text
  50210. #: guix-git/doc/guix.texi:34032
  50211. 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."
  50212. msgstr ""
  50213. #. type: deffn
  50214. #: guix-git/doc/guix.texi:34033
  50215. #, no-wrap
  50216. msgid "{Scheme Variable} zram-device-service-type"
  50217. msgstr ""
  50218. #. type: deffn
  50219. #: guix-git/doc/guix.texi:34037
  50220. 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."
  50221. msgstr ""
  50222. #. type: deftp
  50223. #: guix-git/doc/guix.texi:34038
  50224. #, no-wrap
  50225. msgid "{Data Type} zram-device-configuration"
  50226. msgstr ""
  50227. #. type: deftp
  50228. #: guix-git/doc/guix.texi:34041
  50229. msgid "This is the data type representing the configuration for the zram-device service."
  50230. msgstr ""
  50231. #. type: item
  50232. #: guix-git/doc/guix.texi:34043
  50233. #, no-wrap
  50234. msgid "@code{size} (default @code{\"1G\"})"
  50235. msgstr ""
  50236. #. type: table
  50237. #: guix-git/doc/guix.texi:34047
  50238. 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}."
  50239. msgstr ""
  50240. #. type: item
  50241. #: guix-git/doc/guix.texi:34047
  50242. #, no-wrap
  50243. msgid "@code{compression-algorithm} (default @code{'lzo})"
  50244. msgstr ""
  50245. #. type: table
  50246. #: guix-git/doc/guix.texi:34051
  50247. 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}."
  50248. msgstr ""
  50249. #. type: item
  50250. #: guix-git/doc/guix.texi:34051
  50251. #, no-wrap
  50252. msgid "@code{memory-limit} (default @code{0})"
  50253. msgstr ""
  50254. #. type: table
  50255. #: guix-git/doc/guix.texi:34058
  50256. 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\"}."
  50257. msgstr ""
  50258. #. type: item
  50259. #: guix-git/doc/guix.texi:34058
  50260. #, no-wrap
  50261. msgid "@code{priority} (default @code{-1})"
  50262. msgstr ""
  50263. #. type: table
  50264. #: guix-git/doc/guix.texi:34063
  50265. 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."
  50266. msgstr ""
  50267. #. type: defvr
  50268. #: guix-git/doc/guix.texi:34071
  50269. #, no-wrap
  50270. msgid "{Scheme Variable} hurd-console-service-type"
  50271. msgstr ""
  50272. #. type: defvr
  50273. #: guix-git/doc/guix.texi:34073
  50274. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  50275. msgstr ""
  50276. #. type: defvr
  50277. #: guix-git/doc/guix.texi:34075
  50278. msgid "The service's value is a @code{hurd-console-configuration} record."
  50279. msgstr ""
  50280. #. type: deftp
  50281. #: guix-git/doc/guix.texi:34077
  50282. #, no-wrap
  50283. msgid "{Data Type} hurd-console-configuration"
  50284. msgstr ""
  50285. #. type: deftp
  50286. #: guix-git/doc/guix.texi:34080
  50287. msgid "This is the data type representing the configuration for the hurd-console-service."
  50288. msgstr ""
  50289. #. type: item
  50290. #: guix-git/doc/guix.texi:34082 guix-git/doc/guix.texi:34098
  50291. #, no-wrap
  50292. msgid "@code{hurd} (default: @var{hurd})"
  50293. msgstr ""
  50294. #. type: table
  50295. #: guix-git/doc/guix.texi:34084 guix-git/doc/guix.texi:34100
  50296. msgid "The Hurd package to use."
  50297. msgstr ""
  50298. #. type: defvr
  50299. #: guix-git/doc/guix.texi:34087
  50300. #, no-wrap
  50301. msgid "{Scheme Variable} hurd-getty-service-type"
  50302. msgstr ""
  50303. #. type: defvr
  50304. #: guix-git/doc/guix.texi:34089
  50305. msgid "This service starts a tty using the Hurd @code{getty} program."
  50306. msgstr ""
  50307. #. type: defvr
  50308. #: guix-git/doc/guix.texi:34091
  50309. msgid "The service's value is a @code{hurd-getty-configuration} record."
  50310. msgstr ""
  50311. #. type: deftp
  50312. #: guix-git/doc/guix.texi:34093
  50313. #, no-wrap
  50314. msgid "{Data Type} hurd-getty-configuration"
  50315. msgstr ""
  50316. #. type: deftp
  50317. #: guix-git/doc/guix.texi:34096
  50318. msgid "This is the data type representing the configuration for the hurd-getty-service."
  50319. msgstr ""
  50320. #. type: table
  50321. #: guix-git/doc/guix.texi:34103
  50322. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  50323. msgstr ""
  50324. #. type: item
  50325. #: guix-git/doc/guix.texi:34104
  50326. #, no-wrap
  50327. msgid "@code{baud-rate} (default: @code{38400})"
  50328. msgstr ""
  50329. #. type: table
  50330. #: guix-git/doc/guix.texi:34106
  50331. msgid "An integer specifying the baud rate of the tty."
  50332. msgstr ""
  50333. #. type: cindex
  50334. #: guix-git/doc/guix.texi:34113
  50335. #, no-wrap
  50336. msgid "fingerprint"
  50337. msgstr ""
  50338. #. type: subsubheading
  50339. #: guix-git/doc/guix.texi:34114
  50340. #, no-wrap
  50341. msgid "Fingerprint Service"
  50342. msgstr ""
  50343. #. type: Plain text
  50344. #: guix-git/doc/guix.texi:34118
  50345. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  50346. msgstr ""
  50347. #. type: defvr
  50348. #: guix-git/doc/guix.texi:34119
  50349. #, no-wrap
  50350. msgid "{Scheme Variable} fprintd-service-type"
  50351. msgstr ""
  50352. #. type: defvr
  50353. #: guix-git/doc/guix.texi:34122
  50354. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  50355. msgstr ""
  50356. #. type: lisp
  50357. #: guix-git/doc/guix.texi:34125
  50358. #, no-wrap
  50359. msgid "(service fprintd-service-type)\n"
  50360. msgstr ""
  50361. #. type: cindex
  50362. #: guix-git/doc/guix.texi:34128
  50363. #, no-wrap
  50364. msgid "sysctl"
  50365. msgstr ""
  50366. #. type: subsubheading
  50367. #: guix-git/doc/guix.texi:34129
  50368. #, no-wrap
  50369. msgid "System Control Service"
  50370. msgstr ""
  50371. #. type: Plain text
  50372. #: guix-git/doc/guix.texi:34133
  50373. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  50374. msgstr ""
  50375. #. type: defvr
  50376. #: guix-git/doc/guix.texi:34134
  50377. #, no-wrap
  50378. msgid "{Scheme Variable} sysctl-service-type"
  50379. msgstr ""
  50380. #. type: defvr
  50381. #: guix-git/doc/guix.texi:34138
  50382. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  50383. msgstr ""
  50384. #. type: lisp
  50385. #: guix-git/doc/guix.texi:34143
  50386. #, no-wrap
  50387. msgid ""
  50388. "(service sysctl-service-type\n"
  50389. " (sysctl-configuration\n"
  50390. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  50391. msgstr ""
  50392. #. type: defvr
  50393. #: guix-git/doc/guix.texi:34150
  50394. 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}})."
  50395. msgstr ""
  50396. #. type: lisp
  50397. #: guix-git/doc/guix.texi:34157
  50398. #, no-wrap
  50399. msgid ""
  50400. "(modify-services %base-services\n"
  50401. " (sysctl-service-type config =>\n"
  50402. " (sysctl-configuration\n"
  50403. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  50404. " %default-sysctl-settings)))))\n"
  50405. msgstr ""
  50406. #. type: deftp
  50407. #: guix-git/doc/guix.texi:34161
  50408. #, no-wrap
  50409. msgid "{Data Type} sysctl-configuration"
  50410. msgstr ""
  50411. #. type: deftp
  50412. #: guix-git/doc/guix.texi:34163
  50413. msgid "The data type representing the configuration of @command{sysctl}."
  50414. msgstr ""
  50415. #. type: item
  50416. #: guix-git/doc/guix.texi:34165
  50417. #, no-wrap
  50418. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  50419. msgstr ""
  50420. #. type: table
  50421. #: guix-git/doc/guix.texi:34167
  50422. msgid "The @command{sysctl} executable to use."
  50423. msgstr ""
  50424. #. type: item
  50425. #: guix-git/doc/guix.texi:34168
  50426. #, no-wrap
  50427. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  50428. msgstr ""
  50429. #. type: table
  50430. #: guix-git/doc/guix.texi:34170
  50431. msgid "An association list specifies kernel parameters and their values."
  50432. msgstr ""
  50433. #. type: defvr
  50434. #: guix-git/doc/guix.texi:34173
  50435. #, no-wrap
  50436. msgid "{Scheme Variable} %default-sysctl-settings"
  50437. msgstr ""
  50438. #. type: defvr
  50439. #: guix-git/doc/guix.texi:34176
  50440. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  50441. msgstr ""
  50442. #. type: cindex
  50443. #: guix-git/doc/guix.texi:34178
  50444. #, no-wrap
  50445. msgid "pcscd"
  50446. msgstr ""
  50447. #. type: subsubheading
  50448. #: guix-git/doc/guix.texi:34179
  50449. #, no-wrap
  50450. msgid "PC/SC Smart Card Daemon Service"
  50451. msgstr ""
  50452. #. type: Plain text
  50453. #: guix-git/doc/guix.texi:34186
  50454. 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."
  50455. msgstr ""
  50456. #. type: defvr
  50457. #: guix-git/doc/guix.texi:34187
  50458. #, no-wrap
  50459. msgid "{Scheme Variable} pcscd-service-type"
  50460. msgstr ""
  50461. #. type: defvr
  50462. #: guix-git/doc/guix.texi:34191
  50463. 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:"
  50464. msgstr ""
  50465. #. type: lisp
  50466. #: guix-git/doc/guix.texi:34194
  50467. #, no-wrap
  50468. msgid "(service pcscd-service-type)\n"
  50469. msgstr ""
  50470. #. type: deftp
  50471. #: guix-git/doc/guix.texi:34197
  50472. #, no-wrap
  50473. msgid "{Data Type} pcscd-configuration"
  50474. msgstr ""
  50475. #. type: deftp
  50476. #: guix-git/doc/guix.texi:34199
  50477. msgid "The data type representing the configuration of @command{pcscd}."
  50478. msgstr ""
  50479. #. type: item
  50480. #: guix-git/doc/guix.texi:34201
  50481. #, no-wrap
  50482. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  50483. msgstr ""
  50484. #. type: table
  50485. #: guix-git/doc/guix.texi:34203
  50486. msgid "The pcsc-lite package that provides pcscd."
  50487. msgstr ""
  50488. #. type: item
  50489. #: guix-git/doc/guix.texi:34203
  50490. #, no-wrap
  50491. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  50492. msgstr ""
  50493. #. type: table
  50494. #: guix-git/doc/guix.texi:34206
  50495. 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."
  50496. msgstr ""
  50497. #. type: cindex
  50498. #: guix-git/doc/guix.texi:34209
  50499. #, no-wrap
  50500. msgid "lirc"
  50501. msgstr ""
  50502. #. type: subsubheading
  50503. #: guix-git/doc/guix.texi:34210
  50504. #, no-wrap
  50505. msgid "Lirc Service"
  50506. msgstr ""
  50507. #. type: Plain text
  50508. #: guix-git/doc/guix.texi:34213
  50509. msgid "The @code{(gnu services lirc)} module provides the following service."
  50510. msgstr ""
  50511. #. type: deffn
  50512. #: guix-git/doc/guix.texi:34214
  50513. #, no-wrap
  50514. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  50515. msgstr ""
  50516. #. type: deffn
  50517. #: guix-git/doc/guix.texi:34219
  50518. 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."
  50519. msgstr ""
  50520. #. type: deffn
  50521. #: guix-git/doc/guix.texi:34223
  50522. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  50523. msgstr ""
  50524. #. type: deffn
  50525. #: guix-git/doc/guix.texi:34226
  50526. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  50527. msgstr ""
  50528. #. type: cindex
  50529. #: guix-git/doc/guix.texi:34228
  50530. #, no-wrap
  50531. msgid "spice"
  50532. msgstr ""
  50533. #. type: subsubheading
  50534. #: guix-git/doc/guix.texi:34229
  50535. #, no-wrap
  50536. msgid "Spice Service"
  50537. msgstr ""
  50538. #. type: Plain text
  50539. #: guix-git/doc/guix.texi:34232
  50540. msgid "The @code{(gnu services spice)} module provides the following service."
  50541. msgstr ""
  50542. #. type: deffn
  50543. #: guix-git/doc/guix.texi:34233
  50544. #, no-wrap
  50545. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  50546. msgstr ""
  50547. #. type: deffn
  50548. #: guix-git/doc/guix.texi:34237
  50549. 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."
  50550. msgstr ""
  50551. #. type: cindex
  50552. #: guix-git/doc/guix.texi:34239
  50553. #, no-wrap
  50554. msgid "inputattach"
  50555. msgstr ""
  50556. #. type: subsubheading
  50557. #: guix-git/doc/guix.texi:34240
  50558. #, no-wrap
  50559. msgid "inputattach Service"
  50560. msgstr ""
  50561. #. type: cindex
  50562. #: guix-git/doc/guix.texi:34242
  50563. #, no-wrap
  50564. msgid "tablet input, for Xorg"
  50565. msgstr ""
  50566. #. type: cindex
  50567. #: guix-git/doc/guix.texi:34243
  50568. #, no-wrap
  50569. msgid "touchscreen input, for Xorg"
  50570. msgstr ""
  50571. #. type: Plain text
  50572. #: guix-git/doc/guix.texi:34247
  50573. 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."
  50574. msgstr ""
  50575. #. type: deffn
  50576. #: guix-git/doc/guix.texi:34248
  50577. #, no-wrap
  50578. msgid "{Scheme Variable} inputattach-service-type"
  50579. msgstr ""
  50580. #. type: deffn
  50581. #: guix-git/doc/guix.texi:34251
  50582. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  50583. msgstr ""
  50584. #. type: deftp
  50585. #: guix-git/doc/guix.texi:34253
  50586. #, no-wrap
  50587. msgid "{Data Type} inputattach-configuration"
  50588. msgstr ""
  50589. #. type: item
  50590. #: guix-git/doc/guix.texi:34255
  50591. #, no-wrap
  50592. msgid "@code{device-type} (default: @code{\"wacom\"})"
  50593. msgstr ""
  50594. #. type: table
  50595. #: guix-git/doc/guix.texi:34258
  50596. 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."
  50597. msgstr ""
  50598. #. type: item
  50599. #: guix-git/doc/guix.texi:34259
  50600. #, no-wrap
  50601. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  50602. msgstr ""
  50603. #. type: table
  50604. #: guix-git/doc/guix.texi:34261
  50605. msgid "The device file to connect to the device."
  50606. msgstr ""
  50607. #. type: table
  50608. #: guix-git/doc/guix.texi:34265
  50609. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  50610. msgstr ""
  50611. #. type: item
  50612. #: guix-git/doc/guix.texi:34266
  50613. #, no-wrap
  50614. msgid "@code{log-file} (default: @code{#f})"
  50615. msgstr ""
  50616. #. type: table
  50617. #: guix-git/doc/guix.texi:34268
  50618. msgid "If true, this must be the name of a file to log messages to."
  50619. msgstr ""
  50620. #. type: subsubheading
  50621. #: guix-git/doc/guix.texi:34271
  50622. #, no-wrap
  50623. msgid "Dictionary Service"
  50624. msgstr ""
  50625. #. type: cindex
  50626. #: guix-git/doc/guix.texi:34272
  50627. #, no-wrap
  50628. msgid "dictionary"
  50629. msgstr ""
  50630. #. type: Plain text
  50631. #: guix-git/doc/guix.texi:34274
  50632. msgid "The @code{(gnu services dict)} module provides the following service:"
  50633. msgstr ""
  50634. #. type: defvr
  50635. #: guix-git/doc/guix.texi:34275
  50636. #, no-wrap
  50637. msgid "{Scheme Variable} dicod-service-type"
  50638. msgstr ""
  50639. #. type: defvr
  50640. #: guix-git/doc/guix.texi:34278
  50641. 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})."
  50642. msgstr ""
  50643. #. type: deffn
  50644. #: guix-git/doc/guix.texi:34280
  50645. #, no-wrap
  50646. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  50647. msgstr ""
  50648. #. type: deffn
  50649. #: guix-git/doc/guix.texi:34283
  50650. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  50651. msgstr ""
  50652. #. type: deffn
  50653. #: guix-git/doc/guix.texi:34287
  50654. 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."
  50655. msgstr ""
  50656. #. type: deffn
  50657. #: guix-git/doc/guix.texi:34291
  50658. 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})."
  50659. msgstr ""
  50660. #. type: deftp
  50661. #: guix-git/doc/guix.texi:34293
  50662. #, no-wrap
  50663. msgid "{Data Type} dicod-configuration"
  50664. msgstr ""
  50665. #. type: deftp
  50666. #: guix-git/doc/guix.texi:34295
  50667. msgid "Data type representing the configuration of dicod."
  50668. msgstr ""
  50669. #. type: item
  50670. #: guix-git/doc/guix.texi:34297
  50671. #, no-wrap
  50672. msgid "@code{dico} (default: @var{dico})"
  50673. msgstr ""
  50674. #. type: table
  50675. #: guix-git/doc/guix.texi:34299
  50676. msgid "Package object of the GNU Dico dictionary server."
  50677. msgstr ""
  50678. #. type: item
  50679. #: guix-git/doc/guix.texi:34300
  50680. #, no-wrap
  50681. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  50682. msgstr ""
  50683. #. type: table
  50684. #: guix-git/doc/guix.texi:34304
  50685. 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})."
  50686. msgstr ""
  50687. #. type: item
  50688. #: guix-git/doc/guix.texi:34305
  50689. #, no-wrap
  50690. msgid "@code{handlers} (default: @var{'()})"
  50691. msgstr ""
  50692. #. type: table
  50693. #: guix-git/doc/guix.texi:34307
  50694. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  50695. msgstr ""
  50696. #. type: item
  50697. #: guix-git/doc/guix.texi:34308
  50698. #, no-wrap
  50699. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  50700. msgstr ""
  50701. #. type: table
  50702. #: guix-git/doc/guix.texi:34310
  50703. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  50704. msgstr ""
  50705. #. type: deftp
  50706. #: guix-git/doc/guix.texi:34313
  50707. #, no-wrap
  50708. msgid "{Data Type} dicod-handler"
  50709. msgstr ""
  50710. #. type: deftp
  50711. #: guix-git/doc/guix.texi:34315
  50712. msgid "Data type representing a dictionary handler (module instance)."
  50713. msgstr ""
  50714. #. type: table
  50715. #: guix-git/doc/guix.texi:34319
  50716. msgid "Name of the handler (module instance)."
  50717. msgstr ""
  50718. #. type: item
  50719. #: guix-git/doc/guix.texi:34320
  50720. #, no-wrap
  50721. msgid "@code{module} (default: @var{#f})"
  50722. msgstr ""
  50723. #. type: table
  50724. #: guix-git/doc/guix.texi:34324
  50725. 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})."
  50726. msgstr ""
  50727. #. type: table
  50728. #: guix-git/doc/guix.texi:34327
  50729. msgid "List of strings or gexps representing the arguments for the module handler"
  50730. msgstr ""
  50731. #. type: deftp
  50732. #: guix-git/doc/guix.texi:34330
  50733. #, no-wrap
  50734. msgid "{Data Type} dicod-database"
  50735. msgstr ""
  50736. #. type: deftp
  50737. #: guix-git/doc/guix.texi:34332
  50738. msgid "Data type representing a dictionary database."
  50739. msgstr ""
  50740. #. type: table
  50741. #: guix-git/doc/guix.texi:34336
  50742. msgid "Name of the database, will be used in DICT commands."
  50743. msgstr ""
  50744. #. type: code{#1}
  50745. #: guix-git/doc/guix.texi:34337
  50746. #, no-wrap
  50747. msgid "handler"
  50748. msgstr ""
  50749. #. type: table
  50750. #: guix-git/doc/guix.texi:34340
  50751. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  50752. msgstr ""
  50753. #. type: item
  50754. #: guix-git/doc/guix.texi:34341
  50755. #, no-wrap
  50756. msgid "@code{complex?} (default: @var{#f})"
  50757. msgstr ""
  50758. #. type: table
  50759. #: guix-git/doc/guix.texi:34344
  50760. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  50761. msgstr ""
  50762. #. type: table
  50763. #: guix-git/doc/guix.texi:34348
  50764. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  50765. msgstr ""
  50766. #. type: defvr
  50767. #: guix-git/doc/guix.texi:34351
  50768. #, no-wrap
  50769. msgid "{Scheme Variable} %dicod-database:gcide"
  50770. msgstr ""
  50771. #. type: defvr
  50772. #: guix-git/doc/guix.texi:34354
  50773. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  50774. msgstr ""
  50775. #. type: Plain text
  50776. #: guix-git/doc/guix.texi:34357
  50777. msgid "The following is an example @code{dicod-service} configuration."
  50778. msgstr ""
  50779. #. type: lisp
  50780. #: guix-git/doc/guix.texi:34372
  50781. #, no-wrap
  50782. msgid ""
  50783. "(dicod-service #:config\n"
  50784. " (dicod-configuration\n"
  50785. " (handlers (list (dicod-handler\n"
  50786. " (name \"wordnet\")\n"
  50787. " (module \"dictorg\")\n"
  50788. " (options\n"
  50789. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  50790. " (databases (list (dicod-database\n"
  50791. " (name \"wordnet\")\n"
  50792. " (complex? #t)\n"
  50793. " (handler \"wordnet\")\n"
  50794. " (options '(\"database=wn\")))\n"
  50795. " %dicod-database:gcide))))\n"
  50796. msgstr ""
  50797. #. type: cindex
  50798. #: guix-git/doc/guix.texi:34374
  50799. #, no-wrap
  50800. msgid "Docker"
  50801. msgstr ""
  50802. #. type: subsubheading
  50803. #: guix-git/doc/guix.texi:34375
  50804. #, no-wrap
  50805. msgid "Docker Service"
  50806. msgstr ""
  50807. #. type: Plain text
  50808. #: guix-git/doc/guix.texi:34378
  50809. msgid "The @code{(gnu services docker)} module provides the following services."
  50810. msgstr ""
  50811. #. type: defvr
  50812. #: guix-git/doc/guix.texi:34379
  50813. #, no-wrap
  50814. msgid "{Scheme Variable} docker-service-type"
  50815. msgstr ""
  50816. #. type: defvr
  50817. #: guix-git/doc/guix.texi:34384
  50818. 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."
  50819. msgstr ""
  50820. #. type: deftp
  50821. #: guix-git/doc/guix.texi:34387
  50822. #, no-wrap
  50823. msgid "{Data Type} docker-configuration"
  50824. msgstr ""
  50825. #. type: deftp
  50826. #: guix-git/doc/guix.texi:34389
  50827. msgid "This is the data type representing the configuration of Docker and Containerd."
  50828. msgstr ""
  50829. #. type: item
  50830. #: guix-git/doc/guix.texi:34392
  50831. #, no-wrap
  50832. msgid "@code{docker} (default: @code{docker})"
  50833. msgstr ""
  50834. #. type: table
  50835. #: guix-git/doc/guix.texi:34394
  50836. msgid "The Docker daemon package to use."
  50837. msgstr ""
  50838. #. type: item
  50839. #: guix-git/doc/guix.texi:34395
  50840. #, no-wrap
  50841. msgid "@code{docker-cli} (default: @code{docker-cli})"
  50842. msgstr ""
  50843. #. type: table
  50844. #: guix-git/doc/guix.texi:34397
  50845. msgid "The Docker client package to use."
  50846. msgstr ""
  50847. #. type: item
  50848. #: guix-git/doc/guix.texi:34398
  50849. #, no-wrap
  50850. msgid "@code{containerd} (default: @var{containerd})"
  50851. msgstr ""
  50852. #. type: table
  50853. #: guix-git/doc/guix.texi:34400
  50854. msgid "The Containerd package to use."
  50855. msgstr ""
  50856. #. type: item
  50857. #: guix-git/doc/guix.texi:34401
  50858. #, no-wrap
  50859. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  50860. msgstr ""
  50861. #. type: table
  50862. #: guix-git/doc/guix.texi:34403
  50863. msgid "The Docker user-land networking proxy package to use."
  50864. msgstr ""
  50865. #. type: item
  50866. #: guix-git/doc/guix.texi:34404
  50867. #, no-wrap
  50868. msgid "@code{enable-proxy?} (default @code{#t})"
  50869. msgstr ""
  50870. #. type: table
  50871. #: guix-git/doc/guix.texi:34406
  50872. msgid "Enable or disable the use of the Docker user-land networking proxy."
  50873. msgstr ""
  50874. #. type: item
  50875. #: guix-git/doc/guix.texi:34407
  50876. #, no-wrap
  50877. msgid "@code{debug?} (default @code{#f})"
  50878. msgstr ""
  50879. #. type: table
  50880. #: guix-git/doc/guix.texi:34409
  50881. msgid "Enable or disable debug output."
  50882. msgstr ""
  50883. #. type: item
  50884. #: guix-git/doc/guix.texi:34410
  50885. #, no-wrap
  50886. msgid "@code{enable-iptables?} (default @code{#t})"
  50887. msgstr ""
  50888. #. type: table
  50889. #: guix-git/doc/guix.texi:34412
  50890. msgid "Enable or disable the addition of iptables rules."
  50891. msgstr ""
  50892. #. type: item
  50893. #: guix-git/doc/guix.texi:34413
  50894. #, no-wrap
  50895. msgid "@code{environment-variables} (default: @code{()})"
  50896. msgstr ""
  50897. #. type: table
  50898. #: guix-git/doc/guix.texi:34415
  50899. msgid "List of environment variables to set for @command{dockerd}."
  50900. msgstr ""
  50901. #. type: table
  50902. #: guix-git/doc/guix.texi:34418
  50903. msgid "This must be a list of strings where each string has the form @samp{@var{key}=@var{value}} as in this example:"
  50904. msgstr ""
  50905. #. type: lisp
  50906. #: guix-git/doc/guix.texi:34422
  50907. #, no-wrap
  50908. msgid ""
  50909. "(list \"LANGUAGE=eo:ca:eu\"\n"
  50910. " \"TMPDIR=/tmp/dockerd\")\n"
  50911. msgstr ""
  50912. #. type: cindex
  50913. #: guix-git/doc/guix.texi:34427
  50914. #, no-wrap
  50915. msgid "Singularity, container service"
  50916. msgstr ""
  50917. #. type: defvr
  50918. #: guix-git/doc/guix.texi:34428
  50919. #, no-wrap
  50920. msgid "{Scheme Variable} singularity-service-type"
  50921. msgstr ""
  50922. #. type: defvr
  50923. #: guix-git/doc/guix.texi:34433
  50924. 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."
  50925. msgstr ""
  50926. #. type: defvr
  50927. #: guix-git/doc/guix.texi:34437
  50928. 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."
  50929. msgstr ""
  50930. #. type: cindex
  50931. #: guix-git/doc/guix.texi:34439
  50932. #, no-wrap
  50933. msgid "Audit"
  50934. msgstr ""
  50935. #. type: subsubheading
  50936. #: guix-git/doc/guix.texi:34440
  50937. #, no-wrap
  50938. msgid "Auditd Service"
  50939. msgstr ""
  50940. #. type: Plain text
  50941. #: guix-git/doc/guix.texi:34443
  50942. msgid "The @code{(gnu services auditd)} module provides the following service."
  50943. msgstr ""
  50944. #. type: defvr
  50945. #: guix-git/doc/guix.texi:34444
  50946. #, no-wrap
  50947. msgid "{Scheme Variable} auditd-service-type"
  50948. msgstr ""
  50949. #. type: defvr
  50950. #: guix-git/doc/guix.texi:34449
  50951. 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."
  50952. msgstr ""
  50953. #. type: defvr
  50954. #: guix-git/doc/guix.texi:34451
  50955. msgid "Examples of things that can be tracked:"
  50956. msgstr ""
  50957. #. type: enumerate
  50958. #: guix-git/doc/guix.texi:34455
  50959. msgid "File accesses"
  50960. msgstr ""
  50961. #. type: enumerate
  50962. #: guix-git/doc/guix.texi:34457
  50963. msgid "System calls"
  50964. msgstr ""
  50965. #. type: enumerate
  50966. #: guix-git/doc/guix.texi:34459
  50967. msgid "Invoked commands"
  50968. msgstr ""
  50969. #. type: enumerate
  50970. #: guix-git/doc/guix.texi:34461
  50971. msgid "Failed login attempts"
  50972. msgstr ""
  50973. #. type: enumerate
  50974. #: guix-git/doc/guix.texi:34463
  50975. msgid "Firewall filtering"
  50976. msgstr ""
  50977. #. type: enumerate
  50978. #: guix-git/doc/guix.texi:34465
  50979. msgid "Network access"
  50980. msgstr ""
  50981. #. type: defvr
  50982. #: guix-git/doc/guix.texi:34476
  50983. 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}."
  50984. msgstr ""
  50985. #. type: deftp
  50986. #: guix-git/doc/guix.texi:34479
  50987. #, no-wrap
  50988. msgid "{Data Type} auditd-configuration"
  50989. msgstr ""
  50990. #. type: deftp
  50991. #: guix-git/doc/guix.texi:34481
  50992. msgid "This is the data type representing the configuration of auditd."
  50993. msgstr ""
  50994. #. type: item
  50995. #: guix-git/doc/guix.texi:34484
  50996. #, no-wrap
  50997. msgid "@code{audit} (default: @code{audit})"
  50998. msgstr ""
  50999. #. type: table
  51000. #: guix-git/doc/guix.texi:34486
  51001. msgid "The audit package to use."
  51002. msgstr ""
  51003. #. type: item
  51004. #: guix-git/doc/guix.texi:34487
  51005. #, no-wrap
  51006. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  51007. msgstr ""
  51008. #. type: table
  51009. #: guix-git/doc/guix.texi:34491
  51010. 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."
  51011. msgstr ""
  51012. #. type: cindex
  51013. #: guix-git/doc/guix.texi:34495
  51014. #, no-wrap
  51015. msgid "rshiny"
  51016. msgstr ""
  51017. #. type: subsubheading
  51018. #: guix-git/doc/guix.texi:34496
  51019. #, no-wrap
  51020. msgid "R-Shiny service"
  51021. msgstr ""
  51022. #. type: Plain text
  51023. #: guix-git/doc/guix.texi:34499
  51024. msgid "The @code{(gnu services science)} module provides the following service."
  51025. msgstr ""
  51026. #. type: defvr
  51027. #: guix-git/doc/guix.texi:34500
  51028. #, no-wrap
  51029. msgid "{Scheme Variable} rshiny-service-type"
  51030. msgstr ""
  51031. #. type: defvr
  51032. #: guix-git/doc/guix.texi:34505
  51033. 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}."
  51034. msgstr ""
  51035. #. type: deftp
  51036. #: guix-git/doc/guix.texi:34506
  51037. #, no-wrap
  51038. msgid "{Data Type} rshiny-configuration"
  51039. msgstr ""
  51040. #. type: deftp
  51041. #: guix-git/doc/guix.texi:34508
  51042. msgid "This is the data type representing the configuration of rshiny."
  51043. msgstr ""
  51044. #. type: item
  51045. #: guix-git/doc/guix.texi:34511
  51046. #, no-wrap
  51047. msgid "@code{package} (default: @code{r-shiny})"
  51048. msgstr ""
  51049. #. type: table
  51050. #: guix-git/doc/guix.texi:34513
  51051. msgid "The package to use."
  51052. msgstr ""
  51053. #. type: item
  51054. #: guix-git/doc/guix.texi:34514
  51055. #, no-wrap
  51056. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  51057. msgstr ""
  51058. #. type: table
  51059. #: guix-git/doc/guix.texi:34517
  51060. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  51061. msgstr ""
  51062. #. type: table
  51063. #: guix-git/doc/guix.texi:34519
  51064. msgid "The common way to create this file is as follows:"
  51065. msgstr ""
  51066. #. type: lisp
  51067. #: guix-git/doc/guix.texi:34536
  51068. #, no-wrap
  51069. msgid ""
  51070. "@dots{}\n"
  51071. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  51072. " (targetdir (string-append out \"/share/\" ,name))\n"
  51073. " (app (string-append out \"/bin/\" ,name))\n"
  51074. " (Rbin (search-input-file %build-inputs \"/bin/Rscript\")))\n"
  51075. " ;; @dots{}\n"
  51076. " (mkdir-p (string-append out \"/bin\"))\n"
  51077. " (call-with-output-file app\n"
  51078. " (lambda (port)\n"
  51079. " (format port\n"
  51080. "\"#!~a\n"
  51081. "library(shiny)\n"
  51082. "setwd(\\\"~a\\\")\n"
  51083. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  51084. " Rbin targetdir))))\n"
  51085. msgstr ""
  51086. #. type: cindex
  51087. #: guix-git/doc/guix.texi:34542
  51088. #, no-wrap
  51089. msgid "Nix"
  51090. msgstr ""
  51091. #. type: subsubheading
  51092. #: guix-git/doc/guix.texi:34543
  51093. #, no-wrap
  51094. msgid "Nix service"
  51095. msgstr ""
  51096. #. type: Plain text
  51097. #: guix-git/doc/guix.texi:34546
  51098. msgid "The @code{(gnu services nix)} module provides the following service."
  51099. msgstr ""
  51100. #. type: defvr
  51101. #: guix-git/doc/guix.texi:34547
  51102. #, no-wrap
  51103. msgid "{Scheme Variable} nix-service-type"
  51104. msgstr ""
  51105. #. type: defvr
  51106. #: guix-git/doc/guix.texi:34552
  51107. 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:"
  51108. msgstr ""
  51109. #. type: lisp
  51110. #: guix-git/doc/guix.texi:34557
  51111. #, no-wrap
  51112. msgid ""
  51113. "(use-modules (gnu))\n"
  51114. "(use-service-modules nix)\n"
  51115. "(use-package-modules package-management)\n"
  51116. "\n"
  51117. msgstr ""
  51118. #. type: lisp
  51119. #: guix-git/doc/guix.texi:34562
  51120. #, no-wrap
  51121. msgid ""
  51122. "(operating-system\n"
  51123. " ;; @dots{}\n"
  51124. " (packages (append (list nix)\n"
  51125. " %base-packages))\n"
  51126. "\n"
  51127. msgstr ""
  51128. #. type: lisp
  51129. #: guix-git/doc/guix.texi:34565
  51130. #, no-wrap
  51131. msgid ""
  51132. " (services (append (list (service nix-service-type))\n"
  51133. " %base-services)))\n"
  51134. msgstr ""
  51135. #. type: defvr
  51136. #: guix-git/doc/guix.texi:34568
  51137. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  51138. msgstr ""
  51139. #. type: item
  51140. #: guix-git/doc/guix.texi:34570
  51141. #, no-wrap
  51142. msgid "Add a Nix channel and update it. See"
  51143. msgstr ""
  51144. #. type: itemize
  51145. #: guix-git/doc/guix.texi:34572
  51146. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  51147. msgstr ""
  51148. #. type: item
  51149. #: guix-git/doc/guix.texi:34573
  51150. #, no-wrap
  51151. msgid "Create a symlink to your profile and activate Nix profile:"
  51152. msgstr ""
  51153. #. type: example
  51154. #: guix-git/doc/guix.texi:34579
  51155. #, no-wrap
  51156. msgid ""
  51157. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  51158. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  51159. msgstr ""
  51160. #. type: deftp
  51161. #: guix-git/doc/guix.texi:34583
  51162. #, no-wrap
  51163. msgid "{Data Type} nix-configuration"
  51164. msgstr ""
  51165. #. type: deftp
  51166. #: guix-git/doc/guix.texi:34585
  51167. msgid "This data type represents the configuration of the Nix daemon."
  51168. msgstr ""
  51169. #. type: item
  51170. #: guix-git/doc/guix.texi:34587
  51171. #, no-wrap
  51172. msgid "@code{nix} (default: @code{nix})"
  51173. msgstr ""
  51174. #. type: table
  51175. #: guix-git/doc/guix.texi:34589
  51176. msgid "The Nix package to use."
  51177. msgstr ""
  51178. #. type: item
  51179. #: guix-git/doc/guix.texi:34590
  51180. #, no-wrap
  51181. msgid "@code{sandbox} (default: @code{#t})"
  51182. msgstr ""
  51183. #. type: table
  51184. #: guix-git/doc/guix.texi:34592
  51185. msgid "Specifies whether builds are sandboxed by default."
  51186. msgstr ""
  51187. #. type: item
  51188. #: guix-git/doc/guix.texi:34593
  51189. #, no-wrap
  51190. msgid "@code{build-sandbox-items} (default: @code{'()})"
  51191. msgstr ""
  51192. #. type: table
  51193. #: guix-git/doc/guix.texi:34596
  51194. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  51195. msgstr ""
  51196. #. type: table
  51197. #: guix-git/doc/guix.texi:34604
  51198. msgid "Extra command line options for @code{nix-service-type}."
  51199. msgstr ""
  51200. #. type: cindex
  51201. #: guix-git/doc/guix.texi:34610
  51202. #, no-wrap
  51203. msgid "setuid programs"
  51204. msgstr ""
  51205. #. type: Plain text
  51206. #: guix-git/doc/guix.texi:34620
  51207. 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)."
  51208. msgstr ""
  51209. #. type: Plain text
  51210. #: guix-git/doc/guix.texi:34627
  51211. 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."
  51212. msgstr ""
  51213. #. type: Plain text
  51214. #: guix-git/doc/guix.texi:34634
  51215. 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:"
  51216. msgstr ""
  51217. #. type: lisp
  51218. #: guix-git/doc/guix.texi:34638
  51219. #, no-wrap
  51220. msgid ""
  51221. "(setuid-program\n"
  51222. " (program (file-append nfs-utils \"/sbin/mount.nfs\")))\n"
  51223. msgstr ""
  51224. #. type: Plain text
  51225. #: guix-git/doc/guix.texi:34643
  51226. 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:"
  51227. msgstr ""
  51228. #. type: lisp
  51229. #: guix-git/doc/guix.texi:34651
  51230. #, no-wrap
  51231. msgid ""
  51232. "(operating-system\n"
  51233. " ;; Some fields omitted...\n"
  51234. " (setuid-programs\n"
  51235. " (append (list (setuid-program\n"
  51236. " (program (file-append nfs-utils \"/sbin/mount.nfs\"))))\n"
  51237. " %setuid-programs)))\n"
  51238. msgstr ""
  51239. #. type: deftp
  51240. #: guix-git/doc/guix.texi:34653
  51241. #, no-wrap
  51242. msgid "{Data Type} setuid-program"
  51243. msgstr ""
  51244. #. type: deftp
  51245. #: guix-git/doc/guix.texi:34655
  51246. msgid "This data type represents a program with a setuid or setgid bit set."
  51247. msgstr ""
  51248. #. type: code{#1}
  51249. #: guix-git/doc/guix.texi:34657
  51250. #, no-wrap
  51251. msgid "program"
  51252. msgstr ""
  51253. #. type: table
  51254. #: guix-git/doc/guix.texi:34659
  51255. msgid "A file-like object having its setuid and/or setgid bit set."
  51256. msgstr ""
  51257. #. type: item
  51258. #: guix-git/doc/guix.texi:34660
  51259. #, no-wrap
  51260. msgid "@code{setuid?} (default: @code{#t})"
  51261. msgstr ""
  51262. #. type: table
  51263. #: guix-git/doc/guix.texi:34662
  51264. msgid "Whether to set user setuid bit."
  51265. msgstr ""
  51266. #. type: item
  51267. #: guix-git/doc/guix.texi:34663
  51268. #, no-wrap
  51269. msgid "@code{setgid?} (default: @code{#f})"
  51270. msgstr ""
  51271. #. type: table
  51272. #: guix-git/doc/guix.texi:34665
  51273. msgid "Whether to set group setgid bit."
  51274. msgstr ""
  51275. #. type: item
  51276. #: guix-git/doc/guix.texi:34666
  51277. #, no-wrap
  51278. msgid "@code{user} (default: @code{0})"
  51279. msgstr ""
  51280. #. type: table
  51281. #: guix-git/doc/guix.texi:34669
  51282. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  51283. msgstr ""
  51284. #. type: item
  51285. #: guix-git/doc/guix.texi:34670
  51286. #, no-wrap
  51287. msgid "@code{group} (default: @code{0})"
  51288. msgstr ""
  51289. #. type: table
  51290. #: guix-git/doc/guix.texi:34673
  51291. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  51292. msgstr ""
  51293. #. type: Plain text
  51294. #: guix-git/doc/guix.texi:34679
  51295. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  51296. msgstr ""
  51297. #. type: defvr
  51298. #: guix-git/doc/guix.texi:34680
  51299. #, no-wrap
  51300. msgid "{Scheme Variable} %setuid-programs"
  51301. msgstr ""
  51302. #. type: defvr
  51303. #: guix-git/doc/guix.texi:34683
  51304. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  51305. msgstr ""
  51306. #. type: defvr
  51307. #: guix-git/doc/guix.texi:34686
  51308. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  51309. msgstr ""
  51310. #. type: Plain text
  51311. #: guix-git/doc/guix.texi:34692
  51312. 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."
  51313. msgstr ""
  51314. #. type: cindex
  51315. #: guix-git/doc/guix.texi:34696
  51316. #, no-wrap
  51317. msgid "HTTPS, certificates"
  51318. msgstr ""
  51319. #. type: cindex
  51320. #: guix-git/doc/guix.texi:34697
  51321. #, no-wrap
  51322. msgid "X.509 certificates"
  51323. msgstr ""
  51324. #. type: cindex
  51325. #: guix-git/doc/guix.texi:34698
  51326. #, no-wrap
  51327. msgid "TLS"
  51328. msgstr ""
  51329. #. type: Plain text
  51330. #: guix-git/doc/guix.texi:34705
  51331. 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."
  51332. msgstr ""
  51333. #. type: Plain text
  51334. #: guix-git/doc/guix.texi:34709
  51335. 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."
  51336. msgstr ""
  51337. #. type: Plain text
  51338. #: guix-git/doc/guix.texi:34713
  51339. 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."
  51340. msgstr ""
  51341. #. type: Plain text
  51342. #: guix-git/doc/guix.texi:34720
  51343. 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."
  51344. msgstr ""
  51345. #. type: Plain text
  51346. #: guix-git/doc/guix.texi:34725
  51347. 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."
  51348. msgstr ""
  51349. #. type: Plain text
  51350. #: guix-git/doc/guix.texi:34735
  51351. 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:"
  51352. msgstr ""
  51353. #. type: example
  51354. #: guix-git/doc/guix.texi:34741
  51355. #, no-wrap
  51356. msgid ""
  51357. "guix install nss-certs\n"
  51358. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  51359. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51360. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  51361. msgstr ""
  51362. #. type: Plain text
  51363. #: guix-git/doc/guix.texi:34746
  51364. 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:"
  51365. msgstr ""
  51366. #. type: example
  51367. #: guix-git/doc/guix.texi:34750
  51368. #, no-wrap
  51369. msgid ""
  51370. "guix install nss-certs\n"
  51371. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51372. msgstr ""
  51373. #. type: Plain text
  51374. #: guix-git/doc/guix.texi:34754
  51375. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  51376. msgstr ""
  51377. #. type: cindex
  51378. #: guix-git/doc/guix.texi:34759
  51379. #, no-wrap
  51380. msgid "name service switch"
  51381. msgstr ""
  51382. #. type: cindex
  51383. #: guix-git/doc/guix.texi:34760
  51384. #, no-wrap
  51385. msgid "NSS"
  51386. msgstr ""
  51387. #. type: Plain text
  51388. #: guix-git/doc/guix.texi:34769
  51389. 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})."
  51390. msgstr ""
  51391. #. type: Plain text
  51392. #: guix-git/doc/guix.texi:34776
  51393. 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}})."
  51394. msgstr ""
  51395. #. type: cindex
  51396. #: guix-git/doc/guix.texi:34777
  51397. #, no-wrap
  51398. msgid "nss-mdns"
  51399. msgstr ""
  51400. #. type: cindex
  51401. #: guix-git/doc/guix.texi:34778
  51402. #, no-wrap
  51403. msgid ".local, host name lookup"
  51404. msgstr ""
  51405. #. type: Plain text
  51406. #: guix-git/doc/guix.texi:34783
  51407. 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}:"
  51408. msgstr ""
  51409. #. type: lisp
  51410. #: guix-git/doc/guix.texi:34787
  51411. #, no-wrap
  51412. msgid ""
  51413. "(name-service-switch\n"
  51414. " (hosts (list %files ;first, check /etc/hosts\n"
  51415. "\n"
  51416. msgstr ""
  51417. #. type: lisp
  51418. #: guix-git/doc/guix.texi:34792
  51419. #, no-wrap
  51420. msgid ""
  51421. " ;; If the above did not succeed, try\n"
  51422. " ;; with 'mdns_minimal'.\n"
  51423. " (name-service\n"
  51424. " (name \"mdns_minimal\")\n"
  51425. "\n"
  51426. msgstr ""
  51427. #. type: lisp
  51428. #: guix-git/doc/guix.texi:34798
  51429. #, no-wrap
  51430. msgid ""
  51431. " ;; 'mdns_minimal' is authoritative for\n"
  51432. " ;; '.local'. When it returns \"not found\",\n"
  51433. " ;; no need to try the next methods.\n"
  51434. " (reaction (lookup-specification\n"
  51435. " (not-found => return))))\n"
  51436. "\n"
  51437. msgstr ""
  51438. #. type: lisp
  51439. #: guix-git/doc/guix.texi:34802
  51440. #, no-wrap
  51441. msgid ""
  51442. " ;; Then fall back to DNS.\n"
  51443. " (name-service\n"
  51444. " (name \"dns\"))\n"
  51445. "\n"
  51446. msgstr ""
  51447. #. type: lisp
  51448. #: guix-git/doc/guix.texi:34806
  51449. #, no-wrap
  51450. msgid ""
  51451. " ;; Finally, try with the \"full\" 'mdns'.\n"
  51452. " (name-service\n"
  51453. " (name \"mdns\")))))\n"
  51454. msgstr ""
  51455. #. type: Plain text
  51456. #: guix-git/doc/guix.texi:34811
  51457. 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."
  51458. msgstr ""
  51459. #. type: Plain text
  51460. #: guix-git/doc/guix.texi:34819
  51461. 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}})."
  51462. msgstr ""
  51463. #. type: Plain text
  51464. #: guix-git/doc/guix.texi:34822
  51465. msgid "For convenience, the following variables provide typical NSS configurations."
  51466. msgstr ""
  51467. #. type: defvr
  51468. #: guix-git/doc/guix.texi:34823
  51469. #, no-wrap
  51470. msgid "{Scheme Variable} %default-nss"
  51471. msgstr ""
  51472. #. type: defvr
  51473. #: guix-git/doc/guix.texi:34826
  51474. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  51475. msgstr ""
  51476. #. type: defvr
  51477. #: guix-git/doc/guix.texi:34828
  51478. #, no-wrap
  51479. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  51480. msgstr ""
  51481. #. type: defvr
  51482. #: guix-git/doc/guix.texi:34831
  51483. 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}."
  51484. msgstr ""
  51485. #. type: Plain text
  51486. #: guix-git/doc/guix.texi:34841
  51487. 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}."
  51488. msgstr ""
  51489. #. type: deftp
  51490. #: guix-git/doc/guix.texi:34842
  51491. #, no-wrap
  51492. msgid "{Data Type} name-service-switch"
  51493. msgstr ""
  51494. #. type: deftp
  51495. #: guix-git/doc/guix.texi:34847
  51496. 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."
  51497. msgstr ""
  51498. #. type: item
  51499. #: guix-git/doc/guix.texi:34849
  51500. #, no-wrap
  51501. msgid "aliases"
  51502. msgstr ""
  51503. #. type: itemx
  51504. #: guix-git/doc/guix.texi:34850
  51505. #, no-wrap
  51506. msgid "ethers"
  51507. msgstr ""
  51508. #. type: itemx
  51509. #: guix-git/doc/guix.texi:34852
  51510. #, no-wrap
  51511. msgid "gshadow"
  51512. msgstr ""
  51513. #. type: itemx
  51514. #: guix-git/doc/guix.texi:34853
  51515. #, no-wrap
  51516. msgid "hosts"
  51517. msgstr ""
  51518. #. type: itemx
  51519. #: guix-git/doc/guix.texi:34854
  51520. #, no-wrap
  51521. msgid "initgroups"
  51522. msgstr ""
  51523. #. type: itemx
  51524. #: guix-git/doc/guix.texi:34855
  51525. #, no-wrap
  51526. msgid "netgroup"
  51527. msgstr ""
  51528. #. type: itemx
  51529. #: guix-git/doc/guix.texi:34856
  51530. #, no-wrap
  51531. msgid "networks"
  51532. msgstr ""
  51533. #. type: itemx
  51534. #: guix-git/doc/guix.texi:34859
  51535. #, no-wrap
  51536. msgid "rpc"
  51537. msgstr ""
  51538. #. type: itemx
  51539. #: guix-git/doc/guix.texi:34861
  51540. #, no-wrap
  51541. msgid "shadow"
  51542. msgstr ""
  51543. #. type: table
  51544. #: guix-git/doc/guix.texi:34864
  51545. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  51546. msgstr ""
  51547. #. type: deftp
  51548. #: guix-git/doc/guix.texi:34867
  51549. #, no-wrap
  51550. msgid "{Data Type} name-service"
  51551. msgstr ""
  51552. #. type: deftp
  51553. #: guix-git/doc/guix.texi:34871
  51554. msgid "This is the data type representing an actual name service and the associated lookup action."
  51555. msgstr ""
  51556. #. type: table
  51557. #: guix-git/doc/guix.texi:34876
  51558. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  51559. msgstr ""
  51560. #. type: table
  51561. #: guix-git/doc/guix.texi:34881
  51562. 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}})."
  51563. msgstr ""
  51564. #. type: item
  51565. #: guix-git/doc/guix.texi:34882
  51566. #, no-wrap
  51567. msgid "reaction"
  51568. msgstr ""
  51569. #. type: table
  51570. #: guix-git/doc/guix.texi:34886
  51571. 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:"
  51572. msgstr ""
  51573. #. type: lisp
  51574. #: guix-git/doc/guix.texi:34890
  51575. #, no-wrap
  51576. msgid ""
  51577. "(lookup-specification (unavailable => continue)\n"
  51578. " (success => return))\n"
  51579. msgstr ""
  51580. #. type: Plain text
  51581. #: guix-git/doc/guix.texi:34904
  51582. 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."
  51583. msgstr ""
  51584. #. type: Plain text
  51585. #: guix-git/doc/guix.texi:34913
  51586. 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:"
  51587. msgstr ""
  51588. #. type: lisp
  51589. #: guix-git/doc/guix.texi:34918
  51590. #, no-wrap
  51591. msgid ""
  51592. "(operating-system\n"
  51593. " ;; @dots{}\n"
  51594. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  51595. msgstr ""
  51596. #. type: defvr
  51597. #: guix-git/doc/guix.texi:34920
  51598. #, no-wrap
  51599. msgid "{Scheme Variable} %base-initrd-modules"
  51600. msgstr ""
  51601. #. type: defvr
  51602. #: guix-git/doc/guix.texi:34922
  51603. msgid "This is the list of kernel modules included in the initrd by default."
  51604. msgstr ""
  51605. #. type: Plain text
  51606. #: guix-git/doc/guix.texi:34930
  51607. 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."
  51608. msgstr ""
  51609. #. type: Plain text
  51610. #: guix-git/doc/guix.texi:34935
  51611. 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:"
  51612. msgstr ""
  51613. #. type: lisp
  51614. #: guix-git/doc/guix.texi:34943
  51615. #, no-wrap
  51616. msgid ""
  51617. "(initrd (lambda (file-systems . rest)\n"
  51618. " ;; Create a standard initrd but set up networking\n"
  51619. " ;; with the parameters QEMU expects by default.\n"
  51620. " (apply base-initrd file-systems\n"
  51621. " #:qemu-networking? #t\n"
  51622. " rest)))\n"
  51623. msgstr ""
  51624. #. type: Plain text
  51625. #: guix-git/doc/guix.texi:34948
  51626. 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."
  51627. msgstr ""
  51628. #. type: Plain text
  51629. #: guix-git/doc/guix.texi:34955
  51630. 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."
  51631. msgstr ""
  51632. #. type: Plain text
  51633. #: guix-git/doc/guix.texi:34960
  51634. 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:"
  51635. msgstr ""
  51636. #. type: item
  51637. #: guix-git/doc/guix.texi:34962
  51638. #, no-wrap
  51639. msgid "--load=@var{boot}"
  51640. msgstr ""
  51641. #. type: table
  51642. #: guix-git/doc/guix.texi:34965
  51643. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  51644. msgstr ""
  51645. #. type: table
  51646. #: guix-git/doc/guix.texi:34969
  51647. 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."
  51648. msgstr ""
  51649. #. type: item
  51650. #: guix-git/doc/guix.texi:34970
  51651. #, no-wrap
  51652. msgid "--root=@var{root}"
  51653. msgstr ""
  51654. #. type: table
  51655. #: guix-git/doc/guix.texi:34975
  51656. 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."
  51657. msgstr ""
  51658. #. type: item
  51659. #: guix-git/doc/guix.texi:34976
  51660. #, no-wrap
  51661. msgid "fsck.mode=@var{mode}"
  51662. msgstr ""
  51663. #. type: table
  51664. #: guix-git/doc/guix.texi:34982
  51665. 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."
  51666. msgstr ""
  51667. #. type: table
  51668. #: guix-git/doc/guix.texi:34985
  51669. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  51670. msgstr ""
  51671. #. type: item
  51672. #: guix-git/doc/guix.texi:34986
  51673. #, no-wrap
  51674. msgid "fsck.repair=@var{level}"
  51675. msgstr ""
  51676. #. type: table
  51677. #: guix-git/doc/guix.texi:34991
  51678. 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."
  51679. msgstr ""
  51680. #. type: table
  51681. #: guix-git/doc/guix.texi:34994
  51682. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  51683. msgstr ""
  51684. #. type: table
  51685. #: guix-git/doc/guix.texi:34998
  51686. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  51687. msgstr ""
  51688. #. type: item
  51689. #: guix-git/doc/guix.texi:34999
  51690. #, no-wrap
  51691. msgid "modprobe.blacklist=@var{modules}@dots{}"
  51692. msgstr ""
  51693. #. type: cindex
  51694. #: guix-git/doc/guix.texi:35000
  51695. #, no-wrap
  51696. msgid "module, black-listing"
  51697. msgstr ""
  51698. #. type: cindex
  51699. #: guix-git/doc/guix.texi:35001
  51700. #, no-wrap
  51701. msgid "black list, of kernel modules"
  51702. msgstr ""
  51703. #. type: table
  51704. #: guix-git/doc/guix.texi:35006
  51705. 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}."
  51706. msgstr ""
  51707. #. type: item
  51708. #: guix-git/doc/guix.texi:35007
  51709. #, no-wrap
  51710. msgid "--repl"
  51711. msgstr ""
  51712. #. type: table
  51713. #: guix-git/doc/guix.texi:35013
  51714. 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."
  51715. msgstr ""
  51716. #. type: Plain text
  51717. #: guix-git/doc/guix.texi:35019
  51718. 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."
  51719. msgstr ""
  51720. #. type: deffn
  51721. #: guix-git/doc/guix.texi:35022
  51722. #, no-wrap
  51723. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  51724. msgstr ""
  51725. #. type: deffn
  51726. #: guix-git/doc/guix.texi:35036
  51727. 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."
  51728. msgstr ""
  51729. #. type: deffn
  51730. #: guix-git/doc/guix.texi:35042 guix-git/doc/guix.texi:35066
  51731. 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."
  51732. msgstr ""
  51733. #. type: deffn
  51734. #: guix-git/doc/guix.texi:35046
  51735. 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."
  51736. msgstr ""
  51737. #. type: deffn
  51738. #: guix-git/doc/guix.texi:35049
  51739. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  51740. msgstr ""
  51741. #. type: deffn
  51742. #: guix-git/doc/guix.texi:35051
  51743. #, no-wrap
  51744. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  51745. msgstr ""
  51746. #. type: deffn
  51747. #: guix-git/doc/guix.texi:35060
  51748. 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."
  51749. msgstr ""
  51750. #. type: deffn
  51751. #: guix-git/doc/guix.texi:35068
  51752. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  51753. msgstr ""
  51754. #. type: deffn
  51755. #: guix-git/doc/guix.texi:35073
  51756. 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."
  51757. msgstr ""
  51758. #. type: Plain text
  51759. #: guix-git/doc/guix.texi:35080
  51760. 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."
  51761. msgstr ""
  51762. #. type: deffn
  51763. #: guix-git/doc/guix.texi:35081
  51764. #, no-wrap
  51765. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  51766. msgstr ""
  51767. #. type: deffn
  51768. #: guix-git/doc/guix.texi:35087
  51769. 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."
  51770. msgstr ""
  51771. #. type: cindex
  51772. #: guix-git/doc/guix.texi:35093
  51773. #, no-wrap
  51774. msgid "boot loader"
  51775. msgstr ""
  51776. #. type: Plain text
  51777. #: guix-git/doc/guix.texi:35100
  51778. 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."
  51779. msgstr ""
  51780. #. type: Plain text
  51781. #: guix-git/doc/guix.texi:35105
  51782. 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."
  51783. msgstr ""
  51784. #. type: deftp
  51785. #: guix-git/doc/guix.texi:35106
  51786. #, no-wrap
  51787. msgid "{Data Type} bootloader-configuration"
  51788. msgstr ""
  51789. #. type: deftp
  51790. #: guix-git/doc/guix.texi:35108
  51791. msgid "The type of a bootloader configuration declaration."
  51792. msgstr ""
  51793. #. type: cindex
  51794. #: guix-git/doc/guix.texi:35112
  51795. #, no-wrap
  51796. msgid "EFI, bootloader"
  51797. msgstr ""
  51798. #. type: cindex
  51799. #: guix-git/doc/guix.texi:35113
  51800. #, no-wrap
  51801. msgid "UEFI, bootloader"
  51802. msgstr ""
  51803. #. type: cindex
  51804. #: guix-git/doc/guix.texi:35114
  51805. #, no-wrap
  51806. msgid "BIOS, bootloader"
  51807. msgstr ""
  51808. #. type: table
  51809. #: guix-git/doc/guix.texi:35119
  51810. 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."
  51811. msgstr ""
  51812. #. type: cindex
  51813. #: guix-git/doc/guix.texi:35120
  51814. #, no-wrap
  51815. msgid "ARM, bootloaders"
  51816. msgstr ""
  51817. #. type: cindex
  51818. #: guix-git/doc/guix.texi:35121
  51819. #, no-wrap
  51820. msgid "AArch64, bootloaders"
  51821. msgstr ""
  51822. #. type: table
  51823. #: guix-git/doc/guix.texi:35126
  51824. 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}."
  51825. msgstr ""
  51826. #. type: table
  51827. #: guix-git/doc/guix.texi:35132
  51828. 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."
  51829. msgstr ""
  51830. #. type: table
  51831. #: guix-git/doc/guix.texi:35136
  51832. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  51833. msgstr ""
  51834. #. type: vindex
  51835. #: guix-git/doc/guix.texi:35137
  51836. #, no-wrap
  51837. msgid "grub-efi-netboot-bootloader"
  51838. msgstr ""
  51839. #. type: table
  51840. #: guix-git/doc/guix.texi:35141
  51841. 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."
  51842. msgstr ""
  51843. #. type: table
  51844. #: guix-git/doc/guix.texi:35147
  51845. 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."
  51846. msgstr ""
  51847. #. type: table
  51848. #: guix-git/doc/guix.texi:35156
  51849. 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}."
  51850. msgstr ""
  51851. #. type: table
  51852. #: guix-git/doc/guix.texi:35165
  51853. 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."
  51854. msgstr ""
  51855. #. type: table
  51856. #: guix-git/doc/guix.texi:35171
  51857. 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."
  51858. msgstr ""
  51859. #. type: table
  51860. #: guix-git/doc/guix.texi:35176
  51861. 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}."
  51862. msgstr ""
  51863. #. type: table
  51864. #: guix-git/doc/guix.texi:35181
  51865. 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."
  51866. msgstr ""
  51867. #. type: table
  51868. #: guix-git/doc/guix.texi:35186
  51869. 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}."
  51870. msgstr ""
  51871. #. type: table
  51872. #: guix-git/doc/guix.texi:35190
  51873. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  51874. msgstr ""
  51875. #. type: table
  51876. #: guix-git/doc/guix.texi:35200
  51877. 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."
  51878. msgstr ""
  51879. #. type: item
  51880. #: guix-git/doc/guix.texi:35201
  51881. #, no-wrap
  51882. msgid "@code{menu-entries} (default: @code{()})"
  51883. msgstr ""
  51884. #. type: table
  51885. #: guix-git/doc/guix.texi:35205
  51886. 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."
  51887. msgstr ""
  51888. #. type: item
  51889. #: guix-git/doc/guix.texi:35206
  51890. #, no-wrap
  51891. msgid "@code{default-entry} (default: @code{0})"
  51892. msgstr ""
  51893. #. type: table
  51894. #: guix-git/doc/guix.texi:35209
  51895. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  51896. msgstr ""
  51897. #. type: item
  51898. #: guix-git/doc/guix.texi:35210
  51899. #, no-wrap
  51900. msgid "@code{timeout} (default: @code{5})"
  51901. msgstr ""
  51902. #. type: table
  51903. #: guix-git/doc/guix.texi:35213
  51904. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  51905. msgstr ""
  51906. #. type: cindex
  51907. #: guix-git/doc/guix.texi:35214
  51908. #, no-wrap
  51909. msgid "keyboard layout, for the bootloader"
  51910. msgstr ""
  51911. #. type: table
  51912. #: guix-git/doc/guix.texi:35218
  51913. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  51914. msgstr ""
  51915. #. type: table
  51916. #: guix-git/doc/guix.texi:35221
  51917. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  51918. msgstr ""
  51919. #. type: quotation
  51920. #: guix-git/doc/guix.texi:35225
  51921. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  51922. msgstr ""
  51923. #. type: item
  51924. #: guix-git/doc/guix.texi:35227
  51925. #, no-wrap
  51926. msgid "@code{theme} (default: @var{#f})"
  51927. msgstr ""
  51928. #. type: table
  51929. #: guix-git/doc/guix.texi:35231
  51930. 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."
  51931. msgstr ""
  51932. #. type: item
  51933. #: guix-git/doc/guix.texi:35232
  51934. #, no-wrap
  51935. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  51936. msgstr ""
  51937. #. type: table
  51938. #: guix-git/doc/guix.texi:35239
  51939. 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})."
  51940. msgstr ""
  51941. #. type: item
  51942. #: guix-git/doc/guix.texi:35240
  51943. #, no-wrap
  51944. msgid "@code{terminal-inputs} (default: @code{'()})"
  51945. msgstr ""
  51946. #. type: table
  51947. #: guix-git/doc/guix.texi:35248
  51948. 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})."
  51949. msgstr ""
  51950. #. type: item
  51951. #: guix-git/doc/guix.texi:35249
  51952. #, no-wrap
  51953. msgid "@code{serial-unit} (default: @code{#f})"
  51954. msgstr ""
  51955. #. type: table
  51956. #: guix-git/doc/guix.texi:35253
  51957. 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})."
  51958. msgstr ""
  51959. #. type: item
  51960. #: guix-git/doc/guix.texi:35254
  51961. #, no-wrap
  51962. msgid "@code{serial-speed} (default: @code{#f})"
  51963. msgstr ""
  51964. #. type: table
  51965. #: guix-git/doc/guix.texi:35258
  51966. 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})."
  51967. msgstr ""
  51968. #. type: cindex
  51969. #: guix-git/doc/guix.texi:35262
  51970. #, no-wrap
  51971. msgid "dual boot"
  51972. msgstr ""
  51973. #. type: cindex
  51974. #: guix-git/doc/guix.texi:35263
  51975. #, no-wrap
  51976. msgid "boot menu"
  51977. msgstr ""
  51978. #. type: Plain text
  51979. #: guix-git/doc/guix.texi:35269
  51980. 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:"
  51981. msgstr ""
  51982. #. type: lisp
  51983. #: guix-git/doc/guix.texi:35276
  51984. #, no-wrap
  51985. msgid ""
  51986. "(menu-entry\n"
  51987. " (label \"The Other Distro\")\n"
  51988. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  51989. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  51990. " (initrd \"/boot/old/initrd\"))\n"
  51991. msgstr ""
  51992. #. type: Plain text
  51993. #: guix-git/doc/guix.texi:35279
  51994. msgid "Details below."
  51995. msgstr ""
  51996. #. type: deftp
  51997. #: guix-git/doc/guix.texi:35280
  51998. #, no-wrap
  51999. msgid "{Data Type} menu-entry"
  52000. msgstr ""
  52001. #. type: deftp
  52002. #: guix-git/doc/guix.texi:35282
  52003. msgid "The type of an entry in the bootloader menu."
  52004. msgstr ""
  52005. #. type: table
  52006. #: guix-git/doc/guix.texi:35287
  52007. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  52008. msgstr ""
  52009. #. type: item
  52010. #: guix-git/doc/guix.texi:35288
  52011. #, no-wrap
  52012. msgid "@code{linux} (default: @code{#f})"
  52013. msgstr ""
  52014. #. type: table
  52015. #: guix-git/doc/guix.texi:35290
  52016. msgid "The Linux kernel image to boot, for example:"
  52017. msgstr ""
  52018. #. type: lisp
  52019. #: guix-git/doc/guix.texi:35293
  52020. #, no-wrap
  52021. msgid "(file-append linux-libre \"/bzImage\")\n"
  52022. msgstr ""
  52023. #. type: table
  52024. #: guix-git/doc/guix.texi:35298
  52025. 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:"
  52026. msgstr ""
  52027. #. type: example
  52028. #: guix-git/doc/guix.texi:35301
  52029. #, no-wrap
  52030. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  52031. msgstr ""
  52032. #. type: table
  52033. #: guix-git/doc/guix.texi:35305
  52034. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  52035. msgstr ""
  52036. #. type: item
  52037. #: guix-git/doc/guix.texi:35306
  52038. #, no-wrap
  52039. msgid "@code{linux-arguments} (default: @code{()})"
  52040. msgstr ""
  52041. #. type: table
  52042. #: guix-git/doc/guix.texi:35309
  52043. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  52044. msgstr ""
  52045. #. type: item
  52046. #: guix-git/doc/guix.texi:35310
  52047. #, no-wrap
  52048. msgid "@code{initrd} (default: @code{#f})"
  52049. msgstr ""
  52050. #. type: table
  52051. #: guix-git/doc/guix.texi:35313
  52052. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  52053. msgstr ""
  52054. #. type: table
  52055. #: guix-git/doc/guix.texi:35317
  52056. 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})."
  52057. msgstr ""
  52058. #. type: table
  52059. #: guix-git/doc/guix.texi:35323
  52060. 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}."
  52061. msgstr ""
  52062. #. type: item
  52063. #: guix-git/doc/guix.texi:35324
  52064. #, no-wrap
  52065. msgid "@code{multiboot-kernel} (default: @code{#f})"
  52066. msgstr ""
  52067. #. type: table
  52068. #: guix-git/doc/guix.texi:35328
  52069. 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:"
  52070. msgstr ""
  52071. #. type: lisp
  52072. #: guix-git/doc/guix.texi:35331
  52073. #, no-wrap
  52074. msgid "(file-append mach \"/boot/gnumach\")\n"
  52075. msgstr ""
  52076. #. type: item
  52077. #: guix-git/doc/guix.texi:35333
  52078. #, no-wrap
  52079. msgid "@code{multiboot-arguments} (default: @code{()})"
  52080. msgstr ""
  52081. #. type: table
  52082. #: guix-git/doc/guix.texi:35335
  52083. msgid "The list of extra command-line arguments for the multiboot-kernel."
  52084. msgstr ""
  52085. #. type: item
  52086. #: guix-git/doc/guix.texi:35336
  52087. #, no-wrap
  52088. msgid "@code{multiboot-modules} (default: @code{()})"
  52089. msgstr ""
  52090. #. type: table
  52091. #: guix-git/doc/guix.texi:35338
  52092. msgid "The list of commands for loading Multiboot modules. For example:"
  52093. msgstr ""
  52094. #. type: lisp
  52095. #: guix-git/doc/guix.texi:35344
  52096. #, no-wrap
  52097. msgid ""
  52098. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  52099. " @dots{})\n"
  52100. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  52101. " @dots{}))\n"
  52102. msgstr ""
  52103. #. type: cindex
  52104. #: guix-git/doc/guix.texi:35349 guix-git/doc/guix.texi:35408
  52105. #, no-wrap
  52106. msgid "HDPI"
  52107. msgstr ""
  52108. #. type: cindex
  52109. #: guix-git/doc/guix.texi:35350 guix-git/doc/guix.texi:35409
  52110. #, no-wrap
  52111. msgid "HiDPI"
  52112. msgstr ""
  52113. #. type: cindex
  52114. #: guix-git/doc/guix.texi:35351 guix-git/doc/guix.texi:35410
  52115. #, no-wrap
  52116. msgid "resolution"
  52117. msgstr ""
  52118. #. type: Plain text
  52119. #: guix-git/doc/guix.texi:35355
  52120. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  52121. msgstr ""
  52122. #. type: deftp
  52123. #: guix-git/doc/guix.texi:35356
  52124. #, no-wrap
  52125. msgid "{Data Type} grub-theme"
  52126. msgstr ""
  52127. #. type: deftp
  52128. #: guix-git/doc/guix.texi:35358
  52129. msgid "Data type representing the configuration of the GRUB theme."
  52130. msgstr ""
  52131. #. type: item
  52132. #: guix-git/doc/guix.texi:35360
  52133. #, no-wrap
  52134. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  52135. msgstr ""
  52136. #. type: table
  52137. #: guix-git/doc/guix.texi:35363
  52138. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  52139. msgstr ""
  52140. #. type: deffn
  52141. #: guix-git/doc/guix.texi:35366
  52142. #, no-wrap
  52143. msgid "{Scheme Procedure} grub-theme"
  52144. msgstr ""
  52145. #. type: deffn
  52146. #: guix-git/doc/guix.texi:35370
  52147. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  52148. msgstr ""
  52149. #. type: deffn
  52150. #: guix-git/doc/guix.texi:35373
  52151. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  52152. msgstr ""
  52153. #. type: Plain text
  52154. #: guix-git/doc/guix.texi:35377
  52155. msgid "For example, to override the default resolution, you may use something like"
  52156. msgstr ""
  52157. #. type: lisp
  52158. #: guix-git/doc/guix.texi:35385
  52159. #, no-wrap
  52160. msgid ""
  52161. "(bootloader\n"
  52162. " (bootloader-configuration\n"
  52163. " ;; @dots{}\n"
  52164. " (theme (grub-theme\n"
  52165. " (inherit (grub-theme))\n"
  52166. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  52167. msgstr ""
  52168. #. type: section
  52169. #: guix-git/doc/guix.texi:35388
  52170. #, no-wrap
  52171. msgid "Invoking @code{guix system}"
  52172. msgstr ""
  52173. #. type: Plain text
  52174. #: guix-git/doc/guix.texi:35393
  52175. 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:"
  52176. msgstr ""
  52177. #. type: example
  52178. #: guix-git/doc/guix.texi:35396
  52179. #, no-wrap
  52180. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  52181. msgstr ""
  52182. #. type: Plain text
  52183. #: guix-git/doc/guix.texi:35402
  52184. 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:"
  52185. msgstr ""
  52186. #. type: item
  52187. #: guix-git/doc/guix.texi:35404 guix-git/doc/guix.texi:38186
  52188. #, no-wrap
  52189. msgid "search"
  52190. msgstr ""
  52191. #. type: table
  52192. #: guix-git/doc/guix.texi:35407
  52193. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  52194. msgstr ""
  52195. #. type: example
  52196. #: guix-git/doc/guix.texi:35429
  52197. #, no-wrap
  52198. msgid ""
  52199. "$ guix system search console\n"
  52200. "name: console-fonts\n"
  52201. "location: gnu/services/base.scm:806:2\n"
  52202. "extends: shepherd-root\n"
  52203. "description: Install the given fonts on the specified ttys (fonts are per\n"
  52204. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  52205. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  52206. "+ package or any valid argument to `setfont', as in this example:\n"
  52207. "+\n"
  52208. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  52209. "+ (\"tty2\" . (file-append\n"
  52210. "+ font-tamzen\n"
  52211. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  52212. "+ (\"tty3\" . (file-append\n"
  52213. "+ font-terminus\n"
  52214. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  52215. "relevance: 9\n"
  52216. "\n"
  52217. msgstr ""
  52218. #. type: example
  52219. #: guix-git/doc/guix.texi:35435
  52220. #, no-wrap
  52221. msgid ""
  52222. "name: mingetty\n"
  52223. "location: gnu/services/base.scm:1190:2\n"
  52224. "extends: shepherd-root\n"
  52225. "description: Provide console login using the `mingetty' program.\n"
  52226. "relevance: 2\n"
  52227. "\n"
  52228. msgstr ""
  52229. #. type: example
  52230. #: guix-git/doc/guix.texi:35442
  52231. #, no-wrap
  52232. msgid ""
  52233. "name: login\n"
  52234. "location: gnu/services/base.scm:860:2\n"
  52235. "extends: pam\n"
  52236. "description: Provide a console log-in service as specified by its\n"
  52237. "+ configuration value, a `login-configuration' object.\n"
  52238. "relevance: 2\n"
  52239. "\n"
  52240. msgstr ""
  52241. #. type: example
  52242. #: guix-git/doc/guix.texi:35444 guix-git/doc/guix.texi:38222
  52243. #, no-wrap
  52244. msgid "@dots{}\n"
  52245. msgstr ""
  52246. #. type: table
  52247. #: guix-git/doc/guix.texi:35449
  52248. 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})."
  52249. msgstr ""
  52250. #. type: item
  52251. #: guix-git/doc/guix.texi:35450 guix-git/doc/guix.texi:38228
  52252. #, no-wrap
  52253. msgid "reconfigure"
  52254. msgstr ""
  52255. #. type: table
  52256. #: guix-git/doc/guix.texi:35455
  52257. 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.}."
  52258. msgstr ""
  52259. #. type: quotation
  52260. #: guix-git/doc/guix.texi:35463
  52261. 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."
  52262. msgstr ""
  52263. #. type: table
  52264. #: guix-git/doc/guix.texi:35471
  52265. 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})."
  52266. msgstr ""
  52267. #. type: table
  52268. #: guix-git/doc/guix.texi:35477
  52269. 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})."
  52270. msgstr ""
  52271. #. type: table
  52272. #: guix-git/doc/guix.texi:35482
  52273. 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."
  52274. msgstr ""
  52275. #. type: cindex
  52276. #: guix-git/doc/guix.texi:35483 guix-git/doc/guix.texi:35819
  52277. #: guix-git/doc/guix.texi:36827
  52278. #, no-wrap
  52279. msgid "provenance tracking, of the operating system"
  52280. msgstr ""
  52281. #. type: table
  52282. #: guix-git/doc/guix.texi:35488
  52283. 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:"
  52284. msgstr ""
  52285. #. type: example
  52286. #: guix-git/doc/guix.texi:35491
  52287. #, no-wrap
  52288. msgid "guix system describe\n"
  52289. msgstr ""
  52290. #. type: table
  52291. #: guix-git/doc/guix.texi:35497
  52292. 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:"
  52293. msgstr ""
  52294. #. type: example
  52295. #: guix-git/doc/guix.texi:35503
  52296. #, no-wrap
  52297. msgid ""
  52298. "guix time-machine \\\n"
  52299. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  52300. " system reconfigure \\\n"
  52301. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  52302. msgstr ""
  52303. #. type: table
  52304. #: guix-git/doc/guix.texi:35509
  52305. 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."
  52306. msgstr ""
  52307. #. type: table
  52308. #: guix-git/doc/guix.texi:35515
  52309. 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}."
  52310. msgstr ""
  52311. #. type: item
  52312. #: guix-git/doc/guix.texi:35516 guix-git/doc/guix.texi:38287
  52313. #, no-wrap
  52314. msgid "switch-generation"
  52315. msgstr ""
  52316. #. type: table
  52317. #: guix-git/doc/guix.texi:35525
  52318. 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."
  52319. msgstr ""
  52320. #. type: table
  52321. #: guix-git/doc/guix.texi:35529
  52322. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  52323. msgstr ""
  52324. #. type: table
  52325. #: guix-git/doc/guix.texi:35533
  52326. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  52327. msgstr ""
  52328. #. type: example
  52329. #: guix-git/doc/guix.texi:35536
  52330. #, no-wrap
  52331. msgid "guix system switch-generation 7\n"
  52332. msgstr ""
  52333. #. type: table
  52334. #: guix-git/doc/guix.texi:35544 guix-git/doc/guix.texi:38306
  52335. 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:"
  52336. msgstr ""
  52337. #. type: example
  52338. #: guix-git/doc/guix.texi:35547
  52339. #, no-wrap
  52340. msgid "guix system switch-generation -- -1\n"
  52341. msgstr ""
  52342. #. type: table
  52343. #: guix-git/doc/guix.texi:35555
  52344. 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."
  52345. msgstr ""
  52346. #. type: table
  52347. #: guix-git/doc/guix.texi:35557 guix-git/doc/guix.texi:38312
  52348. msgid "This action will fail if the specified generation does not exist."
  52349. msgstr ""
  52350. #. type: item
  52351. #: guix-git/doc/guix.texi:35558 guix-git/doc/guix.texi:38313
  52352. #, no-wrap
  52353. msgid "roll-back"
  52354. msgstr ""
  52355. #. type: table
  52356. #: guix-git/doc/guix.texi:35564
  52357. 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}."
  52358. msgstr ""
  52359. #. type: table
  52360. #: guix-git/doc/guix.texi:35568
  52361. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  52362. msgstr ""
  52363. #. type: item
  52364. #: guix-git/doc/guix.texi:35569 guix-git/doc/guix.texi:38319
  52365. #, no-wrap
  52366. msgid "delete-generations"
  52367. msgstr ""
  52368. #. type: cindex
  52369. #: guix-git/doc/guix.texi:35570
  52370. #, no-wrap
  52371. msgid "deleting system generations"
  52372. msgstr ""
  52373. #. type: cindex
  52374. #: guix-git/doc/guix.texi:35571 guix-git/doc/guix.texi:38321
  52375. #, no-wrap
  52376. msgid "saving space"
  52377. msgstr ""
  52378. #. type: table
  52379. #: guix-git/doc/guix.texi:35575
  52380. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  52381. msgstr ""
  52382. #. type: table
  52383. #: guix-git/doc/guix.texi:35579
  52384. 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:"
  52385. msgstr ""
  52386. #. type: example
  52387. #: guix-git/doc/guix.texi:35582
  52388. #, no-wrap
  52389. msgid "guix system delete-generations\n"
  52390. msgstr ""
  52391. #. type: table
  52392. #: guix-git/doc/guix.texi:35586
  52393. 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:"
  52394. msgstr ""
  52395. #. type: example
  52396. #: guix-git/doc/guix.texi:35589
  52397. #, no-wrap
  52398. msgid "guix system delete-generations 2m\n"
  52399. msgstr ""
  52400. #. type: table
  52401. #: guix-git/doc/guix.texi:35594
  52402. 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."
  52403. msgstr ""
  52404. #. type: table
  52405. #: guix-git/doc/guix.texi:35599
  52406. 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."
  52407. msgstr ""
  52408. #. type: item
  52409. #: guix-git/doc/guix.texi:35600
  52410. #, no-wrap
  52411. msgid "init"
  52412. msgstr ""
  52413. #. type: table
  52414. #: guix-git/doc/guix.texi:35604
  52415. 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:"
  52416. msgstr ""
  52417. #. type: example
  52418. #: guix-git/doc/guix.texi:35607
  52419. #, no-wrap
  52420. msgid "guix system init my-os-config.scm /mnt\n"
  52421. msgstr ""
  52422. #. type: table
  52423. #: guix-git/doc/guix.texi:35614
  52424. 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."
  52425. msgstr ""
  52426. #. type: table
  52427. #: guix-git/doc/guix.texi:35618
  52428. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  52429. msgstr ""
  52430. #. type: item
  52431. #: guix-git/doc/guix.texi:35619
  52432. #, no-wrap
  52433. msgid "vm"
  52434. msgstr ""
  52435. #. type: cindex
  52436. #: guix-git/doc/guix.texi:35620 guix-git/doc/guix.texi:36238
  52437. #, no-wrap
  52438. msgid "virtual machine"
  52439. msgstr ""
  52440. #. type: cindex
  52441. #: guix-git/doc/guix.texi:35621
  52442. #, no-wrap
  52443. msgid "VM"
  52444. msgstr ""
  52445. #. type: anchor{#1}
  52446. #: guix-git/doc/guix.texi:35625
  52447. msgid "guix system vm"
  52448. msgstr ""
  52449. #. type: table
  52450. #: guix-git/doc/guix.texi:35625
  52451. msgid "Build a virtual machine (VM) that contains the operating system declared in @var{file}, and return a script to run that VM."
  52452. msgstr ""
  52453. #. type: quotation
  52454. #: guix-git/doc/guix.texi:35633
  52455. 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})."
  52456. msgstr ""
  52457. #. type: table
  52458. #: guix-git/doc/guix.texi:35638
  52459. 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:"
  52460. msgstr ""
  52461. #. type: example
  52462. #: guix-git/doc/guix.texi:35641
  52463. #, no-wrap
  52464. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52465. msgstr ""
  52466. #. type: table
  52467. #: guix-git/doc/guix.texi:35644
  52468. msgid "It's possible to combine the two steps into one:"
  52469. msgstr ""
  52470. #. type: example
  52471. #: guix-git/doc/guix.texi:35647
  52472. #, no-wrap
  52473. msgid "$ $(guix system vm my-config.scm) -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52474. msgstr ""
  52475. #. type: table
  52476. #: guix-git/doc/guix.texi:35650
  52477. msgid "The VM shares its store with the host system."
  52478. msgstr ""
  52479. #. type: table
  52480. #: guix-git/doc/guix.texi:35655
  52481. 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."
  52482. msgstr ""
  52483. #. type: table
  52484. #: guix-git/doc/guix.texi:35660
  52485. 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."
  52486. msgstr ""
  52487. #. type: table
  52488. #: guix-git/doc/guix.texi:35664
  52489. 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:"
  52490. msgstr ""
  52491. #. type: example
  52492. #: guix-git/doc/guix.texi:35668
  52493. #, no-wrap
  52494. msgid ""
  52495. "guix system vm my-config.scm \\\n"
  52496. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52497. msgstr ""
  52498. #. type: table
  52499. #: guix-git/doc/guix.texi:35673
  52500. 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."
  52501. msgstr ""
  52502. #. type: table
  52503. #: guix-git/doc/guix.texi:35678
  52504. 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."
  52505. msgstr ""
  52506. #. type: table
  52507. #: guix-git/doc/guix.texi:35681
  52508. msgid "The @option{--image-size} option can be used to specify the size of the image."
  52509. msgstr ""
  52510. #. type: table
  52511. #: guix-git/doc/guix.texi:35688
  52512. 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."
  52513. msgstr ""
  52514. #. type: cindex
  52515. #: guix-git/doc/guix.texi:35689
  52516. #, no-wrap
  52517. msgid "System images, creation in various formats"
  52518. msgstr ""
  52519. #. type: cindex
  52520. #: guix-git/doc/guix.texi:35690
  52521. #, no-wrap
  52522. msgid "Creating system images in various formats"
  52523. msgstr ""
  52524. #. type: item
  52525. #: guix-git/doc/guix.texi:35691
  52526. #, no-wrap
  52527. msgid "image"
  52528. msgstr ""
  52529. #. type: cindex
  52530. #: guix-git/doc/guix.texi:35692
  52531. #, no-wrap
  52532. msgid "image, creating disk images"
  52533. msgstr ""
  52534. #. type: table
  52535. #: guix-git/doc/guix.texi:35704
  52536. 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:"
  52537. msgstr ""
  52538. #. type: example
  52539. #: guix-git/doc/guix.texi:35712
  52540. #, no-wrap
  52541. msgid ""
  52542. "image=$(guix system image --image-type=qcow2 \\\n"
  52543. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  52544. "cp $image /tmp/my-image.qcow2\n"
  52545. "chmod +w /tmp/my-image.qcow2\n"
  52546. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  52547. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  52548. msgstr ""
  52549. #. type: table
  52550. #: guix-git/doc/guix.texi:35718
  52551. 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:"
  52552. msgstr ""
  52553. #. type: example
  52554. #: guix-git/doc/guix.texi:35721
  52555. #, no-wrap
  52556. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  52557. msgstr ""
  52558. #. type: table
  52559. #: guix-git/doc/guix.texi:35725
  52560. msgid "The @code{--list-image-types} command lists all the available image types."
  52561. msgstr ""
  52562. #. type: cindex
  52563. #: guix-git/doc/guix.texi:35726
  52564. #, no-wrap
  52565. msgid "creating virtual machine images"
  52566. msgstr ""
  52567. #. type: table
  52568. #: guix-git/doc/guix.texi:35735
  52569. 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)."
  52570. msgstr ""
  52571. #. type: cindex
  52572. #: guix-git/doc/guix.texi:35736
  52573. #, no-wrap
  52574. msgid "docker-image, creating docker images"
  52575. msgstr ""
  52576. #. type: table
  52577. #: guix-git/doc/guix.texi:35742
  52578. 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:"
  52579. msgstr ""
  52580. #. type: example
  52581. #: guix-git/doc/guix.texi:35747
  52582. #, no-wrap
  52583. msgid ""
  52584. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  52585. "container_id=\"$(docker create $image_id)\"\n"
  52586. "docker start $container_id\n"
  52587. msgstr ""
  52588. #. type: table
  52589. #: guix-git/doc/guix.texi:35754
  52590. 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}:"
  52591. msgstr ""
  52592. #. type: example
  52593. #: guix-git/doc/guix.texi:35757
  52594. #, no-wrap
  52595. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  52596. msgstr ""
  52597. #. type: table
  52598. #: guix-git/doc/guix.texi:35764
  52599. 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}."
  52600. msgstr ""
  52601. #. type: table
  52602. #: guix-git/doc/guix.texi:35768
  52603. 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."
  52604. msgstr ""
  52605. #. type: table
  52606. #: guix-git/doc/guix.texi:35776
  52607. 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."
  52608. msgstr ""
  52609. #. type: table
  52610. #: guix-git/doc/guix.texi:35780
  52611. 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."
  52612. msgstr ""
  52613. #. type: table
  52614. #: guix-git/doc/guix.texi:35784
  52615. 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:"
  52616. msgstr ""
  52617. #. type: example
  52618. #: guix-git/doc/guix.texi:35788
  52619. #, no-wrap
  52620. msgid ""
  52621. "guix system container my-config.scm \\\n"
  52622. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52623. msgstr ""
  52624. #. type: quotation
  52625. #: guix-git/doc/guix.texi:35792
  52626. msgid "This option requires Linux-libre 3.19 or newer."
  52627. msgstr ""
  52628. #. type: Plain text
  52629. #: guix-git/doc/guix.texi:35799 guix-git/doc/guix.texi:38383
  52630. 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:"
  52631. msgstr ""
  52632. #. type: table
  52633. #: guix-git/doc/guix.texi:35808
  52634. 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})."
  52635. msgstr ""
  52636. #. type: table
  52637. #: guix-git/doc/guix.texi:35813
  52638. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  52639. msgstr ""
  52640. #. type: table
  52641. #: guix-git/doc/guix.texi:35818
  52642. msgid "Return the derivation file name of the given operating system without building anything."
  52643. msgstr ""
  52644. #. type: table
  52645. #: guix-git/doc/guix.texi:35827
  52646. 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:"
  52647. msgstr ""
  52648. #. type: example
  52649. #: guix-git/doc/guix.texi:35830
  52650. #, no-wrap
  52651. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  52652. msgstr ""
  52653. #. type: table
  52654. #: guix-git/doc/guix.texi:35837
  52655. 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."
  52656. msgstr ""
  52657. #. type: item
  52658. #: guix-git/doc/guix.texi:35838
  52659. #, no-wrap
  52660. msgid "--image-type=@var{type}"
  52661. msgstr ""
  52662. #. type: table
  52663. #: guix-git/doc/guix.texi:35841
  52664. msgid "For the @code{image} action, create an image with given @var{type}."
  52665. msgstr ""
  52666. #. type: table
  52667. #: guix-git/doc/guix.texi:35844
  52668. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  52669. msgstr ""
  52670. #. type: cindex
  52671. #: guix-git/doc/guix.texi:35845
  52672. #, no-wrap
  52673. msgid "ISO-9660 format"
  52674. msgstr ""
  52675. #. type: cindex
  52676. #: guix-git/doc/guix.texi:35846
  52677. #, no-wrap
  52678. msgid "CD image format"
  52679. msgstr ""
  52680. #. type: cindex
  52681. #: guix-git/doc/guix.texi:35847
  52682. #, no-wrap
  52683. msgid "DVD image format"
  52684. msgstr ""
  52685. #. type: table
  52686. #: guix-git/doc/guix.texi:35850
  52687. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  52688. msgstr ""
  52689. #. type: item
  52690. #: guix-git/doc/guix.texi:35851
  52691. #, no-wrap
  52692. msgid "--image-size=@var{size}"
  52693. msgstr ""
  52694. #. type: table
  52695. #: guix-git/doc/guix.texi:35856
  52696. 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})."
  52697. msgstr ""
  52698. #. type: table
  52699. #: guix-git/doc/guix.texi:35860
  52700. 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}."
  52701. msgstr ""
  52702. #. type: table
  52703. #: guix-git/doc/guix.texi:35865
  52704. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  52705. msgstr ""
  52706. #. type: item
  52707. #: guix-git/doc/guix.texi:35871
  52708. #, no-wrap
  52709. msgid "--skip-checks"
  52710. msgstr ""
  52711. #. type: table
  52712. #: guix-git/doc/guix.texi:35873
  52713. msgid "Skip pre-installation safety checks."
  52714. msgstr ""
  52715. #. type: table
  52716. #: guix-git/doc/guix.texi:35880
  52717. 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."
  52718. msgstr ""
  52719. #. type: table
  52720. #: guix-git/doc/guix.texi:35883
  52721. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  52722. msgstr ""
  52723. #. type: table
  52724. #: guix-git/doc/guix.texi:35891
  52725. 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."
  52726. msgstr ""
  52727. #. type: cindex
  52728. #: guix-git/doc/guix.texi:35897
  52729. #, no-wrap
  52730. msgid "on-error"
  52731. msgstr ""
  52732. #. type: cindex
  52733. #: guix-git/doc/guix.texi:35898
  52734. #, no-wrap
  52735. msgid "on-error strategy"
  52736. msgstr ""
  52737. #. type: cindex
  52738. #: guix-git/doc/guix.texi:35899
  52739. #, no-wrap
  52740. msgid "error strategy"
  52741. msgstr ""
  52742. #. type: item
  52743. #: guix-git/doc/guix.texi:35900
  52744. #, no-wrap
  52745. msgid "--on-error=@var{strategy}"
  52746. msgstr ""
  52747. #. type: table
  52748. #: guix-git/doc/guix.texi:35903
  52749. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  52750. msgstr ""
  52751. #. type: item
  52752. #: guix-git/doc/guix.texi:35905
  52753. #, no-wrap
  52754. msgid "nothing-special"
  52755. msgstr ""
  52756. #. type: table
  52757. #: guix-git/doc/guix.texi:35907
  52758. msgid "Report the error concisely and exit. This is the default strategy."
  52759. msgstr ""
  52760. #. type: item
  52761. #: guix-git/doc/guix.texi:35908
  52762. #, no-wrap
  52763. msgid "backtrace"
  52764. msgstr ""
  52765. #. type: table
  52766. #: guix-git/doc/guix.texi:35910
  52767. msgid "Likewise, but also display a backtrace."
  52768. msgstr ""
  52769. #. type: item
  52770. #: guix-git/doc/guix.texi:35911
  52771. #, no-wrap
  52772. msgid "debug"
  52773. msgstr ""
  52774. #. type: table
  52775. #: guix-git/doc/guix.texi:35917
  52776. 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."
  52777. msgstr ""
  52778. #. type: Plain text
  52779. #: guix-git/doc/guix.texi:35924
  52780. 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:"
  52781. msgstr ""
  52782. #. type: item
  52783. #: guix-git/doc/guix.texi:35927 guix-git/doc/guix.texi:38346
  52784. #, no-wrap
  52785. msgid "describe"
  52786. msgstr ""
  52787. #. type: table
  52788. #: guix-git/doc/guix.texi:35930
  52789. msgid "Describe the running system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  52790. msgstr ""
  52791. #. type: quotation
  52792. #: guix-git/doc/guix.texi:35937
  52793. 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."
  52794. msgstr ""
  52795. #. type: quotation
  52796. #: guix-git/doc/guix.texi:35941
  52797. 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."
  52798. msgstr ""
  52799. #. type: item
  52800. #: guix-git/doc/guix.texi:35943 guix-git/doc/guix.texi:38350
  52801. #, no-wrap
  52802. msgid "list-generations"
  52803. msgstr ""
  52804. #. type: table
  52805. #: guix-git/doc/guix.texi:35948
  52806. 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})."
  52807. msgstr ""
  52808. #. type: table
  52809. #: guix-git/doc/guix.texi:35953 guix-git/doc/guix.texi:38360
  52810. 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:"
  52811. msgstr ""
  52812. #. type: example
  52813. #: guix-git/doc/guix.texi:35956
  52814. #, no-wrap
  52815. msgid "$ guix system list-generations 10d\n"
  52816. msgstr ""
  52817. #. type: Plain text
  52818. #: guix-git/doc/guix.texi:35963
  52819. 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:"
  52820. msgstr ""
  52821. #. type: anchor{#1}
  52822. #: guix-git/doc/guix.texi:35965
  52823. msgid "system-extension-graph"
  52824. msgstr ""
  52825. #. type: item
  52826. #: guix-git/doc/guix.texi:35967
  52827. #, no-wrap
  52828. msgid "extension-graph"
  52829. msgstr ""
  52830. #. type: table
  52831. #: guix-git/doc/guix.texi:35974
  52832. 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}}):"
  52833. msgstr ""
  52834. #. type: table
  52835. #: guix-git/doc/guix.texi:35976
  52836. msgid "The command:"
  52837. msgstr ""
  52838. #. type: example
  52839. #: guix-git/doc/guix.texi:35979
  52840. #, no-wrap
  52841. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  52842. msgstr ""
  52843. #. type: table
  52844. #: guix-git/doc/guix.texi:35982
  52845. msgid "shows the extension relations among services."
  52846. msgstr ""
  52847. #. type: anchor{#1}
  52848. #: guix-git/doc/guix.texi:35984
  52849. msgid "system-shepherd-graph"
  52850. msgstr ""
  52851. #. type: item
  52852. #: guix-git/doc/guix.texi:35984
  52853. #, no-wrap
  52854. msgid "shepherd-graph"
  52855. msgstr ""
  52856. #. type: table
  52857. #: guix-git/doc/guix.texi:35989
  52858. 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."
  52859. msgstr ""
  52860. #. type: table
  52861. #: guix-git/doc/guix.texi:35992
  52862. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  52863. msgstr ""
  52864. #. type: section
  52865. #: guix-git/doc/guix.texi:35996
  52866. #, no-wrap
  52867. msgid "Invoking @code{guix deploy}"
  52868. msgstr ""
  52869. #. type: Plain text
  52870. #: guix-git/doc/guix.texi:36004
  52871. 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''."
  52872. msgstr ""
  52873. #. type: quotation
  52874. #: guix-git/doc/guix.texi:36009 guix-git/doc/guix.texi:37504
  52875. 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}!"
  52876. msgstr ""
  52877. #. type: example
  52878. #: guix-git/doc/guix.texi:36013
  52879. #, no-wrap
  52880. msgid "guix deploy @var{file}\n"
  52881. msgstr ""
  52882. #. type: Plain text
  52883. #: guix-git/doc/guix.texi:36017
  52884. 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:"
  52885. msgstr ""
  52886. #. type: lisp
  52887. #: guix-git/doc/guix.texi:36024
  52888. #, no-wrap
  52889. msgid ""
  52890. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  52891. ";; no X11 display server, to a machine with an SSH daemon\n"
  52892. ";; listening on localhost:2222. A configuration such as this\n"
  52893. ";; may be appropriate for virtual machine with ports\n"
  52894. ";; forwarded to the host's loopback interface.\n"
  52895. "\n"
  52896. msgstr ""
  52897. #. type: lisp
  52898. #: guix-git/doc/guix.texi:36027
  52899. #, no-wrap
  52900. msgid ""
  52901. "(use-service-modules networking ssh)\n"
  52902. "(use-package-modules bootloaders)\n"
  52903. "\n"
  52904. msgstr ""
  52905. #. type: lisp
  52906. #: guix-git/doc/guix.texi:36048
  52907. #, no-wrap
  52908. msgid ""
  52909. "(define %system\n"
  52910. " (operating-system\n"
  52911. " (host-name \"gnu-deployed\")\n"
  52912. " (timezone \"Etc/UTC\")\n"
  52913. " (bootloader (bootloader-configuration\n"
  52914. " (bootloader grub-bootloader)\n"
  52915. " (targets '(\"/dev/vda\"))\n"
  52916. " (terminal-outputs '(console))))\n"
  52917. " (file-systems (cons (file-system\n"
  52918. " (mount-point \"/\")\n"
  52919. " (device \"/dev/vda1\")\n"
  52920. " (type \"ext4\"))\n"
  52921. " %base-file-systems))\n"
  52922. " (services\n"
  52923. " (append (list (service dhcp-client-service-type)\n"
  52924. " (service openssh-service-type\n"
  52925. " (openssh-configuration\n"
  52926. " (permit-root-login #t)\n"
  52927. " (allow-empty-passwords? #t))))\n"
  52928. " %base-services))))\n"
  52929. "\n"
  52930. msgstr ""
  52931. #. type: lisp
  52932. #: guix-git/doc/guix.texi:36058
  52933. #, no-wrap
  52934. msgid ""
  52935. "(list (machine\n"
  52936. " (operating-system %system)\n"
  52937. " (environment managed-host-environment-type)\n"
  52938. " (configuration (machine-ssh-configuration\n"
  52939. " (host-name \"localhost\")\n"
  52940. " (system \"x86_64-linux\")\n"
  52941. " (user \"alice\")\n"
  52942. " (identity \"./id_rsa\")\n"
  52943. " (port 2222)))))\n"
  52944. msgstr ""
  52945. #. type: Plain text
  52946. #: guix-git/doc/guix.texi:36071
  52947. 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."
  52948. msgstr ""
  52949. #. type: Plain text
  52950. #: guix-git/doc/guix.texi:36076
  52951. 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:"
  52952. msgstr ""
  52953. #. type: Plain text
  52954. #: guix-git/doc/guix.texi:36084
  52955. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  52956. msgstr ""
  52957. #. type: example
  52958. #: guix-git/doc/guix.texi:36087
  52959. #, no-wrap
  52960. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  52961. msgstr ""
  52962. #. type: Plain text
  52963. #: guix-git/doc/guix.texi:36098
  52964. 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:"
  52965. msgstr ""
  52966. #. type: lisp
  52967. #: guix-git/doc/guix.texi:36102
  52968. #, no-wrap
  52969. msgid ""
  52970. "(use-modules ...\n"
  52971. " (gnu system)) ;for %sudoers-specification\n"
  52972. "\n"
  52973. msgstr ""
  52974. #. type: lisp
  52975. #: guix-git/doc/guix.texi:36104
  52976. #, no-wrap
  52977. msgid ""
  52978. "(define %user \"username\")\n"
  52979. "\n"
  52980. msgstr ""
  52981. #. type: lisp
  52982. #: guix-git/doc/guix.texi:36112
  52983. #, no-wrap
  52984. msgid ""
  52985. "(operating-system\n"
  52986. " ...\n"
  52987. " (sudoers-file\n"
  52988. " (plain-file \"sudoers\"\n"
  52989. " (string-append (plain-file-content %sudoers-specification)\n"
  52990. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  52991. " %user)))))\n"
  52992. "\n"
  52993. msgstr ""
  52994. #. type: Plain text
  52995. #: guix-git/doc/guix.texi:36117
  52996. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  52997. msgstr ""
  52998. #. type: Plain text
  52999. #: guix-git/doc/guix.texi:36122
  53000. 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:"
  53001. msgstr ""
  53002. #. type: example
  53003. #: guix-git/doc/guix.texi:36125
  53004. #, no-wrap
  53005. msgid "guix deploy @var{file} -x -- uname -a\n"
  53006. msgstr ""
  53007. #. type: Plain text
  53008. #: guix-git/doc/guix.texi:36129
  53009. 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:"
  53010. msgstr ""
  53011. #. type: example
  53012. #: guix-git/doc/guix.texi:36132
  53013. #, no-wrap
  53014. msgid "guix deploy @var{file} -x -- herd restart @var{service}\n"
  53015. msgstr ""
  53016. #. type: Plain text
  53017. #: guix-git/doc/guix.texi:36136
  53018. msgid "The @command{guix deploy -x} command returns zero if and only if the command succeeded on all the machines."
  53019. msgstr ""
  53020. #. type: Plain text
  53021. #: guix-git/doc/guix.texi:36141
  53022. msgid "Below are the data types you need to know about when writing a deployment file."
  53023. msgstr ""
  53024. #. type: deftp
  53025. #: guix-git/doc/guix.texi:36142
  53026. #, no-wrap
  53027. msgid "{Data Type} machine"
  53028. msgstr ""
  53029. #. type: deftp
  53030. #: guix-git/doc/guix.texi:36145
  53031. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  53032. msgstr ""
  53033. #. type: table
  53034. #: guix-git/doc/guix.texi:36149
  53035. msgid "The object of the operating system configuration to deploy."
  53036. msgstr ""
  53037. #. type: code{#1}
  53038. #: guix-git/doc/guix.texi:36150
  53039. #, no-wrap
  53040. msgid "environment"
  53041. msgstr ""
  53042. #. type: table
  53043. #: guix-git/doc/guix.texi:36152
  53044. msgid "An @code{environment-type} describing how the machine should be provisioned."
  53045. msgstr ""
  53046. #. type: item
  53047. #: guix-git/doc/guix.texi:36153
  53048. #, no-wrap
  53049. msgid "@code{configuration} (default: @code{#f})"
  53050. msgstr ""
  53051. #. type: table
  53052. #: guix-git/doc/guix.texi:36158
  53053. 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."
  53054. msgstr ""
  53055. #. type: deftp
  53056. #: guix-git/doc/guix.texi:36161
  53057. #, no-wrap
  53058. msgid "{Data Type} machine-ssh-configuration"
  53059. msgstr ""
  53060. #. type: deftp
  53061. #: guix-git/doc/guix.texi:36164
  53062. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  53063. msgstr ""
  53064. #. type: item
  53065. #: guix-git/doc/guix.texi:36167
  53066. #, no-wrap
  53067. msgid "@code{build-locally?} (default: @code{#t})"
  53068. msgstr ""
  53069. #. type: table
  53070. #: guix-git/doc/guix.texi:36169
  53071. msgid "If false, system derivations will be built on the machine being deployed to."
  53072. msgstr ""
  53073. #. type: code{#1}
  53074. #: guix-git/doc/guix.texi:36169
  53075. #, no-wrap
  53076. msgid "system"
  53077. msgstr ""
  53078. #. type: table
  53079. #: guix-git/doc/guix.texi:36172
  53080. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  53081. msgstr ""
  53082. #. type: item
  53083. #: guix-git/doc/guix.texi:36172
  53084. #, no-wrap
  53085. msgid "@code{authorize?} (default: @code{#t})"
  53086. msgstr ""
  53087. #. type: table
  53088. #: guix-git/doc/guix.texi:36175
  53089. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  53090. msgstr ""
  53091. #. type: item
  53092. #: guix-git/doc/guix.texi:36177
  53093. #, no-wrap
  53094. msgid "@code{identity} (default: @code{#f})"
  53095. msgstr ""
  53096. #. type: table
  53097. #: guix-git/doc/guix.texi:36180
  53098. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  53099. msgstr ""
  53100. #. type: item
  53101. #: guix-git/doc/guix.texi:36181
  53102. #, no-wrap
  53103. msgid "@code{host-key} (default: @code{#f})"
  53104. msgstr ""
  53105. #. type: table
  53106. #: guix-git/doc/guix.texi:36183
  53107. msgid "This should be the SSH host key of the machine, which looks like this:"
  53108. msgstr ""
  53109. #. type: example
  53110. #: guix-git/doc/guix.texi:36186
  53111. #, no-wrap
  53112. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  53113. msgstr ""
  53114. #. type: table
  53115. #: guix-git/doc/guix.texi:36191
  53116. 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."
  53117. msgstr ""
  53118. #. type: item
  53119. #: guix-git/doc/guix.texi:36192
  53120. #, no-wrap
  53121. msgid "@code{allow-downgrades?} (default: @code{#f})"
  53122. msgstr ""
  53123. #. type: table
  53124. #: guix-git/doc/guix.texi:36194
  53125. msgid "Whether to allow potential downgrades."
  53126. msgstr ""
  53127. #. type: table
  53128. #: guix-git/doc/guix.texi:36202
  53129. 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."
  53130. msgstr ""
  53131. #. type: item
  53132. #: guix-git/doc/guix.texi:36203
  53133. #, no-wrap
  53134. msgid "@code{safety-checks?} (default: @code{#t})"
  53135. msgstr ""
  53136. #. type: table
  53137. #: guix-git/doc/guix.texi:36209
  53138. 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."
  53139. msgstr ""
  53140. #. type: table
  53141. #: guix-git/doc/guix.texi:36212
  53142. msgid "These safety checks ensure that you do not inadvertently deploy a system that would fail to boot. Be careful before turning them off!"
  53143. msgstr ""
  53144. #. type: deftp
  53145. #: guix-git/doc/guix.texi:36215
  53146. #, no-wrap
  53147. msgid "{Data Type} digital-ocean-configuration"
  53148. msgstr ""
  53149. #. type: deftp
  53150. #: guix-git/doc/guix.texi:36218
  53151. 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}."
  53152. msgstr ""
  53153. #. type: code{#1}
  53154. #: guix-git/doc/guix.texi:36220
  53155. #, no-wrap
  53156. msgid "ssh-key"
  53157. msgstr ""
  53158. #. type: table
  53159. #: guix-git/doc/guix.texi:36223
  53160. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  53161. msgstr ""
  53162. #. type: code{#1}
  53163. #: guix-git/doc/guix.texi:36223
  53164. #, no-wrap
  53165. msgid "tags"
  53166. msgstr ""
  53167. #. type: table
  53168. #: guix-git/doc/guix.texi:36226
  53169. 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."
  53170. msgstr ""
  53171. #. type: code{#1}
  53172. #: guix-git/doc/guix.texi:36226
  53173. #, no-wrap
  53174. msgid "region"
  53175. msgstr ""
  53176. #. type: table
  53177. #: guix-git/doc/guix.texi:36228
  53178. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  53179. msgstr ""
  53180. #. type: table
  53181. #: guix-git/doc/guix.texi:36230
  53182. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  53183. msgstr ""
  53184. #. type: code{#1}
  53185. #: guix-git/doc/guix.texi:36230
  53186. #, no-wrap
  53187. msgid "enable-ipv6?"
  53188. msgstr ""
  53189. #. type: table
  53190. #: guix-git/doc/guix.texi:36232
  53191. msgid "Whether or not the droplet should be created with IPv6 networking."
  53192. msgstr ""
  53193. #. type: section
  53194. #: guix-git/doc/guix.texi:36236
  53195. #, no-wrap
  53196. msgid "Running Guix in a Virtual Machine"
  53197. msgstr ""
  53198. #. type: Plain text
  53199. #: guix-git/doc/guix.texi:36244
  53200. 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)."
  53201. msgstr ""
  53202. #. type: Plain text
  53203. #: guix-git/doc/guix.texi:36251
  53204. 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})."
  53205. msgstr ""
  53206. #. type: Plain text
  53207. #: guix-git/doc/guix.texi:36254
  53208. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  53209. msgstr ""
  53210. #. type: cindex
  53211. #: guix-git/doc/guix.texi:36255
  53212. #, no-wrap
  53213. msgid "QEMU"
  53214. msgstr ""
  53215. #. type: Plain text
  53216. #: guix-git/doc/guix.texi:36262
  53217. 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:"
  53218. msgstr ""
  53219. #. type: example
  53220. #: guix-git/doc/guix.texi:36269
  53221. #, no-wrap
  53222. msgid ""
  53223. "$ qemu-system-x86_64 \\\n"
  53224. " -nic user,model=virtio-net-pci \\\n"
  53225. " -enable-kvm -m 1024 \\\n"
  53226. " -device virtio-blk,drive=myhd \\\n"
  53227. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  53228. msgstr ""
  53229. #. type: Plain text
  53230. #: guix-git/doc/guix.texi:36272
  53231. msgid "Here is what each of these options means:"
  53232. msgstr ""
  53233. #. type: item
  53234. #: guix-git/doc/guix.texi:36274
  53235. #, no-wrap
  53236. msgid "qemu-system-x86_64"
  53237. msgstr ""
  53238. #. type: table
  53239. #: guix-git/doc/guix.texi:36277
  53240. msgid "This specifies the hardware platform to emulate. This should match the host."
  53241. msgstr ""
  53242. #. type: item
  53243. #: guix-git/doc/guix.texi:36278
  53244. #, no-wrap
  53245. msgid "-nic user,model=virtio-net-pci"
  53246. msgstr ""
  53247. #. type: table
  53248. #: guix-git/doc/guix.texi:36286
  53249. 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}."
  53250. msgstr ""
  53251. #. type: item
  53252. #: guix-git/doc/guix.texi:36287
  53253. #, no-wrap
  53254. msgid "-enable-kvm"
  53255. msgstr ""
  53256. #. type: table
  53257. #: guix-git/doc/guix.texi:36291
  53258. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  53259. msgstr ""
  53260. #. type: item
  53261. #: guix-git/doc/guix.texi:36293
  53262. #, no-wrap
  53263. msgid "-m 1024"
  53264. msgstr ""
  53265. #. type: table
  53266. #: guix-git/doc/guix.texi:36296
  53267. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  53268. msgstr ""
  53269. #. type: item
  53270. #: guix-git/doc/guix.texi:36297
  53271. #, no-wrap
  53272. msgid "-device virtio-blk,drive=myhd"
  53273. msgstr ""
  53274. #. type: table
  53275. #: guix-git/doc/guix.texi:36302
  53276. 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."
  53277. msgstr ""
  53278. #. type: item
  53279. #: guix-git/doc/guix.texi:36303
  53280. #, no-wrap
  53281. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  53282. msgstr ""
  53283. #. type: table
  53284. #: guix-git/doc/guix.texi:36306
  53285. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  53286. msgstr ""
  53287. #. type: Plain text
  53288. #: guix-git/doc/guix.texi:36316
  53289. 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}."
  53290. msgstr ""
  53291. #. type: subsection
  53292. #: guix-git/doc/guix.texi:36317
  53293. #, no-wrap
  53294. msgid "Connecting Through SSH"
  53295. msgstr ""
  53296. #. type: Plain text
  53297. #: guix-git/doc/guix.texi:36325
  53298. 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"
  53299. msgstr ""
  53300. #. type: example
  53301. #: guix-git/doc/guix.texi:36328
  53302. #, no-wrap
  53303. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  53304. msgstr ""
  53305. #. type: Plain text
  53306. #: guix-git/doc/guix.texi:36331
  53307. msgid "To connect to the VM you can run"
  53308. msgstr ""
  53309. #. type: example
  53310. #: guix-git/doc/guix.texi:36334
  53311. #, no-wrap
  53312. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  53313. msgstr ""
  53314. #. type: Plain text
  53315. #: guix-git/doc/guix.texi:36341
  53316. 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."
  53317. msgstr ""
  53318. #. type: quotation
  53319. #: guix-git/doc/guix.texi:36347
  53320. 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."
  53321. msgstr ""
  53322. #. type: subsection
  53323. #: guix-git/doc/guix.texi:36349
  53324. #, no-wrap
  53325. msgid "Using @command{virt-viewer} with Spice"
  53326. msgstr ""
  53327. #. type: Plain text
  53328. #: guix-git/doc/guix.texi:36355
  53329. 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."
  53330. msgstr ""
  53331. #. type: Plain text
  53332. #: guix-git/doc/guix.texi:36358
  53333. 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}:"
  53334. msgstr ""
  53335. #. type: example
  53336. #: guix-git/doc/guix.texi:36364
  53337. #, no-wrap
  53338. msgid ""
  53339. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  53340. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  53341. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\\\n"
  53342. "name=com.redhat.spice.0\n"
  53343. msgstr ""
  53344. #. type: Plain text
  53345. #: guix-git/doc/guix.texi:36368
  53346. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  53347. msgstr ""
  53348. #. type: Plain text
  53349. #: guix-git/doc/guix.texi:36375
  53350. 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?"
  53351. msgstr ""
  53352. #. type: cindex
  53353. #: guix-git/doc/guix.texi:36388
  53354. #, no-wrap
  53355. msgid "daemons"
  53356. msgstr ""
  53357. #. type: Plain text
  53358. #: guix-git/doc/guix.texi:36401
  53359. 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."
  53360. msgstr ""
  53361. #. type: cindex
  53362. #: guix-git/doc/guix.texi:36402
  53363. #, no-wrap
  53364. msgid "service extensions"
  53365. msgstr ""
  53366. #. type: Plain text
  53367. #: guix-git/doc/guix.texi:36414
  53368. 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})."
  53369. msgstr ""
  53370. #. type: Plain text
  53371. #: guix-git/doc/guix.texi:36418
  53372. 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:"
  53373. msgstr ""
  53374. #. type: Plain text
  53375. #: guix-git/doc/guix.texi:36420
  53376. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  53377. msgstr ""
  53378. #. type: cindex
  53379. #: guix-git/doc/guix.texi:36421
  53380. #, no-wrap
  53381. msgid "system service"
  53382. msgstr ""
  53383. #. type: Plain text
  53384. #: guix-git/doc/guix.texi:36429
  53385. 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."
  53386. msgstr ""
  53387. #. type: cindex
  53388. #: guix-git/doc/guix.texi:36430
  53389. #, no-wrap
  53390. msgid "service types"
  53391. msgstr ""
  53392. #. type: Plain text
  53393. #: guix-git/doc/guix.texi:36436
  53394. 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."
  53395. msgstr ""
  53396. #. type: Plain text
  53397. #: guix-git/doc/guix.texi:36439
  53398. msgid "The following section describes the programming interface for service types and services."
  53399. msgstr ""
  53400. #. type: Plain text
  53401. #: guix-git/doc/guix.texi:36446
  53402. 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}):"
  53403. msgstr ""
  53404. #. type: lisp
  53405. #: guix-git/doc/guix.texi:36456
  53406. #, no-wrap
  53407. msgid ""
  53408. "(define guix-service-type\n"
  53409. " (service-type\n"
  53410. " (name 'guix)\n"
  53411. " (extensions\n"
  53412. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  53413. " (service-extension account-service-type guix-accounts)\n"
  53414. " (service-extension activation-service-type guix-activation)))\n"
  53415. " (default-value (guix-configuration))))\n"
  53416. msgstr ""
  53417. #. type: Plain text
  53418. #: guix-git/doc/guix.texi:36460
  53419. msgid "It defines three things:"
  53420. msgstr ""
  53421. #. type: enumerate
  53422. #: guix-git/doc/guix.texi:36464
  53423. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  53424. msgstr ""
  53425. #. type: enumerate
  53426. #: guix-git/doc/guix.texi:36469
  53427. 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."
  53428. msgstr ""
  53429. #. type: enumerate
  53430. #: guix-git/doc/guix.texi:36472
  53431. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  53432. msgstr ""
  53433. #. type: enumerate
  53434. #: guix-git/doc/guix.texi:36475
  53435. msgid "Optionally, a default value for instances of this type."
  53436. msgstr ""
  53437. #. type: Plain text
  53438. #: guix-git/doc/guix.texi:36478
  53439. msgid "In this example, @code{guix-service-type} extends three services:"
  53440. msgstr ""
  53441. #. type: item
  53442. #: guix-git/doc/guix.texi:36480
  53443. #, no-wrap
  53444. msgid "shepherd-root-service-type"
  53445. msgstr ""
  53446. #. type: table
  53447. #: guix-git/doc/guix.texi:36485
  53448. 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})."
  53449. msgstr ""
  53450. #. type: item
  53451. #: guix-git/doc/guix.texi:36486
  53452. #, no-wrap
  53453. msgid "account-service-type"
  53454. msgstr ""
  53455. #. type: table
  53456. #: guix-git/doc/guix.texi:36491
  53457. 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})."
  53458. msgstr ""
  53459. #. type: item
  53460. #: guix-git/doc/guix.texi:36492
  53461. #, no-wrap
  53462. msgid "activation-service-type"
  53463. msgstr ""
  53464. #. type: table
  53465. #: guix-git/doc/guix.texi:36496
  53466. 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."
  53467. msgstr ""
  53468. #. type: Plain text
  53469. #: guix-git/doc/guix.texi:36499
  53470. msgid "A service of this type is instantiated like this:"
  53471. msgstr ""
  53472. #. type: lisp
  53473. #: guix-git/doc/guix.texi:36505
  53474. #, no-wrap
  53475. msgid ""
  53476. "(service guix-service-type\n"
  53477. " (guix-configuration\n"
  53478. " (build-accounts 5)\n"
  53479. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  53480. msgstr ""
  53481. #. type: Plain text
  53482. #: guix-git/doc/guix.texi:36513
  53483. 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:"
  53484. msgstr ""
  53485. #. type: lisp
  53486. #: guix-git/doc/guix.texi:36516
  53487. #, no-wrap
  53488. msgid "(service guix-service-type)\n"
  53489. msgstr ""
  53490. #. type: Plain text
  53491. #: guix-git/doc/guix.texi:36520
  53492. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  53493. msgstr ""
  53494. #. type: Plain text
  53495. #: guix-git/doc/guix.texi:36524
  53496. msgid "The service type for an @emph{extensible} service looks like this:"
  53497. msgstr ""
  53498. #. type: lisp
  53499. #: guix-git/doc/guix.texi:36531
  53500. #, no-wrap
  53501. msgid ""
  53502. "(define udev-service-type\n"
  53503. " (service-type (name 'udev)\n"
  53504. " (extensions\n"
  53505. " (list (service-extension shepherd-root-service-type\n"
  53506. " udev-shepherd-service)))\n"
  53507. "\n"
  53508. msgstr ""
  53509. #. type: lisp
  53510. #: guix-git/doc/guix.texi:36539
  53511. #, no-wrap
  53512. msgid ""
  53513. " (compose concatenate) ;concatenate the list of rules\n"
  53514. " (extend (lambda (config rules)\n"
  53515. " (match config\n"
  53516. " (($ <udev-configuration> udev initial-rules)\n"
  53517. " (udev-configuration\n"
  53518. " (udev udev) ;the udev package to use\n"
  53519. " (rules (append initial-rules rules)))))))))\n"
  53520. msgstr ""
  53521. #. type: Plain text
  53522. #: guix-git/doc/guix.texi:36545
  53523. 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:"
  53524. msgstr ""
  53525. #. type: item
  53526. #: guix-git/doc/guix.texi:36547
  53527. #, no-wrap
  53528. msgid "compose"
  53529. msgstr ""
  53530. #. type: table
  53531. #: guix-git/doc/guix.texi:36550
  53532. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  53533. msgstr ""
  53534. #. type: table
  53535. #: guix-git/doc/guix.texi:36553
  53536. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  53537. msgstr ""
  53538. #. type: item
  53539. #: guix-git/doc/guix.texi:36554
  53540. #, no-wrap
  53541. msgid "extend"
  53542. msgstr ""
  53543. #. type: table
  53544. #: guix-git/doc/guix.texi:36557
  53545. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  53546. msgstr ""
  53547. #. type: table
  53548. #: guix-git/doc/guix.texi:36562
  53549. 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."
  53550. msgstr ""
  53551. #. type: table
  53552. #: guix-git/doc/guix.texi:36568
  53553. 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})."
  53554. msgstr ""
  53555. #. type: Plain text
  53556. #: guix-git/doc/guix.texi:36573
  53557. 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."
  53558. msgstr ""
  53559. #. type: Plain text
  53560. #: guix-git/doc/guix.texi:36576
  53561. msgid "Still here? The next section provides a reference of the programming interface for services."
  53562. msgstr ""
  53563. #. type: Plain text
  53564. #: guix-git/doc/guix.texi:36584
  53565. 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."
  53566. msgstr ""
  53567. #. type: deffn
  53568. #: guix-git/doc/guix.texi:36585
  53569. #, no-wrap
  53570. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  53571. msgstr ""
  53572. #. type: deffn
  53573. #: guix-git/doc/guix.texi:36589
  53574. 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."
  53575. msgstr ""
  53576. #. type: deffn
  53577. #: guix-git/doc/guix.texi:36593
  53578. 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."
  53579. msgstr ""
  53580. #. type: deffn
  53581. #: guix-git/doc/guix.texi:36595
  53582. msgid "For instance, this:"
  53583. msgstr ""
  53584. #. type: lisp
  53585. #: guix-git/doc/guix.texi:36598
  53586. #, no-wrap
  53587. msgid "(service openssh-service-type)\n"
  53588. msgstr ""
  53589. #. type: deffn
  53590. #: guix-git/doc/guix.texi:36602
  53591. msgid "is equivalent to this:"
  53592. msgstr ""
  53593. #. type: lisp
  53594. #: guix-git/doc/guix.texi:36606
  53595. #, no-wrap
  53596. msgid ""
  53597. "(service openssh-service-type\n"
  53598. " (openssh-configuration))\n"
  53599. msgstr ""
  53600. #. type: deffn
  53601. #: guix-git/doc/guix.texi:36610
  53602. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  53603. msgstr ""
  53604. #. type: deffn
  53605. #: guix-git/doc/guix.texi:36612
  53606. #, no-wrap
  53607. msgid "{Scheme Procedure} service? @var{obj}"
  53608. msgstr ""
  53609. #. type: deffn
  53610. #: guix-git/doc/guix.texi:36614
  53611. msgid "Return true if @var{obj} is a service."
  53612. msgstr ""
  53613. #. type: deffn
  53614. #: guix-git/doc/guix.texi:36616
  53615. #, no-wrap
  53616. msgid "{Scheme Procedure} service-kind @var{service}"
  53617. msgstr ""
  53618. #. type: deffn
  53619. #: guix-git/doc/guix.texi:36618
  53620. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  53621. msgstr ""
  53622. #. type: deffn
  53623. #: guix-git/doc/guix.texi:36620
  53624. #, no-wrap
  53625. msgid "{Scheme Procedure} service-value @var{service}"
  53626. msgstr ""
  53627. #. type: deffn
  53628. #: guix-git/doc/guix.texi:36623
  53629. msgid "Return the value associated with @var{service}. It represents its parameters."
  53630. msgstr ""
  53631. #. type: Plain text
  53632. #: guix-git/doc/guix.texi:36626
  53633. msgid "Here is an example of how a service is created and manipulated:"
  53634. msgstr ""
  53635. #. type: lisp
  53636. #: guix-git/doc/guix.texi:36635
  53637. #, no-wrap
  53638. msgid ""
  53639. "(define s\n"
  53640. " (service nginx-service-type\n"
  53641. " (nginx-configuration\n"
  53642. " (nginx nginx)\n"
  53643. " (log-directory log-directory)\n"
  53644. " (run-directory run-directory)\n"
  53645. " (file config-file))))\n"
  53646. "\n"
  53647. msgstr ""
  53648. #. type: lisp
  53649. #: guix-git/doc/guix.texi:36638
  53650. #, no-wrap
  53651. msgid ""
  53652. "(service? s)\n"
  53653. "@result{} #t\n"
  53654. "\n"
  53655. msgstr ""
  53656. #. type: lisp
  53657. #: guix-git/doc/guix.texi:36641
  53658. #, no-wrap
  53659. msgid ""
  53660. "(eq? (service-kind s) nginx-service-type)\n"
  53661. "@result{} #t\n"
  53662. msgstr ""
  53663. #. type: Plain text
  53664. #: guix-git/doc/guix.texi:36651
  53665. 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."
  53666. msgstr ""
  53667. #. type: deffn
  53668. #: guix-git/doc/guix.texi:36652
  53669. #, no-wrap
  53670. msgid "{Scheme Syntax} modify-services @var{services} @"
  53671. msgstr ""
  53672. #. type: deffn
  53673. #: guix-git/doc/guix.texi:36654
  53674. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  53675. msgstr ""
  53676. #. type: deffn
  53677. #: guix-git/doc/guix.texi:36657
  53678. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  53679. msgstr ""
  53680. #. type: example
  53681. #: guix-git/doc/guix.texi:36660
  53682. #, no-wrap
  53683. msgid "(@var{type} @var{variable} => @var{body})\n"
  53684. msgstr ""
  53685. #. type: deffn
  53686. #: guix-git/doc/guix.texi:36667
  53687. 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}."
  53688. msgstr ""
  53689. #. type: deffn
  53690. #: guix-git/doc/guix.texi:36674
  53691. 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."
  53692. msgstr ""
  53693. #. type: deffn
  53694. #: guix-git/doc/guix.texi:36676
  53695. msgid "Clauses can also have the following form:"
  53696. msgstr ""
  53697. #. type: lisp
  53698. #: guix-git/doc/guix.texi:36679
  53699. #, no-wrap
  53700. msgid "(delete @var{type})\n"
  53701. msgstr ""
  53702. #. type: deffn
  53703. #: guix-git/doc/guix.texi:36683
  53704. msgid "Such a clause removes all services of the given @var{type} from @var{services}."
  53705. msgstr ""
  53706. #. type: deffn
  53707. #: guix-git/doc/guix.texi:36685
  53708. msgid "@xref{Using the Configuration System}, for example usage."
  53709. msgstr ""
  53710. #. type: Plain text
  53711. #: guix-git/doc/guix.texi:36692
  53712. 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."
  53713. msgstr ""
  53714. #. type: deftp
  53715. #: guix-git/doc/guix.texi:36693
  53716. #, no-wrap
  53717. msgid "{Data Type} service-type"
  53718. msgstr ""
  53719. #. type: cindex
  53720. #: guix-git/doc/guix.texi:36694
  53721. #, no-wrap
  53722. msgid "service type"
  53723. msgstr ""
  53724. #. type: deftp
  53725. #: guix-git/doc/guix.texi:36697
  53726. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  53727. msgstr ""
  53728. #. type: table
  53729. #: guix-git/doc/guix.texi:36701
  53730. msgid "This is a symbol, used only to simplify inspection and debugging."
  53731. msgstr ""
  53732. #. type: code{#1}
  53733. #: guix-git/doc/guix.texi:36702
  53734. #, no-wrap
  53735. msgid "extensions"
  53736. msgstr ""
  53737. #. type: table
  53738. #: guix-git/doc/guix.texi:36704
  53739. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  53740. msgstr ""
  53741. #. type: item
  53742. #: guix-git/doc/guix.texi:36705
  53743. #, no-wrap
  53744. msgid "@code{compose} (default: @code{#f})"
  53745. msgstr ""
  53746. #. type: table
  53747. #: guix-git/doc/guix.texi:36709
  53748. 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."
  53749. msgstr ""
  53750. #. type: table
  53751. #: guix-git/doc/guix.texi:36713
  53752. 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."
  53753. msgstr ""
  53754. #. type: item
  53755. #: guix-git/doc/guix.texi:36714
  53756. #, no-wrap
  53757. msgid "@code{extend} (default: @code{#f})"
  53758. msgstr ""
  53759. #. type: table
  53760. #: guix-git/doc/guix.texi:36716
  53761. msgid "If this is @code{#f}, services of this type cannot be extended."
  53762. msgstr ""
  53763. #. type: table
  53764. #: guix-git/doc/guix.texi:36722
  53765. 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."
  53766. msgstr ""
  53767. #. type: table
  53768. #: guix-git/doc/guix.texi:36728
  53769. 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})."
  53770. msgstr ""
  53771. #. type: item
  53772. #: guix-git/doc/guix.texi:36729
  53773. #, no-wrap
  53774. msgid "@code{default-value} (default: @code{&no-default-value})"
  53775. msgstr ""
  53776. #. type: table
  53777. #: guix-git/doc/guix.texi:36732
  53778. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  53779. msgstr ""
  53780. #. type: lisp
  53781. #: guix-git/doc/guix.texi:36735
  53782. #, no-wrap
  53783. msgid "(service @var{type})\n"
  53784. msgstr ""
  53785. #. type: table
  53786. #: guix-git/doc/guix.texi:36739
  53787. msgid "The returned service in this case has the default value specified by @var{type}."
  53788. msgstr ""
  53789. #. type: deftp
  53790. #: guix-git/doc/guix.texi:36742
  53791. msgid "@xref{Service Types and Services}, for examples."
  53792. msgstr ""
  53793. #. type: deffn
  53794. #: guix-git/doc/guix.texi:36744
  53795. #, no-wrap
  53796. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  53797. msgstr ""
  53798. #. type: deffn
  53799. #: guix-git/doc/guix.texi:36750
  53800. 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."
  53801. msgstr ""
  53802. #. type: deffn
  53803. #: guix-git/doc/guix.texi:36752
  53804. #, no-wrap
  53805. msgid "{Scheme Procedure} service-extension? @var{obj}"
  53806. msgstr ""
  53807. #. type: deffn
  53808. #: guix-git/doc/guix.texi:36754
  53809. msgid "Return true if @var{obj} is a service extension."
  53810. msgstr ""
  53811. #. type: Plain text
  53812. #: guix-git/doc/guix.texi:36760
  53813. 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."
  53814. msgstr ""
  53815. #. type: deffn
  53816. #: guix-git/doc/guix.texi:36761
  53817. #, no-wrap
  53818. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  53819. msgstr ""
  53820. #. type: deffn
  53821. #: guix-git/doc/guix.texi:36765
  53822. 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."
  53823. msgstr ""
  53824. #. type: deffn
  53825. #: guix-git/doc/guix.texi:36768
  53826. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  53827. msgstr ""
  53828. #. type: lisp
  53829. #: guix-git/doc/guix.texi:36772
  53830. #, no-wrap
  53831. msgid ""
  53832. "(simple-service 'my-mcron-job mcron-service-type\n"
  53833. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  53834. msgstr ""
  53835. #. type: Plain text
  53836. #: guix-git/doc/guix.texi:36782
  53837. 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."
  53838. msgstr ""
  53839. #. type: deffn
  53840. #: guix-git/doc/guix.texi:36783
  53841. #, no-wrap
  53842. msgid "{Scheme Procedure} fold-services @var{services} @"
  53843. msgstr ""
  53844. #. type: deffn
  53845. #: guix-git/doc/guix.texi:36787
  53846. 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."
  53847. msgstr ""
  53848. #. type: Plain text
  53849. #: guix-git/doc/guix.texi:36791
  53850. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  53851. msgstr ""
  53852. #. type: defvr
  53853. #: guix-git/doc/guix.texi:36792
  53854. #, no-wrap
  53855. msgid "{Scheme Variable} system-service-type"
  53856. msgstr ""
  53857. #. type: defvr
  53858. #: guix-git/doc/guix.texi:36795
  53859. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  53860. msgstr ""
  53861. #. type: defvr
  53862. #: guix-git/doc/guix.texi:36797
  53863. #, no-wrap
  53864. msgid "{Scheme Variable} boot-service-type"
  53865. msgstr ""
  53866. #. type: defvr
  53867. #: guix-git/doc/guix.texi:36800
  53868. 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."
  53869. msgstr ""
  53870. #. type: defvr
  53871. #: guix-git/doc/guix.texi:36802
  53872. #, no-wrap
  53873. msgid "{Scheme Variable} etc-service-type"
  53874. msgstr ""
  53875. #. type: defvr
  53876. #: guix-git/doc/guix.texi:36806
  53877. 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:"
  53878. msgstr ""
  53879. #. type: lisp
  53880. #: guix-git/doc/guix.texi:36809
  53881. #, no-wrap
  53882. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  53883. msgstr ""
  53884. #. type: defvr
  53885. #: guix-git/doc/guix.texi:36813
  53886. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  53887. msgstr ""
  53888. #. type: defvr
  53889. #: guix-git/doc/guix.texi:36815
  53890. #, no-wrap
  53891. msgid "{Scheme Variable} setuid-program-service-type"
  53892. msgstr ""
  53893. #. type: defvr
  53894. #: guix-git/doc/guix.texi:36819
  53895. 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})."
  53896. msgstr ""
  53897. #. type: defvr
  53898. #: guix-git/doc/guix.texi:36821
  53899. #, no-wrap
  53900. msgid "{Scheme Variable} profile-service-type"
  53901. msgstr ""
  53902. #. type: defvr
  53903. #: guix-git/doc/guix.texi:36825
  53904. 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."
  53905. msgstr ""
  53906. #. type: anchor{#1}
  53907. #: guix-git/doc/guix.texi:36829
  53908. msgid "provenance-service-type"
  53909. msgstr ""
  53910. #. type: defvr
  53911. #: guix-git/doc/guix.texi:36829
  53912. #, no-wrap
  53913. msgid "{Scheme Variable} provenance-service-type"
  53914. msgstr ""
  53915. #. type: defvr
  53916. #: guix-git/doc/guix.texi:36833
  53917. 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}:"
  53918. msgstr ""
  53919. #. type: item
  53920. #: guix-git/doc/guix.texi:36835
  53921. #, no-wrap
  53922. msgid "channels.scm"
  53923. msgstr ""
  53924. #. type: table
  53925. #: guix-git/doc/guix.texi:36840
  53926. 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})."
  53927. msgstr ""
  53928. #. type: item
  53929. #: guix-git/doc/guix.texi:36841
  53930. #, no-wrap
  53931. msgid "configuration.scm"
  53932. msgstr ""
  53933. #. type: table
  53934. #: guix-git/doc/guix.texi:36846
  53935. 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."
  53936. msgstr ""
  53937. #. type: item
  53938. #: guix-git/doc/guix.texi:36847
  53939. #, no-wrap
  53940. msgid "provenance"
  53941. msgstr ""
  53942. #. type: table
  53943. #: guix-git/doc/guix.texi:36850
  53944. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  53945. msgstr ""
  53946. #. type: defvr
  53947. #: guix-git/doc/guix.texi:36854
  53948. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  53949. msgstr ""
  53950. #. type: quotation
  53951. #: guix-git/doc/guix.texi:36855
  53952. #, no-wrap
  53953. msgid "Caveats"
  53954. msgstr ""
  53955. #. type: quotation
  53956. #: guix-git/doc/guix.texi:36862
  53957. 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."
  53958. msgstr ""
  53959. #. type: quotation
  53960. #: guix-git/doc/guix.texi:36870
  53961. 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."
  53962. msgstr ""
  53963. #. type: defvr
  53964. #: guix-git/doc/guix.texi:36875
  53965. 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}."
  53966. msgstr ""
  53967. #. type: defvr
  53968. #: guix-git/doc/guix.texi:36877
  53969. #, no-wrap
  53970. msgid "{Scheme Variable} linux-loadable-module-service-type"
  53971. msgstr ""
  53972. #. type: defvr
  53973. #: guix-git/doc/guix.texi:36881
  53974. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  53975. msgstr ""
  53976. #. type: defvr
  53977. #: guix-git/doc/guix.texi:36884
  53978. msgid "This service type is intended to be extended by other service types, such as below:"
  53979. msgstr ""
  53980. #. type: lisp
  53981. #: guix-git/doc/guix.texi:36890
  53982. #, no-wrap
  53983. msgid ""
  53984. "(simple-service 'installing-module\n"
  53985. " linux-loadable-module-service-type\n"
  53986. " (list module-to-install-1\n"
  53987. " module-to-install-2))\n"
  53988. msgstr ""
  53989. #. type: defvr
  53990. #: guix-git/doc/guix.texi:36894
  53991. 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."
  53992. msgstr ""
  53993. #. type: cindex
  53994. #: guix-git/doc/guix.texi:36899
  53995. #, no-wrap
  53996. msgid "shepherd services"
  53997. msgstr ""
  53998. #. type: cindex
  53999. #: guix-git/doc/guix.texi:36900
  54000. #, no-wrap
  54001. msgid "PID 1"
  54002. msgstr ""
  54003. #. type: cindex
  54004. #: guix-git/doc/guix.texi:36901
  54005. #, no-wrap
  54006. msgid "init system"
  54007. msgstr ""
  54008. #. type: Plain text
  54009. #: guix-git/doc/guix.texi:36907
  54010. 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})."
  54011. msgstr ""
  54012. #. type: Plain text
  54013. #: guix-git/doc/guix.texi:36913
  54014. 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:"
  54015. msgstr ""
  54016. #. type: Plain text
  54017. #: guix-git/doc/guix.texi:36915
  54018. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  54019. msgstr ""
  54020. #. type: Plain text
  54021. #: guix-git/doc/guix.texi:36919
  54022. 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}})."
  54023. msgstr ""
  54024. #. type: Plain text
  54025. #: guix-git/doc/guix.texi:36923
  54026. 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."
  54027. msgstr ""
  54028. #. type: deftp
  54029. #: guix-git/doc/guix.texi:36924
  54030. #, no-wrap
  54031. msgid "{Data Type} shepherd-service"
  54032. msgstr ""
  54033. #. type: deftp
  54034. #: guix-git/doc/guix.texi:36926
  54035. msgid "The data type representing a service managed by the Shepherd."
  54036. msgstr ""
  54037. #. type: code{#1}
  54038. #: guix-git/doc/guix.texi:36928
  54039. #, no-wrap
  54040. msgid "provision"
  54041. msgstr ""
  54042. #. type: table
  54043. #: guix-git/doc/guix.texi:36930
  54044. msgid "This is a list of symbols denoting what the service provides."
  54045. msgstr ""
  54046. #. type: table
  54047. #: guix-git/doc/guix.texi:36935
  54048. 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."
  54049. msgstr ""
  54050. #. type: item
  54051. #: guix-git/doc/guix.texi:36936
  54052. #, no-wrap
  54053. msgid "@code{requirement} (default: @code{'()})"
  54054. msgstr ""
  54055. #. type: table
  54056. #: guix-git/doc/guix.texi:36938
  54057. msgid "List of symbols denoting the Shepherd services this one depends on."
  54058. msgstr ""
  54059. #. type: cindex
  54060. #: guix-git/doc/guix.texi:36939
  54061. #, no-wrap
  54062. msgid "one-shot services, for the Shepherd"
  54063. msgstr ""
  54064. #. type: table
  54065. #: guix-git/doc/guix.texi:36944
  54066. 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."
  54067. msgstr ""
  54068. #. type: item
  54069. #: guix-git/doc/guix.texi:36945
  54070. #, no-wrap
  54071. msgid "@code{respawn?} (default: @code{#t})"
  54072. msgstr ""
  54073. #. type: table
  54074. #: guix-git/doc/guix.texi:36948
  54075. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  54076. msgstr ""
  54077. #. type: code{#1}
  54078. #: guix-git/doc/guix.texi:36949
  54079. #, no-wrap
  54080. msgid "start"
  54081. msgstr ""
  54082. #. type: itemx
  54083. #: guix-git/doc/guix.texi:36950
  54084. #, no-wrap
  54085. msgid "@code{stop} (default: @code{#~(const #f)})"
  54086. msgstr ""
  54087. #. type: table
  54088. #: guix-git/doc/guix.texi:36956
  54089. 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})."
  54090. msgstr ""
  54091. #. type: item
  54092. #: guix-git/doc/guix.texi:36957
  54093. #, no-wrap
  54094. msgid "@code{actions} (default: @code{'()})"
  54095. msgstr ""
  54096. #. type: cindex
  54097. #: guix-git/doc/guix.texi:36958
  54098. #, no-wrap
  54099. msgid "actions, of Shepherd services"
  54100. msgstr ""
  54101. #. type: table
  54102. #: guix-git/doc/guix.texi:36963
  54103. 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:"
  54104. msgstr ""
  54105. #. type: example
  54106. #: guix-git/doc/guix.texi:36966
  54107. #, no-wrap
  54108. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  54109. msgstr ""
  54110. #. type: item
  54111. #: guix-git/doc/guix.texi:36968
  54112. #, no-wrap
  54113. msgid "@code{auto-start?} (default: @code{#t})"
  54114. msgstr ""
  54115. #. type: table
  54116. #: guix-git/doc/guix.texi:36971
  54117. 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}."
  54118. msgstr ""
  54119. #. type: table
  54120. #: guix-git/doc/guix.texi:36974
  54121. msgid "A documentation string, as shown when running:"
  54122. msgstr ""
  54123. #. type: example
  54124. #: guix-git/doc/guix.texi:36977
  54125. #, no-wrap
  54126. msgid "herd doc @var{service-name}\n"
  54127. msgstr ""
  54128. #. type: table
  54129. #: guix-git/doc/guix.texi:36981
  54130. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  54131. msgstr ""
  54132. #. type: table
  54133. #: guix-git/doc/guix.texi:36985
  54134. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  54135. msgstr ""
  54136. #. type: Plain text
  54137. #: guix-git/doc/guix.texi:36993
  54138. 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}):"
  54139. msgstr ""
  54140. #. type: example
  54141. #: guix-git/doc/guix.texi:37005
  54142. #, no-wrap
  54143. msgid ""
  54144. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  54145. " (shepherd-service\n"
  54146. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  54147. " (provision '(syslogd))\n"
  54148. " (requirement '(user-processes))\n"
  54149. " (start #~(make-forkexec-constructor\n"
  54150. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  54151. " \"--rcfile\" #$config)\n"
  54152. " #:pid-file \"/var/run/syslog.pid\"))\n"
  54153. " (stop #~(make-kill-destructor))))\n"
  54154. msgstr ""
  54155. #. type: Plain text
  54156. #: guix-git/doc/guix.texi:37020
  54157. 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})."
  54158. msgstr ""
  54159. #. type: deftp
  54160. #: guix-git/doc/guix.texi:37021
  54161. #, no-wrap
  54162. msgid "{Data Type} shepherd-action"
  54163. msgstr ""
  54164. #. type: deftp
  54165. #: guix-git/doc/guix.texi:37024
  54166. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  54167. msgstr ""
  54168. #. type: table
  54169. #: guix-git/doc/guix.texi:37028
  54170. msgid "Symbol naming the action."
  54171. msgstr ""
  54172. #. type: table
  54173. #: guix-git/doc/guix.texi:37031
  54174. msgid "This is a documentation string for the action. It can be viewed by running:"
  54175. msgstr ""
  54176. #. type: example
  54177. #: guix-git/doc/guix.texi:37034
  54178. #, no-wrap
  54179. msgid "herd doc @var{service} action @var{action}\n"
  54180. msgstr ""
  54181. #. type: item
  54182. #: guix-git/doc/guix.texi:37036
  54183. #, no-wrap
  54184. msgid "procedure"
  54185. msgstr ""
  54186. #. type: table
  54187. #: guix-git/doc/guix.texi:37040
  54188. 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})."
  54189. msgstr ""
  54190. #. type: deftp
  54191. #: guix-git/doc/guix.texi:37044
  54192. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  54193. msgstr ""
  54194. #. type: lisp
  54195. #: guix-git/doc/guix.texi:37053
  54196. #, no-wrap
  54197. msgid ""
  54198. "(shepherd-action\n"
  54199. " (name 'say-hello)\n"
  54200. " (documentation \"Say hi!\")\n"
  54201. " (procedure #~(lambda (running . args)\n"
  54202. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  54203. " args)\n"
  54204. " #t)))\n"
  54205. msgstr ""
  54206. #. type: deftp
  54207. #: guix-git/doc/guix.texi:37056
  54208. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  54209. msgstr ""
  54210. #. type: example
  54211. #: guix-git/doc/guix.texi:37062
  54212. #, no-wrap
  54213. msgid ""
  54214. "# herd say-hello example\n"
  54215. "Hello, friend! arguments: ()\n"
  54216. "# herd say-hello example a b c\n"
  54217. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  54218. msgstr ""
  54219. #. type: deftp
  54220. #: guix-git/doc/guix.texi:37067
  54221. 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."
  54222. msgstr ""
  54223. #. type: defvr
  54224. #: guix-git/doc/guix.texi:37069
  54225. #, no-wrap
  54226. msgid "{Scheme Variable} shepherd-root-service-type"
  54227. msgstr ""
  54228. #. type: defvr
  54229. #: guix-git/doc/guix.texi:37071
  54230. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  54231. msgstr ""
  54232. #. type: defvr
  54233. #: guix-git/doc/guix.texi:37076
  54234. 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."
  54235. msgstr ""
  54236. #. type: deftp
  54237. #: guix-git/doc/guix.texi:37078
  54238. #, no-wrap
  54239. msgid "{Data Type} shepherd-configuration"
  54240. msgstr ""
  54241. #. type: deftp
  54242. #: guix-git/doc/guix.texi:37080 guix-git/doc/guix.texi:38074
  54243. msgid "This data type represents the Shepherd's configuration."
  54244. msgstr ""
  54245. #. type: item
  54246. #: guix-git/doc/guix.texi:37082 guix-git/doc/guix.texi:38076
  54247. #, no-wrap
  54248. msgid "shepherd (default: @code{shepherd})"
  54249. msgstr ""
  54250. #. type: table
  54251. #: guix-git/doc/guix.texi:37084 guix-git/doc/guix.texi:38078
  54252. msgid "The Shepherd package to use."
  54253. msgstr ""
  54254. #. type: item
  54255. #: guix-git/doc/guix.texi:37085 guix-git/doc/guix.texi:38082
  54256. #, no-wrap
  54257. msgid "services (default: @code{'()})"
  54258. msgstr ""
  54259. #. type: table
  54260. #: guix-git/doc/guix.texi:37089 guix-git/doc/guix.texi:38086
  54261. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  54262. msgstr ""
  54263. #. type: Plain text
  54264. #: guix-git/doc/guix.texi:37094
  54265. msgid "The following example specifies the Shepherd package for the operating system:"
  54266. msgstr ""
  54267. #. type: lisp
  54268. #: guix-git/doc/guix.texi:37109
  54269. #, no-wrap
  54270. msgid ""
  54271. "(operating-system\n"
  54272. " ;; ...\n"
  54273. " (services (append (list openssh-service-type))\n"
  54274. " ;; ...\n"
  54275. " %desktop-services)\n"
  54276. " ;; ...\n"
  54277. " ;; Use own Shepherd package.\n"
  54278. " (essential-services\n"
  54279. " (modify-services (operating-system-default-essential-services\n"
  54280. " this-operating-system)\n"
  54281. " (shepherd-root-service-type config => (shepherd-configuration\n"
  54282. " (inherit config)\n"
  54283. " (shepherd my-shepherd))))))\n"
  54284. msgstr ""
  54285. #. type: defvr
  54286. #: guix-git/doc/guix.texi:37111
  54287. #, no-wrap
  54288. msgid "{Scheme Variable} %shepherd-root-service"
  54289. msgstr ""
  54290. #. type: defvr
  54291. #: guix-git/doc/guix.texi:37113
  54292. msgid "This service represents PID@tie{}1."
  54293. msgstr ""
  54294. #. type: cindex
  54295. #: guix-git/doc/guix.texi:37117
  54296. #, fuzzy, no-wrap
  54297. #| msgid "Documentation"
  54298. msgid "complex configurations"
  54299. msgstr "Documentazione"
  54300. #. type: Plain text
  54301. #: guix-git/doc/guix.texi:37122
  54302. 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."
  54303. msgstr ""
  54304. #. type: Plain text
  54305. #: guix-git/doc/guix.texi:37130
  54306. 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."
  54307. msgstr ""
  54308. #. type: deffn
  54309. #: guix-git/doc/guix.texi:37131
  54310. #, no-wrap
  54311. msgid "{Scheme Syntax} define-configuration @var{name} @var{clause1} @"
  54312. msgstr ""
  54313. #. type: deffn
  54314. #: guix-git/doc/guix.texi:37135
  54315. msgid "@var{clause2} ... Create a record type named @code{@var{name}} that contains the fields found in the clauses."
  54316. msgstr ""
  54317. #. type: deffn
  54318. #: guix-git/doc/guix.texi:37137
  54319. msgid "A clause can have one of the following forms:"
  54320. msgstr ""
  54321. #. type: example
  54322. #: guix-git/doc/guix.texi:37142
  54323. #, no-wrap
  54324. msgid ""
  54325. "(@var{field-name}\n"
  54326. " (@var{type} @var{default-value})\n"
  54327. " @var{documentation})\n"
  54328. " \n"
  54329. msgstr ""
  54330. #. type: example
  54331. #: guix-git/doc/guix.texi:37147
  54332. #, no-wrap
  54333. msgid ""
  54334. "(@var{field-name}\n"
  54335. " (@var{type} @var{default-value})\n"
  54336. " @var{documentation}\n"
  54337. " @var{serializer})\n"
  54338. "\n"
  54339. msgstr ""
  54340. #. type: example
  54341. #: guix-git/doc/guix.texi:37151
  54342. #, no-wrap
  54343. msgid ""
  54344. "(@var{field-name}\n"
  54345. " (@var{type})\n"
  54346. " @var{documentation})\n"
  54347. "\n"
  54348. msgstr ""
  54349. #. type: example
  54350. #: guix-git/doc/guix.texi:37156
  54351. #, no-wrap
  54352. msgid ""
  54353. "(@var{field-name}\n"
  54354. " (@var{type})\n"
  54355. " @var{documentation}\n"
  54356. " @var{serializer})\n"
  54357. msgstr ""
  54358. #. type: deffn
  54359. #: guix-git/doc/guix.texi:37160
  54360. msgid "@var{field-name} is an identifier that denotes the name of the field in the generated record."
  54361. msgstr ""
  54362. #. type: deffn
  54363. #: guix-git/doc/guix.texi:37168
  54364. 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."
  54365. msgstr ""
  54366. #. type: deffn
  54367. #: guix-git/doc/guix.texi:37172
  54368. 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."
  54369. msgstr ""
  54370. #. type: deffn
  54371. #: guix-git/doc/guix.texi:37177
  54372. msgid "@var{documentation} is a string formatted with Texinfo syntax which should provide a description of what setting this field does."
  54373. msgstr ""
  54374. #. type: deffn
  54375. #: guix-git/doc/guix.texi:37184
  54376. 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."
  54377. msgstr ""
  54378. #. type: deffn
  54379. #: guix-git/doc/guix.texi:37186
  54380. msgid "A simple serializer procedure could look like this:"
  54381. msgstr ""
  54382. #. type: lisp
  54383. #: guix-git/doc/guix.texi:37191
  54384. #, no-wrap
  54385. msgid ""
  54386. "(define (serialize-boolean field-name value)\n"
  54387. " (let ((value (if value \"true\" \"false\")))\n"
  54388. " #~(string-append #$field-name #$value)))\n"
  54389. msgstr ""
  54390. #. type: deffn
  54391. #: guix-git/doc/guix.texi:37202
  54392. 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."
  54393. msgstr ""
  54394. #. type: lisp
  54395. #: guix-git/doc/guix.texi:37206
  54396. #, no-wrap
  54397. msgid ""
  54398. "(define (foo-serialize-string field-name value)\n"
  54399. " @dots{})\n"
  54400. "\n"
  54401. msgstr ""
  54402. #. type: lisp
  54403. #: guix-git/doc/guix.texi:37209
  54404. #, no-wrap
  54405. msgid ""
  54406. "(define (bar-serialize-string field-name value)\n"
  54407. " @dots{})\n"
  54408. " \n"
  54409. msgstr ""
  54410. #. type: lisp
  54411. #: guix-git/doc/guix.texi:37215
  54412. #, no-wrap
  54413. msgid ""
  54414. "(define-configuration foo-configuration\n"
  54415. " (label\n"
  54416. " (string)\n"
  54417. " \"The name of label.\")\n"
  54418. " (prefix foo-))\n"
  54419. "\n"
  54420. msgstr ""
  54421. #. type: lisp
  54422. #: guix-git/doc/guix.texi:37221
  54423. #, no-wrap
  54424. msgid ""
  54425. "(define-configuration bar-configuration\n"
  54426. " (ip-address\n"
  54427. " (string)\n"
  54428. " \"The IPv4 address for this device.\")\n"
  54429. " (prefix bar-))\n"
  54430. msgstr ""
  54431. #. type: deffn
  54432. #: guix-git/doc/guix.texi:37227
  54433. 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."
  54434. msgstr ""
  54435. #. type: lisp
  54436. #: guix-git/doc/guix.texi:37235
  54437. #, no-wrap
  54438. msgid ""
  54439. ";; Nothing will be serialized to disk.\n"
  54440. "(define-configuration foo-configuration\n"
  54441. " (field\n"
  54442. " (string \"test\")\n"
  54443. " \"Some documentation.\")\n"
  54444. " (no-serialization))\n"
  54445. "\n"
  54446. msgstr ""
  54447. #. type: lisp
  54448. #: guix-git/doc/guix.texi:37241
  54449. #, no-wrap
  54450. msgid ""
  54451. ";; The same thing as above.\n"
  54452. "(define-configuration/no-serialization bar-configuration\n"
  54453. " (field\n"
  54454. " (string \"test\")\n"
  54455. " \"Some documentation.\"))\n"
  54456. msgstr ""
  54457. #. type: deffn
  54458. #: guix-git/doc/guix.texi:37244
  54459. #, no-wrap
  54460. msgid "{Scheme Syntax} define-maybe @var{type}"
  54461. msgstr ""
  54462. #. type: deffn
  54463. #: guix-git/doc/guix.texi:37249
  54464. 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."
  54465. msgstr ""
  54466. #. type: deffn
  54467. #: guix-git/doc/guix.texi:37256
  54468. 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."
  54469. msgstr ""
  54470. #. type: lisp
  54471. #: guix-git/doc/guix.texi:37259
  54472. #, no-wrap
  54473. msgid ""
  54474. "(define-maybe string)\n"
  54475. "\n"
  54476. msgstr ""
  54477. #. type: lisp
  54478. #: guix-git/doc/guix.texi:37262
  54479. #, no-wrap
  54480. msgid ""
  54481. "(define (serialize-string field-name value)\n"
  54482. " @dots{})\n"
  54483. "\n"
  54484. msgstr ""
  54485. #. type: lisp
  54486. #: guix-git/doc/guix.texi:37269
  54487. #, no-wrap
  54488. msgid ""
  54489. "(define-configuration baz-configuration\n"
  54490. " (name\n"
  54491. " ;; Nothing will be serialized by default. If set to a string, the\n"
  54492. " ;; `serialize-string' procedure will be used to serialize the string.\n"
  54493. " (maybe-string 'disabled)\n"
  54494. " \"The name of this module.\"))\n"
  54495. msgstr ""
  54496. #. type: deffn
  54497. #: guix-git/doc/guix.texi:37273
  54498. msgid "Like with @code{define-configuration}, one can set a prefix for the serializer name by using the @code{prefix} literal."
  54499. msgstr ""
  54500. #. type: lisp
  54501. #: guix-git/doc/guix.texi:37277
  54502. #, no-wrap
  54503. msgid ""
  54504. "(define-maybe integer\n"
  54505. " (prefix baz-))\n"
  54506. "\n"
  54507. msgstr ""
  54508. #. type: lisp
  54509. #: guix-git/doc/guix.texi:37280
  54510. #, no-wrap
  54511. msgid ""
  54512. "(define (baz-serialize-interger field-name value)\n"
  54513. " @dots{})\n"
  54514. msgstr ""
  54515. #. type: deffn
  54516. #: guix-git/doc/guix.texi:37287
  54517. 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."
  54518. msgstr ""
  54519. #. type: lisp
  54520. #: guix-git/doc/guix.texi:37290
  54521. #, no-wrap
  54522. msgid ""
  54523. "(define-maybe/no-serialization symbol)\n"
  54524. "\n"
  54525. msgstr ""
  54526. #. type: lisp
  54527. #: guix-git/doc/guix.texi:37295
  54528. #, no-wrap
  54529. msgid ""
  54530. "(define-configuration/no-serialization test-configuration\n"
  54531. " (mode\n"
  54532. " (maybe-symbol 'disabled)\n"
  54533. " \"Docstring.\"))\n"
  54534. msgstr ""
  54535. #. type: deffn
  54536. #: guix-git/doc/guix.texi:37298
  54537. #, no-wrap
  54538. msgid "{Scheme Procedure} serialize-configuration @var{configuration} @"
  54539. msgstr ""
  54540. #. type: deffn
  54541. #: guix-git/doc/guix.texi:37304
  54542. 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}."
  54543. msgstr ""
  54544. #. type: deffn
  54545. #: guix-git/doc/guix.texi:37306
  54546. #, no-wrap
  54547. msgid "{Scheme Procedure} validate-configuration @var{configuration}"
  54548. msgstr ""
  54549. #. type: deffn
  54550. #: guix-git/doc/guix.texi:37310
  54551. msgid "@var{fields} Type-check @var{fields}, a list of field names of @var{configuration}, a configuration record created by @code{define-configuration}."
  54552. msgstr ""
  54553. #. type: deffn
  54554. #: guix-git/doc/guix.texi:37312
  54555. #, no-wrap
  54556. msgid "{Scheme Procedure} empty-serializer @var{field-name} @var{value}"
  54557. msgstr ""
  54558. #. type: deffn
  54559. #: guix-git/doc/guix.texi:37315
  54560. msgid "A serializer that just returns an empty string. The @code{serialize-package} procedure is an alias for this."
  54561. msgstr ""
  54562. #. type: Plain text
  54563. #: guix-git/doc/guix.texi:37320
  54564. 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."
  54565. msgstr ""
  54566. #. type: deffn
  54567. #: guix-git/doc/guix.texi:37321
  54568. #, no-wrap
  54569. msgid "{Scheme Procedure} generate-documentation @var{documentation} @"
  54570. msgstr ""
  54571. #. type: deffn
  54572. #: guix-git/doc/guix.texi:37328
  54573. 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."
  54574. msgstr ""
  54575. #. type: deffn
  54576. #: guix-git/doc/guix.texi:37333
  54577. 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."
  54578. msgstr ""
  54579. #. type: deffn
  54580. #: guix-git/doc/guix.texi:37340
  54581. 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}."
  54582. msgstr ""
  54583. #. type: lisp
  54584. #: guix-git/doc/guix.texi:37347
  54585. #, no-wrap
  54586. msgid ""
  54587. "(generate-documentation\n"
  54588. " `((getmail-configuration ,getmail-configuration-fields\n"
  54589. " (rcfile getmail-configuration-file))\n"
  54590. " @dots{})\n"
  54591. " 'getmail-configuration)\n"
  54592. msgstr ""
  54593. #. type: deffn
  54594. #: guix-git/doc/guix.texi:37351
  54595. msgid "@var{documentation-name} should be a symbol and should be the name of the configuration record."
  54596. msgstr ""
  54597. #. type: deffn
  54598. #: guix-git/doc/guix.texi:37354
  54599. #, no-wrap
  54600. msgid "{Scheme Procedure} configuration->documentation"
  54601. msgstr ""
  54602. #. type: deffn
  54603. #: guix-git/doc/guix.texi:37361
  54604. 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."
  54605. msgstr ""
  54606. #. type: Plain text
  54607. #: guix-git/doc/guix.texi:37369
  54608. 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."
  54609. msgstr ""
  54610. #. type: Plain text
  54611. #: guix-git/doc/guix.texi:37373
  54612. msgid "Below is an example of a record type created using @code{define-configuration} and friends."
  54613. msgstr ""
  54614. #. type: lisp
  54615. #: guix-git/doc/guix.texi:37380
  54616. #, no-wrap
  54617. msgid ""
  54618. "(use-modules (gnu services)\n"
  54619. " (guix gexp)\n"
  54620. " (gnu services configuration)\n"
  54621. " (srfi srfi-26)\n"
  54622. " (srfi srfi-1))\n"
  54623. "\n"
  54624. msgstr ""
  54625. #. type: lisp
  54626. #: guix-git/doc/guix.texi:37388
  54627. #, no-wrap
  54628. msgid ""
  54629. ";; Turn field names, which are Scheme symbols into strings\n"
  54630. "(define (uglify-field-name field-name)\n"
  54631. " (let ((str (symbol->string field-name)))\n"
  54632. " ;; field? -> is-field\n"
  54633. " (if (string-suffix? \"?\" str)\n"
  54634. " (string-append \"is-\" (string-drop-right str 1))\n"
  54635. " str)))\n"
  54636. "\n"
  54637. msgstr ""
  54638. #. type: lisp
  54639. #: guix-git/doc/guix.texi:37391
  54640. #, no-wrap
  54641. msgid ""
  54642. "(define (serialize-string field-name value)\n"
  54643. " #~(string-append #$(uglify-field-name field-name) \" = \" #$value \"\\n\"))\n"
  54644. "\n"
  54645. msgstr ""
  54646. #. type: lisp
  54647. #: guix-git/doc/guix.texi:37394
  54648. #, no-wrap
  54649. msgid ""
  54650. "(define (serialize-integer field-name value)\n"
  54651. " (serialize-string field-name (number->string value)))\n"
  54652. "\n"
  54653. msgstr ""
  54654. #. type: lisp
  54655. #: guix-git/doc/guix.texi:37397
  54656. #, no-wrap
  54657. msgid ""
  54658. "(define (serialize-boolean field-name value)\n"
  54659. " (serialize-string field-name (if value \"true\" \"false\")))\n"
  54660. "\n"
  54661. msgstr ""
  54662. #. type: lisp
  54663. #: guix-git/doc/guix.texi:37400
  54664. #, no-wrap
  54665. msgid ""
  54666. "(define (serialize-contact-name field-name value)\n"
  54667. " #~(string-append \"\\n[\" #$value \"]\\n\"))\n"
  54668. "\n"
  54669. msgstr ""
  54670. #. type: lisp
  54671. #: guix-git/doc/guix.texi:37403
  54672. #, no-wrap
  54673. msgid ""
  54674. "(define (list-of-contact-configurations? lst)\n"
  54675. " (every contact-configuration? lst))\n"
  54676. "\n"
  54677. msgstr ""
  54678. #. type: lisp
  54679. #: guix-git/doc/guix.texi:37408
  54680. #, no-wrap
  54681. msgid ""
  54682. "(define (serialize-list-of-contact-configurations field-name value)\n"
  54683. " #~(string-append #$@@(map (cut serialize-configuration <>\n"
  54684. " contact-configuration-fields)\n"
  54685. " value)))\n"
  54686. "\n"
  54687. msgstr ""
  54688. #. type: lisp
  54689. #: guix-git/doc/guix.texi:37415
  54690. #, no-wrap
  54691. msgid ""
  54692. "(define (serialize-contacts-list-configuration configuration)\n"
  54693. " (mixed-text-file\n"
  54694. " \"contactrc\"\n"
  54695. " #~(string-append \"[Owner]\\n\"\n"
  54696. " #$(serialize-configuration\n"
  54697. " configuration contacts-list-configuration-fields))))\n"
  54698. "\n"
  54699. msgstr ""
  54700. #. type: lisp
  54701. #: guix-git/doc/guix.texi:37418
  54702. #, no-wrap
  54703. msgid ""
  54704. "(define-maybe integer)\n"
  54705. "(define-maybe string)\n"
  54706. "\n"
  54707. msgstr ""
  54708. #. type: lisp
  54709. #: guix-git/doc/guix.texi:37433
  54710. #, no-wrap
  54711. msgid ""
  54712. "(define-configuration contact-configuration\n"
  54713. " (name\n"
  54714. " (string)\n"
  54715. " \"The name of the contact.\"\n"
  54716. " serialize-contact-name)\n"
  54717. " (phone-number\n"
  54718. " (maybe-integer 'disabled)\n"
  54719. " \"The person's phone number.\")\n"
  54720. " (email\n"
  54721. " (maybe-string 'disabled)\n"
  54722. " \"The person's email address.\")\n"
  54723. " (married?\n"
  54724. " (boolean)\n"
  54725. " \"Whether the person is married.\"))\n"
  54726. "\n"
  54727. msgstr ""
  54728. #. type: lisp
  54729. #: guix-git/doc/guix.texi:37445
  54730. #, no-wrap
  54731. msgid ""
  54732. "(define-configuration contacts-list-configuration\n"
  54733. " (name\n"
  54734. " (string)\n"
  54735. " \"The name of the owner of this contact list.\")\n"
  54736. " (email\n"
  54737. " (string)\n"
  54738. " \"The owner's email address.\")\n"
  54739. " (contacts\n"
  54740. " (list-of-contact-configurations '())\n"
  54741. " \"A list of @@code@{contact-configuation@} records which contain\n"
  54742. "information about all your contacts.\"))\n"
  54743. msgstr ""
  54744. #. type: Plain text
  54745. #: guix-git/doc/guix.texi:37448
  54746. msgid "A contacts list configuration could then be created like this:"
  54747. msgstr ""
  54748. #. type: lisp
  54749. #: guix-git/doc/guix.texi:37464
  54750. #, no-wrap
  54751. msgid ""
  54752. "(define my-contacts\n"
  54753. " (contacts-list-configuration\n"
  54754. " (name \"Alice\")\n"
  54755. " (email \"alice@@example.org\")\n"
  54756. " (contacts\n"
  54757. " (list (contact-configuration\n"
  54758. " (name \"Bob\")\n"
  54759. " (phone-number 1234)\n"
  54760. " (email \"bob@@gnu.org\")\n"
  54761. " (married? #f))\n"
  54762. " (contact-configuration\n"
  54763. " (name \"Charlie\")\n"
  54764. " (phone-number 0000)\n"
  54765. " (married? #t))))))\n"
  54766. msgstr ""
  54767. #. type: Plain text
  54768. #: guix-git/doc/guix.texi:37468
  54769. msgid "After serializing the configuration to disk, the resulting file would look like this:"
  54770. msgstr ""
  54771. #. type: example
  54772. #: guix-git/doc/guix.texi:37473
  54773. #, no-wrap
  54774. msgid ""
  54775. "[owner]\n"
  54776. "name = Alice\n"
  54777. "email = alice@@example.org\n"
  54778. "\n"
  54779. msgstr ""
  54780. #. type: example
  54781. #: guix-git/doc/guix.texi:37478
  54782. #, no-wrap
  54783. msgid ""
  54784. "[Bob]\n"
  54785. "phone-number = 1234\n"
  54786. "email = bob@@gnu.org\n"
  54787. "is-married = false\n"
  54788. "\n"
  54789. msgstr ""
  54790. #. type: example
  54791. #: guix-git/doc/guix.texi:37482
  54792. #, no-wrap
  54793. msgid ""
  54794. "[Charlie]\n"
  54795. "phone-number = 0\n"
  54796. "is-married = true\n"
  54797. msgstr ""
  54798. #. type: cindex
  54799. #: guix-git/doc/guix.texi:37487
  54800. #, no-wrap
  54801. msgid "home configuration"
  54802. msgstr ""
  54803. #. type: Plain text
  54804. #: guix-git/doc/guix.texi:37499
  54805. 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})."
  54806. msgstr ""
  54807. #. type: Plain text
  54808. #: guix-git/doc/guix.texi:37516
  54809. 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."
  54810. msgstr ""
  54811. #. type: Plain text
  54812. #: guix-git/doc/guix.texi:37519
  54813. msgid "Using Guix for managing home environments provides a number of advantages:"
  54814. msgstr ""
  54815. #. type: item
  54816. #: guix-git/doc/guix.texi:37522
  54817. #, no-wrap
  54818. msgid "All software can be configured in one language (Guile Scheme),"
  54819. msgstr ""
  54820. #. type: itemize
  54821. #: guix-git/doc/guix.texi:37525
  54822. msgid "this gives users the ability to share values between configurations of different programs."
  54823. msgstr ""
  54824. #. type: item
  54825. #: guix-git/doc/guix.texi:37526
  54826. #, no-wrap
  54827. msgid "A well-defined home environment is self-contained and can be"
  54828. msgstr ""
  54829. #. type: itemize
  54830. #: guix-git/doc/guix.texi:37529
  54831. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  54832. msgstr ""
  54833. #. type: item
  54834. #: guix-git/doc/guix.texi:37530
  54835. #, no-wrap
  54836. msgid "After every @command{guix home reconfigure} invocation, a new home"
  54837. msgstr ""
  54838. #. type: itemize
  54839. #: guix-git/doc/guix.texi:37534
  54840. 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."
  54841. msgstr ""
  54842. #. type: item
  54843. #: guix-git/doc/guix.texi:37535
  54844. #, no-wrap
  54845. msgid "It is possible to manage stateful data with Guix Home, this"
  54846. msgstr ""
  54847. #. type: itemize
  54848. #: guix-git/doc/guix.texi:37540
  54849. 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."
  54850. msgstr ""
  54851. #. type: section
  54852. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37550
  54853. #: guix-git/doc/guix.texi:37551
  54854. #, no-wrap
  54855. msgid "Declaring the Home Environment"
  54856. msgstr ""
  54857. #. type: menuentry
  54858. #: guix-git/doc/guix.texi:37548
  54859. msgid "Customizing your Home."
  54860. msgstr ""
  54861. #. type: section
  54862. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37618
  54863. #: guix-git/doc/guix.texi:37619
  54864. #, no-wrap
  54865. msgid "Configuring the Shell"
  54866. msgstr ""
  54867. #. type: menuentry
  54868. #: guix-git/doc/guix.texi:37548
  54869. msgid "Enabling home environment."
  54870. msgstr ""
  54871. #. type: section
  54872. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37665
  54873. #: guix-git/doc/guix.texi:37666
  54874. #, fuzzy, no-wrap
  54875. #| msgid "Services"
  54876. msgid "Home Services"
  54877. msgstr "Servizi"
  54878. #. type: menuentry
  54879. #: guix-git/doc/guix.texi:37548
  54880. msgid "Specifying home services."
  54881. msgstr ""
  54882. #. type: menuentry
  54883. #: guix-git/doc/guix.texi:37548
  54884. msgid "Instantiating a home configuration."
  54885. msgstr ""
  54886. #. type: Plain text
  54887. #: guix-git/doc/guix.texi:37557
  54888. 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}:"
  54889. msgstr ""
  54890. #. type: example
  54891. #: guix-git/doc/guix.texi:37560
  54892. #, no-wrap
  54893. msgid "guix home import ~/src/guix-config\n"
  54894. msgstr ""
  54895. #. type: Plain text
  54896. #: guix-git/doc/guix.texi:37568
  54897. 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."
  54898. msgstr ""
  54899. #. type: Plain text
  54900. #: guix-git/doc/guix.texi:37574
  54901. 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."
  54902. msgstr ""
  54903. #. type: quotation
  54904. #: guix-git/doc/guix.texi:37580
  54905. 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})."
  54906. msgstr ""
  54907. #. type: findex
  54908. #: guix-git/doc/guix.texi:37582
  54909. #, no-wrap
  54910. msgid "home-environment"
  54911. msgstr ""
  54912. #. type: include
  54913. #: guix-git/doc/guix.texi:37584
  54914. #, no-wrap
  54915. msgid "he-config-bare-bones.scm"
  54916. msgstr ""
  54917. #. type: Plain text
  54918. #: guix-git/doc/guix.texi:37591
  54919. 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."
  54920. msgstr ""
  54921. #. type: Plain text
  54922. #: guix-git/doc/guix.texi:37599
  54923. 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."
  54924. msgstr ""
  54925. #. type: Plain text
  54926. #: guix-git/doc/guix.texi:37602
  54927. msgid "Once you have a configuration file that suits your needs, you can reconfigure your home by running:"
  54928. msgstr ""
  54929. #. type: example
  54930. #: guix-git/doc/guix.texi:37605
  54931. #, no-wrap
  54932. msgid "guix home reconfigure config.scm\n"
  54933. msgstr ""
  54934. #. type: Plain text
  54935. #: guix-git/doc/guix.texi:37609
  54936. msgid "This ``builds'' your home environment and creates @file{~/.guix-home} pointing to it. Voilà!"
  54937. msgstr ""
  54938. #. type: quotation
  54939. #: guix-git/doc/guix.texi:37616
  54940. 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."
  54941. msgstr ""
  54942. #. type: Plain text
  54943. #: guix-git/doc/guix.texi:37622
  54944. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  54945. msgstr ""
  54946. #. type: Plain text
  54947. #: guix-git/doc/guix.texi:37629
  54948. 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}."
  54949. msgstr ""
  54950. #. type: Plain text
  54951. #: guix-git/doc/guix.texi:37636
  54952. 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}."
  54953. msgstr ""
  54954. #. type: Plain text
  54955. #: guix-git/doc/guix.texi:37639
  54956. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  54957. msgstr ""
  54958. #. type: example
  54959. #: guix-git/doc/guix.texi:37644
  54960. #, no-wrap
  54961. msgid ""
  54962. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  54963. ". $HOME_ENVIRONMENT/setup-environment\n"
  54964. "$HOME_ENVIRONMENT/on-first-login\n"
  54965. msgstr ""
  54966. #. type: Plain text
  54967. #: guix-git/doc/guix.texi:37654
  54968. 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."
  54969. msgstr ""
  54970. #. type: Plain text
  54971. #: guix-git/doc/guix.texi:37659
  54972. 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}."
  54973. msgstr ""
  54974. #. type: quotation
  54975. #: guix-git/doc/guix.texi:37663
  54976. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  54977. msgstr ""
  54978. #. type: cindex
  54979. #: guix-git/doc/guix.texi:37667
  54980. #, fuzzy, no-wrap
  54981. #| msgid "Services"
  54982. msgid "home services"
  54983. msgstr "Servizi"
  54984. #. type: Plain text
  54985. #: guix-git/doc/guix.texi:37676
  54986. 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."
  54987. msgstr ""
  54988. #. type: Plain text
  54989. #: guix-git/doc/guix.texi:37684
  54990. 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}}."
  54991. msgstr ""
  54992. #. type: Plain text
  54993. #: guix-git/doc/guix.texi:37695
  54994. 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)}."
  54995. msgstr ""
  54996. #. type: subsection
  54997. #: guix-git/doc/guix.texi:37702 guix-git/doc/guix.texi:37705
  54998. #: guix-git/doc/guix.texi:37706
  54999. #, fuzzy, no-wrap
  55000. #| msgid "Services"
  55001. msgid "Essential Home Services"
  55002. msgstr "Servizi"
  55003. #. type: menuentry
  55004. #: guix-git/doc/guix.texi:37702
  55005. msgid "Environment variables, packages, on-* scripts."
  55006. msgstr ""
  55007. #. type: menuentry
  55008. #: guix-git/doc/guix.texi:37702
  55009. msgid "Shells: Shells Home Services"
  55010. msgstr ""
  55011. #. type: menuentry
  55012. #: guix-git/doc/guix.texi:37702
  55013. msgid "POSIX shells, Bash, Zsh."
  55014. msgstr ""
  55015. #. type: menuentry
  55016. #: guix-git/doc/guix.texi:37702
  55017. msgid "Mcron: Mcron Home Service"
  55018. msgstr ""
  55019. #. type: menuentry
  55020. #: guix-git/doc/guix.texi:37702
  55021. msgid "Scheduled User's Job Execution."
  55022. msgstr ""
  55023. #. type: menuentry
  55024. #: guix-git/doc/guix.texi:37702
  55025. msgid "Shepherd: Shepherd Home Service"
  55026. msgstr ""
  55027. #. type: menuentry
  55028. #: guix-git/doc/guix.texi:37702
  55029. msgid "Managing User's Daemons."
  55030. msgstr ""
  55031. #. type: menuentry
  55032. #: guix-git/doc/guix.texi:37702
  55033. #, fuzzy
  55034. #| msgid "Services"
  55035. msgid "Desktop: Desktop Home Services"
  55036. msgstr "Servizi"
  55037. #. type: menuentry
  55038. #: guix-git/doc/guix.texi:37702
  55039. msgid "Services for graphical environments."
  55040. msgstr ""
  55041. #. type: Plain text
  55042. #: guix-git/doc/guix.texi:37711
  55043. 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."
  55044. msgstr ""
  55045. #. type: cindex
  55046. #: guix-git/doc/guix.texi:37712
  55047. #, no-wrap
  55048. msgid "environment variables"
  55049. msgstr ""
  55050. #. type: defvr
  55051. #: guix-git/doc/guix.texi:37714
  55052. #, no-wrap
  55053. msgid "{Scheme Variable} home-environment-variables-service-type"
  55054. msgstr ""
  55055. #. type: defvr
  55056. #: guix-git/doc/guix.texi:37719
  55057. 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."
  55058. msgstr ""
  55059. #. type: lisp
  55060. #: guix-git/doc/guix.texi:37723
  55061. #, no-wrap
  55062. msgid ""
  55063. "(list (\"ENV_VAR1\" . \"value1\")\n"
  55064. " (\"ENV_VAR2\" . \"value2\"))\n"
  55065. msgstr ""
  55066. #. type: defvr
  55067. #: guix-git/doc/guix.texi:37728
  55068. 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)}."
  55069. msgstr ""
  55070. #. type: lisp
  55071. #: guix-git/doc/guix.texi:37736
  55072. #, no-wrap
  55073. msgid ""
  55074. "(simple-service 'some-useful-env-vars-service\n"
  55075. "\t\thome-environment-variables-service-type\n"
  55076. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  55077. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  55078. " (\"USELESS_VAR\" . #f)\n"
  55079. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  55080. msgstr ""
  55081. #. type: defvr
  55082. #: guix-git/doc/guix.texi:37741
  55083. 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):"
  55084. msgstr ""
  55085. #. type: example
  55086. #: guix-git/doc/guix.texi:37746
  55087. #, no-wrap
  55088. msgid ""
  55089. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  55090. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  55091. "export _JAVA_AWT_WM_NONREPARENTING\n"
  55092. msgstr ""
  55093. #. type: quotation
  55094. #: guix-git/doc/guix.texi:37753
  55095. 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."
  55096. msgstr ""
  55097. #. type: defvr
  55098. #: guix-git/doc/guix.texi:37766
  55099. 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."
  55100. msgstr ""
  55101. #. type: defvr
  55102. #: guix-git/doc/guix.texi:37769
  55103. #, no-wrap
  55104. msgid "{Scheme Variable} home-profile-service-type"
  55105. msgstr ""
  55106. #. type: defvr
  55107. #: guix-git/doc/guix.texi:37775
  55108. 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."
  55109. msgstr ""
  55110. #. type: defvr
  55111. #: guix-git/doc/guix.texi:37777
  55112. msgid "The extension value is just a list of packages:"
  55113. msgstr ""
  55114. #. type: lisp
  55115. #: guix-git/doc/guix.texi:37780
  55116. #, no-wrap
  55117. msgid "(list htop vim emacs)\n"
  55118. msgstr ""
  55119. #. type: defvr
  55120. #: guix-git/doc/guix.texi:37790
  55121. 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."
  55122. msgstr ""
  55123. #. type: Plain text
  55124. #: guix-git/doc/guix.texi:37794
  55125. msgid "There are few more essential services, but users are not expected to extend them."
  55126. msgstr ""
  55127. #. type: defvr
  55128. #: guix-git/doc/guix.texi:37795
  55129. #, no-wrap
  55130. msgid "{Scheme Variable} home-service-type"
  55131. msgstr ""
  55132. #. type: defvr
  55133. #: guix-git/doc/guix.texi:37800
  55134. 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."
  55135. msgstr ""
  55136. #. type: defvr
  55137. #: guix-git/doc/guix.texi:37802
  55138. #, no-wrap
  55139. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  55140. msgstr ""
  55141. #. type: defvr
  55142. #: guix-git/doc/guix.texi:37807
  55143. 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."
  55144. msgstr ""
  55145. #. type: defvr
  55146. #: guix-git/doc/guix.texi:37813
  55147. 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."
  55148. msgstr ""
  55149. #. type: defvr
  55150. #: guix-git/doc/guix.texi:37815
  55151. #, no-wrap
  55152. msgid "{Scheme Variable} home-activation-service-type"
  55153. msgstr ""
  55154. #. type: defvr
  55155. #: guix-git/doc/guix.texi:37819
  55156. 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."
  55157. msgstr ""
  55158. #. type: node
  55159. #: guix-git/doc/guix.texi:37821
  55160. #, no-wrap
  55161. msgid "Shells Home Services"
  55162. msgstr ""
  55163. #. type: subsection
  55164. #: guix-git/doc/guix.texi:37822
  55165. #, no-wrap
  55166. msgid "Shells"
  55167. msgstr ""
  55168. #. type: cindex
  55169. #: guix-git/doc/guix.texi:37824 guix-git/doc/guix.texi:38190
  55170. #, no-wrap
  55171. msgid "shell"
  55172. msgstr ""
  55173. #. type: cindex
  55174. #: guix-git/doc/guix.texi:37825
  55175. #, no-wrap
  55176. msgid "login shell"
  55177. msgstr ""
  55178. #. type: cindex
  55179. #: guix-git/doc/guix.texi:37826
  55180. #, no-wrap
  55181. msgid "interactive shell"
  55182. msgstr ""
  55183. #. type: cindex
  55184. #: guix-git/doc/guix.texi:37827 guix-git/doc/guix.texi:38192
  55185. #, no-wrap
  55186. msgid "bash"
  55187. msgstr ""
  55188. #. type: cindex
  55189. #: guix-git/doc/guix.texi:37828 guix-git/doc/guix.texi:38193
  55190. #, no-wrap
  55191. msgid "zsh"
  55192. msgstr ""
  55193. #. type: Plain text
  55194. #: guix-git/doc/guix.texi:37834
  55195. 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."
  55196. msgstr ""
  55197. #. type: Plain text
  55198. #: guix-git/doc/guix.texi:37844
  55199. 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."
  55200. msgstr ""
  55201. #. type: subsubheading
  55202. #: guix-git/doc/guix.texi:37845
  55203. #, fuzzy, no-wrap
  55204. #| msgid "Services"
  55205. msgid "Shell Profile Service"
  55206. msgstr "Servizi"
  55207. #. type: deftp
  55208. #: guix-git/doc/guix.texi:37847
  55209. #, no-wrap
  55210. msgid "{Data Type} home-shell-profile-configuration"
  55211. msgstr ""
  55212. #. type: deftp
  55213. #: guix-git/doc/guix.texi:37849
  55214. msgid "Available @code{home-shell-profile-configuration} fields are:"
  55215. msgstr ""
  55216. #. type: item
  55217. #: guix-git/doc/guix.texi:37851
  55218. #, no-wrap
  55219. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  55220. msgstr ""
  55221. #. type: table
  55222. #: guix-git/doc/guix.texi:37861
  55223. 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."
  55224. msgstr ""
  55225. #. type: subsubheading
  55226. #: guix-git/doc/guix.texi:37866
  55227. #, no-wrap
  55228. msgid "Bash Home Service"
  55229. msgstr ""
  55230. #. type: anchor{#1}
  55231. #: guix-git/doc/guix.texi:37869
  55232. msgid "home-bash-configuration"
  55233. msgstr ""
  55234. #. type: deftp
  55235. #: guix-git/doc/guix.texi:37869
  55236. #, no-wrap
  55237. msgid "{Data Type} home-bash-configuration"
  55238. msgstr ""
  55239. #. type: deftp
  55240. #: guix-git/doc/guix.texi:37871
  55241. msgid "Available @code{home-bash-configuration} fields are:"
  55242. msgstr ""
  55243. #. type: item
  55244. #: guix-git/doc/guix.texi:37873
  55245. #, no-wrap
  55246. msgid "@code{package} (default: @code{bash}) (type: package)"
  55247. msgstr ""
  55248. #. type: table
  55249. #: guix-git/doc/guix.texi:37875
  55250. msgid "The Bash package to use."
  55251. msgstr ""
  55252. #. type: item
  55253. #: guix-git/doc/guix.texi:37876
  55254. #, no-wrap
  55255. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  55256. msgstr ""
  55257. #. type: table
  55258. #: guix-git/doc/guix.texi:37879
  55259. msgid "Add sane defaults like reading @file{/etc/bashrc} and coloring the output of @command{ls} to the end of the @file{.bashrc} file."
  55260. msgstr ""
  55261. #. type: item
  55262. #: guix-git/doc/guix.texi:37880 guix-git/doc/guix.texi:37934
  55263. #: guix-git/doc/guix.texi:37973
  55264. #, no-wrap
  55265. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  55266. msgstr ""
  55267. #. type: table
  55268. #: guix-git/doc/guix.texi:37885
  55269. 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."
  55270. msgstr ""
  55271. #. type: item
  55272. #: guix-git/doc/guix.texi:37886 guix-git/doc/guix.texi:37939
  55273. #, no-wrap
  55274. msgid "@code{aliases} (default: @code{()}) (type: alist)"
  55275. msgstr ""
  55276. #. type: table
  55277. #: guix-git/doc/guix.texi:37891
  55278. 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:"
  55279. msgstr ""
  55280. #. type: lisp
  55281. #: guix-git/doc/guix.texi:37894
  55282. #, no-wrap
  55283. msgid "'((\\\"ls\\\" . \\\"ls -alF\\\"))\n"
  55284. msgstr ""
  55285. #. type: table
  55286. #: guix-git/doc/guix.texi:37897
  55287. msgid "turns into"
  55288. msgstr ""
  55289. #. type: example
  55290. #: guix-git/doc/guix.texi:37900
  55291. #, no-wrap
  55292. msgid "alias ls=\\\"ls -alF\\\"\n"
  55293. msgstr ""
  55294. #. type: item
  55295. #: guix-git/doc/guix.texi:37902 guix-git/doc/guix.texi:37943
  55296. #, no-wrap
  55297. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  55298. msgstr ""
  55299. #. type: table
  55300. #: guix-git/doc/guix.texi:37907
  55301. 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."
  55302. msgstr ""
  55303. #. type: item
  55304. #: guix-git/doc/guix.texi:37908 guix-git/doc/guix.texi:37947
  55305. #, no-wrap
  55306. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  55307. msgstr ""
  55308. #. type: table
  55309. #: guix-git/doc/guix.texi:37913
  55310. 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)."
  55311. msgstr ""
  55312. #. type: item
  55313. #: guix-git/doc/guix.texi:37914 guix-git/doc/guix.texi:37951
  55314. #, no-wrap
  55315. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  55316. msgstr ""
  55317. #. type: table
  55318. #: guix-git/doc/guix.texi:37919
  55319. 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)."
  55320. msgstr ""
  55321. #. type: Plain text
  55322. #: guix-git/doc/guix.texi:37929
  55323. 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}."
  55324. msgstr ""
  55325. #. type: deftp
  55326. #: guix-git/doc/guix.texi:37930
  55327. #, no-wrap
  55328. msgid "{Data Type} home-bash-extension"
  55329. msgstr ""
  55330. #. type: deftp
  55331. #: guix-git/doc/guix.texi:37932
  55332. msgid "Available @code{home-bash-extension} fields are:"
  55333. msgstr ""
  55334. #. type: table
  55335. #: guix-git/doc/guix.texi:37938
  55336. 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."
  55337. msgstr ""
  55338. #. type: table
  55339. #: guix-git/doc/guix.texi:37942
  55340. msgid "Additional aliases to set. These will be combined with the aliases from other extensions and the base service."
  55341. msgstr ""
  55342. #. type: table
  55343. #: guix-git/doc/guix.texi:37946
  55344. msgid "Additional text blocks to add to @file{.bash_profile}, which will be combined with text blocks from other extensions and the base service."
  55345. msgstr ""
  55346. #. type: table
  55347. #: guix-git/doc/guix.texi:37950
  55348. msgid "Additional text blocks to add to @file{.bashrc}, which will be combined with text blocks from other extensions and the base service."
  55349. msgstr ""
  55350. #. type: table
  55351. #: guix-git/doc/guix.texi:37954
  55352. msgid "Additional text blocks to add to @file{.bash_logout}, which will be combined with text blocks from other extensions and the base service."
  55353. msgstr ""
  55354. #. type: subsubheading
  55355. #: guix-git/doc/guix.texi:37958
  55356. #, fuzzy, no-wrap
  55357. #| msgid "Services"
  55358. msgid "Zsh Home Service"
  55359. msgstr "Servizi"
  55360. #. type: deftp
  55361. #: guix-git/doc/guix.texi:37960
  55362. #, no-wrap
  55363. msgid "{Data Type} home-zsh-configuration"
  55364. msgstr ""
  55365. #. type: deftp
  55366. #: guix-git/doc/guix.texi:37962
  55367. msgid "Available @code{home-zsh-configuration} fields are:"
  55368. msgstr ""
  55369. #. type: item
  55370. #: guix-git/doc/guix.texi:37964
  55371. #, no-wrap
  55372. msgid "@code{package} (default: @code{zsh}) (type: package)"
  55373. msgstr ""
  55374. #. type: table
  55375. #: guix-git/doc/guix.texi:37966
  55376. msgid "The Zsh package to use."
  55377. msgstr ""
  55378. #. type: item
  55379. #: guix-git/doc/guix.texi:37967
  55380. #, no-wrap
  55381. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  55382. msgstr ""
  55383. #. type: table
  55384. #: guix-git/doc/guix.texi:37972
  55385. 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}."
  55386. msgstr ""
  55387. #. type: table
  55388. #: guix-git/doc/guix.texi:37975
  55389. msgid "Association list of environment variables to set for the Zsh session."
  55390. msgstr ""
  55391. #. type: item
  55392. #: guix-git/doc/guix.texi:37976
  55393. #, no-wrap
  55394. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  55395. msgstr ""
  55396. #. type: table
  55397. #: guix-git/doc/guix.texi:37981
  55398. 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}."
  55399. msgstr ""
  55400. #. type: item
  55401. #: guix-git/doc/guix.texi:37982
  55402. #, no-wrap
  55403. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  55404. msgstr ""
  55405. #. type: table
  55406. #: guix-git/doc/guix.texi:37987
  55407. 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}."
  55408. msgstr ""
  55409. #. type: item
  55410. #: guix-git/doc/guix.texi:37988
  55411. #, no-wrap
  55412. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  55413. msgstr ""
  55414. #. type: table
  55415. #: guix-git/doc/guix.texi:37993
  55416. 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)."
  55417. msgstr ""
  55418. #. type: item
  55419. #: guix-git/doc/guix.texi:37994
  55420. #, no-wrap
  55421. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  55422. msgstr ""
  55423. #. type: table
  55424. #: guix-git/doc/guix.texi:37998
  55425. 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."
  55426. msgstr ""
  55427. #. type: item
  55428. #: guix-git/doc/guix.texi:37999
  55429. #, no-wrap
  55430. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  55431. msgstr ""
  55432. #. type: table
  55433. #: guix-git/doc/guix.texi:38004
  55434. 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)."
  55435. msgstr ""
  55436. #. type: node
  55437. #: guix-git/doc/guix.texi:38009
  55438. #, no-wrap
  55439. msgid "Mcron Home Service"
  55440. msgstr ""
  55441. #. type: subsection
  55442. #: guix-git/doc/guix.texi:38010
  55443. #, no-wrap
  55444. msgid "Scheduled User's Job Execution"
  55445. msgstr ""
  55446. #. type: Plain text
  55447. #: guix-git/doc/guix.texi:38023
  55448. 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."
  55449. msgstr ""
  55450. #. type: defvr
  55451. #: guix-git/doc/guix.texi:38024
  55452. #, no-wrap
  55453. msgid "{Scheme Variable} home-mcron-service-type"
  55454. msgstr ""
  55455. #. type: defvr
  55456. #: guix-git/doc/guix.texi:38028
  55457. 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."
  55458. msgstr ""
  55459. #. type: deftp
  55460. #: guix-git/doc/guix.texi:38035
  55461. #, no-wrap
  55462. msgid "{Data Type} home-mcron-configuration"
  55463. msgstr ""
  55464. #. type: node
  55465. #: guix-git/doc/guix.texi:38049
  55466. #, no-wrap
  55467. msgid "Shepherd Home Service"
  55468. msgstr ""
  55469. #. type: subsection
  55470. #: guix-git/doc/guix.texi:38050
  55471. #, no-wrap
  55472. msgid "Managing User Daemons"
  55473. msgstr ""
  55474. #. type: cindex
  55475. #: guix-git/doc/guix.texi:38052
  55476. #, no-wrap
  55477. msgid "shepherd services, for users"
  55478. msgstr ""
  55479. #. type: Plain text
  55480. #: guix-git/doc/guix.texi:38059
  55481. 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."
  55482. msgstr ""
  55483. #. type: defvr
  55484. #: guix-git/doc/guix.texi:38060
  55485. #, no-wrap
  55486. msgid "{Scheme Variable} home-shepherd-service-type"
  55487. msgstr ""
  55488. #. type: defvr
  55489. #: guix-git/doc/guix.texi:38065
  55490. 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."
  55491. msgstr ""
  55492. #. type: defvr
  55493. #: guix-git/doc/guix.texi:38070
  55494. 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."
  55495. msgstr ""
  55496. #. type: deftp
  55497. #: guix-git/doc/guix.texi:38072
  55498. #, no-wrap
  55499. msgid "{Data Type} home-shepherd-configuration"
  55500. msgstr ""
  55501. #. type: item
  55502. #: guix-git/doc/guix.texi:38079
  55503. #, no-wrap
  55504. msgid "auto-start? (default: @code{#t})"
  55505. msgstr ""
  55506. #. type: table
  55507. #: guix-git/doc/guix.texi:38081
  55508. msgid "Whether or not to start Shepherd on first login."
  55509. msgstr ""
  55510. #. type: subsection
  55511. #: guix-git/doc/guix.texi:38089 guix-git/doc/guix.texi:38090
  55512. #, fuzzy, no-wrap
  55513. #| msgid "Services"
  55514. msgid "Desktop Home Services"
  55515. msgstr "Servizi"
  55516. #. type: Plain text
  55517. #: guix-git/doc/guix.texi:38095
  55518. 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."
  55519. msgstr ""
  55520. #. type: defvr
  55521. #: guix-git/doc/guix.texi:38096
  55522. #, no-wrap
  55523. msgid "{Scheme Variable} home-redshift-service-type"
  55524. msgstr ""
  55525. #. type: defvr
  55526. #: guix-git/doc/guix.texi:38101
  55527. 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."
  55528. msgstr ""
  55529. #. type: defvr
  55530. #: guix-git/doc/guix.texi:38104
  55531. msgid "A typical configuration, where we manually specify the latitude and longitude, might look like this:"
  55532. msgstr ""
  55533. #. type: lisp
  55534. #: guix-git/doc/guix.texi:38111
  55535. #, no-wrap
  55536. msgid ""
  55537. "(service home-redshift-service-type\n"
  55538. " (home-redshift-configuration\n"
  55539. " (location-provider 'manual)\n"
  55540. " (latitude 35.81) ;northern hemisphere\n"
  55541. " (longitude -0.80))) ;west of Greenwich\n"
  55542. msgstr ""
  55543. #. type: deftp
  55544. #: guix-git/doc/guix.texi:38114
  55545. #, no-wrap
  55546. msgid "{Data Type} home-redshift-configuration"
  55547. msgstr ""
  55548. #. type: deftp
  55549. #: guix-git/doc/guix.texi:38116
  55550. msgid "Available @code{home-redshift-configuration} fields are:"
  55551. msgstr ""
  55552. #. type: item
  55553. #: guix-git/doc/guix.texi:38118
  55554. #, no-wrap
  55555. msgid "@code{redshift} (default: @code{redshift}) (type: file-like)"
  55556. msgstr ""
  55557. #. type: table
  55558. #: guix-git/doc/guix.texi:38120
  55559. msgid "Redshift package to use."
  55560. msgstr ""
  55561. #. type: item
  55562. #: guix-git/doc/guix.texi:38121
  55563. #, no-wrap
  55564. msgid "@code{location-provider} (default: @code{geoclue2}) (type: symbol)"
  55565. msgstr ""
  55566. #. type: table
  55567. #: guix-git/doc/guix.texi:38127
  55568. 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."
  55569. msgstr ""
  55570. #. type: item
  55571. #: guix-git/doc/guix.texi:38128
  55572. #, no-wrap
  55573. msgid "@code{adjustment-method} (default: @code{randr}) (type: symbol)"
  55574. msgstr ""
  55575. #. type: table
  55576. #: guix-git/doc/guix.texi:38130
  55577. msgid "Color adjustment method."
  55578. msgstr ""
  55579. #. type: item
  55580. #: guix-git/doc/guix.texi:38131
  55581. #, no-wrap
  55582. msgid "@code{daytime-temperature} (default: @code{6500}) (type: integer)"
  55583. msgstr ""
  55584. #. type: table
  55585. #: guix-git/doc/guix.texi:38133
  55586. msgid "Daytime color temperature (kelvins)."
  55587. msgstr ""
  55588. #. type: item
  55589. #: guix-git/doc/guix.texi:38134
  55590. #, no-wrap
  55591. msgid "@code{nighttime-temperature} (default: @code{4500}) (type: integer)"
  55592. msgstr ""
  55593. #. type: table
  55594. #: guix-git/doc/guix.texi:38136
  55595. msgid "Nighttime color temperature (kelvins)."
  55596. msgstr ""
  55597. #. type: item
  55598. #: guix-git/doc/guix.texi:38137
  55599. #, no-wrap
  55600. msgid "@code{daytime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  55601. msgstr ""
  55602. #. type: table
  55603. #: guix-git/doc/guix.texi:38139
  55604. msgid "Daytime screen brightness, between 0.1 and 1.0."
  55605. msgstr ""
  55606. #. type: item
  55607. #: guix-git/doc/guix.texi:38140
  55608. #, no-wrap
  55609. msgid "@code{nighttime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  55610. msgstr ""
  55611. #. type: table
  55612. #: guix-git/doc/guix.texi:38142
  55613. msgid "Nighttime screen brightness, between 0.1 and 1.0."
  55614. msgstr ""
  55615. #. type: item
  55616. #: guix-git/doc/guix.texi:38143
  55617. #, no-wrap
  55618. msgid "@code{latitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  55619. msgstr ""
  55620. #. type: table
  55621. #: guix-git/doc/guix.texi:38145
  55622. msgid "Latitude, when @code{location-provider} is @code{'manual}."
  55623. msgstr ""
  55624. #. type: item
  55625. #: guix-git/doc/guix.texi:38146
  55626. #, no-wrap
  55627. msgid "@code{longitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  55628. msgstr ""
  55629. #. type: table
  55630. #: guix-git/doc/guix.texi:38148
  55631. msgid "Longitude, when @code{location-provider} is @code{'manual}."
  55632. msgstr ""
  55633. #. type: item
  55634. #: guix-git/doc/guix.texi:38149
  55635. #, no-wrap
  55636. msgid "@code{dawn-time} (default: @code{disabled}) (type: maybe-string)"
  55637. msgstr ""
  55638. #. type: table
  55639. #: guix-git/doc/guix.texi:38153
  55640. 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."
  55641. msgstr ""
  55642. #. type: item
  55643. #: guix-git/doc/guix.texi:38154
  55644. #, no-wrap
  55645. msgid "@code{dusk-time} (default: @code{disabled}) (type: maybe-string)"
  55646. msgstr ""
  55647. #. type: table
  55648. #: guix-git/doc/guix.texi:38157
  55649. msgid "Likewise, custom time for the transition from day to night in the evening."
  55650. msgstr ""
  55651. #. type: item
  55652. #: guix-git/doc/guix.texi:38158
  55653. #, no-wrap
  55654. msgid "@code{extra-content} (default: @code{\"\"}) (type: raw-configuration-string)"
  55655. msgstr ""
  55656. #. type: table
  55657. #: guix-git/doc/guix.texi:38162
  55658. msgid "Extra content appended as-is to the Redshift configuration file. Run @command{man redshift} for more information about the configuration file format."
  55659. msgstr ""
  55660. #. type: section
  55661. #: guix-git/doc/guix.texi:38169
  55662. #, no-wrap
  55663. msgid "Invoking @code{guix home}"
  55664. msgstr ""
  55665. #. type: Plain text
  55666. #: guix-git/doc/guix.texi:38174
  55667. 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:"
  55668. msgstr ""
  55669. #. type: example
  55670. #: guix-git/doc/guix.texi:38177
  55671. #, no-wrap
  55672. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  55673. msgstr ""
  55674. #. type: Plain text
  55675. #: guix-git/doc/guix.texi:38184
  55676. 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:"
  55677. msgstr ""
  55678. #. type: table
  55679. #: guix-git/doc/guix.texi:38189
  55680. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  55681. msgstr ""
  55682. #. type: cindex
  55683. #: guix-git/doc/guix.texi:38191
  55684. #, no-wrap
  55685. msgid "shell-profile"
  55686. msgstr ""
  55687. #. type: example
  55688. #: guix-git/doc/guix.texi:38202
  55689. #, no-wrap
  55690. msgid ""
  55691. "$ guix home search shell\n"
  55692. "name: home-shell-profile\n"
  55693. "location: gnu/home/services/shells.scm:100:2\n"
  55694. "extends: home-files\n"
  55695. "description: Create `~/.profile', which is used for environment initialization of POSIX compliant login shells.\n"
  55696. "+ This service type can be extended with a list of file-like objects.\n"
  55697. "relevance: 6\n"
  55698. "\n"
  55699. msgstr ""
  55700. #. type: example
  55701. #: guix-git/doc/guix.texi:38208
  55702. #, no-wrap
  55703. msgid ""
  55704. "name: home-fish\n"
  55705. "location: gnu/home/services/shells.scm:640:2\n"
  55706. "extends: home-files home-profile\n"
  55707. "description: Install and configure Fish, the friendly interactive shell.\n"
  55708. "relevance: 3\n"
  55709. "\n"
  55710. msgstr ""
  55711. #. type: example
  55712. #: guix-git/doc/guix.texi:38214
  55713. #, no-wrap
  55714. msgid ""
  55715. "name: home-zsh\n"
  55716. "location: gnu/home/services/shells.scm:290:2\n"
  55717. "extends: home-files home-profile\n"
  55718. "description: Install and configure Zsh.\n"
  55719. "relevance: 1\n"
  55720. "\n"
  55721. msgstr ""
  55722. #. type: example
  55723. #: guix-git/doc/guix.texi:38220
  55724. #, no-wrap
  55725. msgid ""
  55726. "name: home-bash\n"
  55727. "location: gnu/home/services/shells.scm:508:2\n"
  55728. "extends: home-files home-profile\n"
  55729. "description: Install and configure GNU Bash.\n"
  55730. "relevance: 1\n"
  55731. "\n"
  55732. msgstr ""
  55733. #. type: table
  55734. #: guix-git/doc/guix.texi:38227
  55735. 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})."
  55736. msgstr ""
  55737. #. type: table
  55738. #: guix-git/doc/guix.texi:38236
  55739. 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."
  55740. msgstr ""
  55741. #. type: quotation
  55742. #: guix-git/doc/guix.texi:38241
  55743. 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})."
  55744. msgstr ""
  55745. #. type: table
  55746. #: guix-git/doc/guix.texi:38248
  55747. 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}})."
  55748. msgstr ""
  55749. #. type: table
  55750. #: guix-git/doc/guix.texi:38254
  55751. 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})."
  55752. msgstr ""
  55753. #. type: cindex
  55754. #: guix-git/doc/guix.texi:38255
  55755. #, no-wrap
  55756. msgid "provenance tracking, of the home environment"
  55757. msgstr ""
  55758. #. type: table
  55759. #: guix-git/doc/guix.texi:38260
  55760. 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:"
  55761. msgstr ""
  55762. #. type: example
  55763. #: guix-git/doc/guix.texi:38263
  55764. #, no-wrap
  55765. msgid "guix home describe\n"
  55766. msgstr ""
  55767. #. type: table
  55768. #: guix-git/doc/guix.texi:38269
  55769. 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:"
  55770. msgstr ""
  55771. #. type: example
  55772. #: guix-git/doc/guix.texi:38275
  55773. #, no-wrap
  55774. msgid ""
  55775. "guix time-machine \\\n"
  55776. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  55777. " home reconfigure \\\n"
  55778. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  55779. "\n"
  55780. msgstr ""
  55781. #. type: table
  55782. #: guix-git/doc/guix.texi:38282
  55783. 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}."
  55784. msgstr ""
  55785. #. type: cindex
  55786. #: guix-git/doc/guix.texi:38288
  55787. #, fuzzy, no-wrap
  55788. #| msgid "Documentation"
  55789. msgid "home generations"
  55790. msgstr "Documentazione"
  55791. #. type: table
  55792. #: guix-git/doc/guix.texi:38291
  55793. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  55794. msgstr ""
  55795. #. type: table
  55796. #: guix-git/doc/guix.texi:38295
  55797. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  55798. msgstr ""
  55799. #. type: example
  55800. #: guix-git/doc/guix.texi:38298
  55801. #, no-wrap
  55802. msgid "guix home switch-generation 7\n"
  55803. msgstr ""
  55804. #. type: example
  55805. #: guix-git/doc/guix.texi:38309
  55806. #, no-wrap
  55807. msgid "guix home switch-generation -- -1\n"
  55808. msgstr ""
  55809. #. type: table
  55810. #: guix-git/doc/guix.texi:38318
  55811. 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}."
  55812. msgstr ""
  55813. #. type: cindex
  55814. #: guix-git/doc/guix.texi:38320
  55815. #, no-wrap
  55816. msgid "deleting home generations"
  55817. msgstr ""
  55818. #. type: table
  55819. #: guix-git/doc/guix.texi:38325
  55820. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  55821. msgstr ""
  55822. #. type: table
  55823. #: guix-git/doc/guix.texi:38329
  55824. 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:"
  55825. msgstr ""
  55826. #. type: example
  55827. #: guix-git/doc/guix.texi:38332
  55828. #, no-wrap
  55829. msgid "guix home delete-generations\n"
  55830. msgstr ""
  55831. #. type: table
  55832. #: guix-git/doc/guix.texi:38336
  55833. 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:"
  55834. msgstr ""
  55835. #. type: example
  55836. #: guix-git/doc/guix.texi:38339
  55837. #, no-wrap
  55838. msgid "guix home delete-generations 2m\n"
  55839. msgstr ""
  55840. #. type: table
  55841. #: guix-git/doc/guix.texi:38345
  55842. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  55843. msgstr ""
  55844. #. type: table
  55845. #: guix-git/doc/guix.texi:38349
  55846. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  55847. msgstr ""
  55848. #. type: table
  55849. #: guix-git/doc/guix.texi:38355
  55850. 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})."
  55851. msgstr ""
  55852. #. type: example
  55853. #: guix-git/doc/guix.texi:38363
  55854. #, no-wrap
  55855. msgid "$ guix home list-generations 10d\n"
  55856. msgstr ""
  55857. #. type: item
  55858. #: guix-git/doc/guix.texi:38365
  55859. #, no-wrap
  55860. msgid "import"
  55861. msgstr ""
  55862. #. type: table
  55863. #: guix-git/doc/guix.texi:38372
  55864. 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})."
  55865. msgstr ""
  55866. #. type: example
  55867. #: guix-git/doc/guix.texi:38376
  55868. #, no-wrap
  55869. msgid ""
  55870. "$ guix home import ~/guix-config\n"
  55871. "guix home: '/home/alice/guix-config' populated with all the Home configuration files\n"
  55872. msgstr ""
  55873. #. type: table
  55874. #: guix-git/doc/guix.texi:38391
  55875. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  55876. msgstr ""
  55877. #. type: table
  55878. #: guix-git/doc/guix.texi:38394
  55879. msgid "Instruct @command{guix home reconfigure} to allow system downgrades."
  55880. msgstr ""
  55881. #. type: table
  55882. #: guix-git/doc/guix.texi:38401
  55883. 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!"
  55884. msgstr ""
  55885. #. type: cindex
  55886. #: guix-git/doc/guix.texi:38407
  55887. #, no-wrap
  55888. msgid "documentation, searching for"
  55889. msgstr ""
  55890. #. type: cindex
  55891. #: guix-git/doc/guix.texi:38408
  55892. #, no-wrap
  55893. msgid "searching for documentation"
  55894. msgstr ""
  55895. #. type: cindex
  55896. #: guix-git/doc/guix.texi:38409
  55897. #, no-wrap
  55898. msgid "Info, documentation format"
  55899. msgstr ""
  55900. #. type: cindex
  55901. #: guix-git/doc/guix.texi:38410
  55902. #, no-wrap
  55903. msgid "man pages"
  55904. msgstr ""
  55905. #. type: cindex
  55906. #: guix-git/doc/guix.texi:38411
  55907. #, no-wrap
  55908. msgid "manual pages"
  55909. msgstr ""
  55910. #. type: Plain text
  55911. #: guix-git/doc/guix.texi:38418
  55912. 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}."
  55913. msgstr ""
  55914. #. type: Plain text
  55915. #: guix-git/doc/guix.texi:38422
  55916. 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:"
  55917. msgstr ""
  55918. #. type: example
  55919. #: guix-git/doc/guix.texi:38430
  55920. #, no-wrap
  55921. msgid ""
  55922. "$ info -k TLS\n"
  55923. "\"(emacs)Network Security\" -- STARTTLS\n"
  55924. "\"(emacs)Network Security\" -- TLS\n"
  55925. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  55926. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  55927. "@dots{}\n"
  55928. msgstr ""
  55929. #. type: Plain text
  55930. #: guix-git/doc/guix.texi:38436
  55931. 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.}:"
  55932. msgstr ""
  55933. #. type: example
  55934. #: guix-git/doc/guix.texi:38442
  55935. #, no-wrap
  55936. msgid ""
  55937. "$ man -k TLS\n"
  55938. "SSL (7) - OpenSSL SSL/TLS library\n"
  55939. "certtool (1) - GnuTLS certificate tool\n"
  55940. "@dots {}\n"
  55941. msgstr ""
  55942. #. type: Plain text
  55943. #: guix-git/doc/guix.texi:38448
  55944. 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."
  55945. msgstr ""
  55946. #. type: Plain text
  55947. #: guix-git/doc/guix.texi:38451
  55948. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  55949. msgstr ""
  55950. #. type: example
  55951. #: guix-git/doc/guix.texi:38454
  55952. #, no-wrap
  55953. msgid "$ info \"(gnutls)Core TLS API\"\n"
  55954. msgstr ""
  55955. #. type: Plain text
  55956. #: guix-git/doc/guix.texi:38458
  55957. msgid "or:"
  55958. msgstr ""
  55959. #. type: example
  55960. #: guix-git/doc/guix.texi:38461
  55961. #, no-wrap
  55962. msgid "$ man certtool\n"
  55963. msgstr ""
  55964. #. type: Plain text
  55965. #: guix-git/doc/guix.texi:38469
  55966. 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."
  55967. msgstr ""
  55968. #. type: cindex
  55969. #: guix-git/doc/guix.texi:38473
  55970. #, no-wrap
  55971. msgid "debugging files"
  55972. msgstr ""
  55973. #. type: Plain text
  55974. #: guix-git/doc/guix.texi:38479
  55975. 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."
  55976. msgstr ""
  55977. #. type: Plain text
  55978. #: guix-git/doc/guix.texi:38483
  55979. 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."
  55980. msgstr ""
  55981. #. type: Plain text
  55982. #: guix-git/doc/guix.texi:38499
  55983. 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})."
  55984. msgstr ""
  55985. #. type: Plain text
  55986. #: guix-git/doc/guix.texi:38506
  55987. 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})."
  55988. msgstr ""
  55989. #. type: Plain text
  55990. #: guix-git/doc/guix.texi:38514
  55991. 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:"
  55992. msgstr ""
  55993. #. type: example
  55994. #: guix-git/doc/guix.texi:38517
  55995. #, no-wrap
  55996. msgid "guix install glibc:debug guile:debug\n"
  55997. msgstr ""
  55998. #. type: Plain text
  55999. #: guix-git/doc/guix.texi:38523
  56000. 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}):"
  56001. msgstr ""
  56002. #. type: example
  56003. #: guix-git/doc/guix.texi:38526
  56004. #, no-wrap
  56005. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  56006. msgstr ""
  56007. #. type: Plain text
  56008. #: guix-git/doc/guix.texi:38530
  56009. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  56010. msgstr ""
  56011. #. type: Plain text
  56012. #: guix-git/doc/guix.texi:38535
  56013. 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."
  56014. msgstr ""
  56015. #. type: example
  56016. #: guix-git/doc/guix.texi:38543
  56017. #, no-wrap
  56018. msgid ""
  56019. "guile\n"
  56020. "(use-modules (gdb))\n"
  56021. "(execute (string-append \"set debug-file-directory \"\n"
  56022. " (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\")\n"
  56023. " \"~/.guix-profile/lib/debug\")))\n"
  56024. "end\n"
  56025. msgstr ""
  56026. #. type: Plain text
  56027. #: guix-git/doc/guix.texi:38551
  56028. 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})."
  56029. msgstr ""
  56030. #. type: Plain text
  56031. #: guix-git/doc/guix.texi:38559
  56032. 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})."
  56033. msgstr ""
  56034. #. type: Plain text
  56035. #: guix-git/doc/guix.texi:38561
  56036. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  56037. msgstr ""
  56038. #. type: Plain text
  56039. #: guix-git/doc/guix.texi:38573
  56040. 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."
  56041. msgstr ""
  56042. #. type: Plain text
  56043. #: guix-git/doc/guix.texi:38578
  56044. 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:"
  56045. msgstr ""
  56046. #. type: example
  56047. #: guix-git/doc/guix.texi:38589
  56048. #, no-wrap
  56049. msgid ""
  56050. "(gdb) bt\n"
  56051. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  56052. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  56053. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  56054. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  56055. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  56056. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  56057. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  56058. " at dl-init.c:118\n"
  56059. msgstr ""
  56060. #. type: Plain text
  56061. #: guix-git/doc/guix.texi:38593
  56062. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  56063. msgstr ""
  56064. #. type: Plain text
  56065. #: guix-git/doc/guix.texi:38599
  56066. msgid "This time, debugging will be a whole lot nicer:"
  56067. msgstr ""
  56068. #. type: example
  56069. #: guix-git/doc/guix.texi:38617
  56070. #, no-wrap
  56071. msgid ""
  56072. "$ gdb --args sh -c 'exec inkscape'\n"
  56073. "@dots{}\n"
  56074. "(gdb) b g_getenv\n"
  56075. "Function \"g_getenv\" not defined.\n"
  56076. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  56077. "Breakpoint 1 (g_getenv) pending.\n"
  56078. "(gdb) r\n"
  56079. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  56080. "@dots{}\n"
  56081. "(gdb) bt\n"
  56082. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  56083. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  56084. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  56085. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  56086. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  56087. "@dots{}\n"
  56088. msgstr ""
  56089. #. type: Plain text
  56090. #: guix-git/doc/guix.texi:38620
  56091. msgid "Much better!"
  56092. msgstr ""
  56093. #. type: Plain text
  56094. #: guix-git/doc/guix.texi:38624
  56095. 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."
  56096. msgstr ""
  56097. #. type: cindex
  56098. #: guix-git/doc/guix.texi:38628
  56099. #, no-wrap
  56100. msgid "security updates"
  56101. msgstr ""
  56102. #. type: Plain text
  56103. #: guix-git/doc/guix.texi:38637
  56104. 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:"
  56105. msgstr ""
  56106. #. type: smallexample
  56107. #: guix-git/doc/guix.texi:38644
  56108. #, no-wrap
  56109. msgid ""
  56110. "$ guix lint -c cve\n"
  56111. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  56112. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  56113. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  56114. "@dots{}\n"
  56115. msgstr ""
  56116. #. type: Plain text
  56117. #: guix-git/doc/guix.texi:38647
  56118. msgid "@xref{Invoking guix lint}, for more information."
  56119. msgstr ""
  56120. #. type: Plain text
  56121. #: guix-git/doc/guix.texi:38656
  56122. 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."
  56123. msgstr ""
  56124. #. type: cindex
  56125. #: guix-git/doc/guix.texi:38657
  56126. #, no-wrap
  56127. msgid "grafts"
  56128. msgstr ""
  56129. #. type: Plain text
  56130. #: guix-git/doc/guix.texi:38665
  56131. 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."
  56132. msgstr ""
  56133. #. type: cindex
  56134. #: guix-git/doc/guix.texi:38666
  56135. #, no-wrap
  56136. msgid "replacements of packages, for grafts"
  56137. msgstr ""
  56138. #. type: Plain text
  56139. #: guix-git/doc/guix.texi:38672
  56140. 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:"
  56141. msgstr ""
  56142. #. type: lisp
  56143. #: guix-git/doc/guix.texi:38679
  56144. #, no-wrap
  56145. msgid ""
  56146. "(define bash\n"
  56147. " (package\n"
  56148. " (name \"bash\")\n"
  56149. " ;; @dots{}\n"
  56150. " (replacement bash-fixed)))\n"
  56151. msgstr ""
  56152. #. type: Plain text
  56153. #: guix-git/doc/guix.texi:38689
  56154. 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."
  56155. msgstr ""
  56156. #. type: Plain text
  56157. #: guix-git/doc/guix.texi:38697
  56158. 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."
  56159. msgstr ""
  56160. #. type: Plain text
  56161. #: guix-git/doc/guix.texi:38701
  56162. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  56163. msgstr ""
  56164. #. type: example
  56165. #: guix-git/doc/guix.texi:38704
  56166. #, no-wrap
  56167. msgid "guix build bash --no-grafts\n"
  56168. msgstr ""
  56169. #. type: Plain text
  56170. #: guix-git/doc/guix.texi:38708
  56171. msgid "returns the store file name of the original Bash, whereas:"
  56172. msgstr ""
  56173. #. type: example
  56174. #: guix-git/doc/guix.texi:38711
  56175. #, no-wrap
  56176. msgid "guix build bash\n"
  56177. msgstr ""
  56178. #. type: Plain text
  56179. #: guix-git/doc/guix.texi:38716
  56180. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  56181. msgstr ""
  56182. #. type: Plain text
  56183. #: guix-git/doc/guix.texi:38719
  56184. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  56185. msgstr ""
  56186. #. type: example
  56187. #: guix-git/doc/guix.texi:38722
  56188. #, no-wrap
  56189. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  56190. msgstr ""
  56191. #. type: Plain text
  56192. #: guix-git/doc/guix.texi:38727
  56193. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  56194. msgstr ""
  56195. #. type: example
  56196. #: guix-git/doc/guix.texi:38730
  56197. #, no-wrap
  56198. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  56199. msgstr ""
  56200. #. type: Plain text
  56201. #: guix-git/doc/guix.texi:38734
  56202. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  56203. msgstr ""
  56204. #. type: example
  56205. #: guix-git/doc/guix.texi:38737
  56206. #, no-wrap
  56207. msgid "lsof | grep /gnu/store/.*bash\n"
  56208. msgstr ""
  56209. #. type: cindex
  56210. #: guix-git/doc/guix.texi:38745
  56211. #, no-wrap
  56212. msgid "bootstrapping"
  56213. msgstr ""
  56214. #. type: Plain text
  56215. #: guix-git/doc/guix.texi:38752
  56216. 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?"
  56217. msgstr ""
  56218. #. type: Plain text
  56219. #: guix-git/doc/guix.texi:38760
  56220. 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."
  56221. msgstr ""
  56222. #. type: cindex
  56223. #: guix-git/doc/guix.texi:38761 guix-git/doc/guix.texi:38973
  56224. #, no-wrap
  56225. msgid "bootstrap binaries"
  56226. msgstr ""
  56227. #. type: Plain text
  56228. #: guix-git/doc/guix.texi:38771
  56229. 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}."
  56230. msgstr ""
  56231. #. type: Plain text
  56232. #: guix-git/doc/guix.texi:38775
  56233. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  56234. msgstr ""
  56235. #. type: section
  56236. #: guix-git/doc/guix.texi:38782
  56237. #, no-wrap
  56238. msgid "The Reduced Binary Seed Bootstrap"
  56239. msgstr ""
  56240. #. type: Plain text
  56241. #: guix-git/doc/guix.texi:38789
  56242. 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.''"
  56243. msgstr ""
  56244. #. type: Plain text
  56245. #: guix-git/doc/guix.texi:38795
  56246. 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."
  56247. msgstr ""
  56248. #. type: Plain text
  56249. #: guix-git/doc/guix.texi:38800
  56250. 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.}."
  56251. msgstr ""
  56252. #. type: Plain text
  56253. #: guix-git/doc/guix.texi:38806
  56254. 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)."
  56255. msgstr ""
  56256. #. type: Plain text
  56257. #: guix-git/doc/guix.texi:38811
  56258. 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."
  56259. msgstr ""
  56260. #. type: Plain text
  56261. #: guix-git/doc/guix.texi:38819
  56262. 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."
  56263. msgstr ""
  56264. #. type: Plain text
  56265. #: guix-git/doc/guix.texi:38829
  56266. 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."
  56267. msgstr ""
  56268. #. type: Plain text
  56269. #: guix-git/doc/guix.texi:38833
  56270. 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."
  56271. msgstr ""
  56272. #. type: Plain text
  56273. #: guix-git/doc/guix.texi:38836
  56274. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  56275. msgstr ""
  56276. #. type: Plain text
  56277. #: guix-git/doc/guix.texi:38843
  56278. 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.}."
  56279. msgstr ""
  56280. #. type: Plain text
  56281. #: guix-git/doc/guix.texi:38846
  56282. 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}."
  56283. msgstr ""
  56284. #. type: Plain text
  56285. #: guix-git/doc/guix.texi:38851
  56286. 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."
  56287. msgstr ""
  56288. #. type: Plain text
  56289. #: guix-git/doc/guix.texi:38855
  56290. 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}."
  56291. msgstr ""
  56292. #. type: Plain text
  56293. #: guix-git/doc/guix.texi:38862
  56294. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  56295. msgstr ""
  56296. #. type: Plain text
  56297. #: guix-git/doc/guix.texi:38867
  56298. 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:"
  56299. msgstr ""
  56300. #. type: example
  56301. #: guix-git/doc/guix.texi:38872
  56302. #, no-wrap
  56303. msgid ""
  56304. "guix graph -t derivation \\\n"
  56305. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  56306. " | dot -Tps > gcc.ps\n"
  56307. msgstr ""
  56308. #. type: Plain text
  56309. #: guix-git/doc/guix.texi:38875
  56310. msgid "or, for the further Reduced Binary Seed bootstrap"
  56311. msgstr ""
  56312. #. type: example
  56313. #: guix-git/doc/guix.texi:38880
  56314. #, no-wrap
  56315. msgid ""
  56316. "guix graph -t derivation \\\n"
  56317. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  56318. " | dot -Tps > mes.ps\n"
  56319. msgstr ""
  56320. #. type: Plain text
  56321. #: guix-git/doc/guix.texi:38889
  56322. 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})."
  56323. msgstr ""
  56324. #. type: Plain text
  56325. #: guix-git/doc/guix.texi:38898
  56326. 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."
  56327. msgstr ""
  56328. #. type: Plain text
  56329. #: guix-git/doc/guix.texi:38910
  56330. 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})."
  56331. msgstr ""
  56332. #. type: Plain text
  56333. #: guix-git/doc/guix.texi:38915
  56334. 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."
  56335. msgstr ""
  56336. #. type: unnumberedsec
  56337. #: guix-git/doc/guix.texi:38916
  56338. #, no-wrap
  56339. msgid "Building the Build Tools"
  56340. msgstr ""
  56341. #. type: Plain text
  56342. #: guix-git/doc/guix.texi:38925
  56343. 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."
  56344. msgstr ""
  56345. #. type: Plain text
  56346. #: guix-git/doc/guix.texi:38932
  56347. 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:"
  56348. msgstr ""
  56349. #. type: example
  56350. #: guix-git/doc/guix.texi:38937
  56351. #, no-wrap
  56352. msgid ""
  56353. "guix graph -t bag \\\n"
  56354. " -e '(@@@@ (gnu packages commencement)\n"
  56355. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  56356. msgstr ""
  56357. #. type: Plain text
  56358. #: guix-git/doc/guix.texi:38944
  56359. 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."
  56360. msgstr ""
  56361. #. type: Plain text
  56362. #: guix-git/doc/guix.texi:38946
  56363. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  56364. msgstr ""
  56365. #. type: Plain text
  56366. #: guix-git/doc/guix.texi:38952
  56367. 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."
  56368. msgstr ""
  56369. #. type: Plain text
  56370. #: guix-git/doc/guix.texi:38957
  56371. 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."
  56372. msgstr ""
  56373. #. type: Plain text
  56374. #: guix-git/doc/guix.texi:38963
  56375. 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."
  56376. msgstr ""
  56377. #. type: Plain text
  56378. #: guix-git/doc/guix.texi:38969
  56379. 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}})."
  56380. msgstr ""
  56381. #. type: unnumberedsec
  56382. #: guix-git/doc/guix.texi:38971
  56383. #, no-wrap
  56384. msgid "Building the Bootstrap Binaries"
  56385. msgstr ""
  56386. #. type: Plain text
  56387. #: guix-git/doc/guix.texi:38978
  56388. 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."
  56389. msgstr ""
  56390. #. type: Plain text
  56391. #: guix-git/doc/guix.texi:38984
  56392. 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):"
  56393. msgstr ""
  56394. #. type: example
  56395. #: guix-git/doc/guix.texi:38987
  56396. #, no-wrap
  56397. msgid "guix build bootstrap-tarballs\n"
  56398. msgstr ""
  56399. #. type: Plain text
  56400. #: guix-git/doc/guix.texi:38992
  56401. 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."
  56402. msgstr ""
  56403. #. type: Plain text
  56404. #: guix-git/doc/guix.texi:38998
  56405. 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."
  56406. msgstr ""
  56407. #. type: unnumberedsec
  56408. #: guix-git/doc/guix.texi:38999
  56409. #, no-wrap
  56410. msgid "Reducing the Set of Bootstrap Binaries"
  56411. msgstr ""
  56412. #. type: Plain text
  56413. #: guix-git/doc/guix.texi:39007
  56414. 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}."
  56415. msgstr ""
  56416. #. type: Plain text
  56417. #: guix-git/doc/guix.texi:39013
  56418. 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."
  56419. msgstr ""
  56420. #. type: Plain text
  56421. #: guix-git/doc/guix.texi:39019
  56422. 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."
  56423. msgstr ""
  56424. #. type: Plain text
  56425. #: guix-git/doc/guix.texi:39028
  56426. 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."
  56427. msgstr ""
  56428. #. type: Plain text
  56429. #: guix-git/doc/guix.texi:39031
  56430. 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!"
  56431. msgstr ""
  56432. #. type: chapter
  56433. #: guix-git/doc/guix.texi:39033
  56434. #, no-wrap
  56435. msgid "Porting to a New Platform"
  56436. msgstr ""
  56437. #. type: Plain text
  56438. #: guix-git/doc/guix.texi:39042
  56439. 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."
  56440. msgstr ""
  56441. #. type: Plain text
  56442. #: guix-git/doc/guix.texi:39047
  56443. 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:"
  56444. msgstr ""
  56445. #. type: example
  56446. #: guix-git/doc/guix.texi:39050
  56447. #, no-wrap
  56448. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  56449. msgstr ""
  56450. #. type: Plain text
  56451. #: guix-git/doc/guix.texi:39057
  56452. 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."
  56453. msgstr ""
  56454. #. type: Plain text
  56455. #: guix-git/doc/guix.texi:39066
  56456. 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."
  56457. msgstr ""
  56458. #. type: Plain text
  56459. #: guix-git/doc/guix.texi:39075
  56460. 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."
  56461. msgstr ""
  56462. #. type: include
  56463. #: guix-git/doc/guix.texi:39077
  56464. #, no-wrap
  56465. msgid "contributing.texi"
  56466. msgstr "contributing.it.texi"
  56467. #. type: Plain text
  56468. #: guix-git/doc/guix.texi:39090
  56469. 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."
  56470. msgstr ""
  56471. #. type: Plain text
  56472. #: guix-git/doc/guix.texi:39093
  56473. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  56474. msgstr ""
  56475. #. type: Plain text
  56476. #: guix-git/doc/guix.texi:39099
  56477. 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!"
  56478. msgstr ""
  56479. #. type: cindex
  56480. #: guix-git/doc/guix.texi:39104
  56481. #, no-wrap
  56482. msgid "license, GNU Free Documentation License"
  56483. msgstr ""
  56484. #. type: include
  56485. #: guix-git/doc/guix.texi:39105
  56486. #, no-wrap
  56487. msgid "fdl-1.3.texi"
  56488. msgstr ""
  56489. #, fuzzy
  56490. #~| msgid "Channels"
  56491. #~ msgid "channel-name"
  56492. #~ msgstr "Canali"