guix-manual.fa.po 1.9 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR the authors of Guix (msgids)
  3. # This file is distributed under the same license as the guix manual package.
  4. # Soheil Khanalipur <soheil@disroot.org>, 2021.
  5. msgid ""
  6. msgstr ""
  7. "Project-Id-Version: guix manual checkout\n"
  8. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  9. "POT-Creation-Date: 2021-04-06 13:33+0200\n"
  10. "PO-Revision-Date: 2021-05-03 02:58+0000\n"
  11. "Last-Translator: Soheil Khanalipur <soheil@disroot.org>\n"
  12. "Language-Team: Persian <https://translate.fedoraproject.org/projects/guix/documentation-manual/fa/>\n"
  13. "Language: fa\n"
  14. "MIME-Version: 1.0\n"
  15. "Content-Type: text/plain; charset=UTF-8\n"
  16. "Content-Transfer-Encoding: 8bit\n"
  17. "Plural-Forms: nplurals=2; plural=n > 1;\n"
  18. "X-Generator: Weblate 4.6.1\n"
  19. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  20. #. type: chapter
  21. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  22. #. type: menuentry
  23. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  24. #: guix-git/doc/guix.texi:168
  25. #, no-wrap
  26. msgid "Contributing"
  27. msgstr ""
  28. #. type: Plain text
  29. #: guix-git/doc/contributing.texi:9
  30. 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 Freenode 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})."
  31. msgstr ""
  32. #. type: cindex
  33. #: guix-git/doc/contributing.texi:10
  34. #, no-wrap
  35. msgid "code of conduct, of contributors"
  36. msgstr ""
  37. #. type: cindex
  38. #: guix-git/doc/contributing.texi:11
  39. #, no-wrap
  40. msgid "contributor covenant"
  41. msgstr ""
  42. #. type: Plain text
  43. #: guix-git/doc/contributing.texi:17
  44. 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."
  45. msgstr ""
  46. #. type: Plain text
  47. #: guix-git/doc/contributing.texi:21
  48. 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."
  49. msgstr ""
  50. #. type: section
  51. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:34
  52. #: guix-git/doc/contributing.texi:35
  53. #, no-wrap
  54. msgid "Building from Git"
  55. msgstr ""
  56. #. type: menuentry
  57. #: guix-git/doc/contributing.texi:32
  58. msgid "The latest and greatest."
  59. msgstr ""
  60. #. type: section
  61. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:160
  62. #: guix-git/doc/contributing.texi:161
  63. #, no-wrap
  64. msgid "Running Guix Before It Is Installed"
  65. msgstr ""
  66. #. type: menuentry
  67. #: guix-git/doc/contributing.texi:32
  68. msgid "Hacker tricks."
  69. msgstr ""
  70. #. type: section
  71. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:234
  72. #: guix-git/doc/contributing.texi:235
  73. #, no-wrap
  74. msgid "The Perfect Setup"
  75. msgstr ""
  76. #. type: menuentry
  77. #: guix-git/doc/contributing.texi:32
  78. msgid "The right tools."
  79. msgstr ""
  80. #. type: section
  81. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:325
  82. #: guix-git/doc/contributing.texi:326
  83. #, no-wrap
  84. msgid "Packaging Guidelines"
  85. msgstr ""
  86. #. type: menuentry
  87. #: guix-git/doc/contributing.texi:32
  88. msgid "Growing the distribution."
  89. msgstr ""
  90. #. type: section
  91. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:873
  92. #: guix-git/doc/contributing.texi:874
  93. #, no-wrap
  94. msgid "Coding Style"
  95. msgstr ""
  96. #. type: menuentry
  97. #: guix-git/doc/contributing.texi:32
  98. msgid "Hygiene of the contributor."
  99. msgstr ""
  100. #. type: section
  101. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:972
  102. #: guix-git/doc/contributing.texi:973
  103. #, no-wrap
  104. msgid "Submitting Patches"
  105. msgstr ""
  106. #. type: menuentry
  107. #: guix-git/doc/contributing.texi:32
  108. msgid "Share your work."
  109. msgstr ""
  110. #. type: section
  111. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1198
  112. #: guix-git/doc/contributing.texi:1199
  113. #, no-wrap
  114. msgid "Tracking Bugs and Patches"
  115. msgstr ""
  116. #. type: menuentry
  117. #: guix-git/doc/contributing.texi:32
  118. msgid "Using Debbugs."
  119. msgstr ""
  120. #. type: section
  121. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1249
  122. #: guix-git/doc/contributing.texi:1250
  123. #, no-wrap
  124. msgid "Commit Access"
  125. msgstr ""
  126. #. type: menuentry
  127. #: guix-git/doc/contributing.texi:32
  128. msgid "Pushing to the official repository."
  129. msgstr ""
  130. #. type: section
  131. #: guix-git/doc/contributing.texi:32 guix-git/doc/contributing.texi:1396
  132. #: guix-git/doc/contributing.texi:1397
  133. #, no-wrap
  134. msgid "Updating the Guix Package"
  135. msgstr ""
  136. #. type: menuentry
  137. #: guix-git/doc/contributing.texi:32
  138. msgid "Updating the Guix package definition."
  139. msgstr ""
  140. #. type: Plain text
  141. #: guix-git/doc/contributing.texi:39
  142. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  143. msgstr ""
  144. #. type: example
  145. #: guix-git/doc/contributing.texi:42
  146. #, no-wrap
  147. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  148. msgstr ""
  149. #. type: cindex
  150. #: guix-git/doc/contributing.texi:44
  151. #, no-wrap
  152. msgid "authentication, of a Guix checkout"
  153. msgstr ""
  154. #. type: Plain text
  155. #: guix-git/doc/contributing.texi:49
  156. 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}):"
  157. msgstr ""
  158. #. type: example
  159. #: guix-git/doc/contributing.texi:56
  160. #, no-wrap
  161. msgid ""
  162. "git fetch origin keyring:keyring\n"
  163. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  164. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  165. msgstr ""
  166. #. type: Plain text
  167. #: guix-git/doc/contributing.texi:61
  168. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  169. msgstr ""
  170. #. type: Plain text
  171. #: guix-git/doc/contributing.texi:68
  172. 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."
  173. msgstr ""
  174. #. type: Plain text
  175. #: guix-git/doc/contributing.texi:73
  176. 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:"
  177. msgstr ""
  178. #. type: example
  179. #: guix-git/doc/contributing.texi:76
  180. #, no-wrap
  181. msgid "guix environment guix --pure\n"
  182. msgstr ""
  183. #. type: Plain text
  184. #: guix-git/doc/contributing.texi:79
  185. msgid "@xref{Invoking guix environment}, for more information on that command."
  186. msgstr ""
  187. #. type: Plain text
  188. #: guix-git/doc/contributing.texi:83
  189. 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})."
  190. msgstr ""
  191. #. type: item
  192. #: guix-git/doc/contributing.texi:85
  193. #, no-wrap
  194. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  195. msgstr ""
  196. #. type: item
  197. #: guix-git/doc/contributing.texi:86
  198. #, no-wrap
  199. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  200. msgstr ""
  201. #. type: item
  202. #: guix-git/doc/contributing.texi:87
  203. #, no-wrap
  204. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  205. msgstr ""
  206. #. type: item
  207. #: guix-git/doc/contributing.texi:88
  208. #, no-wrap
  209. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  210. msgstr ""
  211. #. type: item
  212. #: guix-git/doc/contributing.texi:89
  213. #, no-wrap
  214. msgid "@url{https://www.graphviz.org/, Graphviz};"
  215. msgstr ""
  216. #. type: item
  217. #: guix-git/doc/contributing.texi:90
  218. #, no-wrap
  219. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  220. msgstr ""
  221. #. type: Plain text
  222. #: guix-git/doc/contributing.texi:95
  223. msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  224. msgstr ""
  225. #. type: example
  226. #: guix-git/doc/contributing.texi:98
  227. #, no-wrap
  228. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  229. msgstr ""
  230. #. type: Plain text
  231. #: guix-git/doc/contributing.texi:102
  232. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  233. msgstr ""
  234. #. type: example
  235. #: guix-git/doc/contributing.texi:105
  236. #, no-wrap
  237. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  238. msgstr ""
  239. #. type: Plain text
  240. #: guix-git/doc/contributing.texi:114
  241. 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:"
  242. msgstr ""
  243. #. type: example
  244. #: guix-git/doc/contributing.texi:117
  245. #, no-wrap
  246. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  247. msgstr ""
  248. #. type: Plain text
  249. #: guix-git/doc/contributing.texi:121
  250. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  251. msgstr ""
  252. #. type: Plain text
  253. #: guix-git/doc/contributing.texi:128
  254. msgid "Then, run @command{./configure} as usual. Make sure to pass @code{--localstatedir=@var{directory}} where @var{directory} is the @code{localstatedir} value used by your current installation (@pxref{The Store}, for information about this), usually @file{/var}. Note that you will probably not run @command{make install} at the end (you don't have to) but it's still important to pass the right @code{localstatedir}."
  255. msgstr ""
  256. #. type: Plain text
  257. #: guix-git/doc/contributing.texi:133
  258. msgid "Finally, you have to invoke @code{make && make check} to build Guix and run the tests (@pxref{Running the Test Suite}). If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  259. msgstr ""
  260. #. type: Plain text
  261. #: guix-git/doc/contributing.texi:136
  262. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  263. msgstr ""
  264. #. type: example
  265. #: guix-git/doc/contributing.texi:139
  266. #, no-wrap
  267. msgid "make authenticate\n"
  268. msgstr ""
  269. #. type: Plain text
  270. #: guix-git/doc/contributing.texi:142
  271. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  272. msgstr ""
  273. #. type: Plain text
  274. #: guix-git/doc/contributing.texi:148
  275. 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:"
  276. msgstr ""
  277. #. type: example
  278. #: guix-git/doc/contributing.texi:151
  279. #, no-wrap
  280. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  281. msgstr ""
  282. #. type: quotation
  283. #: guix-git/doc/contributing.texi:153 guix-git/doc/contributing.texi:1316
  284. #: guix-git/doc/guix.texi:565 guix-git/doc/guix.texi:614
  285. #: guix-git/doc/guix.texi:1764 guix-git/doc/guix.texi:2011
  286. #: guix-git/doc/guix.texi:2195 guix-git/doc/guix.texi:2416
  287. #: guix-git/doc/guix.texi:2617 guix-git/doc/guix.texi:3734
  288. #: guix-git/doc/guix.texi:4470 guix-git/doc/guix.texi:4484
  289. #: guix-git/doc/guix.texi:4566 guix-git/doc/guix.texi:4796
  290. #: guix-git/doc/guix.texi:5646 guix-git/doc/guix.texi:5892
  291. #: guix-git/doc/guix.texi:6013 guix-git/doc/guix.texi:6065
  292. #: guix-git/doc/guix.texi:8752 guix-git/doc/guix.texi:8822
  293. #: guix-git/doc/guix.texi:10487 guix-git/doc/guix.texi:10527
  294. #: guix-git/doc/guix.texi:10800 guix-git/doc/guix.texi:10812
  295. #: guix-git/doc/guix.texi:13027 guix-git/doc/guix.texi:13654
  296. #: guix-git/doc/guix.texi:14437 guix-git/doc/guix.texi:15412
  297. #: guix-git/doc/guix.texi:17728 guix-git/doc/guix.texi:17877
  298. #: guix-git/doc/guix.texi:25473 guix-git/doc/guix.texi:29082
  299. #: guix-git/doc/guix.texi:31039 guix-git/doc/guix.texi:32532
  300. #: guix-git/doc/guix.texi:32766 guix-git/doc/guix.texi:32936
  301. #: guix-git/doc/guix.texi:33089 guix-git/doc/guix.texi:33191
  302. #: guix-git/doc/guix.texi:33292
  303. #, no-wrap
  304. msgid "Note"
  305. msgstr ""
  306. #. type: quotation
  307. #: guix-git/doc/contributing.texi:157
  308. 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."
  309. msgstr ""
  310. #. type: Plain text
  311. #: guix-git/doc/contributing.texi:167
  312. 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."
  313. msgstr ""
  314. #. type: Plain text
  315. #: guix-git/doc/contributing.texi:178
  316. 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):"
  317. msgstr ""
  318. #. type: example
  319. #: guix-git/doc/contributing.texi:181
  320. #, no-wrap
  321. msgid "$ ./pre-inst-env guix build hello\n"
  322. msgstr ""
  323. #. type: Plain text
  324. #: guix-git/doc/contributing.texi:185
  325. msgid "Similarly, an example for a Guile session using the Guix modules:"
  326. msgstr ""
  327. #. type: example
  328. #: guix-git/doc/contributing.texi:188
  329. #, no-wrap
  330. msgid ""
  331. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  332. "\n"
  333. msgstr ""
  334. #. type: example
  335. #: guix-git/doc/contributing.texi:190
  336. #, no-wrap
  337. msgid ";;; (\"x86_64-linux\")\n"
  338. msgstr ""
  339. #. type: cindex
  340. #: guix-git/doc/contributing.texi:193
  341. #, no-wrap
  342. msgid "REPL"
  343. msgstr ""
  344. #. type: cindex
  345. #: guix-git/doc/contributing.texi:194
  346. #, no-wrap
  347. msgid "read-eval-print loop"
  348. msgstr ""
  349. #. type: Plain text
  350. #: guix-git/doc/contributing.texi:197
  351. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  352. msgstr ""
  353. #. type: example
  354. #: guix-git/doc/contributing.texi:212
  355. #, no-wrap
  356. msgid ""
  357. "$ ./pre-inst-env guile\n"
  358. "scheme@@(guile-user)> ,use(guix)\n"
  359. "scheme@@(guile-user)> ,use(gnu)\n"
  360. "scheme@@(guile-user)> (define snakes\n"
  361. " (fold-packages\n"
  362. " (lambda (package lst)\n"
  363. " (if (string-prefix? \"python\"\n"
  364. " (package-name package))\n"
  365. " (cons package lst)\n"
  366. " lst))\n"
  367. " '()))\n"
  368. "scheme@@(guile-user)> (length snakes)\n"
  369. "$1 = 361\n"
  370. msgstr ""
  371. #. type: Plain text
  372. #: guix-git/doc/contributing.texi:220
  373. 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.}:"
  374. msgstr ""
  375. #. type: example
  376. #: guix-git/doc/contributing.texi:223
  377. #, no-wrap
  378. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  379. msgstr ""
  380. #. type: Plain text
  381. #: guix-git/doc/contributing.texi:227
  382. 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}."
  383. msgstr ""
  384. #. type: Plain text
  385. #: guix-git/doc/contributing.texi:232
  386. 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."
  387. msgstr ""
  388. #. type: Plain text
  389. #: guix-git/doc/contributing.texi:242
  390. 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:"
  391. msgstr ""
  392. #. type: example
  393. #: guix-git/doc/contributing.texi:245
  394. #, no-wrap
  395. msgid "guix package -i emacs guile emacs-geiser\n"
  396. msgstr ""
  397. #. type: Plain text
  398. #: guix-git/doc/contributing.texi:254
  399. 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:"
  400. msgstr ""
  401. #. type: lisp
  402. #: guix-git/doc/contributing.texi:259
  403. #, no-wrap
  404. msgid ""
  405. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  406. "(with-eval-after-load 'geiser-guile\n"
  407. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  408. msgstr ""
  409. #. type: Plain text
  410. #: guix-git/doc/contributing.texi:267
  411. 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."
  412. msgstr ""
  413. #. type: cindex
  414. #: guix-git/doc/contributing.texi:268
  415. #, no-wrap
  416. msgid "code snippets"
  417. msgstr ""
  418. #. type: cindex
  419. #: guix-git/doc/contributing.texi:269
  420. #, no-wrap
  421. msgid "templates"
  422. msgstr ""
  423. #. type: cindex
  424. #: guix-git/doc/contributing.texi:270
  425. #, no-wrap
  426. msgid "reducing boilerplate"
  427. msgstr ""
  428. #. type: Plain text
  429. #: guix-git/doc/contributing.texi:277
  430. 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."
  431. msgstr ""
  432. #. type: lisp
  433. #: guix-git/doc/contributing.texi:282
  434. #, no-wrap
  435. msgid ""
  436. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  437. "(with-eval-after-load 'yasnippet\n"
  438. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  439. msgstr ""
  440. #. type: Plain text
  441. #: guix-git/doc/contributing.texi:290
  442. 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."
  443. msgstr ""
  444. #. type: Plain text
  445. #: guix-git/doc/contributing.texi:296
  446. 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."
  447. msgstr ""
  448. #. type: cindex
  449. #: guix-git/doc/contributing.texi:297
  450. #, no-wrap
  451. msgid "insert or update copyright"
  452. msgstr ""
  453. #. type: code{#1}
  454. #: guix-git/doc/contributing.texi:298
  455. #, no-wrap
  456. msgid "M-x guix-copyright"
  457. msgstr ""
  458. #. type: code{#1}
  459. #: guix-git/doc/contributing.texi:299
  460. #, no-wrap
  461. msgid "M-x copyright-update"
  462. msgstr ""
  463. #. type: Plain text
  464. #: guix-git/doc/contributing.texi:303
  465. 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."
  466. msgstr ""
  467. #. type: lisp
  468. #: guix-git/doc/contributing.texi:309
  469. #, no-wrap
  470. msgid ""
  471. "(setq user-full-name \"Alice Doe\")\n"
  472. "(setq user-mail-address \"alice@@mail.org\")\n"
  473. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  474. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  475. msgstr ""
  476. #. type: Plain text
  477. #: guix-git/doc/contributing.texi:312
  478. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  479. msgstr ""
  480. #. type: Plain text
  481. #: guix-git/doc/contributing.texi:314
  482. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  483. msgstr ""
  484. #. type: lisp
  485. #: guix-git/doc/contributing.texi:318
  486. #, no-wrap
  487. msgid ""
  488. "(setq copyright-names-regexp\n"
  489. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  490. msgstr ""
  491. #. type: Plain text
  492. #: guix-git/doc/contributing.texi:324
  493. 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."
  494. msgstr ""
  495. #. type: cindex
  496. #: guix-git/doc/contributing.texi:328
  497. #, no-wrap
  498. msgid "packages, creating"
  499. msgstr ""
  500. #. type: Plain text
  501. #: guix-git/doc/contributing.texi:332
  502. 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."
  503. msgstr ""
  504. #. type: Plain text
  505. #: guix-git/doc/contributing.texi:340
  506. 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."
  507. msgstr ""
  508. #. type: Plain text
  509. #: guix-git/doc/contributing.texi:349
  510. 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}."
  511. msgstr ""
  512. #. type: Plain text
  513. #: guix-git/doc/contributing.texi:355
  514. 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}):"
  515. msgstr ""
  516. #. type: example
  517. #: guix-git/doc/contributing.texi:358
  518. #, no-wrap
  519. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  520. msgstr ""
  521. #. type: Plain text
  522. #: guix-git/doc/contributing.texi:364
  523. 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."
  524. msgstr ""
  525. #. type: Plain text
  526. #: guix-git/doc/contributing.texi:369
  527. 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:"
  528. msgstr ""
  529. #. type: example
  530. #: guix-git/doc/contributing.texi:372
  531. #, no-wrap
  532. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  533. msgstr ""
  534. #. type: Plain text
  535. #: guix-git/doc/contributing.texi:379
  536. 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{@value{SUBSTITUTE-URL}, our continuous integration system}."
  537. msgstr ""
  538. #. type: cindex
  539. #: guix-git/doc/contributing.texi:380
  540. #, no-wrap
  541. msgid "substituter"
  542. msgstr ""
  543. #. type: Plain text
  544. #: guix-git/doc/contributing.texi:387
  545. msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{@value{SUBSTITUTE-SERVER}} 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."
  546. msgstr ""
  547. #. type: subsection
  548. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:403
  549. #: guix-git/doc/contributing.texi:404
  550. #, no-wrap
  551. msgid "Software Freedom"
  552. msgstr "آزادی نرم‌افزار"
  553. #. type: menuentry
  554. #: guix-git/doc/contributing.texi:401
  555. msgid "What may go into the distribution."
  556. msgstr ""
  557. #. type: subsection
  558. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:431
  559. #: guix-git/doc/contributing.texi:432
  560. #, no-wrap
  561. msgid "Package Naming"
  562. msgstr ""
  563. #. type: menuentry
  564. #: guix-git/doc/contributing.texi:401
  565. msgid "What's in a name?"
  566. msgstr ""
  567. #. type: subsection
  568. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:464
  569. #: guix-git/doc/contributing.texi:465
  570. #, no-wrap
  571. msgid "Version Numbers"
  572. msgstr ""
  573. #. type: menuentry
  574. #: guix-git/doc/contributing.texi:401
  575. msgid "When the name is not enough."
  576. msgstr ""
  577. #. type: subsection
  578. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:555
  579. #: guix-git/doc/contributing.texi:556
  580. #, no-wrap
  581. msgid "Synopses and Descriptions"
  582. msgstr ""
  583. #. type: menuentry
  584. #: guix-git/doc/contributing.texi:401
  585. msgid "Helping users find the right package."
  586. msgstr ""
  587. #. type: subsection
  588. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:634
  589. #: guix-git/doc/contributing.texi:635
  590. #, no-wrap
  591. msgid "Snippets versus Phases"
  592. msgstr ""
  593. #. type: menuentry
  594. #: guix-git/doc/contributing.texi:401
  595. msgid "Whether to use a snippet, or a build phase."
  596. msgstr ""
  597. #. type: subsection
  598. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:649
  599. #: guix-git/doc/contributing.texi:650 guix-git/doc/guix.texi:1946
  600. #, no-wrap
  601. msgid "Emacs Packages"
  602. msgstr "بسته‌های ایمکس"
  603. #. type: menuentry
  604. #: guix-git/doc/contributing.texi:401
  605. msgid "Your Elisp fix."
  606. msgstr ""
  607. #. type: subsection
  608. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:689
  609. #: guix-git/doc/contributing.texi:690
  610. #, no-wrap
  611. msgid "Python Modules"
  612. msgstr ""
  613. #. type: menuentry
  614. #: guix-git/doc/contributing.texi:401
  615. msgid "A touch of British comedy."
  616. msgstr ""
  617. #. type: subsection
  618. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:765
  619. #: guix-git/doc/contributing.texi:766
  620. #, no-wrap
  621. msgid "Perl Modules"
  622. msgstr ""
  623. #. type: menuentry
  624. #: guix-git/doc/contributing.texi:401
  625. msgid "Little pearls."
  626. msgstr ""
  627. #. type: subsection
  628. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:781
  629. #: guix-git/doc/contributing.texi:782
  630. #, no-wrap
  631. msgid "Java Packages"
  632. msgstr "بسته‌های جاوا"
  633. #. type: menuentry
  634. #: guix-git/doc/contributing.texi:401
  635. msgid "Coffee break."
  636. msgstr ""
  637. #. type: subsection
  638. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:801
  639. #: guix-git/doc/contributing.texi:802
  640. #, no-wrap
  641. msgid "Rust Crates"
  642. msgstr ""
  643. #. type: menuentry
  644. #: guix-git/doc/contributing.texi:401
  645. msgid "Beware of oxidation."
  646. msgstr ""
  647. #. type: subsection
  648. #: guix-git/doc/contributing.texi:401 guix-git/doc/contributing.texi:835
  649. #: guix-git/doc/contributing.texi:836
  650. #, no-wrap
  651. msgid "Fonts"
  652. msgstr ""
  653. #. type: menuentry
  654. #: guix-git/doc/contributing.texi:401
  655. msgid "Fond of fonts."
  656. msgstr ""
  657. #. type: cindex
  658. #: guix-git/doc/contributing.texi:407
  659. #, no-wrap
  660. msgid "free software"
  661. msgstr "نرم‌افزار آزاد"
  662. #. type: Plain text
  663. #: guix-git/doc/contributing.texi:415
  664. 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."
  665. msgstr ""
  666. #. type: Plain text
  667. #: guix-git/doc/contributing.texi:421
  668. 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."
  669. msgstr ""
  670. #. type: Plain text
  671. #: guix-git/doc/contributing.texi:429
  672. 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."
  673. msgstr ""
  674. #. type: cindex
  675. #: guix-git/doc/contributing.texi:434
  676. #, no-wrap
  677. msgid "package name"
  678. msgstr "نام بسته"
  679. #. type: Plain text
  680. #: guix-git/doc/contributing.texi:442
  681. 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}."
  682. msgstr ""
  683. #. type: Plain text
  684. #: guix-git/doc/contributing.texi:447
  685. 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}."
  686. msgstr ""
  687. #. type: Plain text
  688. #: guix-git/doc/contributing.texi:455
  689. 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."
  690. msgstr ""
  691. #. type: Plain text
  692. #: guix-git/doc/contributing.texi:460
  693. 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."
  694. msgstr ""
  695. #. type: Plain text
  696. #: guix-git/doc/contributing.texi:462
  697. msgid "Font package names are handled differently, @pxref{Fonts}."
  698. msgstr ""
  699. #. type: cindex
  700. #: guix-git/doc/contributing.texi:467
  701. #, no-wrap
  702. msgid "package version"
  703. msgstr ""
  704. #. type: Plain text
  705. #: guix-git/doc/contributing.texi:476
  706. 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."
  707. msgstr ""
  708. #. type: Plain text
  709. #: guix-git/doc/contributing.texi:479
  710. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  711. msgstr ""
  712. #. type: Plain text
  713. #: guix-git/doc/contributing.texi:481
  714. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  715. msgstr ""
  716. #. type: lisp
  717. #: guix-git/doc/contributing.texi:493
  718. #, no-wrap
  719. msgid ""
  720. "(define-public gtk+\n"
  721. " (package\n"
  722. " (name \"gtk+\")\n"
  723. " (version \"3.9.12\")\n"
  724. " ...))\n"
  725. "(define-public gtk+-2\n"
  726. " (package\n"
  727. " (name \"gtk+\")\n"
  728. " (version \"2.24.20\")\n"
  729. " ...))\n"
  730. msgstr ""
  731. #. type: Plain text
  732. #: guix-git/doc/contributing.texi:495
  733. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  734. msgstr ""
  735. #. type: lisp
  736. #: guix-git/doc/contributing.texi:501
  737. #, no-wrap
  738. msgid ""
  739. "(define-public gtk+-3.8\n"
  740. " (package\n"
  741. " (name \"gtk+\")\n"
  742. " (version \"3.8.2\")\n"
  743. " ...))\n"
  744. msgstr ""
  745. #. type: cindex
  746. #: guix-git/doc/contributing.texi:505
  747. #, no-wrap
  748. msgid "version number, for VCS snapshots"
  749. msgstr ""
  750. #. type: Plain text
  751. #: guix-git/doc/contributing.texi:511
  752. 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?"
  753. msgstr ""
  754. #. type: Plain text
  755. #: guix-git/doc/contributing.texi:519
  756. 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:"
  757. msgstr ""
  758. #. type: example
  759. #: guix-git/doc/contributing.texi:528
  760. #, no-wrap
  761. msgid ""
  762. "2.0.11-3.cabba9e\n"
  763. " ^ ^ ^\n"
  764. " | | `-- upstream commit ID\n"
  765. " | |\n"
  766. " | `--- Guix package revision\n"
  767. " |\n"
  768. "latest upstream version\n"
  769. msgstr ""
  770. #. type: Plain text
  771. #: guix-git/doc/contributing.texi:537
  772. 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). 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:"
  773. msgstr ""
  774. #. type: lisp
  775. #: guix-git/doc/contributing.texi:553
  776. #, no-wrap
  777. msgid ""
  778. "(define my-package\n"
  779. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  780. " (revision \"1\")) ;Guix package revision\n"
  781. " (package\n"
  782. " (version (git-version \"0.9\" revision commit))\n"
  783. " (source (origin\n"
  784. " (method git-fetch)\n"
  785. " (uri (git-reference\n"
  786. " (url \"git://example.org/my-package.git\")\n"
  787. " (commit commit)))\n"
  788. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  789. " (file-name (git-file-name name version))))\n"
  790. " ;; @dots{}\n"
  791. " )))\n"
  792. msgstr ""
  793. #. type: cindex
  794. #: guix-git/doc/contributing.texi:558
  795. #, no-wrap
  796. msgid "package description"
  797. msgstr ""
  798. #. type: cindex
  799. #: guix-git/doc/contributing.texi:559
  800. #, no-wrap
  801. msgid "package synopsis"
  802. msgstr ""
  803. #. type: Plain text
  804. #: guix-git/doc/contributing.texi:566
  805. 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."
  806. msgstr ""
  807. #. type: Plain text
  808. #: guix-git/doc/contributing.texi:574
  809. 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''."
  810. msgstr ""
  811. #. type: Plain text
  812. #: guix-git/doc/contributing.texi:584
  813. 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."
  814. msgstr ""
  815. #. type: Plain text
  816. #: guix-git/doc/contributing.texi:592
  817. 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."
  818. msgstr ""
  819. #. type: cindex
  820. #: guix-git/doc/contributing.texi:593
  821. #, no-wrap
  822. msgid "Texinfo markup, in package descriptions"
  823. msgstr ""
  824. #. type: Plain text
  825. #: guix-git/doc/contributing.texi:602
  826. 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."
  827. msgstr ""
  828. #. type: Plain text
  829. #: guix-git/doc/contributing.texi:608
  830. 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."
  831. msgstr ""
  832. #. type: Plain text
  833. #: guix-git/doc/contributing.texi:613
  834. 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:"
  835. msgstr ""
  836. #. type: lisp
  837. #: guix-git/doc/contributing.texi:619
  838. #, no-wrap
  839. msgid ""
  840. "(package\n"
  841. " ;; @dots{}\n"
  842. " (synopsis \"This is translatable\")\n"
  843. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  844. msgstr ""
  845. #. type: Plain text
  846. #: guix-git/doc/contributing.texi:627
  847. 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}):"
  848. msgstr ""
  849. #. type: lisp
  850. #: guix-git/doc/contributing.texi:632
  851. #, no-wrap
  852. msgid ""
  853. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  854. "(description \"ARandR is designed to provide a simple visual front end\n"
  855. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  856. msgstr ""
  857. #. type: cindex
  858. #: guix-git/doc/contributing.texi:637
  859. #, no-wrap
  860. msgid "snippets, when to use"
  861. msgstr ""
  862. #. type: Plain text
  863. #: guix-git/doc/contributing.texi:648
  864. 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})."
  865. msgstr ""
  866. #. type: cindex
  867. #: guix-git/doc/contributing.texi:652
  868. #, no-wrap
  869. msgid "emacs, packaging"
  870. msgstr ""
  871. #. type: cindex
  872. #: guix-git/doc/contributing.texi:653
  873. #, no-wrap
  874. msgid "elisp, packaging"
  875. msgstr ""
  876. #. type: Plain text
  877. #: guix-git/doc/contributing.texi:665
  878. 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."
  879. msgstr ""
  880. #. type: Plain text
  881. #: guix-git/doc/contributing.texi:670
  882. 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}."
  883. msgstr ""
  884. #. type: Plain text
  885. #: guix-git/doc/contributing.texi:679
  886. 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:"
  887. msgstr ""
  888. #. type: lisp
  889. #: guix-git/doc/contributing.texi:682
  890. #, no-wrap
  891. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  892. msgstr ""
  893. #. type: Plain text
  894. #: guix-git/doc/contributing.texi:688
  895. 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."
  896. msgstr ""
  897. #. type: cindex
  898. #: guix-git/doc/contributing.texi:692
  899. #, no-wrap
  900. msgid "python"
  901. msgstr "پایتون"
  902. #. type: Plain text
  903. #: guix-git/doc/contributing.texi:698
  904. 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}."
  905. msgstr ""
  906. #. type: Plain text
  907. #: guix-git/doc/contributing.texi:705
  908. 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."
  909. msgstr ""
  910. #. type: Plain text
  911. #: guix-git/doc/contributing.texi:711
  912. 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."
  913. msgstr ""
  914. #. type: subsubsection
  915. #: guix-git/doc/contributing.texi:712
  916. #, no-wrap
  917. msgid "Specifying Dependencies"
  918. msgstr ""
  919. #. type: cindex
  920. #: guix-git/doc/contributing.texi:713
  921. #, no-wrap
  922. msgid "inputs, for Python packages"
  923. msgstr ""
  924. #. type: Plain text
  925. #: guix-git/doc/contributing.texi:718
  926. 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}."
  927. msgstr ""
  928. #. type: Plain text
  929. #: guix-git/doc/contributing.texi:724
  930. 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."
  931. msgstr ""
  932. #. type: itemize
  933. #: guix-git/doc/contributing.texi:732
  934. 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."
  935. msgstr ""
  936. #. type: itemize
  937. #: guix-git/doc/contributing.texi:738
  938. 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."
  939. msgstr ""
  940. #. type: itemize
  941. #: guix-git/doc/contributing.texi:746
  942. 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."
  943. msgstr ""
  944. #. type: itemize
  945. #: guix-git/doc/contributing.texi:750
  946. 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}."
  947. msgstr ""
  948. #. type: itemize
  949. #: guix-git/doc/contributing.texi:755
  950. 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."
  951. msgstr ""
  952. #. type: itemize
  953. #: guix-git/doc/contributing.texi:761
  954. 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}})."
  955. msgstr ""
  956. #. type: cindex
  957. #: guix-git/doc/contributing.texi:768
  958. #, no-wrap
  959. msgid "perl"
  960. msgstr "پرل"
  961. #. type: Plain text
  962. #: guix-git/doc/contributing.texi:779
  963. 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}."
  964. msgstr ""
  965. #. type: cindex
  966. #: guix-git/doc/contributing.texi:784
  967. #, no-wrap
  968. msgid "java"
  969. msgstr "جاوا"
  970. #. type: Plain text
  971. #: guix-git/doc/contributing.texi:787
  972. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  973. msgstr ""
  974. #. type: Plain text
  975. #: guix-git/doc/contributing.texi:793
  976. 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}."
  977. msgstr ""
  978. #. type: Plain text
  979. #: guix-git/doc/contributing.texi:799
  980. 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}."
  981. msgstr ""
  982. #. type: cindex
  983. #: guix-git/doc/contributing.texi:804
  984. #, no-wrap
  985. msgid "rust"
  986. msgstr "راست"
  987. #. type: Plain text
  988. #: guix-git/doc/contributing.texi:807
  989. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  990. msgstr ""
  991. #. type: Plain text
  992. #: guix-git/doc/contributing.texi:811
  993. 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."
  994. msgstr ""
  995. #. type: Plain text
  996. #: guix-git/doc/contributing.texi:817
  997. 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}."
  998. msgstr ""
  999. #. type: Plain text
  1000. #: guix-git/doc/contributing.texi:827
  1001. 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."
  1002. msgstr ""
  1003. #. type: Plain text
  1004. #: guix-git/doc/contributing.texi:833
  1005. 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."
  1006. msgstr ""
  1007. #. type: cindex
  1008. #: guix-git/doc/contributing.texi:838 guix-git/doc/guix.texi:1881
  1009. #, no-wrap
  1010. msgid "fonts"
  1011. msgstr ""
  1012. #. type: Plain text
  1013. #: guix-git/doc/contributing.texi:844
  1014. 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."
  1015. msgstr ""
  1016. #. type: Plain text
  1017. #: guix-git/doc/contributing.texi:848
  1018. 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."
  1019. msgstr ""
  1020. #. type: Plain text
  1021. #: guix-git/doc/contributing.texi:856
  1022. 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}."
  1023. msgstr ""
  1024. #. type: Plain text
  1025. #: guix-git/doc/contributing.texi:865
  1026. 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}."
  1027. msgstr ""
  1028. #. type: Plain text
  1029. #: guix-git/doc/contributing.texi:871
  1030. 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."
  1031. msgstr ""
  1032. #. type: Plain text
  1033. #: guix-git/doc/contributing.texi:879
  1034. 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."
  1035. msgstr ""
  1036. #. type: subsection
  1037. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:887
  1038. #: guix-git/doc/contributing.texi:888
  1039. #, no-wrap
  1040. msgid "Programming Paradigm"
  1041. msgstr ""
  1042. #. type: menuentry
  1043. #: guix-git/doc/contributing.texi:885
  1044. msgid "How to compose your elements."
  1045. msgstr ""
  1046. #. type: subsection
  1047. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:894
  1048. #: guix-git/doc/contributing.texi:895
  1049. #, no-wrap
  1050. msgid "Modules"
  1051. msgstr ""
  1052. #. type: menuentry
  1053. #: guix-git/doc/contributing.texi:885
  1054. msgid "Where to store your code?"
  1055. msgstr ""
  1056. #. type: subsection
  1057. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:905
  1058. #: guix-git/doc/contributing.texi:906
  1059. #, no-wrap
  1060. msgid "Data Types and Pattern Matching"
  1061. msgstr ""
  1062. #. type: menuentry
  1063. #: guix-git/doc/contributing.texi:885
  1064. msgid "Implementing data structures."
  1065. msgstr ""
  1066. #. type: subsection
  1067. #: guix-git/doc/contributing.texi:885 guix-git/doc/contributing.texi:920
  1068. #: guix-git/doc/contributing.texi:921
  1069. #, no-wrap
  1070. msgid "Formatting Code"
  1071. msgstr ""
  1072. #. type: menuentry
  1073. #: guix-git/doc/contributing.texi:885
  1074. msgid "Writing conventions."
  1075. msgstr ""
  1076. #. type: Plain text
  1077. #: guix-git/doc/contributing.texi:893
  1078. 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."
  1079. msgstr ""
  1080. #. type: Plain text
  1081. #: guix-git/doc/contributing.texi:901
  1082. 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."
  1083. msgstr ""
  1084. #. type: Plain text
  1085. #: guix-git/doc/contributing.texi:904
  1086. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1087. msgstr ""
  1088. #. type: Plain text
  1089. #: guix-git/doc/contributing.texi:913
  1090. 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."
  1091. msgstr ""
  1092. #. type: Plain text
  1093. #: guix-git/doc/contributing.texi:919
  1094. 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})."
  1095. msgstr ""
  1096. #. type: cindex
  1097. #: guix-git/doc/contributing.texi:923
  1098. #, no-wrap
  1099. msgid "formatting code"
  1100. msgstr ""
  1101. #. type: cindex
  1102. #: guix-git/doc/contributing.texi:924
  1103. #, no-wrap
  1104. msgid "coding style"
  1105. msgstr ""
  1106. #. type: Plain text
  1107. #: guix-git/doc/contributing.texi:931
  1108. 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."
  1109. msgstr ""
  1110. #. type: Plain text
  1111. #: guix-git/doc/contributing.texi:938
  1112. 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})."
  1113. msgstr ""
  1114. #. type: cindex
  1115. #: guix-git/doc/contributing.texi:939
  1116. #, no-wrap
  1117. msgid "indentation, of code"
  1118. msgstr ""
  1119. #. type: cindex
  1120. #: guix-git/doc/contributing.texi:940
  1121. #, no-wrap
  1122. msgid "formatting, of code"
  1123. msgstr ""
  1124. #. type: Plain text
  1125. #: guix-git/doc/contributing.texi:943
  1126. 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:"
  1127. msgstr ""
  1128. #. type: example
  1129. #: guix-git/doc/contributing.texi:946
  1130. #, no-wrap
  1131. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1132. msgstr ""
  1133. #. type: Plain text
  1134. #: guix-git/doc/contributing.texi:952
  1135. msgid "This automatically indents the definition of @var{package} in @file{gnu/packages/@var{file}.scm} by running Emacs in batch mode. To indent a whole file, omit the second argument:"
  1136. msgstr ""
  1137. #. type: example
  1138. #: guix-git/doc/contributing.texi:955
  1139. #, no-wrap
  1140. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1141. msgstr ""
  1142. #. type: cindex
  1143. #: guix-git/doc/contributing.texi:957
  1144. #, no-wrap
  1145. msgid "Vim, Scheme code editing"
  1146. msgstr ""
  1147. #. type: Plain text
  1148. #: guix-git/doc/contributing.texi:963
  1149. 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."
  1150. msgstr ""
  1151. #. type: Plain text
  1152. #: guix-git/doc/contributing.texi:967
  1153. 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."
  1154. msgstr ""
  1155. #. type: Plain text
  1156. #: guix-git/doc/contributing.texi:970
  1157. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1158. msgstr ""
  1159. #. type: Plain text
  1160. #: guix-git/doc/contributing.texi:981
  1161. msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1162. msgstr ""
  1163. #. type: Plain text
  1164. #: guix-git/doc/contributing.texi:988
  1165. 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})."
  1166. msgstr ""
  1167. #. type: Plain text
  1168. #: guix-git/doc/contributing.texi:992
  1169. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1170. msgstr ""
  1171. #. type: Plain text
  1172. #: guix-git/doc/contributing.texi:995
  1173. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1174. msgstr ""
  1175. #. type: enumerate
  1176. #: guix-git/doc/contributing.texi:1002
  1177. 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."
  1178. msgstr ""
  1179. #. type: enumerate
  1180. #: guix-git/doc/contributing.texi:1006
  1181. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1182. msgstr ""
  1183. #. type: enumerate
  1184. #: guix-git/doc/contributing.texi:1011
  1185. 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})."
  1186. msgstr ""
  1187. #. type: enumerate
  1188. #: guix-git/doc/contributing.texi:1015
  1189. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1190. msgstr ""
  1191. #. type: enumerate
  1192. #: guix-git/doc/contributing.texi:1022
  1193. 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 following service to the list of services in your @code{operating-system} configuration:"
  1194. msgstr ""
  1195. #. type: lisp
  1196. #: guix-git/doc/contributing.texi:1027
  1197. #, no-wrap
  1198. msgid ""
  1199. "(service qemu-binfmt-service-type\n"
  1200. " (qemu-binfmt-configuration\n"
  1201. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))\n"
  1202. msgstr ""
  1203. #. type: enumerate
  1204. #: guix-git/doc/contributing.texi:1030
  1205. msgid "Then reconfigure your system."
  1206. msgstr ""
  1207. #. type: enumerate
  1208. #: guix-git/doc/contributing.texi:1035
  1209. 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, aarch64, or mips64 architectures, you would run the following commands, respectively:"
  1210. msgstr ""
  1211. #. type: example
  1212. #: guix-git/doc/contributing.texi:1038
  1213. #, no-wrap
  1214. msgid ""
  1215. "guix build --system=armhf-linux --rounds=2 hello\n"
  1216. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1217. msgstr ""
  1218. #. type: cindex
  1219. #: guix-git/doc/contributing.texi:1041
  1220. #, no-wrap
  1221. msgid "bundling"
  1222. msgstr ""
  1223. #. type: enumerate
  1224. #: guix-git/doc/contributing.texi:1044
  1225. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1226. msgstr ""
  1227. #. type: enumerate
  1228. #: guix-git/doc/contributing.texi:1053
  1229. 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."
  1230. msgstr ""
  1231. #. type: enumerate
  1232. #: guix-git/doc/contributing.texi:1062
  1233. 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."
  1234. msgstr ""
  1235. #. type: enumerate
  1236. #: guix-git/doc/contributing.texi:1067
  1237. msgid "For important changes, check that dependent package (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})."
  1238. msgstr ""
  1239. #. type: cindex
  1240. #: guix-git/doc/contributing.texi:1069
  1241. #, no-wrap
  1242. msgid "branching strategy"
  1243. msgstr ""
  1244. #. type: cindex
  1245. #: guix-git/doc/contributing.texi:1070
  1246. #, no-wrap
  1247. msgid "rebuild scheduling strategy"
  1248. msgstr ""
  1249. #. type: enumerate
  1250. #: guix-git/doc/contributing.texi:1073
  1251. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1252. msgstr ""
  1253. #. type: item
  1254. #: guix-git/doc/contributing.texi:1075
  1255. #, no-wrap
  1256. msgid "300 dependent packages or less"
  1257. msgstr ""
  1258. #. type: table
  1259. #: guix-git/doc/contributing.texi:1077
  1260. msgid "@code{master} branch (non-disruptive changes)."
  1261. msgstr ""
  1262. #. type: item
  1263. #: guix-git/doc/contributing.texi:1078
  1264. #, no-wrap
  1265. msgid "between 300 and 1,800 dependent packages"
  1266. msgstr ""
  1267. #. type: table
  1268. #: guix-git/doc/contributing.texi:1083
  1269. 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})."
  1270. msgstr ""
  1271. #. type: item
  1272. #: guix-git/doc/contributing.texi:1084
  1273. #, no-wrap
  1274. msgid "more than 1,800 dependent packages"
  1275. msgstr ""
  1276. #. type: table
  1277. #: guix-git/doc/contributing.texi:1088
  1278. 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."
  1279. msgstr ""
  1280. #. type: enumerate
  1281. #: guix-git/doc/contributing.texi:1095
  1282. msgid "All these branches are @uref{@value{SUBSTITUTE-URL}, 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."
  1283. msgstr ""
  1284. #. type: enumerate
  1285. #: guix-git/doc/contributing.texi:1104
  1286. 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."
  1287. msgstr ""
  1288. #. type: cindex
  1289. #: guix-git/doc/contributing.texi:1106
  1290. #, no-wrap
  1291. msgid "determinism, of build processes"
  1292. msgstr ""
  1293. #. type: cindex
  1294. #: guix-git/doc/contributing.texi:1107
  1295. #, no-wrap
  1296. msgid "reproducible builds, checking"
  1297. msgstr ""
  1298. #. type: enumerate
  1299. #: guix-git/doc/contributing.texi:1111
  1300. 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."
  1301. msgstr ""
  1302. #. type: enumerate
  1303. #: guix-git/doc/contributing.texi:1114
  1304. 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}):"
  1305. msgstr ""
  1306. #. type: example
  1307. #: guix-git/doc/contributing.texi:1117
  1308. #, no-wrap
  1309. msgid "guix build --rounds=2 my-package\n"
  1310. msgstr ""
  1311. #. type: enumerate
  1312. #: guix-git/doc/contributing.texi:1121
  1313. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1314. msgstr ""
  1315. #. type: enumerate
  1316. #: guix-git/doc/contributing.texi:1131
  1317. 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}} 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."
  1318. msgstr ""
  1319. #. type: enumerate
  1320. #: guix-git/doc/contributing.texi:1137
  1321. 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."
  1322. msgstr ""
  1323. #. type: enumerate
  1324. #: guix-git/doc/contributing.texi:1141
  1325. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1326. msgstr ""
  1327. #. type: enumerate
  1328. #: guix-git/doc/contributing.texi:1144
  1329. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1330. msgstr ""
  1331. #. type: enumerate
  1332. #: guix-git/doc/contributing.texi:1149
  1333. msgid "Please follow our code formatting rules, possibly running the @command{etc/indent-code.el} script to do that automatically for you (@pxref{Formatting Code})."
  1334. msgstr ""
  1335. #. type: enumerate
  1336. #: guix-git/doc/contributing.texi:1157
  1337. 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."
  1338. msgstr ""
  1339. #. type: enumerate
  1340. #: guix-git/doc/contributing.texi:1161
  1341. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1342. msgstr ""
  1343. #. type: enumerate
  1344. #: guix-git/doc/contributing.texi:1164
  1345. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1346. msgstr ""
  1347. #. type: example
  1348. #: guix-git/doc/contributing.texi:1166
  1349. #, no-wrap
  1350. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1351. msgstr ""
  1352. #. type: Plain text
  1353. #: guix-git/doc/contributing.texi:1179
  1354. 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."
  1355. msgstr ""
  1356. #. type: Plain text
  1357. #: guix-git/doc/contributing.texi:1182
  1358. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1359. msgstr ""
  1360. #. type: anchor{#1}
  1361. #: guix-git/doc/contributing.texi:1183 guix-git/doc/contributing.texi:1185
  1362. #, no-wrap
  1363. msgid "Sending a Patch Series"
  1364. msgstr ""
  1365. #. type: cindex
  1366. #: guix-git/doc/contributing.texi:1185
  1367. #, no-wrap
  1368. msgid "patch series"
  1369. msgstr ""
  1370. #. type: code{#1}
  1371. #: guix-git/doc/contributing.texi:1186
  1372. #, no-wrap
  1373. msgid "git send-email"
  1374. msgstr ""
  1375. #. type: code{#1}
  1376. #: guix-git/doc/contributing.texi:1187
  1377. #, no-wrap
  1378. msgid "git-send-email"
  1379. msgstr ""
  1380. #. type: Plain text
  1381. #: guix-git/doc/contributing.texi:1197
  1382. 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}."
  1383. msgstr ""
  1384. #. type: cindex
  1385. #: guix-git/doc/contributing.texi:1201
  1386. #, no-wrap
  1387. msgid "bug reports, tracking"
  1388. msgstr ""
  1389. #. type: cindex
  1390. #: guix-git/doc/contributing.texi:1202
  1391. #, no-wrap
  1392. msgid "patch submissions, tracking"
  1393. msgstr ""
  1394. #. type: cindex
  1395. #: guix-git/doc/contributing.texi:1203
  1396. #, no-wrap
  1397. msgid "issue tracking"
  1398. msgstr ""
  1399. #. type: cindex
  1400. #: guix-git/doc/contributing.texi:1204
  1401. #, no-wrap
  1402. msgid "Debbugs, issue tracking system"
  1403. msgstr ""
  1404. #. type: Plain text
  1405. #: guix-git/doc/contributing.texi:1211
  1406. 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})."
  1407. msgstr ""
  1408. #. type: Plain text
  1409. #: guix-git/doc/contributing.texi:1214
  1410. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1411. msgstr ""
  1412. #. type: itemize
  1413. #: guix-git/doc/contributing.texi:1223
  1414. 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;"
  1415. msgstr ""
  1416. #. type: itemize
  1417. #: guix-git/doc/contributing.texi:1225
  1418. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1419. msgstr ""
  1420. #. type: itemize
  1421. #: guix-git/doc/contributing.texi:1227
  1422. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1423. msgstr ""
  1424. #. type: Plain text
  1425. #: guix-git/doc/contributing.texi:1232
  1426. 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}}."
  1427. msgstr ""
  1428. #. type: Plain text
  1429. #: guix-git/doc/contributing.texi:1235
  1430. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1431. msgstr ""
  1432. #. type: example
  1433. #: guix-git/doc/contributing.texi:1238
  1434. #, no-wrap
  1435. msgid "guix install emacs-debbugs\n"
  1436. msgstr ""
  1437. #. type: Plain text
  1438. #: guix-git/doc/contributing.texi:1241
  1439. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1440. msgstr ""
  1441. #. type: example
  1442. #: guix-git/doc/contributing.texi:1244
  1443. #, no-wrap
  1444. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1445. msgstr ""
  1446. #. type: Plain text
  1447. #: guix-git/doc/contributing.texi:1248
  1448. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1449. msgstr ""
  1450. #. type: cindex
  1451. #: guix-git/doc/contributing.texi:1252
  1452. #, no-wrap
  1453. msgid "commit access, for developers"
  1454. msgstr ""
  1455. #. type: Plain text
  1456. #: guix-git/doc/contributing.texi:1256
  1457. msgid "For frequent contributors, having write access to the repository is convenient. When you deem it necessary, consider applying for commit access by following these steps:"
  1458. msgstr ""
  1459. #. type: enumerate
  1460. #: guix-git/doc/contributing.texi:1265
  1461. 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."
  1462. msgstr ""
  1463. #. type: enumerate
  1464. #: guix-git/doc/contributing.texi:1271
  1465. 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''."
  1466. msgstr ""
  1467. #. type: enumerate
  1468. #: guix-git/doc/contributing.texi:1278
  1469. 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."
  1470. msgstr ""
  1471. #. type: enumerate
  1472. #: guix-git/doc/contributing.texi:1284
  1473. 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}):"
  1474. msgstr ""
  1475. #. type: example
  1476. #: guix-git/doc/contributing.texi:1287
  1477. #, no-wrap
  1478. msgid "digest-algo sha512\n"
  1479. msgstr ""
  1480. #. type: enumerate
  1481. #: guix-git/doc/contributing.texi:1292
  1482. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1483. msgstr ""
  1484. #. type: cindex
  1485. #: guix-git/doc/contributing.texi:1294
  1486. #, no-wrap
  1487. msgid "OpenPGP, signed commits"
  1488. msgstr ""
  1489. #. type: enumerate
  1490. #: guix-git/doc/contributing.texi:1299
  1491. 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."
  1492. msgstr ""
  1493. #. type: quotation
  1494. #: guix-git/doc/contributing.texi:1300
  1495. #, no-wrap
  1496. msgid "Important"
  1497. msgstr ""
  1498. #. type: quotation
  1499. #: guix-git/doc/contributing.texi:1302
  1500. msgid "Before you can push for the first time, maintainers must:"
  1501. msgstr ""
  1502. #. type: enumerate
  1503. #: guix-git/doc/contributing.texi:1306
  1504. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1505. msgstr ""
  1506. #. type: enumerate
  1507. #: guix-git/doc/contributing.texi:1309
  1508. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1509. msgstr ""
  1510. #. type: enumerate
  1511. #: guix-git/doc/contributing.texi:1314
  1512. msgid "Make sure to read the rest of this section and... profit!"
  1513. msgstr ""
  1514. #. type: quotation
  1515. #: guix-git/doc/contributing.texi:1320
  1516. 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!"
  1517. msgstr ""
  1518. #. type: quotation
  1519. #: guix-git/doc/contributing.texi:1324
  1520. 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!"
  1521. msgstr ""
  1522. #. type: Plain text
  1523. #: guix-git/doc/contributing.texi:1329
  1524. 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})."
  1525. msgstr ""
  1526. #. type: Plain text
  1527. #: guix-git/doc/contributing.texi:1334
  1528. 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})."
  1529. msgstr ""
  1530. #. type: Plain text
  1531. #: guix-git/doc/contributing.texi:1343
  1532. 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}."
  1533. msgstr ""
  1534. #. type: Plain text
  1535. #: guix-git/doc/contributing.texi:1349
  1536. 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:"
  1537. msgstr ""
  1538. #. type: example
  1539. #: guix-git/doc/contributing.texi:1353
  1540. #, no-wrap
  1541. msgid ""
  1542. "git config commit.gpgsign true\n"
  1543. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1544. msgstr ""
  1545. #. type: Plain text
  1546. #: guix-git/doc/contributing.texi:1358
  1547. msgid "You can prevent yourself from accidentally pushing unsigned commits to Savannah by using the pre-push Git hook called located at @file{etc/git/pre-push}:"
  1548. msgstr ""
  1549. #. type: example
  1550. #: guix-git/doc/contributing.texi:1361
  1551. #, no-wrap
  1552. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1553. msgstr ""
  1554. #. type: Plain text
  1555. #: guix-git/doc/contributing.texi:1367
  1556. 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."
  1557. msgstr ""
  1558. #. type: Plain text
  1559. #: guix-git/doc/contributing.texi:1371
  1560. 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:"
  1561. msgstr ""
  1562. #. type: example
  1563. #: guix-git/doc/contributing.texi:1374
  1564. #, no-wrap
  1565. msgid "make check-channel-news\n"
  1566. msgstr ""
  1567. #. type: Plain text
  1568. #: guix-git/doc/contributing.texi:1380
  1569. 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."
  1570. msgstr ""
  1571. #. type: Plain text
  1572. #: guix-git/doc/contributing.texi:1383
  1573. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1574. msgstr ""
  1575. #. type: Plain text
  1576. #: guix-git/doc/contributing.texi:1389
  1577. 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."
  1578. msgstr ""
  1579. #. type: Plain text
  1580. #: guix-git/doc/contributing.texi:1395
  1581. 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!"
  1582. msgstr ""
  1583. #. type: cindex
  1584. #: guix-git/doc/contributing.texi:1399
  1585. #, no-wrap
  1586. msgid "update-guix-package, updating the guix package"
  1587. msgstr ""
  1588. #. type: Plain text
  1589. #: guix-git/doc/contributing.texi:1405
  1590. 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:"
  1591. msgstr ""
  1592. #. type: example
  1593. #: guix-git/doc/contributing.texi:1408
  1594. #, no-wrap
  1595. msgid "make update-guix-package\n"
  1596. msgstr ""
  1597. #. type: Plain text
  1598. #: guix-git/doc/contributing.texi:1415
  1599. 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."
  1600. msgstr ""
  1601. #. type: Plain text
  1602. #: guix-git/doc/contributing.texi:1419
  1603. 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:"
  1604. msgstr ""
  1605. #. type: example
  1606. #: guix-git/doc/contributing.texi:1422
  1607. #, no-wrap
  1608. msgid "./pre-inst-env guix build guix\n"
  1609. msgstr ""
  1610. #. type: Plain text
  1611. #: guix-git/doc/contributing.texi:1427
  1612. 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."
  1613. msgstr ""
  1614. #. type: Plain text
  1615. #: guix-git/doc/contributing.texi:1431
  1616. 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."
  1617. msgstr ""
  1618. #. type: Plain text
  1619. #: guix-git/doc/guix.texi:7
  1620. msgid "@documentencoding UTF-8"
  1621. msgstr ""
  1622. #. type: title
  1623. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:118
  1624. #, no-wrap
  1625. msgid "GNU Guix Reference Manual"
  1626. msgstr ""
  1627. #. type: include
  1628. #: guix-git/doc/guix.texi:10
  1629. #, no-wrap
  1630. msgid "version.texi"
  1631. msgstr "version-fa.texi"
  1632. #. type: copying
  1633. #: guix-git/doc/guix.texi:91
  1634. msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nikita Gillmann@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 Jan Nieuwenhuizen@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 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 Christopher Lemmer Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Leo Prikler@* Copyright @copyright{} 2019, 2020 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* Copyright @copyright{} 2021 Maxime Devos@*"
  1635. msgstr ""
  1636. #. type: copying
  1637. #: guix-git/doc/guix.texi:98
  1638. 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''."
  1639. msgstr ""
  1640. #. type: dircategory
  1641. #: guix-git/doc/guix.texi:100
  1642. #, no-wrap
  1643. msgid "System administration"
  1644. msgstr ""
  1645. #. type: menuentry
  1646. #: guix-git/doc/guix.texi:108
  1647. msgid "Guix: (guix)"
  1648. msgstr ""
  1649. #. type: menuentry
  1650. #: guix-git/doc/guix.texi:108
  1651. msgid "Manage installed software and system configuration."
  1652. msgstr ""
  1653. #. type: menuentry
  1654. #: guix-git/doc/guix.texi:108
  1655. msgid "guix package: (guix)Invoking guix package"
  1656. msgstr ""
  1657. #. type: menuentry
  1658. #: guix-git/doc/guix.texi:108
  1659. msgid "Installing, removing, and upgrading packages."
  1660. msgstr ""
  1661. #. type: menuentry
  1662. #: guix-git/doc/guix.texi:108
  1663. msgid "guix gc: (guix)Invoking guix gc"
  1664. msgstr ""
  1665. #. type: menuentry
  1666. #: guix-git/doc/guix.texi:108
  1667. msgid "Reclaiming unused disk space."
  1668. msgstr ""
  1669. #. type: menuentry
  1670. #: guix-git/doc/guix.texi:108
  1671. msgid "guix pull: (guix)Invoking guix pull"
  1672. msgstr ""
  1673. #. type: menuentry
  1674. #: guix-git/doc/guix.texi:108
  1675. msgid "Update the list of available packages."
  1676. msgstr ""
  1677. #. type: menuentry
  1678. #: guix-git/doc/guix.texi:108
  1679. msgid "guix system: (guix)Invoking guix system"
  1680. msgstr ""
  1681. #. type: menuentry
  1682. #: guix-git/doc/guix.texi:108
  1683. msgid "Manage the operating system configuration."
  1684. msgstr ""
  1685. #. type: menuentry
  1686. #: guix-git/doc/guix.texi:108
  1687. msgid "guix deploy: (guix)Invoking guix deploy"
  1688. msgstr ""
  1689. #. type: menuentry
  1690. #: guix-git/doc/guix.texi:108
  1691. msgid "Manage operating system configurations for remote hosts."
  1692. msgstr ""
  1693. #. type: dircategory
  1694. #: guix-git/doc/guix.texi:110
  1695. #, no-wrap
  1696. msgid "Software development"
  1697. msgstr ""
  1698. #. type: menuentry
  1699. #: guix-git/doc/guix.texi:115
  1700. msgid "guix environment: (guix)Invoking guix environment"
  1701. msgstr ""
  1702. #. type: menuentry
  1703. #: guix-git/doc/guix.texi:115
  1704. msgid "Building development environments with Guix."
  1705. msgstr ""
  1706. #. type: menuentry
  1707. #: guix-git/doc/guix.texi:115
  1708. msgid "guix build: (guix)Invoking guix build"
  1709. msgstr ""
  1710. #. type: menuentry
  1711. #: guix-git/doc/guix.texi:115
  1712. msgid "Building packages."
  1713. msgstr ""
  1714. #. type: menuentry
  1715. #: guix-git/doc/guix.texi:115
  1716. msgid "guix pack: (guix)Invoking guix pack"
  1717. msgstr ""
  1718. #. type: menuentry
  1719. #: guix-git/doc/guix.texi:115
  1720. msgid "Creating binary bundles."
  1721. msgstr ""
  1722. #. type: subtitle
  1723. #: guix-git/doc/guix.texi:119
  1724. #, no-wrap
  1725. msgid "Using the GNU Guix Functional Package Manager"
  1726. msgstr ""
  1727. #. type: author
  1728. #: guix-git/doc/guix.texi:120
  1729. #, no-wrap
  1730. msgid "The GNU Guix Developers"
  1731. msgstr ""
  1732. #. type: titlepage
  1733. #: guix-git/doc/guix.texi:126
  1734. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  1735. msgstr ""
  1736. #. type: node
  1737. #: guix-git/doc/guix.texi:133
  1738. #, no-wrap
  1739. msgid "Top"
  1740. msgstr ""
  1741. #. type: top
  1742. #: guix-git/doc/guix.texi:134
  1743. #, no-wrap
  1744. msgid "GNU Guix"
  1745. msgstr "گنو گیکس"
  1746. #. type: Plain text
  1747. #: guix-git/doc/guix.texi:138
  1748. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  1749. msgstr ""
  1750. #. You can replace the following paragraph with information on
  1751. #. type: Plain text
  1752. #: guix-git/doc/guix.texi:150
  1753. 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}."
  1754. msgstr ""
  1755. #. type: chapter
  1756. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:178
  1757. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:380
  1758. #, no-wrap
  1759. msgid "Introduction"
  1760. msgstr ""
  1761. #. type: menuentry
  1762. #: guix-git/doc/guix.texi:168
  1763. msgid "What is Guix about?"
  1764. msgstr ""
  1765. #. type: chapter
  1766. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:183
  1767. #: guix-git/doc/guix.texi:560 guix-git/doc/guix.texi:561
  1768. #, no-wrap
  1769. msgid "Installation"
  1770. msgstr ""
  1771. #. type: menuentry
  1772. #: guix-git/doc/guix.texi:168
  1773. msgid "Installing Guix."
  1774. msgstr ""
  1775. #. type: chapter
  1776. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:199
  1777. #: guix-git/doc/guix.texi:2000 guix-git/doc/guix.texi:2001
  1778. #, no-wrap
  1779. msgid "System Installation"
  1780. msgstr ""
  1781. #. type: menuentry
  1782. #: guix-git/doc/guix.texi:168
  1783. msgid "Installing the whole operating system."
  1784. msgstr ""
  1785. #. type: chapter
  1786. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:2717
  1787. #: guix-git/doc/guix.texi:2718
  1788. #, no-wrap
  1789. msgid "Getting Started"
  1790. msgstr ""
  1791. #. type: menuentry
  1792. #: guix-git/doc/guix.texi:168
  1793. msgid "Your first steps."
  1794. msgstr ""
  1795. #. type: chapter
  1796. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:216
  1797. #: guix-git/doc/guix.texi:2925 guix-git/doc/guix.texi:2926
  1798. #, no-wrap
  1799. msgid "Package Management"
  1800. msgstr ""
  1801. #. type: menuentry
  1802. #: guix-git/doc/guix.texi:168
  1803. msgid "Package installation, upgrade, etc."
  1804. msgstr ""
  1805. #. type: chapter
  1806. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:239
  1807. #: guix-git/doc/guix.texi:4975 guix-git/doc/guix.texi:4976
  1808. #, no-wrap
  1809. msgid "Channels"
  1810. msgstr ""
  1811. #. type: menuentry
  1812. #: guix-git/doc/guix.texi:168
  1813. msgid "Customizing the package collection."
  1814. msgstr ""
  1815. #. type: chapter
  1816. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:253
  1817. #: guix-git/doc/guix.texi:5503 guix-git/doc/guix.texi:5504
  1818. #, no-wrap
  1819. msgid "Development"
  1820. msgstr ""
  1821. #. type: menuentry
  1822. #: guix-git/doc/guix.texi:168
  1823. msgid "Guix-aided software development."
  1824. msgstr ""
  1825. #. type: chapter
  1826. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:260
  1827. #: guix-git/doc/guix.texi:6329 guix-git/doc/guix.texi:6330
  1828. #, no-wrap
  1829. msgid "Programming Interface"
  1830. msgstr ""
  1831. #. type: menuentry
  1832. #: guix-git/doc/guix.texi:168
  1833. msgid "Using Guix in Scheme."
  1834. msgstr ""
  1835. #. type: chapter
  1836. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:279
  1837. #: guix-git/doc/guix.texi:10125 guix-git/doc/guix.texi:10126
  1838. #, no-wrap
  1839. msgid "Utilities"
  1840. msgstr ""
  1841. #. type: menuentry
  1842. #: guix-git/doc/guix.texi:168
  1843. msgid "Package management commands."
  1844. msgstr ""
  1845. #. type: chapter
  1846. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:304
  1847. #: guix-git/doc/guix.texi:13305 guix-git/doc/guix.texi:13306
  1848. #, no-wrap
  1849. msgid "System Configuration"
  1850. msgstr ""
  1851. #. type: menuentry
  1852. #: guix-git/doc/guix.texi:168
  1853. msgid "Configuring the operating system."
  1854. msgstr ""
  1855. #. type: chapter
  1856. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34336
  1857. #: guix-git/doc/guix.texi:34337
  1858. #, no-wrap
  1859. msgid "Documentation"
  1860. msgstr ""
  1861. #. type: menuentry
  1862. #: guix-git/doc/guix.texi:168
  1863. msgid "Browsing software user manuals."
  1864. msgstr ""
  1865. #. type: chapter
  1866. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:366
  1867. #: guix-git/doc/guix.texi:34400 guix-git/doc/guix.texi:34401
  1868. #, no-wrap
  1869. msgid "Installing Debugging Files"
  1870. msgstr ""
  1871. #. type: menuentry
  1872. #: guix-git/doc/guix.texi:168
  1873. msgid "Feeding the debugger."
  1874. msgstr ""
  1875. #. type: chapter
  1876. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34541
  1877. #: guix-git/doc/guix.texi:34542
  1878. #, no-wrap
  1879. msgid "Security Updates"
  1880. msgstr ""
  1881. #. type: menuentry
  1882. #: guix-git/doc/guix.texi:168
  1883. msgid "Deploying security fixes quickly."
  1884. msgstr ""
  1885. #. type: chapter
  1886. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:371
  1887. #: guix-git/doc/guix.texi:34656 guix-git/doc/guix.texi:34657
  1888. #, no-wrap
  1889. msgid "Bootstrapping"
  1890. msgstr ""
  1891. #. type: menuentry
  1892. #: guix-git/doc/guix.texi:168
  1893. msgid "GNU/Linux built from scratch."
  1894. msgstr ""
  1895. #. type: node
  1896. #: guix-git/doc/guix.texi:168 guix-git/doc/guix.texi:34948
  1897. #, no-wrap
  1898. msgid "Porting"
  1899. msgstr ""
  1900. #. type: menuentry
  1901. #: guix-git/doc/guix.texi:168
  1902. msgid "Targeting another platform or kernel."
  1903. msgstr ""
  1904. #. type: menuentry
  1905. #: guix-git/doc/guix.texi:168
  1906. msgid "Your help needed!"
  1907. msgstr ""
  1908. #. type: chapter
  1909. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:34996
  1910. #: guix-git/doc/guix.texi:34997
  1911. #, no-wrap
  1912. msgid "Acknowledgments"
  1913. msgstr ""
  1914. #. type: menuentry
  1915. #: guix-git/doc/guix.texi:173
  1916. msgid "Thanks!"
  1917. msgstr "سِپاس!"
  1918. #. type: appendix
  1919. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35018
  1920. #: guix-git/doc/guix.texi:35019
  1921. #, no-wrap
  1922. msgid "GNU Free Documentation License"
  1923. msgstr ""
  1924. #. type: menuentry
  1925. #: guix-git/doc/guix.texi:173
  1926. msgid "The license of this manual."
  1927. msgstr ""
  1928. #. type: unnumbered
  1929. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35024
  1930. #: guix-git/doc/guix.texi:35025
  1931. #, no-wrap
  1932. msgid "Concept Index"
  1933. msgstr ""
  1934. #. type: menuentry
  1935. #: guix-git/doc/guix.texi:173
  1936. msgid "Concepts."
  1937. msgstr ""
  1938. #. type: unnumbered
  1939. #: guix-git/doc/guix.texi:173 guix-git/doc/guix.texi:35028
  1940. #: guix-git/doc/guix.texi:35029
  1941. #, no-wrap
  1942. msgid "Programming Index"
  1943. msgstr ""
  1944. #. type: menuentry
  1945. #: guix-git/doc/guix.texi:173
  1946. msgid "Data types, functions, and variables."
  1947. msgstr ""
  1948. #. type: menuentry
  1949. #: guix-git/doc/guix.texi:176
  1950. msgid "--- The Detailed Node Listing ---"
  1951. msgstr ""
  1952. #. type: section
  1953. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  1954. #: guix-git/doc/guix.texi:408 guix-git/doc/guix.texi:409
  1955. #, no-wrap
  1956. msgid "Managing Software the Guix Way"
  1957. msgstr ""
  1958. #. type: menuentry
  1959. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  1960. msgid "What's special."
  1961. msgstr ""
  1962. #. type: section
  1963. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  1964. #: guix-git/doc/guix.texi:463 guix-git/doc/guix.texi:464
  1965. #, no-wrap
  1966. msgid "GNU Distribution"
  1967. msgstr ""
  1968. #. type: menuentry
  1969. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:406
  1970. msgid "The packages and tools."
  1971. msgstr ""
  1972. #. type: section
  1973. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1974. #: guix-git/doc/guix.texi:602 guix-git/doc/guix.texi:603
  1975. #, no-wrap
  1976. msgid "Binary Installation"
  1977. msgstr ""
  1978. #. type: menuentry
  1979. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1980. msgid "Getting Guix running in no time!"
  1981. msgstr ""
  1982. #. type: section
  1983. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1984. #: guix-git/doc/guix.texi:820 guix-git/doc/guix.texi:821
  1985. #, no-wrap
  1986. msgid "Requirements"
  1987. msgstr ""
  1988. #. type: menuentry
  1989. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1990. msgid "Software needed to build and run Guix."
  1991. msgstr ""
  1992. #. type: section
  1993. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  1994. #: guix-git/doc/guix.texi:909 guix-git/doc/guix.texi:910
  1995. #, no-wrap
  1996. msgid "Running the Test Suite"
  1997. msgstr ""
  1998. #. type: menuentry
  1999. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2000. msgid "Testing Guix."
  2001. msgstr ""
  2002. #. type: section
  2003. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:193
  2004. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:1006
  2005. #: guix-git/doc/guix.texi:1007
  2006. #, no-wrap
  2007. msgid "Setting Up the Daemon"
  2008. msgstr ""
  2009. #. type: menuentry
  2010. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2011. msgid "Preparing the build daemon's environment."
  2012. msgstr ""
  2013. #. type: node
  2014. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2015. #: guix-git/doc/guix.texi:1476
  2016. #, no-wrap
  2017. msgid "Invoking guix-daemon"
  2018. msgstr ""
  2019. #. type: menuentry
  2020. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2021. msgid "Running the build daemon."
  2022. msgstr ""
  2023. #. type: section
  2024. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2025. #: guix-git/doc/guix.texi:1778 guix-git/doc/guix.texi:1779
  2026. #, no-wrap
  2027. msgid "Application Setup"
  2028. msgstr ""
  2029. #. type: menuentry
  2030. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2031. msgid "Application-specific setup."
  2032. msgstr ""
  2033. #. type: section
  2034. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2035. #: guix-git/doc/guix.texi:1963 guix-git/doc/guix.texi:1964
  2036. #, no-wrap
  2037. msgid "Upgrading Guix"
  2038. msgstr ""
  2039. #. type: menuentry
  2040. #: guix-git/doc/guix.texi:191 guix-git/doc/guix.texi:600
  2041. msgid "Upgrading Guix and its build daemon."
  2042. msgstr ""
  2043. #. type: subsection
  2044. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2045. #: guix-git/doc/guix.texi:1028 guix-git/doc/guix.texi:1029
  2046. #, no-wrap
  2047. msgid "Build Environment Setup"
  2048. msgstr ""
  2049. #. type: menuentry
  2050. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2051. msgid "Preparing the isolated build environment."
  2052. msgstr ""
  2053. #. type: node
  2054. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2055. #: guix-git/doc/guix.texi:1147
  2056. #, no-wrap
  2057. msgid "Daemon Offload Setup"
  2058. msgstr ""
  2059. #. type: menuentry
  2060. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2061. msgid "Offloading builds to remote machines."
  2062. msgstr ""
  2063. #. type: subsection
  2064. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2065. #: guix-git/doc/guix.texi:1385 guix-git/doc/guix.texi:1386
  2066. #, no-wrap
  2067. msgid "SELinux Support"
  2068. msgstr ""
  2069. #. type: menuentry
  2070. #: guix-git/doc/guix.texi:197 guix-git/doc/guix.texi:1026
  2071. msgid "Using an SELinux policy for the daemon."
  2072. msgstr ""
  2073. #. type: section
  2074. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:1421
  2075. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2036
  2076. #: guix-git/doc/guix.texi:2037
  2077. #, no-wrap
  2078. msgid "Limitations"
  2079. msgstr ""
  2080. #. type: menuentry
  2081. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2082. msgid "What you can expect."
  2083. msgstr ""
  2084. #. type: section
  2085. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2086. #: guix-git/doc/guix.texi:2062 guix-git/doc/guix.texi:2063
  2087. #, no-wrap
  2088. msgid "Hardware Considerations"
  2089. msgstr ""
  2090. #. type: menuentry
  2091. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2092. msgid "Supported hardware."
  2093. msgstr ""
  2094. #. type: section
  2095. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2096. #: guix-git/doc/guix.texi:2097 guix-git/doc/guix.texi:2098
  2097. #, no-wrap
  2098. msgid "USB Stick and DVD Installation"
  2099. msgstr ""
  2100. #. type: menuentry
  2101. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2102. msgid "Preparing the installation medium."
  2103. msgstr ""
  2104. #. type: section
  2105. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2106. #: guix-git/doc/guix.texi:2178 guix-git/doc/guix.texi:2179
  2107. #, no-wrap
  2108. msgid "Preparing for Installation"
  2109. msgstr ""
  2110. #. type: menuentry
  2111. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2112. msgid "Networking, partitioning, etc."
  2113. msgstr ""
  2114. #. type: section
  2115. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2116. #: guix-git/doc/guix.texi:2201 guix-git/doc/guix.texi:2202
  2117. #, no-wrap
  2118. msgid "Guided Graphical Installation"
  2119. msgstr ""
  2120. #. type: menuentry
  2121. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2122. msgid "Easy graphical installation."
  2123. msgstr ""
  2124. #. type: section
  2125. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:211
  2126. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2232
  2127. #: guix-git/doc/guix.texi:2233
  2128. #, no-wrap
  2129. msgid "Manual Installation"
  2130. msgstr ""
  2131. #. type: menuentry
  2132. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2133. msgid "Manual installation for wizards."
  2134. msgstr ""
  2135. #. type: section
  2136. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2137. #: guix-git/doc/guix.texi:2600 guix-git/doc/guix.texi:2601
  2138. #, no-wrap
  2139. msgid "After System Installation"
  2140. msgstr ""
  2141. #. type: menuentry
  2142. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2143. msgid "When installation succeeded."
  2144. msgstr ""
  2145. #. type: node
  2146. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2147. #: guix-git/doc/guix.texi:2634
  2148. #, no-wrap
  2149. msgid "Installing Guix in a VM"
  2150. msgstr ""
  2151. #. type: menuentry
  2152. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2153. msgid "Guix System playground."
  2154. msgstr ""
  2155. #. type: section
  2156. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2157. #: guix-git/doc/guix.texi:2685 guix-git/doc/guix.texi:2686
  2158. #, no-wrap
  2159. msgid "Building the Installation Image"
  2160. msgstr ""
  2161. #. type: menuentry
  2162. #: guix-git/doc/guix.texi:209 guix-git/doc/guix.texi:2034
  2163. msgid "How this comes to be."
  2164. msgstr ""
  2165. #. type: node
  2166. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2167. #: guix-git/doc/guix.texi:2252
  2168. #, no-wrap
  2169. msgid "Keyboard Layout and Networking and Partitioning"
  2170. msgstr ""
  2171. #. type: menuentry
  2172. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2173. msgid "Initial setup."
  2174. msgstr ""
  2175. #. type: subsection
  2176. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2177. #: guix-git/doc/guix.texi:2512 guix-git/doc/guix.texi:2513
  2178. #, no-wrap
  2179. msgid "Proceeding with the Installation"
  2180. msgstr ""
  2181. #. type: menuentry
  2182. #: guix-git/doc/guix.texi:214 guix-git/doc/guix.texi:2250
  2183. msgid "Installing."
  2184. msgstr ""
  2185. #. type: section
  2186. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2187. #: guix-git/doc/guix.texi:2959 guix-git/doc/guix.texi:2960
  2188. #, no-wrap
  2189. msgid "Features"
  2190. msgstr "ویژِگی‌ھا"
  2191. #. type: menuentry
  2192. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2193. msgid "How Guix will make your life brighter."
  2194. msgstr ""
  2195. #. type: node
  2196. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2197. #: guix-git/doc/guix.texi:3049
  2198. #, no-wrap
  2199. msgid "Invoking guix package"
  2200. msgstr ""
  2201. #. type: menuentry
  2202. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2203. msgid "Package installation, removal, etc."
  2204. msgstr ""
  2205. #. type: section
  2206. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:229
  2207. #: guix-git/doc/guix.texi:2957 guix-git/doc/guix.texi:3665
  2208. #: guix-git/doc/guix.texi:3666
  2209. #, no-wrap
  2210. msgid "Substitutes"
  2211. msgstr ""
  2212. #. type: menuentry
  2213. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2214. msgid "Downloading pre-built binaries."
  2215. msgstr ""
  2216. #. type: section
  2217. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2218. #: guix-git/doc/guix.texi:3996 guix-git/doc/guix.texi:3997
  2219. #, no-wrap
  2220. msgid "Packages with Multiple Outputs"
  2221. msgstr ""
  2222. #. type: menuentry
  2223. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2224. msgid "Single source package, multiple outputs."
  2225. msgstr ""
  2226. #. type: node
  2227. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2228. #: guix-git/doc/guix.texi:4050
  2229. #, no-wrap
  2230. msgid "Invoking guix gc"
  2231. msgstr ""
  2232. #. type: menuentry
  2233. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2234. msgid "Running the garbage collector."
  2235. msgstr ""
  2236. #. type: node
  2237. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2238. #: guix-git/doc/guix.texi:4260
  2239. #, no-wrap
  2240. msgid "Invoking guix pull"
  2241. msgstr ""
  2242. #. type: menuentry
  2243. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2244. msgid "Fetching the latest Guix and distribution."
  2245. msgstr ""
  2246. #. type: node
  2247. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2248. #: guix-git/doc/guix.texi:4507
  2249. #, no-wrap
  2250. msgid "Invoking guix time-machine"
  2251. msgstr ""
  2252. #. type: menuentry
  2253. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2254. msgid "Running an older revision of Guix."
  2255. msgstr ""
  2256. #. type: section
  2257. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2258. #: guix-git/doc/guix.texi:4562 guix-git/doc/guix.texi:4563
  2259. #, no-wrap
  2260. msgid "Inferiors"
  2261. msgstr ""
  2262. #. type: menuentry
  2263. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2264. msgid "Interacting with another revision of Guix."
  2265. msgstr ""
  2266. #. type: node
  2267. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2268. #: guix-git/doc/guix.texi:4690
  2269. #, no-wrap
  2270. msgid "Invoking guix describe"
  2271. msgstr ""
  2272. #. type: menuentry
  2273. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2274. msgid "Display information about your Guix revision."
  2275. msgstr ""
  2276. #. type: node
  2277. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2278. #: guix-git/doc/guix.texi:4785
  2279. #, no-wrap
  2280. msgid "Invoking guix archive"
  2281. msgstr ""
  2282. #. type: menuentry
  2283. #: guix-git/doc/guix.texi:227 guix-git/doc/guix.texi:2957
  2284. msgid "Exporting and importing store files."
  2285. msgstr ""
  2286. #. type: subsection
  2287. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2288. #: guix-git/doc/guix.texi:3691 guix-git/doc/guix.texi:3692
  2289. #, no-wrap
  2290. msgid "Official Substitute Server"
  2291. msgstr ""
  2292. #. type: menuentry
  2293. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2294. msgid "One particular source of substitutes."
  2295. msgstr ""
  2296. #. type: subsection
  2297. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2298. #: guix-git/doc/guix.texi:3720 guix-git/doc/guix.texi:3721
  2299. #, no-wrap
  2300. msgid "Substitute Server Authorization"
  2301. msgstr ""
  2302. #. type: menuentry
  2303. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2304. msgid "How to enable or disable substitutes."
  2305. msgstr ""
  2306. #. type: subsection
  2307. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2308. #: guix-git/doc/guix.texi:3789 guix-git/doc/guix.texi:3790
  2309. #, no-wrap
  2310. msgid "Getting Substitutes from Other Servers"
  2311. msgstr ""
  2312. #. type: menuentry
  2313. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2314. msgid "Substitute diversity."
  2315. msgstr ""
  2316. #. type: subsection
  2317. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2318. #: guix-git/doc/guix.texi:3891 guix-git/doc/guix.texi:3892
  2319. #, no-wrap
  2320. msgid "Substitute Authentication"
  2321. msgstr ""
  2322. #. type: menuentry
  2323. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2324. msgid "How Guix verifies substitutes."
  2325. msgstr ""
  2326. #. type: subsection
  2327. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2328. #: guix-git/doc/guix.texi:3926 guix-git/doc/guix.texi:3927
  2329. #, no-wrap
  2330. msgid "Proxy Settings"
  2331. msgstr ""
  2332. #. type: menuentry
  2333. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2334. msgid "How to get substitutes via proxy."
  2335. msgstr ""
  2336. #. type: subsection
  2337. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2338. #: guix-git/doc/guix.texi:3938 guix-git/doc/guix.texi:3939
  2339. #, no-wrap
  2340. msgid "Substitution Failure"
  2341. msgstr ""
  2342. #. type: menuentry
  2343. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2344. msgid "What happens when substitution fails."
  2345. msgstr ""
  2346. #. type: subsection
  2347. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2348. #: guix-git/doc/guix.texi:3966 guix-git/doc/guix.texi:3967
  2349. #, no-wrap
  2350. msgid "On Trusting Binaries"
  2351. msgstr ""
  2352. #. type: menuentry
  2353. #: guix-git/doc/guix.texi:237 guix-git/doc/guix.texi:3689
  2354. msgid "How can you trust that binary blob?"
  2355. msgstr ""
  2356. #. type: section
  2357. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2358. #: guix-git/doc/guix.texi:5008 guix-git/doc/guix.texi:5009
  2359. #, no-wrap
  2360. msgid "Specifying Additional Channels"
  2361. msgstr ""
  2362. #. type: menuentry
  2363. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2364. msgid "Extending the package collection."
  2365. msgstr ""
  2366. #. type: section
  2367. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2368. #: guix-git/doc/guix.texi:5058 guix-git/doc/guix.texi:5059
  2369. #, no-wrap
  2370. msgid "Using a Custom Guix Channel"
  2371. msgstr ""
  2372. #. type: menuentry
  2373. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2374. msgid "Using a customized Guix."
  2375. msgstr ""
  2376. #. type: section
  2377. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2378. #: guix-git/doc/guix.texi:5080 guix-git/doc/guix.texi:5081
  2379. #, no-wrap
  2380. msgid "Replicating Guix"
  2381. msgstr ""
  2382. #. type: menuentry
  2383. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2384. msgid "Running the @emph{exact same} Guix."
  2385. msgstr ""
  2386. #. type: section
  2387. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2388. #: guix-git/doc/guix.texi:5121 guix-git/doc/guix.texi:5122
  2389. #, no-wrap
  2390. msgid "Channel Authentication"
  2391. msgstr ""
  2392. #. type: menuentry
  2393. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2394. msgid "How Guix verifies what it fetches."
  2395. msgstr ""
  2396. #. type: section
  2397. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2398. #: guix-git/doc/guix.texi:5161 guix-git/doc/guix.texi:5162
  2399. #, no-wrap
  2400. msgid "Channels with Substitutes"
  2401. msgstr ""
  2402. #. type: menuentry
  2403. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2404. msgid "Using channels with available substitutes."
  2405. msgstr ""
  2406. #. type: section
  2407. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2408. #: guix-git/doc/guix.texi:5186 guix-git/doc/guix.texi:5187
  2409. #, no-wrap
  2410. msgid "Creating a Channel"
  2411. msgstr ""
  2412. #. type: menuentry
  2413. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2414. msgid "How to write your custom channel."
  2415. msgstr ""
  2416. #. type: section
  2417. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2418. #: guix-git/doc/guix.texi:5253 guix-git/doc/guix.texi:5254
  2419. #, no-wrap
  2420. msgid "Package Modules in a Sub-directory"
  2421. msgstr ""
  2422. #. type: menuentry
  2423. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2424. msgid "Specifying the channel's package modules location."
  2425. msgstr ""
  2426. #. type: section
  2427. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2428. #: guix-git/doc/guix.texi:5267 guix-git/doc/guix.texi:5268
  2429. #, no-wrap
  2430. msgid "Declaring Channel Dependencies"
  2431. msgstr ""
  2432. #. type: menuentry
  2433. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2434. msgid "How to depend on other channels."
  2435. msgstr ""
  2436. #. type: section
  2437. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2438. #: guix-git/doc/guix.texi:5309 guix-git/doc/guix.texi:5310
  2439. #, no-wrap
  2440. msgid "Specifying Channel Authorizations"
  2441. msgstr ""
  2442. #. type: menuentry
  2443. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2444. msgid "Defining channel authors authorizations."
  2445. msgstr ""
  2446. #. type: section
  2447. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2448. #: guix-git/doc/guix.texi:5410 guix-git/doc/guix.texi:5411
  2449. #, no-wrap
  2450. msgid "Primary URL"
  2451. msgstr ""
  2452. #. type: menuentry
  2453. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2454. msgid "Distinguishing mirror to original."
  2455. msgstr ""
  2456. #. type: section
  2457. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2458. #: guix-git/doc/guix.texi:5433 guix-git/doc/guix.texi:5434
  2459. #, no-wrap
  2460. msgid "Writing Channel News"
  2461. msgstr ""
  2462. #. type: menuentry
  2463. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:5006
  2464. msgid "Communicating information to channel's users."
  2465. msgstr ""
  2466. #. type: node
  2467. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2468. #: guix-git/doc/guix.texi:5524
  2469. #, no-wrap
  2470. msgid "Invoking guix environment"
  2471. msgstr ""
  2472. #. type: menuentry
  2473. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2474. msgid "Setting up development environments."
  2475. msgstr ""
  2476. #. type: node
  2477. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2478. #: guix-git/doc/guix.texi:5884
  2479. #, no-wrap
  2480. msgid "Invoking guix pack"
  2481. msgstr ""
  2482. #. type: menuentry
  2483. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2484. msgid "Creating software bundles."
  2485. msgstr ""
  2486. #. type: section
  2487. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2488. #: guix-git/doc/guix.texi:6241 guix-git/doc/guix.texi:6242
  2489. #, no-wrap
  2490. msgid "The GCC toolchain"
  2491. msgstr ""
  2492. #. type: menuentry
  2493. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2494. msgid "Working with languages supported by GCC."
  2495. msgstr ""
  2496. #. type: node
  2497. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2498. #: guix-git/doc/guix.texi:6267
  2499. #, no-wrap
  2500. msgid "Invoking guix git authenticate"
  2501. msgstr ""
  2502. #. type: menuentry
  2503. #: guix-git/doc/guix.texi:258 guix-git/doc/guix.texi:5522
  2504. msgid "Authenticating Git repositories."
  2505. msgstr ""
  2506. #. type: section
  2507. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2508. #: guix-git/doc/guix.texi:6371 guix-git/doc/guix.texi:6372
  2509. #, no-wrap
  2510. msgid "Package Modules"
  2511. msgstr ""
  2512. #. type: menuentry
  2513. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2514. msgid "Packages from the programmer's viewpoint."
  2515. msgstr ""
  2516. #. type: section
  2517. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:274
  2518. #: guix-git/doc/guix.texi:6369 guix-git/doc/guix.texi:6433
  2519. #: guix-git/doc/guix.texi:6434
  2520. #, no-wrap
  2521. msgid "Defining Packages"
  2522. msgstr ""
  2523. #. type: menuentry
  2524. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2525. msgid "Defining new packages."
  2526. msgstr ""
  2527. #. type: section
  2528. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2529. #: guix-git/doc/guix.texi:7001 guix-git/doc/guix.texi:7002
  2530. #, no-wrap
  2531. msgid "Defining Package Variants"
  2532. msgstr ""
  2533. #. type: menuentry
  2534. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2535. msgid "Customizing packages."
  2536. msgstr ""
  2537. #. type: section
  2538. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2539. #: guix-git/doc/guix.texi:7233 guix-git/doc/guix.texi:7234
  2540. #, no-wrap
  2541. msgid "Build Systems"
  2542. msgstr ""
  2543. #. type: menuentry
  2544. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2545. msgid "Specifying how packages are built."
  2546. msgstr ""
  2547. #. type: subsection
  2548. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2549. #: guix-git/doc/guix.texi:8249 guix-git/doc/guix.texi:8250
  2550. #: guix-git/doc/guix.texi:8653
  2551. #, no-wrap
  2552. msgid "Build Phases"
  2553. msgstr ""
  2554. #. type: menuentry
  2555. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2556. msgid "Phases of the build process of a package."
  2557. msgstr ""
  2558. #. type: section
  2559. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2560. #: guix-git/doc/guix.texi:8443 guix-git/doc/guix.texi:8444
  2561. #, no-wrap
  2562. msgid "Build Utilities"
  2563. msgstr ""
  2564. #. type: menuentry
  2565. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2566. msgid "Helpers for your package definitions and more."
  2567. msgstr ""
  2568. #. type: section
  2569. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2570. #: guix-git/doc/guix.texi:8730 guix-git/doc/guix.texi:8731
  2571. #, no-wrap
  2572. msgid "The Store"
  2573. msgstr ""
  2574. #. type: menuentry
  2575. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2576. msgid "Manipulating the package store."
  2577. msgstr ""
  2578. #. type: section
  2579. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2580. #: guix-git/doc/guix.texi:8883 guix-git/doc/guix.texi:8884
  2581. #, no-wrap
  2582. msgid "Derivations"
  2583. msgstr ""
  2584. #. type: menuentry
  2585. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2586. msgid "Low-level interface to package derivations."
  2587. msgstr ""
  2588. #. type: section
  2589. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2590. #: guix-git/doc/guix.texi:9077 guix-git/doc/guix.texi:9078
  2591. #, no-wrap
  2592. msgid "The Store Monad"
  2593. msgstr ""
  2594. #. type: menuentry
  2595. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2596. msgid "Purely functional interface to the store."
  2597. msgstr ""
  2598. #. type: section
  2599. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2600. #: guix-git/doc/guix.texi:9396 guix-git/doc/guix.texi:9397
  2601. #, no-wrap
  2602. msgid "G-Expressions"
  2603. msgstr ""
  2604. #. type: menuentry
  2605. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2606. msgid "Manipulating build expressions."
  2607. msgstr ""
  2608. #. type: node
  2609. #: guix-git/doc/guix.texi:272 guix-git/doc/guix.texi:6369
  2610. #: guix-git/doc/guix.texi:10025
  2611. #, no-wrap
  2612. msgid "Invoking guix repl"
  2613. msgstr ""
  2614. #. type: menuentry
  2615. #: guix-git/doc/guix.texi:272
  2616. msgid "Programming Guix in Guile."
  2617. msgstr ""
  2618. #. type: node
  2619. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2620. #: guix-git/doc/guix.texi:6639
  2621. #, no-wrap
  2622. msgid "package Reference"
  2623. msgstr ""
  2624. #. type: menuentry
  2625. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2626. msgid "The package data type."
  2627. msgstr ""
  2628. #. type: node
  2629. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2630. #: guix-git/doc/guix.texi:6810
  2631. #, no-wrap
  2632. msgid "origin Reference"
  2633. msgstr ""
  2634. #. type: menuentry
  2635. #: guix-git/doc/guix.texi:277 guix-git/doc/guix.texi:6636
  2636. msgid "The origin data type."
  2637. msgstr ""
  2638. #. type: node
  2639. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2640. #: guix-git/doc/guix.texi:10151
  2641. #, no-wrap
  2642. msgid "Invoking guix build"
  2643. msgstr ""
  2644. #. type: menuentry
  2645. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2646. msgid "Building packages from the command line."
  2647. msgstr ""
  2648. #. type: node
  2649. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2650. #: guix-git/doc/guix.texi:10987
  2651. #, no-wrap
  2652. msgid "Invoking guix edit"
  2653. msgstr ""
  2654. #. type: menuentry
  2655. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2656. msgid "Editing package definitions."
  2657. msgstr ""
  2658. #. type: node
  2659. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2660. #: guix-git/doc/guix.texi:11017
  2661. #, no-wrap
  2662. msgid "Invoking guix download"
  2663. msgstr ""
  2664. #. type: menuentry
  2665. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2666. msgid "Downloading a file and printing its hash."
  2667. msgstr ""
  2668. #. type: node
  2669. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2670. #: guix-git/doc/guix.texi:11075
  2671. #, no-wrap
  2672. msgid "Invoking guix hash"
  2673. msgstr ""
  2674. #. type: menuentry
  2675. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2676. msgid "Computing the cryptographic hash of a file."
  2677. msgstr ""
  2678. #. type: node
  2679. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2680. #: guix-git/doc/guix.texi:11147
  2681. #, no-wrap
  2682. msgid "Invoking guix import"
  2683. msgstr ""
  2684. #. type: menuentry
  2685. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2686. msgid "Importing package definitions."
  2687. msgstr ""
  2688. #. type: node
  2689. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2690. #: guix-git/doc/guix.texi:11602
  2691. #, no-wrap
  2692. msgid "Invoking guix refresh"
  2693. msgstr ""
  2694. #. type: menuentry
  2695. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2696. msgid "Updating package definitions."
  2697. msgstr ""
  2698. #. type: node
  2699. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2700. #: guix-git/doc/guix.texi:11938
  2701. #, no-wrap
  2702. msgid "Invoking guix lint"
  2703. msgstr ""
  2704. #. type: menuentry
  2705. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2706. msgid "Finding errors in package definitions."
  2707. msgstr ""
  2708. #. type: node
  2709. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2710. #: guix-git/doc/guix.texi:12107
  2711. #, no-wrap
  2712. msgid "Invoking guix size"
  2713. msgstr ""
  2714. #. type: menuentry
  2715. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2716. msgid "Profiling disk usage."
  2717. msgstr ""
  2718. #. type: node
  2719. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2720. #: guix-git/doc/guix.texi:12251
  2721. #, no-wrap
  2722. msgid "Invoking guix graph"
  2723. msgstr ""
  2724. #. type: menuentry
  2725. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2726. msgid "Visualizing the graph of packages."
  2727. msgstr ""
  2728. #. type: node
  2729. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2730. #: guix-git/doc/guix.texi:12518
  2731. #, no-wrap
  2732. msgid "Invoking guix publish"
  2733. msgstr ""
  2734. #. type: menuentry
  2735. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2736. msgid "Sharing substitutes."
  2737. msgstr ""
  2738. #. type: node
  2739. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2740. #: guix-git/doc/guix.texi:12777
  2741. #, no-wrap
  2742. msgid "Invoking guix challenge"
  2743. msgstr ""
  2744. #. type: menuentry
  2745. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2746. msgid "Challenging substitute servers."
  2747. msgstr ""
  2748. #. type: node
  2749. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2750. #: guix-git/doc/guix.texi:12960
  2751. #, no-wrap
  2752. msgid "Invoking guix copy"
  2753. msgstr ""
  2754. #. type: menuentry
  2755. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2756. msgid "Copying to and from a remote store."
  2757. msgstr ""
  2758. #. type: node
  2759. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2760. #: guix-git/doc/guix.texi:13023
  2761. #, no-wrap
  2762. msgid "Invoking guix container"
  2763. msgstr ""
  2764. #. type: menuentry
  2765. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2766. msgid "Process isolation."
  2767. msgstr ""
  2768. #. type: node
  2769. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2770. #: guix-git/doc/guix.texi:13077
  2771. #, no-wrap
  2772. msgid "Invoking guix weather"
  2773. msgstr ""
  2774. #. type: menuentry
  2775. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2776. msgid "Assessing substitute availability."
  2777. msgstr ""
  2778. #. type: node
  2779. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2780. #: guix-git/doc/guix.texi:13207
  2781. #, no-wrap
  2782. msgid "Invoking guix processes"
  2783. msgstr ""
  2784. #. type: menuentry
  2785. #: guix-git/doc/guix.texi:295 guix-git/doc/guix.texi:10149
  2786. msgid "Listing client processes."
  2787. msgstr ""
  2788. #. type: section
  2789. #: guix-git/doc/guix.texi:297 guix-git/doc/guix.texi:10152
  2790. #, no-wrap
  2791. msgid "Invoking @command{guix build}"
  2792. msgstr ""
  2793. #. type: subsection
  2794. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2795. #: guix-git/doc/guix.texi:10205 guix-git/doc/guix.texi:10206
  2796. #, no-wrap
  2797. msgid "Common Build Options"
  2798. msgstr ""
  2799. #. type: menuentry
  2800. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2801. msgid "Build options for most commands."
  2802. msgstr ""
  2803. #. type: subsection
  2804. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2805. #: guix-git/doc/guix.texi:10360 guix-git/doc/guix.texi:10361
  2806. #, no-wrap
  2807. msgid "Package Transformation Options"
  2808. msgstr ""
  2809. #. type: menuentry
  2810. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2811. msgid "Creating variants of packages."
  2812. msgstr ""
  2813. #. type: subsection
  2814. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2815. #: guix-git/doc/guix.texi:10669 guix-git/doc/guix.texi:10670
  2816. #, no-wrap
  2817. msgid "Additional Build Options"
  2818. msgstr ""
  2819. #. type: menuentry
  2820. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2821. msgid "Options specific to 'guix build'."
  2822. msgstr ""
  2823. #. type: subsection
  2824. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2825. #: guix-git/doc/guix.texi:10907 guix-git/doc/guix.texi:10908
  2826. #, no-wrap
  2827. msgid "Debugging Build Failures"
  2828. msgstr ""
  2829. #. type: menuentry
  2830. #: guix-git/doc/guix.texi:302 guix-git/doc/guix.texi:10203
  2831. msgid "Real life packaging experience."
  2832. msgstr ""
  2833. #. type: section
  2834. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2835. #: guix-git/doc/guix.texi:13350 guix-git/doc/guix.texi:13351
  2836. #, no-wrap
  2837. msgid "Using the Configuration System"
  2838. msgstr ""
  2839. #. type: menuentry
  2840. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2841. msgid "Customizing your GNU system."
  2842. msgstr ""
  2843. #. type: node
  2844. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2845. #: guix-git/doc/guix.texi:13598
  2846. #, no-wrap
  2847. msgid "operating-system Reference"
  2848. msgstr ""
  2849. #. type: menuentry
  2850. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2851. msgid "Detail of operating-system declarations."
  2852. msgstr ""
  2853. #. type: section
  2854. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2855. #: guix-git/doc/guix.texi:13850 guix-git/doc/guix.texi:13851
  2856. #, no-wrap
  2857. msgid "File Systems"
  2858. msgstr ""
  2859. #. type: menuentry
  2860. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2861. msgid "Configuring file system mounts."
  2862. msgstr ""
  2863. #. type: section
  2864. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2865. #: guix-git/doc/guix.texi:14173 guix-git/doc/guix.texi:14174
  2866. #, no-wrap
  2867. msgid "Mapped Devices"
  2868. msgstr ""
  2869. #. type: menuentry
  2870. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2871. msgid "Block device extra processing."
  2872. msgstr ""
  2873. #. type: section
  2874. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2875. #: guix-git/doc/guix.texi:14321 guix-git/doc/guix.texi:14322
  2876. #, no-wrap
  2877. msgid "User Accounts"
  2878. msgstr ""
  2879. #. type: menuentry
  2880. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2881. msgid "Specifying user accounts."
  2882. msgstr ""
  2883. #. type: section
  2884. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:2259
  2885. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14497
  2886. #: guix-git/doc/guix.texi:14498
  2887. #, no-wrap
  2888. msgid "Keyboard Layout"
  2889. msgstr ""
  2890. #. type: menuentry
  2891. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2892. msgid "How the system interprets key strokes."
  2893. msgstr ""
  2894. #. type: section
  2895. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1786
  2896. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14643
  2897. #: guix-git/doc/guix.texi:14644
  2898. #, no-wrap
  2899. msgid "Locales"
  2900. msgstr ""
  2901. #. type: menuentry
  2902. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2903. msgid "Language and cultural convention settings."
  2904. msgstr ""
  2905. #. type: section
  2906. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:324
  2907. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:14783
  2908. #: guix-git/doc/guix.texi:14784
  2909. #, no-wrap
  2910. msgid "Services"
  2911. msgstr ""
  2912. #. type: menuentry
  2913. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2914. msgid "Specifying system services."
  2915. msgstr ""
  2916. #. type: section
  2917. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2918. #: guix-git/doc/guix.texi:31980 guix-git/doc/guix.texi:31981
  2919. #, no-wrap
  2920. msgid "Setuid Programs"
  2921. msgstr ""
  2922. #. type: menuentry
  2923. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2924. msgid "Programs running with root privileges."
  2925. msgstr ""
  2926. #. type: section
  2927. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1935
  2928. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:32026
  2929. #: guix-git/doc/guix.texi:32027
  2930. #, no-wrap
  2931. msgid "X.509 Certificates"
  2932. msgstr ""
  2933. #. type: menuentry
  2934. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2935. msgid "Authenticating HTTPS servers."
  2936. msgstr ""
  2937. #. type: section
  2938. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:1829
  2939. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:32089
  2940. #: guix-git/doc/guix.texi:32090
  2941. #, no-wrap
  2942. msgid "Name Service Switch"
  2943. msgstr ""
  2944. #. type: menuentry
  2945. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2946. msgid "Configuring libc's name service switch."
  2947. msgstr ""
  2948. #. type: section
  2949. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2950. #: guix-git/doc/guix.texi:32227 guix-git/doc/guix.texi:32228
  2951. #, no-wrap
  2952. msgid "Initial RAM Disk"
  2953. msgstr ""
  2954. #. type: menuentry
  2955. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2956. msgid "Linux-Libre bootstrapping."
  2957. msgstr ""
  2958. #. type: section
  2959. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2960. #: guix-git/doc/guix.texi:32403 guix-git/doc/guix.texi:32404
  2961. #, no-wrap
  2962. msgid "Bootloader Configuration"
  2963. msgstr ""
  2964. #. type: menuentry
  2965. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2966. msgid "Configuring the boot loader."
  2967. msgstr ""
  2968. #. type: node
  2969. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2970. #: guix-git/doc/guix.texi:32697
  2971. #, no-wrap
  2972. msgid "Invoking guix system"
  2973. msgstr ""
  2974. #. type: menuentry
  2975. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2976. msgid "Instantiating a system configuration."
  2977. msgstr ""
  2978. #. type: node
  2979. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2980. #: guix-git/doc/guix.texi:33282
  2981. #, no-wrap
  2982. msgid "Invoking guix deploy"
  2983. msgstr ""
  2984. #. type: menuentry
  2985. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2986. msgid "Deploying a system configuration to a remote host."
  2987. msgstr ""
  2988. #. type: node
  2989. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2990. #: guix-git/doc/guix.texi:33488
  2991. #, no-wrap
  2992. msgid "Running Guix in a VM"
  2993. msgstr ""
  2994. #. type: menuentry
  2995. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  2996. msgid "How to run Guix System in a virtual machine."
  2997. msgstr ""
  2998. #. type: section
  2999. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:359
  3000. #: guix-git/doc/guix.texi:13348 guix-git/doc/guix.texi:33618
  3001. #: guix-git/doc/guix.texi:33619
  3002. #, no-wrap
  3003. msgid "Defining Services"
  3004. msgstr ""
  3005. #. type: menuentry
  3006. #: guix-git/doc/guix.texi:322 guix-git/doc/guix.texi:13348
  3007. msgid "Adding new service definitions."
  3008. msgstr ""
  3009. #. type: subsection
  3010. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3011. #: guix-git/doc/guix.texi:14868 guix-git/doc/guix.texi:14869
  3012. #, no-wrap
  3013. msgid "Base Services"
  3014. msgstr ""
  3015. #. type: menuentry
  3016. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3017. msgid "Essential system services."
  3018. msgstr ""
  3019. #. type: subsection
  3020. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3021. #: guix-git/doc/guix.texi:15784 guix-git/doc/guix.texi:15785
  3022. #, no-wrap
  3023. msgid "Scheduled Job Execution"
  3024. msgstr ""
  3025. #. type: menuentry
  3026. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3027. msgid "The mcron service."
  3028. msgstr ""
  3029. #. type: subsection
  3030. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3031. #: guix-git/doc/guix.texi:15925 guix-git/doc/guix.texi:15926
  3032. #, no-wrap
  3033. msgid "Log Rotation"
  3034. msgstr ""
  3035. #. type: menuentry
  3036. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3037. msgid "The rottlog service."
  3038. msgstr ""
  3039. #. type: subsection
  3040. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3041. #: guix-git/doc/guix.texi:16038 guix-git/doc/guix.texi:16039
  3042. #, no-wrap
  3043. msgid "Networking Services"
  3044. msgstr ""
  3045. #. type: menuentry
  3046. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3047. msgid "Network setup, SSH daemon, etc."
  3048. msgstr ""
  3049. #. type: subsection
  3050. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3051. #: guix-git/doc/guix.texi:17608 guix-git/doc/guix.texi:17609
  3052. #, no-wrap
  3053. msgid "Unattended Upgrades"
  3054. msgstr ""
  3055. #. type: menuentry
  3056. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3057. msgid "Automated system upgrades."
  3058. msgstr ""
  3059. #. type: subsection
  3060. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3061. #: guix-git/doc/guix.texi:17746 guix-git/doc/guix.texi:17747
  3062. #, no-wrap
  3063. msgid "X Window"
  3064. msgstr ""
  3065. #. type: menuentry
  3066. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3067. msgid "Graphical display."
  3068. msgstr ""
  3069. #. type: subsection
  3070. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3071. #: guix-git/doc/guix.texi:18123 guix-git/doc/guix.texi:18124
  3072. #, no-wrap
  3073. msgid "Printing Services"
  3074. msgstr ""
  3075. #. type: menuentry
  3076. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3077. msgid "Local and remote printer support."
  3078. msgstr ""
  3079. #. type: subsection
  3080. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3081. #: guix-git/doc/guix.texi:18976 guix-git/doc/guix.texi:18977
  3082. #, no-wrap
  3083. msgid "Desktop Services"
  3084. msgstr ""
  3085. #. type: menuentry
  3086. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3087. msgid "D-Bus and desktop services."
  3088. msgstr ""
  3089. #. type: subsection
  3090. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3091. #: guix-git/doc/guix.texi:19494 guix-git/doc/guix.texi:19495
  3092. #, no-wrap
  3093. msgid "Sound Services"
  3094. msgstr ""
  3095. #. type: menuentry
  3096. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3097. msgid "ALSA and Pulseaudio services."
  3098. msgstr ""
  3099. #. type: subsection
  3100. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3101. #: guix-git/doc/guix.texi:19634 guix-git/doc/guix.texi:19635
  3102. #, no-wrap
  3103. msgid "Database Services"
  3104. msgstr ""
  3105. #. type: menuentry
  3106. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3107. msgid "SQL databases, key-value stores, etc."
  3108. msgstr ""
  3109. #. type: subsection
  3110. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3111. #: guix-git/doc/guix.texi:19966 guix-git/doc/guix.texi:19967
  3112. #, no-wrap
  3113. msgid "Mail Services"
  3114. msgstr ""
  3115. #. type: menuentry
  3116. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3117. msgid "IMAP, POP3, SMTP, and all that."
  3118. msgstr ""
  3119. #. type: subsection
  3120. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3121. #: guix-git/doc/guix.texi:21782 guix-git/doc/guix.texi:21783
  3122. #, no-wrap
  3123. msgid "Messaging Services"
  3124. msgstr ""
  3125. #. type: menuentry
  3126. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3127. msgid "Messaging services."
  3128. msgstr ""
  3129. #. type: subsection
  3130. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3131. #: guix-git/doc/guix.texi:22285 guix-git/doc/guix.texi:22286
  3132. #, no-wrap
  3133. msgid "Telephony Services"
  3134. msgstr ""
  3135. #. type: menuentry
  3136. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3137. msgid "Telephony services."
  3138. msgstr ""
  3139. #. type: subsection
  3140. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3141. #: guix-git/doc/guix.texi:23288 guix-git/doc/guix.texi:23289
  3142. #, no-wrap
  3143. msgid "Monitoring Services"
  3144. msgstr ""
  3145. #. type: menuentry
  3146. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3147. msgid "Monitoring services."
  3148. msgstr ""
  3149. #. type: subsection
  3150. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3151. #: guix-git/doc/guix.texi:23799 guix-git/doc/guix.texi:23800
  3152. #, no-wrap
  3153. msgid "Kerberos Services"
  3154. msgstr ""
  3155. #. type: menuentry
  3156. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3157. msgid "Kerberos services."
  3158. msgstr ""
  3159. #. type: subsection
  3160. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3161. #: guix-git/doc/guix.texi:23925 guix-git/doc/guix.texi:23926
  3162. #, no-wrap
  3163. msgid "LDAP Services"
  3164. msgstr ""
  3165. #. type: menuentry
  3166. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3167. msgid "LDAP services."
  3168. msgstr ""
  3169. #. type: subsection
  3170. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3171. #: guix-git/doc/guix.texi:24404 guix-git/doc/guix.texi:24405
  3172. #, no-wrap
  3173. msgid "Web Services"
  3174. msgstr ""
  3175. #. type: menuentry
  3176. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3177. msgid "Web servers."
  3178. msgstr ""
  3179. #. type: subsection
  3180. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3181. #: guix-git/doc/guix.texi:25605 guix-git/doc/guix.texi:25606
  3182. #, no-wrap
  3183. msgid "Certificate Services"
  3184. msgstr ""
  3185. #. type: menuentry
  3186. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3187. msgid "TLS certificates via Let's Encrypt."
  3188. msgstr ""
  3189. #. type: subsection
  3190. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3191. #: guix-git/doc/guix.texi:25778 guix-git/doc/guix.texi:25779
  3192. #, no-wrap
  3193. msgid "DNS Services"
  3194. msgstr ""
  3195. #. type: menuentry
  3196. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3197. msgid "DNS daemons."
  3198. msgstr ""
  3199. #. type: subsection
  3200. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3201. #: guix-git/doc/guix.texi:26526 guix-git/doc/guix.texi:26527
  3202. #, no-wrap
  3203. msgid "VPN Services"
  3204. msgstr ""
  3205. #. type: menuentry
  3206. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3207. msgid "VPN daemons."
  3208. msgstr ""
  3209. #. type: subsection
  3210. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3211. #: guix-git/doc/guix.texi:26981 guix-git/doc/guix.texi:26982
  3212. #, no-wrap
  3213. msgid "Network File System"
  3214. msgstr ""
  3215. #. type: menuentry
  3216. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3217. msgid "NFS related services."
  3218. msgstr ""
  3219. #. type: subsection
  3220. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3221. #: guix-git/doc/guix.texi:27177 guix-git/doc/guix.texi:27178
  3222. #, no-wrap
  3223. msgid "Continuous Integration"
  3224. msgstr ""
  3225. #. type: menuentry
  3226. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3227. msgid "Cuirass and Laminar services."
  3228. msgstr ""
  3229. #. type: subsection
  3230. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3231. #: guix-git/doc/guix.texi:27455 guix-git/doc/guix.texi:27456
  3232. #, no-wrap
  3233. msgid "Power Management Services"
  3234. msgstr ""
  3235. #. type: menuentry
  3236. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3237. msgid "Extending battery life."
  3238. msgstr ""
  3239. #. type: subsection
  3240. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3241. #: guix-git/doc/guix.texi:27989 guix-git/doc/guix.texi:27990
  3242. #, no-wrap
  3243. msgid "Audio Services"
  3244. msgstr ""
  3245. #. type: menuentry
  3246. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3247. msgid "The MPD."
  3248. msgstr ""
  3249. #. type: subsection
  3250. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3251. #: guix-git/doc/guix.texi:28108 guix-git/doc/guix.texi:28109
  3252. #, no-wrap
  3253. msgid "Virtualization Services"
  3254. msgstr ""
  3255. #. type: menuentry
  3256. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3257. msgid "Virtualization services."
  3258. msgstr ""
  3259. #. type: subsection
  3260. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3261. #: guix-git/doc/guix.texi:29722 guix-git/doc/guix.texi:29723
  3262. #, no-wrap
  3263. msgid "Version Control Services"
  3264. msgstr ""
  3265. #. type: menuentry
  3266. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3267. msgid "Providing remote access to Git repositories."
  3268. msgstr ""
  3269. #. type: subsection
  3270. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3271. #: guix-git/doc/guix.texi:30914 guix-git/doc/guix.texi:30915
  3272. #, no-wrap
  3273. msgid "Game Services"
  3274. msgstr ""
  3275. #. type: menuentry
  3276. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3277. msgid "Game servers."
  3278. msgstr ""
  3279. #. type: subsection
  3280. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3281. #: guix-git/doc/guix.texi:30946 guix-git/doc/guix.texi:30947
  3282. #, no-wrap
  3283. msgid "PAM Mount Service"
  3284. msgstr ""
  3285. #. type: menuentry
  3286. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3287. msgid "Service to mount volumes when logging in."
  3288. msgstr ""
  3289. #. type: subsection
  3290. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3291. #: guix-git/doc/guix.texi:31029 guix-git/doc/guix.texi:31030
  3292. #, no-wrap
  3293. msgid "Guix Services"
  3294. msgstr ""
  3295. #. type: menuentry
  3296. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3297. msgid "Services relating specifically to Guix."
  3298. msgstr ""
  3299. #. type: subsection
  3300. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3301. #: guix-git/doc/guix.texi:31304 guix-git/doc/guix.texi:31305
  3302. #, no-wrap
  3303. msgid "Linux Services"
  3304. msgstr ""
  3305. #. type: menuentry
  3306. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3307. msgid "Services tied to the Linux kernel."
  3308. msgstr ""
  3309. #. type: subsection
  3310. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3311. #: guix-git/doc/guix.texi:31451 guix-git/doc/guix.texi:31452
  3312. #, no-wrap
  3313. msgid "Hurd Services"
  3314. msgstr ""
  3315. #. type: menuentry
  3316. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3317. msgid "Services specific for a Hurd System."
  3318. msgstr ""
  3319. #. type: subsection
  3320. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3321. #: guix-git/doc/guix.texi:31493 guix-git/doc/guix.texi:31494
  3322. #, no-wrap
  3323. msgid "Miscellaneous Services"
  3324. msgstr ""
  3325. #. type: menuentry
  3326. #: guix-git/doc/guix.texi:357 guix-git/doc/guix.texi:14866
  3327. msgid "Other services."
  3328. msgstr ""
  3329. #. type: subsection
  3330. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3331. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33633
  3332. #, no-wrap
  3333. msgid "Service Composition"
  3334. msgstr ""
  3335. #. type: menuentry
  3336. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3337. msgid "The model for composing services."
  3338. msgstr ""
  3339. #. type: subsection
  3340. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3341. #: guix-git/doc/guix.texi:33688 guix-git/doc/guix.texi:33689
  3342. #, no-wrap
  3343. msgid "Service Types and Services"
  3344. msgstr ""
  3345. #. type: menuentry
  3346. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3347. msgid "Types and services."
  3348. msgstr ""
  3349. #. type: subsection
  3350. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3351. #: guix-git/doc/guix.texi:33825 guix-git/doc/guix.texi:33826
  3352. #, no-wrap
  3353. msgid "Service Reference"
  3354. msgstr ""
  3355. #. type: menuentry
  3356. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3357. msgid "API reference."
  3358. msgstr ""
  3359. #. type: subsection
  3360. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3361. #: guix-git/doc/guix.texi:34116 guix-git/doc/guix.texi:34117
  3362. #, no-wrap
  3363. msgid "Shepherd Services"
  3364. msgstr ""
  3365. #. type: menuentry
  3366. #: guix-git/doc/guix.texi:364 guix-git/doc/guix.texi:33630
  3367. msgid "A particular type of service."
  3368. msgstr ""
  3369. #. type: section
  3370. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3371. #: guix-git/doc/guix.texi:34419 guix-git/doc/guix.texi:34420
  3372. #, no-wrap
  3373. msgid "Separate Debug Info"
  3374. msgstr ""
  3375. #. type: menuentry
  3376. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3377. msgid "Installing 'debug' outputs."
  3378. msgstr ""
  3379. #. type: section
  3380. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3381. #: guix-git/doc/guix.texi:34478 guix-git/doc/guix.texi:34479
  3382. #, no-wrap
  3383. msgid "Rebuilding Debug Info"
  3384. msgstr ""
  3385. #. type: menuentry
  3386. #: guix-git/doc/guix.texi:369 guix-git/doc/guix.texi:34417
  3387. msgid "Building missing debug info."
  3388. msgstr ""
  3389. #. type: node
  3390. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3391. #: guix-git/doc/guix.texi:34697
  3392. #, no-wrap
  3393. msgid "Reduced Binary Seed Bootstrap"
  3394. msgstr ""
  3395. #. type: menuentry
  3396. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3397. msgid "A Bootstrap worthy of GNU."
  3398. msgstr ""
  3399. #. type: section
  3400. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3401. #: guix-git/doc/guix.texi:34772 guix-git/doc/guix.texi:34773
  3402. #, no-wrap
  3403. msgid "Preparing to Use the Bootstrap Binaries"
  3404. msgstr ""
  3405. #. type: menuentry
  3406. #: guix-git/doc/guix.texi:374 guix-git/doc/guix.texi:34695
  3407. msgid "Building that what matters most."
  3408. msgstr ""
  3409. #. type: cindex
  3410. #: guix-git/doc/guix.texi:382
  3411. #, no-wrap
  3412. msgid "purpose"
  3413. msgstr ""
  3414. #. type: Plain text
  3415. #: guix-git/doc/guix.texi:390
  3416. 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."
  3417. msgstr ""
  3418. #. type: cindex
  3419. #: guix-git/doc/guix.texi:391 guix-git/doc/guix.texi:466
  3420. #, no-wrap
  3421. msgid "Guix System"
  3422. msgstr ""
  3423. #. type: cindex
  3424. #: guix-git/doc/guix.texi:392
  3425. #, no-wrap
  3426. msgid "GuixSD, now Guix System"
  3427. msgstr ""
  3428. #. type: cindex
  3429. #: guix-git/doc/guix.texi:393
  3430. #, no-wrap
  3431. msgid "Guix System Distribution, now Guix System"
  3432. msgstr ""
  3433. #. type: Plain text
  3434. #: guix-git/doc/guix.texi:402
  3435. 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}."
  3436. msgstr ""
  3437. #. type: cindex
  3438. #: guix-git/doc/guix.texi:411
  3439. #, no-wrap
  3440. msgid "user interfaces"
  3441. msgstr ""
  3442. #. type: Plain text
  3443. #: guix-git/doc/guix.texi:417
  3444. 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})."
  3445. msgstr ""
  3446. #. type: cindex
  3447. #: guix-git/doc/guix.texi:417
  3448. #, no-wrap
  3449. msgid "build daemon"
  3450. msgstr ""
  3451. #. type: Plain text
  3452. #: guix-git/doc/guix.texi:421
  3453. 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})."
  3454. msgstr ""
  3455. #. type: cindex
  3456. #: guix-git/doc/guix.texi:422
  3457. #, no-wrap
  3458. msgid "extensibility of the distribution"
  3459. msgstr ""
  3460. #. type: cindex
  3461. #: guix-git/doc/guix.texi:423 guix-git/doc/guix.texi:6393
  3462. #, no-wrap
  3463. msgid "customization, of packages"
  3464. msgstr ""
  3465. #. type: Plain text
  3466. #: guix-git/doc/guix.texi:432
  3467. 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})."
  3468. msgstr ""
  3469. #. type: cindex
  3470. #: guix-git/doc/guix.texi:433
  3471. #, no-wrap
  3472. msgid "functional package management"
  3473. msgstr ""
  3474. #. type: cindex
  3475. #: guix-git/doc/guix.texi:434
  3476. #, no-wrap
  3477. msgid "isolation"
  3478. msgstr ""
  3479. #. type: Plain text
  3480. #: guix-git/doc/guix.texi:449
  3481. 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."
  3482. msgstr ""
  3483. #. type: cindex
  3484. #: guix-git/doc/guix.texi:450 guix-git/doc/guix.texi:8733
  3485. #, no-wrap
  3486. msgid "store"
  3487. msgstr ""
  3488. #. type: Plain text
  3489. #: guix-git/doc/guix.texi:457
  3490. 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."
  3491. msgstr ""
  3492. #. type: Plain text
  3493. #: guix-git/doc/guix.texi:461
  3494. 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})."
  3495. msgstr ""
  3496. #. type: Plain text
  3497. #: guix-git/doc/guix.texi:476
  3498. 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."
  3499. msgstr ""
  3500. #. type: Plain text
  3501. #: guix-git/doc/guix.texi:482
  3502. 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}):"
  3503. msgstr ""
  3504. #. type: example
  3505. #: guix-git/doc/guix.texi:485
  3506. #, no-wrap
  3507. msgid "guix package --list-available\n"
  3508. msgstr ""
  3509. #. type: Plain text
  3510. #: guix-git/doc/guix.texi:491
  3511. 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."
  3512. msgstr ""
  3513. #. type: Plain text
  3514. #: guix-git/doc/guix.texi:493
  3515. msgid "Packages are currently available on the following platforms:"
  3516. msgstr ""
  3517. #. type: item
  3518. #: guix-git/doc/guix.texi:496 guix-git/doc/guix.texi:2106
  3519. #, no-wrap
  3520. msgid "x86_64-linux"
  3521. msgstr ""
  3522. #. type: table
  3523. #: guix-git/doc/guix.texi:498
  3524. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  3525. msgstr ""
  3526. #. type: item
  3527. #: guix-git/doc/guix.texi:499 guix-git/doc/guix.texi:2109
  3528. #, no-wrap
  3529. msgid "i686-linux"
  3530. msgstr ""
  3531. #. type: table
  3532. #: guix-git/doc/guix.texi:501
  3533. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  3534. msgstr ""
  3535. #. type: item
  3536. #: guix-git/doc/guix.texi:502
  3537. #, no-wrap
  3538. msgid "armhf-linux"
  3539. msgstr ""
  3540. #. type: table
  3541. #: guix-git/doc/guix.texi:506
  3542. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  3543. msgstr ""
  3544. #. type: item
  3545. #: guix-git/doc/guix.texi:507
  3546. #, no-wrap
  3547. msgid "aarch64-linux"
  3548. msgstr ""
  3549. #. type: table
  3550. #: guix-git/doc/guix.texi:509
  3551. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  3552. msgstr ""
  3553. #. type: item
  3554. #: guix-git/doc/guix.texi:510
  3555. #, no-wrap
  3556. msgid "i586-gnu"
  3557. msgstr ""
  3558. #. type: table
  3559. #: guix-git/doc/guix.texi:513
  3560. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  3561. msgstr ""
  3562. #. type: table
  3563. #: guix-git/doc/guix.texi:519
  3564. 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!"
  3565. msgstr ""
  3566. #. type: item
  3567. #: guix-git/doc/guix.texi:520
  3568. #, no-wrap
  3569. msgid "mips64el-linux (deprecated)"
  3570. msgstr ""
  3571. #. type: table
  3572. #: guix-git/doc/guix.texi:526
  3573. 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."
  3574. msgstr ""
  3575. #. type: item
  3576. #: guix-git/doc/guix.texi:527
  3577. #, no-wrap
  3578. msgid "powerpc64le-linux"
  3579. msgstr ""
  3580. #. type: table
  3581. #: guix-git/doc/guix.texi:537
  3582. 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!"
  3583. msgstr ""
  3584. #. type: Plain text
  3585. #: guix-git/doc/guix.texi:547
  3586. 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."
  3587. msgstr ""
  3588. #. type: Plain text
  3589. #: guix-git/doc/guix.texi:550
  3590. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  3591. msgstr ""
  3592. #. type: Plain text
  3593. #: guix-git/doc/guix.texi:554
  3594. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  3595. msgstr ""
  3596. #. type: Plain text
  3597. #: guix-git/doc/guix.texi:557
  3598. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  3599. msgstr ""
  3600. #. type: cindex
  3601. #: guix-git/doc/guix.texi:563
  3602. #, no-wrap
  3603. msgid "installing Guix"
  3604. msgstr ""
  3605. #. type: quotation
  3606. #: guix-git/doc/guix.texi:575
  3607. 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."
  3608. msgstr ""
  3609. #. type: cindex
  3610. #: guix-git/doc/guix.texi:577 guix-git/doc/guix.texi:1781
  3611. #, no-wrap
  3612. msgid "foreign distro"
  3613. msgstr ""
  3614. #. type: cindex
  3615. #: guix-git/doc/guix.texi:578
  3616. #, no-wrap
  3617. msgid "directories related to foreign distro"
  3618. msgstr ""
  3619. #. type: Plain text
  3620. #: guix-git/doc/guix.texi:583
  3621. 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."
  3622. msgstr ""
  3623. #. type: Plain text
  3624. #: guix-git/doc/guix.texi:586
  3625. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  3626. msgstr ""
  3627. #. type: Plain text
  3628. #: guix-git/doc/guix.texi:591
  3629. 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."
  3630. msgstr ""
  3631. #. type: cindex
  3632. #: guix-git/doc/guix.texi:605
  3633. #, no-wrap
  3634. msgid "installing Guix from binaries"
  3635. msgstr ""
  3636. #. type: cindex
  3637. #: guix-git/doc/guix.texi:606
  3638. #, no-wrap
  3639. msgid "installer script"
  3640. msgstr ""
  3641. #. type: Plain text
  3642. #: guix-git/doc/guix.texi:612
  3643. 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."
  3644. msgstr ""
  3645. #. type: quotation
  3646. #: guix-git/doc/guix.texi:620
  3647. 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:"
  3648. msgstr ""
  3649. #. type: example
  3650. #: guix-git/doc/guix.texi:626
  3651. #, no-wrap
  3652. msgid ""
  3653. "cd /tmp\n"
  3654. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  3655. "chmod +x guix-install.sh\n"
  3656. "./guix-install.sh\n"
  3657. msgstr ""
  3658. #. type: quotation
  3659. #: guix-git/doc/guix.texi:630
  3660. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  3661. msgstr ""
  3662. #. type: Plain text
  3663. #: guix-git/doc/guix.texi:633
  3664. msgid "Installing goes along these lines:"
  3665. msgstr ""
  3666. #. type: cindex
  3667. #: guix-git/doc/guix.texi:636
  3668. #, no-wrap
  3669. msgid "downloading Guix binary"
  3670. msgstr ""
  3671. #. type: enumerate
  3672. #: guix-git/doc/guix.texi:642
  3673. 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})."
  3674. msgstr ""
  3675. #. type: enumerate
  3676. #: guix-git/doc/guix.texi:646
  3677. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  3678. msgstr ""
  3679. #. type: example
  3680. #: guix-git/doc/guix.texi:650
  3681. #, no-wrap
  3682. msgid ""
  3683. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  3684. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  3685. msgstr ""
  3686. #. type: Plain text
  3687. #: guix-git/doc/guix.texi:654 guix-git/doc/guix.texi:2124
  3688. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  3689. msgstr ""
  3690. #. type: example
  3691. #: guix-git/doc/guix.texi:658
  3692. #, no-wrap
  3693. msgid ""
  3694. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  3695. " -qO - | gpg --import -\n"
  3696. msgstr ""
  3697. #. type: Plain text
  3698. #: guix-git/doc/guix.texi:662 guix-git/doc/guix.texi:2132
  3699. msgid "and rerun the @code{gpg --verify} command."
  3700. msgstr ""
  3701. #. type: Plain text
  3702. #: guix-git/doc/guix.texi:665 guix-git/doc/guix.texi:2135
  3703. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  3704. msgstr ""
  3705. #. type: enumerate
  3706. #: guix-git/doc/guix.texi:671
  3707. 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:"
  3708. msgstr ""
  3709. #. type: example
  3710. #: guix-git/doc/guix.texi:677
  3711. #, no-wrap
  3712. msgid ""
  3713. "# cd /tmp\n"
  3714. "# tar --warning=no-timestamp -xf \\\n"
  3715. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  3716. "# mv var/guix /var/ && mv gnu /\n"
  3717. msgstr ""
  3718. #. type: enumerate
  3719. #: guix-git/doc/guix.texi:682
  3720. 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)."
  3721. msgstr ""
  3722. #. type: enumerate
  3723. #: guix-git/doc/guix.texi:685
  3724. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  3725. msgstr ""
  3726. #. type: enumerate
  3727. #: guix-git/doc/guix.texi:695
  3728. 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."
  3729. msgstr ""
  3730. #. type: enumerate
  3731. #: guix-git/doc/guix.texi:699
  3732. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  3733. msgstr ""
  3734. #. type: example
  3735. #: guix-git/doc/guix.texi:704
  3736. #, no-wrap
  3737. msgid ""
  3738. "# mkdir -p ~root/.config/guix\n"
  3739. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  3740. " ~root/.config/guix/current\n"
  3741. msgstr ""
  3742. #. type: enumerate
  3743. #: guix-git/doc/guix.texi:708
  3744. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  3745. msgstr ""
  3746. #. type: example
  3747. #: guix-git/doc/guix.texi:712
  3748. #, no-wrap
  3749. msgid ""
  3750. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  3751. " source $GUIX_PROFILE/etc/profile\n"
  3752. msgstr ""
  3753. #. type: enumerate
  3754. #: guix-git/doc/guix.texi:717
  3755. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  3756. msgstr ""
  3757. #. type: enumerate
  3758. #: guix-git/doc/guix.texi:720
  3759. msgid "Run the daemon, and set it to automatically start on boot."
  3760. msgstr ""
  3761. #. type: enumerate
  3762. #: guix-git/doc/guix.texi:723
  3763. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  3764. msgstr ""
  3765. #. type: example
  3766. #: guix-git/doc/guix.texi:736
  3767. #, no-wrap
  3768. msgid ""
  3769. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  3770. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  3771. " /etc/systemd/system/\n"
  3772. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  3773. msgstr ""
  3774. #. type: itemize
  3775. #: guix-git/doc/guix.texi:739 guix-git/doc/guix.texi:12767
  3776. msgid "If your host distro uses the Upstart init system:"
  3777. msgstr ""
  3778. #. type: example
  3779. #: guix-git/doc/guix.texi:745
  3780. #, no-wrap
  3781. msgid ""
  3782. "# initctl reload-configuration\n"
  3783. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  3784. " /etc/init/\n"
  3785. "# start guix-daemon\n"
  3786. msgstr ""
  3787. #. type: enumerate
  3788. #: guix-git/doc/guix.texi:748
  3789. msgid "Otherwise, you can still start the daemon manually with:"
  3790. msgstr ""
  3791. #. type: example
  3792. #: guix-git/doc/guix.texi:752
  3793. #, no-wrap
  3794. msgid ""
  3795. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  3796. " --build-users-group=guixbuild\n"
  3797. msgstr ""
  3798. #. type: enumerate
  3799. #: guix-git/doc/guix.texi:757
  3800. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  3801. msgstr ""
  3802. #. type: example
  3803. #: guix-git/doc/guix.texi:762
  3804. #, no-wrap
  3805. msgid ""
  3806. "# mkdir -p /usr/local/bin\n"
  3807. "# cd /usr/local/bin\n"
  3808. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  3809. msgstr ""
  3810. #. type: enumerate
  3811. #: guix-git/doc/guix.texi:766
  3812. msgid "It is also a good idea to make the Info version of this manual available there:"
  3813. msgstr ""
  3814. #. type: example
  3815. #: guix-git/doc/guix.texi:772
  3816. #, no-wrap
  3817. msgid ""
  3818. "# mkdir -p /usr/local/share/info\n"
  3819. "# cd /usr/local/share/info\n"
  3820. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  3821. " do ln -s $i ; done\n"
  3822. msgstr ""
  3823. #. type: enumerate
  3824. #: guix-git/doc/guix.texi:778
  3825. 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)."
  3826. msgstr ""
  3827. #. type: cindex
  3828. #: guix-git/doc/guix.texi:780 guix-git/doc/guix.texi:3724
  3829. #: guix-git/doc/guix.texi:15401
  3830. #, no-wrap
  3831. msgid "substitutes, authorization thereof"
  3832. msgstr ""
  3833. #. type: enumerate
  3834. #: guix-git/doc/guix.texi:783
  3835. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER}} or one of its mirrors (@pxref{Substitutes}), authorize them:"
  3836. msgstr ""
  3837. #. type: example
  3838. #: guix-git/doc/guix.texi:787
  3839. #, no-wrap
  3840. msgid ""
  3841. "# guix archive --authorize < \\\n"
  3842. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  3843. msgstr ""
  3844. #. type: enumerate
  3845. #: guix-git/doc/guix.texi:792
  3846. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  3847. msgstr ""
  3848. #. type: Plain text
  3849. #: guix-git/doc/guix.texi:795
  3850. msgid "Voilà, the installation is complete!"
  3851. msgstr ""
  3852. #. type: Plain text
  3853. #: guix-git/doc/guix.texi:798
  3854. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  3855. msgstr ""
  3856. #. type: example
  3857. #: guix-git/doc/guix.texi:801
  3858. #, no-wrap
  3859. msgid "# guix install hello\n"
  3860. msgstr ""
  3861. #. type: Plain text
  3862. #: guix-git/doc/guix.texi:805
  3863. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  3864. msgstr ""
  3865. #. type: example
  3866. #: guix-git/doc/guix.texi:808
  3867. #, no-wrap
  3868. msgid "make guix-binary.@var{system}.tar.xz\n"
  3869. msgstr ""
  3870. #. type: Plain text
  3871. #: guix-git/doc/guix.texi:812
  3872. msgid "...@: which, in turn, runs:"
  3873. msgstr ""
  3874. #. type: example
  3875. #: guix-git/doc/guix.texi:816
  3876. #, no-wrap
  3877. msgid ""
  3878. "guix pack -s @var{system} --localstatedir \\\n"
  3879. " --profile-name=current-guix guix\n"
  3880. msgstr ""
  3881. #. type: Plain text
  3882. #: guix-git/doc/guix.texi:819
  3883. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  3884. msgstr ""
  3885. #. type: Plain text
  3886. #: guix-git/doc/guix.texi:827
  3887. 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."
  3888. msgstr ""
  3889. #. type: cindex
  3890. #: guix-git/doc/guix.texi:828
  3891. #, no-wrap
  3892. msgid "official website"
  3893. msgstr ""
  3894. #. type: Plain text
  3895. #: guix-git/doc/guix.texi:831
  3896. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  3897. msgstr ""
  3898. #. type: Plain text
  3899. #: guix-git/doc/guix.texi:833
  3900. msgid "GNU Guix depends on the following packages:"
  3901. msgstr ""
  3902. #. type: item
  3903. #: guix-git/doc/guix.texi:835
  3904. #, no-wrap
  3905. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x or"
  3906. msgstr ""
  3907. #. type: itemize
  3908. #: guix-git/doc/guix.texi:837
  3909. msgid "2.2.x;"
  3910. msgstr ""
  3911. #. type: item
  3912. #: guix-git/doc/guix.texi:837
  3913. #, no-wrap
  3914. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  3915. msgstr ""
  3916. #. type: itemize
  3917. #: guix-git/doc/guix.texi:839
  3918. msgid "0.1.0 or later;"
  3919. msgstr ""
  3920. #. type: itemize
  3921. #: guix-git/doc/guix.texi:843
  3922. 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});"
  3923. msgstr ""
  3924. #. type: itemize
  3925. #: guix-git/doc/guix.texi:846
  3926. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  3927. msgstr ""
  3928. #. type: item
  3929. #: guix-git/doc/guix.texi:846
  3930. #, no-wrap
  3931. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  3932. msgstr ""
  3933. #. type: itemize
  3934. #: guix-git/doc/guix.texi:848
  3935. msgid "version 0.1.0 or later;"
  3936. msgstr ""
  3937. #. type: item
  3938. #: guix-git/doc/guix.texi:848
  3939. #, no-wrap
  3940. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  3941. msgstr ""
  3942. #. type: item
  3943. #: guix-git/doc/guix.texi:849
  3944. #, no-wrap
  3945. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  3946. msgstr ""
  3947. #. type: itemize
  3948. #: guix-git/doc/guix.texi:855
  3949. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.3.0 or later;"
  3950. msgstr ""
  3951. #. type: item
  3952. #: guix-git/doc/guix.texi:855
  3953. #, no-wrap
  3954. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  3955. msgstr ""
  3956. #. type: itemize
  3957. #: guix-git/doc/guix.texi:857
  3958. msgid "4.3.0 or later;"
  3959. msgstr ""
  3960. #. type: item
  3961. #: guix-git/doc/guix.texi:857
  3962. #, no-wrap
  3963. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  3964. msgstr ""
  3965. #. type: Plain text
  3966. #: guix-git/doc/guix.texi:861
  3967. msgid "The following dependencies are optional:"
  3968. msgstr ""
  3969. #. type: itemize
  3970. #: guix-git/doc/guix.texi:869
  3971. 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."
  3972. msgstr ""
  3973. #. type: itemize
  3974. #: guix-git/doc/guix.texi:874
  3975. 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})."
  3976. msgstr ""
  3977. #. type: itemize
  3978. #: guix-git/doc/guix.texi:878
  3979. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  3980. msgstr ""
  3981. #. type: itemize
  3982. #: guix-git/doc/guix.texi:883
  3983. 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})."
  3984. msgstr ""
  3985. #. type: itemize
  3986. #: guix-git/doc/guix.texi:887
  3987. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  3988. msgstr ""
  3989. #. type: Plain text
  3990. #: guix-git/doc/guix.texi:891
  3991. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  3992. msgstr ""
  3993. #. type: item
  3994. #: guix-git/doc/guix.texi:893
  3995. #, no-wrap
  3996. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  3997. msgstr ""
  3998. #. type: item
  3999. #: guix-git/doc/guix.texi:894
  4000. #, no-wrap
  4001. msgid "@url{https://sqlite.org, SQLite 3};"
  4002. msgstr ""
  4003. #. type: item
  4004. #: guix-git/doc/guix.texi:895
  4005. #, no-wrap
  4006. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4007. msgstr ""
  4008. #. type: itemize
  4009. #: guix-git/doc/guix.texi:897
  4010. msgid "C++11 standard."
  4011. msgstr ""
  4012. #. type: cindex
  4013. #: guix-git/doc/guix.texi:899
  4014. #, no-wrap
  4015. msgid "state directory"
  4016. msgstr ""
  4017. #. type: Plain text
  4018. #: guix-git/doc/guix.texi:908
  4019. 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})."
  4020. msgstr ""
  4021. #. type: cindex
  4022. #: guix-git/doc/guix.texi:912
  4023. #, no-wrap
  4024. msgid "test suite"
  4025. msgstr ""
  4026. #. type: Plain text
  4027. #: guix-git/doc/guix.texi:918
  4028. 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:"
  4029. msgstr ""
  4030. #. type: example
  4031. #: guix-git/doc/guix.texi:921
  4032. #, no-wrap
  4033. msgid "make check\n"
  4034. msgstr ""
  4035. #. type: Plain text
  4036. #: guix-git/doc/guix.texi:928
  4037. 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."
  4038. msgstr ""
  4039. #. type: Plain text
  4040. #: guix-git/doc/guix.texi:931
  4041. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4042. msgstr ""
  4043. #. type: example
  4044. #: guix-git/doc/guix.texi:934
  4045. #, no-wrap
  4046. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4047. msgstr ""
  4048. #. type: Plain text
  4049. #: guix-git/doc/guix.texi:939
  4050. 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:"
  4051. msgstr ""
  4052. #. type: example
  4053. #: guix-git/doc/guix.texi:942
  4054. #, no-wrap
  4055. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4056. msgstr ""
  4057. #. type: Plain text
  4058. #: guix-git/doc/guix.texi:950
  4059. 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'':"
  4060. msgstr ""
  4061. #. type: example
  4062. #: guix-git/doc/guix.texi:954
  4063. #, no-wrap
  4064. msgid ""
  4065. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4066. "make check TESTS=\"tests/packages.scm\"\n"
  4067. msgstr ""
  4068. #. type: Plain text
  4069. #: guix-git/doc/guix.texi:960
  4070. 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:"
  4071. msgstr ""
  4072. #. type: example
  4073. #: guix-git/doc/guix.texi:963
  4074. #, no-wrap
  4075. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4076. msgstr ""
  4077. #. type: Plain text
  4078. #: guix-git/doc/guix.texi:968
  4079. 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}:"
  4080. msgstr ""
  4081. #. type: example
  4082. #: guix-git/doc/guix.texi:971
  4083. #, no-wrap
  4084. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4085. msgstr ""
  4086. #. type: Plain text
  4087. #: guix-git/doc/guix.texi:975
  4088. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4089. msgstr ""
  4090. #. type: Plain text
  4091. #: guix-git/doc/guix.texi:980
  4092. 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."
  4093. msgstr ""
  4094. #. type: Plain text
  4095. #: guix-git/doc/guix.texi:984
  4096. 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:"
  4097. msgstr ""
  4098. #. type: example
  4099. #: guix-git/doc/guix.texi:987
  4100. #, no-wrap
  4101. msgid "make check-system\n"
  4102. msgstr ""
  4103. #. type: Plain text
  4104. #: guix-git/doc/guix.texi:991
  4105. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4106. msgstr ""
  4107. #. type: example
  4108. #: guix-git/doc/guix.texi:994
  4109. #, no-wrap
  4110. msgid "make check-system TESTS=\"basic mcron\"\n"
  4111. msgstr ""
  4112. #. type: Plain text
  4113. #: guix-git/doc/guix.texi:1002
  4114. 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."
  4115. msgstr ""
  4116. #. type: Plain text
  4117. #: guix-git/doc/guix.texi:1005
  4118. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4119. msgstr ""
  4120. #. type: cindex
  4121. #: guix-git/doc/guix.texi:1009
  4122. #, no-wrap
  4123. msgid "daemon"
  4124. msgstr ""
  4125. #. type: Plain text
  4126. #: guix-git/doc/guix.texi:1017
  4127. 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."
  4128. msgstr ""
  4129. #. type: Plain text
  4130. #: guix-git/doc/guix.texi:1021
  4131. 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."
  4132. msgstr ""
  4133. #. type: cindex
  4134. #: guix-git/doc/guix.texi:1031 guix-git/doc/guix.texi:1493
  4135. #, no-wrap
  4136. msgid "build environment"
  4137. msgstr ""
  4138. #. type: Plain text
  4139. #: guix-git/doc/guix.texi:1039
  4140. 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."
  4141. msgstr ""
  4142. #. type: cindex
  4143. #: guix-git/doc/guix.texi:1040
  4144. #, no-wrap
  4145. msgid "build users"
  4146. msgstr ""
  4147. #. type: Plain text
  4148. #: guix-git/doc/guix.texi:1051
  4149. 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})."
  4150. msgstr ""
  4151. #. type: Plain text
  4152. #: guix-git/doc/guix.texi:1054
  4153. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4154. msgstr ""
  4155. #. type: example
  4156. #: guix-git/doc/guix.texi:1066
  4157. #, no-wrap
  4158. msgid ""
  4159. "# groupadd --system guixbuild\n"
  4160. "# for i in $(seq -w 1 10);\n"
  4161. " do\n"
  4162. " useradd -g guixbuild -G guixbuild \\\n"
  4163. " -d /var/empty -s $(which nologin) \\\n"
  4164. " -c \"Guix build user $i\" --system \\\n"
  4165. " guixbuilder$i;\n"
  4166. " done\n"
  4167. msgstr ""
  4168. #. type: Plain text
  4169. #: guix-git/doc/guix.texi:1076
  4170. 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})."
  4171. msgstr ""
  4172. #. type: Plain text
  4173. #: guix-git/doc/guix.texi:1085
  4174. 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}.}:"
  4175. msgstr ""
  4176. #. type: example
  4177. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1486
  4178. #, no-wrap
  4179. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4180. msgstr ""
  4181. #. type: cindex
  4182. #: guix-git/doc/guix.texi:1090 guix-git/doc/guix.texi:1491
  4183. #, no-wrap
  4184. msgid "chroot"
  4185. msgstr ""
  4186. #. type: Plain text
  4187. #: guix-git/doc/guix.texi:1095
  4188. 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:"
  4189. msgstr ""
  4190. #. type: itemize
  4191. #: guix-git/doc/guix.texi:1103
  4192. 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.};"
  4193. msgstr ""
  4194. #. type: itemize
  4195. #: guix-git/doc/guix.texi:1107
  4196. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4197. msgstr ""
  4198. #. type: itemize
  4199. #: guix-git/doc/guix.texi:1111
  4200. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4201. msgstr ""
  4202. #. type: itemize
  4203. #: guix-git/doc/guix.texi:1114
  4204. msgid "@file{/etc/group} with an entry for the user's group;"
  4205. msgstr ""
  4206. #. type: itemize
  4207. #: guix-git/doc/guix.texi:1118
  4208. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4209. msgstr ""
  4210. #. type: itemize
  4211. #: guix-git/doc/guix.texi:1121
  4212. msgid "a writable @file{/tmp} directory."
  4213. msgstr ""
  4214. #. type: Plain text
  4215. #: guix-git/doc/guix.texi:1130
  4216. 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."
  4217. msgstr ""
  4218. #. type: vindex
  4219. #: guix-git/doc/guix.texi:1131 guix-git/doc/guix.texi:3929
  4220. #, no-wrap
  4221. msgid "http_proxy"
  4222. msgstr ""
  4223. #. type: vindex
  4224. #: guix-git/doc/guix.texi:1132 guix-git/doc/guix.texi:3930
  4225. #, no-wrap
  4226. msgid "https_proxy"
  4227. msgstr ""
  4228. #. type: Plain text
  4229. #: guix-git/doc/guix.texi:1137
  4230. 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})."
  4231. msgstr ""
  4232. #. type: Plain text
  4233. #: guix-git/doc/guix.texi:1145
  4234. 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."
  4235. msgstr ""
  4236. #. type: subsection
  4237. #: guix-git/doc/guix.texi:1148
  4238. #, no-wrap
  4239. msgid "Using the Offload Facility"
  4240. msgstr ""
  4241. #. type: cindex
  4242. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1552
  4243. #, no-wrap
  4244. msgid "offloading"
  4245. msgstr ""
  4246. #. type: cindex
  4247. #: guix-git/doc/guix.texi:1151
  4248. #, no-wrap
  4249. msgid "build hook"
  4250. msgstr ""
  4251. #. type: Plain text
  4252. #: guix-git/doc/guix.texi:1170
  4253. 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:"
  4254. msgstr ""
  4255. #. type: enumerate
  4256. #: guix-git/doc/guix.texi:1176
  4257. 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."
  4258. msgstr ""
  4259. #. type: enumerate
  4260. #: guix-git/doc/guix.texi:1180
  4261. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4262. msgstr ""
  4263. #. type: enumerate
  4264. #: guix-git/doc/guix.texi:1185
  4265. 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."
  4266. msgstr ""
  4267. #. type: enumerate
  4268. #: guix-git/doc/guix.texi:1188
  4269. msgid "Disk space availability. More than a 100 MiB must be available."
  4270. msgstr ""
  4271. #. type: Plain text
  4272. #: guix-git/doc/guix.texi:1191
  4273. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4274. msgstr ""
  4275. #. type: lisp
  4276. #: guix-git/doc/guix.texi:1199
  4277. #, no-wrap
  4278. msgid ""
  4279. "(list (build-machine\n"
  4280. " (name \"eightysix.example.org\")\n"
  4281. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4282. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4283. " (user \"bob\")\n"
  4284. " (speed 2.)) ;incredibly fast!\n"
  4285. "\n"
  4286. msgstr ""
  4287. #. type: lisp
  4288. #: guix-git/doc/guix.texi:1208
  4289. #, no-wrap
  4290. msgid ""
  4291. " (build-machine\n"
  4292. " (name \"armeight.example.org\")\n"
  4293. " (systems (list \"aarch64-linux\"))\n"
  4294. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4295. " (user \"alice\")\n"
  4296. " (private-key\n"
  4297. " (string-append (getenv \"HOME\")\n"
  4298. " \"/.ssh/identity-for-guix\"))))\n"
  4299. msgstr ""
  4300. #. type: Plain text
  4301. #: guix-git/doc/guix.texi:1214
  4302. 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."
  4303. msgstr ""
  4304. #. type: Plain text
  4305. #: guix-git/doc/guix.texi:1223
  4306. 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."
  4307. msgstr ""
  4308. #. type: deftp
  4309. #: guix-git/doc/guix.texi:1224
  4310. #, no-wrap
  4311. msgid "{Data Type} build-machine"
  4312. msgstr ""
  4313. #. type: deftp
  4314. #: guix-git/doc/guix.texi:1227
  4315. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4316. msgstr ""
  4317. #. type: item
  4318. #: guix-git/doc/guix.texi:1230 guix-git/doc/guix.texi:6649
  4319. #: guix-git/doc/guix.texi:14367 guix-git/doc/guix.texi:14461
  4320. #: guix-git/doc/guix.texi:14702 guix-git/doc/guix.texi:16651
  4321. #: guix-git/doc/guix.texi:19835 guix-git/doc/guix.texi:22471
  4322. #: guix-git/doc/guix.texi:23860 guix-git/doc/guix.texi:24472
  4323. #: guix-git/doc/guix.texi:24824 guix-git/doc/guix.texi:24865
  4324. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:29233
  4325. #: guix-git/doc/guix.texi:29253 guix-git/doc/guix.texi:31700
  4326. #: guix-git/doc/guix.texi:31717 guix-git/doc/guix.texi:32206
  4327. #: guix-git/doc/guix.texi:33938 guix-git/doc/guix.texi:34246
  4328. #, no-wrap
  4329. msgid "name"
  4330. msgstr "نام"
  4331. #. type: table
  4332. #: guix-git/doc/guix.texi:1232
  4333. msgid "The host name of the remote machine."
  4334. msgstr ""
  4335. #. type: item
  4336. #: guix-git/doc/guix.texi:1233
  4337. #, no-wrap
  4338. msgid "systems"
  4339. msgstr ""
  4340. #. type: table
  4341. #: guix-git/doc/guix.texi:1236
  4342. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  4343. msgstr ""
  4344. #. type: code{#1}
  4345. #: guix-git/doc/guix.texi:1237 guix-git/doc/guix.texi:16661
  4346. #, no-wrap
  4347. msgid "user"
  4348. msgstr ""
  4349. #. type: table
  4350. #: guix-git/doc/guix.texi:1241
  4351. 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."
  4352. msgstr ""
  4353. #. type: item
  4354. #: guix-git/doc/guix.texi:1242
  4355. #, no-wrap
  4356. msgid "host-key"
  4357. msgstr ""
  4358. #. type: table
  4359. #: guix-git/doc/guix.texi:1246
  4360. 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:"
  4361. msgstr ""
  4362. #. type: example
  4363. #: guix-git/doc/guix.texi:1249
  4364. #, no-wrap
  4365. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  4366. msgstr ""
  4367. #. type: table
  4368. #: guix-git/doc/guix.texi:1254
  4369. 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}."
  4370. msgstr ""
  4371. #. type: table
  4372. #: guix-git/doc/guix.texi:1259
  4373. 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}):"
  4374. msgstr ""
  4375. #. type: example
  4376. #: guix-git/doc/guix.texi:1263
  4377. #, no-wrap
  4378. msgid ""
  4379. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  4380. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  4381. msgstr ""
  4382. #. type: deftp
  4383. #: guix-git/doc/guix.texi:1268
  4384. msgid "A number of optional fields may be specified:"
  4385. msgstr ""
  4386. #. type: item
  4387. #: guix-git/doc/guix.texi:1271 guix-git/doc/guix.texi:33438
  4388. #, no-wrap
  4389. msgid "@code{port} (default: @code{22})"
  4390. msgstr ""
  4391. #. type: table
  4392. #: guix-git/doc/guix.texi:1273
  4393. msgid "Port number of SSH server on the machine."
  4394. msgstr ""
  4395. #. type: item
  4396. #: guix-git/doc/guix.texi:1274
  4397. #, no-wrap
  4398. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  4399. msgstr ""
  4400. #. type: table
  4401. #: guix-git/doc/guix.texi:1277
  4402. 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."
  4403. msgstr ""
  4404. #. type: table
  4405. #: guix-git/doc/guix.texi:1280
  4406. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  4407. msgstr ""
  4408. #. type: item
  4409. #: guix-git/doc/guix.texi:1281
  4410. #, no-wrap
  4411. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  4412. msgstr ""
  4413. #. type: itemx
  4414. #: guix-git/doc/guix.texi:1282
  4415. #, no-wrap
  4416. msgid "@code{compression-level} (default: @code{3})"
  4417. msgstr ""
  4418. #. type: table
  4419. #: guix-git/doc/guix.texi:1284
  4420. msgid "The SSH-level compression methods and compression level requested."
  4421. msgstr ""
  4422. #. type: table
  4423. #: guix-git/doc/guix.texi:1287
  4424. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  4425. msgstr ""
  4426. #. type: item
  4427. #: guix-git/doc/guix.texi:1288
  4428. #, no-wrap
  4429. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  4430. msgstr ""
  4431. #. type: table
  4432. #: guix-git/doc/guix.texi:1291
  4433. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  4434. msgstr ""
  4435. #. type: item
  4436. #: guix-git/doc/guix.texi:1292
  4437. #, no-wrap
  4438. msgid "@code{overload-threshold} (default: @code{0.6})"
  4439. msgstr ""
  4440. #. type: table
  4441. #: guix-git/doc/guix.texi:1298
  4442. 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}."
  4443. msgstr ""
  4444. #. type: item
  4445. #: guix-git/doc/guix.texi:1299
  4446. #, no-wrap
  4447. msgid "@code{parallel-builds} (default: @code{1})"
  4448. msgstr ""
  4449. #. type: table
  4450. #: guix-git/doc/guix.texi:1301
  4451. msgid "The number of builds that may run in parallel on the machine."
  4452. msgstr ""
  4453. #. type: item
  4454. #: guix-git/doc/guix.texi:1302
  4455. #, no-wrap
  4456. msgid "@code{speed} (default: @code{1.0})"
  4457. msgstr ""
  4458. #. type: table
  4459. #: guix-git/doc/guix.texi:1305
  4460. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  4461. msgstr ""
  4462. #. type: item
  4463. #: guix-git/doc/guix.texi:1306
  4464. #, no-wrap
  4465. msgid "@code{features} (default: @code{'()})"
  4466. msgstr ""
  4467. #. type: table
  4468. #: guix-git/doc/guix.texi:1311
  4469. 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."
  4470. msgstr ""
  4471. #. type: Plain text
  4472. #: guix-git/doc/guix.texi:1317
  4473. 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:"
  4474. msgstr ""
  4475. #. type: example
  4476. #: guix-git/doc/guix.texi:1320
  4477. #, no-wrap
  4478. msgid "ssh build-machine guix repl --version\n"
  4479. msgstr ""
  4480. #. type: Plain text
  4481. #: guix-git/doc/guix.texi:1327
  4482. 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}):"
  4483. msgstr ""
  4484. #. type: example
  4485. #: guix-git/doc/guix.texi:1330 guix-git/doc/guix.texi:33366
  4486. #, no-wrap
  4487. msgid "# guix archive --generate-key\n"
  4488. msgstr ""
  4489. #. type: Plain text
  4490. #: guix-git/doc/guix.texi:1335
  4491. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  4492. msgstr ""
  4493. #. type: example
  4494. #: guix-git/doc/guix.texi:1338
  4495. #, no-wrap
  4496. msgid "# guix archive --authorize < master-public-key.txt\n"
  4497. msgstr ""
  4498. #. type: Plain text
  4499. #: guix-git/doc/guix.texi:1342
  4500. msgid "Likewise, the master machine must authorize the key of each build machine."
  4501. msgstr ""
  4502. #. type: Plain text
  4503. #: guix-git/doc/guix.texi:1348
  4504. 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."
  4505. msgstr ""
  4506. #. type: cindex
  4507. #: guix-git/doc/guix.texi:1349
  4508. #, no-wrap
  4509. msgid "offload test"
  4510. msgstr ""
  4511. #. type: Plain text
  4512. #: guix-git/doc/guix.texi:1352
  4513. msgid "To test whether your setup is operational, run this command on the master node:"
  4514. msgstr ""
  4515. #. type: example
  4516. #: guix-git/doc/guix.texi:1355
  4517. #, no-wrap
  4518. msgid "# guix offload test\n"
  4519. msgstr ""
  4520. #. type: Plain text
  4521. #: guix-git/doc/guix.texi:1361
  4522. 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."
  4523. msgstr ""
  4524. #. type: Plain text
  4525. #: guix-git/doc/guix.texi:1364
  4526. msgid "If you want to test a different machine file, just specify it on the command line:"
  4527. msgstr ""
  4528. #. type: example
  4529. #: guix-git/doc/guix.texi:1367
  4530. #, no-wrap
  4531. msgid "# guix offload test machines-qualif.scm\n"
  4532. msgstr ""
  4533. #. type: Plain text
  4534. #: guix-git/doc/guix.texi:1371
  4535. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  4536. msgstr ""
  4537. #. type: example
  4538. #: guix-git/doc/guix.texi:1374
  4539. #, no-wrap
  4540. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  4541. msgstr ""
  4542. #. type: cindex
  4543. #: guix-git/doc/guix.texi:1376
  4544. #, no-wrap
  4545. msgid "offload status"
  4546. msgstr ""
  4547. #. type: Plain text
  4548. #: guix-git/doc/guix.texi:1379
  4549. msgid "To display the current load of all build hosts, run this command on the main node:"
  4550. msgstr ""
  4551. #. type: example
  4552. #: guix-git/doc/guix.texi:1382
  4553. #, no-wrap
  4554. msgid "# guix offload status\n"
  4555. msgstr ""
  4556. #. type: cindex
  4557. #: guix-git/doc/guix.texi:1388
  4558. #, no-wrap
  4559. msgid "SELinux, daemon policy"
  4560. msgstr ""
  4561. #. type: cindex
  4562. #: guix-git/doc/guix.texi:1389
  4563. #, no-wrap
  4564. msgid "mandatory access control, SELinux"
  4565. msgstr ""
  4566. #. type: cindex
  4567. #: guix-git/doc/guix.texi:1390
  4568. #, no-wrap
  4569. msgid "security, guix-daemon"
  4570. msgstr ""
  4571. #. type: Plain text
  4572. #: guix-git/doc/guix.texi:1396
  4573. 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."
  4574. msgstr ""
  4575. #. type: subsubsection
  4576. #: guix-git/doc/guix.texi:1397
  4577. #, no-wrap
  4578. msgid "Installing the SELinux policy"
  4579. msgstr ""
  4580. #. type: cindex
  4581. #: guix-git/doc/guix.texi:1398
  4582. #, no-wrap
  4583. msgid "SELinux, policy installation"
  4584. msgstr ""
  4585. #. type: Plain text
  4586. #: guix-git/doc/guix.texi:1400
  4587. msgid "To install the policy run this command as root:"
  4588. msgstr ""
  4589. #. type: example
  4590. #: guix-git/doc/guix.texi:1403
  4591. #, no-wrap
  4592. msgid "semodule -i etc/guix-daemon.cil\n"
  4593. msgstr ""
  4594. #. type: Plain text
  4595. #: guix-git/doc/guix.texi:1407
  4596. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  4597. msgstr ""
  4598. #. type: Plain text
  4599. #: guix-git/doc/guix.texi:1412
  4600. 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:"
  4601. msgstr ""
  4602. #. type: example
  4603. #: guix-git/doc/guix.texi:1415
  4604. #, no-wrap
  4605. msgid "ps -Zax | grep guix-daemon\n"
  4606. msgstr ""
  4607. #. type: Plain text
  4608. #: guix-git/doc/guix.texi:1420
  4609. 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."
  4610. msgstr ""
  4611. #. type: cindex
  4612. #: guix-git/doc/guix.texi:1422
  4613. #, no-wrap
  4614. msgid "SELinux, limitations"
  4615. msgstr ""
  4616. #. type: Plain text
  4617. #: guix-git/doc/guix.texi:1427
  4618. 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."
  4619. msgstr ""
  4620. #. type: enumerate
  4621. #: guix-git/doc/guix.texi:1434
  4622. 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."
  4623. msgstr ""
  4624. #. type: enumerate
  4625. #: guix-git/doc/guix.texi:1445
  4626. 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."
  4627. msgstr ""
  4628. #. type: enumerate
  4629. #: guix-git/doc/guix.texi:1450
  4630. 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."
  4631. msgstr ""
  4632. #. type: enumerate
  4633. #: guix-git/doc/guix.texi:1461
  4634. 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."
  4635. msgstr ""
  4636. #. type: enumerate
  4637. #: guix-git/doc/guix.texi:1466
  4638. 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."
  4639. msgstr ""
  4640. #. type: enumerate
  4641. #: guix-git/doc/guix.texi:1474
  4642. 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."
  4643. msgstr ""
  4644. #. type: section
  4645. #: guix-git/doc/guix.texi:1477
  4646. #, no-wrap
  4647. msgid "Invoking @command{guix-daemon}"
  4648. msgstr ""
  4649. #. type: Plain text
  4650. #: guix-git/doc/guix.texi:1483
  4651. 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:"
  4652. msgstr ""
  4653. #. type: Plain text
  4654. #: guix-git/doc/guix.texi:1490
  4655. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  4656. msgstr ""
  4657. #. type: cindex
  4658. #: guix-git/doc/guix.texi:1492
  4659. #, no-wrap
  4660. msgid "container, build environment"
  4661. msgstr ""
  4662. #. type: cindex
  4663. #: guix-git/doc/guix.texi:1494 guix-git/doc/guix.texi:3011
  4664. #: guix-git/doc/guix.texi:3910 guix-git/doc/guix.texi:12780
  4665. #, no-wrap
  4666. msgid "reproducible builds"
  4667. msgstr ""
  4668. #. type: Plain text
  4669. #: guix-git/doc/guix.texi:1506
  4670. 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})."
  4671. msgstr ""
  4672. #. type: Plain text
  4673. #: guix-git/doc/guix.texi:1512
  4674. 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}."
  4675. msgstr ""
  4676. #. type: Plain text
  4677. #: guix-git/doc/guix.texi:1516
  4678. 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}})."
  4679. msgstr ""
  4680. #. type: Plain text
  4681. #: guix-git/doc/guix.texi:1522
  4682. 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."
  4683. msgstr ""
  4684. #. type: Plain text
  4685. #: guix-git/doc/guix.texi:1524
  4686. msgid "The following command-line options are supported:"
  4687. msgstr ""
  4688. #. type: item
  4689. #: guix-git/doc/guix.texi:1526
  4690. #, no-wrap
  4691. msgid "--build-users-group=@var{group}"
  4692. msgstr ""
  4693. #. type: table
  4694. #: guix-git/doc/guix.texi:1529
  4695. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  4696. msgstr ""
  4697. #. type: item
  4698. #: guix-git/doc/guix.texi:1530 guix-git/doc/guix.texi:10265
  4699. #, no-wrap
  4700. msgid "--no-substitutes"
  4701. msgstr ""
  4702. #. type: cindex
  4703. #: guix-git/doc/guix.texi:1531 guix-git/doc/guix.texi:3023
  4704. #: guix-git/doc/guix.texi:3668
  4705. #, no-wrap
  4706. msgid "substitutes"
  4707. msgstr ""
  4708. #. type: table
  4709. #: guix-git/doc/guix.texi:1535 guix-git/doc/guix.texi:10269
  4710. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  4711. msgstr ""
  4712. #. type: table
  4713. #: guix-git/doc/guix.texi:1539
  4714. 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})."
  4715. msgstr ""
  4716. #. type: anchor{#1}
  4717. #: guix-git/doc/guix.texi:1541
  4718. msgid "daemon-substitute-urls"
  4719. msgstr ""
  4720. #. type: item
  4721. #: guix-git/doc/guix.texi:1541 guix-git/doc/guix.texi:10252
  4722. #: guix-git/doc/guix.texi:12211 guix-git/doc/guix.texi:12926
  4723. #: guix-git/doc/guix.texi:13151
  4724. #, no-wrap
  4725. msgid "--substitute-urls=@var{urls}"
  4726. msgstr ""
  4727. #. type: table
  4728. #: guix-git/doc/guix.texi:1545
  4729. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{https://@value{SUBSTITUTE-SERVER}} is used."
  4730. msgstr ""
  4731. #. type: table
  4732. #: guix-git/doc/guix.texi:1548
  4733. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  4734. msgstr ""
  4735. #. type: table
  4736. #: guix-git/doc/guix.texi:1551
  4737. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  4738. msgstr ""
  4739. #. type: item
  4740. #: guix-git/doc/guix.texi:1553 guix-git/doc/guix.texi:10288
  4741. #, no-wrap
  4742. msgid "--no-offload"
  4743. msgstr ""
  4744. #. type: table
  4745. #: guix-git/doc/guix.texi:1557 guix-git/doc/guix.texi:10292
  4746. 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."
  4747. msgstr ""
  4748. #. type: item
  4749. #: guix-git/doc/guix.texi:1558
  4750. #, no-wrap
  4751. msgid "--cache-failures"
  4752. msgstr ""
  4753. #. type: table
  4754. #: guix-git/doc/guix.texi:1560
  4755. msgid "Cache build failures. By default, only successful builds are cached."
  4756. msgstr ""
  4757. #. type: table
  4758. #: guix-git/doc/guix.texi:1565
  4759. 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}."
  4760. msgstr ""
  4761. #. type: item
  4762. #: guix-git/doc/guix.texi:1566 guix-git/doc/guix.texi:10318
  4763. #, no-wrap
  4764. msgid "--cores=@var{n}"
  4765. msgstr ""
  4766. #. type: itemx
  4767. #: guix-git/doc/guix.texi:1567 guix-git/doc/guix.texi:10319
  4768. #, no-wrap
  4769. msgid "-c @var{n}"
  4770. msgstr ""
  4771. #. type: table
  4772. #: guix-git/doc/guix.texi:1570
  4773. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  4774. msgstr ""
  4775. #. type: table
  4776. #: guix-git/doc/guix.texi:1574
  4777. 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})."
  4778. msgstr ""
  4779. #. type: table
  4780. #: guix-git/doc/guix.texi:1578
  4781. 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}."
  4782. msgstr ""
  4783. #. type: item
  4784. #: guix-git/doc/guix.texi:1579 guix-git/doc/guix.texi:10323
  4785. #, no-wrap
  4786. msgid "--max-jobs=@var{n}"
  4787. msgstr ""
  4788. #. type: itemx
  4789. #: guix-git/doc/guix.texi:1580 guix-git/doc/guix.texi:10324
  4790. #, no-wrap
  4791. msgid "-M @var{n}"
  4792. msgstr ""
  4793. #. type: table
  4794. #: guix-git/doc/guix.texi:1585
  4795. 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."
  4796. msgstr ""
  4797. #. type: item
  4798. #: guix-git/doc/guix.texi:1586 guix-git/doc/guix.texi:10293
  4799. #, no-wrap
  4800. msgid "--max-silent-time=@var{seconds}"
  4801. msgstr ""
  4802. #. type: table
  4803. #: guix-git/doc/guix.texi:1589 guix-git/doc/guix.texi:10296
  4804. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  4805. msgstr ""
  4806. #. type: table
  4807. #: guix-git/doc/guix.texi:1591 guix-git/doc/guix.texi:1600
  4808. msgid "The default value is @code{0}, which disables the timeout."
  4809. msgstr ""
  4810. #. type: table
  4811. #: guix-git/doc/guix.texi:1594
  4812. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  4813. msgstr ""
  4814. #. type: item
  4815. #: guix-git/doc/guix.texi:1595 guix-git/doc/guix.texi:10300
  4816. #, no-wrap
  4817. msgid "--timeout=@var{seconds}"
  4818. msgstr ""
  4819. #. type: table
  4820. #: guix-git/doc/guix.texi:1598 guix-git/doc/guix.texi:10303
  4821. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  4822. msgstr ""
  4823. #. type: table
  4824. #: guix-git/doc/guix.texi:1603
  4825. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  4826. msgstr ""
  4827. #. type: item
  4828. #: guix-git/doc/guix.texi:1604
  4829. #, no-wrap
  4830. msgid "--rounds=@var{N}"
  4831. msgstr ""
  4832. #. type: table
  4833. #: guix-git/doc/guix.texi:1609
  4834. 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})."
  4835. msgstr ""
  4836. #. type: table
  4837. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10287
  4838. #: guix-git/doc/guix.texi:10849
  4839. 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."
  4840. msgstr ""
  4841. #. type: item
  4842. #: guix-git/doc/guix.texi:1614
  4843. #, no-wrap
  4844. msgid "--debug"
  4845. msgstr ""
  4846. #. type: table
  4847. #: guix-git/doc/guix.texi:1616
  4848. msgid "Produce debugging output."
  4849. msgstr ""
  4850. #. type: table
  4851. #: guix-git/doc/guix.texi:1620
  4852. 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})."
  4853. msgstr ""
  4854. #. type: item
  4855. #: guix-git/doc/guix.texi:1621
  4856. #, no-wrap
  4857. msgid "--chroot-directory=@var{dir}"
  4858. msgstr ""
  4859. #. type: table
  4860. #: guix-git/doc/guix.texi:1623
  4861. msgid "Add @var{dir} to the build chroot."
  4862. msgstr ""
  4863. #. type: table
  4864. #: guix-git/doc/guix.texi:1629
  4865. 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."
  4866. msgstr ""
  4867. #. type: item
  4868. #: guix-git/doc/guix.texi:1630
  4869. #, no-wrap
  4870. msgid "--disable-chroot"
  4871. msgstr ""
  4872. #. type: table
  4873. #: guix-git/doc/guix.texi:1632
  4874. msgid "Disable chroot builds."
  4875. msgstr ""
  4876. #. type: table
  4877. #: guix-git/doc/guix.texi:1637
  4878. 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."
  4879. msgstr ""
  4880. #. type: item
  4881. #: guix-git/doc/guix.texi:1638
  4882. #, no-wrap
  4883. msgid "--log-compression=@var{type}"
  4884. msgstr ""
  4885. #. type: table
  4886. #: guix-git/doc/guix.texi:1641
  4887. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  4888. msgstr ""
  4889. #. type: table
  4890. #: guix-git/doc/guix.texi:1645
  4891. msgid "Unless @option{--lose-logs} is used, all the build logs are kept in the @var{localstatedir}. To save space, the daemon automatically compresses them with Bzip2 by default."
  4892. msgstr ""
  4893. #. type: item
  4894. #: guix-git/doc/guix.texi:1646
  4895. #, no-wrap
  4896. msgid "--discover[=yes|no]"
  4897. msgstr ""
  4898. #. type: table
  4899. #: guix-git/doc/guix.texi:1649 guix-git/doc/guix.texi:15467
  4900. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  4901. msgstr ""
  4902. #. type: table
  4903. #: guix-git/doc/guix.texi:1652
  4904. msgid "This feature is still experimental. However, here are a few considerations."
  4905. msgstr ""
  4906. #. type: enumerate
  4907. #: guix-git/doc/guix.texi:1656
  4908. msgid "It might be faster/less expensive than fetching from remote servers;"
  4909. msgstr ""
  4910. #. type: enumerate
  4911. #: guix-git/doc/guix.texi:1659
  4912. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  4913. msgstr ""
  4914. #. type: enumerate
  4915. #: guix-git/doc/guix.texi:1663
  4916. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  4917. msgstr ""
  4918. #. type: enumerate
  4919. #: guix-git/doc/guix.texi:1666
  4920. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  4921. msgstr ""
  4922. #. type: table
  4923. #: guix-git/doc/guix.texi:1670
  4924. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  4925. msgstr ""
  4926. #. type: example
  4927. #: guix-git/doc/guix.texi:1674
  4928. #, no-wrap
  4929. msgid ""
  4930. "herd discover guix-daemon on\n"
  4931. "herd discover guix-daemon off\n"
  4932. msgstr ""
  4933. #. type: item
  4934. #: guix-git/doc/guix.texi:1676
  4935. #, no-wrap
  4936. msgid "--disable-deduplication"
  4937. msgstr ""
  4938. #. type: cindex
  4939. #: guix-git/doc/guix.texi:1677 guix-git/doc/guix.texi:4248
  4940. #, no-wrap
  4941. msgid "deduplication"
  4942. msgstr ""
  4943. #. type: table
  4944. #: guix-git/doc/guix.texi:1679
  4945. msgid "Disable automatic file ``deduplication'' in the store."
  4946. msgstr ""
  4947. #. type: table
  4948. #: guix-git/doc/guix.texi:1686
  4949. 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."
  4950. msgstr ""
  4951. #. type: item
  4952. #: guix-git/doc/guix.texi:1687
  4953. #, no-wrap
  4954. msgid "--gc-keep-outputs[=yes|no]"
  4955. msgstr ""
  4956. #. type: table
  4957. #: guix-git/doc/guix.texi:1690
  4958. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  4959. msgstr ""
  4960. #. type: cindex
  4961. #: guix-git/doc/guix.texi:1691 guix-git/doc/guix.texi:4061
  4962. #, no-wrap
  4963. msgid "GC roots"
  4964. msgstr ""
  4965. #. type: cindex
  4966. #: guix-git/doc/guix.texi:1692 guix-git/doc/guix.texi:4062
  4967. #, no-wrap
  4968. msgid "garbage collector roots"
  4969. msgstr ""
  4970. #. type: table
  4971. #: guix-git/doc/guix.texi:1698
  4972. 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."
  4973. msgstr ""
  4974. #. type: item
  4975. #: guix-git/doc/guix.texi:1699
  4976. #, no-wrap
  4977. msgid "--gc-keep-derivations[=yes|no]"
  4978. msgstr ""
  4979. #. type: table
  4980. #: guix-git/doc/guix.texi:1702
  4981. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  4982. msgstr ""
  4983. #. type: table
  4984. #: guix-git/doc/guix.texi:1708
  4985. 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."
  4986. msgstr ""
  4987. #. type: table
  4988. #: guix-git/doc/guix.texi:1717
  4989. 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."
  4990. msgstr ""
  4991. #. type: item
  4992. #: guix-git/doc/guix.texi:1718
  4993. #, no-wrap
  4994. msgid "--impersonate-linux-2.6"
  4995. msgstr ""
  4996. #. type: table
  4997. #: guix-git/doc/guix.texi:1721
  4998. 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."
  4999. msgstr ""
  5000. #. type: table
  5001. #: guix-git/doc/guix.texi:1724
  5002. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5003. msgstr ""
  5004. #. type: item
  5005. #: guix-git/doc/guix.texi:1725
  5006. #, no-wrap
  5007. msgid "--lose-logs"
  5008. msgstr ""
  5009. #. type: table
  5010. #: guix-git/doc/guix.texi:1728
  5011. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5012. msgstr ""
  5013. #. type: item
  5014. #: guix-git/doc/guix.texi:1729 guix-git/doc/guix.texi:4489
  5015. #: guix-git/doc/guix.texi:5788 guix-git/doc/guix.texi:6159
  5016. #: guix-git/doc/guix.texi:10793 guix-git/doc/guix.texi:12238
  5017. #: guix-git/doc/guix.texi:12489 guix-git/doc/guix.texi:13156
  5018. #: guix-git/doc/guix.texi:32309 guix-git/doc/guix.texi:33108
  5019. #, no-wrap
  5020. msgid "--system=@var{system}"
  5021. msgstr ""
  5022. #. type: table
  5023. #: guix-git/doc/guix.texi:1733
  5024. 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}."
  5025. msgstr ""
  5026. #. type: item
  5027. #: guix-git/doc/guix.texi:1734 guix-git/doc/guix.texi:10098
  5028. #, no-wrap
  5029. msgid "--listen=@var{endpoint}"
  5030. msgstr ""
  5031. #. type: table
  5032. #: guix-git/doc/guix.texi:1739
  5033. 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:"
  5034. msgstr ""
  5035. #. type: item
  5036. #: guix-git/doc/guix.texi:1741
  5037. #, no-wrap
  5038. msgid "--listen=/gnu/var/daemon"
  5039. msgstr ""
  5040. #. type: table
  5041. #: guix-git/doc/guix.texi:1744
  5042. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5043. msgstr ""
  5044. #. type: item
  5045. #: guix-git/doc/guix.texi:1745
  5046. #, no-wrap
  5047. msgid "--listen=localhost"
  5048. msgstr ""
  5049. #. type: cindex
  5050. #: guix-git/doc/guix.texi:1746 guix-git/doc/guix.texi:8782
  5051. #, no-wrap
  5052. msgid "daemon, remote access"
  5053. msgstr ""
  5054. #. type: cindex
  5055. #: guix-git/doc/guix.texi:1747 guix-git/doc/guix.texi:8783
  5056. #, no-wrap
  5057. msgid "remote access to the daemon"
  5058. msgstr ""
  5059. #. type: cindex
  5060. #: guix-git/doc/guix.texi:1748 guix-git/doc/guix.texi:8784
  5061. #, no-wrap
  5062. msgid "daemon, cluster setup"
  5063. msgstr ""
  5064. #. type: cindex
  5065. #: guix-git/doc/guix.texi:1749 guix-git/doc/guix.texi:8785
  5066. #, no-wrap
  5067. msgid "clusters, daemon setup"
  5068. msgstr ""
  5069. #. type: table
  5070. #: guix-git/doc/guix.texi:1752
  5071. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5072. msgstr ""
  5073. #. type: item
  5074. #: guix-git/doc/guix.texi:1753
  5075. #, no-wrap
  5076. msgid "--listen=128.0.0.42:1234"
  5077. msgstr ""
  5078. #. type: table
  5079. #: guix-git/doc/guix.texi:1756
  5080. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5081. msgstr ""
  5082. #. type: table
  5083. #: guix-git/doc/guix.texi:1763
  5084. 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}})."
  5085. msgstr ""
  5086. #. type: quotation
  5087. #: guix-git/doc/guix.texi:1770
  5088. 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."
  5089. msgstr ""
  5090. #. type: table
  5091. #: guix-git/doc/guix.texi:1775
  5092. 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}."
  5093. msgstr ""
  5094. #. type: Plain text
  5095. #: guix-git/doc/guix.texi:1785
  5096. 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."
  5097. msgstr ""
  5098. #. type: anchor{#1}
  5099. #: guix-git/doc/guix.texi:1789
  5100. msgid "locales-and-locpath"
  5101. msgstr ""
  5102. #. type: cindex
  5103. #: guix-git/doc/guix.texi:1789
  5104. #, no-wrap
  5105. msgid "locales, when not on Guix System"
  5106. msgstr ""
  5107. #. type: vindex
  5108. #: guix-git/doc/guix.texi:1790 guix-git/doc/guix.texi:14686
  5109. #, no-wrap
  5110. msgid "LOCPATH"
  5111. msgstr ""
  5112. #. type: vindex
  5113. #: guix-git/doc/guix.texi:1791
  5114. #, no-wrap
  5115. msgid "GUIX_LOCPATH"
  5116. msgstr ""
  5117. #. type: Plain text
  5118. #: guix-git/doc/guix.texi:1796
  5119. 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:"
  5120. msgstr ""
  5121. #. type: example
  5122. #: guix-git/doc/guix.texi:1800
  5123. #, no-wrap
  5124. msgid ""
  5125. "$ guix install glibc-locales\n"
  5126. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5127. msgstr ""
  5128. #. type: Plain text
  5129. #: guix-git/doc/guix.texi:1806
  5130. msgid "Note that the @code{glibc-locales} package contains data for all the locales supported by the GNU@tie{}libc and weighs in at around 917@tie{}MiB@. Alternatively, the @code{glibc-utf8-locales} is smaller but limited to a few UTF-8 locales."
  5131. msgstr ""
  5132. #. type: Plain text
  5133. #: guix-git/doc/guix.texi:1810
  5134. 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:"
  5135. msgstr ""
  5136. #. type: enumerate
  5137. #: guix-git/doc/guix.texi:1817
  5138. 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."
  5139. msgstr ""
  5140. #. type: enumerate
  5141. #: guix-git/doc/guix.texi:1824
  5142. 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."
  5143. msgstr ""
  5144. #. type: Plain text
  5145. #: guix-git/doc/guix.texi:1828
  5146. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5147. msgstr ""
  5148. #. type: cindex
  5149. #: guix-git/doc/guix.texi:1831
  5150. #, no-wrap
  5151. msgid "name service switch, glibc"
  5152. msgstr ""
  5153. #. type: cindex
  5154. #: guix-git/doc/guix.texi:1832
  5155. #, no-wrap
  5156. msgid "NSS (name service switch), glibc"
  5157. msgstr ""
  5158. #. type: cindex
  5159. #: guix-git/doc/guix.texi:1833
  5160. #, no-wrap
  5161. msgid "nscd (name service caching daemon)"
  5162. msgstr ""
  5163. #. type: cindex
  5164. #: guix-git/doc/guix.texi:1834
  5165. #, no-wrap
  5166. msgid "name service caching daemon (nscd)"
  5167. msgstr ""
  5168. #. type: Plain text
  5169. #: guix-git/doc/guix.texi:1841
  5170. 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."
  5171. msgstr ""
  5172. #. type: file{#1}
  5173. #: guix-git/doc/guix.texi:1842
  5174. #, no-wrap
  5175. msgid "nsswitch.conf"
  5176. msgstr ""
  5177. #. type: Plain text
  5178. #: guix-git/doc/guix.texi:1847
  5179. 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})."
  5180. msgstr ""
  5181. #. type: cindex
  5182. #: guix-git/doc/guix.texi:1848
  5183. #, no-wrap
  5184. msgid "Network information service (NIS)"
  5185. msgstr ""
  5186. #. type: cindex
  5187. #: guix-git/doc/guix.texi:1849
  5188. #, no-wrap
  5189. msgid "NIS (Network information service)"
  5190. msgstr ""
  5191. #. type: Plain text
  5192. #: guix-git/doc/guix.texi:1858
  5193. 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})."
  5194. msgstr ""
  5195. #. type: Plain text
  5196. #: guix-git/doc/guix.texi:1868
  5197. 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)."
  5198. msgstr ""
  5199. #. type: Plain text
  5200. #: guix-git/doc/guix.texi:1873
  5201. 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."
  5202. msgstr ""
  5203. #. type: Plain text
  5204. #: guix-git/doc/guix.texi:1878
  5205. 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."
  5206. msgstr ""
  5207. #. type: subsection
  5208. #: guix-git/doc/guix.texi:1879
  5209. #, no-wrap
  5210. msgid "X11 Fonts"
  5211. msgstr ""
  5212. #. type: Plain text
  5213. #: guix-git/doc/guix.texi:1889
  5214. msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  5215. msgstr ""
  5216. #. type: code{#1}
  5217. #: guix-git/doc/guix.texi:1890
  5218. #, no-wrap
  5219. msgid "fc-cache"
  5220. msgstr ""
  5221. #. type: cindex
  5222. #: guix-git/doc/guix.texi:1891
  5223. #, no-wrap
  5224. msgid "font cache"
  5225. msgstr ""
  5226. #. type: Plain text
  5227. #: guix-git/doc/guix.texi:1895
  5228. 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:"
  5229. msgstr ""
  5230. #. type: example
  5231. #: guix-git/doc/guix.texi:1899
  5232. #, no-wrap
  5233. msgid ""
  5234. "guix install fontconfig\n"
  5235. "fc-cache -rv\n"
  5236. msgstr ""
  5237. #. type: Plain text
  5238. #: guix-git/doc/guix.texi:1907
  5239. 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:"
  5240. msgstr ""
  5241. #. type: example
  5242. #: guix-git/doc/guix.texi:1910
  5243. #, no-wrap
  5244. msgid "guix install font-adobe-source-han-sans:cn\n"
  5245. msgstr ""
  5246. #. type: code{#1}
  5247. #: guix-git/doc/guix.texi:1912
  5248. #, no-wrap
  5249. msgid "xterm"
  5250. msgstr ""
  5251. #. type: Plain text
  5252. #: guix-git/doc/guix.texi:1916
  5253. 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:"
  5254. msgstr ""
  5255. #. type: example
  5256. #: guix-git/doc/guix.texi:1919
  5257. #, no-wrap
  5258. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5259. msgstr ""
  5260. #. type: Plain text
  5261. #: guix-git/doc/guix.texi:1923
  5262. 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:"
  5263. msgstr ""
  5264. #. type: example
  5265. #: guix-git/doc/guix.texi:1928
  5266. #, no-wrap
  5267. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5268. msgstr ""
  5269. #. type: code{#1}
  5270. #: guix-git/doc/guix.texi:1930
  5271. #, no-wrap
  5272. msgid "xlsfonts"
  5273. msgstr ""
  5274. #. type: Plain text
  5275. #: guix-git/doc/guix.texi:1933
  5276. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5277. msgstr ""
  5278. #. type: code{#1}
  5279. #: guix-git/doc/guix.texi:1937 guix-git/doc/guix.texi:32047
  5280. #, no-wrap
  5281. msgid "nss-certs"
  5282. msgstr ""
  5283. #. type: Plain text
  5284. #: guix-git/doc/guix.texi:1940
  5285. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5286. msgstr ""
  5287. #. type: Plain text
  5288. #: guix-git/doc/guix.texi:1945
  5289. 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."
  5290. msgstr ""
  5291. #. type: code{#1}
  5292. #: guix-git/doc/guix.texi:1948
  5293. #, no-wrap
  5294. msgid "emacs"
  5295. msgstr ""
  5296. #. type: Plain text
  5297. #: guix-git/doc/guix.texi:1954
  5298. 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."
  5299. msgstr ""
  5300. #. type: Plain text
  5301. #: guix-git/doc/guix.texi:1961
  5302. 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})."
  5303. msgstr ""
  5304. #. type: cindex
  5305. #: guix-git/doc/guix.texi:1966
  5306. #, no-wrap
  5307. msgid "Upgrading Guix, on a foreign distro"
  5308. msgstr ""
  5309. #. type: Plain text
  5310. #: guix-git/doc/guix.texi:1969
  5311. msgid "To upgrade Guix, run:"
  5312. msgstr ""
  5313. #. type: example
  5314. #: guix-git/doc/guix.texi:1972 guix-git/doc/guix.texi:2819
  5315. #, no-wrap
  5316. msgid "guix pull\n"
  5317. msgstr ""
  5318. #. type: Plain text
  5319. #: guix-git/doc/guix.texi:1975
  5320. msgid "@xref{Invoking guix pull}, for more information."
  5321. msgstr ""
  5322. #. type: cindex
  5323. #: guix-git/doc/guix.texi:1976
  5324. #, no-wrap
  5325. msgid "upgrading Guix for the root user, on a foreign distro"
  5326. msgstr ""
  5327. #. type: cindex
  5328. #: guix-git/doc/guix.texi:1977
  5329. #, no-wrap
  5330. msgid "upgrading the Guix daemon, on a foreign distro"
  5331. msgstr ""
  5332. #. type: cindex
  5333. #: guix-git/doc/guix.texi:1978
  5334. #, no-wrap
  5335. msgid "@command{guix pull} for the root user, on a foreign distro"
  5336. msgstr ""
  5337. #. type: Plain text
  5338. #: guix-git/doc/guix.texi:1981
  5339. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  5340. msgstr ""
  5341. #. type: example
  5342. #: guix-git/doc/guix.texi:1984
  5343. #, no-wrap
  5344. msgid "sudo -i guix pull\n"
  5345. msgstr ""
  5346. #. type: Plain text
  5347. #: guix-git/doc/guix.texi:1989
  5348. msgid "followed by (assuming your distro uses the systemd service management tool):"
  5349. msgstr ""
  5350. #. type: example
  5351. #: guix-git/doc/guix.texi:1992
  5352. #, no-wrap
  5353. msgid "systemctl restart guix-daemon.service\n"
  5354. msgstr ""
  5355. #. type: Plain text
  5356. #: guix-git/doc/guix.texi:1996
  5357. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  5358. msgstr ""
  5359. #. type: cindex
  5360. #: guix-git/doc/guix.texi:2003
  5361. #, no-wrap
  5362. msgid "installing Guix System"
  5363. msgstr ""
  5364. #. type: cindex
  5365. #: guix-git/doc/guix.texi:2004
  5366. #, no-wrap
  5367. msgid "Guix System, installation"
  5368. msgstr ""
  5369. #. type: Plain text
  5370. #: guix-git/doc/guix.texi:2009
  5371. 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}."
  5372. msgstr ""
  5373. #. type: quotation
  5374. #: guix-git/doc/guix.texi:2018
  5375. 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."
  5376. msgstr ""
  5377. #. type: quotation
  5378. #: guix-git/doc/guix.texi:2021
  5379. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  5380. msgstr ""
  5381. #. type: Plain text
  5382. #: guix-git/doc/guix.texi:2042
  5383. 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."
  5384. msgstr ""
  5385. #. type: Plain text
  5386. #: guix-git/doc/guix.texi:2045
  5387. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  5388. msgstr ""
  5389. #. type: itemize
  5390. #: guix-git/doc/guix.texi:2050
  5391. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  5392. msgstr ""
  5393. #. type: itemize
  5394. #: guix-git/doc/guix.texi:2055
  5395. 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."
  5396. msgstr ""
  5397. #. type: Plain text
  5398. #: guix-git/doc/guix.texi:2060
  5399. 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."
  5400. msgstr ""
  5401. #. type: cindex
  5402. #: guix-git/doc/guix.texi:2065
  5403. #, no-wrap
  5404. msgid "hardware support on Guix System"
  5405. msgstr ""
  5406. #. type: Plain text
  5407. #: guix-git/doc/guix.texi:2074
  5408. 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."
  5409. msgstr ""
  5410. #. type: cindex
  5411. #: guix-git/doc/guix.texi:2075
  5412. #, no-wrap
  5413. msgid "WiFi, hardware support"
  5414. msgstr ""
  5415. #. type: Plain text
  5416. #: guix-git/doc/guix.texi:2084
  5417. 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}})."
  5418. msgstr ""
  5419. #. type: cindex
  5420. #: guix-git/doc/guix.texi:2085
  5421. #, no-wrap
  5422. msgid "RYF, Respects Your Freedom"
  5423. msgstr ""
  5424. #. type: Plain text
  5425. #: guix-git/doc/guix.texi:2091
  5426. 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."
  5427. msgstr ""
  5428. #. type: Plain text
  5429. #: guix-git/doc/guix.texi:2095
  5430. 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."
  5431. msgstr ""
  5432. #. type: Plain text
  5433. #: guix-git/doc/guix.texi:2104
  5434. 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:"
  5435. msgstr ""
  5436. #. type: table
  5437. #: guix-git/doc/guix.texi:2108
  5438. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  5439. msgstr ""
  5440. #. type: table
  5441. #: guix-git/doc/guix.texi:2111
  5442. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  5443. msgstr ""
  5444. #. type: Plain text
  5445. #: guix-git/doc/guix.texi:2116
  5446. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  5447. msgstr ""
  5448. #. type: example
  5449. #: guix-git/doc/guix.texi:2120
  5450. #, no-wrap
  5451. msgid ""
  5452. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5453. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5454. msgstr ""
  5455. #. type: example
  5456. #: guix-git/doc/guix.texi:2128
  5457. #, no-wrap
  5458. msgid ""
  5459. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  5460. " -qO - | gpg --import -\n"
  5461. msgstr ""
  5462. #. type: Plain text
  5463. #: guix-git/doc/guix.texi:2140
  5464. 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."
  5465. msgstr ""
  5466. #. type: unnumberedsubsec
  5467. #: guix-git/doc/guix.texi:2141
  5468. #, no-wrap
  5469. msgid "Copying to a USB Stick"
  5470. msgstr ""
  5471. #. type: Plain text
  5472. #: guix-git/doc/guix.texi:2146
  5473. 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:"
  5474. msgstr ""
  5475. #. type: example
  5476. #: guix-git/doc/guix.texi:2150
  5477. #, no-wrap
  5478. msgid ""
  5479. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  5480. "sync\n"
  5481. msgstr ""
  5482. #. type: Plain text
  5483. #: guix-git/doc/guix.texi:2153
  5484. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  5485. msgstr ""
  5486. #. type: unnumberedsubsec
  5487. #: guix-git/doc/guix.texi:2154
  5488. #, no-wrap
  5489. msgid "Burning on a DVD"
  5490. msgstr ""
  5491. #. type: Plain text
  5492. #: guix-git/doc/guix.texi:2159
  5493. 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:"
  5494. msgstr ""
  5495. #. type: example
  5496. #: guix-git/doc/guix.texi:2162
  5497. #, no-wrap
  5498. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  5499. msgstr ""
  5500. #. type: Plain text
  5501. #: guix-git/doc/guix.texi:2165
  5502. msgid "Access to @file{/dev/srX} usually requires root privileges."
  5503. msgstr ""
  5504. #. type: unnumberedsubsec
  5505. #: guix-git/doc/guix.texi:2166
  5506. #, no-wrap
  5507. msgid "Booting"
  5508. msgstr ""
  5509. #. type: Plain text
  5510. #: guix-git/doc/guix.texi:2173
  5511. 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}."
  5512. msgstr ""
  5513. #. type: Plain text
  5514. #: guix-git/doc/guix.texi:2176
  5515. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  5516. msgstr ""
  5517. #. type: Plain text
  5518. #: guix-git/doc/guix.texi:2186
  5519. 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})."
  5520. msgstr ""
  5521. #. type: Plain text
  5522. #: guix-git/doc/guix.texi:2194
  5523. 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."
  5524. msgstr ""
  5525. #. type: quotation
  5526. #: guix-git/doc/guix.texi:2199
  5527. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  5528. msgstr ""
  5529. #. type: Plain text
  5530. #: guix-git/doc/guix.texi:2206
  5531. 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."
  5532. msgstr ""
  5533. #. type: Plain text
  5534. #: guix-git/doc/guix.texi:2211
  5535. 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."
  5536. msgstr ""
  5537. #. type: Plain text
  5538. #: guix-git/doc/guix.texi:2213
  5539. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  5540. msgstr ""
  5541. #. type: Plain text
  5542. #: guix-git/doc/guix.texi:2218
  5543. 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."
  5544. msgstr ""
  5545. #. type: Plain text
  5546. #: guix-git/doc/guix.texi:2220
  5547. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  5548. msgstr ""
  5549. #. type: Plain text
  5550. #: guix-git/doc/guix.texi:2223
  5551. 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."
  5552. msgstr ""
  5553. #. type: Plain text
  5554. #: guix-git/doc/guix.texi:2225
  5555. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  5556. msgstr ""
  5557. #. type: Plain text
  5558. #: guix-git/doc/guix.texi:2230
  5559. 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!"
  5560. msgstr ""
  5561. #. type: Plain text
  5562. #: guix-git/doc/guix.texi:2240
  5563. 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})."
  5564. msgstr ""
  5565. #. type: Plain text
  5566. #: guix-git/doc/guix.texi:2246
  5567. 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})."
  5568. msgstr ""
  5569. #. type: subsection
  5570. #: guix-git/doc/guix.texi:2253
  5571. #, no-wrap
  5572. msgid "Keyboard Layout, Networking, and Partitioning"
  5573. msgstr ""
  5574. #. type: Plain text
  5575. #: guix-git/doc/guix.texi:2258
  5576. 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."
  5577. msgstr ""
  5578. #. type: cindex
  5579. #: guix-git/doc/guix.texi:2261 guix-git/doc/guix.texi:14500
  5580. #, no-wrap
  5581. msgid "keyboard layout"
  5582. msgstr ""
  5583. #. type: Plain text
  5584. #: guix-git/doc/guix.texi:2265
  5585. 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:"
  5586. msgstr ""
  5587. #. type: example
  5588. #: guix-git/doc/guix.texi:2268
  5589. #, no-wrap
  5590. msgid "loadkeys dvorak\n"
  5591. msgstr ""
  5592. #. type: Plain text
  5593. #: guix-git/doc/guix.texi:2273
  5594. 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."
  5595. msgstr ""
  5596. #. type: subsubsection
  5597. #: guix-git/doc/guix.texi:2274
  5598. #, no-wrap
  5599. msgid "Networking"
  5600. msgstr ""
  5601. #. type: Plain text
  5602. #: guix-git/doc/guix.texi:2277
  5603. msgid "Run the following command to see what your network interfaces are called:"
  5604. msgstr ""
  5605. #. type: example
  5606. #: guix-git/doc/guix.texi:2280
  5607. #, no-wrap
  5608. msgid "ifconfig -a\n"
  5609. msgstr ""
  5610. #. type: table
  5611. #: guix-git/doc/guix.texi:2284 guix-git/doc/guix.texi:2306
  5612. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  5613. msgstr ""
  5614. #. type: example
  5615. #: guix-git/doc/guix.texi:2287
  5616. #, no-wrap
  5617. msgid "ip address\n"
  5618. msgstr ""
  5619. #. type: Plain text
  5620. #: guix-git/doc/guix.texi:2294
  5621. 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}."
  5622. msgstr ""
  5623. #. type: item
  5624. #: guix-git/doc/guix.texi:2296
  5625. #, no-wrap
  5626. msgid "Wired connection"
  5627. msgstr ""
  5628. #. type: table
  5629. #: guix-git/doc/guix.texi:2299
  5630. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  5631. msgstr ""
  5632. #. type: example
  5633. #: guix-git/doc/guix.texi:2302
  5634. #, no-wrap
  5635. msgid "ifconfig @var{interface} up\n"
  5636. msgstr ""
  5637. #. type: example
  5638. #: guix-git/doc/guix.texi:2309
  5639. #, no-wrap
  5640. msgid "ip link set @var{interface} up\n"
  5641. msgstr ""
  5642. #. type: item
  5643. #: guix-git/doc/guix.texi:2311
  5644. #, no-wrap
  5645. msgid "Wireless connection"
  5646. msgstr ""
  5647. #. type: cindex
  5648. #: guix-git/doc/guix.texi:2312 guix-git/doc/guix.texi:16125
  5649. #, no-wrap
  5650. msgid "wireless"
  5651. msgstr ""
  5652. #. type: cindex
  5653. #: guix-git/doc/guix.texi:2313 guix-git/doc/guix.texi:16126
  5654. #, no-wrap
  5655. msgid "WiFi"
  5656. msgstr ""
  5657. #. type: table
  5658. #: guix-git/doc/guix.texi:2318
  5659. 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}:"
  5660. msgstr ""
  5661. #. type: example
  5662. #: guix-git/doc/guix.texi:2321
  5663. #, no-wrap
  5664. msgid "nano wpa_supplicant.conf\n"
  5665. msgstr ""
  5666. #. type: table
  5667. #: guix-git/doc/guix.texi:2326
  5668. 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:"
  5669. msgstr ""
  5670. #. type: example
  5671. #: guix-git/doc/guix.texi:2333
  5672. #, no-wrap
  5673. msgid ""
  5674. "network=@{\n"
  5675. " ssid=\"@var{my-ssid}\"\n"
  5676. " key_mgmt=WPA-PSK\n"
  5677. " psk=\"the network's secret passphrase\"\n"
  5678. "@}\n"
  5679. msgstr ""
  5680. #. type: table
  5681. #: guix-git/doc/guix.texi:2338
  5682. 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):"
  5683. msgstr ""
  5684. #. type: example
  5685. #: guix-git/doc/guix.texi:2341
  5686. #, no-wrap
  5687. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  5688. msgstr ""
  5689. #. type: table
  5690. #: guix-git/doc/guix.texi:2344
  5691. msgid "Run @command{man wpa_supplicant} for more information."
  5692. msgstr ""
  5693. #. type: cindex
  5694. #: guix-git/doc/guix.texi:2346
  5695. #, no-wrap
  5696. msgid "DHCP"
  5697. msgstr ""
  5698. #. type: Plain text
  5699. #: guix-git/doc/guix.texi:2349
  5700. 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:"
  5701. msgstr ""
  5702. #. type: example
  5703. #: guix-git/doc/guix.texi:2352
  5704. #, no-wrap
  5705. msgid "dhclient -v @var{interface}\n"
  5706. msgstr ""
  5707. #. type: Plain text
  5708. #: guix-git/doc/guix.texi:2355
  5709. msgid "Try to ping a server to see if networking is up and running:"
  5710. msgstr ""
  5711. #. type: example
  5712. #: guix-git/doc/guix.texi:2358
  5713. #, no-wrap
  5714. msgid "ping -c 3 gnu.org\n"
  5715. msgstr ""
  5716. #. type: Plain text
  5717. #: guix-git/doc/guix.texi:2362
  5718. 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."
  5719. msgstr ""
  5720. #. type: cindex
  5721. #: guix-git/doc/guix.texi:2363
  5722. #, no-wrap
  5723. msgid "proxy, during system installation"
  5724. msgstr ""
  5725. #. type: Plain text
  5726. #: guix-git/doc/guix.texi:2366
  5727. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  5728. msgstr ""
  5729. #. type: example
  5730. #: guix-git/doc/guix.texi:2369
  5731. #, no-wrap
  5732. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  5733. msgstr ""
  5734. #. type: Plain text
  5735. #: guix-git/doc/guix.texi:2374
  5736. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  5737. msgstr ""
  5738. #. type: cindex
  5739. #: guix-git/doc/guix.texi:2375
  5740. #, no-wrap
  5741. msgid "installing over SSH"
  5742. msgstr ""
  5743. #. type: Plain text
  5744. #: guix-git/doc/guix.texi:2378
  5745. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  5746. msgstr ""
  5747. #. type: example
  5748. #: guix-git/doc/guix.texi:2381
  5749. #, no-wrap
  5750. msgid "herd start ssh-daemon\n"
  5751. msgstr ""
  5752. #. type: Plain text
  5753. #: guix-git/doc/guix.texi:2385
  5754. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  5755. msgstr ""
  5756. #. type: subsubsection
  5757. #: guix-git/doc/guix.texi:2386
  5758. #, no-wrap
  5759. msgid "Disk Partitioning"
  5760. msgstr ""
  5761. #. type: Plain text
  5762. #: guix-git/doc/guix.texi:2390
  5763. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  5764. msgstr ""
  5765. #. type: Plain text
  5766. #: guix-git/doc/guix.texi:2395
  5767. 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:"
  5768. msgstr ""
  5769. #. type: example
  5770. #: guix-git/doc/guix.texi:2398
  5771. #, no-wrap
  5772. msgid "cfdisk\n"
  5773. msgstr ""
  5774. #. type: Plain text
  5775. #: guix-git/doc/guix.texi:2404
  5776. 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})."
  5777. msgstr ""
  5778. #. type: cindex
  5779. #: guix-git/doc/guix.texi:2405
  5780. #, no-wrap
  5781. msgid "EFI, installation"
  5782. msgstr ""
  5783. #. type: cindex
  5784. #: guix-git/doc/guix.texi:2406
  5785. #, no-wrap
  5786. msgid "UEFI, installation"
  5787. msgstr ""
  5788. #. type: cindex
  5789. #: guix-git/doc/guix.texi:2407
  5790. #, no-wrap
  5791. msgid "ESP, EFI system partition"
  5792. msgstr ""
  5793. #. type: Plain text
  5794. #: guix-git/doc/guix.texi:2411
  5795. 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}:"
  5796. msgstr ""
  5797. #. type: example
  5798. #: guix-git/doc/guix.texi:2414
  5799. #, no-wrap
  5800. msgid "parted /dev/sda set 1 esp on\n"
  5801. msgstr ""
  5802. #. type: vindex
  5803. #: guix-git/doc/guix.texi:2417 guix-git/doc/guix.texi:32447
  5804. #, no-wrap
  5805. msgid "grub-bootloader"
  5806. msgstr ""
  5807. #. type: vindex
  5808. #: guix-git/doc/guix.texi:2418 guix-git/doc/guix.texi:32441
  5809. #, no-wrap
  5810. msgid "grub-efi-bootloader"
  5811. msgstr ""
  5812. #. type: quotation
  5813. #: guix-git/doc/guix.texi:2425
  5814. 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."
  5815. msgstr ""
  5816. #. type: Plain text
  5817. #: guix-git/doc/guix.texi:2433
  5818. msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently Guix System only supports ext4, btrfs, JFS, and F2FS file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda1}, run:"
  5819. msgstr ""
  5820. #. type: example
  5821. #: guix-git/doc/guix.texi:2436
  5822. #, no-wrap
  5823. msgid "mkfs.fat -F32 /dev/sda1\n"
  5824. msgstr ""
  5825. #. type: Plain text
  5826. #: guix-git/doc/guix.texi:2443
  5827. 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})."
  5828. msgstr ""
  5829. #. type: Plain text
  5830. #: guix-git/doc/guix.texi:2450
  5831. 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:"
  5832. msgstr ""
  5833. #. type: example
  5834. #: guix-git/doc/guix.texi:2453
  5835. #, no-wrap
  5836. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  5837. msgstr ""
  5838. #. type: cindex
  5839. #: guix-git/doc/guix.texi:2455 guix-git/doc/guix.texi:13498
  5840. #, no-wrap
  5841. msgid "encrypted disk"
  5842. msgstr ""
  5843. #. type: Plain text
  5844. #: guix-git/doc/guix.texi:2462
  5845. msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information). Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence would be along these lines:"
  5846. msgstr ""
  5847. #. type: example
  5848. #: guix-git/doc/guix.texi:2467
  5849. #, no-wrap
  5850. msgid ""
  5851. "cryptsetup luksFormat /dev/sda2\n"
  5852. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  5853. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  5854. msgstr ""
  5855. #. type: Plain text
  5856. #: guix-git/doc/guix.texi:2472
  5857. 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):"
  5858. msgstr ""
  5859. #. type: example
  5860. #: guix-git/doc/guix.texi:2475
  5861. #, no-wrap
  5862. msgid "mount LABEL=my-root /mnt\n"
  5863. msgstr ""
  5864. #. type: Plain text
  5865. #: guix-git/doc/guix.texi:2481
  5866. 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."
  5867. msgstr ""
  5868. #. type: Plain text
  5869. #: guix-git/doc/guix.texi:2486
  5870. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  5871. msgstr ""
  5872. #. type: example
  5873. #: guix-git/doc/guix.texi:2490
  5874. #, no-wrap
  5875. msgid ""
  5876. "mkswap /dev/sda3\n"
  5877. "swapon /dev/sda3\n"
  5878. msgstr ""
  5879. #. type: Plain text
  5880. #: guix-git/doc/guix.texi:2498
  5881. 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}.}:"
  5882. msgstr ""
  5883. #. type: example
  5884. #: guix-git/doc/guix.texi:2506
  5885. #, no-wrap
  5886. msgid ""
  5887. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  5888. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  5889. "# For security, make the file readable and writable only by root.\n"
  5890. "chmod 600 /mnt/swapfile\n"
  5891. "mkswap /mnt/swapfile\n"
  5892. "swapon /mnt/swapfile\n"
  5893. msgstr ""
  5894. #. type: Plain text
  5895. #: guix-git/doc/guix.texi:2511
  5896. 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."
  5897. msgstr ""
  5898. #. type: Plain text
  5899. #: guix-git/doc/guix.texi:2517
  5900. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  5901. msgstr ""
  5902. #. type: example
  5903. #: guix-git/doc/guix.texi:2520
  5904. #, no-wrap
  5905. msgid "herd start cow-store /mnt\n"
  5906. msgstr ""
  5907. #. type: Plain text
  5908. #: guix-git/doc/guix.texi:2527
  5909. 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."
  5910. msgstr ""
  5911. #. type: Plain text
  5912. #: guix-git/doc/guix.texi:2538
  5913. 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 GNU Zile (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."
  5914. msgstr ""
  5915. #. type: Plain text
  5916. #: guix-git/doc/guix.texi:2545
  5917. 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:"
  5918. msgstr ""
  5919. #. type: example
  5920. #: guix-git/doc/guix.texi:2550
  5921. #, no-wrap
  5922. msgid ""
  5923. "# mkdir /mnt/etc\n"
  5924. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  5925. "# nano /mnt/etc/config.scm\n"
  5926. msgstr ""
  5927. #. type: Plain text
  5928. #: guix-git/doc/guix.texi:2554
  5929. msgid "You should pay attention to what your configuration file contains, and in particular:"
  5930. msgstr ""
  5931. #. type: itemize
  5932. #: guix-git/doc/guix.texi:2565
  5933. msgid "Make sure the @code{bootloader-configuration} form refers to the target you want to install GRUB on. It should mention @code{grub-bootloader} if you are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for newer UEFI systems. For legacy systems, the @code{target} field names a device, like @code{/dev/sda}; for UEFI systems it names a path to a mounted EFI partition, like @code{/boot/efi}; do make sure the path is currently mounted and a @code{file-system} entry is specified in your configuration."
  5934. msgstr ""
  5935. #. type: itemize
  5936. #: guix-git/doc/guix.texi:2571
  5937. 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."
  5938. msgstr ""
  5939. #. type: itemize
  5940. #: guix-git/doc/guix.texi:2575
  5941. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  5942. msgstr ""
  5943. #. type: Plain text
  5944. #: guix-git/doc/guix.texi:2580
  5945. 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}):"
  5946. msgstr ""
  5947. #. type: example
  5948. #: guix-git/doc/guix.texi:2583
  5949. #, no-wrap
  5950. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  5951. msgstr ""
  5952. #. type: Plain text
  5953. #: guix-git/doc/guix.texi:2590
  5954. 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."
  5955. msgstr ""
  5956. #. type: Plain text
  5957. #: guix-git/doc/guix.texi:2598
  5958. 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!"
  5959. msgstr ""
  5960. #. type: Plain text
  5961. #: guix-git/doc/guix.texi:2605
  5962. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  5963. msgstr ""
  5964. #. type: example
  5965. #: guix-git/doc/guix.texi:2609
  5966. #, no-wrap
  5967. msgid ""
  5968. "guix pull\n"
  5969. "sudo guix system reconfigure /etc/config.scm\n"
  5970. msgstr ""
  5971. #. type: Plain text
  5972. #: guix-git/doc/guix.texi:2615
  5973. 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})."
  5974. msgstr ""
  5975. #. type: cindex
  5976. #: guix-git/doc/guix.texi:2618
  5977. #, no-wrap
  5978. msgid "sudo vs. @command{guix pull}"
  5979. msgstr ""
  5980. #. type: quotation
  5981. #: guix-git/doc/guix.texi:2622
  5982. 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{}}."
  5983. msgstr ""
  5984. #. type: quotation
  5985. #: guix-git/doc/guix.texi:2627
  5986. 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."
  5987. msgstr ""
  5988. #. type: Plain text
  5989. #: guix-git/doc/guix.texi:2632
  5990. msgid "Now, @pxref{Getting Started}, and join us on @code{#guix} on the Freenode IRC network or on @email{guix-devel@@gnu.org} to share your experience!"
  5991. msgstr ""
  5992. #. type: section
  5993. #: guix-git/doc/guix.texi:2635
  5994. #, no-wrap
  5995. msgid "Installing Guix in a Virtual Machine"
  5996. msgstr ""
  5997. #. type: cindex
  5998. #: guix-git/doc/guix.texi:2637
  5999. #, no-wrap
  6000. msgid "virtual machine, Guix System installation"
  6001. msgstr ""
  6002. #. type: cindex
  6003. #: guix-git/doc/guix.texi:2638
  6004. #, no-wrap
  6005. msgid "virtual private server (VPS)"
  6006. msgstr ""
  6007. #. type: cindex
  6008. #: guix-git/doc/guix.texi:2639
  6009. #, no-wrap
  6010. msgid "VPS (virtual private server)"
  6011. msgstr ""
  6012. #. type: Plain text
  6013. #: guix-git/doc/guix.texi:2643
  6014. 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."
  6015. msgstr ""
  6016. #. type: Plain text
  6017. #: guix-git/doc/guix.texi:2646
  6018. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6019. msgstr ""
  6020. #. type: enumerate
  6021. #: guix-git/doc/guix.texi:2651
  6022. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6023. msgstr ""
  6024. #. type: enumerate
  6025. #: guix-git/doc/guix.texi:2655
  6026. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6027. msgstr ""
  6028. #. type: example
  6029. #: guix-git/doc/guix.texi:2658
  6030. #, no-wrap
  6031. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6032. msgstr ""
  6033. #. type: enumerate
  6034. #: guix-git/doc/guix.texi:2662
  6035. 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."
  6036. msgstr ""
  6037. #. type: enumerate
  6038. #: guix-git/doc/guix.texi:2665
  6039. msgid "Boot the USB installation image in an VM:"
  6040. msgstr ""
  6041. #. type: example
  6042. #: guix-git/doc/guix.texi:2671
  6043. #, no-wrap
  6044. msgid ""
  6045. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6046. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6047. " -drive file=guix-system.img \\\n"
  6048. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6049. msgstr ""
  6050. #. type: enumerate
  6051. #: guix-git/doc/guix.texi:2675
  6052. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6053. msgstr ""
  6054. #. type: enumerate
  6055. #: guix-git/doc/guix.texi:2679
  6056. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6057. msgstr ""
  6058. #. type: Plain text
  6059. #: guix-git/doc/guix.texi:2684
  6060. 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."
  6061. msgstr ""
  6062. #. type: cindex
  6063. #: guix-git/doc/guix.texi:2688
  6064. #, no-wrap
  6065. msgid "installation image"
  6066. msgstr ""
  6067. #. type: Plain text
  6068. #: guix-git/doc/guix.texi:2691
  6069. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6070. msgstr ""
  6071. #. type: example
  6072. #: guix-git/doc/guix.texi:2694
  6073. #, no-wrap
  6074. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6075. msgstr ""
  6076. #. type: Plain text
  6077. #: guix-git/doc/guix.texi:2699
  6078. 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."
  6079. msgstr ""
  6080. #. type: section
  6081. #: guix-git/doc/guix.texi:2700
  6082. #, no-wrap
  6083. msgid "Building the Installation Image for ARM Boards"
  6084. msgstr ""
  6085. #. type: Plain text
  6086. #: guix-git/doc/guix.texi:2704
  6087. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6088. msgstr ""
  6089. #. type: Plain text
  6090. #: guix-git/doc/guix.texi:2708
  6091. 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:"
  6092. msgstr ""
  6093. #. type: example
  6094. #: guix-git/doc/guix.texi:2711
  6095. #, no-wrap
  6096. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6097. msgstr ""
  6098. #. type: Plain text
  6099. #: guix-git/doc/guix.texi:2715
  6100. 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."
  6101. msgstr ""
  6102. #. type: Plain text
  6103. #: guix-git/doc/guix.texi:2725
  6104. 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."
  6105. msgstr ""
  6106. #. type: Plain text
  6107. #: guix-git/doc/guix.texi:2729
  6108. 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:"
  6109. msgstr ""
  6110. #. type: example
  6111. #: guix-git/doc/guix.texi:2732
  6112. #, no-wrap
  6113. msgid "guix search text editor\n"
  6114. msgstr ""
  6115. #. type: Plain text
  6116. #: guix-git/doc/guix.texi:2739
  6117. 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}!):"
  6118. msgstr ""
  6119. #. type: example
  6120. #: guix-git/doc/guix.texi:2742
  6121. #, no-wrap
  6122. msgid "guix install emacs\n"
  6123. msgstr ""
  6124. #. type: cindex
  6125. #: guix-git/doc/guix.texi:2744 guix-git/doc/guix.texi:3056
  6126. #: guix-git/doc/guix.texi:3108
  6127. #, no-wrap
  6128. msgid "profile"
  6129. msgstr ""
  6130. #. type: Plain text
  6131. #: guix-git/doc/guix.texi:2752
  6132. 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)."
  6133. msgstr ""
  6134. #. type: Plain text
  6135. #: guix-git/doc/guix.texi:2755
  6136. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6137. msgstr ""
  6138. #. type: example
  6139. #: guix-git/doc/guix.texi:2758
  6140. #, no-wrap
  6141. msgid ""
  6142. "hint: Consider setting the necessary environment variables by running:\n"
  6143. "\n"
  6144. msgstr ""
  6145. #. type: example
  6146. #: guix-git/doc/guix.texi:2761
  6147. #, no-wrap
  6148. msgid ""
  6149. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6150. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6151. "\n"
  6152. msgstr ""
  6153. #. type: example
  6154. #: guix-git/doc/guix.texi:2763
  6155. #, no-wrap
  6156. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6157. msgstr ""
  6158. #. type: Plain text
  6159. #: guix-git/doc/guix.texi:2777
  6160. msgid "Indeed, you must now tell your shell where @command{emacs} and other programs installed with Guix are to be found. Pasting the two lines above will do just that: it will add @code{$HOME/.guix-profile/bin}---which is where the installed package is---to the @code{PATH} environment variable. You can paste these two lines in your shell so they take effect right away, but more importantly you should add them to @file{~/.bash_profile} (or equivalent file if you do not use Bash) so that environment variables are set next time you spawn a shell. You only need to do this once and other search paths environment variables will be taken care of similarly---e.g., if you eventually install @code{python} and Python libraries, @code{PYTHONPATH} will be defined."
  6161. msgstr ""
  6162. #. type: Plain text
  6163. #: guix-git/doc/guix.texi:2780
  6164. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6165. msgstr ""
  6166. #. type: example
  6167. #: guix-git/doc/guix.texi:2783
  6168. #, no-wrap
  6169. msgid "guix package --list-installed\n"
  6170. msgstr ""
  6171. #. type: Plain text
  6172. #: guix-git/doc/guix.texi:2788
  6173. 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:"
  6174. msgstr ""
  6175. #. type: example
  6176. #: guix-git/doc/guix.texi:2791
  6177. #, no-wrap
  6178. msgid "guix package --roll-back\n"
  6179. msgstr ""
  6180. #. type: Plain text
  6181. #: guix-git/doc/guix.texi:2796
  6182. 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:"
  6183. msgstr ""
  6184. #. type: example
  6185. #: guix-git/doc/guix.texi:2799
  6186. #, no-wrap
  6187. msgid "guix package --list-generations\n"
  6188. msgstr ""
  6189. #. type: Plain text
  6190. #: guix-git/doc/guix.texi:2802
  6191. msgid "Now you know the basics of package management!"
  6192. msgstr ""
  6193. #. type: quotation
  6194. #: guix-git/doc/guix.texi:2803 guix-git/doc/guix.texi:2862
  6195. #, no-wrap
  6196. msgid "Going further"
  6197. msgstr ""
  6198. #. type: quotation
  6199. #: guix-git/doc/guix.texi:2811
  6200. 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."
  6201. msgstr ""
  6202. #. type: Plain text
  6203. #: guix-git/doc/guix.texi:2816
  6204. 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:"
  6205. msgstr ""
  6206. #. type: Plain text
  6207. #: guix-git/doc/guix.texi:2826
  6208. 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}:"
  6209. msgstr ""
  6210. #. type: example
  6211. #: guix-git/doc/guix.texi:2830
  6212. #, no-wrap
  6213. msgid ""
  6214. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6215. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6216. msgstr ""
  6217. #. type: Plain text
  6218. #: guix-git/doc/guix.texi:2834
  6219. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6220. msgstr ""
  6221. #. type: example
  6222. #: guix-git/doc/guix.texi:2837
  6223. #, no-wrap
  6224. msgid "hash guix\n"
  6225. msgstr ""
  6226. #. type: Plain text
  6227. #: guix-git/doc/guix.texi:2841
  6228. 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:"
  6229. msgstr ""
  6230. #. type: example
  6231. #: guix-git/doc/guix.texi:2844
  6232. #, no-wrap
  6233. msgid "guix upgrade\n"
  6234. msgstr ""
  6235. #. type: Plain text
  6236. #: guix-git/doc/guix.texi:2850
  6237. 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!"
  6238. msgstr ""
  6239. #. type: Plain text
  6240. #: guix-git/doc/guix.texi:2853
  6241. msgid "You can display the exact revision of Guix you're currently using by running:"
  6242. msgstr ""
  6243. #. type: example
  6244. #: guix-git/doc/guix.texi:2856
  6245. #, no-wrap
  6246. msgid "guix describe\n"
  6247. msgstr ""
  6248. #. type: Plain text
  6249. #: guix-git/doc/guix.texi:2861
  6250. 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."
  6251. msgstr ""
  6252. #. type: quotation
  6253. #: guix-git/doc/guix.texi:2867
  6254. 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})."
  6255. msgstr ""
  6256. #. type: Plain text
  6257. #: guix-git/doc/guix.texi:2872
  6258. 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:"
  6259. msgstr ""
  6260. #. type: example
  6261. #: guix-git/doc/guix.texi:2875
  6262. #, no-wrap
  6263. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6264. msgstr ""
  6265. #. type: Plain text
  6266. #: guix-git/doc/guix.texi:2884
  6267. 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}:"
  6268. msgstr ""
  6269. #. type: example
  6270. #: guix-git/doc/guix.texi:2887
  6271. #, no-wrap
  6272. msgid "sudo guix system roll-back\n"
  6273. msgstr ""
  6274. #. type: Plain text
  6275. #: guix-git/doc/guix.texi:2894
  6276. 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."
  6277. msgstr ""
  6278. #. type: Plain text
  6279. #: guix-git/doc/guix.texi:2896
  6280. msgid "Now you know enough to get started!"
  6281. msgstr ""
  6282. #. type: quotation
  6283. #: guix-git/doc/guix.texi:2897
  6284. #, no-wrap
  6285. msgid "Resources"
  6286. msgstr ""
  6287. #. type: quotation
  6288. #: guix-git/doc/guix.texi:2900
  6289. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6290. msgstr ""
  6291. #. type: itemize
  6292. #: guix-git/doc/guix.texi:2905
  6293. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6294. msgstr ""
  6295. #. type: itemize
  6296. #: guix-git/doc/guix.texi:2910
  6297. 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."
  6298. msgstr ""
  6299. #. type: itemize
  6300. #: guix-git/doc/guix.texi:2915
  6301. 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."
  6302. msgstr ""
  6303. #. type: itemize
  6304. #: guix-git/doc/guix.texi:2919
  6305. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6306. msgstr ""
  6307. #. type: quotation
  6308. #: guix-git/doc/guix.texi:2922
  6309. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6310. msgstr ""
  6311. #. type: cindex
  6312. #: guix-git/doc/guix.texi:2928
  6313. #, no-wrap
  6314. msgid "packages"
  6315. msgstr ""
  6316. #. type: Plain text
  6317. #: guix-git/doc/guix.texi:2933
  6318. 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."
  6319. msgstr ""
  6320. #. type: Plain text
  6321. #: guix-git/doc/guix.texi:2941
  6322. 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):"
  6323. msgstr ""
  6324. #. type: example
  6325. #: guix-git/doc/guix.texi:2944
  6326. #, no-wrap
  6327. msgid "guix install emacs-guix\n"
  6328. msgstr ""
  6329. #. type: Plain text
  6330. #: guix-git/doc/guix.texi:2965
  6331. 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."
  6332. msgstr ""
  6333. #. type: Plain text
  6334. #: guix-git/doc/guix.texi:2969
  6335. 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."
  6336. msgstr ""
  6337. #. type: Plain text
  6338. #: guix-git/doc/guix.texi:2974
  6339. 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}."
  6340. msgstr ""
  6341. #. type: Plain text
  6342. #: guix-git/doc/guix.texi:2982
  6343. 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."
  6344. msgstr ""
  6345. #. type: Plain text
  6346. #: guix-git/doc/guix.texi:2986
  6347. 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}."
  6348. msgstr ""
  6349. #. type: cindex
  6350. #: guix-git/doc/guix.texi:2987 guix-git/doc/guix.texi:3070
  6351. #, no-wrap
  6352. msgid "transactions"
  6353. msgstr ""
  6354. #. type: Plain text
  6355. #: guix-git/doc/guix.texi:2994
  6356. 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."
  6357. msgstr ""
  6358. #. type: Plain text
  6359. #: guix-git/doc/guix.texi:3002
  6360. 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})."
  6361. msgstr ""
  6362. #. type: Plain text
  6363. #: guix-git/doc/guix.texi:3009
  6364. 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."
  6365. msgstr ""
  6366. #. type: cindex
  6367. #: guix-git/doc/guix.texi:3010 guix-git/doc/guix.texi:4693
  6368. #, no-wrap
  6369. msgid "reproducibility"
  6370. msgstr ""
  6371. #. type: Plain text
  6372. #: guix-git/doc/guix.texi:3022
  6373. 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})."
  6374. msgstr ""
  6375. #. type: Plain text
  6376. #: guix-git/doc/guix.texi:3033
  6377. 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})."
  6378. msgstr ""
  6379. #. type: Plain text
  6380. #: guix-git/doc/guix.texi:3039
  6381. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix environment} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix environment})."
  6382. msgstr ""
  6383. #. type: cindex
  6384. #: guix-git/doc/guix.texi:3040
  6385. #, no-wrap
  6386. msgid "replication, of software environments"
  6387. msgstr ""
  6388. #. type: cindex
  6389. #: guix-git/doc/guix.texi:3041
  6390. #, no-wrap
  6391. msgid "provenance tracking, of software artifacts"
  6392. msgstr ""
  6393. #. type: Plain text
  6394. #: guix-git/doc/guix.texi:3048
  6395. 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."
  6396. msgstr ""
  6397. #. type: section
  6398. #: guix-git/doc/guix.texi:3050
  6399. #, no-wrap
  6400. msgid "Invoking @command{guix package}"
  6401. msgstr ""
  6402. #. type: cindex
  6403. #: guix-git/doc/guix.texi:3052
  6404. #, no-wrap
  6405. msgid "installing packages"
  6406. msgstr ""
  6407. #. type: cindex
  6408. #: guix-git/doc/guix.texi:3053
  6409. #, no-wrap
  6410. msgid "removing packages"
  6411. msgstr ""
  6412. #. type: cindex
  6413. #: guix-git/doc/guix.texi:3054
  6414. #, no-wrap
  6415. msgid "package installation"
  6416. msgstr ""
  6417. #. type: cindex
  6418. #: guix-git/doc/guix.texi:3055
  6419. #, no-wrap
  6420. msgid "package removal"
  6421. msgstr ""
  6422. #. type: Plain text
  6423. #: guix-git/doc/guix.texi:3065
  6424. 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:"
  6425. msgstr ""
  6426. #. type: example
  6427. #: guix-git/doc/guix.texi:3068
  6428. #, no-wrap
  6429. msgid "guix package @var{options}\n"
  6430. msgstr ""
  6431. #. type: Plain text
  6432. #: guix-git/doc/guix.texi:3075
  6433. 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."
  6434. msgstr ""
  6435. #. type: Plain text
  6436. #: guix-git/doc/guix.texi:3078
  6437. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  6438. msgstr ""
  6439. #. type: example
  6440. #: guix-git/doc/guix.texi:3081
  6441. #, no-wrap
  6442. msgid "guix package -r lua -i guile guile-cairo\n"
  6443. msgstr ""
  6444. #. type: cindex
  6445. #: guix-git/doc/guix.texi:3083
  6446. #, no-wrap
  6447. msgid "aliases, for @command{guix package}"
  6448. msgstr ""
  6449. #. type: Plain text
  6450. #: guix-git/doc/guix.texi:3085
  6451. msgid "For your convenience, we also provide the following aliases:"
  6452. msgstr ""
  6453. #. type: itemize
  6454. #: guix-git/doc/guix.texi:3089
  6455. msgid "@command{guix search} is an alias for @command{guix package -s},"
  6456. msgstr ""
  6457. #. type: itemize
  6458. #: guix-git/doc/guix.texi:3091
  6459. msgid "@command{guix install} is an alias for @command{guix package -i},"
  6460. msgstr ""
  6461. #. type: itemize
  6462. #: guix-git/doc/guix.texi:3093
  6463. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  6464. msgstr ""
  6465. #. type: itemize
  6466. #: guix-git/doc/guix.texi:3095
  6467. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  6468. msgstr ""
  6469. #. type: itemize
  6470. #: guix-git/doc/guix.texi:3097
  6471. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  6472. msgstr ""
  6473. #. type: Plain text
  6474. #: guix-git/doc/guix.texi:3102
  6475. 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."
  6476. msgstr ""
  6477. #. type: Plain text
  6478. #: guix-git/doc/guix.texi:3107
  6479. 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}})."
  6480. msgstr ""
  6481. #. type: Plain text
  6482. #: guix-git/doc/guix.texi:3114
  6483. 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."
  6484. msgstr ""
  6485. #. type: cindex
  6486. #: guix-git/doc/guix.texi:3114 guix-git/doc/guix.texi:3347
  6487. #, no-wrap
  6488. msgid "search paths"
  6489. msgstr ""
  6490. #. type: Plain text
  6491. #: guix-git/doc/guix.texi:3119
  6492. 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:"
  6493. msgstr ""
  6494. #. type: example
  6495. #: guix-git/doc/guix.texi:3123
  6496. #, no-wrap
  6497. msgid ""
  6498. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  6499. "source \"$GUIX_PROFILE/etc/profile\"\n"
  6500. msgstr ""
  6501. #. type: Plain text
  6502. #: guix-git/doc/guix.texi:3134
  6503. 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}."
  6504. msgstr ""
  6505. #. type: Plain text
  6506. #: guix-git/doc/guix.texi:3136
  6507. msgid "The @var{options} can be among the following:"
  6508. msgstr ""
  6509. #. type: item
  6510. #: guix-git/doc/guix.texi:3139
  6511. #, no-wrap
  6512. msgid "--install=@var{package} @dots{}"
  6513. msgstr ""
  6514. #. type: itemx
  6515. #: guix-git/doc/guix.texi:3140
  6516. #, no-wrap
  6517. msgid "-i @var{package} @dots{}"
  6518. msgstr ""
  6519. #. type: table
  6520. #: guix-git/doc/guix.texi:3142
  6521. msgid "Install the specified @var{package}s."
  6522. msgstr ""
  6523. #. type: table
  6524. #: guix-git/doc/guix.texi:3147
  6525. 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)."
  6526. msgstr ""
  6527. #. type: table
  6528. #: guix-git/doc/guix.texi:3155
  6529. 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})."
  6530. msgstr ""
  6531. #. type: cindex
  6532. #: guix-git/doc/guix.texi:3156
  6533. #, no-wrap
  6534. msgid "propagated inputs"
  6535. msgstr ""
  6536. #. type: table
  6537. #: guix-git/doc/guix.texi:3162
  6538. 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)."
  6539. msgstr ""
  6540. #. type: anchor{#1}
  6541. #: guix-git/doc/guix.texi:3169
  6542. msgid "package-cmd-propagated-inputs"
  6543. msgstr ""
  6544. #. type: table
  6545. #: guix-git/doc/guix.texi:3169
  6546. 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."
  6547. msgstr ""
  6548. #. type: table
  6549. #: guix-git/doc/guix.texi:3174
  6550. 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."
  6551. msgstr ""
  6552. #. type: item
  6553. #: guix-git/doc/guix.texi:3175
  6554. #, no-wrap
  6555. msgid "--install-from-expression=@var{exp}"
  6556. msgstr ""
  6557. #. type: itemx
  6558. #: guix-git/doc/guix.texi:3176
  6559. #, no-wrap
  6560. msgid "-e @var{exp}"
  6561. msgstr ""
  6562. #. type: table
  6563. #: guix-git/doc/guix.texi:3178
  6564. msgid "Install the package @var{exp} evaluates to."
  6565. msgstr ""
  6566. #. type: table
  6567. #: guix-git/doc/guix.texi:3183
  6568. 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)}."
  6569. msgstr ""
  6570. #. type: table
  6571. #: guix-git/doc/guix.texi:3187
  6572. 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."
  6573. msgstr ""
  6574. #. type: item
  6575. #: guix-git/doc/guix.texi:3188
  6576. #, no-wrap
  6577. msgid "--install-from-file=@var{file}"
  6578. msgstr ""
  6579. #. type: itemx
  6580. #: guix-git/doc/guix.texi:3189 guix-git/doc/guix.texi:10684
  6581. #, no-wrap
  6582. msgid "-f @var{file}"
  6583. msgstr ""
  6584. #. type: table
  6585. #: guix-git/doc/guix.texi:3191
  6586. msgid "Install the package that the code within @var{file} evaluates to."
  6587. msgstr ""
  6588. #. type: table
  6589. #: guix-git/doc/guix.texi:3194 guix-git/doc/guix.texi:5721
  6590. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  6591. msgstr ""
  6592. #. type: include
  6593. #: guix-git/doc/guix.texi:3196 guix-git/doc/guix.texi:10692
  6594. #, no-wrap
  6595. msgid "package-hello.scm"
  6596. msgstr ""
  6597. #. type: table
  6598. #: guix-git/doc/guix.texi:3203
  6599. msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix environment})."
  6600. msgstr ""
  6601. #. type: table
  6602. #: guix-git/doc/guix.texi:3208
  6603. 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}:"
  6604. msgstr ""
  6605. #. type: example
  6606. #: guix-git/doc/guix.texi:3211 guix-git/doc/guix.texi:10702
  6607. #, no-wrap
  6608. msgid "@verbatiminclude package-hello.json\n"
  6609. msgstr ""
  6610. #. type: item
  6611. #: guix-git/doc/guix.texi:3213
  6612. #, no-wrap
  6613. msgid "--remove=@var{package} @dots{}"
  6614. msgstr ""
  6615. #. type: itemx
  6616. #: guix-git/doc/guix.texi:3214
  6617. #, no-wrap
  6618. msgid "-r @var{package} @dots{}"
  6619. msgstr ""
  6620. #. type: table
  6621. #: guix-git/doc/guix.texi:3216
  6622. msgid "Remove the specified @var{package}s."
  6623. msgstr ""
  6624. #. type: table
  6625. #: guix-git/doc/guix.texi:3221
  6626. 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}."
  6627. msgstr ""
  6628. #. type: item
  6629. #: guix-git/doc/guix.texi:3222
  6630. #, no-wrap
  6631. msgid "--upgrade[=@var{regexp} @dots{}]"
  6632. msgstr ""
  6633. #. type: itemx
  6634. #: guix-git/doc/guix.texi:3223
  6635. #, no-wrap
  6636. msgid "-u [@var{regexp} @dots{}]"
  6637. msgstr ""
  6638. #. type: cindex
  6639. #: guix-git/doc/guix.texi:3224
  6640. #, no-wrap
  6641. msgid "upgrading packages"
  6642. msgstr ""
  6643. #. type: table
  6644. #: guix-git/doc/guix.texi:3228
  6645. 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."
  6646. msgstr ""
  6647. #. type: table
  6648. #: guix-git/doc/guix.texi:3233
  6649. 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})."
  6650. msgstr ""
  6651. #. type: cindex
  6652. #: guix-git/doc/guix.texi:3234
  6653. #, no-wrap
  6654. msgid "package transformations, upgrades"
  6655. msgstr ""
  6656. #. type: table
  6657. #: guix-git/doc/guix.texi:3239
  6658. 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:"
  6659. msgstr ""
  6660. #. type: example
  6661. #: guix-git/doc/guix.texi:3242
  6662. #, no-wrap
  6663. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  6664. msgstr ""
  6665. #. type: table
  6666. #: guix-git/doc/guix.texi:3247
  6667. 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."
  6668. msgstr ""
  6669. #. type: table
  6670. #: guix-git/doc/guix.texi:3252
  6671. 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:"
  6672. msgstr ""
  6673. #. type: example
  6674. #: guix-git/doc/guix.texi:3255
  6675. #, no-wrap
  6676. msgid "guix install @var{package}\n"
  6677. msgstr ""
  6678. #. type: item
  6679. #: guix-git/doc/guix.texi:3257
  6680. #, no-wrap
  6681. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  6682. msgstr ""
  6683. #. type: table
  6684. #: guix-git/doc/guix.texi:3262
  6685. 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'':"
  6686. msgstr ""
  6687. #. type: example
  6688. #: guix-git/doc/guix.texi:3265
  6689. #, no-wrap
  6690. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  6691. msgstr ""
  6692. #. type: anchor{#1}
  6693. #: guix-git/doc/guix.texi:3267
  6694. #, no-wrap
  6695. msgid "profile-manifest"
  6696. msgstr ""
  6697. #. type: item
  6698. #: guix-git/doc/guix.texi:3267 guix-git/doc/guix.texi:5726
  6699. #: guix-git/doc/guix.texi:6145 guix-git/doc/guix.texi:11725
  6700. #: guix-git/doc/guix.texi:13162
  6701. #, no-wrap
  6702. msgid "--manifest=@var{file}"
  6703. msgstr ""
  6704. #. type: itemx
  6705. #: guix-git/doc/guix.texi:3268 guix-git/doc/guix.texi:5727
  6706. #: guix-git/doc/guix.texi:6146 guix-git/doc/guix.texi:11726
  6707. #, no-wrap
  6708. msgid "-m @var{file}"
  6709. msgstr ""
  6710. #. type: cindex
  6711. #: guix-git/doc/guix.texi:3269
  6712. #, no-wrap
  6713. msgid "profile declaration"
  6714. msgstr ""
  6715. #. type: cindex
  6716. #: guix-git/doc/guix.texi:3270
  6717. #, no-wrap
  6718. msgid "profile manifest"
  6719. msgstr ""
  6720. #. type: table
  6721. #: guix-git/doc/guix.texi:3274
  6722. 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."
  6723. msgstr ""
  6724. #. type: table
  6725. #: guix-git/doc/guix.texi:3280
  6726. 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."
  6727. msgstr ""
  6728. #. type: table
  6729. #: guix-git/doc/guix.texi:3284
  6730. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  6731. msgstr ""
  6732. #. type: findex
  6733. #: guix-git/doc/guix.texi:3285
  6734. #, no-wrap
  6735. msgid "packages->manifest"
  6736. msgstr ""
  6737. #. type: lisp
  6738. #: guix-git/doc/guix.texi:3288
  6739. #, no-wrap
  6740. msgid ""
  6741. "(use-package-modules guile emacs)\n"
  6742. "\n"
  6743. msgstr ""
  6744. #. type: lisp
  6745. #: guix-git/doc/guix.texi:3294
  6746. #, no-wrap
  6747. msgid ""
  6748. "(packages->manifest\n"
  6749. " (list emacs\n"
  6750. " guile-2.0\n"
  6751. " ;; Use a specific package output.\n"
  6752. " (list guile-2.0 \"debug\")))\n"
  6753. msgstr ""
  6754. #. type: findex
  6755. #: guix-git/doc/guix.texi:3296
  6756. #, no-wrap
  6757. msgid "specifications->manifest"
  6758. msgstr ""
  6759. #. type: table
  6760. #: guix-git/doc/guix.texi:3303
  6761. 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:"
  6762. msgstr ""
  6763. #. type: lisp
  6764. #: guix-git/doc/guix.texi:3307
  6765. #, no-wrap
  6766. msgid ""
  6767. "(specifications->manifest\n"
  6768. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  6769. msgstr ""
  6770. #. type: table
  6771. #: guix-git/doc/guix.texi:3311
  6772. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  6773. msgstr ""
  6774. #. type: item
  6775. #: guix-git/doc/guix.texi:3312 guix-git/doc/guix.texi:4414
  6776. #, no-wrap
  6777. msgid "--roll-back"
  6778. msgstr ""
  6779. #. type: cindex
  6780. #: guix-git/doc/guix.texi:3313 guix-git/doc/guix.texi:4415
  6781. #: guix-git/doc/guix.texi:32869
  6782. #, no-wrap
  6783. msgid "rolling back"
  6784. msgstr ""
  6785. #. type: cindex
  6786. #: guix-git/doc/guix.texi:3314 guix-git/doc/guix.texi:4416
  6787. #, no-wrap
  6788. msgid "undoing transactions"
  6789. msgstr ""
  6790. #. type: cindex
  6791. #: guix-git/doc/guix.texi:3315 guix-git/doc/guix.texi:4417
  6792. #, no-wrap
  6793. msgid "transactions, undoing"
  6794. msgstr ""
  6795. #. type: table
  6796. #: guix-git/doc/guix.texi:3318
  6797. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  6798. msgstr ""
  6799. #. type: table
  6800. #: guix-git/doc/guix.texi:3321
  6801. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  6802. msgstr ""
  6803. #. type: table
  6804. #: guix-git/doc/guix.texi:3325
  6805. 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."
  6806. msgstr ""
  6807. #. type: table
  6808. #: guix-git/doc/guix.texi:3329
  6809. 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."
  6810. msgstr ""
  6811. #. type: item
  6812. #: guix-git/doc/guix.texi:3330 guix-git/doc/guix.texi:4421
  6813. #, no-wrap
  6814. msgid "--switch-generation=@var{pattern}"
  6815. msgstr ""
  6816. #. type: itemx
  6817. #: guix-git/doc/guix.texi:3331 guix-git/doc/guix.texi:4422
  6818. #, no-wrap
  6819. msgid "-S @var{pattern}"
  6820. msgstr ""
  6821. #. type: cindex
  6822. #: guix-git/doc/guix.texi:3332 guix-git/doc/guix.texi:3562
  6823. #: guix-git/doc/guix.texi:4423 guix-git/doc/guix.texi:32827
  6824. #, no-wrap
  6825. msgid "generations"
  6826. msgstr ""
  6827. #. type: table
  6828. #: guix-git/doc/guix.texi:3334 guix-git/doc/guix.texi:4425
  6829. msgid "Switch to a particular generation defined by @var{pattern}."
  6830. msgstr ""
  6831. #. type: table
  6832. #: guix-git/doc/guix.texi:3340 guix-git/doc/guix.texi:4431
  6833. 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}."
  6834. msgstr ""
  6835. #. type: table
  6836. #: guix-git/doc/guix.texi:3345
  6837. 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."
  6838. msgstr ""
  6839. #. type: item
  6840. #: guix-git/doc/guix.texi:3346
  6841. #, no-wrap
  6842. msgid "--search-paths[=@var{kind}]"
  6843. msgstr ""
  6844. #. type: table
  6845. #: guix-git/doc/guix.texi:3352
  6846. 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."
  6847. msgstr ""
  6848. #. type: table
  6849. #: guix-git/doc/guix.texi:3360
  6850. 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."
  6851. msgstr ""
  6852. #. type: table
  6853. #: guix-git/doc/guix.texi:3363
  6854. msgid "The typical use case is to define these environment variables in the shell:"
  6855. msgstr ""
  6856. #. type: example
  6857. #: guix-git/doc/guix.texi:3366
  6858. #, no-wrap
  6859. msgid "$ eval `guix package --search-paths`\n"
  6860. msgstr ""
  6861. #. type: table
  6862. #: guix-git/doc/guix.texi:3372
  6863. 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}."
  6864. msgstr ""
  6865. #. type: table
  6866. #: guix-git/doc/guix.texi:3375
  6867. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  6868. msgstr ""
  6869. #. type: example
  6870. #: guix-git/doc/guix.texi:3380
  6871. #, no-wrap
  6872. msgid ""
  6873. "$ guix package -p foo -i guile\n"
  6874. "$ guix package -p bar -i guile-json\n"
  6875. "$ guix package -p foo -p bar --search-paths\n"
  6876. msgstr ""
  6877. #. type: table
  6878. #: guix-git/doc/guix.texi:3385
  6879. 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."
  6880. msgstr ""
  6881. #. type: cindex
  6882. #: guix-git/doc/guix.texi:3387
  6883. #, no-wrap
  6884. msgid "profile, choosing"
  6885. msgstr ""
  6886. #. type: item
  6887. #: guix-git/doc/guix.texi:3388 guix-git/doc/guix.texi:4451
  6888. #: guix-git/doc/guix.texi:4780
  6889. #, no-wrap
  6890. msgid "--profile=@var{profile}"
  6891. msgstr ""
  6892. #. type: itemx
  6893. #: guix-git/doc/guix.texi:3389 guix-git/doc/guix.texi:4452
  6894. #: guix-git/doc/guix.texi:4781
  6895. #, no-wrap
  6896. msgid "-p @var{profile}"
  6897. msgstr ""
  6898. #. type: table
  6899. #: guix-git/doc/guix.texi:3391
  6900. msgid "Use @var{profile} instead of the user's default profile."
  6901. msgstr ""
  6902. #. type: table
  6903. #: guix-git/doc/guix.texi:3396
  6904. 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:"
  6905. msgstr ""
  6906. #. type: example
  6907. #: guix-git/doc/guix.texi:3402
  6908. #, no-wrap
  6909. msgid ""
  6910. "$ guix install hello -p ~/code/my-profile\n"
  6911. "@dots{}\n"
  6912. "$ ~/code/my-profile/bin/hello\n"
  6913. "Hello, world!\n"
  6914. msgstr ""
  6915. #. type: table
  6916. #: guix-git/doc/guix.texi:3406
  6917. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  6918. msgstr ""
  6919. #. type: example
  6920. #: guix-git/doc/guix.texi:3409
  6921. #, no-wrap
  6922. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  6923. msgstr ""
  6924. #. type: item
  6925. #: guix-git/doc/guix.texi:3411
  6926. #, no-wrap
  6927. msgid "--list-profiles"
  6928. msgstr ""
  6929. #. type: table
  6930. #: guix-git/doc/guix.texi:3413
  6931. msgid "List all the user's profiles:"
  6932. msgstr ""
  6933. #. type: example
  6934. #: guix-git/doc/guix.texi:3420
  6935. #, no-wrap
  6936. msgid ""
  6937. "$ guix package --list-profiles\n"
  6938. "/home/charlie/.guix-profile\n"
  6939. "/home/charlie/code/my-profile\n"
  6940. "/home/charlie/code/devel-profile\n"
  6941. "/home/charlie/tmp/test\n"
  6942. msgstr ""
  6943. #. type: table
  6944. #: guix-git/doc/guix.texi:3423
  6945. msgid "When running as root, list all the profiles of all the users."
  6946. msgstr ""
  6947. #. type: cindex
  6948. #: guix-git/doc/guix.texi:3424
  6949. #, no-wrap
  6950. msgid "collisions, in a profile"
  6951. msgstr ""
  6952. #. type: cindex
  6953. #: guix-git/doc/guix.texi:3425
  6954. #, no-wrap
  6955. msgid "colliding packages in profiles"
  6956. msgstr ""
  6957. #. type: cindex
  6958. #: guix-git/doc/guix.texi:3426
  6959. #, no-wrap
  6960. msgid "profile collisions"
  6961. msgstr ""
  6962. #. type: item
  6963. #: guix-git/doc/guix.texi:3427
  6964. #, no-wrap
  6965. msgid "--allow-collisions"
  6966. msgstr ""
  6967. #. type: table
  6968. #: guix-git/doc/guix.texi:3429
  6969. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  6970. msgstr ""
  6971. #. type: table
  6972. #: guix-git/doc/guix.texi:3433
  6973. 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."
  6974. msgstr ""
  6975. #. type: item
  6976. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4494
  6977. #: guix-git/doc/guix.texi:6231
  6978. #, no-wrap
  6979. msgid "--bootstrap"
  6980. msgstr ""
  6981. #. type: table
  6982. #: guix-git/doc/guix.texi:3437
  6983. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  6984. msgstr ""
  6985. #. type: Plain text
  6986. #: guix-git/doc/guix.texi:3443
  6987. 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:"
  6988. msgstr ""
  6989. #. type: item
  6990. #: guix-git/doc/guix.texi:3446
  6991. #, no-wrap
  6992. msgid "--search=@var{regexp}"
  6993. msgstr ""
  6994. #. type: itemx
  6995. #: guix-git/doc/guix.texi:3447
  6996. #, no-wrap
  6997. msgid "-s @var{regexp}"
  6998. msgstr ""
  6999. #. type: anchor{#1}
  7000. #: guix-git/doc/guix.texi:3449
  7001. msgid "guix-search"
  7002. msgstr ""
  7003. #. type: cindex
  7004. #: guix-git/doc/guix.texi:3449
  7005. #, no-wrap
  7006. msgid "searching for packages"
  7007. msgstr ""
  7008. #. type: table
  7009. #: guix-git/doc/guix.texi:3455
  7010. 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})."
  7011. msgstr ""
  7012. #. type: table
  7013. #: guix-git/doc/guix.texi:3458
  7014. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7015. msgstr ""
  7016. #. type: example
  7017. #: guix-git/doc/guix.texi:3464
  7018. #, no-wrap
  7019. msgid ""
  7020. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7021. "name: jemalloc\n"
  7022. "version: 4.5.0\n"
  7023. "relevance: 6\n"
  7024. "\n"
  7025. msgstr ""
  7026. #. type: example
  7027. #: guix-git/doc/guix.texi:3468
  7028. #, no-wrap
  7029. msgid ""
  7030. "name: glibc\n"
  7031. "version: 2.25\n"
  7032. "relevance: 1\n"
  7033. "\n"
  7034. msgstr ""
  7035. #. type: example
  7036. #: guix-git/doc/guix.texi:3472
  7037. #, no-wrap
  7038. msgid ""
  7039. "name: libgc\n"
  7040. "version: 7.6.0\n"
  7041. "relevance: 1\n"
  7042. msgstr ""
  7043. #. type: table
  7044. #: guix-git/doc/guix.texi:3476
  7045. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7046. msgstr ""
  7047. #. type: example
  7048. #: guix-git/doc/guix.texi:3480
  7049. #, no-wrap
  7050. msgid ""
  7051. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7052. "name: elfutils\n"
  7053. "\n"
  7054. msgstr ""
  7055. #. type: example
  7056. #: guix-git/doc/guix.texi:3483
  7057. #, no-wrap
  7058. msgid ""
  7059. "name: gmp\n"
  7060. "@dots{}\n"
  7061. msgstr ""
  7062. #. type: table
  7063. #: guix-git/doc/guix.texi:3489
  7064. 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):"
  7065. msgstr ""
  7066. #. type: example
  7067. #: guix-git/doc/guix.texi:3494
  7068. #, no-wrap
  7069. msgid ""
  7070. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7071. "name: gnubg\n"
  7072. "@dots{}\n"
  7073. msgstr ""
  7074. #. type: table
  7075. #: guix-git/doc/guix.texi:3500
  7076. 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."
  7077. msgstr ""
  7078. #. type: table
  7079. #: guix-git/doc/guix.texi:3504
  7080. 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:"
  7081. msgstr ""
  7082. #. type: example
  7083. #: guix-git/doc/guix.texi:3508
  7084. #, no-wrap
  7085. msgid ""
  7086. "$ guix search crypto library | \\\n"
  7087. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7088. msgstr ""
  7089. #. type: table
  7090. #: guix-git/doc/guix.texi:3513
  7091. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7092. msgstr ""
  7093. #. type: item
  7094. #: guix-git/doc/guix.texi:3514
  7095. #, no-wrap
  7096. msgid "--show=@var{package}"
  7097. msgstr ""
  7098. #. type: table
  7099. #: guix-git/doc/guix.texi:3518
  7100. 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})."
  7101. msgstr ""
  7102. #. type: example
  7103. #: guix-git/doc/guix.texi:3523
  7104. #, no-wrap
  7105. msgid ""
  7106. "$ guix package --show=python | recsel -p name,version\n"
  7107. "name: python\n"
  7108. "version: 2.7.6\n"
  7109. "\n"
  7110. msgstr ""
  7111. #. type: example
  7112. #: guix-git/doc/guix.texi:3526
  7113. #, no-wrap
  7114. msgid ""
  7115. "name: python\n"
  7116. "version: 3.3.5\n"
  7117. msgstr ""
  7118. #. type: table
  7119. #: guix-git/doc/guix.texi:3530
  7120. 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):"
  7121. msgstr ""
  7122. #. type: example
  7123. #: guix-git/doc/guix.texi:3534
  7124. #, no-wrap
  7125. msgid ""
  7126. "$ guix show python@@3.4 | recsel -p name,version\n"
  7127. "name: python\n"
  7128. "version: 3.4.3\n"
  7129. msgstr ""
  7130. #. type: item
  7131. #: guix-git/doc/guix.texi:3538
  7132. #, no-wrap
  7133. msgid "--list-installed[=@var{regexp}]"
  7134. msgstr ""
  7135. #. type: itemx
  7136. #: guix-git/doc/guix.texi:3539
  7137. #, no-wrap
  7138. msgid "-I [@var{regexp}]"
  7139. msgstr ""
  7140. #. type: table
  7141. #: guix-git/doc/guix.texi:3543
  7142. 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}."
  7143. msgstr ""
  7144. #. type: table
  7145. #: guix-git/doc/guix.texi:3549
  7146. 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."
  7147. msgstr ""
  7148. #. type: item
  7149. #: guix-git/doc/guix.texi:3550
  7150. #, no-wrap
  7151. msgid "--list-available[=@var{regexp}]"
  7152. msgstr ""
  7153. #. type: itemx
  7154. #: guix-git/doc/guix.texi:3551
  7155. #, no-wrap
  7156. msgid "-A [@var{regexp}]"
  7157. msgstr ""
  7158. #. type: table
  7159. #: guix-git/doc/guix.texi:3555
  7160. 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}."
  7161. msgstr ""
  7162. #. type: table
  7163. #: guix-git/doc/guix.texi:3559
  7164. 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."
  7165. msgstr ""
  7166. #. type: item
  7167. #: guix-git/doc/guix.texi:3560 guix-git/doc/guix.texi:4407
  7168. #, no-wrap
  7169. msgid "--list-generations[=@var{pattern}]"
  7170. msgstr ""
  7171. #. type: itemx
  7172. #: guix-git/doc/guix.texi:3561 guix-git/doc/guix.texi:4408
  7173. #, no-wrap
  7174. msgid "-l [@var{pattern}]"
  7175. msgstr ""
  7176. #. type: table
  7177. #: guix-git/doc/guix.texi:3567
  7178. 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."
  7179. msgstr ""
  7180. #. type: table
  7181. #: guix-git/doc/guix.texi:3572
  7182. 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."
  7183. msgstr ""
  7184. #. type: table
  7185. #: guix-git/doc/guix.texi:3575
  7186. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7187. msgstr ""
  7188. #. type: item
  7189. #: guix-git/doc/guix.texi:3577
  7190. #, no-wrap
  7191. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7192. msgstr ""
  7193. #. type: itemize
  7194. #: guix-git/doc/guix.texi:3580
  7195. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7196. msgstr ""
  7197. #. type: itemize
  7198. #: guix-git/doc/guix.texi:3583
  7199. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7200. msgstr ""
  7201. #. type: item
  7202. #: guix-git/doc/guix.texi:3584
  7203. #, no-wrap
  7204. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7205. msgstr ""
  7206. #. type: itemize
  7207. #: guix-git/doc/guix.texi:3587
  7208. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7209. msgstr ""
  7210. #. type: itemize
  7211. #: guix-git/doc/guix.texi:3591
  7212. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7213. msgstr ""
  7214. #. type: item
  7215. #: guix-git/doc/guix.texi:3592
  7216. #, no-wrap
  7217. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7218. msgstr ""
  7219. #. type: itemize
  7220. #: guix-git/doc/guix.texi:3596
  7221. 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."
  7222. msgstr ""
  7223. #. type: item
  7224. #: guix-git/doc/guix.texi:3598 guix-git/doc/guix.texi:4432
  7225. #, no-wrap
  7226. msgid "--delete-generations[=@var{pattern}]"
  7227. msgstr ""
  7228. #. type: itemx
  7229. #: guix-git/doc/guix.texi:3599 guix-git/doc/guix.texi:4433
  7230. #, no-wrap
  7231. msgid "-d [@var{pattern}]"
  7232. msgstr ""
  7233. #. type: table
  7234. #: guix-git/doc/guix.texi:3602 guix-git/doc/guix.texi:4436
  7235. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7236. msgstr ""
  7237. #. type: table
  7238. #: guix-git/doc/guix.texi:3608 guix-git/doc/guix.texi:4442
  7239. 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."
  7240. msgstr ""
  7241. #. type: table
  7242. #: guix-git/doc/guix.texi:3611
  7243. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7244. msgstr ""
  7245. #. type: table
  7246. #: guix-git/doc/guix.texi:3614 guix-git/doc/guix.texi:4447
  7247. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7248. msgstr ""
  7249. #. type: cindex
  7250. #: guix-git/doc/guix.texi:3615
  7251. #, no-wrap
  7252. msgid "manifest, exporting"
  7253. msgstr ""
  7254. #. type: anchor{#1}
  7255. #: guix-git/doc/guix.texi:3617
  7256. msgid "export-manifest"
  7257. msgstr ""
  7258. #. type: item
  7259. #: guix-git/doc/guix.texi:3617
  7260. #, no-wrap
  7261. msgid "--export-manifest"
  7262. msgstr ""
  7263. #. type: table
  7264. #: guix-git/doc/guix.texi:3620
  7265. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7266. msgstr ""
  7267. #. type: table
  7268. #: guix-git/doc/guix.texi:3624
  7269. 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."
  7270. msgstr ""
  7271. #. type: table
  7272. #: guix-git/doc/guix.texi:3629
  7273. 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."
  7274. msgstr ""
  7275. #. type: table
  7276. #: guix-git/doc/guix.texi:3634
  7277. 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."
  7278. msgstr ""
  7279. #. type: cindex
  7280. #: guix-git/doc/guix.texi:3635
  7281. #, no-wrap
  7282. msgid "pinning, channel revisions of a profile"
  7283. msgstr ""
  7284. #. type: item
  7285. #: guix-git/doc/guix.texi:3636
  7286. #, no-wrap
  7287. msgid "--export-channels"
  7288. msgstr ""
  7289. #. type: table
  7290. #: guix-git/doc/guix.texi:3640
  7291. 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})."
  7292. msgstr ""
  7293. #. type: table
  7294. #: guix-git/doc/guix.texi:3644
  7295. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7296. msgstr ""
  7297. #. type: table
  7298. #: guix-git/doc/guix.texi:3652
  7299. 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})."
  7300. msgstr ""
  7301. #. type: table
  7302. #: guix-git/doc/guix.texi:3657
  7303. 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."
  7304. msgstr ""
  7305. #. type: Plain text
  7306. #: guix-git/doc/guix.texi:3664
  7307. 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})."
  7308. msgstr ""
  7309. #. type: cindex
  7310. #: guix-git/doc/guix.texi:3669
  7311. #, no-wrap
  7312. msgid "pre-built binaries"
  7313. msgstr ""
  7314. #. type: Plain text
  7315. #: guix-git/doc/guix.texi:3675
  7316. 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."
  7317. msgstr ""
  7318. #. type: Plain text
  7319. #: guix-git/doc/guix.texi:3680
  7320. 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."
  7321. msgstr ""
  7322. #. type: cindex
  7323. #: guix-git/doc/guix.texi:3694
  7324. #, no-wrap
  7325. msgid "build farm"
  7326. msgstr ""
  7327. #. type: Plain text
  7328. #: guix-git/doc/guix.texi:3704
  7329. msgid "The @code{@value{SUBSTITUTE-SERVER}} server is a front-end to an official build farm that builds packages from Guix continuously for some architectures, and makes them available as substitutes. This is the default source of substitutes; it 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})."
  7330. msgstr ""
  7331. #. type: Plain text
  7332. #: guix-git/doc/guix.texi:3710
  7333. 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."
  7334. msgstr ""
  7335. #. type: Plain text
  7336. #: guix-git/doc/guix.texi:3719
  7337. msgid "Substitutes from the official build farm 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."
  7338. msgstr ""
  7339. #. type: cindex
  7340. #: guix-git/doc/guix.texi:3723
  7341. #, no-wrap
  7342. msgid "security"
  7343. msgstr ""
  7344. #. type: cindex
  7345. #: guix-git/doc/guix.texi:3725
  7346. #, no-wrap
  7347. msgid "access control list (ACL), for substitutes"
  7348. msgstr ""
  7349. #. type: cindex
  7350. #: guix-git/doc/guix.texi:3726
  7351. #, no-wrap
  7352. msgid "ACL (access control list), for substitutes"
  7353. msgstr ""
  7354. #. type: Plain text
  7355. #: guix-git/doc/guix.texi:3733
  7356. msgid "To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER}} or a mirror thereof, you must add its 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 @code{@value{SUBSTITUTE-SERVER}} to not be compromised and to serve genuine substitutes."
  7357. msgstr ""
  7358. #. type: quotation
  7359. #: guix-git/doc/guix.texi:3737
  7360. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER}} by default."
  7361. msgstr ""
  7362. #. type: Plain text
  7363. #: guix-git/doc/guix.texi:3745
  7364. msgid "The public key for @code{@value{SUBSTITUTE-SERVER}} is installed along with Guix, in @code{@var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub}, 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:"
  7365. msgstr ""
  7366. #. type: example
  7367. #: guix-git/doc/guix.texi:3748
  7368. #, no-wrap
  7369. msgid "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub\n"
  7370. msgstr ""
  7371. #. type: Plain text
  7372. #: guix-git/doc/guix.texi:3752
  7373. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  7374. msgstr ""
  7375. #. type: example
  7376. #: guix-git/doc/guix.texi:3761
  7377. #, no-wrap
  7378. msgid ""
  7379. "$ guix build emacs --dry-run\n"
  7380. "The following derivations would be built:\n"
  7381. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  7382. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  7383. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  7384. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  7385. "@dots{}\n"
  7386. msgstr ""
  7387. #. type: Plain text
  7388. #: guix-git/doc/guix.texi:3765
  7389. msgid "to something like:"
  7390. msgstr ""
  7391. #. type: example
  7392. #: guix-git/doc/guix.texi:3774
  7393. #, no-wrap
  7394. msgid ""
  7395. "$ guix build emacs --dry-run\n"
  7396. "112.3 MB would be downloaded:\n"
  7397. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  7398. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  7399. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  7400. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  7401. "@dots{}\n"
  7402. msgstr ""
  7403. #. type: Plain text
  7404. #: guix-git/doc/guix.texi:3781
  7405. msgid "The text changed from ``The following derivations would be built'' to ``112.3 MB would be downloaded''. This indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are usable and will be downloaded, when possible, for future builds."
  7406. msgstr ""
  7407. #. type: cindex
  7408. #: guix-git/doc/guix.texi:3782
  7409. #, no-wrap
  7410. msgid "substitutes, how to disable"
  7411. msgstr ""
  7412. #. type: Plain text
  7413. #: guix-git/doc/guix.texi:3788
  7414. 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."
  7415. msgstr ""
  7416. #. type: cindex
  7417. #: guix-git/doc/guix.texi:3792
  7418. #, no-wrap
  7419. msgid "substitute servers, adding more"
  7420. msgstr ""
  7421. #. type: Plain text
  7422. #: guix-git/doc/guix.texi:3799
  7423. 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."
  7424. msgstr ""
  7425. #. type: Plain text
  7426. #: guix-git/doc/guix.texi:3804
  7427. 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."
  7428. msgstr ""
  7429. #. type: Plain text
  7430. #: guix-git/doc/guix.texi:3811
  7431. 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}})."
  7432. msgstr ""
  7433. #. type: Plain text
  7434. #: guix-git/doc/guix.texi:3816
  7435. 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}}. The resulting operating system configuration will look something like:"
  7436. msgstr ""
  7437. #. type: lisp
  7438. #: guix-git/doc/guix.texi:3833
  7439. #, no-wrap
  7440. msgid ""
  7441. "(operating-system\n"
  7442. " ;; @dots{}\n"
  7443. " (services\n"
  7444. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  7445. " ;; with the list of services you're actually using.\n"
  7446. " (modify-services %desktop-services\n"
  7447. " (guix-service-type config =>\n"
  7448. " (guix-configuration\n"
  7449. " (inherit config)\n"
  7450. " (substitute-urls\n"
  7451. " (append (list \"https://guix.example.org\")\n"
  7452. " %default-substitute-urls))\n"
  7453. " (authorized-keys\n"
  7454. " (append (list (local-file \"./key.pub\"))\n"
  7455. " %default-authorized-guix-keys)))))))\n"
  7456. msgstr ""
  7457. #. type: Plain text
  7458. #: guix-git/doc/guix.texi:3840
  7459. 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:"
  7460. msgstr ""
  7461. #. type: example
  7462. #: guix-git/doc/guix.texi:3844
  7463. #, no-wrap
  7464. msgid ""
  7465. "$ sudo guix system reconfigure /etc/config.scm\n"
  7466. "$ sudo herd restart guix-daemon\n"
  7467. msgstr ""
  7468. #. type: Plain text
  7469. #: guix-git/doc/guix.texi:3848
  7470. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  7471. msgstr ""
  7472. #. type: enumerate
  7473. #: guix-git/doc/guix.texi:3857
  7474. 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}}):"
  7475. msgstr ""
  7476. #. type: example
  7477. #: guix-git/doc/guix.texi:3860
  7478. #, no-wrap
  7479. msgid "@dots{} --substitute-urls='https://guix.example.org https://@value{SUBSTITUTE-SERVER}'\n"
  7480. msgstr ""
  7481. #. type: enumerate
  7482. #: guix-git/doc/guix.texi:3864
  7483. msgid "Restart the daemon. For systemd, it goes like this:"
  7484. msgstr ""
  7485. #. type: example
  7486. #: guix-git/doc/guix.texi:3868
  7487. #, no-wrap
  7488. msgid ""
  7489. "systemctl daemon-reload\n"
  7490. "systemctl restart guix-daemon.service\n"
  7491. msgstr ""
  7492. #. type: enumerate
  7493. #: guix-git/doc/guix.texi:3872
  7494. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  7495. msgstr ""
  7496. #. type: example
  7497. #: guix-git/doc/guix.texi:3875
  7498. #, no-wrap
  7499. msgid "guix archive --authorize < key.pub\n"
  7500. msgstr ""
  7501. #. type: enumerate
  7502. #: guix-git/doc/guix.texi:3879
  7503. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  7504. msgstr ""
  7505. #. type: Plain text
  7506. #: guix-git/doc/guix.texi:3886
  7507. msgid "Now you're all set! Substitutes will be preferably taken from @code{https://guix.example.org}, using @code{@value{SUBSTITUTE-SERVER}} as a fallback. 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."
  7508. msgstr ""
  7509. #. type: Plain text
  7510. #: guix-git/doc/guix.texi:3890
  7511. 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."
  7512. msgstr ""
  7513. #. type: cindex
  7514. #: guix-git/doc/guix.texi:3894
  7515. #, no-wrap
  7516. msgid "digital signatures"
  7517. msgstr ""
  7518. #. type: Plain text
  7519. #: guix-git/doc/guix.texi:3898
  7520. 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."
  7521. msgstr ""
  7522. #. type: Plain text
  7523. #: guix-git/doc/guix.texi:3904
  7524. 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:"
  7525. msgstr ""
  7526. #. type: example
  7527. #: guix-git/doc/guix.texi:3907
  7528. #, no-wrap
  7529. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  7530. msgstr ""
  7531. #. type: Plain text
  7532. #: guix-git/doc/guix.texi:3918
  7533. 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)."
  7534. msgstr ""
  7535. #. type: Plain text
  7536. #: guix-git/doc/guix.texi:3925
  7537. 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)."
  7538. msgstr ""
  7539. #. type: Plain text
  7540. #: guix-git/doc/guix.texi:3937
  7541. 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}."
  7542. msgstr ""
  7543. #. type: Plain text
  7544. #: guix-git/doc/guix.texi:3946
  7545. 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."
  7546. msgstr ""
  7547. #. type: Plain text
  7548. #: guix-git/doc/guix.texi:3960
  7549. 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."
  7550. msgstr ""
  7551. #. type: Plain text
  7552. #: guix-git/doc/guix.texi:3965
  7553. 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."
  7554. msgstr ""
  7555. #. type: cindex
  7556. #: guix-git/doc/guix.texi:3969
  7557. #, no-wrap
  7558. msgid "trust, of pre-built binaries"
  7559. msgstr ""
  7560. #. type: Plain text
  7561. #: guix-git/doc/guix.texi:3979
  7562. 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 @code{@value{SUBSTITUTE-SERVER}} substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that @code{@value{SUBSTITUTE-SERVER}} is 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})."
  7563. msgstr ""
  7564. #. type: Plain text
  7565. #: guix-git/doc/guix.texi:3991
  7566. 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}})."
  7567. msgstr ""
  7568. #. type: Plain text
  7569. #: guix-git/doc/guix.texi:3995
  7570. 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}."
  7571. msgstr ""
  7572. #. type: cindex
  7573. #: guix-git/doc/guix.texi:3999
  7574. #, no-wrap
  7575. msgid "multiple-output packages"
  7576. msgstr ""
  7577. #. type: cindex
  7578. #: guix-git/doc/guix.texi:4000
  7579. #, no-wrap
  7580. msgid "package outputs"
  7581. msgstr ""
  7582. #. type: cindex
  7583. #: guix-git/doc/guix.texi:4001
  7584. #, no-wrap
  7585. msgid "outputs"
  7586. msgstr ""
  7587. #. type: Plain text
  7588. #: guix-git/doc/guix.texi:4011
  7589. 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."
  7590. msgstr ""
  7591. #. type: Plain text
  7592. #: guix-git/doc/guix.texi:4019
  7593. 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:"
  7594. msgstr ""
  7595. #. type: example
  7596. #: guix-git/doc/guix.texi:4022
  7597. #, no-wrap
  7598. msgid "guix install glib\n"
  7599. msgstr ""
  7600. #. type: item
  7601. #: guix-git/doc/guix.texi:4024 guix-git/doc/guix.texi:34192
  7602. #: guix-git/doc/guix.texi:34249
  7603. #, no-wrap
  7604. msgid "documentation"
  7605. msgstr ""
  7606. #. type: Plain text
  7607. #: guix-git/doc/guix.texi:4026
  7608. msgid "The command to install its documentation is:"
  7609. msgstr ""
  7610. #. type: example
  7611. #: guix-git/doc/guix.texi:4029
  7612. #, no-wrap
  7613. msgid "guix install glib:doc\n"
  7614. msgstr ""
  7615. #. type: Plain text
  7616. #: guix-git/doc/guix.texi:4040
  7617. 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})."
  7618. msgstr ""
  7619. #. type: Plain text
  7620. #: guix-git/doc/guix.texi:4048
  7621. 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})."
  7622. msgstr ""
  7623. #. type: section
  7624. #: guix-git/doc/guix.texi:4051
  7625. #, no-wrap
  7626. msgid "Invoking @command{guix gc}"
  7627. msgstr ""
  7628. #. type: cindex
  7629. #: guix-git/doc/guix.texi:4053
  7630. #, no-wrap
  7631. msgid "garbage collector"
  7632. msgstr ""
  7633. #. type: cindex
  7634. #: guix-git/doc/guix.texi:4054
  7635. #, no-wrap
  7636. msgid "disk space"
  7637. msgstr ""
  7638. #. type: Plain text
  7639. #: guix-git/doc/guix.texi:4060
  7640. 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!"
  7641. msgstr ""
  7642. #. type: Plain text
  7643. #: guix-git/doc/guix.texi:4071
  7644. 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."
  7645. msgstr ""
  7646. #. type: Plain text
  7647. #: guix-git/doc/guix.texi:4077
  7648. 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})."
  7649. msgstr ""
  7650. #. type: Plain text
  7651. #: guix-git/doc/guix.texi:4081
  7652. 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:"
  7653. msgstr ""
  7654. #. type: example
  7655. #: guix-git/doc/guix.texi:4084
  7656. #, no-wrap
  7657. msgid "guix gc -F 5G\n"
  7658. msgstr ""
  7659. #. type: Plain text
  7660. #: guix-git/doc/guix.texi:4093
  7661. 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."
  7662. msgstr ""
  7663. #. type: Plain text
  7664. #: guix-git/doc/guix.texi:4099
  7665. 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:"
  7666. msgstr ""
  7667. #. type: item
  7668. #: guix-git/doc/guix.texi:4101
  7669. #, no-wrap
  7670. msgid "--collect-garbage[=@var{min}]"
  7671. msgstr ""
  7672. #. type: itemx
  7673. #: guix-git/doc/guix.texi:4102
  7674. #, no-wrap
  7675. msgid "-C [@var{min}]"
  7676. msgstr ""
  7677. #. type: table
  7678. #: guix-git/doc/guix.texi:4106
  7679. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  7680. msgstr ""
  7681. #. type: table
  7682. #: guix-git/doc/guix.texi:4111
  7683. 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})."
  7684. msgstr ""
  7685. #. type: table
  7686. #: guix-git/doc/guix.texi:4113
  7687. msgid "When @var{min} is omitted, collect all the garbage."
  7688. msgstr ""
  7689. #. type: item
  7690. #: guix-git/doc/guix.texi:4114
  7691. #, no-wrap
  7692. msgid "--free-space=@var{free}"
  7693. msgstr ""
  7694. #. type: itemx
  7695. #: guix-git/doc/guix.texi:4115
  7696. #, no-wrap
  7697. msgid "-F @var{free}"
  7698. msgstr ""
  7699. #. type: table
  7700. #: guix-git/doc/guix.texi:4119
  7701. 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."
  7702. msgstr ""
  7703. #. type: table
  7704. #: guix-git/doc/guix.texi:4122
  7705. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  7706. msgstr ""
  7707. #. type: item
  7708. #: guix-git/doc/guix.texi:4123
  7709. #, no-wrap
  7710. msgid "--delete-generations[=@var{duration}]"
  7711. msgstr ""
  7712. #. type: itemx
  7713. #: guix-git/doc/guix.texi:4124
  7714. #, no-wrap
  7715. msgid "-d [@var{duration}]"
  7716. msgstr ""
  7717. #. type: table
  7718. #: guix-git/doc/guix.texi:4128
  7719. 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}."
  7720. msgstr ""
  7721. #. type: table
  7722. #: guix-git/doc/guix.texi:4132
  7723. 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:"
  7724. msgstr ""
  7725. #. type: example
  7726. #: guix-git/doc/guix.texi:4135
  7727. #, no-wrap
  7728. msgid "guix gc -d 2m -F 10G\n"
  7729. msgstr ""
  7730. #. type: item
  7731. #: guix-git/doc/guix.texi:4137
  7732. #, no-wrap
  7733. msgid "--delete"
  7734. msgstr ""
  7735. #. type: itemx
  7736. #: guix-git/doc/guix.texi:4138
  7737. #, no-wrap
  7738. msgid "-D"
  7739. msgstr ""
  7740. #. type: table
  7741. #: guix-git/doc/guix.texi:4142
  7742. 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."
  7743. msgstr ""
  7744. #. type: item
  7745. #: guix-git/doc/guix.texi:4143
  7746. #, no-wrap
  7747. msgid "--list-failures"
  7748. msgstr ""
  7749. #. type: table
  7750. #: guix-git/doc/guix.texi:4145
  7751. msgid "List store items corresponding to cached build failures."
  7752. msgstr ""
  7753. #. type: table
  7754. #: guix-git/doc/guix.texi:4149
  7755. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  7756. msgstr ""
  7757. #. type: item
  7758. #: guix-git/doc/guix.texi:4150
  7759. #, no-wrap
  7760. msgid "--list-roots"
  7761. msgstr ""
  7762. #. type: table
  7763. #: guix-git/doc/guix.texi:4153
  7764. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  7765. msgstr ""
  7766. #. type: item
  7767. #: guix-git/doc/guix.texi:4154
  7768. #, no-wrap
  7769. msgid "--list-busy"
  7770. msgstr ""
  7771. #. type: table
  7772. #: guix-git/doc/guix.texi:4157
  7773. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  7774. msgstr ""
  7775. #. type: item
  7776. #: guix-git/doc/guix.texi:4158
  7777. #, no-wrap
  7778. msgid "--clear-failures"
  7779. msgstr ""
  7780. #. type: table
  7781. #: guix-git/doc/guix.texi:4160
  7782. msgid "Remove the specified store items from the failed-build cache."
  7783. msgstr ""
  7784. #. type: table
  7785. #: guix-git/doc/guix.texi:4163
  7786. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  7787. msgstr ""
  7788. #. type: item
  7789. #: guix-git/doc/guix.texi:4164
  7790. #, no-wrap
  7791. msgid "--list-dead"
  7792. msgstr ""
  7793. #. type: table
  7794. #: guix-git/doc/guix.texi:4167
  7795. 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."
  7796. msgstr ""
  7797. #. type: item
  7798. #: guix-git/doc/guix.texi:4168
  7799. #, no-wrap
  7800. msgid "--list-live"
  7801. msgstr ""
  7802. #. type: table
  7803. #: guix-git/doc/guix.texi:4170
  7804. msgid "Show the list of live store files and directories."
  7805. msgstr ""
  7806. #. type: Plain text
  7807. #: guix-git/doc/guix.texi:4174
  7808. msgid "In addition, the references among existing store files can be queried:"
  7809. msgstr ""
  7810. #. type: item
  7811. #: guix-git/doc/guix.texi:4177
  7812. #, no-wrap
  7813. msgid "--references"
  7814. msgstr ""
  7815. #. type: itemx
  7816. #: guix-git/doc/guix.texi:4178
  7817. #, no-wrap
  7818. msgid "--referrers"
  7819. msgstr ""
  7820. #. type: cindex
  7821. #: guix-git/doc/guix.texi:4179 guix-git/doc/guix.texi:12256
  7822. #, no-wrap
  7823. msgid "package dependencies"
  7824. msgstr ""
  7825. #. type: table
  7826. #: guix-git/doc/guix.texi:4182
  7827. msgid "List the references (respectively, the referrers) of store files given as arguments."
  7828. msgstr ""
  7829. #. type: item
  7830. #: guix-git/doc/guix.texi:4183
  7831. #, no-wrap
  7832. msgid "--requisites"
  7833. msgstr ""
  7834. #. type: itemx
  7835. #: guix-git/doc/guix.texi:4184 guix-git/doc/guix.texi:6031
  7836. #, no-wrap
  7837. msgid "-R"
  7838. msgstr ""
  7839. #. type: item
  7840. #: guix-git/doc/guix.texi:4185 guix-git/doc/guix.texi:12112
  7841. #: guix-git/doc/guix.texi:12140 guix-git/doc/guix.texi:12221
  7842. #, no-wrap
  7843. msgid "closure"
  7844. msgstr ""
  7845. #. type: table
  7846. #: guix-git/doc/guix.texi:4190
  7847. 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."
  7848. msgstr ""
  7849. #. type: table
  7850. #: guix-git/doc/guix.texi:4194
  7851. 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."
  7852. msgstr ""
  7853. #. type: item
  7854. #: guix-git/doc/guix.texi:4195
  7855. #, no-wrap
  7856. msgid "--derivers"
  7857. msgstr ""
  7858. #. type: item
  7859. #: guix-git/doc/guix.texi:4196 guix-git/doc/guix.texi:6345
  7860. #: guix-git/doc/guix.texi:11975 guix-git/doc/guix.texi:12365
  7861. #, no-wrap
  7862. msgid "derivation"
  7863. msgstr ""
  7864. #. type: table
  7865. #: guix-git/doc/guix.texi:4199
  7866. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  7867. msgstr ""
  7868. #. type: table
  7869. #: guix-git/doc/guix.texi:4201
  7870. msgid "For example, this command:"
  7871. msgstr ""
  7872. #. type: example
  7873. #: guix-git/doc/guix.texi:4204
  7874. #, no-wrap
  7875. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  7876. msgstr ""
  7877. #. type: table
  7878. #: guix-git/doc/guix.texi:4209
  7879. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  7880. msgstr ""
  7881. #. type: table
  7882. #: guix-git/doc/guix.texi:4213
  7883. 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."
  7884. msgstr ""
  7885. #. type: Plain text
  7886. #: guix-git/doc/guix.texi:4217
  7887. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  7888. msgstr ""
  7889. #. type: item
  7890. #: guix-git/doc/guix.texi:4220
  7891. #, no-wrap
  7892. msgid "--verify[=@var{options}]"
  7893. msgstr ""
  7894. #. type: cindex
  7895. #: guix-git/doc/guix.texi:4221
  7896. #, no-wrap
  7897. msgid "integrity, of the store"
  7898. msgstr ""
  7899. #. type: cindex
  7900. #: guix-git/doc/guix.texi:4222
  7901. #, no-wrap
  7902. msgid "integrity checking"
  7903. msgstr ""
  7904. #. type: table
  7905. #: guix-git/doc/guix.texi:4224
  7906. msgid "Verify the integrity of the store."
  7907. msgstr ""
  7908. #. type: table
  7909. #: guix-git/doc/guix.texi:4227
  7910. 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}."
  7911. msgstr ""
  7912. #. type: table
  7913. #: guix-git/doc/guix.texi:4230
  7914. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  7915. msgstr ""
  7916. #. type: table
  7917. #: guix-git/doc/guix.texi:4236
  7918. 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."
  7919. msgstr ""
  7920. #. type: cindex
  7921. #: guix-git/doc/guix.texi:4237
  7922. #, no-wrap
  7923. msgid "repairing the store"
  7924. msgstr ""
  7925. #. type: cindex
  7926. #: guix-git/doc/guix.texi:4238 guix-git/doc/guix.texi:10852
  7927. #, no-wrap
  7928. msgid "corruption, recovering from"
  7929. msgstr ""
  7930. #. type: table
  7931. #: guix-git/doc/guix.texi:4246
  7932. 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})."
  7933. msgstr ""
  7934. #. type: item
  7935. #: guix-git/doc/guix.texi:4247
  7936. #, no-wrap
  7937. msgid "--optimize"
  7938. msgstr ""
  7939. #. type: table
  7940. #: guix-git/doc/guix.texi:4251
  7941. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  7942. msgstr ""
  7943. #. type: table
  7944. #: guix-git/doc/guix.texi:4257
  7945. 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}."
  7946. msgstr ""
  7947. #. type: section
  7948. #: guix-git/doc/guix.texi:4261
  7949. #, no-wrap
  7950. msgid "Invoking @command{guix pull}"
  7951. msgstr ""
  7952. #. type: cindex
  7953. #: guix-git/doc/guix.texi:4263
  7954. #, no-wrap
  7955. msgid "upgrading Guix"
  7956. msgstr ""
  7957. #. type: cindex
  7958. #: guix-git/doc/guix.texi:4264
  7959. #, no-wrap
  7960. msgid "updating Guix"
  7961. msgstr ""
  7962. #. type: command{#1}
  7963. #: guix-git/doc/guix.texi:4265
  7964. #, no-wrap
  7965. msgid "guix pull"
  7966. msgstr ""
  7967. #. type: cindex
  7968. #: guix-git/doc/guix.texi:4266
  7969. #, no-wrap
  7970. msgid "pull"
  7971. msgstr ""
  7972. #. type: cindex
  7973. #: guix-git/doc/guix.texi:4267
  7974. #, no-wrap
  7975. msgid "security, @command{guix pull}"
  7976. msgstr ""
  7977. #. type: cindex
  7978. #: guix-git/doc/guix.texi:4268
  7979. #, no-wrap
  7980. msgid "authenticity, of code obtained with @command{guix pull}"
  7981. msgstr ""
  7982. #. type: Plain text
  7983. #: guix-git/doc/guix.texi:4278
  7984. 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."
  7985. msgstr ""
  7986. #. type: Plain text
  7987. #: guix-git/doc/guix.texi:4281
  7988. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  7989. msgstr ""
  7990. #. type: enumerate
  7991. #: guix-git/doc/guix.texi:4285
  7992. msgid "the @option{--channels} option;"
  7993. msgstr ""
  7994. #. type: enumerate
  7995. #: guix-git/doc/guix.texi:4287
  7996. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  7997. msgstr ""
  7998. #. type: enumerate
  7999. #: guix-git/doc/guix.texi:4289
  8000. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8001. msgstr ""
  8002. #. type: enumerate
  8003. #: guix-git/doc/guix.texi:4292
  8004. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8005. msgstr ""
  8006. #. type: Plain text
  8007. #: guix-git/doc/guix.texi:4299
  8008. 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."
  8009. msgstr ""
  8010. #. type: Plain text
  8011. #: guix-git/doc/guix.texi:4305
  8012. 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."
  8013. msgstr ""
  8014. #. type: Plain text
  8015. #: guix-git/doc/guix.texi:4311
  8016. 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}):"
  8017. msgstr ""
  8018. #. type: example
  8019. #: guix-git/doc/guix.texi:4315
  8020. #, no-wrap
  8021. msgid ""
  8022. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8023. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8024. msgstr ""
  8025. #. type: Plain text
  8026. #: guix-git/doc/guix.texi:4319
  8027. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8028. msgstr ""
  8029. #. type: example
  8030. #: guix-git/doc/guix.texi:4327
  8031. #, no-wrap
  8032. msgid ""
  8033. "$ guix pull -l\n"
  8034. "Generation 1\tJun 10 2018 00:18:18\n"
  8035. " guix 65956ad\n"
  8036. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8037. " branch: origin/master\n"
  8038. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8039. "\n"
  8040. msgstr ""
  8041. #. type: example
  8042. #: guix-git/doc/guix.texi:4337
  8043. #, no-wrap
  8044. msgid ""
  8045. "Generation 2\tJun 11 2018 11:02:49\n"
  8046. " guix e0cc7f6\n"
  8047. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8048. " branch: origin/master\n"
  8049. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8050. " 2 new packages: keepalived, libnfnetlink\n"
  8051. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8052. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8053. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8054. "\n"
  8055. msgstr ""
  8056. #. type: example
  8057. #: guix-git/doc/guix.texi:4345
  8058. #, no-wrap
  8059. msgid ""
  8060. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8061. " guix 844cc1c\n"
  8062. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8063. " branch: origin/master\n"
  8064. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8065. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8066. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8067. msgstr ""
  8068. #. type: Plain text
  8069. #: guix-git/doc/guix.texi:4349
  8070. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8071. msgstr ""
  8072. #. type: Plain text
  8073. #: guix-git/doc/guix.texi:4354
  8074. 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:"
  8075. msgstr ""
  8076. #. type: example
  8077. #: guix-git/doc/guix.texi:4360
  8078. #, no-wrap
  8079. msgid ""
  8080. "$ guix pull --roll-back\n"
  8081. "switched from generation 3 to 2\n"
  8082. "$ guix pull --delete-generations=1\n"
  8083. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8084. msgstr ""
  8085. #. type: Plain text
  8086. #: guix-git/doc/guix.texi:4364
  8087. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8088. msgstr ""
  8089. #. type: example
  8090. #: guix-git/doc/guix.texi:4369
  8091. #, no-wrap
  8092. msgid ""
  8093. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8094. "switched from generation 3 to 2\n"
  8095. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8096. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8097. msgstr ""
  8098. #. type: Plain text
  8099. #: guix-git/doc/guix.texi:4373
  8100. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8101. msgstr ""
  8102. #. type: item
  8103. #: guix-git/doc/guix.texi:4375 guix-git/doc/guix.texi:4533
  8104. #, no-wrap
  8105. msgid "--url=@var{url}"
  8106. msgstr ""
  8107. #. type: itemx
  8108. #: guix-git/doc/guix.texi:4376 guix-git/doc/guix.texi:4534
  8109. #, no-wrap
  8110. msgid "--commit=@var{commit}"
  8111. msgstr ""
  8112. #. type: itemx
  8113. #: guix-git/doc/guix.texi:4377 guix-git/doc/guix.texi:4535
  8114. #, no-wrap
  8115. msgid "--branch=@var{branch}"
  8116. msgstr ""
  8117. #. type: table
  8118. #: guix-git/doc/guix.texi:4381
  8119. 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}."
  8120. msgstr ""
  8121. #. type: cindex
  8122. #: guix-git/doc/guix.texi:4382 guix-git/doc/guix.texi:4979
  8123. #, no-wrap
  8124. msgid "@file{channels.scm}, configuration file"
  8125. msgstr ""
  8126. #. type: cindex
  8127. #: guix-git/doc/guix.texi:4383 guix-git/doc/guix.texi:4980
  8128. #, no-wrap
  8129. msgid "configuration file for channels"
  8130. msgstr ""
  8131. #. type: table
  8132. #: guix-git/doc/guix.texi:4387
  8133. 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)."
  8134. msgstr ""
  8135. #. type: item
  8136. #: guix-git/doc/guix.texi:4388 guix-git/doc/guix.texi:4540
  8137. #, no-wrap
  8138. msgid "--channels=@var{file}"
  8139. msgstr ""
  8140. #. type: itemx
  8141. #: guix-git/doc/guix.texi:4389 guix-git/doc/guix.texi:4541
  8142. #, no-wrap
  8143. msgid "-C @var{file}"
  8144. msgstr ""
  8145. #. type: table
  8146. #: guix-git/doc/guix.texi:4395
  8147. 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."
  8148. msgstr ""
  8149. #. type: cindex
  8150. #: guix-git/doc/guix.texi:4396
  8151. #, no-wrap
  8152. msgid "channel news"
  8153. msgstr ""
  8154. #. type: item
  8155. #: guix-git/doc/guix.texi:4397
  8156. #, no-wrap
  8157. msgid "--news"
  8158. msgstr ""
  8159. #. type: itemx
  8160. #: guix-git/doc/guix.texi:4398 guix-git/doc/guix.texi:5806
  8161. #: guix-git/doc/guix.texi:33161
  8162. #, no-wrap
  8163. msgid "-N"
  8164. msgstr ""
  8165. #. type: table
  8166. #: guix-git/doc/guix.texi:4402
  8167. msgid "Display the list of packages added or upgraded since the previous generation, as well as, occasionally, news written by channel authors for their users (@pxref{Channels, Writing Channel News})."
  8168. msgstr ""
  8169. #. type: table
  8170. #: guix-git/doc/guix.texi:4406
  8171. msgid "The package information is the same as displayed upon @command{guix pull} completion, but without ellipses; it is also similar to the output of @command{guix pull -l} for the last generation (see below)."
  8172. msgstr ""
  8173. #. type: table
  8174. #: guix-git/doc/guix.texi:4413
  8175. 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})."
  8176. msgstr ""
  8177. #. type: table
  8178. #: guix-git/doc/guix.texi:4420
  8179. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8180. msgstr ""
  8181. #. type: table
  8182. #: guix-git/doc/guix.texi:4444
  8183. msgid "If the current generation matches, it is @emph{not} deleted."
  8184. msgstr ""
  8185. #. type: table
  8186. #: guix-git/doc/guix.texi:4450
  8187. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8188. msgstr ""
  8189. #. type: table
  8190. #: guix-git/doc/guix.texi:4454
  8191. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8192. msgstr ""
  8193. #. type: item
  8194. #: guix-git/doc/guix.texi:4455 guix-git/doc/guix.texi:10243
  8195. #, no-wrap
  8196. msgid "--dry-run"
  8197. msgstr ""
  8198. #. type: itemx
  8199. #: guix-git/doc/guix.texi:4456 guix-git/doc/guix.texi:10244
  8200. #: guix-git/doc/guix.texi:12094
  8201. #, no-wrap
  8202. msgid "-n"
  8203. msgstr ""
  8204. #. type: table
  8205. #: guix-git/doc/guix.texi:4459
  8206. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8207. msgstr ""
  8208. #. type: item
  8209. #: guix-git/doc/guix.texi:4460 guix-git/doc/guix.texi:33180
  8210. #, no-wrap
  8211. msgid "--allow-downgrades"
  8212. msgstr ""
  8213. #. type: table
  8214. #: guix-git/doc/guix.texi:4463
  8215. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8216. msgstr ""
  8217. #. type: cindex
  8218. #: guix-git/doc/guix.texi:4464
  8219. #, no-wrap
  8220. msgid "downgrade attacks, protection against"
  8221. msgstr ""
  8222. #. type: table
  8223. #: guix-git/doc/guix.texi:4469
  8224. 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."
  8225. msgstr ""
  8226. #. type: quotation
  8227. #: guix-git/doc/guix.texi:4473 guix-git/doc/guix.texi:33194
  8228. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8229. msgstr ""
  8230. #. type: item
  8231. #: guix-git/doc/guix.texi:4475
  8232. #, no-wrap
  8233. msgid "--disable-authentication"
  8234. msgstr ""
  8235. #. type: table
  8236. #: guix-git/doc/guix.texi:4477
  8237. msgid "Allow pulling channel code without authenticating it."
  8238. msgstr ""
  8239. #. type: cindex
  8240. #: guix-git/doc/guix.texi:4478 guix-git/doc/guix.texi:5125
  8241. #, no-wrap
  8242. msgid "authentication, of channel code"
  8243. msgstr ""
  8244. #. type: table
  8245. #: guix-git/doc/guix.texi:4483
  8246. 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."
  8247. msgstr ""
  8248. #. type: quotation
  8249. #: guix-git/doc/guix.texi:4487
  8250. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8251. msgstr ""
  8252. #. type: itemx
  8253. #: guix-git/doc/guix.texi:4490 guix-git/doc/guix.texi:5789
  8254. #: guix-git/doc/guix.texi:6160 guix-git/doc/guix.texi:10794
  8255. #: guix-git/doc/guix.texi:12239 guix-git/doc/guix.texi:12490
  8256. #: guix-git/doc/guix.texi:13157 guix-git/doc/guix.texi:33109
  8257. #, no-wrap
  8258. msgid "-s @var{system}"
  8259. msgstr ""
  8260. #. type: table
  8261. #: guix-git/doc/guix.texi:4493 guix-git/doc/guix.texi:6163
  8262. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8263. msgstr ""
  8264. #. type: table
  8265. #: guix-git/doc/guix.texi:4497
  8266. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8267. msgstr ""
  8268. #. type: Plain text
  8269. #: guix-git/doc/guix.texi:4503
  8270. 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."
  8271. msgstr ""
  8272. #. type: Plain text
  8273. #: guix-git/doc/guix.texi:4506
  8274. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8275. msgstr ""
  8276. #. type: section
  8277. #: guix-git/doc/guix.texi:4508
  8278. #, no-wrap
  8279. msgid "Invoking @command{guix time-machine}"
  8280. msgstr ""
  8281. #. type: command{#1}
  8282. #: guix-git/doc/guix.texi:4510
  8283. #, no-wrap
  8284. msgid "guix time-machine"
  8285. msgstr ""
  8286. #. type: cindex
  8287. #: guix-git/doc/guix.texi:4511 guix-git/doc/guix.texi:5083
  8288. #, no-wrap
  8289. msgid "pinning, channels"
  8290. msgstr ""
  8291. #. type: cindex
  8292. #: guix-git/doc/guix.texi:4512 guix-git/doc/guix.texi:4694
  8293. #: guix-git/doc/guix.texi:5084
  8294. #, no-wrap
  8295. msgid "replicating Guix"
  8296. msgstr ""
  8297. #. type: cindex
  8298. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:5085
  8299. #, no-wrap
  8300. msgid "reproducibility, of Guix"
  8301. msgstr ""
  8302. #. type: Plain text
  8303. #: guix-git/doc/guix.texi:4521
  8304. 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})."
  8305. msgstr ""
  8306. #. type: Plain text
  8307. #: guix-git/doc/guix.texi:4523 guix-git/doc/guix.texi:5538
  8308. #: guix-git/doc/guix.texi:6283 guix-git/doc/guix.texi:10040
  8309. #: guix-git/doc/guix.texi:10163 guix-git/doc/guix.texi:11085
  8310. #: guix-git/doc/guix.texi:11162 guix-git/doc/guix.texi:12069
  8311. #: guix-git/doc/guix.texi:12548 guix-git/doc/guix.texi:12911
  8312. #: guix-git/doc/guix.texi:13000 guix-git/doc/guix.texi:13039
  8313. #: guix-git/doc/guix.texi:13136
  8314. msgid "The general syntax is:"
  8315. msgstr ""
  8316. #. type: example
  8317. #: guix-git/doc/guix.texi:4526
  8318. #, no-wrap
  8319. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  8320. msgstr ""
  8321. #. type: Plain text
  8322. #: guix-git/doc/guix.texi:4531
  8323. 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}):"
  8324. msgstr ""
  8325. #. type: table
  8326. #: guix-git/doc/guix.texi:4539
  8327. 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}."
  8328. msgstr ""
  8329. #. type: table
  8330. #: guix-git/doc/guix.texi:4545
  8331. 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."
  8332. msgstr ""
  8333. #. type: Plain text
  8334. #: guix-git/doc/guix.texi:4549
  8335. 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"
  8336. msgstr ""
  8337. #. type: example
  8338. #: guix-git/doc/guix.texi:4552
  8339. #, no-wrap
  8340. msgid "guix time-machine -- build hello\n"
  8341. msgstr ""
  8342. #. type: Plain text
  8343. #: guix-git/doc/guix.texi:4557
  8344. 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!"
  8345. msgstr ""
  8346. #. type: Plain text
  8347. #: guix-git/doc/guix.texi:4561
  8348. 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})."
  8349. msgstr ""
  8350. #. type: quotation
  8351. #: guix-git/doc/guix.texi:4569
  8352. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  8353. msgstr ""
  8354. #. type: cindex
  8355. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:10077
  8356. #, no-wrap
  8357. msgid "inferiors"
  8358. msgstr ""
  8359. #. type: cindex
  8360. #: guix-git/doc/guix.texi:4572
  8361. #, no-wrap
  8362. msgid "composition of Guix revisions"
  8363. msgstr ""
  8364. #. type: Plain text
  8365. #: guix-git/doc/guix.texi:4577
  8366. 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."
  8367. msgstr ""
  8368. #. type: cindex
  8369. #: guix-git/doc/guix.texi:4578 guix-git/doc/guix.texi:4643
  8370. #, no-wrap
  8371. msgid "inferior packages"
  8372. msgstr ""
  8373. #. type: Plain text
  8374. #: guix-git/doc/guix.texi:4584
  8375. 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}."
  8376. msgstr ""
  8377. #. type: Plain text
  8378. #: guix-git/doc/guix.texi:4594
  8379. 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:"
  8380. msgstr ""
  8381. #. type: lisp
  8382. #: guix-git/doc/guix.texi:4598
  8383. #, no-wrap
  8384. msgid ""
  8385. "(use-modules (guix inferior) (guix channels)\n"
  8386. " (srfi srfi-1)) ;for 'first'\n"
  8387. "\n"
  8388. msgstr ""
  8389. #. type: lisp
  8390. #: guix-git/doc/guix.texi:4607
  8391. #, no-wrap
  8392. msgid ""
  8393. "(define channels\n"
  8394. " ;; This is the old revision from which we want to\n"
  8395. " ;; extract guile-json.\n"
  8396. " (list (channel\n"
  8397. " (name 'guix)\n"
  8398. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8399. " (commit\n"
  8400. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  8401. "\n"
  8402. msgstr ""
  8403. #. type: lisp
  8404. #: guix-git/doc/guix.texi:4611
  8405. #, no-wrap
  8406. msgid ""
  8407. "(define inferior\n"
  8408. " ;; An inferior representing the above revision.\n"
  8409. " (inferior-for-channels channels))\n"
  8410. "\n"
  8411. msgstr ""
  8412. #. type: lisp
  8413. #: guix-git/doc/guix.texi:4617
  8414. #, no-wrap
  8415. msgid ""
  8416. ";; Now create a manifest with the current \"guile\" package\n"
  8417. ";; and the old \"guile-json\" package.\n"
  8418. "(packages->manifest\n"
  8419. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  8420. " (specification->package \"guile\")))\n"
  8421. msgstr ""
  8422. #. type: Plain text
  8423. #: guix-git/doc/guix.texi:4622
  8424. 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."
  8425. msgstr ""
  8426. #. type: Plain text
  8427. #: guix-git/doc/guix.texi:4625
  8428. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  8429. msgstr ""
  8430. #. type: deffn
  8431. #: guix-git/doc/guix.texi:4626
  8432. #, no-wrap
  8433. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  8434. msgstr ""
  8435. #. type: deffn
  8436. #: guix-git/doc/guix.texi:4631
  8437. 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."
  8438. msgstr ""
  8439. #. type: deffn
  8440. #: guix-git/doc/guix.texi:4634
  8441. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  8442. msgstr ""
  8443. #. type: deffn
  8444. #: guix-git/doc/guix.texi:4636
  8445. #, no-wrap
  8446. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  8447. msgstr ""
  8448. #. type: deffn
  8449. #: guix-git/doc/guix.texi:4641
  8450. 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."
  8451. msgstr ""
  8452. #. type: Plain text
  8453. #: guix-git/doc/guix.texi:4646
  8454. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  8455. msgstr ""
  8456. #. type: deffn
  8457. #: guix-git/doc/guix.texi:4647
  8458. #, no-wrap
  8459. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  8460. msgstr ""
  8461. #. type: deffn
  8462. #: guix-git/doc/guix.texi:4649
  8463. msgid "Return the list of packages known to @var{inferior}."
  8464. msgstr ""
  8465. #. type: deffn
  8466. #: guix-git/doc/guix.texi:4651
  8467. #, no-wrap
  8468. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  8469. msgstr ""
  8470. #. type: deffn
  8471. #: guix-git/doc/guix.texi:4656
  8472. 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}."
  8473. msgstr ""
  8474. #. type: deffn
  8475. #: guix-git/doc/guix.texi:4658
  8476. #, no-wrap
  8477. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  8478. msgstr ""
  8479. #. type: deffn
  8480. #: guix-git/doc/guix.texi:4660
  8481. msgid "Return true if @var{obj} is an inferior package."
  8482. msgstr ""
  8483. #. type: deffn
  8484. #: guix-git/doc/guix.texi:4662
  8485. #, no-wrap
  8486. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  8487. msgstr ""
  8488. #. type: deffnx
  8489. #: guix-git/doc/guix.texi:4663
  8490. #, no-wrap
  8491. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  8492. msgstr ""
  8493. #. type: deffnx
  8494. #: guix-git/doc/guix.texi:4664
  8495. #, no-wrap
  8496. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  8497. msgstr ""
  8498. #. type: deffnx
  8499. #: guix-git/doc/guix.texi:4665
  8500. #, no-wrap
  8501. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  8502. msgstr ""
  8503. #. type: deffnx
  8504. #: guix-git/doc/guix.texi:4666
  8505. #, no-wrap
  8506. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  8507. msgstr ""
  8508. #. type: deffnx
  8509. #: guix-git/doc/guix.texi:4667
  8510. #, no-wrap
  8511. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  8512. msgstr ""
  8513. #. type: deffnx
  8514. #: guix-git/doc/guix.texi:4668
  8515. #, no-wrap
  8516. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  8517. msgstr ""
  8518. #. type: deffnx
  8519. #: guix-git/doc/guix.texi:4669
  8520. #, no-wrap
  8521. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  8522. msgstr ""
  8523. #. type: deffnx
  8524. #: guix-git/doc/guix.texi:4670
  8525. #, no-wrap
  8526. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  8527. msgstr ""
  8528. #. type: deffnx
  8529. #: guix-git/doc/guix.texi:4671
  8530. #, no-wrap
  8531. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  8532. msgstr ""
  8533. #. type: deffnx
  8534. #: guix-git/doc/guix.texi:4672
  8535. #, no-wrap
  8536. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  8537. msgstr ""
  8538. #. type: deffnx
  8539. #: guix-git/doc/guix.texi:4673
  8540. #, no-wrap
  8541. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  8542. msgstr ""
  8543. #. type: deffnx
  8544. #: guix-git/doc/guix.texi:4674
  8545. #, no-wrap
  8546. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  8547. msgstr ""
  8548. #. type: deffn
  8549. #: guix-git/doc/guix.texi:4679
  8550. 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."
  8551. msgstr ""
  8552. #. type: Plain text
  8553. #: guix-git/doc/guix.texi:4689
  8554. 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."
  8555. msgstr ""
  8556. #. type: section
  8557. #: guix-git/doc/guix.texi:4691
  8558. #, no-wrap
  8559. msgid "Invoking @command{guix describe}"
  8560. msgstr ""
  8561. #. type: Plain text
  8562. #: guix-git/doc/guix.texi:4702
  8563. 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."
  8564. msgstr ""
  8565. #. type: Plain text
  8566. #: guix-git/doc/guix.texi:4706
  8567. 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}):"
  8568. msgstr ""
  8569. #. type: example
  8570. #: guix-git/doc/guix.texi:4714
  8571. #, no-wrap
  8572. msgid ""
  8573. "$ guix describe\n"
  8574. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  8575. " guix e0fa68c\n"
  8576. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8577. " branch: master\n"
  8578. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  8579. msgstr ""
  8580. #. type: Plain text
  8581. #: guix-git/doc/guix.texi:4723
  8582. 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."
  8583. msgstr ""
  8584. #. type: Plain text
  8585. #: guix-git/doc/guix.texi:4726
  8586. 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:"
  8587. msgstr ""
  8588. #. type: example
  8589. #: guix-git/doc/guix.texi:4739
  8590. #, no-wrap
  8591. msgid ""
  8592. "$ guix describe -f channels\n"
  8593. "(list (channel\n"
  8594. " (name 'guix)\n"
  8595. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8596. " (commit\n"
  8597. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  8598. " (introduction\n"
  8599. " (make-channel-introduction\n"
  8600. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  8601. " (openpgp-fingerprint\n"
  8602. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  8603. msgstr ""
  8604. #. type: Plain text
  8605. #: guix-git/doc/guix.texi:4748
  8606. 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!"
  8607. msgstr ""
  8608. #. type: Plain text
  8609. #: guix-git/doc/guix.texi:4751
  8610. msgid "The details of the options supported by @command{guix describe} are as follows:"
  8611. msgstr ""
  8612. #. type: item
  8613. #: guix-git/doc/guix.texi:4753 guix-git/doc/guix.texi:5990
  8614. #: guix-git/doc/guix.texi:13269
  8615. #, no-wrap
  8616. msgid "--format=@var{format}"
  8617. msgstr ""
  8618. #. type: itemx
  8619. #: guix-git/doc/guix.texi:4754 guix-git/doc/guix.texi:5991
  8620. #: guix-git/doc/guix.texi:13270
  8621. #, no-wrap
  8622. msgid "-f @var{format}"
  8623. msgstr ""
  8624. #. type: table
  8625. #: guix-git/doc/guix.texi:4756 guix-git/doc/guix.texi:13272
  8626. msgid "Produce output in the specified @var{format}, one of:"
  8627. msgstr ""
  8628. #. type: item
  8629. #: guix-git/doc/guix.texi:4758
  8630. #, no-wrap
  8631. msgid "human"
  8632. msgstr ""
  8633. #. type: table
  8634. #: guix-git/doc/guix.texi:4760
  8635. msgid "produce human-readable output;"
  8636. msgstr ""
  8637. #. type: cindex
  8638. #: guix-git/doc/guix.texi:4760 guix-git/doc/guix.texi:4978
  8639. #, no-wrap
  8640. msgid "channels"
  8641. msgstr ""
  8642. #. type: table
  8643. #: guix-git/doc/guix.texi:4764
  8644. 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});"
  8645. msgstr ""
  8646. #. type: item
  8647. #: guix-git/doc/guix.texi:4764
  8648. #, no-wrap
  8649. msgid "channels-sans-intro"
  8650. msgstr ""
  8651. #. type: table
  8652. #: guix-git/doc/guix.texi:4770
  8653. 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;"
  8654. msgstr ""
  8655. #. type: item
  8656. #: guix-git/doc/guix.texi:4770 guix-git/doc/guix.texi:11348
  8657. #, no-wrap
  8658. msgid "json"
  8659. msgstr ""
  8660. #. type: cindex
  8661. #: guix-git/doc/guix.texi:4771
  8662. #, no-wrap
  8663. msgid "JSON"
  8664. msgstr ""
  8665. #. type: table
  8666. #: guix-git/doc/guix.texi:4773
  8667. msgid "produce a list of channel specifications in JSON format;"
  8668. msgstr ""
  8669. #. type: item
  8670. #: guix-git/doc/guix.texi:4773 guix-git/doc/guix.texi:13274
  8671. #, no-wrap
  8672. msgid "recutils"
  8673. msgstr ""
  8674. #. type: table
  8675. #: guix-git/doc/guix.texi:4775
  8676. msgid "produce a list of channel specifications in Recutils format."
  8677. msgstr ""
  8678. #. type: item
  8679. #: guix-git/doc/guix.texi:4777
  8680. #, no-wrap
  8681. msgid "--list-formats"
  8682. msgstr ""
  8683. #. type: table
  8684. #: guix-git/doc/guix.texi:4779
  8685. msgid "Display available formats for @option{--format} option."
  8686. msgstr ""
  8687. #. type: table
  8688. #: guix-git/doc/guix.texi:4783
  8689. msgid "Display information about @var{profile}."
  8690. msgstr ""
  8691. #. type: section
  8692. #: guix-git/doc/guix.texi:4786
  8693. #, no-wrap
  8694. msgid "Invoking @command{guix archive}"
  8695. msgstr ""
  8696. #. type: command{#1}
  8697. #: guix-git/doc/guix.texi:4788
  8698. #, no-wrap
  8699. msgid "guix archive"
  8700. msgstr ""
  8701. #. type: cindex
  8702. #: guix-git/doc/guix.texi:4789
  8703. #, no-wrap
  8704. msgid "archive"
  8705. msgstr ""
  8706. #. type: Plain text
  8707. #: guix-git/doc/guix.texi:4795
  8708. 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."
  8709. msgstr ""
  8710. #. type: quotation
  8711. #: guix-git/doc/guix.texi:4799
  8712. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  8713. msgstr ""
  8714. #. type: cindex
  8715. #: guix-git/doc/guix.texi:4801
  8716. #, no-wrap
  8717. msgid "exporting store items"
  8718. msgstr ""
  8719. #. type: Plain text
  8720. #: guix-git/doc/guix.texi:4803
  8721. msgid "To export store files as an archive to standard output, run:"
  8722. msgstr ""
  8723. #. type: example
  8724. #: guix-git/doc/guix.texi:4806
  8725. #, no-wrap
  8726. msgid "guix archive --export @var{options} @var{specifications}...\n"
  8727. msgstr ""
  8728. #. type: Plain text
  8729. #: guix-git/doc/guix.texi:4813
  8730. 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}:"
  8731. msgstr ""
  8732. #. type: example
  8733. #: guix-git/doc/guix.texi:4816
  8734. #, no-wrap
  8735. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  8736. msgstr ""
  8737. #. type: Plain text
  8738. #: guix-git/doc/guix.texi:4821
  8739. 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})."
  8740. msgstr ""
  8741. #. type: Plain text
  8742. #: guix-git/doc/guix.texi:4824
  8743. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  8744. msgstr ""
  8745. #. type: example
  8746. #: guix-git/doc/guix.texi:4827
  8747. #, no-wrap
  8748. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  8749. msgstr ""
  8750. #. type: Plain text
  8751. #: guix-git/doc/guix.texi:4832
  8752. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  8753. msgstr ""
  8754. #. type: example
  8755. #: guix-git/doc/guix.texi:4836
  8756. #, no-wrap
  8757. msgid ""
  8758. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  8759. " ssh the-machine guix archive --import\n"
  8760. msgstr ""
  8761. #. type: Plain text
  8762. #: guix-git/doc/guix.texi:4846
  8763. 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})."
  8764. msgstr ""
  8765. #. type: cindex
  8766. #: guix-git/doc/guix.texi:4847
  8767. #, no-wrap
  8768. msgid "nar, archive format"
  8769. msgstr ""
  8770. #. type: cindex
  8771. #: guix-git/doc/guix.texi:4848
  8772. #, no-wrap
  8773. msgid "normalized archive (nar)"
  8774. msgstr ""
  8775. #. type: cindex
  8776. #: guix-git/doc/guix.texi:4849
  8777. #, no-wrap
  8778. msgid "nar bundle, archive format"
  8779. msgstr ""
  8780. #. type: Plain text
  8781. #: guix-git/doc/guix.texi:4854
  8782. 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}."
  8783. msgstr ""
  8784. #. type: Plain text
  8785. #: guix-git/doc/guix.texi:4864
  8786. 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."
  8787. msgstr ""
  8788. #. type: Plain text
  8789. #: guix-git/doc/guix.texi:4868
  8790. 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."
  8791. msgstr ""
  8792. #. type: Plain text
  8793. #: guix-git/doc/guix.texi:4874
  8794. 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."
  8795. msgstr ""
  8796. #. type: Plain text
  8797. #: guix-git/doc/guix.texi:4876
  8798. msgid "The main options are:"
  8799. msgstr ""
  8800. #. type: item
  8801. #: guix-git/doc/guix.texi:4878
  8802. #, no-wrap
  8803. msgid "--export"
  8804. msgstr ""
  8805. #. type: table
  8806. #: guix-git/doc/guix.texi:4881
  8807. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  8808. msgstr ""
  8809. #. type: table
  8810. #: guix-git/doc/guix.texi:4884
  8811. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  8812. msgstr ""
  8813. #. type: itemx
  8814. #: guix-git/doc/guix.texi:4885 guix-git/doc/guix.texi:11118
  8815. #: guix-git/doc/guix.texi:11220 guix-git/doc/guix.texi:11245
  8816. #: guix-git/doc/guix.texi:11423 guix-git/doc/guix.texi:11464
  8817. #: guix-git/doc/guix.texi:11511 guix-git/doc/guix.texi:11536
  8818. #: guix-git/doc/guix.texi:11552 guix-git/doc/guix.texi:11583
  8819. #, no-wrap
  8820. msgid "-r"
  8821. msgstr ""
  8822. #. type: item
  8823. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:11117
  8824. #: guix-git/doc/guix.texi:11219 guix-git/doc/guix.texi:11244
  8825. #: guix-git/doc/guix.texi:11422 guix-git/doc/guix.texi:11463
  8826. #: guix-git/doc/guix.texi:11510 guix-git/doc/guix.texi:11535
  8827. #: guix-git/doc/guix.texi:11551 guix-git/doc/guix.texi:11582
  8828. #: guix-git/doc/guix.texi:11639
  8829. #, no-wrap
  8830. msgid "--recursive"
  8831. msgstr ""
  8832. #. type: table
  8833. #: guix-git/doc/guix.texi:4891
  8834. 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."
  8835. msgstr ""
  8836. #. type: item
  8837. #: guix-git/doc/guix.texi:4892
  8838. #, no-wrap
  8839. msgid "--import"
  8840. msgstr ""
  8841. #. type: table
  8842. #: guix-git/doc/guix.texi:4897
  8843. 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)."
  8844. msgstr ""
  8845. #. type: item
  8846. #: guix-git/doc/guix.texi:4898
  8847. #, no-wrap
  8848. msgid "--missing"
  8849. msgstr ""
  8850. #. type: table
  8851. #: guix-git/doc/guix.texi:4902
  8852. 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."
  8853. msgstr ""
  8854. #. type: item
  8855. #: guix-git/doc/guix.texi:4903
  8856. #, no-wrap
  8857. msgid "--generate-key[=@var{parameters}]"
  8858. msgstr ""
  8859. #. type: cindex
  8860. #: guix-git/doc/guix.texi:4904
  8861. #, no-wrap
  8862. msgid "signing, archives"
  8863. msgstr ""
  8864. #. type: table
  8865. #: guix-git/doc/guix.texi:4911
  8866. 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."
  8867. msgstr ""
  8868. #. type: table
  8869. #: guix-git/doc/guix.texi:4921
  8870. 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})."
  8871. msgstr ""
  8872. #. type: item
  8873. #: guix-git/doc/guix.texi:4922
  8874. #, no-wrap
  8875. msgid "--authorize"
  8876. msgstr ""
  8877. #. type: cindex
  8878. #: guix-git/doc/guix.texi:4923
  8879. #, no-wrap
  8880. msgid "authorizing, archives"
  8881. msgstr ""
  8882. #. type: table
  8883. #: guix-git/doc/guix.texi:4927
  8884. 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."
  8885. msgstr ""
  8886. #. type: table
  8887. #: guix-git/doc/guix.texi:4934
  8888. 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)}."
  8889. msgstr ""
  8890. #. type: item
  8891. #: guix-git/doc/guix.texi:4935
  8892. #, no-wrap
  8893. msgid "--extract=@var{directory}"
  8894. msgstr ""
  8895. #. type: itemx
  8896. #: guix-git/doc/guix.texi:4936
  8897. #, no-wrap
  8898. msgid "-x @var{directory}"
  8899. msgstr ""
  8900. #. type: table
  8901. #: guix-git/doc/guix.texi:4940
  8902. 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."
  8903. msgstr ""
  8904. #. type: table
  8905. #: guix-git/doc/guix.texi:4943
  8906. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER}} to @file{/tmp/emacs}:"
  8907. msgstr ""
  8908. #. type: example
  8909. #: guix-git/doc/guix.texi:4948
  8910. #, no-wrap
  8911. msgid ""
  8912. "$ wget -O - \\\n"
  8913. " https://@value{SUBSTITUTE-SERVER}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  8914. " | gunzip | guix archive -x /tmp/emacs\n"
  8915. msgstr ""
  8916. #. type: table
  8917. #: guix-git/doc/guix.texi:4955
  8918. 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."
  8919. msgstr ""
  8920. #. type: table
  8921. #: guix-git/doc/guix.texi:4959
  8922. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  8923. msgstr ""
  8924. #. type: item
  8925. #: guix-git/doc/guix.texi:4960
  8926. #, no-wrap
  8927. msgid "--list"
  8928. msgstr ""
  8929. #. type: itemx
  8930. #: guix-git/doc/guix.texi:4961 guix-git/doc/guix.texi:11410
  8931. #: guix-git/doc/guix.texi:11457
  8932. #, no-wrap
  8933. msgid "-t"
  8934. msgstr ""
  8935. #. type: table
  8936. #: guix-git/doc/guix.texi:4965
  8937. 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:"
  8938. msgstr ""
  8939. #. type: example
  8940. #: guix-git/doc/guix.texi:4970
  8941. #, no-wrap
  8942. msgid ""
  8943. "$ wget -O - \\\n"
  8944. " https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  8945. " | lzip -d | guix archive -t\n"
  8946. msgstr ""
  8947. #. type: cindex
  8948. #: guix-git/doc/guix.texi:4981
  8949. #, no-wrap
  8950. msgid "@command{guix pull}, configuration file"
  8951. msgstr ""
  8952. #. type: cindex
  8953. #: guix-git/doc/guix.texi:4982
  8954. #, no-wrap
  8955. msgid "configuration of @command{guix pull}"
  8956. msgstr ""
  8957. #. type: Plain text
  8958. #: guix-git/doc/guix.texi:4993
  8959. 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."
  8960. msgstr ""
  8961. #. type: cindex
  8962. #: guix-git/doc/guix.texi:5011
  8963. #, no-wrap
  8964. msgid "extending the package collection (channels)"
  8965. msgstr ""
  8966. #. type: cindex
  8967. #: guix-git/doc/guix.texi:5012
  8968. #, no-wrap
  8969. msgid "variant packages (channels)"
  8970. msgstr ""
  8971. #. type: Plain text
  8972. #: guix-git/doc/guix.texi:5016
  8973. 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):"
  8974. msgstr ""
  8975. #. type: vindex
  8976. #: guix-git/doc/guix.texi:5017
  8977. #, no-wrap
  8978. msgid "%default-channels"
  8979. msgstr ""
  8980. #. type: lisp
  8981. #: guix-git/doc/guix.texi:5024
  8982. #, no-wrap
  8983. msgid ""
  8984. ";; Add variant packages to those Guix provides.\n"
  8985. "(cons (channel\n"
  8986. " (name 'variant-packages)\n"
  8987. " (url \"https://example.org/variant-packages.git\"))\n"
  8988. " %default-channels)\n"
  8989. msgstr ""
  8990. #. type: Plain text
  8991. #: guix-git/doc/guix.texi:5034
  8992. 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:"
  8993. msgstr ""
  8994. #. type: example
  8995. #: guix-git/doc/guix.texi:5049
  8996. #, no-wrap
  8997. msgid ""
  8998. "$ guix pull --list-generations\n"
  8999. "@dots{}\n"
  9000. "Generation 19\tAug 27 2018 16:20:48\n"
  9001. " guix d894ab8\n"
  9002. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9003. " branch: master\n"
  9004. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9005. " variant-packages dd3df5e\n"
  9006. " repository URL: https://example.org/variant-packages.git\n"
  9007. " branch: master\n"
  9008. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9009. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9010. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9011. msgstr ""
  9012. #. type: Plain text
  9013. #: guix-git/doc/guix.texi:5057
  9014. 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."
  9015. msgstr ""
  9016. #. type: Plain text
  9017. #: guix-git/doc/guix.texi:5066
  9018. 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:"
  9019. msgstr ""
  9020. #. type: lisp
  9021. #: guix-git/doc/guix.texi:5073
  9022. #, no-wrap
  9023. msgid ""
  9024. ";; Tell 'guix pull' to use another repo.\n"
  9025. "(list (channel\n"
  9026. " (name 'guix)\n"
  9027. " (url \"https://example.org/another-guix.git\")\n"
  9028. " (branch \"super-hacks\")))\n"
  9029. msgstr ""
  9030. #. type: Plain text
  9031. #: guix-git/doc/guix.texi:5079
  9032. 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})."
  9033. msgstr ""
  9034. #. type: Plain text
  9035. #: guix-git/doc/guix.texi:5090
  9036. 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:"
  9037. msgstr ""
  9038. #. type: lisp
  9039. #: guix-git/doc/guix.texi:5101
  9040. #, no-wrap
  9041. msgid ""
  9042. ";; Deploy specific commits of my channels of interest.\n"
  9043. "(list (channel\n"
  9044. " (name 'guix)\n"
  9045. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9046. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9047. " (channel\n"
  9048. " (name 'variant-packages)\n"
  9049. " (url \"https://example.org/variant-packages.git\")\n"
  9050. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9051. msgstr ""
  9052. #. type: Plain text
  9053. #: guix-git/doc/guix.texi:5108
  9054. 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})."
  9055. msgstr ""
  9056. #. type: Plain text
  9057. #: guix-git/doc/guix.texi:5115
  9058. 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."
  9059. msgstr ""
  9060. #. type: Plain text
  9061. #: guix-git/doc/guix.texi:5120
  9062. 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."
  9063. msgstr ""
  9064. #. type: anchor{#1}
  9065. #: guix-git/doc/guix.texi:5125
  9066. msgid "channel-authentication"
  9067. msgstr ""
  9068. #. type: Plain text
  9069. #: guix-git/doc/guix.texi:5131
  9070. 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."
  9071. msgstr ""
  9072. #. type: Plain text
  9073. #: guix-git/doc/guix.texi:5136
  9074. 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:"
  9075. msgstr ""
  9076. #. type: lisp
  9077. #: guix-git/doc/guix.texi:5146
  9078. #, no-wrap
  9079. msgid ""
  9080. "(channel\n"
  9081. " (name 'some-channel)\n"
  9082. " (url \"https://example.org/some-channel.git\")\n"
  9083. " (introduction\n"
  9084. " (make-channel-introduction\n"
  9085. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9086. " (openpgp-fingerprint\n"
  9087. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9088. msgstr ""
  9089. #. type: Plain text
  9090. #: guix-git/doc/guix.texi:5152
  9091. 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{}}."
  9092. msgstr ""
  9093. #. type: Plain text
  9094. #: guix-git/doc/guix.texi:5158
  9095. 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."
  9096. msgstr ""
  9097. #. type: Plain text
  9098. #: guix-git/doc/guix.texi:5160
  9099. msgid "If you're curious about the authentication mechanics, read on!"
  9100. msgstr ""
  9101. #. type: Plain text
  9102. #: guix-git/doc/guix.texi:5171
  9103. 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}."
  9104. msgstr ""
  9105. #. type: lisp
  9106. #: guix-git/doc/guix.texi:5174
  9107. #, no-wrap
  9108. msgid ""
  9109. "(use-modules (guix ci))\n"
  9110. "\n"
  9111. msgstr ""
  9112. #. type: lisp
  9113. #: guix-git/doc/guix.texi:5178
  9114. #, no-wrap
  9115. msgid ""
  9116. "(list (channel-with-substitutes-available\n"
  9117. " %default-guix-channel\n"
  9118. " \"https://ci.guix.gnu.org\"))\n"
  9119. msgstr ""
  9120. #. type: Plain text
  9121. #: guix-git/doc/guix.texi:5185
  9122. 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."
  9123. msgstr ""
  9124. #. type: cindex
  9125. #: guix-git/doc/guix.texi:5189
  9126. #, no-wrap
  9127. msgid "personal packages (channels)"
  9128. msgstr ""
  9129. #. type: cindex
  9130. #: guix-git/doc/guix.texi:5190
  9131. #, no-wrap
  9132. msgid "channels, for personal packages"
  9133. msgstr ""
  9134. #. type: Plain text
  9135. #: guix-git/doc/guix.texi:5198
  9136. 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?"
  9137. msgstr ""
  9138. #. type: quotation
  9139. #: guix-git/doc/guix.texi:5202 guix-git/doc/guix.texi:13624
  9140. #: guix-git/doc/guix.texi:19579 guix-git/doc/guix.texi:19586
  9141. #, no-wrap
  9142. msgid "Warning"
  9143. msgstr ""
  9144. #. type: quotation
  9145. #: guix-git/doc/guix.texi:5206
  9146. 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:"
  9147. msgstr ""
  9148. #. type: itemize
  9149. #: guix-git/doc/guix.texi:5214
  9150. 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."
  9151. msgstr ""
  9152. #. type: itemize
  9153. #: guix-git/doc/guix.texi:5223
  9154. 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."
  9155. msgstr ""
  9156. #. type: itemize
  9157. #: guix-git/doc/guix.texi:5227
  9158. 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."
  9159. msgstr ""
  9160. #. type: quotation
  9161. #: guix-git/doc/guix.texi:5234
  9162. 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."
  9163. msgstr ""
  9164. #. type: Plain text
  9165. #: guix-git/doc/guix.texi:5246
  9166. 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})."
  9167. msgstr ""
  9168. #. type: Plain text
  9169. #: guix-git/doc/guix.texi:5251
  9170. 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."
  9171. msgstr ""
  9172. #. type: cindex
  9173. #: guix-git/doc/guix.texi:5256
  9174. #, no-wrap
  9175. msgid "subdirectory, channels"
  9176. msgstr ""
  9177. #. type: Plain text
  9178. #: guix-git/doc/guix.texi:5260
  9179. 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:"
  9180. msgstr ""
  9181. #. type: lisp
  9182. #: guix-git/doc/guix.texi:5265
  9183. #, no-wrap
  9184. msgid ""
  9185. "(channel\n"
  9186. " (version 0)\n"
  9187. " (directory \"guix\"))\n"
  9188. msgstr ""
  9189. #. type: cindex
  9190. #: guix-git/doc/guix.texi:5270
  9191. #, no-wrap
  9192. msgid "dependencies, channels"
  9193. msgstr ""
  9194. #. type: cindex
  9195. #: guix-git/doc/guix.texi:5271
  9196. #, no-wrap
  9197. msgid "meta-data, channels"
  9198. msgstr ""
  9199. #. type: Plain text
  9200. #: guix-git/doc/guix.texi:5276
  9201. 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."
  9202. msgstr ""
  9203. #. type: Plain text
  9204. #: guix-git/doc/guix.texi:5278
  9205. msgid "The meta-data file should contain a simple S-expression like this:"
  9206. msgstr ""
  9207. #. type: lisp
  9208. #: guix-git/doc/guix.texi:5286
  9209. #, no-wrap
  9210. msgid ""
  9211. "(channel\n"
  9212. " (version 0)\n"
  9213. " (dependencies\n"
  9214. " (channel\n"
  9215. " (name some-collection)\n"
  9216. " (url \"https://example.org/first-collection.git\")\n"
  9217. "\n"
  9218. msgstr ""
  9219. #. type: lisp
  9220. #: guix-git/doc/guix.texi:5298
  9221. #, no-wrap
  9222. msgid ""
  9223. " ;; The 'introduction' bit below is optional: you would\n"
  9224. " ;; provide it for dependencies that can be authenticated.\n"
  9225. " (introduction\n"
  9226. " (channel-introduction\n"
  9227. " (version 0)\n"
  9228. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9229. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9230. " (channel\n"
  9231. " (name some-other-collection)\n"
  9232. " (url \"https://example.org/second-collection.git\")\n"
  9233. " (branch \"testing\"))))\n"
  9234. msgstr ""
  9235. #. type: Plain text
  9236. #: guix-git/doc/guix.texi:5304
  9237. 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."
  9238. msgstr ""
  9239. #. type: Plain text
  9240. #: guix-git/doc/guix.texi:5308
  9241. 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."
  9242. msgstr ""
  9243. #. type: cindex
  9244. #: guix-git/doc/guix.texi:5312
  9245. #, no-wrap
  9246. msgid "channel authorizations"
  9247. msgstr ""
  9248. #. type: anchor{#1}
  9249. #: guix-git/doc/guix.texi:5326
  9250. msgid "channel-authorizations"
  9251. msgstr ""
  9252. #. type: Plain text
  9253. #: guix-git/doc/guix.texi:5326
  9254. 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:"
  9255. msgstr ""
  9256. #. type: lisp
  9257. #: guix-git/doc/guix.texi:5329
  9258. #, no-wrap
  9259. msgid ""
  9260. ";; Example '.guix-authorizations' file.\n"
  9261. "\n"
  9262. msgstr ""
  9263. #. type: lisp
  9264. #: guix-git/doc/guix.texi:5332
  9265. #, no-wrap
  9266. msgid ""
  9267. "(authorizations\n"
  9268. " (version 0) ;current file format version\n"
  9269. "\n"
  9270. msgstr ""
  9271. #. type: lisp
  9272. #: guix-git/doc/guix.texi:5339
  9273. #, no-wrap
  9274. msgid ""
  9275. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9276. " (name \"alice\"))\n"
  9277. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9278. " (name \"bob\"))\n"
  9279. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9280. " (name \"charlie\"))))\n"
  9281. msgstr ""
  9282. #. type: Plain text
  9283. #: guix-git/doc/guix.texi:5343
  9284. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9285. msgstr ""
  9286. #. type: Plain text
  9287. #: guix-git/doc/guix.texi:5348
  9288. 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?"
  9289. msgstr ""
  9290. #. type: cindex
  9291. #: guix-git/doc/guix.texi:5349
  9292. #, no-wrap
  9293. msgid "channel introduction"
  9294. msgstr ""
  9295. #. type: Plain text
  9296. #: guix-git/doc/guix.texi:5356
  9297. 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."
  9298. msgstr ""
  9299. #. type: Plain text
  9300. #: guix-git/doc/guix.texi:5363
  9301. 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:"
  9302. msgstr ""
  9303. #. type: lisp
  9304. #: guix-git/doc/guix.texi:5368
  9305. #, no-wrap
  9306. msgid ""
  9307. "(channel\n"
  9308. " (version 0)\n"
  9309. " (keyring-reference \"my-keyring-branch\"))\n"
  9310. msgstr ""
  9311. #. type: Plain text
  9312. #: guix-git/doc/guix.texi:5372
  9313. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9314. msgstr ""
  9315. #. type: enumerate
  9316. #: guix-git/doc/guix.texi:5378
  9317. 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})."
  9318. msgstr ""
  9319. #. type: enumerate
  9320. #: guix-git/doc/guix.texi:5383
  9321. 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.)"
  9322. msgstr ""
  9323. #. type: enumerate
  9324. #: guix-git/doc/guix.texi:5389
  9325. 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."
  9326. msgstr ""
  9327. #. type: Plain text
  9328. #: guix-git/doc/guix.texi:5394
  9329. 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:"
  9330. msgstr ""
  9331. #. type: example
  9332. #: guix-git/doc/guix.texi:5397
  9333. #, no-wrap
  9334. msgid "guix git authenticate @var{commit} @var{signer}\n"
  9335. msgstr ""
  9336. #. type: Plain text
  9337. #: guix-git/doc/guix.texi:5402
  9338. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  9339. msgstr ""
  9340. #. type: Plain text
  9341. #: guix-git/doc/guix.texi:5409
  9342. 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."
  9343. msgstr ""
  9344. #. type: cindex
  9345. #: guix-git/doc/guix.texi:5413
  9346. #, no-wrap
  9347. msgid "primary URL, channels"
  9348. msgstr ""
  9349. #. type: Plain text
  9350. #: guix-git/doc/guix.texi:5416
  9351. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  9352. msgstr ""
  9353. #. type: lisp
  9354. #: guix-git/doc/guix.texi:5421
  9355. #, no-wrap
  9356. msgid ""
  9357. "(channel\n"
  9358. " (version 0)\n"
  9359. " (url \"https://example.org/guix.git\"))\n"
  9360. msgstr ""
  9361. #. type: Plain text
  9362. #: guix-git/doc/guix.texi:5428
  9363. 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."
  9364. msgstr ""
  9365. #. type: Plain text
  9366. #: guix-git/doc/guix.texi:5432
  9367. 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."
  9368. msgstr ""
  9369. #. type: cindex
  9370. #: guix-git/doc/guix.texi:5436
  9371. #, no-wrap
  9372. msgid "news, for channels"
  9373. msgstr ""
  9374. #. type: Plain text
  9375. #: guix-git/doc/guix.texi:5440
  9376. 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."
  9377. msgstr ""
  9378. #. type: Plain text
  9379. #: guix-git/doc/guix.texi:5445
  9380. 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."
  9381. msgstr ""
  9382. #. type: Plain text
  9383. #: guix-git/doc/guix.texi:5448
  9384. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  9385. msgstr ""
  9386. #. type: lisp
  9387. #: guix-git/doc/guix.texi:5453
  9388. #, no-wrap
  9389. msgid ""
  9390. "(channel\n"
  9391. " (version 0)\n"
  9392. " (news-file \"etc/news.txt\"))\n"
  9393. msgstr ""
  9394. #. type: Plain text
  9395. #: guix-git/doc/guix.texi:5457
  9396. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  9397. msgstr ""
  9398. #. type: lisp
  9399. #: guix-git/doc/guix.texi:5470
  9400. #, no-wrap
  9401. msgid ""
  9402. "(channel-news\n"
  9403. " (version 0)\n"
  9404. " (entry (tag \"the-bug-fix\")\n"
  9405. " (title (en \"Fixed terrible bug\")\n"
  9406. " (fr \"Oh la la\"))\n"
  9407. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  9408. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  9409. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  9410. " (title (en \"Added a great package\")\n"
  9411. " (ca \"Què vol dir guix?\"))\n"
  9412. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  9413. msgstr ""
  9414. #. type: Plain text
  9415. #: guix-git/doc/guix.texi:5477
  9416. 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."
  9417. msgstr ""
  9418. #. type: Plain text
  9419. #: guix-git/doc/guix.texi:5482
  9420. 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."
  9421. msgstr ""
  9422. #. type: Plain text
  9423. #: guix-git/doc/guix.texi:5488
  9424. 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."
  9425. msgstr ""
  9426. #. type: Plain text
  9427. #: guix-git/doc/guix.texi:5494
  9428. 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:"
  9429. msgstr ""
  9430. #. type: example
  9431. #: guix-git/doc/guix.texi:5497
  9432. #, no-wrap
  9433. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  9434. msgstr ""
  9435. #. type: Plain text
  9436. #: guix-git/doc/guix.texi:5501
  9437. 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."
  9438. msgstr ""
  9439. #. type: cindex
  9440. #: guix-git/doc/guix.texi:5506
  9441. #, no-wrap
  9442. msgid "software development"
  9443. msgstr ""
  9444. #. type: Plain text
  9445. #: guix-git/doc/guix.texi:5510
  9446. 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."
  9447. msgstr ""
  9448. #. type: Plain text
  9449. #: guix-git/doc/guix.texi:5516
  9450. msgid "The @command{guix environment} command provides a convenient way to set up @dfn{development environments} containing all the dependencies and tools necessary to work on the software package of your choice. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  9451. msgstr ""
  9452. #. type: section
  9453. #: guix-git/doc/guix.texi:5525
  9454. #, no-wrap
  9455. msgid "Invoking @command{guix environment}"
  9456. msgstr ""
  9457. #. type: cindex
  9458. #: guix-git/doc/guix.texi:5527
  9459. #, no-wrap
  9460. msgid "reproducible build environments"
  9461. msgstr ""
  9462. #. type: cindex
  9463. #: guix-git/doc/guix.texi:5528
  9464. #, no-wrap
  9465. msgid "development environments"
  9466. msgstr ""
  9467. #. type: command{#1}
  9468. #: guix-git/doc/guix.texi:5529
  9469. #, no-wrap
  9470. msgid "guix environment"
  9471. msgstr ""
  9472. #. type: cindex
  9473. #: guix-git/doc/guix.texi:5530
  9474. #, no-wrap
  9475. msgid "environment, package build environment"
  9476. msgstr ""
  9477. #. type: Plain text
  9478. #: guix-git/doc/guix.texi:5536
  9479. msgid "The purpose of @command{guix environment} is to assist hackers in creating reproducible development environments without polluting their package profile. The @command{guix environment} tool takes one or more packages, builds all of their inputs, and creates a shell environment to use them."
  9480. msgstr ""
  9481. #. type: example
  9482. #: guix-git/doc/guix.texi:5541
  9483. #, no-wrap
  9484. msgid "guix environment @var{options} @var{package}@dots{}\n"
  9485. msgstr ""
  9486. #. type: Plain text
  9487. #: guix-git/doc/guix.texi:5545
  9488. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  9489. msgstr ""
  9490. #. type: example
  9491. #: guix-git/doc/guix.texi:5548
  9492. #, no-wrap
  9493. msgid "guix environment guile\n"
  9494. msgstr ""
  9495. #. type: Plain text
  9496. #: guix-git/doc/guix.texi:5565
  9497. 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.}."
  9498. msgstr ""
  9499. #. type: Plain text
  9500. #: guix-git/doc/guix.texi:5571
  9501. 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."
  9502. msgstr ""
  9503. #. type: vindex
  9504. #: guix-git/doc/guix.texi:5572
  9505. #, no-wrap
  9506. msgid "GUIX_ENVIRONMENT"
  9507. msgstr ""
  9508. #. type: Plain text
  9509. #: guix-git/doc/guix.texi:5578
  9510. 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}):"
  9511. msgstr ""
  9512. #. type: example
  9513. #: guix-git/doc/guix.texi:5584
  9514. #, no-wrap
  9515. msgid ""
  9516. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  9517. "then\n"
  9518. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  9519. "fi\n"
  9520. msgstr ""
  9521. #. type: Plain text
  9522. #: guix-git/doc/guix.texi:5588
  9523. msgid "...@: or to browse the profile:"
  9524. msgstr ""
  9525. #. type: example
  9526. #: guix-git/doc/guix.texi:5591
  9527. #, no-wrap
  9528. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  9529. msgstr ""
  9530. #. type: Plain text
  9531. #: guix-git/doc/guix.texi:5597
  9532. 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:"
  9533. msgstr ""
  9534. #. type: example
  9535. #: guix-git/doc/guix.texi:5600
  9536. #, no-wrap
  9537. msgid "guix environment guile emacs\n"
  9538. msgstr ""
  9539. #. type: Plain text
  9540. #: guix-git/doc/guix.texi:5605
  9541. 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:"
  9542. msgstr ""
  9543. #. type: example
  9544. #: guix-git/doc/guix.texi:5608
  9545. #, no-wrap
  9546. msgid "guix environment guile -- make -j4\n"
  9547. msgstr ""
  9548. #. type: Plain text
  9549. #: guix-git/doc/guix.texi:5614
  9550. msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}2.7 and NumPy:"
  9551. msgstr ""
  9552. #. type: example
  9553. #: guix-git/doc/guix.texi:5617
  9554. #, no-wrap
  9555. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  9556. msgstr ""
  9557. #. type: Plain text
  9558. #: guix-git/doc/guix.texi:5628
  9559. 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:"
  9560. msgstr ""
  9561. #. type: example
  9562. #: guix-git/doc/guix.texi:5631
  9563. #, no-wrap
  9564. msgid "guix environment --pure guix --ad-hoc git strace\n"
  9565. msgstr ""
  9566. #. type: item
  9567. #: guix-git/doc/guix.texi:5633 guix-git/doc/guix.texi:5794
  9568. #: guix-git/doc/guix.texi:13025 guix-git/doc/guix.texi:33068
  9569. #, no-wrap
  9570. msgid "container"
  9571. msgstr ""
  9572. #. type: Plain text
  9573. #: guix-git/doc/guix.texi:5641
  9574. 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:"
  9575. msgstr ""
  9576. #. type: example
  9577. #: guix-git/doc/guix.texi:5644
  9578. #, no-wrap
  9579. msgid "guix environment --ad-hoc --container guile -- guile\n"
  9580. msgstr ""
  9581. #. type: quotation
  9582. #: guix-git/doc/guix.texi:5648
  9583. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  9584. msgstr ""
  9585. #. type: cindex
  9586. #: guix-git/doc/guix.texi:5650
  9587. #, no-wrap
  9588. msgid "certificates"
  9589. msgstr ""
  9590. #. type: Plain text
  9591. #: guix-git/doc/guix.texi:5657
  9592. 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."
  9593. msgstr ""
  9594. #. type: example
  9595. #: guix-git/doc/guix.texi:5664
  9596. #, no-wrap
  9597. msgid ""
  9598. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  9599. " --expose=/etc/machine-id \\\n"
  9600. " --expose=/etc/ssl/certs/ \\\n"
  9601. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  9602. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  9603. msgstr ""
  9604. #. type: Plain text
  9605. #: guix-git/doc/guix.texi:5667
  9606. msgid "The available options are summarized below."
  9607. msgstr ""
  9608. #. type: item
  9609. #: guix-git/doc/guix.texi:5669 guix-git/doc/guix.texi:6205
  9610. #: guix-git/doc/guix.texi:10863 guix-git/doc/guix.texi:33165
  9611. #, no-wrap
  9612. msgid "--root=@var{file}"
  9613. msgstr ""
  9614. #. type: itemx
  9615. #: guix-git/doc/guix.texi:5670 guix-git/doc/guix.texi:6206
  9616. #: guix-git/doc/guix.texi:10864 guix-git/doc/guix.texi:33166
  9617. #, no-wrap
  9618. msgid "-r @var{file}"
  9619. msgstr ""
  9620. #. type: cindex
  9621. #: guix-git/doc/guix.texi:5671
  9622. #, no-wrap
  9623. msgid "persistent environment"
  9624. msgstr ""
  9625. #. type: cindex
  9626. #: guix-git/doc/guix.texi:5672
  9627. #, no-wrap
  9628. msgid "garbage collector root, for environments"
  9629. msgstr ""
  9630. #. type: table
  9631. #: guix-git/doc/guix.texi:5675
  9632. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  9633. msgstr ""
  9634. #. type: table
  9635. #: guix-git/doc/guix.texi:5678
  9636. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  9637. msgstr ""
  9638. #. type: table
  9639. #: guix-git/doc/guix.texi:5684
  9640. 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."
  9641. msgstr ""
  9642. #. type: item
  9643. #: guix-git/doc/guix.texi:5685 guix-git/doc/guix.texi:6137
  9644. #: guix-git/doc/guix.texi:10709 guix-git/doc/guix.texi:11684
  9645. #: guix-git/doc/guix.texi:12479 guix-git/doc/guix.texi:33100
  9646. #, no-wrap
  9647. msgid "--expression=@var{expr}"
  9648. msgstr ""
  9649. #. type: itemx
  9650. #: guix-git/doc/guix.texi:5686 guix-git/doc/guix.texi:6138
  9651. #: guix-git/doc/guix.texi:10710 guix-git/doc/guix.texi:11685
  9652. #: guix-git/doc/guix.texi:12480 guix-git/doc/guix.texi:33101
  9653. #, no-wrap
  9654. msgid "-e @var{expr}"
  9655. msgstr ""
  9656. #. type: table
  9657. #: guix-git/doc/guix.texi:5689
  9658. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  9659. msgstr ""
  9660. #. type: table
  9661. #: guix-git/doc/guix.texi:5691
  9662. msgid "For example, running:"
  9663. msgstr ""
  9664. #. type: example
  9665. #: guix-git/doc/guix.texi:5694
  9666. #, no-wrap
  9667. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  9668. msgstr ""
  9669. #. type: table
  9670. #: guix-git/doc/guix.texi:5698
  9671. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  9672. msgstr ""
  9673. #. type: table
  9674. #: guix-git/doc/guix.texi:5700
  9675. msgid "Running:"
  9676. msgstr ""
  9677. #. type: example
  9678. #: guix-git/doc/guix.texi:5703
  9679. #, no-wrap
  9680. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  9681. msgstr ""
  9682. #. type: table
  9683. #: guix-git/doc/guix.texi:5706
  9684. msgid "starts a shell with all the base system packages available."
  9685. msgstr ""
  9686. #. type: table
  9687. #: guix-git/doc/guix.texi:5709
  9688. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  9689. msgstr ""
  9690. #. type: example
  9691. #: guix-git/doc/guix.texi:5712
  9692. #, no-wrap
  9693. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  9694. msgstr ""
  9695. #. type: item
  9696. #: guix-git/doc/guix.texi:5714
  9697. #, no-wrap
  9698. msgid "--load=@var{file}"
  9699. msgstr ""
  9700. #. type: itemx
  9701. #: guix-git/doc/guix.texi:5715
  9702. #, no-wrap
  9703. msgid "-l @var{file}"
  9704. msgstr ""
  9705. #. type: table
  9706. #: guix-git/doc/guix.texi:5718
  9707. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  9708. msgstr ""
  9709. #. type: lisp
  9710. #: guix-git/doc/guix.texi:5724
  9711. #, no-wrap
  9712. msgid "@verbatiminclude environment-gdb.scm\n"
  9713. msgstr ""
  9714. #. type: table
  9715. #: guix-git/doc/guix.texi:5731
  9716. 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."
  9717. msgstr ""
  9718. #. type: table
  9719. #: guix-git/doc/guix.texi:5735
  9720. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  9721. msgstr ""
  9722. #. type: item
  9723. #: guix-git/doc/guix.texi:5736
  9724. #, no-wrap
  9725. msgid "--ad-hoc"
  9726. msgstr ""
  9727. #. type: table
  9728. #: guix-git/doc/guix.texi:5741
  9729. 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."
  9730. msgstr ""
  9731. #. type: table
  9732. #: guix-git/doc/guix.texi:5743
  9733. msgid "For instance, the command:"
  9734. msgstr ""
  9735. #. type: example
  9736. #: guix-git/doc/guix.texi:5746
  9737. #, no-wrap
  9738. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  9739. msgstr ""
  9740. #. type: table
  9741. #: guix-git/doc/guix.texi:5750
  9742. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  9743. msgstr ""
  9744. #. type: table
  9745. #: guix-git/doc/guix.texi:5755
  9746. 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})."
  9747. msgstr ""
  9748. #. type: table
  9749. #: guix-git/doc/guix.texi:5761
  9750. 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."
  9751. msgstr ""
  9752. #. type: item
  9753. #: guix-git/doc/guix.texi:5762
  9754. #, no-wrap
  9755. msgid "--pure"
  9756. msgstr ""
  9757. #. type: table
  9758. #: guix-git/doc/guix.texi:5766
  9759. 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."
  9760. msgstr ""
  9761. #. type: item
  9762. #: guix-git/doc/guix.texi:5767
  9763. #, no-wrap
  9764. msgid "--preserve=@var{regexp}"
  9765. msgstr ""
  9766. #. type: itemx
  9767. #: guix-git/doc/guix.texi:5768
  9768. #, no-wrap
  9769. msgid "-E @var{regexp}"
  9770. msgstr ""
  9771. #. type: table
  9772. #: guix-git/doc/guix.texi:5773
  9773. 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."
  9774. msgstr ""
  9775. #. type: example
  9776. #: guix-git/doc/guix.texi:5777
  9777. #, no-wrap
  9778. msgid ""
  9779. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  9780. " -- mpirun @dots{}\n"
  9781. msgstr ""
  9782. #. type: table
  9783. #: guix-git/doc/guix.texi:5783
  9784. 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.)."
  9785. msgstr ""
  9786. #. type: item
  9787. #: guix-git/doc/guix.texi:5784
  9788. #, no-wrap
  9789. msgid "--search-paths"
  9790. msgstr ""
  9791. #. type: table
  9792. #: guix-git/doc/guix.texi:5787
  9793. msgid "Display the environment variable definitions that make up the environment."
  9794. msgstr ""
  9795. #. type: table
  9796. #: guix-git/doc/guix.texi:5791
  9797. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  9798. msgstr ""
  9799. #. type: item
  9800. #: guix-git/doc/guix.texi:5792
  9801. #, no-wrap
  9802. msgid "--container"
  9803. msgstr ""
  9804. #. type: itemx
  9805. #: guix-git/doc/guix.texi:5793
  9806. #, no-wrap
  9807. msgid "-C"
  9808. msgstr ""
  9809. #. type: table
  9810. #: guix-git/doc/guix.texi:5800
  9811. 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."
  9812. msgstr ""
  9813. #. type: table
  9814. #: guix-git/doc/guix.texi:5804
  9815. 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)."
  9816. msgstr ""
  9817. #. type: item
  9818. #: guix-git/doc/guix.texi:5805 guix-git/doc/guix.texi:33160
  9819. #, no-wrap
  9820. msgid "--network"
  9821. msgstr ""
  9822. #. type: table
  9823. #: guix-git/doc/guix.texi:5810
  9824. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  9825. msgstr ""
  9826. #. type: item
  9827. #: guix-git/doc/guix.texi:5811
  9828. #, no-wrap
  9829. msgid "--link-profile"
  9830. msgstr ""
  9831. #. type: itemx
  9832. #: guix-git/doc/guix.texi:5812
  9833. #, no-wrap
  9834. msgid "-P"
  9835. msgstr ""
  9836. #. type: table
  9837. #: guix-git/doc/guix.texi:5820
  9838. 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."
  9839. msgstr ""
  9840. #. type: table
  9841. #: guix-git/doc/guix.texi:5826
  9842. 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."
  9843. msgstr ""
  9844. #. type: item
  9845. #: guix-git/doc/guix.texi:5827 guix-git/doc/guix.texi:12612
  9846. #, no-wrap
  9847. msgid "--user=@var{user}"
  9848. msgstr ""
  9849. #. type: itemx
  9850. #: guix-git/doc/guix.texi:5828 guix-git/doc/guix.texi:12613
  9851. #, no-wrap
  9852. msgid "-u @var{user}"
  9853. msgstr ""
  9854. #. type: table
  9855. #: guix-git/doc/guix.texi:5835
  9856. 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."
  9857. msgstr ""
  9858. #. type: table
  9859. #: guix-git/doc/guix.texi:5840
  9860. 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."
  9861. msgstr ""
  9862. #. type: example
  9863. #: guix-git/doc/guix.texi:5847
  9864. #, no-wrap
  9865. msgid ""
  9866. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  9867. "cd $HOME/wd\n"
  9868. "guix environment --container --user=foo \\\n"
  9869. " --expose=$HOME/test \\\n"
  9870. " --expose=/tmp/target=$HOME/target\n"
  9871. msgstr ""
  9872. #. type: table
  9873. #: guix-git/doc/guix.texi:5852
  9874. 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."
  9875. msgstr ""
  9876. #. type: item
  9877. #: guix-git/doc/guix.texi:5853
  9878. #, no-wrap
  9879. msgid "--no-cwd"
  9880. msgstr ""
  9881. #. type: table
  9882. #: guix-git/doc/guix.texi:5860
  9883. 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}."
  9884. msgstr ""
  9885. #. type: item
  9886. #: guix-git/doc/guix.texi:5861
  9887. #, no-wrap
  9888. msgid "--expose=@var{source}[=@var{target}]"
  9889. msgstr ""
  9890. #. type: itemx
  9891. #: guix-git/doc/guix.texi:5862
  9892. #, no-wrap
  9893. msgid "--share=@var{source}[=@var{target}]"
  9894. msgstr ""
  9895. #. type: table
  9896. #: guix-git/doc/guix.texi:5868
  9897. 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."
  9898. msgstr ""
  9899. #. type: table
  9900. #: guix-git/doc/guix.texi:5872
  9901. 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:"
  9902. msgstr ""
  9903. #. type: example
  9904. #: guix-git/doc/guix.texi:5875
  9905. #, no-wrap
  9906. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  9907. msgstr ""
  9908. #. type: Plain text
  9909. #: guix-git/doc/guix.texi:5883
  9910. 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})."
  9911. msgstr ""
  9912. #. type: section
  9913. #: guix-git/doc/guix.texi:5885
  9914. #, no-wrap
  9915. msgid "Invoking @command{guix pack}"
  9916. msgstr ""
  9917. #. type: Plain text
  9918. #: guix-git/doc/guix.texi:5891
  9919. 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."
  9920. msgstr ""
  9921. #. type: quotation
  9922. #: guix-git/doc/guix.texi:5896
  9923. 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}."
  9924. msgstr ""
  9925. #. type: cindex
  9926. #: guix-git/doc/guix.texi:5898
  9927. #, no-wrap
  9928. msgid "pack"
  9929. msgstr ""
  9930. #. type: cindex
  9931. #: guix-git/doc/guix.texi:5899
  9932. #, no-wrap
  9933. msgid "bundle"
  9934. msgstr ""
  9935. #. type: cindex
  9936. #: guix-git/doc/guix.texi:5900
  9937. #, no-wrap
  9938. msgid "application bundle"
  9939. msgstr ""
  9940. #. type: cindex
  9941. #: guix-git/doc/guix.texi:5901
  9942. #, no-wrap
  9943. msgid "software bundle"
  9944. msgstr ""
  9945. #. type: Plain text
  9946. #: guix-git/doc/guix.texi:5910
  9947. 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."
  9948. msgstr ""
  9949. #. type: Plain text
  9950. #: guix-git/doc/guix.texi:5913
  9951. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  9952. msgstr ""
  9953. #. type: example
  9954. #: guix-git/doc/guix.texi:5918
  9955. #, no-wrap
  9956. msgid ""
  9957. "$ guix pack guile emacs geiser\n"
  9958. "@dots{}\n"
  9959. "/gnu/store/@dots{}-pack.tar.gz\n"
  9960. msgstr ""
  9961. #. type: Plain text
  9962. #: guix-git/doc/guix.texi:5926
  9963. 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})."
  9964. msgstr ""
  9965. #. type: Plain text
  9966. #: guix-git/doc/guix.texi:5931
  9967. 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:"
  9968. msgstr ""
  9969. #. type: example
  9970. #: guix-git/doc/guix.texi:5934
  9971. #, no-wrap
  9972. msgid "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n"
  9973. msgstr ""
  9974. #. type: Plain text
  9975. #: guix-git/doc/guix.texi:5938
  9976. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  9977. msgstr ""
  9978. #. type: cindex
  9979. #: guix-git/doc/guix.texi:5939
  9980. #, no-wrap
  9981. msgid "relocatable binaries, with @command{guix pack}"
  9982. msgstr ""
  9983. #. type: Plain text
  9984. #: guix-git/doc/guix.texi:5947
  9985. 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}."
  9986. msgstr ""
  9987. #. type: cindex
  9988. #: guix-git/doc/guix.texi:5948
  9989. #, no-wrap
  9990. msgid "Docker, build an image with guix pack"
  9991. msgstr ""
  9992. #. type: Plain text
  9993. #: guix-git/doc/guix.texi:5951
  9994. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  9995. msgstr ""
  9996. #. type: example
  9997. #: guix-git/doc/guix.texi:5954
  9998. #, no-wrap
  9999. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10000. msgstr ""
  10001. #. type: Plain text
  10002. #: guix-git/doc/guix.texi:5959
  10003. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10004. msgstr ""
  10005. #. type: example
  10006. #: guix-git/doc/guix.texi:5963
  10007. #, no-wrap
  10008. msgid ""
  10009. "docker load < @var{file}\n"
  10010. "docker run -ti guile-guile-readline /bin/guile\n"
  10011. msgstr ""
  10012. #. type: Plain text
  10013. #: guix-git/doc/guix.texi:5970
  10014. 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."
  10015. msgstr ""
  10016. #. type: cindex
  10017. #: guix-git/doc/guix.texi:5971
  10018. #, no-wrap
  10019. msgid "Singularity, build an image with guix pack"
  10020. msgstr ""
  10021. #. type: cindex
  10022. #: guix-git/doc/guix.texi:5972
  10023. #, no-wrap
  10024. msgid "SquashFS, build an image with guix pack"
  10025. msgstr ""
  10026. #. type: Plain text
  10027. #: guix-git/doc/guix.texi:5975
  10028. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10029. msgstr ""
  10030. #. type: example
  10031. #: guix-git/doc/guix.texi:5978
  10032. #, no-wrap
  10033. msgid "guix pack -f squashfs bash guile emacs geiser\n"
  10034. msgstr ""
  10035. #. type: Plain text
  10036. #: guix-git/doc/guix.texi:5986
  10037. 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}."
  10038. msgstr ""
  10039. #. type: Plain text
  10040. #: guix-git/doc/guix.texi:5988
  10041. msgid "Several command-line options allow you to customize your pack:"
  10042. msgstr ""
  10043. #. type: table
  10044. #: guix-git/doc/guix.texi:5993
  10045. msgid "Produce a pack in the given @var{format}."
  10046. msgstr ""
  10047. #. type: table
  10048. #: guix-git/doc/guix.texi:5995
  10049. msgid "The available formats are:"
  10050. msgstr ""
  10051. #. type: item
  10052. #: guix-git/doc/guix.texi:5997
  10053. #, no-wrap
  10054. msgid "tarball"
  10055. msgstr ""
  10056. #. type: table
  10057. #: guix-git/doc/guix.texi:6000
  10058. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10059. msgstr ""
  10060. #. type: item
  10061. #: guix-git/doc/guix.texi:6001
  10062. #, no-wrap
  10063. msgid "docker"
  10064. msgstr ""
  10065. #. type: table
  10066. #: guix-git/doc/guix.texi:6007
  10067. 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."
  10068. msgstr ""
  10069. #. type: item
  10070. #: guix-git/doc/guix.texi:6008
  10071. #, no-wrap
  10072. msgid "squashfs"
  10073. msgstr ""
  10074. #. type: table
  10075. #: guix-git/doc/guix.texi:6012
  10076. 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."
  10077. msgstr ""
  10078. #. type: quotation
  10079. #: guix-git/doc/guix.texi:6018
  10080. 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:"
  10081. msgstr ""
  10082. #. type: example
  10083. #: guix-git/doc/guix.texi:6021
  10084. #, no-wrap
  10085. msgid "guix pack -f squashfs bash @dots{}\n"
  10086. msgstr ""
  10087. #. type: quotation
  10088. #: guix-git/doc/guix.texi:6026
  10089. 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."
  10090. msgstr ""
  10091. #. type: cindex
  10092. #: guix-git/doc/guix.texi:6029
  10093. #, no-wrap
  10094. msgid "relocatable binaries"
  10095. msgstr ""
  10096. #. type: item
  10097. #: guix-git/doc/guix.texi:6030
  10098. #, no-wrap
  10099. msgid "--relocatable"
  10100. msgstr ""
  10101. #. type: table
  10102. #: guix-git/doc/guix.texi:6034
  10103. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10104. msgstr ""
  10105. #. type: table
  10106. #: guix-git/doc/guix.texi:6042
  10107. 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."
  10108. msgstr ""
  10109. #. type: table
  10110. #: guix-git/doc/guix.texi:6044
  10111. msgid "For example, if you create a pack containing Bash with:"
  10112. msgstr ""
  10113. #. type: example
  10114. #: guix-git/doc/guix.texi:6047
  10115. #, no-wrap
  10116. msgid "guix pack -RR -S /mybin=bin bash\n"
  10117. msgstr ""
  10118. #. type: table
  10119. #: guix-git/doc/guix.texi:6052
  10120. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10121. msgstr ""
  10122. #. type: example
  10123. #: guix-git/doc/guix.texi:6056
  10124. #, no-wrap
  10125. msgid ""
  10126. "tar xf pack.tar.gz\n"
  10127. "./mybin/sh\n"
  10128. msgstr ""
  10129. #. type: table
  10130. #: guix-git/doc/guix.texi:6064
  10131. 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."
  10132. msgstr ""
  10133. #. type: quotation
  10134. #: guix-git/doc/guix.texi:6070
  10135. 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."
  10136. msgstr ""
  10137. #. type: quotation
  10138. #: guix-git/doc/guix.texi:6076
  10139. 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:"
  10140. msgstr ""
  10141. #. type: item
  10142. #: guix-git/doc/guix.texi:6078 guix-git/doc/guix.texi:16223
  10143. #, no-wrap
  10144. msgid "default"
  10145. msgstr ""
  10146. #. type: table
  10147. #: guix-git/doc/guix.texi:6081
  10148. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10149. msgstr ""
  10150. #. type: item
  10151. #: guix-git/doc/guix.texi:6082
  10152. #, no-wrap
  10153. msgid "performance"
  10154. msgstr ""
  10155. #. type: table
  10156. #: guix-git/doc/guix.texi:6085
  10157. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10158. msgstr ""
  10159. #. type: item
  10160. #: guix-git/doc/guix.texi:6086
  10161. #, no-wrap
  10162. msgid "userns"
  10163. msgstr ""
  10164. #. type: table
  10165. #: guix-git/doc/guix.texi:6089
  10166. msgid "Run the program through user namespaces and abort if they are not supported."
  10167. msgstr ""
  10168. #. type: item
  10169. #: guix-git/doc/guix.texi:6090
  10170. #, no-wrap
  10171. msgid "proot"
  10172. msgstr ""
  10173. #. type: table
  10174. #: guix-git/doc/guix.texi:6097
  10175. 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."
  10176. msgstr ""
  10177. #. type: item
  10178. #: guix-git/doc/guix.texi:6098
  10179. #, no-wrap
  10180. msgid "fakechroot"
  10181. msgstr ""
  10182. #. type: table
  10183. #: guix-git/doc/guix.texi:6106
  10184. 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."
  10185. msgstr ""
  10186. #. type: vindex
  10187. #: guix-git/doc/guix.texi:6108
  10188. #, no-wrap
  10189. msgid "GUIX_EXECUTION_ENGINE"
  10190. msgstr ""
  10191. #. type: quotation
  10192. #: guix-git/doc/guix.texi:6112
  10193. 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."
  10194. msgstr ""
  10195. #. type: cindex
  10196. #: guix-git/doc/guix.texi:6114
  10197. #, no-wrap
  10198. msgid "entry point, for Docker images"
  10199. msgstr ""
  10200. #. type: item
  10201. #: guix-git/doc/guix.texi:6115
  10202. #, no-wrap
  10203. msgid "--entry-point=@var{command}"
  10204. msgstr ""
  10205. #. type: table
  10206. #: guix-git/doc/guix.texi:6120
  10207. 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."
  10208. msgstr ""
  10209. #. type: table
  10210. #: guix-git/doc/guix.texi:6124
  10211. 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:"
  10212. msgstr ""
  10213. #. type: example
  10214. #: guix-git/doc/guix.texi:6127
  10215. #, no-wrap
  10216. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10217. msgstr ""
  10218. #. type: table
  10219. #: guix-git/doc/guix.texi:6131
  10220. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10221. msgstr ""
  10222. #. type: example
  10223. #: guix-git/doc/guix.texi:6135
  10224. #, no-wrap
  10225. msgid ""
  10226. "docker load -i pack.tar.gz\n"
  10227. "docker run @var{image-id}\n"
  10228. msgstr ""
  10229. #. type: table
  10230. #: guix-git/doc/guix.texi:6140 guix-git/doc/guix.texi:11687
  10231. #: guix-git/doc/guix.texi:12482
  10232. msgid "Consider the package @var{expr} evaluates to."
  10233. msgstr ""
  10234. #. type: table
  10235. #: guix-git/doc/guix.texi:6144
  10236. 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}})."
  10237. msgstr ""
  10238. #. type: table
  10239. #: guix-git/doc/guix.texi:6150
  10240. 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."
  10241. msgstr ""
  10242. #. type: table
  10243. #: guix-git/doc/guix.texi:6158
  10244. 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."
  10245. msgstr ""
  10246. #. type: item
  10247. #: guix-git/doc/guix.texi:6164 guix-git/doc/guix.texi:10827
  10248. #, no-wrap
  10249. msgid "--target=@var{triplet}"
  10250. msgstr ""
  10251. #. type: cindex
  10252. #: guix-git/doc/guix.texi:6165 guix-git/doc/guix.texi:6616
  10253. #: guix-git/doc/guix.texi:10828
  10254. #, no-wrap
  10255. msgid "cross-compilation"
  10256. msgstr ""
  10257. #. type: table
  10258. #: guix-git/doc/guix.texi:6169
  10259. 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})."
  10260. msgstr ""
  10261. #. type: item
  10262. #: guix-git/doc/guix.texi:6170
  10263. #, no-wrap
  10264. msgid "--compression=@var{tool}"
  10265. msgstr ""
  10266. #. type: itemx
  10267. #: guix-git/doc/guix.texi:6171
  10268. #, no-wrap
  10269. msgid "-C @var{tool}"
  10270. msgstr ""
  10271. #. type: table
  10272. #: guix-git/doc/guix.texi:6175
  10273. 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."
  10274. msgstr ""
  10275. #. type: item
  10276. #: guix-git/doc/guix.texi:6176
  10277. #, no-wrap
  10278. msgid "--symlink=@var{spec}"
  10279. msgstr ""
  10280. #. type: itemx
  10281. #: guix-git/doc/guix.texi:6177
  10282. #, no-wrap
  10283. msgid "-S @var{spec}"
  10284. msgstr ""
  10285. #. type: table
  10286. #: guix-git/doc/guix.texi:6180
  10287. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10288. msgstr ""
  10289. #. type: table
  10290. #: guix-git/doc/guix.texi:6184
  10291. 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."
  10292. msgstr ""
  10293. #. type: table
  10294. #: guix-git/doc/guix.texi:6187
  10295. 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."
  10296. msgstr ""
  10297. #. type: item
  10298. #: guix-git/doc/guix.texi:6188 guix-git/doc/guix.texi:33119
  10299. #, no-wrap
  10300. msgid "--save-provenance"
  10301. msgstr ""
  10302. #. type: table
  10303. #: guix-git/doc/guix.texi:6192
  10304. 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})."
  10305. msgstr ""
  10306. #. type: table
  10307. #: guix-git/doc/guix.texi:6198
  10308. 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."
  10309. msgstr ""
  10310. #. type: table
  10311. #: guix-git/doc/guix.texi:6204
  10312. 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."
  10313. msgstr ""
  10314. #. type: cindex
  10315. #: guix-git/doc/guix.texi:6207
  10316. #, no-wrap
  10317. msgid "garbage collector root, for packs"
  10318. msgstr ""
  10319. #. type: table
  10320. #: guix-git/doc/guix.texi:6210
  10321. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  10322. msgstr ""
  10323. #. type: item
  10324. #: guix-git/doc/guix.texi:6211
  10325. #, no-wrap
  10326. msgid "--localstatedir"
  10327. msgstr ""
  10328. #. type: itemx
  10329. #: guix-git/doc/guix.texi:6212
  10330. #, no-wrap
  10331. msgid "--profile-name=@var{name}"
  10332. msgstr ""
  10333. #. type: table
  10334. #: guix-git/doc/guix.texi:6217
  10335. 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}."
  10336. msgstr ""
  10337. #. type: table
  10338. #: guix-git/doc/guix.texi:6223
  10339. 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."
  10340. msgstr ""
  10341. #. type: table
  10342. #: guix-git/doc/guix.texi:6226
  10343. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  10344. msgstr ""
  10345. #. type: item
  10346. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:33113
  10347. #, no-wrap
  10348. msgid "--derivation"
  10349. msgstr ""
  10350. #. type: itemx
  10351. #: guix-git/doc/guix.texi:6228 guix-git/doc/guix.texi:10859
  10352. #: guix-git/doc/guix.texi:33114
  10353. #, no-wrap
  10354. msgid "-d"
  10355. msgstr ""
  10356. #. type: table
  10357. #: guix-git/doc/guix.texi:6230
  10358. msgid "Print the name of the derivation that builds the pack."
  10359. msgstr ""
  10360. #. type: table
  10361. #: guix-git/doc/guix.texi:6234
  10362. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  10363. msgstr ""
  10364. #. type: Plain text
  10365. #: guix-git/doc/guix.texi:6239
  10366. 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})."
  10367. msgstr ""
  10368. #. type: cindex
  10369. #: guix-git/doc/guix.texi:6244
  10370. #, no-wrap
  10371. msgid "GCC"
  10372. msgstr ""
  10373. #. type: cindex
  10374. #: guix-git/doc/guix.texi:6245
  10375. #, no-wrap
  10376. msgid "ld-wrapper"
  10377. msgstr ""
  10378. #. type: cindex
  10379. #: guix-git/doc/guix.texi:6246
  10380. #, no-wrap
  10381. msgid "linker wrapper"
  10382. msgstr ""
  10383. #. type: cindex
  10384. #: guix-git/doc/guix.texi:6247
  10385. #, no-wrap
  10386. msgid "toolchain, for C development"
  10387. msgstr ""
  10388. #. type: cindex
  10389. #: guix-git/doc/guix.texi:6248
  10390. #, no-wrap
  10391. msgid "toolchain, for Fortran development"
  10392. msgstr ""
  10393. #. type: Plain text
  10394. #: guix-git/doc/guix.texi:6255
  10395. 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."
  10396. msgstr ""
  10397. #. type: Plain text
  10398. #: guix-git/doc/guix.texi:6261
  10399. 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}."
  10400. msgstr ""
  10401. #. type: Plain text
  10402. #: guix-git/doc/guix.texi:6265
  10403. 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})."
  10404. msgstr ""
  10405. #. type: section
  10406. #: guix-git/doc/guix.texi:6268
  10407. #, no-wrap
  10408. msgid "Invoking @command{guix git authenticate}"
  10409. msgstr ""
  10410. #. type: Plain text
  10411. #: guix-git/doc/guix.texi:6276
  10412. 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)."
  10413. msgstr ""
  10414. #. type: Plain text
  10415. #: guix-git/doc/guix.texi:6281
  10416. 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."
  10417. msgstr ""
  10418. #. type: example
  10419. #: guix-git/doc/guix.texi:6286
  10420. #, no-wrap
  10421. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  10422. msgstr ""
  10423. #. type: Plain text
  10424. #: guix-git/doc/guix.texi:6295
  10425. 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."
  10426. msgstr ""
  10427. #. type: item
  10428. #: guix-git/doc/guix.texi:6297
  10429. #, no-wrap
  10430. msgid "--repository=@var{directory}"
  10431. msgstr ""
  10432. #. type: itemx
  10433. #: guix-git/doc/guix.texi:6298
  10434. #, no-wrap
  10435. msgid "-r @var{directory}"
  10436. msgstr ""
  10437. #. type: table
  10438. #: guix-git/doc/guix.texi:6301
  10439. msgid "Open the Git repository in @var{directory} instead of the current directory."
  10440. msgstr ""
  10441. #. type: item
  10442. #: guix-git/doc/guix.texi:6302
  10443. #, no-wrap
  10444. msgid "--keyring=@var{reference}"
  10445. msgstr ""
  10446. #. type: itemx
  10447. #: guix-git/doc/guix.texi:6303
  10448. #, no-wrap
  10449. msgid "-k @var{reference}"
  10450. msgstr ""
  10451. #. type: table
  10452. #: guix-git/doc/guix.texi:6309
  10453. 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}."
  10454. msgstr ""
  10455. #. type: item
  10456. #: guix-git/doc/guix.texi:6310
  10457. #, no-wrap
  10458. msgid "--stats"
  10459. msgstr ""
  10460. #. type: table
  10461. #: guix-git/doc/guix.texi:6312
  10462. msgid "Display commit signing statistics upon completion."
  10463. msgstr ""
  10464. #. type: item
  10465. #: guix-git/doc/guix.texi:6313
  10466. #, no-wrap
  10467. msgid "--cache-key=@var{key}"
  10468. msgstr ""
  10469. #. type: table
  10470. #: guix-git/doc/guix.texi:6317
  10471. 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."
  10472. msgstr ""
  10473. #. type: item
  10474. #: guix-git/doc/guix.texi:6318
  10475. #, no-wrap
  10476. msgid "--historical-authorizations=@var{file}"
  10477. msgstr ""
  10478. #. type: table
  10479. #: guix-git/doc/guix.texi:6325
  10480. 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})."
  10481. msgstr ""
  10482. #. type: Plain text
  10483. #: guix-git/doc/guix.texi:6338
  10484. 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."
  10485. msgstr ""
  10486. #. type: Plain text
  10487. #: guix-git/doc/guix.texi:6344
  10488. 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."
  10489. msgstr ""
  10490. #. type: Plain text
  10491. #: guix-git/doc/guix.texi:6353
  10492. 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."
  10493. msgstr ""
  10494. #. type: Plain text
  10495. #: guix-git/doc/guix.texi:6356
  10496. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  10497. msgstr ""
  10498. #. type: menuentry
  10499. #: guix-git/doc/guix.texi:6369
  10500. msgid "Programming Guix in Guile"
  10501. msgstr ""
  10502. #. type: Plain text
  10503. #: guix-git/doc/guix.texi:6385
  10504. 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})."
  10505. msgstr ""
  10506. #. type: Plain text
  10507. #: guix-git/doc/guix.texi:6392
  10508. 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."
  10509. msgstr ""
  10510. #. type: cindex
  10511. #: guix-git/doc/guix.texi:6394
  10512. #, no-wrap
  10513. msgid "package module search path"
  10514. msgstr ""
  10515. #. type: Plain text
  10516. #: guix-git/doc/guix.texi:6403
  10517. 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:"
  10518. msgstr ""
  10519. #. type: enumerate
  10520. #: guix-git/doc/guix.texi:6410
  10521. 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."
  10522. msgstr ""
  10523. #. type: enumerate
  10524. #: guix-git/doc/guix.texi:6416
  10525. 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."
  10526. msgstr ""
  10527. #. type: Plain text
  10528. #: guix-git/doc/guix.texi:6419
  10529. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  10530. msgstr ""
  10531. #. type: defvr
  10532. #: guix-git/doc/guix.texi:6420
  10533. #, no-wrap
  10534. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  10535. msgstr ""
  10536. #. type: defvr
  10537. #: guix-git/doc/guix.texi:6424
  10538. 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."
  10539. msgstr ""
  10540. #. type: Plain text
  10541. #: guix-git/doc/guix.texi:6432
  10542. 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}."
  10543. msgstr ""
  10544. #. type: Plain text
  10545. #: guix-git/doc/guix.texi:6440
  10546. 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:"
  10547. msgstr ""
  10548. #. type: lisp
  10549. #: guix-git/doc/guix.texi:6448
  10550. #, no-wrap
  10551. msgid ""
  10552. "(define-module (gnu packages hello)\n"
  10553. " #:use-module (guix packages)\n"
  10554. " #:use-module (guix download)\n"
  10555. " #:use-module (guix build-system gnu)\n"
  10556. " #:use-module (guix licenses)\n"
  10557. " #:use-module (gnu packages gawk))\n"
  10558. "\n"
  10559. msgstr ""
  10560. #. type: lisp
  10561. #: guix-git/doc/guix.texi:6467
  10562. #, no-wrap
  10563. msgid ""
  10564. "(define-public hello\n"
  10565. " (package\n"
  10566. " (name \"hello\")\n"
  10567. " (version \"2.10\")\n"
  10568. " (source (origin\n"
  10569. " (method url-fetch)\n"
  10570. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  10571. " \".tar.gz\"))\n"
  10572. " (sha256\n"
  10573. " (base32\n"
  10574. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  10575. " (build-system gnu-build-system)\n"
  10576. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  10577. " (inputs `((\"gawk\" ,gawk)))\n"
  10578. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  10579. " (description \"Guess what GNU Hello prints!\")\n"
  10580. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  10581. " (license gpl3+)))\n"
  10582. msgstr ""
  10583. #. type: Plain text
  10584. #: guix-git/doc/guix.texi:6477
  10585. 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\"}."
  10586. msgstr ""
  10587. #. type: Plain text
  10588. #: guix-git/doc/guix.texi:6481
  10589. 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})."
  10590. msgstr ""
  10591. #. type: Plain text
  10592. #: guix-git/doc/guix.texi:6487
  10593. 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})."
  10594. msgstr ""
  10595. #. type: Plain text
  10596. #: guix-git/doc/guix.texi:6489
  10597. msgid "There are a few points worth noting in the above package definition:"
  10598. msgstr ""
  10599. #. type: itemize
  10600. #: guix-git/doc/guix.texi:6496
  10601. 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."
  10602. msgstr ""
  10603. #. type: itemize
  10604. #: guix-git/doc/guix.texi:6499
  10605. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  10606. msgstr ""
  10607. #. type: itemize
  10608. #: guix-git/doc/guix.texi:6506
  10609. 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})."
  10610. msgstr ""
  10611. #. type: cindex
  10612. #: guix-git/doc/guix.texi:6507
  10613. #, no-wrap
  10614. msgid "patches"
  10615. msgstr ""
  10616. #. type: itemize
  10617. #: guix-git/doc/guix.texi:6511
  10618. 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."
  10619. msgstr ""
  10620. #. type: cindex
  10621. #: guix-git/doc/guix.texi:6513
  10622. #, no-wrap
  10623. msgid "GNU Build System"
  10624. msgstr ""
  10625. #. type: itemize
  10626. #: guix-git/doc/guix.texi:6519
  10627. 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."
  10628. msgstr ""
  10629. #. type: itemize
  10630. #: guix-git/doc/guix.texi:6523
  10631. 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."
  10632. msgstr ""
  10633. #. type: itemize
  10634. #: guix-git/doc/guix.texi:6529
  10635. 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."
  10636. msgstr ""
  10637. #. type: findex
  10638. #: guix-git/doc/guix.texi:6530 guix-git/doc/guix.texi:6533
  10639. #, no-wrap
  10640. msgid "quote"
  10641. msgstr ""
  10642. #. type: cindex
  10643. #: guix-git/doc/guix.texi:6531
  10644. #, no-wrap
  10645. msgid "quoting"
  10646. msgstr ""
  10647. #. type: findex
  10648. #: guix-git/doc/guix.texi:6532
  10649. #, no-wrap
  10650. msgid "'"
  10651. msgstr ""
  10652. #. type: itemize
  10653. #: guix-git/doc/guix.texi:6541
  10654. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})."
  10655. msgstr ""
  10656. #. type: itemize
  10657. #: guix-git/doc/guix.texi:6547
  10658. 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})."
  10659. msgstr ""
  10660. #. type: itemize
  10661. #: guix-git/doc/guix.texi:6553
  10662. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we define an input called @code{\"gawk\"} whose value is that of the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  10663. msgstr ""
  10664. #. type: cindex
  10665. #: guix-git/doc/guix.texi:6554
  10666. #, no-wrap
  10667. msgid "backquote (quasiquote)"
  10668. msgstr ""
  10669. #. type: findex
  10670. #: guix-git/doc/guix.texi:6555
  10671. #, no-wrap
  10672. msgid "`"
  10673. msgstr ""
  10674. #. type: findex
  10675. #: guix-git/doc/guix.texi:6556
  10676. #, no-wrap
  10677. msgid "quasiquote"
  10678. msgstr ""
  10679. #. type: cindex
  10680. #: guix-git/doc/guix.texi:6557
  10681. #, no-wrap
  10682. msgid "comma (unquote)"
  10683. msgstr ""
  10684. #. type: findex
  10685. #: guix-git/doc/guix.texi:6558
  10686. #, no-wrap
  10687. msgid ","
  10688. msgstr ""
  10689. #. type: findex
  10690. #: guix-git/doc/guix.texi:6559
  10691. #, no-wrap
  10692. msgid "unquote"
  10693. msgstr ""
  10694. #. type: findex
  10695. #: guix-git/doc/guix.texi:6560
  10696. #, no-wrap
  10697. msgid ",@@"
  10698. msgstr ""
  10699. #. type: findex
  10700. #: guix-git/doc/guix.texi:6561
  10701. #, no-wrap
  10702. msgid "unquote-splicing"
  10703. msgstr ""
  10704. #. type: itemize
  10705. #: guix-git/doc/guix.texi:6567
  10706. msgid "Again, @code{`} (a backquote, synonymous with @code{quasiquote}) allows us to introduce a literal list in the @code{inputs} field, while @code{,} (a comma, synonymous with @code{unquote}) allows us to insert a value in that list (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference Manual})."
  10707. msgstr ""
  10708. #. type: itemize
  10709. #: guix-git/doc/guix.texi:6571
  10710. 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})."
  10711. msgstr ""
  10712. #. type: itemize
  10713. #: guix-git/doc/guix.texi:6575
  10714. 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."
  10715. msgstr ""
  10716. #. type: Plain text
  10717. #: guix-git/doc/guix.texi:6578
  10718. msgid "@xref{package Reference}, for a full description of possible fields."
  10719. msgstr ""
  10720. #. type: Plain text
  10721. #: guix-git/doc/guix.texi:6589
  10722. 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."
  10723. msgstr ""
  10724. #. type: vindex
  10725. #: guix-git/doc/guix.texi:6589
  10726. #, no-wrap
  10727. msgid "GUIX_PACKAGE_PATH"
  10728. msgstr ""
  10729. #. type: Plain text
  10730. #: guix-git/doc/guix.texi:6593
  10731. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  10732. msgstr ""
  10733. #. type: Plain text
  10734. #: guix-git/doc/guix.texi:6597
  10735. 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})."
  10736. msgstr ""
  10737. #. type: Plain text
  10738. #: guix-git/doc/guix.texi:6603
  10739. 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})."
  10740. msgstr ""
  10741. #. type: deffn
  10742. #: guix-git/doc/guix.texi:6604
  10743. #, no-wrap
  10744. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  10745. msgstr ""
  10746. #. type: deffn
  10747. #: guix-git/doc/guix.texi:6607
  10748. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  10749. msgstr ""
  10750. #. type: deffn
  10751. #: guix-git/doc/guix.texi:6613
  10752. 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})."
  10753. msgstr ""
  10754. #. type: Plain text
  10755. #: guix-git/doc/guix.texi:6619
  10756. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  10757. msgstr ""
  10758. #. type: deffn
  10759. #: guix-git/doc/guix.texi:6620
  10760. #, no-wrap
  10761. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  10762. msgstr ""
  10763. #. type: deffn
  10764. #: guix-git/doc/guix.texi:6624
  10765. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  10766. msgstr ""
  10767. #. type: deffn
  10768. #: guix-git/doc/guix.texi:6628
  10769. 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})."
  10770. msgstr ""
  10771. #. type: Plain text
  10772. #: guix-git/doc/guix.texi:6632
  10773. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  10774. msgstr ""
  10775. #. type: subsection
  10776. #: guix-git/doc/guix.texi:6640
  10777. #, no-wrap
  10778. msgid "@code{package} Reference"
  10779. msgstr ""
  10780. #. type: Plain text
  10781. #: guix-git/doc/guix.texi:6644
  10782. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  10783. msgstr ""
  10784. #. type: deftp
  10785. #: guix-git/doc/guix.texi:6645
  10786. #, no-wrap
  10787. msgid "{Data Type} package"
  10788. msgstr ""
  10789. #. type: deftp
  10790. #: guix-git/doc/guix.texi:6647
  10791. msgid "This is the data type representing a package recipe."
  10792. msgstr ""
  10793. #. type: table
  10794. #: guix-git/doc/guix.texi:6651
  10795. msgid "The name of the package, as a string."
  10796. msgstr ""
  10797. #. type: code{#1}
  10798. #: guix-git/doc/guix.texi:6652
  10799. #, no-wrap
  10800. msgid "version"
  10801. msgstr ""
  10802. #. type: table
  10803. #: guix-git/doc/guix.texi:6654
  10804. msgid "The version of the package, as a string."
  10805. msgstr ""
  10806. #. type: code{#1}
  10807. #: guix-git/doc/guix.texi:6655 guix-git/doc/guix.texi:11958
  10808. #: guix-git/doc/guix.texi:14203 guix-git/doc/guix.texi:14706
  10809. #, no-wrap
  10810. msgid "source"
  10811. msgstr ""
  10812. #. type: table
  10813. #: guix-git/doc/guix.texi:6662
  10814. 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}})."
  10815. msgstr ""
  10816. #. type: code{#1}
  10817. #: guix-git/doc/guix.texi:6663
  10818. #, no-wrap
  10819. msgid "build-system"
  10820. msgstr ""
  10821. #. type: table
  10822. #: guix-git/doc/guix.texi:6666
  10823. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  10824. msgstr ""
  10825. #. type: item
  10826. #: guix-git/doc/guix.texi:6667 guix-git/doc/guix.texi:16669
  10827. #, no-wrap
  10828. msgid "@code{arguments} (default: @code{'()})"
  10829. msgstr ""
  10830. #. type: table
  10831. #: guix-git/doc/guix.texi:6670
  10832. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  10833. msgstr ""
  10834. #. type: item
  10835. #: guix-git/doc/guix.texi:6671
  10836. #, no-wrap
  10837. msgid "@code{inputs} (default: @code{'()})"
  10838. msgstr ""
  10839. #. type: itemx
  10840. #: guix-git/doc/guix.texi:6672
  10841. #, no-wrap
  10842. msgid "@code{native-inputs} (default: @code{'()})"
  10843. msgstr ""
  10844. #. type: itemx
  10845. #: guix-git/doc/guix.texi:6673
  10846. #, no-wrap
  10847. msgid "@code{propagated-inputs} (default: @code{'()})"
  10848. msgstr ""
  10849. #. type: cindex
  10850. #: guix-git/doc/guix.texi:6674
  10851. #, no-wrap
  10852. msgid "inputs, of packages"
  10853. msgstr ""
  10854. #. type: table
  10855. #: guix-git/doc/guix.texi:6682
  10856. msgid "These fields list dependencies of the package. Each one is a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"} (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  10857. msgstr ""
  10858. #. type: lisp
  10859. #: guix-git/doc/guix.texi:6687
  10860. #, no-wrap
  10861. msgid ""
  10862. "`((\"libffi\" ,libffi)\n"
  10863. " (\"libunistring\" ,libunistring)\n"
  10864. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  10865. msgstr ""
  10866. #. type: cindex
  10867. #: guix-git/doc/guix.texi:6689
  10868. #, no-wrap
  10869. msgid "cross compilation, package dependencies"
  10870. msgstr ""
  10871. #. type: table
  10872. #: guix-git/doc/guix.texi:6695
  10873. 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."
  10874. msgstr ""
  10875. #. type: table
  10876. #: guix-git/doc/guix.texi:6700
  10877. 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})."
  10878. msgstr ""
  10879. #. type: anchor{#1}
  10880. #: guix-git/doc/guix.texi:6708
  10881. msgid "package-propagated-inputs"
  10882. msgstr ""
  10883. #. type: table
  10884. #: guix-git/doc/guix.texi:6708
  10885. 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)."
  10886. msgstr ""
  10887. #. type: table
  10888. #: guix-git/doc/guix.texi:6712
  10889. 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."
  10890. msgstr ""
  10891. #. type: table
  10892. #: guix-git/doc/guix.texi:6719
  10893. 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}."
  10894. msgstr ""
  10895. #. type: item
  10896. #: guix-git/doc/guix.texi:6720
  10897. #, no-wrap
  10898. msgid "@code{outputs} (default: @code{'(\"out\")})"
  10899. msgstr ""
  10900. #. type: table
  10901. #: guix-git/doc/guix.texi:6723
  10902. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  10903. msgstr ""
  10904. #. type: item
  10905. #: guix-git/doc/guix.texi:6724
  10906. #, no-wrap
  10907. msgid "@code{native-search-paths} (default: @code{'()})"
  10908. msgstr ""
  10909. #. type: itemx
  10910. #: guix-git/doc/guix.texi:6725
  10911. #, no-wrap
  10912. msgid "@code{search-paths} (default: @code{'()})"
  10913. msgstr ""
  10914. #. type: table
  10915. #: guix-git/doc/guix.texi:6728
  10916. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  10917. msgstr ""
  10918. #. type: item
  10919. #: guix-git/doc/guix.texi:6729
  10920. #, no-wrap
  10921. msgid "@code{replacement} (default: @code{#f})"
  10922. msgstr ""
  10923. #. type: table
  10924. #: guix-git/doc/guix.texi:6733
  10925. 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."
  10926. msgstr ""
  10927. #. type: item
  10928. #: guix-git/doc/guix.texi:6734 guix-git/doc/guix.texi:11950
  10929. #, no-wrap
  10930. msgid "synopsis"
  10931. msgstr ""
  10932. #. type: table
  10933. #: guix-git/doc/guix.texi:6736
  10934. msgid "A one-line description of the package."
  10935. msgstr ""
  10936. #. type: code{#1}
  10937. #: guix-git/doc/guix.texi:6737 guix-git/doc/guix.texi:11951
  10938. #: guix-git/doc/guix.texi:33811 guix-git/doc/guix.texi:33962
  10939. #, no-wrap
  10940. msgid "description"
  10941. msgstr ""
  10942. #. type: table
  10943. #: guix-git/doc/guix.texi:6739
  10944. msgid "A more elaborate description of the package."
  10945. msgstr ""
  10946. #. type: code{#1}
  10947. #: guix-git/doc/guix.texi:6740
  10948. #, no-wrap
  10949. msgid "license"
  10950. msgstr ""
  10951. #. type: cindex
  10952. #: guix-git/doc/guix.texi:6741
  10953. #, no-wrap
  10954. msgid "license, of packages"
  10955. msgstr ""
  10956. #. type: table
  10957. #: guix-git/doc/guix.texi:6744
  10958. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  10959. msgstr ""
  10960. #. type: itemx
  10961. #: guix-git/doc/guix.texi:6745 guix-git/doc/guix.texi:11959
  10962. #, no-wrap
  10963. msgid "home-page"
  10964. msgstr ""
  10965. #. type: table
  10966. #: guix-git/doc/guix.texi:6747
  10967. msgid "The URL to the home-page of the package, as a string."
  10968. msgstr ""
  10969. #. type: item
  10970. #: guix-git/doc/guix.texi:6748
  10971. #, no-wrap
  10972. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  10973. msgstr ""
  10974. #. type: table
  10975. #: guix-git/doc/guix.texi:6751
  10976. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  10977. msgstr ""
  10978. #. type: item
  10979. #: guix-git/doc/guix.texi:6752
  10980. #, no-wrap
  10981. msgid "@code{location} (default: source location of the @code{package} form)"
  10982. msgstr ""
  10983. #. type: table
  10984. #: guix-git/doc/guix.texi:6756
  10985. 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."
  10986. msgstr ""
  10987. #. type: deffn
  10988. #: guix-git/doc/guix.texi:6759
  10989. #, no-wrap
  10990. msgid "{Scheme Syntax} this-package"
  10991. msgstr ""
  10992. #. type: deffn
  10993. #: guix-git/doc/guix.texi:6762
  10994. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  10995. msgstr ""
  10996. #. type: deffn
  10997. #: guix-git/doc/guix.texi:6765
  10998. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  10999. msgstr ""
  11000. #. type: lisp
  11001. #: guix-git/doc/guix.texi:6770
  11002. #, no-wrap
  11003. msgid ""
  11004. "(package\n"
  11005. " (name \"guile\")\n"
  11006. " ;; ...\n"
  11007. "\n"
  11008. msgstr ""
  11009. #. type: lisp
  11010. #: guix-git/doc/guix.texi:6776
  11011. #, no-wrap
  11012. msgid ""
  11013. " ;; When cross-compiled, Guile, for example, depends on\n"
  11014. " ;; a native version of itself. Add it here.\n"
  11015. " (native-inputs (if (%current-target-system)\n"
  11016. " `((\"self\" ,this-package))\n"
  11017. " '())))\n"
  11018. msgstr ""
  11019. #. type: deffn
  11020. #: guix-git/doc/guix.texi:6779
  11021. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11022. msgstr ""
  11023. #. type: Plain text
  11024. #: guix-git/doc/guix.texi:6785
  11025. 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."
  11026. msgstr ""
  11027. #. type: cindex
  11028. #: guix-git/doc/guix.texi:6786
  11029. #, no-wrap
  11030. msgid "tool chain, choosing a package's tool chain"
  11031. msgstr ""
  11032. #. type: deffn
  11033. #: guix-git/doc/guix.texi:6787
  11034. #, no-wrap
  11035. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11036. msgstr ""
  11037. #. type: deffn
  11038. #: guix-git/doc/guix.texi:6792
  11039. 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."
  11040. msgstr ""
  11041. #. type: deffn
  11042. #: guix-git/doc/guix.texi:6796
  11043. 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:"
  11044. msgstr ""
  11045. #. type: lisp
  11046. #: guix-git/doc/guix.texi:6800
  11047. #, no-wrap
  11048. msgid ""
  11049. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11050. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11051. msgstr ""
  11052. #. type: deffn
  11053. #: guix-git/doc/guix.texi:6808
  11054. 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."
  11055. msgstr ""
  11056. #. type: subsection
  11057. #: guix-git/doc/guix.texi:6811
  11058. #, no-wrap
  11059. msgid "@code{origin} Reference"
  11060. msgstr ""
  11061. #. type: Plain text
  11062. #: guix-git/doc/guix.texi:6819
  11063. 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."
  11064. msgstr ""
  11065. #. type: deftp
  11066. #: guix-git/doc/guix.texi:6820
  11067. #, no-wrap
  11068. msgid "{Data Type} origin"
  11069. msgstr ""
  11070. #. type: deftp
  11071. #: guix-git/doc/guix.texi:6822
  11072. msgid "This is the data type representing a source code origin."
  11073. msgstr ""
  11074. #. type: code{#1}
  11075. #: guix-git/doc/guix.texi:6824 guix-git/doc/guix.texi:24843
  11076. #, no-wrap
  11077. msgid "uri"
  11078. msgstr ""
  11079. #. type: table
  11080. #: guix-git/doc/guix.texi:6829
  11081. 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."
  11082. msgstr ""
  11083. #. type: cindex
  11084. #: guix-git/doc/guix.texi:6830
  11085. #, no-wrap
  11086. msgid "fixed-output derivations, for download"
  11087. msgstr ""
  11088. #. type: code{#1}
  11089. #: guix-git/doc/guix.texi:6831
  11090. #, no-wrap
  11091. msgid "method"
  11092. msgstr ""
  11093. #. type: table
  11094. #: guix-git/doc/guix.texi:6838
  11095. 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})."
  11096. msgstr ""
  11097. #. type: table
  11098. #: guix-git/doc/guix.texi:6842
  11099. 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)."
  11100. msgstr ""
  11101. #. type: code{#1}
  11102. #: guix-git/doc/guix.texi:6843
  11103. #, no-wrap
  11104. msgid "sha256"
  11105. msgstr ""
  11106. #. type: table
  11107. #: guix-git/doc/guix.texi:6847
  11108. 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."
  11109. msgstr ""
  11110. #. type: code{#1}
  11111. #: guix-git/doc/guix.texi:6848
  11112. #, no-wrap
  11113. msgid "hash"
  11114. msgstr ""
  11115. #. type: table
  11116. #: guix-git/doc/guix.texi:6851
  11117. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11118. msgstr ""
  11119. #. type: table
  11120. #: guix-git/doc/guix.texi:6855
  11121. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11122. msgstr ""
  11123. #. type: item
  11124. #: guix-git/doc/guix.texi:6856
  11125. #, no-wrap
  11126. msgid "@code{file-name} (default: @code{#f})"
  11127. msgstr ""
  11128. #. type: table
  11129. #: guix-git/doc/guix.texi:6862
  11130. 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."
  11131. msgstr ""
  11132. #. type: item
  11133. #: guix-git/doc/guix.texi:6863
  11134. #, no-wrap
  11135. msgid "@code{patches} (default: @code{'()})"
  11136. msgstr ""
  11137. #. type: table
  11138. #: guix-git/doc/guix.texi:6866
  11139. 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."
  11140. msgstr ""
  11141. #. type: table
  11142. #: guix-git/doc/guix.texi:6870
  11143. 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}."
  11144. msgstr ""
  11145. #. type: item
  11146. #: guix-git/doc/guix.texi:6871
  11147. #, no-wrap
  11148. msgid "@code{snippet} (default: @code{#f})"
  11149. msgstr ""
  11150. #. type: table
  11151. #: guix-git/doc/guix.texi:6875
  11152. 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."
  11153. msgstr ""
  11154. #. type: item
  11155. #: guix-git/doc/guix.texi:6876
  11156. #, no-wrap
  11157. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11158. msgstr ""
  11159. #. type: table
  11160. #: guix-git/doc/guix.texi:6879
  11161. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11162. msgstr ""
  11163. #. type: item
  11164. #: guix-git/doc/guix.texi:6880
  11165. #, no-wrap
  11166. msgid "@code{patch-inputs} (default: @code{#f})"
  11167. msgstr ""
  11168. #. type: table
  11169. #: guix-git/doc/guix.texi:6884
  11170. 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."
  11171. msgstr ""
  11172. #. type: item
  11173. #: guix-git/doc/guix.texi:6885 guix-git/doc/guix.texi:24716
  11174. #, no-wrap
  11175. msgid "@code{modules} (default: @code{'()})"
  11176. msgstr ""
  11177. #. type: table
  11178. #: guix-git/doc/guix.texi:6888
  11179. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11180. msgstr ""
  11181. #. type: item
  11182. #: guix-git/doc/guix.texi:6889
  11183. #, no-wrap
  11184. msgid "@code{patch-guile} (default: @code{#f})"
  11185. msgstr ""
  11186. #. type: table
  11187. #: guix-git/doc/guix.texi:6892
  11188. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11189. msgstr ""
  11190. #. type: deftp
  11191. #: guix-git/doc/guix.texi:6895
  11192. #, no-wrap
  11193. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11194. msgstr ""
  11195. #. type: deftp
  11196. #: guix-git/doc/guix.texi:6899
  11197. 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}."
  11198. msgstr ""
  11199. #. type: deftp
  11200. #: guix-git/doc/guix.texi:6902
  11201. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11202. msgstr ""
  11203. #. type: deftp
  11204. #: guix-git/doc/guix.texi:6904
  11205. msgid "The following forms are all equivalent:"
  11206. msgstr ""
  11207. #. type: lisp
  11208. #: guix-git/doc/guix.texi:6913
  11209. #, no-wrap
  11210. msgid ""
  11211. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11212. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11213. " sha256)\n"
  11214. "(content-hash (base32\n"
  11215. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11216. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11217. " sha256)\n"
  11218. msgstr ""
  11219. #. type: deftp
  11220. #: guix-git/doc/guix.texi:6918
  11221. 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}."
  11222. msgstr ""
  11223. #. type: Plain text
  11224. #: guix-git/doc/guix.texi:6924
  11225. 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."
  11226. msgstr ""
  11227. #. type: deffn
  11228. #: guix-git/doc/guix.texi:6925
  11229. #, no-wrap
  11230. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11231. msgstr ""
  11232. #. type: deffn
  11233. #: guix-git/doc/guix.texi:6933
  11234. 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."
  11235. msgstr ""
  11236. #. type: deffn
  11237. #: guix-git/doc/guix.texi:6936
  11238. 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}."
  11239. msgstr ""
  11240. #. type: deffn
  11241. #: guix-git/doc/guix.texi:6939
  11242. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11243. msgstr ""
  11244. #. type: Plain text
  11245. #: guix-git/doc/guix.texi:6945
  11246. 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."
  11247. msgstr ""
  11248. #. type: deffn
  11249. #: guix-git/doc/guix.texi:6946
  11250. #, no-wrap
  11251. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11252. msgstr ""
  11253. #. type: deffn
  11254. #: guix-git/doc/guix.texi:6951
  11255. 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}."
  11256. msgstr ""
  11257. #. type: deftp
  11258. #: guix-git/doc/guix.texi:6953
  11259. #, no-wrap
  11260. msgid "{Data Type} git-reference"
  11261. msgstr ""
  11262. #. type: deftp
  11263. #: guix-git/doc/guix.texi:6956
  11264. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11265. msgstr ""
  11266. #. type: code{#1}
  11267. #: guix-git/doc/guix.texi:6958 guix-git/doc/guix.texi:22478
  11268. #, no-wrap
  11269. msgid "url"
  11270. msgstr ""
  11271. #. type: table
  11272. #: guix-git/doc/guix.texi:6960
  11273. msgid "The URL of the Git repository to clone."
  11274. msgstr ""
  11275. #. type: code{#1}
  11276. #: guix-git/doc/guix.texi:6961
  11277. #, no-wrap
  11278. msgid "commit"
  11279. msgstr ""
  11280. #. type: table
  11281. #: guix-git/doc/guix.texi:6965
  11282. msgid "This string denotes either the commit to fetch (a hexadecimal string, either the full SHA1 commit or a ``short'' commit string; the latter is not recommended) or the tag to fetch."
  11283. msgstr ""
  11284. #. type: item
  11285. #: guix-git/doc/guix.texi:6966
  11286. #, no-wrap
  11287. msgid "@code{recursive?} (default: @code{#f})"
  11288. msgstr ""
  11289. #. type: table
  11290. #: guix-git/doc/guix.texi:6968
  11291. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  11292. msgstr ""
  11293. #. type: deftp
  11294. #: guix-git/doc/guix.texi:6972
  11295. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  11296. msgstr ""
  11297. #. type: lisp
  11298. #: guix-git/doc/guix.texi:6977
  11299. #, no-wrap
  11300. msgid ""
  11301. "(git-reference\n"
  11302. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11303. " (commit \"v2.10\"))\n"
  11304. msgstr ""
  11305. #. type: deftp
  11306. #: guix-git/doc/guix.texi:6981
  11307. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  11308. msgstr ""
  11309. #. type: lisp
  11310. #: guix-git/doc/guix.texi:6986
  11311. #, no-wrap
  11312. msgid ""
  11313. "(git-reference\n"
  11314. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11315. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  11316. msgstr ""
  11317. #. type: Plain text
  11318. #: guix-git/doc/guix.texi:6992
  11319. 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."
  11320. msgstr ""
  11321. #. type: deffn
  11322. #: guix-git/doc/guix.texi:6993
  11323. #, no-wrap
  11324. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  11325. msgstr ""
  11326. #. type: deffn
  11327. #: guix-git/doc/guix.texi:6999
  11328. 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}."
  11329. msgstr ""
  11330. #. type: cindex
  11331. #: guix-git/doc/guix.texi:7004
  11332. #, no-wrap
  11333. msgid "customizing packages"
  11334. msgstr ""
  11335. #. type: cindex
  11336. #: guix-git/doc/guix.texi:7005
  11337. #, no-wrap
  11338. msgid "variants, of packages"
  11339. msgstr ""
  11340. #. type: Plain text
  11341. #: guix-git/doc/guix.texi:7015
  11342. 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!"
  11343. msgstr ""
  11344. #. type: cindex
  11345. #: guix-git/doc/guix.texi:7016
  11346. #, no-wrap
  11347. msgid "inherit, for package definitions"
  11348. msgstr ""
  11349. #. type: Plain text
  11350. #: guix-git/doc/guix.texi:7023
  11351. 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."
  11352. msgstr ""
  11353. #. type: Plain text
  11354. #: guix-git/doc/guix.texi:7028
  11355. 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!):"
  11356. msgstr ""
  11357. #. type: lisp
  11358. #: guix-git/doc/guix.texi:7031
  11359. #, no-wrap
  11360. msgid ""
  11361. "(use-modules (gnu packages base)) ;for 'hello'\n"
  11362. "\n"
  11363. msgstr ""
  11364. #. type: lisp
  11365. #: guix-git/doc/guix.texi:7043
  11366. #, no-wrap
  11367. msgid ""
  11368. "(define hello-2.2\n"
  11369. " (package\n"
  11370. " (inherit hello)\n"
  11371. " (version \"2.2\")\n"
  11372. " (source (origin\n"
  11373. " (method url-fetch)\n"
  11374. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11375. " \".tar.gz\"))\n"
  11376. " (sha256\n"
  11377. " (base32\n"
  11378. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  11379. msgstr ""
  11380. #. type: Plain text
  11381. #: guix-git/doc/guix.texi:7052
  11382. 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."
  11383. msgstr ""
  11384. #. type: Plain text
  11385. #: guix-git/doc/guix.texi:7058
  11386. 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:"
  11387. msgstr ""
  11388. #. type: lisp
  11389. #: guix-git/doc/guix.texi:7062
  11390. #, no-wrap
  11391. msgid ""
  11392. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  11393. " (srfi srfi-1)) ;for 'alist-delete'\n"
  11394. "\n"
  11395. msgstr ""
  11396. #. type: lisp
  11397. #: guix-git/doc/guix.texi:7068
  11398. #, no-wrap
  11399. msgid ""
  11400. "(define gdb-sans-guile\n"
  11401. " (package\n"
  11402. " (inherit gdb)\n"
  11403. " (inputs (alist-delete \"guile\"\n"
  11404. " (package-inputs gdb)))))\n"
  11405. msgstr ""
  11406. #. type: Plain text
  11407. #: guix-git/doc/guix.texi:7074
  11408. msgid "The @code{alist-delete} call above removes the tuple from the @code{inputs} field that has @code{\"guile\"} as its first element (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual})."
  11409. msgstr ""
  11410. #. type: Plain text
  11411. #: guix-git/doc/guix.texi:7082
  11412. 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:"
  11413. msgstr ""
  11414. #. type: lisp
  11415. #: guix-git/doc/guix.texi:7093
  11416. #, no-wrap
  11417. msgid ""
  11418. "(define (make-lua-socket name lua)\n"
  11419. " ;; Return a luasocket package built with LUA.\n"
  11420. " (package\n"
  11421. " (name name)\n"
  11422. " (version \"3.0\")\n"
  11423. " ;; several fields omitted\n"
  11424. " (inputs\n"
  11425. " `((\"lua\" ,lua)))\n"
  11426. " (synopsis \"Socket library for Lua\")))\n"
  11427. "\n"
  11428. msgstr ""
  11429. #. type: lisp
  11430. #: guix-git/doc/guix.texi:7096
  11431. #, no-wrap
  11432. msgid ""
  11433. "(define-public lua5.1-socket\n"
  11434. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  11435. "\n"
  11436. msgstr ""
  11437. #. type: lisp
  11438. #: guix-git/doc/guix.texi:7099
  11439. #, no-wrap
  11440. msgid ""
  11441. "(define-public lua5.2-socket\n"
  11442. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  11443. msgstr ""
  11444. #. type: Plain text
  11445. #: guix-git/doc/guix.texi:7107
  11446. 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})."
  11447. msgstr ""
  11448. #. type: cindex
  11449. #: guix-git/doc/guix.texi:7108
  11450. #, no-wrap
  11451. msgid "package transformations"
  11452. msgstr ""
  11453. #. type: Plain text
  11454. #: guix-git/doc/guix.texi:7113
  11455. 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}):"
  11456. msgstr ""
  11457. #. type: deffn
  11458. #: guix-git/doc/guix.texi:7114
  11459. #, no-wrap
  11460. msgid "{Scheme Procedure} options->transformation @var{opts}"
  11461. msgstr ""
  11462. #. type: deffn
  11463. #: guix-git/doc/guix.texi:7118
  11464. 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:"
  11465. msgstr ""
  11466. #. type: lisp
  11467. #: guix-git/doc/guix.texi:7122
  11468. #, no-wrap
  11469. msgid ""
  11470. "((with-branch . \"guile-gcrypt=master\")\n"
  11471. " (without-tests . \"libgcrypt\"))\n"
  11472. msgstr ""
  11473. #. type: deffn
  11474. #: guix-git/doc/guix.texi:7126
  11475. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  11476. msgstr ""
  11477. #. type: Plain text
  11478. #: guix-git/doc/guix.texi:7129
  11479. msgid "For instance, a manifest equivalent to this command:"
  11480. msgstr ""
  11481. #. type: example
  11482. #: guix-git/doc/guix.texi:7134
  11483. #, no-wrap
  11484. msgid ""
  11485. "guix build guix \\\n"
  11486. " --with-branch=guile-gcrypt=master \\\n"
  11487. " --with-debug-info=zlib\n"
  11488. msgstr ""
  11489. #. type: Plain text
  11490. #: guix-git/doc/guix.texi:7138
  11491. msgid "... would look like this:"
  11492. msgstr ""
  11493. #. type: lisp
  11494. #: guix-git/doc/guix.texi:7141
  11495. #, no-wrap
  11496. msgid ""
  11497. "(use-modules (guix transformations))\n"
  11498. "\n"
  11499. msgstr ""
  11500. #. type: lisp
  11501. #: guix-git/doc/guix.texi:7147
  11502. #, no-wrap
  11503. msgid ""
  11504. "(define transform\n"
  11505. " ;; The package transformation procedure.\n"
  11506. " (options->transformation\n"
  11507. " '((with-branch . \"guile-gcrypt=master\")\n"
  11508. " (with-debug-info . \"zlib\"))))\n"
  11509. "\n"
  11510. msgstr ""
  11511. #. type: lisp
  11512. #: guix-git/doc/guix.texi:7150
  11513. #, no-wrap
  11514. msgid ""
  11515. "(packages->manifest\n"
  11516. " (list (transform (specification->package \"guix\"))))\n"
  11517. msgstr ""
  11518. #. type: cindex
  11519. #: guix-git/doc/guix.texi:7152
  11520. #, no-wrap
  11521. msgid "input rewriting"
  11522. msgstr ""
  11523. #. type: cindex
  11524. #: guix-git/doc/guix.texi:7153
  11525. #, no-wrap
  11526. msgid "dependency graph rewriting"
  11527. msgstr ""
  11528. #. type: Plain text
  11529. #: guix-git/doc/guix.texi:7160
  11530. 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."
  11531. msgstr ""
  11532. #. type: Plain text
  11533. #: guix-git/doc/guix.texi:7164
  11534. 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."
  11535. msgstr ""
  11536. #. type: deffn
  11537. #: guix-git/doc/guix.texi:7165
  11538. #, no-wrap
  11539. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  11540. msgstr ""
  11541. #. type: deffn
  11542. #: guix-git/doc/guix.texi:7172
  11543. 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."
  11544. msgstr ""
  11545. #. type: deffn
  11546. #: guix-git/doc/guix.texi:7175
  11547. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  11548. msgstr ""
  11549. #. type: table
  11550. #: guix-git/doc/guix.texi:7179 guix-git/doc/guix.texi:10505
  11551. msgid "Consider this example:"
  11552. msgstr ""
  11553. #. type: lisp
  11554. #: guix-git/doc/guix.texi:7185
  11555. #, no-wrap
  11556. msgid ""
  11557. "(define libressl-instead-of-openssl\n"
  11558. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  11559. " ;; recursively.\n"
  11560. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  11561. "\n"
  11562. msgstr ""
  11563. #. type: lisp
  11564. #: guix-git/doc/guix.texi:7188
  11565. #, no-wrap
  11566. msgid ""
  11567. "(define git-with-libressl\n"
  11568. " (libressl-instead-of-openssl git))\n"
  11569. msgstr ""
  11570. #. type: Plain text
  11571. #: guix-git/doc/guix.texi:7196
  11572. 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}})."
  11573. msgstr ""
  11574. #. type: Plain text
  11575. #: guix-git/doc/guix.texi:7199
  11576. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  11577. msgstr ""
  11578. #. type: deffn
  11579. #: guix-git/doc/guix.texi:7200
  11580. #, no-wrap
  11581. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  11582. msgstr ""
  11583. #. type: deffn
  11584. #: guix-git/doc/guix.texi:7207
  11585. 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."
  11586. msgstr ""
  11587. #. type: Plain text
  11588. #: guix-git/doc/guix.texi:7210
  11589. msgid "The example above could be rewritten this way:"
  11590. msgstr ""
  11591. #. type: lisp
  11592. #: guix-git/doc/guix.texi:7215
  11593. #, no-wrap
  11594. msgid ""
  11595. "(define libressl-instead-of-openssl\n"
  11596. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  11597. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  11598. msgstr ""
  11599. #. type: Plain text
  11600. #: guix-git/doc/guix.texi:7220
  11601. 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."
  11602. msgstr ""
  11603. #. type: Plain text
  11604. #: guix-git/doc/guix.texi:7224
  11605. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  11606. msgstr ""
  11607. #. type: deffn
  11608. #: guix-git/doc/guix.texi:7225
  11609. #, no-wrap
  11610. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  11611. msgstr ""
  11612. #. type: deffn
  11613. #: guix-git/doc/guix.texi:7230
  11614. 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."
  11615. msgstr ""
  11616. #. type: cindex
  11617. #: guix-git/doc/guix.texi:7236
  11618. #, no-wrap
  11619. msgid "build system"
  11620. msgstr ""
  11621. #. type: Plain text
  11622. #: guix-git/doc/guix.texi:7241
  11623. 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."
  11624. msgstr ""
  11625. #. type: Plain text
  11626. #: guix-git/doc/guix.texi:7245
  11627. 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."
  11628. msgstr ""
  11629. #. type: cindex
  11630. #: guix-git/doc/guix.texi:7246
  11631. #, no-wrap
  11632. msgid "bag (low-level package representation)"
  11633. msgstr ""
  11634. #. type: Plain text
  11635. #: guix-git/doc/guix.texi:7256
  11636. 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}})."
  11637. msgstr ""
  11638. #. type: Plain text
  11639. #: guix-git/doc/guix.texi:7264
  11640. 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})."
  11641. msgstr ""
  11642. #. type: Plain text
  11643. #: guix-git/doc/guix.texi:7268
  11644. 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."
  11645. msgstr ""
  11646. #. type: defvr
  11647. #: guix-git/doc/guix.texi:7269
  11648. #, no-wrap
  11649. msgid "{Scheme Variable} gnu-build-system"
  11650. msgstr ""
  11651. #. type: defvr
  11652. #: guix-git/doc/guix.texi:7273
  11653. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  11654. msgstr ""
  11655. #. type: cindex
  11656. #: guix-git/doc/guix.texi:7274 guix-git/doc/guix.texi:8200
  11657. #: guix-git/doc/guix.texi:8655
  11658. #, no-wrap
  11659. msgid "build phases"
  11660. msgstr ""
  11661. #. type: defvr
  11662. #: guix-git/doc/guix.texi:7281
  11663. 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."
  11664. msgstr ""
  11665. #. type: defvr
  11666. #: guix-git/doc/guix.texi:7288
  11667. 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."
  11668. msgstr ""
  11669. #. type: defvr
  11670. #: guix-git/doc/guix.texi:7292
  11671. 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:"
  11672. msgstr ""
  11673. #. type: item
  11674. #: guix-git/doc/guix.texi:7294
  11675. #, no-wrap
  11676. msgid "#:phases"
  11677. msgstr ""
  11678. #. type: table
  11679. #: guix-git/doc/guix.texi:7297
  11680. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  11681. msgstr ""
  11682. #. type: item
  11683. #: guix-git/doc/guix.texi:7298
  11684. #, no-wrap
  11685. msgid "#:configure-flags"
  11686. msgstr ""
  11687. #. type: table
  11688. #: guix-git/doc/guix.texi:7301
  11689. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  11690. msgstr ""
  11691. #. type: item
  11692. #: guix-git/doc/guix.texi:7302
  11693. #, no-wrap
  11694. msgid "#:make-flags"
  11695. msgstr ""
  11696. #. type: table
  11697. #: guix-git/doc/guix.texi:7306
  11698. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  11699. msgstr ""
  11700. #. type: item
  11701. #: guix-git/doc/guix.texi:7307
  11702. #, no-wrap
  11703. msgid "#:out-of-source?"
  11704. msgstr ""
  11705. #. type: table
  11706. #: guix-git/doc/guix.texi:7310
  11707. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  11708. msgstr ""
  11709. #. type: table
  11710. #: guix-git/doc/guix.texi:7315
  11711. 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}."
  11712. msgstr ""
  11713. #. type: item
  11714. #: guix-git/doc/guix.texi:7316
  11715. #, no-wrap
  11716. msgid "#:tests?"
  11717. msgstr ""
  11718. #. type: table
  11719. #: guix-git/doc/guix.texi:7319
  11720. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  11721. msgstr ""
  11722. #. type: item
  11723. #: guix-git/doc/guix.texi:7320
  11724. #, no-wrap
  11725. msgid "#:test-target"
  11726. msgstr ""
  11727. #. type: table
  11728. #: guix-git/doc/guix.texi:7323
  11729. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  11730. msgstr ""
  11731. #. type: item
  11732. #: guix-git/doc/guix.texi:7324
  11733. #, no-wrap
  11734. msgid "#:parallel-build?"
  11735. msgstr ""
  11736. #. type: itemx
  11737. #: guix-git/doc/guix.texi:7325
  11738. #, no-wrap
  11739. msgid "#:parallel-tests?"
  11740. msgstr ""
  11741. #. type: table
  11742. #: guix-git/doc/guix.texi:7332
  11743. 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}})."
  11744. msgstr ""
  11745. #. type: cindex
  11746. #: guix-git/doc/guix.texi:7333
  11747. #, no-wrap
  11748. msgid "RUNPATH, validation"
  11749. msgstr ""
  11750. #. type: item
  11751. #: guix-git/doc/guix.texi:7334
  11752. #, no-wrap
  11753. msgid "#:validate-runpath?"
  11754. msgstr ""
  11755. #. type: table
  11756. #: guix-git/doc/guix.texi:7338
  11757. 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."
  11758. msgstr ""
  11759. #. type: table
  11760. #: guix-git/doc/guix.texi:7346
  11761. msgid "This validation step consists in making sure that all the shared libraries needed by an ELF binaries, 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}."
  11762. msgstr ""
  11763. #. type: item
  11764. #: guix-git/doc/guix.texi:7347
  11765. #, no-wrap
  11766. msgid "#:substitutable?"
  11767. msgstr ""
  11768. #. type: table
  11769. #: guix-git/doc/guix.texi:7351
  11770. 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})."
  11771. msgstr ""
  11772. #. type: item
  11773. #: guix-git/doc/guix.texi:7352
  11774. #, no-wrap
  11775. msgid "#:allowed-references"
  11776. msgstr ""
  11777. #. type: itemx
  11778. #: guix-git/doc/guix.texi:7353
  11779. #, no-wrap
  11780. msgid "#:disallowed-references"
  11781. msgstr ""
  11782. #. type: table
  11783. #: guix-git/doc/guix.texi:7358
  11784. 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."
  11785. msgstr ""
  11786. #. type: table
  11787. #: guix-git/doc/guix.texi:7363
  11788. 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})."
  11789. msgstr ""
  11790. #. type: defvr
  11791. #: guix-git/doc/guix.texi:7366
  11792. msgid "Most other build systems support these keyword arguments."
  11793. msgstr ""
  11794. #. type: Plain text
  11795. #: guix-git/doc/guix.texi:7373
  11796. 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."
  11797. msgstr ""
  11798. #. type: defvr
  11799. #: guix-git/doc/guix.texi:7374
  11800. #, no-wrap
  11801. msgid "{Scheme Variable} ant-build-system"
  11802. msgstr ""
  11803. #. type: defvr
  11804. #: guix-git/doc/guix.texi:7378
  11805. 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}."
  11806. msgstr ""
  11807. #. type: defvr
  11808. #: guix-git/doc/guix.texi:7383
  11809. 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."
  11810. msgstr ""
  11811. #. type: defvr
  11812. #: guix-git/doc/guix.texi:7389
  11813. 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''."
  11814. msgstr ""
  11815. #. type: defvr
  11816. #: guix-git/doc/guix.texi:7397
  11817. 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."
  11818. msgstr ""
  11819. #. type: defvr
  11820. #: guix-git/doc/guix.texi:7401
  11821. 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."
  11822. msgstr ""
  11823. #. type: defvr
  11824. #: guix-git/doc/guix.texi:7404
  11825. #, no-wrap
  11826. msgid "{Scheme Variable} android-ndk-build-system"
  11827. msgstr ""
  11828. #. type: cindex
  11829. #: guix-git/doc/guix.texi:7405
  11830. #, no-wrap
  11831. msgid "Android distribution"
  11832. msgstr ""
  11833. #. type: cindex
  11834. #: guix-git/doc/guix.texi:7406
  11835. #, no-wrap
  11836. msgid "Android NDK build system"
  11837. msgstr ""
  11838. #. type: defvr
  11839. #: guix-git/doc/guix.texi:7410
  11840. 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."
  11841. msgstr ""
  11842. #. type: defvr
  11843. #: guix-git/doc/guix.texi:7414
  11844. 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."
  11845. msgstr ""
  11846. #. type: defvr
  11847. #: guix-git/doc/guix.texi:7417
  11848. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  11849. msgstr ""
  11850. #. type: defvr
  11851. #: guix-git/doc/guix.texi:7420
  11852. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  11853. msgstr ""
  11854. #. type: defvr
  11855. #: guix-git/doc/guix.texi:7423
  11856. #, no-wrap
  11857. msgid "{Scheme Variable} asdf-build-system/source"
  11858. msgstr ""
  11859. #. type: defvrx
  11860. #: guix-git/doc/guix.texi:7424
  11861. #, no-wrap
  11862. msgid "{Scheme Variable} asdf-build-system/sbcl"
  11863. msgstr ""
  11864. #. type: defvrx
  11865. #: guix-git/doc/guix.texi:7425
  11866. #, no-wrap
  11867. msgid "{Scheme Variable} asdf-build-system/ecl"
  11868. msgstr ""
  11869. #. type: defvr
  11870. #: guix-git/doc/guix.texi:7431
  11871. 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."
  11872. msgstr ""
  11873. #. type: defvr
  11874. #: guix-git/doc/guix.texi:7438
  11875. 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."
  11876. msgstr ""
  11877. #. type: defvr
  11878. #: guix-git/doc/guix.texi:7442
  11879. 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}."
  11880. msgstr ""
  11881. #. type: defvr
  11882. #: guix-git/doc/guix.texi:7446
  11883. 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."
  11884. msgstr ""
  11885. #. type: defvr
  11886. #: guix-git/doc/guix.texi:7454
  11887. 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."
  11888. msgstr ""
  11889. #. type: defvr
  11890. #: guix-git/doc/guix.texi:7463
  11891. 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."
  11892. msgstr ""
  11893. #. type: defvr
  11894. #: guix-git/doc/guix.texi:7468
  11895. 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."
  11896. msgstr ""
  11897. #. type: defvr
  11898. #: guix-git/doc/guix.texi:7471
  11899. #, no-wrap
  11900. msgid "{Scheme Variable} cargo-build-system"
  11901. msgstr ""
  11902. #. type: cindex
  11903. #: guix-git/doc/guix.texi:7472
  11904. #, no-wrap
  11905. msgid "Rust programming language"
  11906. msgstr ""
  11907. #. type: cindex
  11908. #: guix-git/doc/guix.texi:7473
  11909. #, no-wrap
  11910. msgid "Cargo (Rust build system)"
  11911. msgstr ""
  11912. #. type: defvr
  11913. #: guix-git/doc/guix.texi:7477
  11914. 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}."
  11915. msgstr ""
  11916. #. type: defvr
  11917. #: guix-git/doc/guix.texi:7480
  11918. 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."
  11919. msgstr ""
  11920. #. type: defvr
  11921. #: guix-git/doc/guix.texi:7490
  11922. 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."
  11923. msgstr ""
  11924. #. type: defvr
  11925. #: guix-git/doc/guix.texi:7500
  11926. 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."
  11927. msgstr ""
  11928. #. type: defvr
  11929. #: guix-git/doc/guix.texi:7502
  11930. #, no-wrap
  11931. msgid "{Scheme Variable} chicken-build-system"
  11932. msgstr ""
  11933. #. type: defvr
  11934. #: guix-git/doc/guix.texi:7507
  11935. 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."
  11936. msgstr ""
  11937. #. type: defvr
  11938. #: guix-git/doc/guix.texi:7510
  11939. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  11940. msgstr ""
  11941. #. type: defvr
  11942. #: guix-git/doc/guix.texi:7514
  11943. 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."
  11944. msgstr ""
  11945. #. type: defvr
  11946. #: guix-git/doc/guix.texi:7516
  11947. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  11948. msgstr ""
  11949. #. type: lisp
  11950. #: guix-git/doc/guix.texi:7519
  11951. #, no-wrap
  11952. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  11953. msgstr ""
  11954. #. type: defvr
  11955. #: guix-git/doc/guix.texi:7524
  11956. 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."
  11957. msgstr ""
  11958. #. type: defvr
  11959. #: guix-git/doc/guix.texi:7526
  11960. #, no-wrap
  11961. msgid "{Scheme Variable} copy-build-system"
  11962. msgstr ""
  11963. #. type: defvr
  11964. #: guix-git/doc/guix.texi:7530
  11965. 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."
  11966. msgstr ""
  11967. #. type: defvr
  11968. #: guix-git/doc/guix.texi:7535
  11969. 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}."
  11970. msgstr ""
  11971. #. type: defvr
  11972. #: guix-git/doc/guix.texi:7540
  11973. 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."
  11974. msgstr ""
  11975. #. type: item
  11976. #: guix-git/doc/guix.texi:7542
  11977. #, no-wrap
  11978. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  11979. msgstr ""
  11980. #. type: item
  11981. #: guix-git/doc/guix.texi:7544
  11982. #, no-wrap
  11983. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  11984. msgstr ""
  11985. #. type: item
  11986. #: guix-git/doc/guix.texi:7545
  11987. #, no-wrap
  11988. msgid "Otherwise install @var{source} as @var{target}."
  11989. msgstr ""
  11990. #. type: item
  11991. #: guix-git/doc/guix.texi:7548
  11992. #, no-wrap
  11993. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  11994. msgstr ""
  11995. #. type: itemize
  11996. #: guix-git/doc/guix.texi:7551
  11997. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  11998. msgstr ""
  11999. #. type: item
  12000. #: guix-git/doc/guix.texi:7552
  12001. #, no-wrap
  12002. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12003. msgstr ""
  12004. #. type: item
  12005. #: guix-git/doc/guix.texi:7553
  12006. #, no-wrap
  12007. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12008. msgstr ""
  12009. #. type: itemize
  12010. #: guix-git/doc/guix.texi:7556
  12011. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12012. msgstr ""
  12013. #. type: item
  12014. #: guix-git/doc/guix.texi:7557
  12015. #, no-wrap
  12016. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12017. msgstr ""
  12018. #. type: itemize
  12019. #: guix-git/doc/guix.texi:7559
  12020. msgid "at least one of the elements in the given list."
  12021. msgstr ""
  12022. #. type: item
  12023. #: guix-git/doc/guix.texi:7559
  12024. #, no-wrap
  12025. msgid "With @code{#:include-regexp}, install all the files which the"
  12026. msgstr ""
  12027. #. type: itemize
  12028. #: guix-git/doc/guix.texi:7562
  12029. msgid "subpaths match at least one of the regular expressions in the given list."
  12030. msgstr ""
  12031. #. type: item
  12032. #: guix-git/doc/guix.texi:7562
  12033. #, no-wrap
  12034. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12035. msgstr ""
  12036. #. type: itemize
  12037. #: guix-git/doc/guix.texi:7567
  12038. 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."
  12039. msgstr ""
  12040. #. type: itemize
  12041. #: guix-git/doc/guix.texi:7571
  12042. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12043. msgstr ""
  12044. #. type: defvr
  12045. #: guix-git/doc/guix.texi:7574
  12046. msgid "Examples:"
  12047. msgstr ""
  12048. #. type: item
  12049. #: guix-git/doc/guix.texi:7576
  12050. #, no-wrap
  12051. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12052. msgstr ""
  12053. #. type: item
  12054. #: guix-git/doc/guix.texi:7577
  12055. #, no-wrap
  12056. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12057. msgstr ""
  12058. #. type: item
  12059. #: guix-git/doc/guix.texi:7578
  12060. #, no-wrap
  12061. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12062. msgstr ""
  12063. #. type: itemize
  12064. #: guix-git/doc/guix.texi:7580
  12065. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12066. msgstr ""
  12067. #. type: item
  12068. #: guix-git/doc/guix.texi:7580
  12069. #, no-wrap
  12070. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12071. msgstr ""
  12072. #. type: itemize
  12073. #: guix-git/doc/guix.texi:7582
  12074. msgid "@file{share/my-app/sub/file}."
  12075. msgstr ""
  12076. #. type: item
  12077. #: guix-git/doc/guix.texi:7582
  12078. #, no-wrap
  12079. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12080. msgstr ""
  12081. #. type: itemize
  12082. #: guix-git/doc/guix.texi:7584
  12083. msgid "@file{share/my-app/file}."
  12084. msgstr ""
  12085. #. type: cindex
  12086. #: guix-git/doc/guix.texi:7588
  12087. #, no-wrap
  12088. msgid "Clojure (programming language)"
  12089. msgstr ""
  12090. #. type: cindex
  12091. #: guix-git/doc/guix.texi:7589
  12092. #, no-wrap
  12093. msgid "simple Clojure build system"
  12094. msgstr ""
  12095. #. type: defvr
  12096. #: guix-git/doc/guix.texi:7590
  12097. #, no-wrap
  12098. msgid "{Scheme Variable} clojure-build-system"
  12099. msgstr ""
  12100. #. type: defvr
  12101. #: guix-git/doc/guix.texi:7595
  12102. 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."
  12103. msgstr ""
  12104. #. type: defvr
  12105. #: guix-git/doc/guix.texi:7599
  12106. 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."
  12107. msgstr ""
  12108. #. type: defvr
  12109. #: guix-git/doc/guix.texi:7605
  12110. 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."
  12111. msgstr ""
  12112. #. type: defvr
  12113. #: guix-git/doc/guix.texi:7608
  12114. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12115. msgstr ""
  12116. #. type: item
  12117. #: guix-git/doc/guix.texi:7611 guix-git/doc/guix.texi:8163
  12118. #: guix-git/doc/guix.texi:8210 guix-git/doc/guix.texi:8279
  12119. #: guix-git/doc/guix.texi:32905
  12120. #, no-wrap
  12121. msgid "build"
  12122. msgstr ""
  12123. #. type: table
  12124. #: guix-git/doc/guix.texi:7620
  12125. 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."
  12126. msgstr ""
  12127. #. type: item
  12128. #: guix-git/doc/guix.texi:7621 guix-git/doc/guix.texi:8167
  12129. #: guix-git/doc/guix.texi:8284
  12130. #, no-wrap
  12131. msgid "check"
  12132. msgstr ""
  12133. #. type: table
  12134. #: guix-git/doc/guix.texi:7628
  12135. 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."
  12136. msgstr ""
  12137. #. type: item
  12138. #: guix-git/doc/guix.texi:7629 guix-git/doc/guix.texi:8171
  12139. #: guix-git/doc/guix.texi:8214 guix-git/doc/guix.texi:8290
  12140. #, no-wrap
  12141. msgid "install"
  12142. msgstr ""
  12143. #. type: table
  12144. #: guix-git/doc/guix.texi:7631
  12145. msgid "This phase installs all jars built previously."
  12146. msgstr ""
  12147. #. type: defvr
  12148. #: guix-git/doc/guix.texi:7634
  12149. msgid "Apart from the above, this build system also contains an additional phase:"
  12150. msgstr ""
  12151. #. type: item
  12152. #: guix-git/doc/guix.texi:7637
  12153. #, no-wrap
  12154. msgid "install-doc"
  12155. msgstr ""
  12156. #. type: table
  12157. #: guix-git/doc/guix.texi:7642
  12158. 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."
  12159. msgstr ""
  12160. #. type: defvr
  12161. #: guix-git/doc/guix.texi:7645
  12162. #, no-wrap
  12163. msgid "{Scheme Variable} cmake-build-system"
  12164. msgstr ""
  12165. #. type: defvr
  12166. #: guix-git/doc/guix.texi:7649
  12167. 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}."
  12168. msgstr ""
  12169. #. type: defvr
  12170. #: guix-git/doc/guix.texi:7653
  12171. 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."
  12172. msgstr ""
  12173. #. type: defvr
  12174. #: guix-git/doc/guix.texi:7660
  12175. 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."
  12176. msgstr ""
  12177. #. type: defvr
  12178. #: guix-git/doc/guix.texi:7662
  12179. #, no-wrap
  12180. msgid "{Scheme Variable} dune-build-system"
  12181. msgstr ""
  12182. #. type: defvr
  12183. #: guix-git/doc/guix.texi:7669
  12184. 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."
  12185. msgstr ""
  12186. #. type: defvr
  12187. #: guix-git/doc/guix.texi:7673
  12188. 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."
  12189. msgstr ""
  12190. #. type: defvr
  12191. #: guix-git/doc/guix.texi:7677
  12192. 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."
  12193. msgstr ""
  12194. #. type: defvr
  12195. #: guix-git/doc/guix.texi:7681
  12196. 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}."
  12197. msgstr ""
  12198. #. type: defvr
  12199. #: guix-git/doc/guix.texi:7686
  12200. 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}."
  12201. msgstr ""
  12202. #. type: defvr
  12203. #: guix-git/doc/guix.texi:7688
  12204. #, no-wrap
  12205. msgid "{Scheme Variable} go-build-system"
  12206. msgstr ""
  12207. #. type: defvr
  12208. #: guix-git/doc/guix.texi:7693
  12209. 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}."
  12210. msgstr ""
  12211. #. type: defvr
  12212. #: guix-git/doc/guix.texi:7704
  12213. 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."
  12214. msgstr ""
  12215. #. type: defvr
  12216. #: guix-git/doc/guix.texi:7709
  12217. 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."
  12218. msgstr ""
  12219. #. type: defvr
  12220. #: guix-git/doc/guix.texi:7711
  12221. #, no-wrap
  12222. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12223. msgstr ""
  12224. #. type: defvr
  12225. #: guix-git/doc/guix.texi:7714
  12226. 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+."
  12227. msgstr ""
  12228. #. type: defvr
  12229. #: guix-git/doc/guix.texi:7717
  12230. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12231. msgstr ""
  12232. #. type: item
  12233. #: guix-git/doc/guix.texi:7719 guix-git/doc/guix.texi:8187
  12234. #, no-wrap
  12235. msgid "glib-or-gtk-wrap"
  12236. msgstr ""
  12237. #. type: table
  12238. #: guix-git/doc/guix.texi:7726
  12239. 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."
  12240. msgstr ""
  12241. #. type: table
  12242. #: guix-git/doc/guix.texi:7733
  12243. 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+."
  12244. msgstr ""
  12245. #. type: item
  12246. #: guix-git/doc/guix.texi:7734 guix-git/doc/guix.texi:8191
  12247. #, no-wrap
  12248. msgid "glib-or-gtk-compile-schemas"
  12249. msgstr ""
  12250. #. type: table
  12251. #: guix-git/doc/guix.texi:7742
  12252. 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."
  12253. msgstr ""
  12254. #. type: defvr
  12255. #: guix-git/doc/guix.texi:7745
  12256. msgid "Both phases are executed after the @code{install} phase."
  12257. msgstr ""
  12258. #. type: defvr
  12259. #: guix-git/doc/guix.texi:7747
  12260. #, no-wrap
  12261. msgid "{Scheme Variable} guile-build-system"
  12262. msgstr ""
  12263. #. type: defvr
  12264. #: guix-git/doc/guix.texi:7754
  12265. 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."
  12266. msgstr ""
  12267. #. type: defvr
  12268. #: guix-git/doc/guix.texi:7757
  12269. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12270. msgstr ""
  12271. #. type: defvr
  12272. #: guix-git/doc/guix.texi:7760
  12273. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12274. msgstr ""
  12275. #. type: defvr
  12276. #: guix-git/doc/guix.texi:7762
  12277. #, no-wrap
  12278. msgid "{Scheme Variable} julia-build-system"
  12279. msgstr ""
  12280. #. type: defvr
  12281. #: guix-git/doc/guix.texi:7769
  12282. 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}."
  12283. msgstr ""
  12284. #. type: defvr
  12285. #: guix-git/doc/guix.texi:7773
  12286. msgid "The Julia package name is read from the file @file{Project.toml}. This value can be overridden by passing the argument @code{#:julia-package-name} (which must be correctly capitalized)."
  12287. msgstr ""
  12288. #. type: defvr
  12289. #: guix-git/doc/guix.texi:7777
  12290. 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}."
  12291. msgstr ""
  12292. #. type: defvr
  12293. #: guix-git/doc/guix.texi:7782
  12294. 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."
  12295. msgstr ""
  12296. #. type: defvr
  12297. #: guix-git/doc/guix.texi:7786
  12298. 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:"
  12299. msgstr ""
  12300. #. type: lisp
  12301. #: guix-git/doc/guix.texi:7798
  12302. #, no-wrap
  12303. msgid ""
  12304. "(add-after 'unpack 'override-binary-path\n"
  12305. " (lambda* (#:key inputs #:allow-other-keys)\n"
  12306. " (for-each (lambda (wrapper)\n"
  12307. " (substitute* wrapper\n"
  12308. " ((\"generate_wrapper_header.*\")\n"
  12309. " (string-append\n"
  12310. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  12311. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  12312. " ;; There's a Julia file for each platform, override them all.\n"
  12313. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  12314. msgstr ""
  12315. #. type: defvr
  12316. #: guix-git/doc/guix.texi:7806
  12317. msgid "Some older packages that aren't using @file{Package.toml} yet, will require this file to be created, too. The function @code{julia-create-package-toml} helps creating the file. You need to pass the outputs and the source of the package, it's name (the same as the @code{file-name} parameter), the package uuid, the package version, and a list of dependencies specified by their name and their uuid."
  12318. msgstr ""
  12319. #. type: defvr
  12320. #: guix-git/doc/guix.texi:7808
  12321. #, no-wrap
  12322. msgid "{Scheme Variable} maven-build-system"
  12323. msgstr ""
  12324. #. type: defvr
  12325. #: guix-git/doc/guix.texi:7815
  12326. 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."
  12327. msgstr ""
  12328. #. type: defvr
  12329. #: guix-git/doc/guix.texi:7825
  12330. 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."
  12331. msgstr ""
  12332. #. type: defvr
  12333. #: guix-git/doc/guix.texi:7828
  12334. 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."
  12335. msgstr ""
  12336. #. type: defvr
  12337. #: guix-git/doc/guix.texi:7834
  12338. 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}."
  12339. msgstr ""
  12340. #. type: defvr
  12341. #: guix-git/doc/guix.texi:7840
  12342. 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."
  12343. msgstr ""
  12344. #. type: defvr
  12345. #: guix-git/doc/guix.texi:7843
  12346. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  12347. msgstr ""
  12348. #. type: defvr
  12349. #: guix-git/doc/guix.texi:7848
  12350. 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."
  12351. msgstr ""
  12352. #. type: defvr
  12353. #: guix-git/doc/guix.texi:7850
  12354. #, no-wrap
  12355. msgid "{Scheme Variable} minify-build-system"
  12356. msgstr ""
  12357. #. type: defvr
  12358. #: guix-git/doc/guix.texi:7853
  12359. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  12360. msgstr ""
  12361. #. type: defvr
  12362. #: guix-git/doc/guix.texi:7859
  12363. 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."
  12364. msgstr ""
  12365. #. type: defvr
  12366. #: guix-git/doc/guix.texi:7863
  12367. 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."
  12368. msgstr ""
  12369. #. type: defvr
  12370. #: guix-git/doc/guix.texi:7865
  12371. #, no-wrap
  12372. msgid "{Scheme Variable} ocaml-build-system"
  12373. msgstr ""
  12374. #. type: defvr
  12375. #: guix-git/doc/guix.texi:7871
  12376. 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."
  12377. msgstr ""
  12378. #. type: defvr
  12379. #: guix-git/doc/guix.texi:7881
  12380. 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."
  12381. msgstr ""
  12382. #. type: defvr
  12383. #: guix-git/doc/guix.texi:7886
  12384. 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."
  12385. msgstr ""
  12386. #. type: defvr
  12387. #: guix-git/doc/guix.texi:7890
  12388. 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."
  12389. msgstr ""
  12390. #. type: defvr
  12391. #: guix-git/doc/guix.texi:7898
  12392. 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."
  12393. msgstr ""
  12394. #. type: defvr
  12395. #: guix-git/doc/guix.texi:7906
  12396. 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."
  12397. msgstr ""
  12398. #. type: defvr
  12399. #: guix-git/doc/guix.texi:7908
  12400. #, no-wrap
  12401. msgid "{Scheme Variable} python-build-system"
  12402. msgstr ""
  12403. #. type: defvr
  12404. #: guix-git/doc/guix.texi:7913
  12405. 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{}}."
  12406. msgstr ""
  12407. #. type: defvr
  12408. #: guix-git/doc/guix.texi:7917
  12409. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{PYTHONPATH} environment variable points to all the Python libraries they depend on."
  12410. msgstr ""
  12411. #. type: defvr
  12412. #: guix-git/doc/guix.texi:7923
  12413. 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."
  12414. msgstr ""
  12415. #. type: defvr
  12416. #: guix-git/doc/guix.texi:7928
  12417. 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}."
  12418. msgstr ""
  12419. #. type: defvr
  12420. #: guix-git/doc/guix.texi:7930
  12421. #, no-wrap
  12422. msgid "{Scheme Variable} perl-build-system"
  12423. msgstr ""
  12424. #. type: defvr
  12425. #: guix-git/doc/guix.texi:7942
  12426. 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."
  12427. msgstr ""
  12428. #. type: defvr
  12429. #: guix-git/doc/guix.texi:7946
  12430. 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."
  12431. msgstr ""
  12432. #. type: defvr
  12433. #: guix-git/doc/guix.texi:7948
  12434. msgid "Which Perl package is used can be specified with @code{#:perl}."
  12435. msgstr ""
  12436. #. type: defvr
  12437. #: guix-git/doc/guix.texi:7950
  12438. #, no-wrap
  12439. msgid "{Scheme Variable} renpy-build-system"
  12440. msgstr ""
  12441. #. type: defvr
  12442. #: guix-git/doc/guix.texi:7954
  12443. 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."
  12444. msgstr ""
  12445. #. type: defvr
  12446. #: guix-git/doc/guix.texi:7957
  12447. 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."
  12448. msgstr ""
  12449. #. type: defvr
  12450. #: guix-git/doc/guix.texi:7961
  12451. 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}."
  12452. msgstr ""
  12453. #. type: defvr
  12454. #: guix-git/doc/guix.texi:7963
  12455. #, no-wrap
  12456. msgid "{Scheme Variable} qt-build-system"
  12457. msgstr ""
  12458. #. type: defvr
  12459. #: guix-git/doc/guix.texi:7966
  12460. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  12461. msgstr ""
  12462. #. type: defvr
  12463. #: guix-git/doc/guix.texi:7969
  12464. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  12465. msgstr ""
  12466. #. type: item
  12467. #: guix-git/doc/guix.texi:7971
  12468. #, no-wrap
  12469. msgid "check-setup"
  12470. msgstr ""
  12471. #. type: table
  12472. #: guix-git/doc/guix.texi:7978
  12473. 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}."
  12474. msgstr ""
  12475. #. type: table
  12476. #: guix-git/doc/guix.texi:7981
  12477. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  12478. msgstr ""
  12479. #. type: item
  12480. #: guix-git/doc/guix.texi:7982
  12481. #, no-wrap
  12482. msgid "qt-wrap"
  12483. msgstr ""
  12484. #. type: table
  12485. #: guix-git/doc/guix.texi:7988
  12486. 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."
  12487. msgstr ""
  12488. #. type: table
  12489. #: guix-git/doc/guix.texi:7994
  12490. 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."
  12491. msgstr ""
  12492. #. type: table
  12493. #: guix-git/doc/guix.texi:7996
  12494. msgid "This phase is added after the @code{install} phase."
  12495. msgstr ""
  12496. #. type: defvr
  12497. #: guix-git/doc/guix.texi:7999
  12498. #, no-wrap
  12499. msgid "{Scheme Variable} r-build-system"
  12500. msgstr ""
  12501. #. type: defvr
  12502. #: guix-git/doc/guix.texi:8007
  12503. 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}."
  12504. msgstr ""
  12505. #. type: defvr
  12506. #: guix-git/doc/guix.texi:8009
  12507. #, no-wrap
  12508. msgid "{Scheme Variable} rakudo-build-system"
  12509. msgstr ""
  12510. #. type: defvr
  12511. #: guix-git/doc/guix.texi:8017
  12512. 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."
  12513. msgstr ""
  12514. #. type: defvr
  12515. #: guix-git/doc/guix.texi:8025
  12516. 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."
  12517. msgstr ""
  12518. #. type: defvr
  12519. #: guix-git/doc/guix.texi:8027
  12520. #, no-wrap
  12521. msgid "{Scheme Variable} texlive-build-system"
  12522. msgstr ""
  12523. #. type: defvr
  12524. #: guix-git/doc/guix.texi:8032
  12525. 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."
  12526. msgstr ""
  12527. #. type: defvr
  12528. #: guix-git/doc/guix.texi:8041
  12529. 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."
  12530. msgstr ""
  12531. #. type: defvr
  12532. #: guix-git/doc/guix.texi:8044
  12533. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  12534. msgstr ""
  12535. #. type: defvr
  12536. #: guix-git/doc/guix.texi:8046
  12537. #, no-wrap
  12538. msgid "{Scheme Variable} ruby-build-system"
  12539. msgstr ""
  12540. #. type: defvr
  12541. #: guix-git/doc/guix.texi:8050
  12542. 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}."
  12543. msgstr ""
  12544. #. type: defvr
  12545. #: guix-git/doc/guix.texi:8058
  12546. 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."
  12547. msgstr ""
  12548. #. type: defvr
  12549. #: guix-git/doc/guix.texi:8062
  12550. 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."
  12551. msgstr ""
  12552. #. type: defvr
  12553. #: guix-git/doc/guix.texi:8064
  12554. #, no-wrap
  12555. msgid "{Scheme Variable} waf-build-system"
  12556. msgstr ""
  12557. #. type: defvr
  12558. #: guix-git/doc/guix.texi:8070
  12559. 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."
  12560. msgstr ""
  12561. #. type: defvr
  12562. #: guix-git/doc/guix.texi:8074
  12563. 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."
  12564. msgstr ""
  12565. #. type: defvr
  12566. #: guix-git/doc/guix.texi:8076
  12567. #, no-wrap
  12568. msgid "{Scheme Variable} scons-build-system"
  12569. msgstr ""
  12570. #. type: defvr
  12571. #: guix-git/doc/guix.texi:8082
  12572. 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."
  12573. msgstr ""
  12574. #. type: defvr
  12575. #: guix-git/doc/guix.texi:8089
  12576. 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."
  12577. msgstr ""
  12578. #. type: defvr
  12579. #: guix-git/doc/guix.texi:8091
  12580. #, no-wrap
  12581. msgid "{Scheme Variable} haskell-build-system"
  12582. msgstr ""
  12583. #. type: defvr
  12584. #: guix-git/doc/guix.texi:8105
  12585. 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."
  12586. msgstr ""
  12587. #. type: defvr
  12588. #: guix-git/doc/guix.texi:8108
  12589. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  12590. msgstr ""
  12591. #. type: defvr
  12592. #: guix-git/doc/guix.texi:8110
  12593. #, no-wrap
  12594. msgid "{Scheme Variable} dub-build-system"
  12595. msgstr ""
  12596. #. type: defvr
  12597. #: guix-git/doc/guix.texi:8115
  12598. 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."
  12599. msgstr ""
  12600. #. type: defvr
  12601. #: guix-git/doc/guix.texi:8118
  12602. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  12603. msgstr ""
  12604. #. type: anchor{#1}
  12605. #: guix-git/doc/guix.texi:8121
  12606. msgid "emacs-build-system"
  12607. msgstr ""
  12608. #. type: defvr
  12609. #: guix-git/doc/guix.texi:8121
  12610. #, no-wrap
  12611. msgid "{Scheme Variable} emacs-build-system"
  12612. msgstr ""
  12613. #. type: defvr
  12614. #: guix-git/doc/guix.texi:8125
  12615. 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})."
  12616. msgstr ""
  12617. #. type: defvr
  12618. #: guix-git/doc/guix.texi:8131
  12619. 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}."
  12620. msgstr ""
  12621. #. type: defvr
  12622. #: guix-git/doc/guix.texi:8133
  12623. #, no-wrap
  12624. msgid "{Scheme Variable} font-build-system"
  12625. msgstr ""
  12626. #. type: defvr
  12627. #: guix-git/doc/guix.texi:8139
  12628. 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."
  12629. msgstr ""
  12630. #. type: defvr
  12631. #: guix-git/doc/guix.texi:8141
  12632. #, no-wrap
  12633. msgid "{Scheme Variable} meson-build-system"
  12634. msgstr ""
  12635. #. type: defvr
  12636. #: guix-git/doc/guix.texi:8145
  12637. 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."
  12638. msgstr ""
  12639. #. type: defvr
  12640. #: guix-git/doc/guix.texi:8151
  12641. msgid "It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of inputs, and they can be changed with the parameters @code{#:meson} and @code{#:ninja} if needed. The default Meson is @code{meson-for-build}, which is special because it doesn't clear the @code{RUNPATH} of binaries and libraries when they are installed."
  12642. msgstr ""
  12643. #. type: defvr
  12644. #: guix-git/doc/guix.texi:8154
  12645. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  12646. msgstr ""
  12647. #. type: item
  12648. #: guix-git/doc/guix.texi:8157 guix-git/doc/guix.texi:8206
  12649. #: guix-git/doc/guix.texi:8274
  12650. #, no-wrap
  12651. msgid "configure"
  12652. msgstr ""
  12653. #. type: table
  12654. #: guix-git/doc/guix.texi:8162
  12655. 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}."
  12656. msgstr ""
  12657. #. type: table
  12658. #: guix-git/doc/guix.texi:8166
  12659. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  12660. msgstr ""
  12661. #. type: table
  12662. #: guix-git/doc/guix.texi:8170
  12663. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  12664. msgstr ""
  12665. #. type: table
  12666. #: guix-git/doc/guix.texi:8173
  12667. msgid "The phase runs @code{ninja install} and can not be changed."
  12668. msgstr ""
  12669. #. type: defvr
  12670. #: guix-git/doc/guix.texi:8176
  12671. msgid "Apart from that, the build system also adds the following phases:"
  12672. msgstr ""
  12673. #. type: item
  12674. #: guix-git/doc/guix.texi:8179
  12675. #, no-wrap
  12676. msgid "fix-runpath"
  12677. msgstr ""
  12678. #. type: table
  12679. #: guix-git/doc/guix.texi:8186
  12680. msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson-for-build}, such as test dependencies, that aren't actually required for the program to run."
  12681. msgstr ""
  12682. #. type: table
  12683. #: guix-git/doc/guix.texi:8190 guix-git/doc/guix.texi:8194
  12684. 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?}."
  12685. msgstr ""
  12686. #. type: defvr
  12687. #: guix-git/doc/guix.texi:8197
  12688. #, no-wrap
  12689. msgid "{Scheme Variable} linux-module-build-system"
  12690. msgstr ""
  12691. #. type: defvr
  12692. #: guix-git/doc/guix.texi:8199
  12693. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  12694. msgstr ""
  12695. #. type: defvr
  12696. #: guix-git/doc/guix.texi:8203
  12697. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  12698. msgstr ""
  12699. #. type: table
  12700. #: guix-git/doc/guix.texi:8209
  12701. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  12702. msgstr ""
  12703. #. type: table
  12704. #: guix-git/doc/guix.texi:8213
  12705. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  12706. msgstr ""
  12707. #. type: table
  12708. #: guix-git/doc/guix.texi:8217
  12709. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  12710. msgstr ""
  12711. #. type: defvr
  12712. #: guix-git/doc/guix.texi:8222
  12713. 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)."
  12714. msgstr ""
  12715. #. type: defvr
  12716. #: guix-git/doc/guix.texi:8224
  12717. #, no-wrap
  12718. msgid "{Scheme Variable} node-build-system"
  12719. msgstr ""
  12720. #. type: defvr
  12721. #: guix-git/doc/guix.texi:8229
  12722. 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."
  12723. msgstr ""
  12724. #. type: defvr
  12725. #: guix-git/doc/guix.texi:8233
  12726. 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}."
  12727. msgstr ""
  12728. #. type: Plain text
  12729. #: guix-git/doc/guix.texi:8239
  12730. 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."
  12731. msgstr ""
  12732. #. type: defvr
  12733. #: guix-git/doc/guix.texi:8240
  12734. #, no-wrap
  12735. msgid "{Scheme Variable} trivial-build-system"
  12736. msgstr ""
  12737. #. type: defvr
  12738. #: guix-git/doc/guix.texi:8242
  12739. msgid "This variable is exported by @code{(guix build-system trivial)}."
  12740. msgstr ""
  12741. #. type: defvr
  12742. #: guix-git/doc/guix.texi:8247
  12743. 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}})."
  12744. msgstr ""
  12745. #. type: cindex
  12746. #: guix-git/doc/guix.texi:8252
  12747. #, no-wrap
  12748. msgid "build phases, for packages"
  12749. msgstr ""
  12750. #. type: Plain text
  12751. #: guix-git/doc/guix.texi:8258
  12752. 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})."
  12753. msgstr ""
  12754. #. type: Plain text
  12755. #: guix-git/doc/guix.texi:8262
  12756. 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:"
  12757. msgstr ""
  12758. #. type: item
  12759. #: guix-git/doc/guix.texi:8264
  12760. #, no-wrap
  12761. msgid "unpack"
  12762. msgstr ""
  12763. #. type: table
  12764. #: guix-git/doc/guix.texi:8268
  12765. 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."
  12766. msgstr ""
  12767. #. type: item
  12768. #: guix-git/doc/guix.texi:8269
  12769. #, no-wrap
  12770. msgid "patch-source-shebangs"
  12771. msgstr ""
  12772. #. type: table
  12773. #: guix-git/doc/guix.texi:8273
  12774. 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}."
  12775. msgstr ""
  12776. #. type: table
  12777. #: guix-git/doc/guix.texi:8278
  12778. 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."
  12779. msgstr ""
  12780. #. type: table
  12781. #: guix-git/doc/guix.texi:8283
  12782. 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}."
  12783. msgstr ""
  12784. #. type: table
  12785. #: guix-git/doc/guix.texi:8289
  12786. 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}."
  12787. msgstr ""
  12788. #. type: table
  12789. #: guix-git/doc/guix.texi:8292
  12790. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  12791. msgstr ""
  12792. #. type: item
  12793. #: guix-git/doc/guix.texi:8293
  12794. #, no-wrap
  12795. msgid "patch-shebangs"
  12796. msgstr ""
  12797. #. type: table
  12798. #: guix-git/doc/guix.texi:8295
  12799. msgid "Patch shebangs on the installed executable files."
  12800. msgstr ""
  12801. #. type: item
  12802. #: guix-git/doc/guix.texi:8296
  12803. #, no-wrap
  12804. msgid "strip"
  12805. msgstr ""
  12806. #. type: table
  12807. #: guix-git/doc/guix.texi:8300
  12808. 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})."
  12809. msgstr ""
  12810. #. type: Plain text
  12811. #: guix-git/doc/guix.texi:8309
  12812. 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})."
  12813. msgstr ""
  12814. #. type: Plain text
  12815. #: guix-git/doc/guix.texi:8316
  12816. 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."
  12817. msgstr ""
  12818. #. type: vindex
  12819. #: guix-git/doc/guix.texi:8317
  12820. #, no-wrap
  12821. msgid "%standard-phases"
  12822. msgstr ""
  12823. #. type: Plain text
  12824. #: guix-git/doc/guix.texi:8323
  12825. 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!}:"
  12826. msgstr ""
  12827. #. type: lisp
  12828. #: guix-git/doc/guix.texi:8326
  12829. #, no-wrap
  12830. msgid ""
  12831. ";; The build phases of 'gnu-build-system'.\n"
  12832. "\n"
  12833. msgstr ""
  12834. #. type: lisp
  12835. #: guix-git/doc/guix.texi:8330
  12836. #, no-wrap
  12837. msgid ""
  12838. "(define* (unpack #:key source #:allow-other-keys)\n"
  12839. " ;; Extract the source tarball.\n"
  12840. " (invoke \"tar\" \"xvf\" source))\n"
  12841. "\n"
  12842. msgstr ""
  12843. #. type: lisp
  12844. #: guix-git/doc/guix.texi:8336
  12845. #, no-wrap
  12846. msgid ""
  12847. "(define* (configure #:key outputs #:allow-other-keys)\n"
  12848. " ;; Run the 'configure' script. Install to output \"out\".\n"
  12849. " (let ((out (assoc-ref outputs \"out\")))\n"
  12850. " (invoke \"./configure\"\n"
  12851. " (string-append \"--prefix=\" out))))\n"
  12852. "\n"
  12853. msgstr ""
  12854. #. type: lisp
  12855. #: guix-git/doc/guix.texi:8340
  12856. #, no-wrap
  12857. msgid ""
  12858. "(define* (build #:allow-other-keys)\n"
  12859. " ;; Compile.\n"
  12860. " (invoke \"make\"))\n"
  12861. "\n"
  12862. msgstr ""
  12863. #. type: lisp
  12864. #: guix-git/doc/guix.texi:8347
  12865. #, no-wrap
  12866. msgid ""
  12867. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  12868. " #:allow-other-keys)\n"
  12869. " ;; Run the test suite.\n"
  12870. " (if tests?\n"
  12871. " (invoke \"make\" test-target)\n"
  12872. " (display \"test suite not run\\n\")))\n"
  12873. "\n"
  12874. msgstr ""
  12875. #. type: lisp
  12876. #: guix-git/doc/guix.texi:8351
  12877. #, no-wrap
  12878. msgid ""
  12879. "(define* (install #:allow-other-keys)\n"
  12880. " ;; Install files to the prefix 'configure' specified.\n"
  12881. " (invoke \"make\" \"install\"))\n"
  12882. "\n"
  12883. msgstr ""
  12884. #. type: lisp
  12885. #: guix-git/doc/guix.texi:8360
  12886. #, no-wrap
  12887. msgid ""
  12888. "(define %standard-phases\n"
  12889. " ;; The list of standard phases (quite a few are omitted\n"
  12890. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  12891. " (list (cons 'unpack unpack)\n"
  12892. " (cons 'configure configure)\n"
  12893. " (cons 'build build)\n"
  12894. " (cons 'check check)\n"
  12895. " (cons 'install install)))\n"
  12896. msgstr ""
  12897. #. type: Plain text
  12898. #: guix-git/doc/guix.texi:8370
  12899. 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."
  12900. msgstr ""
  12901. #. type: Plain text
  12902. #: guix-git/doc/guix.texi:8376
  12903. 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})."
  12904. msgstr ""
  12905. #. type: Plain text
  12906. #: guix-git/doc/guix.texi:8392
  12907. 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."
  12908. msgstr ""
  12909. #. type: cindex
  12910. #: guix-git/doc/guix.texi:8393
  12911. #, no-wrap
  12912. msgid "build phases, customizing"
  12913. msgstr ""
  12914. #. type: Plain text
  12915. #: guix-git/doc/guix.texi:8402
  12916. 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}})."
  12917. msgstr ""
  12918. #. type: Plain text
  12919. #: guix-git/doc/guix.texi:8407
  12920. 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}:"
  12921. msgstr ""
  12922. #. type: lisp
  12923. #: guix-git/doc/guix.texi:8427
  12924. #, no-wrap
  12925. msgid ""
  12926. "(define-public example\n"
  12927. " (package\n"
  12928. " (name \"example\")\n"
  12929. " ;; other fields omitted\n"
  12930. " (build-system gnu-build-system)\n"
  12931. " (arguments\n"
  12932. " '(#:phases (modify-phases %standard-phases\n"
  12933. " (delete 'configure)\n"
  12934. " (add-before 'build 'set-prefix-in-makefile\n"
  12935. " (lambda* (#:key outputs #:allow-other-keys)\n"
  12936. " ;; Modify the makefile so that its\n"
  12937. " ;; 'PREFIX' variable points to \"out\".\n"
  12938. " (let ((out (assoc-ref outputs \"out\")))\n"
  12939. " (substitute* \"Makefile\"\n"
  12940. " ((\"PREFIX =.*\")\n"
  12941. " (string-append \"PREFIX = \"\n"
  12942. " out \"\\n\")))\n"
  12943. " #true))))))))\n"
  12944. msgstr ""
  12945. #. type: Plain text
  12946. #: guix-git/doc/guix.texi:8433
  12947. 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}."
  12948. msgstr ""
  12949. #. type: cindex
  12950. #: guix-git/doc/guix.texi:8434 guix-git/doc/guix.texi:9407
  12951. #, no-wrap
  12952. msgid "code staging"
  12953. msgstr ""
  12954. #. type: cindex
  12955. #: guix-git/doc/guix.texi:8435 guix-git/doc/guix.texi:9408
  12956. #, no-wrap
  12957. msgid "staging, of code"
  12958. msgstr ""
  12959. #. type: Plain text
  12960. #: guix-git/doc/guix.texi:8442
  12961. 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."
  12962. msgstr ""
  12963. #. type: Plain text
  12964. #: guix-git/doc/guix.texi:8452
  12965. 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."
  12966. msgstr ""
  12967. #. type: Plain text
  12968. #: guix-git/doc/guix.texi:8456
  12969. 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."
  12970. msgstr ""
  12971. #. type: Plain text
  12972. #: guix-git/doc/guix.texi:8461
  12973. 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}):"
  12974. msgstr ""
  12975. #. type: lisp
  12976. #: guix-git/doc/guix.texi:8468
  12977. #, no-wrap
  12978. msgid ""
  12979. "(with-imported-modules '((guix build utils)) ;import it\n"
  12980. " (computed-file \"empty-tree\"\n"
  12981. " #~(begin\n"
  12982. " ;; Put it in scope.\n"
  12983. " (use-modules (guix build utils))\n"
  12984. "\n"
  12985. msgstr ""
  12986. #. type: lisp
  12987. #: guix-git/doc/guix.texi:8471
  12988. #, no-wrap
  12989. msgid ""
  12990. " ;; Happily use its 'mkdir-p' procedure.\n"
  12991. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  12992. msgstr ""
  12993. #. type: Plain text
  12994. #: guix-git/doc/guix.texi:8475
  12995. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  12996. msgstr ""
  12997. #. type: subsection
  12998. #: guix-git/doc/guix.texi:8478
  12999. #, no-wrap
  13000. msgid "Dealing with Store File Names"
  13001. msgstr ""
  13002. #. type: Plain text
  13003. #: guix-git/doc/guix.texi:8481
  13004. msgid "This section documents procedures that deal with store file names."
  13005. msgstr ""
  13006. #. type: deffn
  13007. #: guix-git/doc/guix.texi:8482
  13008. #, no-wrap
  13009. msgid "{Scheme Procedure} %store-directory"
  13010. msgstr ""
  13011. #. type: deffn
  13012. #: guix-git/doc/guix.texi:8484
  13013. msgid "Return the directory name of the store."
  13014. msgstr ""
  13015. #. type: deffn
  13016. #: guix-git/doc/guix.texi:8486
  13017. #, no-wrap
  13018. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13019. msgstr ""
  13020. #. type: deffn
  13021. #: guix-git/doc/guix.texi:8488
  13022. msgid "Return true if @var{file} is in the store."
  13023. msgstr ""
  13024. #. type: deffn
  13025. #: guix-git/doc/guix.texi:8490
  13026. #, no-wrap
  13027. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13028. msgstr ""
  13029. #. type: deffn
  13030. #: guix-git/doc/guix.texi:8493
  13031. 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."
  13032. msgstr ""
  13033. #. type: deffn
  13034. #: guix-git/doc/guix.texi:8495
  13035. #, no-wrap
  13036. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13037. msgstr ""
  13038. #. type: deffn
  13039. #: guix-git/doc/guix.texi:8500
  13040. 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."
  13041. msgstr ""
  13042. #. type: subsection
  13043. #: guix-git/doc/guix.texi:8502
  13044. #, no-wrap
  13045. msgid "File Types"
  13046. msgstr ""
  13047. #. type: Plain text
  13048. #: guix-git/doc/guix.texi:8505
  13049. msgid "The procedures below deal with files and file types."
  13050. msgstr ""
  13051. #. type: deffn
  13052. #: guix-git/doc/guix.texi:8506
  13053. #, no-wrap
  13054. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13055. msgstr ""
  13056. #. type: deffn
  13057. #: guix-git/doc/guix.texi:8508
  13058. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13059. msgstr ""
  13060. #. type: deffn
  13061. #: guix-git/doc/guix.texi:8510
  13062. #, no-wrap
  13063. msgid "{Scheme Procedure} executable-file? @var{file}"
  13064. msgstr ""
  13065. #. type: deffn
  13066. #: guix-git/doc/guix.texi:8512
  13067. msgid "Return @code{#t} if @var{file} exists and is executable."
  13068. msgstr ""
  13069. #. type: deffn
  13070. #: guix-git/doc/guix.texi:8514
  13071. #, no-wrap
  13072. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13073. msgstr ""
  13074. #. type: deffn
  13075. #: guix-git/doc/guix.texi:8516
  13076. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13077. msgstr ""
  13078. #. type: deffn
  13079. #: guix-git/doc/guix.texi:8518
  13080. #, no-wrap
  13081. msgid "{Scheme Procedure} elf-file? @var{file}"
  13082. msgstr ""
  13083. #. type: deffnx
  13084. #: guix-git/doc/guix.texi:8519
  13085. #, no-wrap
  13086. msgid "{Scheme Procedure} ar-file? @var{file}"
  13087. msgstr ""
  13088. #. type: deffnx
  13089. #: guix-git/doc/guix.texi:8520
  13090. #, no-wrap
  13091. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13092. msgstr ""
  13093. #. type: deffn
  13094. #: guix-git/doc/guix.texi:8523
  13095. 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."
  13096. msgstr ""
  13097. #. type: deffn
  13098. #: guix-git/doc/guix.texi:8525
  13099. #, no-wrap
  13100. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13101. msgstr ""
  13102. #. type: deffn
  13103. #: guix-git/doc/guix.texi:8529
  13104. 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."
  13105. msgstr ""
  13106. #. type: subsection
  13107. #: guix-git/doc/guix.texi:8531
  13108. #, no-wrap
  13109. msgid "File Manipulation"
  13110. msgstr ""
  13111. #. type: Plain text
  13112. #: guix-git/doc/guix.texi:8538
  13113. 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})."
  13114. msgstr ""
  13115. #. type: deffn
  13116. #: guix-git/doc/guix.texi:8539
  13117. #, no-wrap
  13118. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13119. msgstr ""
  13120. #. type: deffn
  13121. #: guix-git/doc/guix.texi:8541
  13122. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13123. msgstr ""
  13124. #. type: deffn
  13125. #: guix-git/doc/guix.texi:8548
  13126. 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."
  13127. msgstr ""
  13128. #. type: deffn
  13129. #: guix-git/doc/guix.texi:8550
  13130. #, no-wrap
  13131. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13132. msgstr ""
  13133. #. type: deffn
  13134. #: guix-git/doc/guix.texi:8552
  13135. msgid "Create directory @var{dir} and all its ancestors."
  13136. msgstr ""
  13137. #. type: deffn
  13138. #: guix-git/doc/guix.texi:8554
  13139. #, no-wrap
  13140. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13141. msgstr ""
  13142. #. type: deffn
  13143. #: guix-git/doc/guix.texi:8557
  13144. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13145. msgstr ""
  13146. #. type: deffn
  13147. #: guix-git/doc/guix.texi:8559
  13148. #, no-wrap
  13149. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13150. msgstr ""
  13151. #. type: deffn
  13152. #: guix-git/doc/guix.texi:8561
  13153. msgid "Make @var{file} writable for its owner."
  13154. msgstr ""
  13155. #. type: deffn
  13156. #: guix-git/doc/guix.texi:8563
  13157. #, no-wrap
  13158. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13159. msgstr ""
  13160. #. type: deffn
  13161. #: guix-git/doc/guix.texi:8570
  13162. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] [#:keep-mtime? #f] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. Write verbose output to the @var{log} port."
  13163. msgstr ""
  13164. #. type: deffn
  13165. #: guix-git/doc/guix.texi:8572
  13166. #, no-wrap
  13167. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13168. msgstr ""
  13169. #. type: deffn
  13170. #: guix-git/doc/guix.texi:8577
  13171. 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."
  13172. msgstr ""
  13173. #. type: deffn
  13174. #: guix-git/doc/guix.texi:8579
  13175. #, no-wrap
  13176. msgid "{Scheme Syntax} substitute* @var{file} @"
  13177. msgstr ""
  13178. #. type: deffn
  13179. #: guix-git/doc/guix.texi:8584
  13180. 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:"
  13181. msgstr ""
  13182. #. type: lisp
  13183. #: guix-git/doc/guix.texi:8591
  13184. #, no-wrap
  13185. msgid ""
  13186. "(substitute* file\n"
  13187. " ((\"hello\")\n"
  13188. " \"good morning\\n\")\n"
  13189. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13190. " (string-append \"baz\" letter end)))\n"
  13191. msgstr ""
  13192. #. type: deffn
  13193. #: guix-git/doc/guix.texi:8597
  13194. 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."
  13195. msgstr ""
  13196. #. type: deffn
  13197. #: guix-git/doc/guix.texi:8600
  13198. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13199. msgstr ""
  13200. #. type: deffn
  13201. #: guix-git/doc/guix.texi:8603
  13202. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13203. msgstr ""
  13204. #. type: deffn
  13205. #: guix-git/doc/guix.texi:8606
  13206. 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."
  13207. msgstr ""
  13208. #. type: subsection
  13209. #: guix-git/doc/guix.texi:8608
  13210. #, no-wrap
  13211. msgid "File Search"
  13212. msgstr ""
  13213. #. type: cindex
  13214. #: guix-git/doc/guix.texi:8610
  13215. #, no-wrap
  13216. msgid "file, searching"
  13217. msgstr ""
  13218. #. type: Plain text
  13219. #: guix-git/doc/guix.texi:8612
  13220. msgid "This section documents procedures to search and filter files."
  13221. msgstr ""
  13222. #. type: deffn
  13223. #: guix-git/doc/guix.texi:8613
  13224. #, no-wrap
  13225. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13226. msgstr ""
  13227. #. type: deffn
  13228. #: guix-git/doc/guix.texi:8616
  13229. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13230. msgstr ""
  13231. #. type: deffn
  13232. #: guix-git/doc/guix.texi:8618
  13233. #, no-wrap
  13234. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13235. msgstr ""
  13236. #. type: deffn
  13237. #: guix-git/doc/guix.texi:8629
  13238. 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."
  13239. msgstr ""
  13240. #. type: Plain text
  13241. #: guix-git/doc/guix.texi:8633
  13242. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13243. msgstr ""
  13244. #. type: lisp
  13245. #: guix-git/doc/guix.texi:8638
  13246. #, no-wrap
  13247. msgid ""
  13248. ";; List all the regular files in the current directory.\n"
  13249. "(find-files \".\")\n"
  13250. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13251. "\n"
  13252. msgstr ""
  13253. #. type: lisp
  13254. #: guix-git/doc/guix.texi:8642
  13255. #, no-wrap
  13256. msgid ""
  13257. ";; List all the .scm files under gnu/services.\n"
  13258. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13259. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13260. "\n"
  13261. msgstr ""
  13262. #. type: lisp
  13263. #: guix-git/doc/guix.texi:8646
  13264. #, no-wrap
  13265. msgid ""
  13266. ";; List ar files in the current directory.\n"
  13267. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13268. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13269. msgstr ""
  13270. #. type: deffn
  13271. #: guix-git/doc/guix.texi:8648
  13272. #, no-wrap
  13273. msgid "{Scheme Procedure} which @var{program}"
  13274. msgstr ""
  13275. #. type: deffn
  13276. #: guix-git/doc/guix.texi:8651
  13277. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  13278. msgstr ""
  13279. #. type: Plain text
  13280. #: guix-git/doc/guix.texi:8662
  13281. 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})."
  13282. msgstr ""
  13283. #. type: Plain text
  13284. #: guix-git/doc/guix.texi:8666
  13285. 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."
  13286. msgstr ""
  13287. #. type: cindex
  13288. #: guix-git/doc/guix.texi:8667
  13289. #, no-wrap
  13290. msgid "build phases, modifying"
  13291. msgstr ""
  13292. #. type: deffn
  13293. #: guix-git/doc/guix.texi:8668
  13294. #, no-wrap
  13295. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  13296. msgstr ""
  13297. #. type: deffn
  13298. #: guix-git/doc/guix.texi:8671
  13299. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  13300. msgstr ""
  13301. #. type: lisp
  13302. #: guix-git/doc/guix.texi:8677
  13303. #, no-wrap
  13304. msgid ""
  13305. "(delete @var{old-phase-name})\n"
  13306. "(replace @var{old-phase-name} @var{new-phase})\n"
  13307. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13308. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13309. msgstr ""
  13310. #. type: deffn
  13311. #: guix-git/doc/guix.texi:8681
  13312. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  13313. msgstr ""
  13314. #. type: Plain text
  13315. #: guix-git/doc/guix.texi:8692
  13316. 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:"
  13317. msgstr ""
  13318. #. type: lisp
  13319. #: guix-git/doc/guix.texi:8706
  13320. #, no-wrap
  13321. msgid ""
  13322. "(modify-phases %standard-phases\n"
  13323. " (add-after 'install 'fix-egrep-and-fgrep\n"
  13324. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  13325. " ;; absolute file name instead of searching for it in $PATH.\n"
  13326. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13327. " (let* ((out (assoc-ref outputs \"out\"))\n"
  13328. " (bin (string-append out \"/bin\")))\n"
  13329. " (substitute* (list (string-append bin \"/egrep\")\n"
  13330. " (string-append bin \"/fgrep\"))\n"
  13331. " ((\"^exec grep\")\n"
  13332. " (string-append \"exec \" bin \"/grep\")))\n"
  13333. " #t))))\n"
  13334. msgstr ""
  13335. #. type: Plain text
  13336. #: guix-git/doc/guix.texi:8713
  13337. 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:"
  13338. msgstr ""
  13339. #. type: lisp
  13340. #: guix-git/doc/guix.texi:8726
  13341. #, no-wrap
  13342. msgid ""
  13343. "(modify-phases %standard-phases\n"
  13344. " (delete 'configure) ;no 'configure' script\n"
  13345. " (replace 'install\n"
  13346. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13347. " ;; The package's Makefile doesn't provide an \"install\"\n"
  13348. " ;; rule so do it by ourselves.\n"
  13349. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  13350. " \"/bin\")))\n"
  13351. " (install-file \"footswitch\" bin)\n"
  13352. " (install-file \"scythe\" bin)\n"
  13353. " #t))))\n"
  13354. msgstr ""
  13355. #. type: cindex
  13356. #: guix-git/doc/guix.texi:8734
  13357. #, no-wrap
  13358. msgid "store items"
  13359. msgstr ""
  13360. #. type: cindex
  13361. #: guix-git/doc/guix.texi:8735
  13362. #, no-wrap
  13363. msgid "store paths"
  13364. msgstr ""
  13365. #. type: Plain text
  13366. #: guix-git/doc/guix.texi:8746
  13367. 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}."
  13368. msgstr ""
  13369. #. type: Plain text
  13370. #: guix-git/doc/guix.texi:8751
  13371. 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."
  13372. msgstr ""
  13373. #. type: quotation
  13374. #: guix-git/doc/guix.texi:8756
  13375. 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})."
  13376. msgstr ""
  13377. #. type: quotation
  13378. #: guix-git/doc/guix.texi:8760
  13379. 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."
  13380. msgstr ""
  13381. #. type: Plain text
  13382. #: guix-git/doc/guix.texi:8767
  13383. 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."
  13384. msgstr ""
  13385. #. type: defvr
  13386. #: guix-git/doc/guix.texi:8768
  13387. #, no-wrap
  13388. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  13389. msgstr ""
  13390. #. type: defvr
  13391. #: guix-git/doc/guix.texi:8773
  13392. 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:"
  13393. msgstr ""
  13394. #. type: code{#1}
  13395. #: guix-git/doc/guix.texi:8775 guix-git/doc/guix.texi:24475
  13396. #, no-wrap
  13397. msgid "file"
  13398. msgstr ""
  13399. #. type: itemx
  13400. #: guix-git/doc/guix.texi:8776
  13401. #, no-wrap
  13402. msgid "unix"
  13403. msgstr ""
  13404. #. type: table
  13405. #: guix-git/doc/guix.texi:8780
  13406. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  13407. msgstr ""
  13408. #. type: item
  13409. #: guix-git/doc/guix.texi:8781
  13410. #, no-wrap
  13411. msgid "guix"
  13412. msgstr ""
  13413. #. type: table
  13414. #: guix-git/doc/guix.texi:8789
  13415. 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):"
  13416. msgstr ""
  13417. #. type: example
  13418. #: guix-git/doc/guix.texi:8792
  13419. #, no-wrap
  13420. msgid "guix://master.guix.example.org:1234\n"
  13421. msgstr ""
  13422. #. type: table
  13423. #: guix-git/doc/guix.texi:8797
  13424. 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}."
  13425. msgstr ""
  13426. #. type: table
  13427. #: guix-git/doc/guix.texi:8801
  13428. 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}})."
  13429. msgstr ""
  13430. #. type: item
  13431. #: guix-git/doc/guix.texi:8802
  13432. #, no-wrap
  13433. msgid "ssh"
  13434. msgstr ""
  13435. #. type: cindex
  13436. #: guix-git/doc/guix.texi:8803
  13437. #, no-wrap
  13438. msgid "SSH access to build daemons"
  13439. msgstr ""
  13440. #. type: table
  13441. #: guix-git/doc/guix.texi:8809
  13442. 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:"
  13443. msgstr ""
  13444. #. type: example
  13445. #: guix-git/doc/guix.texi:8812
  13446. #, no-wrap
  13447. msgid "ssh://charlie@@guix.example.org:22\n"
  13448. msgstr ""
  13449. #. type: table
  13450. #: guix-git/doc/guix.texi:8816
  13451. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  13452. msgstr ""
  13453. #. type: defvr
  13454. #: guix-git/doc/guix.texi:8819
  13455. msgid "Additional URI schemes may be supported in the future."
  13456. msgstr ""
  13457. #. type: quotation
  13458. #: guix-git/doc/guix.texi:8826
  13459. 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})."
  13460. msgstr ""
  13461. #. type: deffn
  13462. #: guix-git/doc/guix.texi:8829
  13463. #, no-wrap
  13464. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  13465. msgstr ""
  13466. #. type: deffn
  13467. #: guix-git/doc/guix.texi:8834
  13468. 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."
  13469. msgstr ""
  13470. #. type: deffn
  13471. #: guix-git/doc/guix.texi:8837
  13472. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  13473. msgstr ""
  13474. #. type: deffn
  13475. #: guix-git/doc/guix.texi:8839
  13476. #, no-wrap
  13477. msgid "{Scheme Procedure} close-connection @var{server}"
  13478. msgstr ""
  13479. #. type: deffn
  13480. #: guix-git/doc/guix.texi:8841
  13481. msgid "Close the connection to @var{server}."
  13482. msgstr ""
  13483. #. type: defvr
  13484. #: guix-git/doc/guix.texi:8843
  13485. #, no-wrap
  13486. msgid "{Scheme Variable} current-build-output-port"
  13487. msgstr ""
  13488. #. type: defvr
  13489. #: guix-git/doc/guix.texi:8846
  13490. 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."
  13491. msgstr ""
  13492. #. type: Plain text
  13493. #: guix-git/doc/guix.texi:8850
  13494. msgid "Procedures that make RPCs all take a server object as their first argument."
  13495. msgstr ""
  13496. #. type: deffn
  13497. #: guix-git/doc/guix.texi:8851
  13498. #, no-wrap
  13499. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  13500. msgstr ""
  13501. #. type: cindex
  13502. #: guix-git/doc/guix.texi:8852
  13503. #, no-wrap
  13504. msgid "invalid store items"
  13505. msgstr ""
  13506. #. type: deffn
  13507. #: guix-git/doc/guix.texi:8857
  13508. 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)."
  13509. msgstr ""
  13510. #. type: deffn
  13511. #: guix-git/doc/guix.texi:8860
  13512. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  13513. msgstr ""
  13514. #. type: deffn
  13515. #: guix-git/doc/guix.texi:8862
  13516. #, no-wrap
  13517. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  13518. msgstr ""
  13519. #. type: deffn
  13520. #: guix-git/doc/guix.texi:8866
  13521. 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."
  13522. msgstr ""
  13523. #. type: deffn
  13524. #: guix-git/doc/guix.texi:8868
  13525. #, no-wrap
  13526. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  13527. msgstr ""
  13528. #. type: deffn
  13529. #: guix-git/doc/guix.texi:8873
  13530. 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."
  13531. msgstr ""
  13532. #. type: Plain text
  13533. #: guix-git/doc/guix.texi:8879
  13534. 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})."
  13535. msgstr ""
  13536. #. type: i{#1}
  13537. #: guix-git/doc/guix.texi:8882
  13538. msgid "This section is currently incomplete."
  13539. msgstr ""
  13540. #. type: cindex
  13541. #: guix-git/doc/guix.texi:8886
  13542. #, no-wrap
  13543. msgid "derivations"
  13544. msgstr ""
  13545. #. type: Plain text
  13546. #: guix-git/doc/guix.texi:8890
  13547. 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:"
  13548. msgstr ""
  13549. #. type: itemize
  13550. #: guix-git/doc/guix.texi:8895
  13551. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  13552. msgstr ""
  13553. #. type: cindex
  13554. #: guix-git/doc/guix.texi:8897
  13555. #, no-wrap
  13556. msgid "build-time dependencies"
  13557. msgstr ""
  13558. #. type: cindex
  13559. #: guix-git/doc/guix.texi:8898
  13560. #, no-wrap
  13561. msgid "dependencies, build-time"
  13562. msgstr ""
  13563. #. type: itemize
  13564. #: guix-git/doc/guix.texi:8902
  13565. 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.)."
  13566. msgstr ""
  13567. #. type: itemize
  13568. #: guix-git/doc/guix.texi:8905
  13569. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  13570. msgstr ""
  13571. #. type: itemize
  13572. #: guix-git/doc/guix.texi:8909
  13573. msgid "The file name of a build script in the store, along with the arguments to be passed."
  13574. msgstr ""
  13575. #. type: itemize
  13576. #: guix-git/doc/guix.texi:8912
  13577. msgid "A list of environment variables to be defined."
  13578. msgstr ""
  13579. #. type: cindex
  13580. #: guix-git/doc/guix.texi:8915
  13581. #, no-wrap
  13582. msgid "derivation path"
  13583. msgstr ""
  13584. #. type: Plain text
  13585. #: guix-git/doc/guix.texi:8923
  13586. 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})."
  13587. msgstr ""
  13588. #. type: cindex
  13589. #: guix-git/doc/guix.texi:8924
  13590. #, no-wrap
  13591. msgid "fixed-output derivations"
  13592. msgstr ""
  13593. #. type: Plain text
  13594. #: guix-git/doc/guix.texi:8931
  13595. 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."
  13596. msgstr ""
  13597. #. type: item
  13598. #: guix-git/doc/guix.texi:8932 guix-git/doc/guix.texi:12392
  13599. #, no-wrap
  13600. msgid "references"
  13601. msgstr ""
  13602. #. type: cindex
  13603. #: guix-git/doc/guix.texi:8933
  13604. #, no-wrap
  13605. msgid "run-time dependencies"
  13606. msgstr ""
  13607. #. type: cindex
  13608. #: guix-git/doc/guix.texi:8934
  13609. #, no-wrap
  13610. msgid "dependencies, run-time"
  13611. msgstr ""
  13612. #. type: Plain text
  13613. #: guix-git/doc/guix.texi:8941
  13614. 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."
  13615. msgstr ""
  13616. #. type: Plain text
  13617. #: guix-git/doc/guix.texi:8946
  13618. 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:"
  13619. msgstr ""
  13620. #. type: deffn
  13621. #: guix-git/doc/guix.texi:8947
  13622. #, no-wrap
  13623. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  13624. msgstr ""
  13625. #. type: deffn
  13626. #: guix-git/doc/guix.texi:8956
  13627. 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."
  13628. msgstr ""
  13629. #. type: deffn
  13630. #: guix-git/doc/guix.texi:8963
  13631. 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."
  13632. msgstr ""
  13633. #. type: deffn
  13634. #: guix-git/doc/guix.texi:8968
  13635. 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."
  13636. msgstr ""
  13637. #. type: deffn
  13638. #: guix-git/doc/guix.texi:8973
  13639. 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."
  13640. msgstr ""
  13641. #. type: deffn
  13642. #: guix-git/doc/guix.texi:8980
  13643. 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."
  13644. msgstr ""
  13645. #. type: deffn
  13646. #: guix-git/doc/guix.texi:8985
  13647. 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."
  13648. msgstr ""
  13649. #. type: deffn
  13650. #: guix-git/doc/guix.texi:8990
  13651. 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."
  13652. msgstr ""
  13653. #. type: deffn
  13654. #: guix-git/doc/guix.texi:8993
  13655. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  13656. msgstr ""
  13657. #. type: Plain text
  13658. #: guix-git/doc/guix.texi:8999
  13659. 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:"
  13660. msgstr ""
  13661. #. type: lisp
  13662. #: guix-git/doc/guix.texi:9004
  13663. #, no-wrap
  13664. msgid ""
  13665. "(use-modules (guix utils)\n"
  13666. " (guix store)\n"
  13667. " (guix derivations))\n"
  13668. "\n"
  13669. msgstr ""
  13670. #. type: lisp
  13671. #: guix-git/doc/guix.texi:9013
  13672. #, no-wrap
  13673. msgid ""
  13674. "(let ((builder ; add the Bash script to the store\n"
  13675. " (add-text-to-store store \"my-builder.sh\"\n"
  13676. " \"echo hello world > $out\\n\" '())))\n"
  13677. " (derivation store \"foo\"\n"
  13678. " bash `(\"-e\" ,builder)\n"
  13679. " #:inputs `((,bash) (,builder))\n"
  13680. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  13681. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  13682. msgstr ""
  13683. #. type: Plain text
  13684. #: guix-git/doc/guix.texi:9020
  13685. 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}."
  13686. msgstr ""
  13687. #. type: Plain text
  13688. #: guix-git/doc/guix.texi:9025
  13689. 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}."
  13690. msgstr ""
  13691. #. type: deffn
  13692. #: guix-git/doc/guix.texi:9026
  13693. #, no-wrap
  13694. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  13695. msgstr ""
  13696. #. type: deffn
  13697. #: guix-git/doc/guix.texi:9042
  13698. 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))}."
  13699. msgstr ""
  13700. #. type: deffn
  13701. #: guix-git/doc/guix.texi:9050
  13702. 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."
  13703. msgstr ""
  13704. #. type: deffn
  13705. #: guix-git/doc/guix.texi:9054
  13706. 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."
  13707. msgstr ""
  13708. #. type: deffn
  13709. #: guix-git/doc/guix.texi:9059
  13710. 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?}."
  13711. msgstr ""
  13712. #. type: Plain text
  13713. #: guix-git/doc/guix.texi:9064
  13714. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  13715. msgstr ""
  13716. #. type: lisp
  13717. #: guix-git/doc/guix.texi:9072
  13718. #, no-wrap
  13719. msgid ""
  13720. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  13721. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  13722. " (call-with-output-file (string-append out \"/test\")\n"
  13723. " (lambda (p)\n"
  13724. " (display '(hello guix) p))))))\n"
  13725. " (build-expression->derivation store \"goo\" builder))\n"
  13726. "\n"
  13727. msgstr ""
  13728. #. type: lisp
  13729. #: guix-git/doc/guix.texi:9074
  13730. #, no-wrap
  13731. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  13732. msgstr ""
  13733. #. type: cindex
  13734. #: guix-git/doc/guix.texi:9080
  13735. #, no-wrap
  13736. msgid "monad"
  13737. msgstr ""
  13738. #. type: Plain text
  13739. #: guix-git/doc/guix.texi:9086
  13740. 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."
  13741. msgstr ""
  13742. #. type: Plain text
  13743. #: guix-git/doc/guix.texi:9092
  13744. 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."
  13745. msgstr ""
  13746. #. type: cindex
  13747. #: guix-git/doc/guix.texi:9093
  13748. #, no-wrap
  13749. msgid "monadic values"
  13750. msgstr ""
  13751. #. type: cindex
  13752. #: guix-git/doc/guix.texi:9094
  13753. #, no-wrap
  13754. msgid "monadic functions"
  13755. msgstr ""
  13756. #. type: Plain text
  13757. #: guix-git/doc/guix.texi:9104
  13758. 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}."
  13759. msgstr ""
  13760. #. type: Plain text
  13761. #: guix-git/doc/guix.texi:9106
  13762. msgid "Consider this ``normal'' procedure:"
  13763. msgstr ""
  13764. #. type: lisp
  13765. #: guix-git/doc/guix.texi:9115
  13766. #, no-wrap
  13767. msgid ""
  13768. "(define (sh-symlink store)\n"
  13769. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  13770. " (let* ((drv (package-derivation store bash))\n"
  13771. " (out (derivation->output-path drv))\n"
  13772. " (sh (string-append out \"/bin/bash\")))\n"
  13773. " (build-expression->derivation store \"sh\"\n"
  13774. " `(symlink ,sh %output))))\n"
  13775. msgstr ""
  13776. #. type: Plain text
  13777. #: guix-git/doc/guix.texi:9119
  13778. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  13779. msgstr ""
  13780. #. type: lisp
  13781. #: guix-git/doc/guix.texi:9127
  13782. #, no-wrap
  13783. msgid ""
  13784. "(define (sh-symlink)\n"
  13785. " ;; Same, but return a monadic value.\n"
  13786. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  13787. " (gexp->derivation \"sh\"\n"
  13788. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  13789. " #$output))))\n"
  13790. msgstr ""
  13791. #. type: Plain text
  13792. #: guix-git/doc/guix.texi:9134
  13793. 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}."
  13794. msgstr ""
  13795. #. type: Plain text
  13796. #: guix-git/doc/guix.texi:9138
  13797. 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}):"
  13798. msgstr ""
  13799. #. type: lisp
  13800. #: guix-git/doc/guix.texi:9144
  13801. #, no-wrap
  13802. msgid ""
  13803. "(define (sh-symlink)\n"
  13804. " (gexp->derivation \"sh\"\n"
  13805. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  13806. " #$output)))\n"
  13807. msgstr ""
  13808. #. type: Plain text
  13809. #: guix-git/doc/guix.texi:9153
  13810. 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}:"
  13811. msgstr ""
  13812. #. type: lisp
  13813. #: guix-git/doc/guix.texi:9157
  13814. #, no-wrap
  13815. msgid ""
  13816. "(run-with-store (open-connection) (sh-symlink))\n"
  13817. "@result{} /gnu/store/...-sh-symlink\n"
  13818. msgstr ""
  13819. #. type: Plain text
  13820. #: guix-git/doc/guix.texi:9163
  13821. 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:"
  13822. msgstr ""
  13823. #. type: example
  13824. #: guix-git/doc/guix.texi:9167
  13825. #, no-wrap
  13826. msgid ""
  13827. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  13828. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  13829. msgstr ""
  13830. #. type: Plain text
  13831. #: guix-git/doc/guix.texi:9171
  13832. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  13833. msgstr ""
  13834. #. type: example
  13835. #: guix-git/doc/guix.texi:9180
  13836. #, no-wrap
  13837. msgid ""
  13838. "scheme@@(guile-user)> ,enter-store-monad\n"
  13839. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  13840. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  13841. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  13842. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  13843. "store-monad@@(guile-user) [1]> ,q\n"
  13844. "scheme@@(guile-user)>\n"
  13845. msgstr ""
  13846. #. type: Plain text
  13847. #: guix-git/doc/guix.texi:9185
  13848. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  13849. msgstr ""
  13850. #. type: Plain text
  13851. #: guix-git/doc/guix.texi:9188
  13852. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  13853. msgstr ""
  13854. #. type: deffn
  13855. #: guix-git/doc/guix.texi:9189
  13856. #, no-wrap
  13857. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  13858. msgstr ""
  13859. #. type: deffn
  13860. #: guix-git/doc/guix.texi:9192
  13861. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  13862. msgstr ""
  13863. #. type: deffn
  13864. #: guix-git/doc/guix.texi:9194
  13865. #, no-wrap
  13866. msgid "{Scheme Syntax} return @var{val}"
  13867. msgstr ""
  13868. #. type: deffn
  13869. #: guix-git/doc/guix.texi:9196
  13870. msgid "Return a monadic value that encapsulates @var{val}."
  13871. msgstr ""
  13872. #. type: deffn
  13873. #: guix-git/doc/guix.texi:9198
  13874. #, no-wrap
  13875. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  13876. msgstr ""
  13877. #. type: deffn
  13878. #: guix-git/doc/guix.texi:9205
  13879. 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:"
  13880. msgstr ""
  13881. #. type: lisp
  13882. #: guix-git/doc/guix.texi:9213
  13883. #, no-wrap
  13884. msgid ""
  13885. "(run-with-state\n"
  13886. " (with-monad %state-monad\n"
  13887. " (>>= (return 1)\n"
  13888. " (lambda (x) (return (+ 1 x)))\n"
  13889. " (lambda (x) (return (* 2 x)))))\n"
  13890. " 'some-state)\n"
  13891. "\n"
  13892. msgstr ""
  13893. #. type: lisp
  13894. #: guix-git/doc/guix.texi:9216
  13895. #, no-wrap
  13896. msgid ""
  13897. "@result{} 4\n"
  13898. "@result{} some-state\n"
  13899. msgstr ""
  13900. #. type: deffn
  13901. #: guix-git/doc/guix.texi:9219
  13902. #, no-wrap
  13903. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  13904. msgstr ""
  13905. #. type: deffn
  13906. #: guix-git/doc/guix.texi:9221
  13907. msgid "@var{body} ..."
  13908. msgstr ""
  13909. #. type: deffnx
  13910. #: guix-git/doc/guix.texi:9221
  13911. #, no-wrap
  13912. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  13913. msgstr ""
  13914. #. type: deffn
  13915. #: guix-git/doc/guix.texi:9233
  13916. 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}."
  13917. msgstr ""
  13918. #. type: deffn
  13919. #: guix-git/doc/guix.texi:9236
  13920. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  13921. msgstr ""
  13922. #. type: deffn
  13923. #: guix-git/doc/guix.texi:9238
  13924. #, no-wrap
  13925. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  13926. msgstr ""
  13927. #. type: deffn
  13928. #: guix-git/doc/guix.texi:9242
  13929. 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."
  13930. msgstr ""
  13931. #. type: deffn
  13932. #: guix-git/doc/guix.texi:9246
  13933. 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."
  13934. msgstr ""
  13935. #. type: deffn
  13936. #: guix-git/doc/guix.texi:9248
  13937. #, no-wrap
  13938. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  13939. msgstr ""
  13940. #. type: deffn
  13941. #: guix-git/doc/guix.texi:9253
  13942. 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."
  13943. msgstr ""
  13944. #. type: deffn
  13945. #: guix-git/doc/guix.texi:9255
  13946. #, no-wrap
  13947. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  13948. msgstr ""
  13949. #. type: deffn
  13950. #: guix-git/doc/guix.texi:9260
  13951. 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."
  13952. msgstr ""
  13953. #. type: cindex
  13954. #: guix-git/doc/guix.texi:9262
  13955. #, no-wrap
  13956. msgid "state monad"
  13957. msgstr ""
  13958. #. type: Plain text
  13959. #: guix-git/doc/guix.texi:9266
  13960. 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."
  13961. msgstr ""
  13962. #. type: defvr
  13963. #: guix-git/doc/guix.texi:9267
  13964. #, no-wrap
  13965. msgid "{Scheme Variable} %state-monad"
  13966. msgstr ""
  13967. #. type: defvr
  13968. #: guix-git/doc/guix.texi:9270
  13969. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  13970. msgstr ""
  13971. #. type: defvr
  13972. #: guix-git/doc/guix.texi:9274
  13973. 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:"
  13974. msgstr ""
  13975. #. type: lisp
  13976. #: guix-git/doc/guix.texi:9281
  13977. #, no-wrap
  13978. msgid ""
  13979. "(define (square x)\n"
  13980. " (mlet %state-monad ((count (current-state)))\n"
  13981. " (mbegin %state-monad\n"
  13982. " (set-current-state (+ 1 count))\n"
  13983. " (return (* x x)))))\n"
  13984. "\n"
  13985. msgstr ""
  13986. #. type: lisp
  13987. #: guix-git/doc/guix.texi:9285
  13988. #, no-wrap
  13989. msgid ""
  13990. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  13991. "@result{} (0 1 4)\n"
  13992. "@result{} 3\n"
  13993. msgstr ""
  13994. #. type: defvr
  13995. #: guix-git/doc/guix.texi:9289
  13996. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  13997. msgstr ""
  13998. #. type: deffn
  13999. #: guix-git/doc/guix.texi:9291
  14000. #, no-wrap
  14001. msgid "{Monadic Procedure} current-state"
  14002. msgstr ""
  14003. #. type: deffn
  14004. #: guix-git/doc/guix.texi:9293
  14005. msgid "Return the current state as a monadic value."
  14006. msgstr ""
  14007. #. type: deffn
  14008. #: guix-git/doc/guix.texi:9295
  14009. #, no-wrap
  14010. msgid "{Monadic Procedure} set-current-state @var{value}"
  14011. msgstr ""
  14012. #. type: deffn
  14013. #: guix-git/doc/guix.texi:9298
  14014. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14015. msgstr ""
  14016. #. type: deffn
  14017. #: guix-git/doc/guix.texi:9300
  14018. #, no-wrap
  14019. msgid "{Monadic Procedure} state-push @var{value}"
  14020. msgstr ""
  14021. #. type: deffn
  14022. #: guix-git/doc/guix.texi:9303
  14023. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14024. msgstr ""
  14025. #. type: deffn
  14026. #: guix-git/doc/guix.texi:9305
  14027. #, no-wrap
  14028. msgid "{Monadic Procedure} state-pop"
  14029. msgstr ""
  14030. #. type: deffn
  14031. #: guix-git/doc/guix.texi:9308
  14032. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14033. msgstr ""
  14034. #. type: deffn
  14035. #: guix-git/doc/guix.texi:9310
  14036. #, no-wrap
  14037. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14038. msgstr ""
  14039. #. type: deffn
  14040. #: guix-git/doc/guix.texi:9313
  14041. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14042. msgstr ""
  14043. #. type: Plain text
  14044. #: guix-git/doc/guix.texi:9317
  14045. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14046. msgstr ""
  14047. #. type: defvr
  14048. #: guix-git/doc/guix.texi:9318
  14049. #, no-wrap
  14050. msgid "{Scheme Variable} %store-monad"
  14051. msgstr ""
  14052. #. type: defvr
  14053. #: guix-git/doc/guix.texi:9320
  14054. msgid "The store monad---an alias for @code{%state-monad}."
  14055. msgstr ""
  14056. #. type: defvr
  14057. #: guix-git/doc/guix.texi:9324
  14058. 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)."
  14059. msgstr ""
  14060. #. type: deffn
  14061. #: guix-git/doc/guix.texi:9326
  14062. #, no-wrap
  14063. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14064. msgstr ""
  14065. #. type: deffn
  14066. #: guix-git/doc/guix.texi:9329
  14067. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14068. msgstr ""
  14069. #. type: deffn
  14070. #: guix-git/doc/guix.texi:9331
  14071. #, no-wrap
  14072. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14073. msgstr ""
  14074. #. type: deffn
  14075. #: guix-git/doc/guix.texi:9335
  14076. 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."
  14077. msgstr ""
  14078. #. type: deffn
  14079. #: guix-git/doc/guix.texi:9337
  14080. #, no-wrap
  14081. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14082. msgstr ""
  14083. #. type: deffn
  14084. #: guix-git/doc/guix.texi:9341
  14085. 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."
  14086. msgstr ""
  14087. #. type: deffn
  14088. #: guix-git/doc/guix.texi:9343
  14089. #, no-wrap
  14090. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14091. msgstr ""
  14092. #. type: deffn
  14093. #: guix-git/doc/guix.texi:9348
  14094. 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."
  14095. msgstr ""
  14096. #. type: deffn
  14097. #: guix-git/doc/guix.texi:9352 guix-git/doc/guix.texi:9775
  14098. 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."
  14099. msgstr ""
  14100. #. type: deffn
  14101. #: guix-git/doc/guix.texi:9357 guix-git/doc/guix.texi:9780
  14102. 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."
  14103. msgstr ""
  14104. #. type: deffn
  14105. #: guix-git/doc/guix.texi:9359
  14106. msgid "The example below adds a file to the store, under two different names:"
  14107. msgstr ""
  14108. #. type: lisp
  14109. #: guix-git/doc/guix.texi:9365
  14110. #, no-wrap
  14111. msgid ""
  14112. "(run-with-store (open-connection)\n"
  14113. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14114. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14115. " (return (list a b))))\n"
  14116. "\n"
  14117. msgstr ""
  14118. #. type: lisp
  14119. #: guix-git/doc/guix.texi:9367
  14120. #, no-wrap
  14121. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14122. msgstr ""
  14123. #. type: Plain text
  14124. #: guix-git/doc/guix.texi:9373
  14125. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14126. msgstr ""
  14127. #. type: deffn
  14128. #: guix-git/doc/guix.texi:9374
  14129. #, no-wrap
  14130. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14131. msgstr ""
  14132. #. type: deffn
  14133. #: guix-git/doc/guix.texi:9382
  14134. 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."
  14135. msgstr ""
  14136. #. type: deffn
  14137. #: guix-git/doc/guix.texi:9386
  14138. 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."
  14139. msgstr ""
  14140. #. type: deffn
  14141. #: guix-git/doc/guix.texi:9388
  14142. #, no-wrap
  14143. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14144. msgstr ""
  14145. #. type: deffnx
  14146. #: guix-git/doc/guix.texi:9389
  14147. #, no-wrap
  14148. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14149. msgstr ""
  14150. #. type: deffn
  14151. #: guix-git/doc/guix.texi:9393
  14152. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14153. msgstr ""
  14154. #. type: cindex
  14155. #: guix-git/doc/guix.texi:9399
  14156. #, no-wrap
  14157. msgid "G-expression"
  14158. msgstr ""
  14159. #. type: cindex
  14160. #: guix-git/doc/guix.texi:9400
  14161. #, no-wrap
  14162. msgid "build code quoting"
  14163. msgstr ""
  14164. #. type: Plain text
  14165. #: guix-git/doc/guix.texi:9406
  14166. 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})."
  14167. msgstr ""
  14168. #. type: cindex
  14169. #: guix-git/doc/guix.texi:9409
  14170. #, no-wrap
  14171. msgid "strata of code"
  14172. msgstr ""
  14173. #. type: Plain text
  14174. #: guix-git/doc/guix.texi:9421
  14175. 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})."
  14176. msgstr ""
  14177. #. type: Plain text
  14178. #: guix-git/doc/guix.texi:9428
  14179. 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."
  14180. msgstr ""
  14181. #. type: Plain text
  14182. #: guix-git/doc/guix.texi:9437
  14183. 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:"
  14184. msgstr ""
  14185. #. type: itemize
  14186. #: guix-git/doc/guix.texi:9442
  14187. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14188. msgstr ""
  14189. #. type: itemize
  14190. #: guix-git/doc/guix.texi:9447
  14191. 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."
  14192. msgstr ""
  14193. #. type: itemize
  14194. #: guix-git/doc/guix.texi:9452
  14195. 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."
  14196. msgstr ""
  14197. #. type: cindex
  14198. #: guix-git/doc/guix.texi:9454 guix-git/doc/guix.texi:10011
  14199. #, no-wrap
  14200. msgid "lowering, of high-level objects in gexps"
  14201. msgstr ""
  14202. #. type: Plain text
  14203. #: guix-git/doc/guix.texi:9464
  14204. 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)."
  14205. msgstr ""
  14206. #. type: Plain text
  14207. #: guix-git/doc/guix.texi:9466
  14208. msgid "To illustrate the idea, here is an example of a gexp:"
  14209. msgstr ""
  14210. #. type: lisp
  14211. #: guix-git/doc/guix.texi:9474
  14212. #, no-wrap
  14213. msgid ""
  14214. "(define build-exp\n"
  14215. " #~(begin\n"
  14216. " (mkdir #$output)\n"
  14217. " (chdir #$output)\n"
  14218. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14219. " \"list-files\")))\n"
  14220. msgstr ""
  14221. #. type: Plain text
  14222. #: guix-git/doc/guix.texi:9479
  14223. 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}:"
  14224. msgstr ""
  14225. #. type: lisp
  14226. #: guix-git/doc/guix.texi:9482
  14227. #, no-wrap
  14228. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14229. msgstr ""
  14230. #. type: Plain text
  14231. #: guix-git/doc/guix.texi:9490
  14232. 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."
  14233. msgstr ""
  14234. #. type: cindex
  14235. #: guix-git/doc/guix.texi:9491
  14236. #, no-wrap
  14237. msgid "cross compilation"
  14238. msgstr ""
  14239. #. type: Plain text
  14240. #: guix-git/doc/guix.texi:9497
  14241. 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:"
  14242. msgstr ""
  14243. #. type: lisp
  14244. #: guix-git/doc/guix.texi:9508
  14245. #, no-wrap
  14246. msgid ""
  14247. "(gexp->derivation \"vi\"\n"
  14248. " #~(begin\n"
  14249. " (mkdir #$output)\n"
  14250. " (mkdir (string-append #$output \"/bin\"))\n"
  14251. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14252. " \"-s\"\n"
  14253. " (string-append #$emacs \"/bin/emacs\")\n"
  14254. " (string-append #$output \"/bin/vi\")))\n"
  14255. " #:target \"aarch64-linux-gnu\")\n"
  14256. msgstr ""
  14257. #. type: Plain text
  14258. #: guix-git/doc/guix.texi:9514
  14259. 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."
  14260. msgstr ""
  14261. #. type: cindex
  14262. #: guix-git/doc/guix.texi:9515
  14263. #, no-wrap
  14264. msgid "imported modules, for gexps"
  14265. msgstr ""
  14266. #. type: findex
  14267. #: guix-git/doc/guix.texi:9516
  14268. #, no-wrap
  14269. msgid "with-imported-modules"
  14270. msgstr ""
  14271. #. type: Plain text
  14272. #: guix-git/doc/guix.texi:9521
  14273. 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:"
  14274. msgstr ""
  14275. #. type: lisp
  14276. #: guix-git/doc/guix.texi:9532
  14277. #, no-wrap
  14278. msgid ""
  14279. "(let ((build (with-imported-modules '((guix build utils))\n"
  14280. " #~(begin\n"
  14281. " (use-modules (guix build utils))\n"
  14282. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  14283. " (gexp->derivation \"empty-dir\"\n"
  14284. " #~(begin\n"
  14285. " #$build\n"
  14286. " (display \"success!\\n\")\n"
  14287. " #t)))\n"
  14288. msgstr ""
  14289. #. type: Plain text
  14290. #: guix-git/doc/guix.texi:9538
  14291. 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."
  14292. msgstr ""
  14293. #. type: cindex
  14294. #: guix-git/doc/guix.texi:9539
  14295. #, no-wrap
  14296. msgid "module closure"
  14297. msgstr ""
  14298. #. type: findex
  14299. #: guix-git/doc/guix.texi:9540
  14300. #, no-wrap
  14301. msgid "source-module-closure"
  14302. msgstr ""
  14303. #. type: Plain text
  14304. #: guix-git/doc/guix.texi:9547
  14305. 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:"
  14306. msgstr ""
  14307. #. type: lisp
  14308. #: guix-git/doc/guix.texi:9550
  14309. #, no-wrap
  14310. msgid ""
  14311. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  14312. "\n"
  14313. msgstr ""
  14314. #. type: lisp
  14315. #: guix-git/doc/guix.texi:9559
  14316. #, no-wrap
  14317. msgid ""
  14318. "(with-imported-modules (source-module-closure\n"
  14319. " '((guix build utils)\n"
  14320. " (gnu build vm)))\n"
  14321. " (gexp->derivation \"something-with-vms\"\n"
  14322. " #~(begin\n"
  14323. " (use-modules (guix build utils)\n"
  14324. " (gnu build vm))\n"
  14325. " @dots{})))\n"
  14326. msgstr ""
  14327. #. type: cindex
  14328. #: guix-git/doc/guix.texi:9561
  14329. #, no-wrap
  14330. msgid "extensions, for gexps"
  14331. msgstr ""
  14332. #. type: findex
  14333. #: guix-git/doc/guix.texi:9562
  14334. #, no-wrap
  14335. msgid "with-extensions"
  14336. msgstr ""
  14337. #. type: Plain text
  14338. #: guix-git/doc/guix.texi:9567
  14339. 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:"
  14340. msgstr ""
  14341. #. type: lisp
  14342. #: guix-git/doc/guix.texi:9570
  14343. #, no-wrap
  14344. msgid ""
  14345. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  14346. "\n"
  14347. msgstr ""
  14348. #. type: lisp
  14349. #: guix-git/doc/guix.texi:9576
  14350. #, no-wrap
  14351. msgid ""
  14352. "(with-extensions (list guile-json)\n"
  14353. " (gexp->derivation \"something-with-json\"\n"
  14354. " #~(begin\n"
  14355. " (use-modules (json))\n"
  14356. " @dots{})))\n"
  14357. msgstr ""
  14358. #. type: Plain text
  14359. #: guix-git/doc/guix.texi:9579
  14360. msgid "The syntactic form to construct gexps is summarized below."
  14361. msgstr ""
  14362. #. type: deffn
  14363. #: guix-git/doc/guix.texi:9580
  14364. #, no-wrap
  14365. msgid "{Scheme Syntax} #~@var{exp}"
  14366. msgstr ""
  14367. #. type: deffnx
  14368. #: guix-git/doc/guix.texi:9581
  14369. #, no-wrap
  14370. msgid "{Scheme Syntax} (gexp @var{exp})"
  14371. msgstr ""
  14372. #. type: deffn
  14373. #: guix-git/doc/guix.texi:9584
  14374. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  14375. msgstr ""
  14376. #. type: item
  14377. #: guix-git/doc/guix.texi:9586
  14378. #, no-wrap
  14379. msgid "#$@var{obj}"
  14380. msgstr ""
  14381. #. type: itemx
  14382. #: guix-git/doc/guix.texi:9587
  14383. #, no-wrap
  14384. msgid "(ungexp @var{obj})"
  14385. msgstr ""
  14386. #. type: table
  14387. #: guix-git/doc/guix.texi:9592
  14388. 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}."
  14389. msgstr ""
  14390. #. type: table
  14391. #: guix-git/doc/guix.texi:9595
  14392. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  14393. msgstr ""
  14394. #. type: table
  14395. #: guix-git/doc/guix.texi:9598
  14396. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  14397. msgstr ""
  14398. #. type: table
  14399. #: guix-git/doc/guix.texi:9600
  14400. msgid "If @var{obj} is another kind of object, it is inserted as is."
  14401. msgstr ""
  14402. #. type: item
  14403. #: guix-git/doc/guix.texi:9601
  14404. #, no-wrap
  14405. msgid "#$@var{obj}:@var{output}"
  14406. msgstr ""
  14407. #. type: itemx
  14408. #: guix-git/doc/guix.texi:9602
  14409. #, no-wrap
  14410. msgid "(ungexp @var{obj} @var{output})"
  14411. msgstr ""
  14412. #. type: table
  14413. #: guix-git/doc/guix.texi:9606
  14414. 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})."
  14415. msgstr ""
  14416. #. type: item
  14417. #: guix-git/doc/guix.texi:9607
  14418. #, no-wrap
  14419. msgid "#+@var{obj}"
  14420. msgstr ""
  14421. #. type: itemx
  14422. #: guix-git/doc/guix.texi:9608
  14423. #, no-wrap
  14424. msgid "#+@var{obj}:output"
  14425. msgstr ""
  14426. #. type: itemx
  14427. #: guix-git/doc/guix.texi:9609
  14428. #, no-wrap
  14429. msgid "(ungexp-native @var{obj})"
  14430. msgstr ""
  14431. #. type: itemx
  14432. #: guix-git/doc/guix.texi:9610
  14433. #, no-wrap
  14434. msgid "(ungexp-native @var{obj} @var{output})"
  14435. msgstr ""
  14436. #. type: table
  14437. #: guix-git/doc/guix.texi:9613
  14438. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  14439. msgstr ""
  14440. #. type: item
  14441. #: guix-git/doc/guix.texi:9614
  14442. #, no-wrap
  14443. msgid "#$output[:@var{output}]"
  14444. msgstr ""
  14445. #. type: itemx
  14446. #: guix-git/doc/guix.texi:9615
  14447. #, no-wrap
  14448. msgid "(ungexp output [@var{output}])"
  14449. msgstr ""
  14450. #. type: table
  14451. #: guix-git/doc/guix.texi:9618
  14452. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  14453. msgstr ""
  14454. #. type: table
  14455. #: guix-git/doc/guix.texi:9620
  14456. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  14457. msgstr ""
  14458. #. type: item
  14459. #: guix-git/doc/guix.texi:9621
  14460. #, no-wrap
  14461. msgid "#$@@@var{lst}"
  14462. msgstr ""
  14463. #. type: itemx
  14464. #: guix-git/doc/guix.texi:9622
  14465. #, no-wrap
  14466. msgid "(ungexp-splicing @var{lst})"
  14467. msgstr ""
  14468. #. type: table
  14469. #: guix-git/doc/guix.texi:9625
  14470. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  14471. msgstr ""
  14472. #. type: item
  14473. #: guix-git/doc/guix.texi:9626
  14474. #, no-wrap
  14475. msgid "#+@@@var{lst}"
  14476. msgstr ""
  14477. #. type: itemx
  14478. #: guix-git/doc/guix.texi:9627
  14479. #, no-wrap
  14480. msgid "(ungexp-native-splicing @var{lst})"
  14481. msgstr ""
  14482. #. type: table
  14483. #: guix-git/doc/guix.texi:9630
  14484. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  14485. msgstr ""
  14486. #. type: deffn
  14487. #: guix-git/doc/guix.texi:9635
  14488. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  14489. msgstr ""
  14490. #. type: deffn
  14491. #: guix-git/doc/guix.texi:9637
  14492. #, no-wrap
  14493. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  14494. msgstr ""
  14495. #. type: deffn
  14496. #: guix-git/doc/guix.texi:9640
  14497. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  14498. msgstr ""
  14499. #. type: deffn
  14500. #: guix-git/doc/guix.texi:9644
  14501. 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:"
  14502. msgstr ""
  14503. #. type: lisp
  14504. #: guix-git/doc/guix.texi:9650
  14505. #, no-wrap
  14506. msgid ""
  14507. "`((guix build utils)\n"
  14508. " (guix gcrypt)\n"
  14509. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  14510. " #~(define-module @dots{}))))\n"
  14511. msgstr ""
  14512. #. type: deffn
  14513. #: guix-git/doc/guix.texi:9655
  14514. 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."
  14515. msgstr ""
  14516. #. type: deffn
  14517. #: guix-git/doc/guix.texi:9659
  14518. 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{}."
  14519. msgstr ""
  14520. #. type: deffn
  14521. #: guix-git/doc/guix.texi:9661
  14522. #, no-wrap
  14523. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  14524. msgstr ""
  14525. #. type: deffn
  14526. #: guix-git/doc/guix.texi:9666
  14527. 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."
  14528. msgstr ""
  14529. #. type: deffn
  14530. #: guix-git/doc/guix.texi:9671
  14531. 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{}."
  14532. msgstr ""
  14533. #. type: deffn
  14534. #: guix-git/doc/guix.texi:9673
  14535. #, no-wrap
  14536. msgid "{Scheme Procedure} gexp? @var{obj}"
  14537. msgstr ""
  14538. #. type: deffn
  14539. #: guix-git/doc/guix.texi:9675
  14540. msgid "Return @code{#t} if @var{obj} is a G-expression."
  14541. msgstr ""
  14542. #. type: Plain text
  14543. #: guix-git/doc/guix.texi:9681
  14544. 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)."
  14545. msgstr ""
  14546. #. type: deffn
  14547. #: guix-git/doc/guix.texi:9682
  14548. #, no-wrap
  14549. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  14550. msgstr ""
  14551. #. type: deffn
  14552. #: guix-git/doc/guix.texi:9700
  14553. 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}."
  14554. msgstr ""
  14555. #. type: deffn
  14556. #: guix-git/doc/guix.texi:9708
  14557. 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))}."
  14558. msgstr ""
  14559. #. type: deffn
  14560. #: guix-git/doc/guix.texi:9711
  14561. 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\"}."
  14562. msgstr ""
  14563. #. type: deffn
  14564. #: guix-git/doc/guix.texi:9714
  14565. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  14566. msgstr ""
  14567. #. type: deffn
  14568. #: guix-git/doc/guix.texi:9717
  14569. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  14570. msgstr ""
  14571. #. type: example
  14572. #: guix-git/doc/guix.texi:9724
  14573. #, no-wrap
  14574. msgid ""
  14575. "(@var{file-name} @var{package})\n"
  14576. "(@var{file-name} @var{package} @var{output})\n"
  14577. "(@var{file-name} @var{derivation})\n"
  14578. "(@var{file-name} @var{derivation} @var{output})\n"
  14579. "(@var{file-name} @var{store-item})\n"
  14580. msgstr ""
  14581. #. type: deffn
  14582. #: guix-git/doc/guix.texi:9730
  14583. 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."
  14584. msgstr ""
  14585. #. type: deffn
  14586. #: guix-git/doc/guix.texi:9736
  14587. 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."
  14588. msgstr ""
  14589. #. type: deffn
  14590. #: guix-git/doc/guix.texi:9739
  14591. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  14592. msgstr ""
  14593. #. type: deffn
  14594. #: guix-git/doc/guix.texi:9741
  14595. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  14596. msgstr ""
  14597. #. type: cindex
  14598. #: guix-git/doc/guix.texi:9743
  14599. #, no-wrap
  14600. msgid "file-like objects"
  14601. msgstr ""
  14602. #. type: Plain text
  14603. #: guix-git/doc/guix.texi:9748
  14604. 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:"
  14605. msgstr ""
  14606. #. type: lisp
  14607. #: guix-git/doc/guix.texi:9752
  14608. #, no-wrap
  14609. msgid ""
  14610. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  14611. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  14612. msgstr ""
  14613. #. type: Plain text
  14614. #: guix-git/doc/guix.texi:9761
  14615. 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."
  14616. msgstr ""
  14617. #. type: deffn
  14618. #: guix-git/doc/guix.texi:9762
  14619. #, no-wrap
  14620. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  14621. msgstr ""
  14622. #. type: deffn
  14623. #: guix-git/doc/guix.texi:9771
  14624. 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}."
  14625. msgstr ""
  14626. #. type: deffn
  14627. #: guix-git/doc/guix.texi:9783
  14628. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  14629. msgstr ""
  14630. #. type: deffn
  14631. #: guix-git/doc/guix.texi:9785
  14632. #, no-wrap
  14633. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  14634. msgstr ""
  14635. #. type: deffn
  14636. #: guix-git/doc/guix.texi:9788
  14637. 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."
  14638. msgstr ""
  14639. #. type: deffn
  14640. #: guix-git/doc/guix.texi:9790
  14641. msgid "This is the declarative counterpart of @code{text-file}."
  14642. msgstr ""
  14643. #. type: deffn
  14644. #: guix-git/doc/guix.texi:9792
  14645. #, no-wrap
  14646. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  14647. msgstr ""
  14648. #. type: deffn
  14649. #: guix-git/doc/guix.texi:9799
  14650. 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}."
  14651. msgstr ""
  14652. #. type: deffn
  14653. #: guix-git/doc/guix.texi:9801
  14654. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  14655. msgstr ""
  14656. #. type: deffn
  14657. #: guix-git/doc/guix.texi:9803
  14658. #, no-wrap
  14659. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  14660. msgstr ""
  14661. #. type: deffn
  14662. #: guix-git/doc/guix.texi:9809
  14663. 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}."
  14664. msgstr ""
  14665. #. type: deffn
  14666. #: guix-git/doc/guix.texi:9812
  14667. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  14668. msgstr ""
  14669. #. type: lisp
  14670. #: guix-git/doc/guix.texi:9815
  14671. #, no-wrap
  14672. msgid ""
  14673. "(use-modules (guix gexp) (gnu packages base))\n"
  14674. "\n"
  14675. msgstr ""
  14676. #. type: lisp
  14677. #: guix-git/doc/guix.texi:9819
  14678. #, no-wrap
  14679. msgid ""
  14680. "(gexp->script \"list-files\"\n"
  14681. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  14682. " \"ls\"))\n"
  14683. msgstr ""
  14684. #. type: deffn
  14685. #: guix-git/doc/guix.texi:9824
  14686. 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:"
  14687. msgstr ""
  14688. #. type: example
  14689. #: guix-git/doc/guix.texi:9829
  14690. #, no-wrap
  14691. msgid ""
  14692. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  14693. "!#\n"
  14694. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  14695. msgstr ""
  14696. #. type: deffn
  14697. #: guix-git/doc/guix.texi:9832
  14698. #, no-wrap
  14699. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  14700. msgstr ""
  14701. #. type: deffn
  14702. #: guix-git/doc/guix.texi:9837
  14703. 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}."
  14704. msgstr ""
  14705. #. type: deffn
  14706. #: guix-git/doc/guix.texi:9839
  14707. msgid "This is the declarative counterpart of @code{gexp->script}."
  14708. msgstr ""
  14709. #. type: deffn
  14710. #: guix-git/doc/guix.texi:9841
  14711. #, no-wrap
  14712. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  14713. msgstr ""
  14714. #. type: deffn
  14715. #: guix-git/doc/guix.texi:9848
  14716. 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."
  14717. msgstr ""
  14718. #. type: deffn
  14719. #: guix-git/doc/guix.texi:9853
  14720. 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}."
  14721. msgstr ""
  14722. #. type: deffn
  14723. #: guix-git/doc/guix.texi:9856
  14724. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  14725. msgstr ""
  14726. #. type: deffn
  14727. #: guix-git/doc/guix.texi:9858
  14728. #, no-wrap
  14729. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  14730. msgstr ""
  14731. #. type: deffn
  14732. #: guix-git/doc/guix.texi:9862
  14733. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  14734. msgstr ""
  14735. #. type: deffn
  14736. #: guix-git/doc/guix.texi:9864
  14737. msgid "This is the declarative counterpart of @code{gexp->file}."
  14738. msgstr ""
  14739. #. type: deffn
  14740. #: guix-git/doc/guix.texi:9866
  14741. #, no-wrap
  14742. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  14743. msgstr ""
  14744. #. type: deffn
  14745. #: guix-git/doc/guix.texi:9872
  14746. 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."
  14747. msgstr ""
  14748. #. type: deffn
  14749. #: guix-git/doc/guix.texi:9877
  14750. 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:"
  14751. msgstr ""
  14752. #. type: lisp
  14753. #: guix-git/doc/guix.texi:9885
  14754. #, no-wrap
  14755. msgid ""
  14756. "(define (profile.sh)\n"
  14757. " ;; Return the name of a shell script in the store that\n"
  14758. " ;; initializes the 'PATH' environment variable.\n"
  14759. " (text-file* \"profile.sh\"\n"
  14760. " \"export PATH=\" coreutils \"/bin:\"\n"
  14761. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  14762. msgstr ""
  14763. #. type: deffn
  14764. #: guix-git/doc/guix.texi:9890
  14765. 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."
  14766. msgstr ""
  14767. #. type: deffn
  14768. #: guix-git/doc/guix.texi:9892
  14769. #, no-wrap
  14770. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  14771. msgstr ""
  14772. #. type: deffn
  14773. #: guix-git/doc/guix.texi:9896
  14774. 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:"
  14775. msgstr ""
  14776. #. type: lisp
  14777. #: guix-git/doc/guix.texi:9900
  14778. #, no-wrap
  14779. msgid ""
  14780. "(mixed-text-file \"profile\"\n"
  14781. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  14782. msgstr ""
  14783. #. type: deffn
  14784. #: guix-git/doc/guix.texi:9903
  14785. msgid "This is the declarative counterpart of @code{text-file*}."
  14786. msgstr ""
  14787. #. type: deffn
  14788. #: guix-git/doc/guix.texi:9905
  14789. #, no-wrap
  14790. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  14791. msgstr ""
  14792. #. type: deffn
  14793. #: guix-git/doc/guix.texi:9910
  14794. 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:"
  14795. msgstr ""
  14796. #. type: lisp
  14797. #: guix-git/doc/guix.texi:9917
  14798. #, no-wrap
  14799. msgid ""
  14800. "(file-union \"etc\"\n"
  14801. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  14802. " \"127.0.0.1 localhost\"))\n"
  14803. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  14804. " \"alias ls='ls --color=auto'\"))))\n"
  14805. msgstr ""
  14806. #. type: deffn
  14807. #: guix-git/doc/guix.texi:9920
  14808. msgid "This yields an @code{etc} directory containing these two files."
  14809. msgstr ""
  14810. #. type: deffn
  14811. #: guix-git/doc/guix.texi:9922
  14812. #, no-wrap
  14813. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  14814. msgstr ""
  14815. #. type: deffn
  14816. #: guix-git/doc/guix.texi:9925
  14817. 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:"
  14818. msgstr ""
  14819. #. type: lisp
  14820. #: guix-git/doc/guix.texi:9928
  14821. #, no-wrap
  14822. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  14823. msgstr ""
  14824. #. type: deffn
  14825. #: guix-git/doc/guix.texi:9931
  14826. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  14827. msgstr ""
  14828. #. type: deffn
  14829. #: guix-git/doc/guix.texi:9933
  14830. #, no-wrap
  14831. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  14832. msgstr ""
  14833. #. type: deffn
  14834. #: guix-git/doc/guix.texi:9937
  14835. 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."
  14836. msgstr ""
  14837. #. type: deffn
  14838. #: guix-git/doc/guix.texi:9939
  14839. msgid "As an example, consider this gexp:"
  14840. msgstr ""
  14841. #. type: lisp
  14842. #: guix-git/doc/guix.texi:9944
  14843. #, no-wrap
  14844. msgid ""
  14845. "(gexp->script \"run-uname\"\n"
  14846. " #~(system* #$(file-append coreutils\n"
  14847. " \"/bin/uname\")))\n"
  14848. msgstr ""
  14849. #. type: deffn
  14850. #: guix-git/doc/guix.texi:9947
  14851. msgid "The same effect could be achieved with:"
  14852. msgstr ""
  14853. #. type: lisp
  14854. #: guix-git/doc/guix.texi:9952
  14855. #, no-wrap
  14856. msgid ""
  14857. "(gexp->script \"run-uname\"\n"
  14858. " #~(system* (string-append #$coreutils\n"
  14859. " \"/bin/uname\")))\n"
  14860. msgstr ""
  14861. #. type: deffn
  14862. #: guix-git/doc/guix.texi:9958
  14863. 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}."
  14864. msgstr ""
  14865. #. type: deffn
  14866. #: guix-git/doc/guix.texi:9960
  14867. #, no-wrap
  14868. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  14869. msgstr ""
  14870. #. type: deffnx
  14871. #: guix-git/doc/guix.texi:9961
  14872. #, no-wrap
  14873. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  14874. msgstr ""
  14875. #. type: deffn
  14876. #: guix-git/doc/guix.texi:9964
  14877. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  14878. msgstr ""
  14879. #. type: deffn
  14880. #: guix-git/doc/guix.texi:9969
  14881. 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."
  14882. msgstr ""
  14883. #. type: deffn
  14884. #: guix-git/doc/guix.texi:9972
  14885. 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:"
  14886. msgstr ""
  14887. #. type: lisp
  14888. #: guix-git/doc/guix.texi:9983
  14889. #, no-wrap
  14890. msgid ""
  14891. "#~(system*\n"
  14892. " #+(let-system system\n"
  14893. " (cond ((string-prefix? \"armhf-\" system)\n"
  14894. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  14895. " ((string-prefix? \"x86_64-\" system)\n"
  14896. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  14897. " (else\n"
  14898. " (error \"dunno!\"))))\n"
  14899. " \"-net\" \"user\" #$image)\n"
  14900. msgstr ""
  14901. #. type: deffn
  14902. #: guix-git/doc/guix.texi:9986
  14903. #, no-wrap
  14904. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  14905. msgstr ""
  14906. #. type: deffn
  14907. #: guix-git/doc/guix.texi:9992
  14908. 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."
  14909. msgstr ""
  14910. #. type: deffn
  14911. #: guix-git/doc/guix.texi:9995
  14912. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  14913. msgstr ""
  14914. #. type: lisp
  14915. #: guix-git/doc/guix.texi:9999
  14916. #, no-wrap
  14917. msgid ""
  14918. "(with-parameters ((%current-system \"i686-linux\"))\n"
  14919. " coreutils)\n"
  14920. msgstr ""
  14921. #. type: deffn
  14922. #: guix-git/doc/guix.texi:10003
  14923. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  14924. msgstr ""
  14925. #. type: Plain text
  14926. #: guix-git/doc/guix.texi:10010
  14927. 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."
  14928. msgstr ""
  14929. #. type: Plain text
  14930. #: guix-git/doc/guix.texi:10016
  14931. 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."
  14932. msgstr ""
  14933. #. type: deffn
  14934. #: guix-git/doc/guix.texi:10017
  14935. #, no-wrap
  14936. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  14937. msgstr ""
  14938. #. type: deffn
  14939. #: guix-git/doc/guix.texi:10023
  14940. 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>}."
  14941. msgstr ""
  14942. #. type: section
  14943. #: guix-git/doc/guix.texi:10026
  14944. #, no-wrap
  14945. msgid "Invoking @command{guix repl}"
  14946. msgstr ""
  14947. #. type: cindex
  14948. #: guix-git/doc/guix.texi:10028
  14949. #, no-wrap
  14950. msgid "REPL, read-eval-print loop, script"
  14951. msgstr ""
  14952. #. type: Plain text
  14953. #: guix-git/doc/guix.texi:10038
  14954. 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."
  14955. msgstr ""
  14956. #. type: example
  14957. #: guix-git/doc/guix.texi:10043
  14958. #, no-wrap
  14959. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  14960. msgstr ""
  14961. #. type: Plain text
  14962. #: guix-git/doc/guix.texi:10047
  14963. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  14964. msgstr ""
  14965. #. type: example
  14966. #: guix-git/doc/guix.texi:10050
  14967. #, no-wrap
  14968. msgid "guix repl my-script.scm\n"
  14969. msgstr ""
  14970. #. type: Plain text
  14971. #: guix-git/doc/guix.texi:10054
  14972. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  14973. msgstr ""
  14974. #. type: example
  14975. #: guix-git/doc/guix.texi:10057
  14976. #, no-wrap
  14977. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  14978. msgstr ""
  14979. #. type: Plain text
  14980. #: guix-git/doc/guix.texi:10062
  14981. 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:"
  14982. msgstr ""
  14983. #. type: example
  14984. #: guix-git/doc/guix.texi:10066
  14985. #, no-wrap
  14986. msgid ""
  14987. "@code{#!/usr/bin/env -S guix repl --}\n"
  14988. "@code{!#}\n"
  14989. msgstr ""
  14990. #. type: Plain text
  14991. #: guix-git/doc/guix.texi:10069
  14992. msgid "Without a file name argument, a Guile REPL is started:"
  14993. msgstr ""
  14994. #. type: example
  14995. #: guix-git/doc/guix.texi:10075
  14996. #, no-wrap
  14997. msgid ""
  14998. "$ guix repl\n"
  14999. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15000. "scheme@@(guile-user)> coreutils\n"
  15001. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15002. msgstr ""
  15003. #. type: Plain text
  15004. #: guix-git/doc/guix.texi:10082
  15005. 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."
  15006. msgstr ""
  15007. #. type: Plain text
  15008. #: guix-git/doc/guix.texi:10084
  15009. msgid "The available options are as follows:"
  15010. msgstr ""
  15011. #. type: item
  15012. #: guix-git/doc/guix.texi:10086 guix-git/doc/guix.texi:12448
  15013. #, no-wrap
  15014. msgid "--type=@var{type}"
  15015. msgstr ""
  15016. #. type: itemx
  15017. #: guix-git/doc/guix.texi:10087 guix-git/doc/guix.texi:12449
  15018. #: guix-git/doc/guix.texi:33138
  15019. #, no-wrap
  15020. msgid "-t @var{type}"
  15021. msgstr ""
  15022. #. type: table
  15023. #: guix-git/doc/guix.texi:10089
  15024. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15025. msgstr ""
  15026. #. type: item
  15027. #: guix-git/doc/guix.texi:10091
  15028. #, no-wrap
  15029. msgid "guile"
  15030. msgstr ""
  15031. #. type: table
  15032. #: guix-git/doc/guix.texi:10093
  15033. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15034. msgstr ""
  15035. #. type: item
  15036. #: guix-git/doc/guix.texi:10093
  15037. #, no-wrap
  15038. msgid "machine"
  15039. msgstr ""
  15040. #. type: table
  15041. #: guix-git/doc/guix.texi:10096
  15042. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15043. msgstr ""
  15044. #. type: table
  15045. #: guix-git/doc/guix.texi:10102
  15046. 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:"
  15047. msgstr ""
  15048. #. type: item
  15049. #: guix-git/doc/guix.texi:10104
  15050. #, no-wrap
  15051. msgid "--listen=tcp:37146"
  15052. msgstr ""
  15053. #. type: table
  15054. #: guix-git/doc/guix.texi:10106
  15055. msgid "Accept connections on localhost on port 37146."
  15056. msgstr ""
  15057. #. type: item
  15058. #: guix-git/doc/guix.texi:10107
  15059. #, no-wrap
  15060. msgid "--listen=unix:/tmp/socket"
  15061. msgstr ""
  15062. #. type: table
  15063. #: guix-git/doc/guix.texi:10109
  15064. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15065. msgstr ""
  15066. #. type: item
  15067. #: guix-git/doc/guix.texi:10111 guix-git/doc/guix.texi:10215
  15068. #: guix-git/doc/guix.texi:11917 guix-git/doc/guix.texi:12097
  15069. #: guix-git/doc/guix.texi:12242 guix-git/doc/guix.texi:12496
  15070. #, no-wrap
  15071. msgid "--load-path=@var{directory}"
  15072. msgstr ""
  15073. #. type: itemx
  15074. #: guix-git/doc/guix.texi:10112 guix-git/doc/guix.texi:10216
  15075. #: guix-git/doc/guix.texi:12098 guix-git/doc/guix.texi:12243
  15076. #: guix-git/doc/guix.texi:12497
  15077. #, no-wrap
  15078. msgid "-L @var{directory}"
  15079. msgstr ""
  15080. #. type: table
  15081. #: guix-git/doc/guix.texi:10115 guix-git/doc/guix.texi:10219
  15082. #: guix-git/doc/guix.texi:11920 guix-git/doc/guix.texi:12101
  15083. #: guix-git/doc/guix.texi:12246 guix-git/doc/guix.texi:12500
  15084. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15085. msgstr ""
  15086. #. type: table
  15087. #: guix-git/doc/guix.texi:10118
  15088. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15089. msgstr ""
  15090. #. type: itemx
  15091. #: guix-git/doc/guix.texi:10119 guix-git/doc/guix.texi:10678
  15092. #, no-wrap
  15093. msgid "-q"
  15094. msgstr ""
  15095. #. type: table
  15096. #: guix-git/doc/guix.texi:10122
  15097. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15098. msgstr ""
  15099. #. type: Plain text
  15100. #: guix-git/doc/guix.texi:10132
  15101. 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."
  15102. msgstr ""
  15103. #. type: cindex
  15104. #: guix-git/doc/guix.texi:10154
  15105. #, no-wrap
  15106. msgid "package building"
  15107. msgstr ""
  15108. #. type: command{#1}
  15109. #: guix-git/doc/guix.texi:10155
  15110. #, no-wrap
  15111. msgid "guix build"
  15112. msgstr ""
  15113. #. type: Plain text
  15114. #: guix-git/doc/guix.texi:10161
  15115. 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."
  15116. msgstr ""
  15117. #. type: example
  15118. #: guix-git/doc/guix.texi:10166
  15119. #, no-wrap
  15120. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15121. msgstr ""
  15122. #. type: Plain text
  15123. #: guix-git/doc/guix.texi:10171
  15124. 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:"
  15125. msgstr ""
  15126. #. type: example
  15127. #: guix-git/doc/guix.texi:10174
  15128. #, no-wrap
  15129. msgid "guix build emacs guile\n"
  15130. msgstr ""
  15131. #. type: Plain text
  15132. #: guix-git/doc/guix.texi:10177
  15133. msgid "Similarly, the following command builds all the available packages:"
  15134. msgstr ""
  15135. #. type: example
  15136. #: guix-git/doc/guix.texi:10181
  15137. #, no-wrap
  15138. msgid ""
  15139. "guix build --quiet --keep-going \\\n"
  15140. " $(guix package -A | cut -f1,2 --output-delimiter=@@)\n"
  15141. msgstr ""
  15142. #. type: Plain text
  15143. #: guix-git/doc/guix.texi:10189
  15144. 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})."
  15145. msgstr ""
  15146. #. type: Plain text
  15147. #: guix-git/doc/guix.texi:10194
  15148. 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."
  15149. msgstr ""
  15150. #. type: Plain text
  15151. #: guix-git/doc/guix.texi:10197
  15152. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15153. msgstr ""
  15154. #. type: Plain text
  15155. #: guix-git/doc/guix.texi:10212
  15156. 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:"
  15157. msgstr ""
  15158. #. type: table
  15159. #: guix-git/doc/guix.texi:10222 guix-git/doc/guix.texi:11923
  15160. #: guix-git/doc/guix.texi:12104 guix-git/doc/guix.texi:12249
  15161. #: guix-git/doc/guix.texi:12503
  15162. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15163. msgstr ""
  15164. #. type: item
  15165. #: guix-git/doc/guix.texi:10223
  15166. #, no-wrap
  15167. msgid "--keep-failed"
  15168. msgstr ""
  15169. #. type: itemx
  15170. #: guix-git/doc/guix.texi:10224
  15171. #, no-wrap
  15172. msgid "-K"
  15173. msgstr ""
  15174. #. type: table
  15175. #: guix-git/doc/guix.texi:10230
  15176. 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."
  15177. msgstr ""
  15178. #. type: table
  15179. #: guix-git/doc/guix.texi:10234
  15180. 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})."
  15181. msgstr ""
  15182. #. type: item
  15183. #: guix-git/doc/guix.texi:10235
  15184. #, no-wrap
  15185. msgid "--keep-going"
  15186. msgstr ""
  15187. #. type: itemx
  15188. #: guix-git/doc/guix.texi:10236
  15189. #, no-wrap
  15190. msgid "-k"
  15191. msgstr ""
  15192. #. type: table
  15193. #: guix-git/doc/guix.texi:10239
  15194. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15195. msgstr ""
  15196. #. type: table
  15197. #: guix-git/doc/guix.texi:10242
  15198. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15199. msgstr ""
  15200. #. type: table
  15201. #: guix-git/doc/guix.texi:10246
  15202. msgid "Do not build the derivations."
  15203. msgstr ""
  15204. #. type: anchor{#1}
  15205. #: guix-git/doc/guix.texi:10248
  15206. msgid "fallback-option"
  15207. msgstr ""
  15208. #. type: item
  15209. #: guix-git/doc/guix.texi:10248
  15210. #, no-wrap
  15211. msgid "--fallback"
  15212. msgstr ""
  15213. #. type: table
  15214. #: guix-git/doc/guix.texi:10251
  15215. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15216. msgstr ""
  15217. #. type: anchor{#1}
  15218. #: guix-git/doc/guix.texi:10257
  15219. msgid "client-substitute-urls"
  15220. msgstr ""
  15221. #. type: table
  15222. #: guix-git/doc/guix.texi:10257
  15223. 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})."
  15224. msgstr ""
  15225. #. type: table
  15226. #: guix-git/doc/guix.texi:10261
  15227. 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})."
  15228. msgstr ""
  15229. #. type: table
  15230. #: guix-git/doc/guix.texi:10264
  15231. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15232. msgstr ""
  15233. #. type: item
  15234. #: guix-git/doc/guix.texi:10270
  15235. #, no-wrap
  15236. msgid "--no-grafts"
  15237. msgstr ""
  15238. #. type: table
  15239. #: guix-git/doc/guix.texi:10274
  15240. 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."
  15241. msgstr ""
  15242. #. type: item
  15243. #: guix-git/doc/guix.texi:10275
  15244. #, no-wrap
  15245. msgid "--rounds=@var{n}"
  15246. msgstr ""
  15247. #. type: table
  15248. #: guix-git/doc/guix.texi:10278
  15249. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15250. msgstr ""
  15251. #. type: table
  15252. #: guix-git/doc/guix.texi:10283
  15253. 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."
  15254. msgstr ""
  15255. #. type: table
  15256. #: guix-git/doc/guix.texi:10299
  15257. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15258. msgstr ""
  15259. #. type: table
  15260. #: guix-git/doc/guix.texi:10306
  15261. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15262. msgstr ""
  15263. #. type: cindex
  15264. #: guix-git/doc/guix.texi:10309
  15265. #, no-wrap
  15266. msgid "verbosity, of the command-line tools"
  15267. msgstr ""
  15268. #. type: cindex
  15269. #: guix-git/doc/guix.texi:10310
  15270. #, no-wrap
  15271. msgid "build logs, verbosity"
  15272. msgstr ""
  15273. #. type: item
  15274. #: guix-git/doc/guix.texi:10311
  15275. #, no-wrap
  15276. msgid "-v @var{level}"
  15277. msgstr ""
  15278. #. type: itemx
  15279. #: guix-git/doc/guix.texi:10312
  15280. #, no-wrap
  15281. msgid "--verbosity=@var{level}"
  15282. msgstr ""
  15283. #. type: table
  15284. #: guix-git/doc/guix.texi:10317
  15285. 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."
  15286. msgstr ""
  15287. #. type: table
  15288. #: guix-git/doc/guix.texi:10322
  15289. 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."
  15290. msgstr ""
  15291. #. type: table
  15292. #: guix-git/doc/guix.texi:10328
  15293. 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."
  15294. msgstr ""
  15295. #. type: item
  15296. #: guix-git/doc/guix.texi:10329
  15297. #, no-wrap
  15298. msgid "--debug=@var{level}"
  15299. msgstr ""
  15300. #. type: table
  15301. #: guix-git/doc/guix.texi:10333
  15302. 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."
  15303. msgstr ""
  15304. #. type: Plain text
  15305. #: guix-git/doc/guix.texi:10340
  15306. 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."
  15307. msgstr ""
  15308. #. type: Plain text
  15309. #: guix-git/doc/guix.texi:10344
  15310. 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."
  15311. msgstr ""
  15312. #. type: defvr
  15313. #: guix-git/doc/guix.texi:10345
  15314. #, no-wrap
  15315. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  15316. msgstr ""
  15317. #. type: defvr
  15318. #: guix-git/doc/guix.texi:10350
  15319. 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:"
  15320. msgstr ""
  15321. #. type: example
  15322. #: guix-git/doc/guix.texi:10353
  15323. #, no-wrap
  15324. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  15325. msgstr ""
  15326. #. type: defvr
  15327. #: guix-git/doc/guix.texi:10357
  15328. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  15329. msgstr ""
  15330. #. type: cindex
  15331. #: guix-git/doc/guix.texi:10363
  15332. #, no-wrap
  15333. msgid "package variants"
  15334. msgstr ""
  15335. #. type: Plain text
  15336. #: guix-git/doc/guix.texi:10371
  15337. 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})."
  15338. msgstr ""
  15339. #. type: Plain text
  15340. #: guix-git/doc/guix.texi:10375
  15341. 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."
  15342. msgstr ""
  15343. #. type: Plain text
  15344. #: guix-git/doc/guix.texi:10380
  15345. 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)."
  15346. msgstr ""
  15347. #. type: item
  15348. #: guix-git/doc/guix.texi:10383
  15349. #, no-wrap
  15350. msgid "--with-source=@var{source}"
  15351. msgstr ""
  15352. #. type: itemx
  15353. #: guix-git/doc/guix.texi:10384
  15354. #, no-wrap
  15355. msgid "--with-source=@var{package}=@var{source}"
  15356. msgstr ""
  15357. #. type: itemx
  15358. #: guix-git/doc/guix.texi:10385
  15359. #, no-wrap
  15360. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  15361. msgstr ""
  15362. #. type: table
  15363. #: guix-git/doc/guix.texi:10390
  15364. 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})."
  15365. msgstr ""
  15366. #. type: table
  15367. #: guix-git/doc/guix.texi:10396
  15368. 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}."
  15369. msgstr ""
  15370. #. type: table
  15371. #: guix-git/doc/guix.texi:10399
  15372. 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}."
  15373. msgstr ""
  15374. #. type: table
  15375. #: guix-git/doc/guix.texi:10404
  15376. 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:"
  15377. msgstr ""
  15378. #. type: example
  15379. #: guix-git/doc/guix.texi:10407
  15380. #, no-wrap
  15381. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  15382. msgstr ""
  15383. #. type: table
  15384. #: guix-git/doc/guix.texi:10411
  15385. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  15386. msgstr ""
  15387. #. type: example
  15388. #: guix-git/doc/guix.texi:10414
  15389. #, no-wrap
  15390. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  15391. msgstr ""
  15392. #. type: table
  15393. #: guix-git/doc/guix.texi:10417
  15394. msgid "@dots{} or to build from a checkout in a pristine environment:"
  15395. msgstr ""
  15396. #. type: example
  15397. #: guix-git/doc/guix.texi:10421
  15398. #, no-wrap
  15399. msgid ""
  15400. "$ git clone git://git.sv.gnu.org/guix.git\n"
  15401. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  15402. msgstr ""
  15403. #. type: item
  15404. #: guix-git/doc/guix.texi:10423
  15405. #, no-wrap
  15406. msgid "--with-input=@var{package}=@var{replacement}"
  15407. msgstr ""
  15408. #. type: table
  15409. #: guix-git/doc/guix.texi:10428
  15410. 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}."
  15411. msgstr ""
  15412. #. type: table
  15413. #: guix-git/doc/guix.texi:10432
  15414. 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}:"
  15415. msgstr ""
  15416. #. type: example
  15417. #: guix-git/doc/guix.texi:10435
  15418. #, no-wrap
  15419. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  15420. msgstr ""
  15421. #. type: table
  15422. #: guix-git/doc/guix.texi:10440
  15423. 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}."
  15424. msgstr ""
  15425. #. type: table
  15426. #: guix-git/doc/guix.texi:10443
  15427. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  15428. msgstr ""
  15429. #. type: item
  15430. #: guix-git/doc/guix.texi:10444
  15431. #, no-wrap
  15432. msgid "--with-graft=@var{package}=@var{replacement}"
  15433. msgstr ""
  15434. #. type: table
  15435. #: guix-git/doc/guix.texi:10450
  15436. 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."
  15437. msgstr ""
  15438. #. type: table
  15439. #: guix-git/doc/guix.texi:10454
  15440. 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:"
  15441. msgstr ""
  15442. #. type: example
  15443. #: guix-git/doc/guix.texi:10457
  15444. #, no-wrap
  15445. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  15446. msgstr ""
  15447. #. type: table
  15448. #: guix-git/doc/guix.texi:10466
  15449. 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!"
  15450. msgstr ""
  15451. #. type: cindex
  15452. #: guix-git/doc/guix.texi:10467 guix-git/doc/guix.texi:34481
  15453. #, no-wrap
  15454. msgid "debugging info, rebuilding"
  15455. msgstr ""
  15456. #. type: item
  15457. #: guix-git/doc/guix.texi:10468
  15458. #, no-wrap
  15459. msgid "--with-debug-info=@var{package}"
  15460. msgstr ""
  15461. #. type: table
  15462. #: guix-git/doc/guix.texi:10473
  15463. 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})."
  15464. msgstr ""
  15465. #. type: table
  15466. #: guix-git/doc/guix.texi:10479
  15467. 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:"
  15468. msgstr ""
  15469. #. type: example
  15470. #: guix-git/doc/guix.texi:10482 guix-git/doc/guix.texi:34512
  15471. #, no-wrap
  15472. msgid "guix install inkscape --with-debug-info=glib\n"
  15473. msgstr ""
  15474. #. type: table
  15475. #: guix-git/doc/guix.texi:10486
  15476. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  15477. msgstr ""
  15478. #. type: quotation
  15479. #: guix-git/doc/guix.texi:10492
  15480. 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."
  15481. msgstr ""
  15482. #. type: quotation
  15483. #: guix-git/doc/guix.texi:10496
  15484. 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."
  15485. msgstr ""
  15486. #. type: cindex
  15487. #: guix-git/doc/guix.texi:10498
  15488. #, no-wrap
  15489. msgid "tool chain, changing the build tool chain of a package"
  15490. msgstr ""
  15491. #. type: item
  15492. #: guix-git/doc/guix.texi:10499
  15493. #, no-wrap
  15494. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  15495. msgstr ""
  15496. #. type: table
  15497. #: guix-git/doc/guix.texi:10503
  15498. 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++."
  15499. msgstr ""
  15500. #. type: example
  15501. #: guix-git/doc/guix.texi:10510
  15502. #, no-wrap
  15503. msgid ""
  15504. "guix build octave-cli \\\n"
  15505. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  15506. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  15507. msgstr ""
  15508. #. type: table
  15509. #: guix-git/doc/guix.texi:10517
  15510. 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}."
  15511. msgstr ""
  15512. #. type: table
  15513. #: guix-git/doc/guix.texi:10521
  15514. 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:"
  15515. msgstr ""
  15516. #. type: example
  15517. #: guix-git/doc/guix.texi:10525
  15518. #, no-wrap
  15519. msgid ""
  15520. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  15521. " intel-mpi-benchmarks\n"
  15522. msgstr ""
  15523. #. type: quotation
  15524. #: guix-git/doc/guix.texi:10534
  15525. 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."
  15526. msgstr ""
  15527. #. type: item
  15528. #: guix-git/doc/guix.texi:10536
  15529. #, no-wrap
  15530. msgid "--with-git-url=@var{package}=@var{url}"
  15531. msgstr ""
  15532. #. type: cindex
  15533. #: guix-git/doc/guix.texi:10537
  15534. #, no-wrap
  15535. msgid "Git, using the latest commit"
  15536. msgstr ""
  15537. #. type: cindex
  15538. #: guix-git/doc/guix.texi:10538
  15539. #, no-wrap
  15540. msgid "latest commit, building"
  15541. msgstr ""
  15542. #. type: table
  15543. #: guix-git/doc/guix.texi:10542
  15544. 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."
  15545. msgstr ""
  15546. #. type: table
  15547. #: guix-git/doc/guix.texi:10545
  15548. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  15549. msgstr ""
  15550. #. type: example
  15551. #: guix-git/doc/guix.texi:10549
  15552. #, no-wrap
  15553. msgid ""
  15554. "guix build python-numpy \\\n"
  15555. " --with-git-url=python=https://github.com/python/cpython\n"
  15556. msgstr ""
  15557. #. type: table
  15558. #: guix-git/doc/guix.texi:10553
  15559. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  15560. msgstr ""
  15561. #. type: cindex
  15562. #: guix-git/doc/guix.texi:10554 guix-git/doc/guix.texi:27180
  15563. #, no-wrap
  15564. msgid "continuous integration"
  15565. msgstr ""
  15566. #. type: table
  15567. #: guix-git/doc/guix.texi:10560
  15568. 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)."
  15569. msgstr ""
  15570. #. type: table
  15571. #: guix-git/doc/guix.texi:10564
  15572. 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."
  15573. msgstr ""
  15574. #. type: item
  15575. #: guix-git/doc/guix.texi:10565
  15576. #, no-wrap
  15577. msgid "--with-branch=@var{package}=@var{branch}"
  15578. msgstr ""
  15579. #. type: table
  15580. #: guix-git/doc/guix.texi:10571
  15581. 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."
  15582. msgstr ""
  15583. #. type: table
  15584. #: guix-git/doc/guix.texi:10576
  15585. 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:"
  15586. msgstr ""
  15587. #. type: example
  15588. #: guix-git/doc/guix.texi:10579
  15589. #, no-wrap
  15590. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  15591. msgstr ""
  15592. #. type: item
  15593. #: guix-git/doc/guix.texi:10581
  15594. #, no-wrap
  15595. msgid "--with-commit=@var{package}=@var{commit}"
  15596. msgstr ""
  15597. #. type: table
  15598. #: guix-git/doc/guix.texi:10585
  15599. msgid "This is similar to @option{--with-branch}, except that it builds from @var{commit} rather than the tip of a branch. @var{commit} must be a valid Git commit SHA1 identifier or a tag."
  15600. msgstr ""
  15601. #. type: item
  15602. #: guix-git/doc/guix.texi:10586
  15603. #, no-wrap
  15604. msgid "--with-patch=@var{package}=@var{file}"
  15605. msgstr ""
  15606. #. type: table
  15607. #: guix-git/doc/guix.texi:10593
  15608. 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})."
  15609. msgstr ""
  15610. #. type: table
  15611. #: guix-git/doc/guix.texi:10596
  15612. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  15613. msgstr ""
  15614. #. type: example
  15615. #: guix-git/doc/guix.texi:10599
  15616. #, no-wrap
  15617. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  15618. msgstr ""
  15619. #. type: table
  15620. #: guix-git/doc/guix.texi:10603
  15621. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  15622. msgstr ""
  15623. #. type: cindex
  15624. #: guix-git/doc/guix.texi:10604
  15625. #, no-wrap
  15626. msgid "upstream, latest version"
  15627. msgstr ""
  15628. #. type: item
  15629. #: guix-git/doc/guix.texi:10605
  15630. #, no-wrap
  15631. msgid "--with-latest=@var{package}"
  15632. msgstr ""
  15633. #. type: table
  15634. #: guix-git/doc/guix.texi:10610
  15635. 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})."
  15636. msgstr ""
  15637. #. type: table
  15638. #: guix-git/doc/guix.texi:10614
  15639. 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."
  15640. msgstr ""
  15641. #. type: table
  15642. #: guix-git/doc/guix.texi:10617
  15643. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  15644. msgstr ""
  15645. #. type: example
  15646. #: guix-git/doc/guix.texi:10620
  15647. #, no-wrap
  15648. msgid "guix build guix --with-latest=guile-json\n"
  15649. msgstr ""
  15650. #. type: table
  15651. #: guix-git/doc/guix.texi:10629
  15652. 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."
  15653. msgstr ""
  15654. #. type: table
  15655. #: guix-git/doc/guix.texi:10634
  15656. 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})."
  15657. msgstr ""
  15658. #. type: cindex
  15659. #: guix-git/doc/guix.texi:10635
  15660. #, no-wrap
  15661. msgid "test suite, skipping"
  15662. msgstr ""
  15663. #. type: item
  15664. #: guix-git/doc/guix.texi:10636
  15665. #, no-wrap
  15666. msgid "--without-tests=@var{package}"
  15667. msgstr ""
  15668. #. type: table
  15669. #: guix-git/doc/guix.texi:10642
  15670. 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."
  15671. msgstr ""
  15672. #. type: table
  15673. #: guix-git/doc/guix.texi:10646
  15674. 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:"
  15675. msgstr ""
  15676. #. type: example
  15677. #: guix-git/doc/guix.texi:10649
  15678. #, no-wrap
  15679. msgid "guix install --without-tests=python python-notebook\n"
  15680. msgstr ""
  15681. #. type: table
  15682. #: guix-git/doc/guix.texi:10655
  15683. 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."
  15684. msgstr ""
  15685. #. type: table
  15686. #: guix-git/doc/guix.texi:10661
  15687. 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."
  15688. msgstr ""
  15689. #. type: Plain text
  15690. #: guix-git/doc/guix.texi:10668
  15691. 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."
  15692. msgstr ""
  15693. #. type: Plain text
  15694. #: guix-git/doc/guix.texi:10674
  15695. msgid "The command-line options presented below are specific to @command{guix build}."
  15696. msgstr ""
  15697. #. type: item
  15698. #: guix-git/doc/guix.texi:10677
  15699. #, no-wrap
  15700. msgid "--quiet"
  15701. msgstr ""
  15702. #. type: table
  15703. #: guix-git/doc/guix.texi:10682
  15704. 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."
  15705. msgstr ""
  15706. #. type: item
  15707. #: guix-git/doc/guix.texi:10683
  15708. #, no-wrap
  15709. msgid "--file=@var{file}"
  15710. msgstr ""
  15711. #. type: table
  15712. #: guix-git/doc/guix.texi:10687
  15713. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  15714. msgstr ""
  15715. #. type: table
  15716. #: guix-git/doc/guix.texi:10690
  15717. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  15718. msgstr ""
  15719. #. type: table
  15720. #: guix-git/doc/guix.texi:10699
  15721. 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}:"
  15722. msgstr ""
  15723. #. type: item
  15724. #: guix-git/doc/guix.texi:10704
  15725. #, no-wrap
  15726. msgid "--manifest=@var{manifest}"
  15727. msgstr ""
  15728. #. type: itemx
  15729. #: guix-git/doc/guix.texi:10705
  15730. #, no-wrap
  15731. msgid "-m @var{manifest}"
  15732. msgstr ""
  15733. #. type: table
  15734. #: guix-git/doc/guix.texi:10708
  15735. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  15736. msgstr ""
  15737. #. type: table
  15738. #: guix-git/doc/guix.texi:10712
  15739. msgid "Build the package or derivation @var{expr} evaluates to."
  15740. msgstr ""
  15741. #. type: table
  15742. #: guix-git/doc/guix.texi:10716
  15743. 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."
  15744. msgstr ""
  15745. #. type: table
  15746. #: guix-git/doc/guix.texi:10720
  15747. 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})."
  15748. msgstr ""
  15749. #. type: table
  15750. #: guix-git/doc/guix.texi:10724
  15751. 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}."
  15752. msgstr ""
  15753. #. type: item
  15754. #: guix-git/doc/guix.texi:10725
  15755. #, no-wrap
  15756. msgid "--source"
  15757. msgstr ""
  15758. #. type: itemx
  15759. #: guix-git/doc/guix.texi:10726
  15760. #, no-wrap
  15761. msgid "-S"
  15762. msgstr ""
  15763. #. type: table
  15764. #: guix-git/doc/guix.texi:10729
  15765. msgid "Build the source derivations of the packages, rather than the packages themselves."
  15766. msgstr ""
  15767. #. type: table
  15768. #: guix-git/doc/guix.texi:10733
  15769. 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."
  15770. msgstr ""
  15771. #. type: table
  15772. #: guix-git/doc/guix.texi:10737
  15773. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  15774. msgstr ""
  15775. #. type: cindex
  15776. #: guix-git/doc/guix.texi:10738
  15777. #, no-wrap
  15778. msgid "source, verification"
  15779. msgstr ""
  15780. #. type: table
  15781. #: guix-git/doc/guix.texi:10744
  15782. 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."
  15783. msgstr ""
  15784. #. type: table
  15785. #: guix-git/doc/guix.texi:10749
  15786. 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."
  15787. msgstr ""
  15788. #. type: item
  15789. #: guix-git/doc/guix.texi:10750
  15790. #, no-wrap
  15791. msgid "--sources"
  15792. msgstr ""
  15793. #. type: table
  15794. #: guix-git/doc/guix.texi:10757
  15795. 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:"
  15796. msgstr ""
  15797. #. type: item
  15798. #: guix-git/doc/guix.texi:10759 guix-git/doc/guix.texi:12303
  15799. #, no-wrap
  15800. msgid "package"
  15801. msgstr ""
  15802. #. type: table
  15803. #: guix-git/doc/guix.texi:10762
  15804. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  15805. msgstr ""
  15806. #. type: item
  15807. #: guix-git/doc/guix.texi:10763 guix-git/doc/guix.texi:18249
  15808. #, no-wrap
  15809. msgid "all"
  15810. msgstr ""
  15811. #. type: table
  15812. #: guix-git/doc/guix.texi:10766
  15813. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  15814. msgstr ""
  15815. #. type: example
  15816. #: guix-git/doc/guix.texi:10772
  15817. #, no-wrap
  15818. msgid ""
  15819. "$ guix build --sources tzdata\n"
  15820. "The following derivations will be built:\n"
  15821. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  15822. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  15823. msgstr ""
  15824. #. type: item
  15825. #: guix-git/doc/guix.texi:10774
  15826. #, no-wrap
  15827. msgid "transitive"
  15828. msgstr ""
  15829. #. type: table
  15830. #: guix-git/doc/guix.texi:10778
  15831. 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."
  15832. msgstr ""
  15833. #. type: example
  15834. #: guix-git/doc/guix.texi:10789
  15835. #, no-wrap
  15836. msgid ""
  15837. "$ guix build --sources=transitive tzdata\n"
  15838. "The following derivations will be built:\n"
  15839. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  15840. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  15841. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  15842. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  15843. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  15844. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  15845. "@dots{}\n"
  15846. msgstr ""
  15847. #. type: table
  15848. #: guix-git/doc/guix.texi:10799
  15849. 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."
  15850. msgstr ""
  15851. #. type: quotation
  15852. #: guix-git/doc/guix.texi:10804
  15853. 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."
  15854. msgstr ""
  15855. #. type: table
  15856. #: guix-git/doc/guix.texi:10811
  15857. 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."
  15858. msgstr ""
  15859. #. type: quotation
  15860. #: guix-git/doc/guix.texi:10816
  15861. 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."
  15862. msgstr ""
  15863. #. type: table
  15864. #: guix-git/doc/guix.texi:10822
  15865. 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."
  15866. msgstr ""
  15867. #. type: table
  15868. #: guix-git/doc/guix.texi:10826
  15869. 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."
  15870. msgstr ""
  15871. #. type: table
  15872. #: guix-git/doc/guix.texi:10832
  15873. 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})."
  15874. msgstr ""
  15875. #. type: anchor{#1}
  15876. #: guix-git/doc/guix.texi:10834
  15877. msgid "build-check"
  15878. msgstr ""
  15879. #. type: item
  15880. #: guix-git/doc/guix.texi:10834
  15881. #, no-wrap
  15882. msgid "--check"
  15883. msgstr ""
  15884. #. type: cindex
  15885. #: guix-git/doc/guix.texi:10835
  15886. #, no-wrap
  15887. msgid "determinism, checking"
  15888. msgstr ""
  15889. #. type: cindex
  15890. #: guix-git/doc/guix.texi:10836
  15891. #, no-wrap
  15892. msgid "reproducibility, checking"
  15893. msgstr ""
  15894. #. type: table
  15895. #: guix-git/doc/guix.texi:10840
  15896. 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."
  15897. msgstr ""
  15898. #. type: table
  15899. #: guix-git/doc/guix.texi:10845
  15900. 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."
  15901. msgstr ""
  15902. #. type: item
  15903. #: guix-git/doc/guix.texi:10850
  15904. #, no-wrap
  15905. msgid "--repair"
  15906. msgstr ""
  15907. #. type: cindex
  15908. #: guix-git/doc/guix.texi:10851
  15909. #, no-wrap
  15910. msgid "repairing store items"
  15911. msgstr ""
  15912. #. type: table
  15913. #: guix-git/doc/guix.texi:10855
  15914. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  15915. msgstr ""
  15916. #. type: table
  15917. #: guix-git/doc/guix.texi:10857
  15918. msgid "This operation is not atomic and thus restricted to @code{root}."
  15919. msgstr ""
  15920. #. type: item
  15921. #: guix-git/doc/guix.texi:10858
  15922. #, no-wrap
  15923. msgid "--derivations"
  15924. msgstr ""
  15925. #. type: table
  15926. #: guix-git/doc/guix.texi:10862
  15927. msgid "Return the derivation paths, not the output paths, of the given packages."
  15928. msgstr ""
  15929. #. type: cindex
  15930. #: guix-git/doc/guix.texi:10865
  15931. #, no-wrap
  15932. msgid "GC roots, adding"
  15933. msgstr ""
  15934. #. type: cindex
  15935. #: guix-git/doc/guix.texi:10866
  15936. #, no-wrap
  15937. msgid "garbage collector roots, adding"
  15938. msgstr ""
  15939. #. type: table
  15940. #: guix-git/doc/guix.texi:10869 guix-git/doc/guix.texi:33169
  15941. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  15942. msgstr ""
  15943. #. type: table
  15944. #: guix-git/doc/guix.texi:10875
  15945. 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."
  15946. msgstr ""
  15947. #. type: item
  15948. #: guix-git/doc/guix.texi:10876
  15949. #, no-wrap
  15950. msgid "--log-file"
  15951. msgstr ""
  15952. #. type: cindex
  15953. #: guix-git/doc/guix.texi:10877
  15954. #, no-wrap
  15955. msgid "build logs, access"
  15956. msgstr ""
  15957. #. type: table
  15958. #: guix-git/doc/guix.texi:10881
  15959. 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."
  15960. msgstr ""
  15961. #. type: table
  15962. #: guix-git/doc/guix.texi:10884
  15963. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  15964. msgstr ""
  15965. #. type: example
  15966. #: guix-git/doc/guix.texi:10890
  15967. #, no-wrap
  15968. msgid ""
  15969. "guix build --log-file $(guix build -d guile)\n"
  15970. "guix build --log-file $(guix build guile)\n"
  15971. "guix build --log-file guile\n"
  15972. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  15973. msgstr ""
  15974. #. type: table
  15975. #: guix-git/doc/guix.texi:10895
  15976. 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})."
  15977. msgstr ""
  15978. #. type: table
  15979. #: guix-git/doc/guix.texi:10898
  15980. 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:"
  15981. msgstr ""
  15982. #. type: example
  15983. #: guix-git/doc/guix.texi:10902
  15984. #, no-wrap
  15985. msgid ""
  15986. "$ guix build --log-file gdb -s aarch64-linux\n"
  15987. "https://@value{SUBSTITUTE-SERVER}/log/@dots{}-gdb-7.10\n"
  15988. msgstr ""
  15989. #. type: table
  15990. #: guix-git/doc/guix.texi:10905
  15991. msgid "You can freely access a huge library of build logs!"
  15992. msgstr ""
  15993. #. type: cindex
  15994. #: guix-git/doc/guix.texi:10910
  15995. #, no-wrap
  15996. msgid "build failures, debugging"
  15997. msgstr ""
  15998. #. type: Plain text
  15999. #: guix-git/doc/guix.texi:10916
  16000. 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."
  16001. msgstr ""
  16002. #. type: Plain text
  16003. #: guix-git/doc/guix.texi:10921
  16004. 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}})."
  16005. msgstr ""
  16006. #. type: Plain text
  16007. #: guix-git/doc/guix.texi:10927
  16008. 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:"
  16009. msgstr ""
  16010. #. type: example
  16011. #: guix-git/doc/guix.texi:10934
  16012. #, no-wrap
  16013. msgid ""
  16014. "$ guix build foo -K\n"
  16015. "@dots{} @i{build fails}\n"
  16016. "$ cd /tmp/guix-build-foo.drv-0\n"
  16017. "$ source ./environment-variables\n"
  16018. "$ cd foo-1.2\n"
  16019. msgstr ""
  16020. #. type: Plain text
  16021. #: guix-git/doc/guix.texi:10938
  16022. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16023. msgstr ""
  16024. #. type: Plain text
  16025. #: guix-git/doc/guix.texi:10944
  16026. 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})."
  16027. msgstr ""
  16028. #. type: Plain text
  16029. #: guix-git/doc/guix.texi:10947
  16030. 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:"
  16031. msgstr ""
  16032. #. type: example
  16033. #: guix-git/doc/guix.texi:10955
  16034. #, no-wrap
  16035. msgid ""
  16036. "$ guix build -K foo\n"
  16037. "@dots{}\n"
  16038. "$ cd /tmp/guix-build-foo.drv-0\n"
  16039. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16040. "[env]# source ./environment-variables\n"
  16041. "[env]# cd foo-1.2\n"
  16042. msgstr ""
  16043. #. type: Plain text
  16044. #: guix-git/doc/guix.texi:10964
  16045. msgid "Here, @command{guix environment -C} creates a container and spawns a new shell in it (@pxref{Invoking guix environment}). The @command{--ad-hoc strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)."
  16046. msgstr ""
  16047. #. type: Plain text
  16048. #: guix-git/doc/guix.texi:10967
  16049. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16050. msgstr ""
  16051. #. type: example
  16052. #: guix-git/doc/guix.texi:10970
  16053. #, no-wrap
  16054. msgid "[env]# rm /bin/sh\n"
  16055. msgstr ""
  16056. #. type: Plain text
  16057. #: guix-git/doc/guix.texi:10974
  16058. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16059. msgstr ""
  16060. #. type: Plain text
  16061. #: guix-git/doc/guix.texi:10977
  16062. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16063. msgstr ""
  16064. #. type: example
  16065. #: guix-git/doc/guix.texi:10980
  16066. #, no-wrap
  16067. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16068. msgstr ""
  16069. #. type: Plain text
  16070. #: guix-git/doc/guix.texi:10985
  16071. 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."
  16072. msgstr ""
  16073. #. type: section
  16074. #: guix-git/doc/guix.texi:10988
  16075. #, no-wrap
  16076. msgid "Invoking @command{guix edit}"
  16077. msgstr ""
  16078. #. type: command{#1}
  16079. #: guix-git/doc/guix.texi:10990
  16080. #, no-wrap
  16081. msgid "guix edit"
  16082. msgstr ""
  16083. #. type: cindex
  16084. #: guix-git/doc/guix.texi:10991
  16085. #, no-wrap
  16086. msgid "package definition, editing"
  16087. msgstr ""
  16088. #. type: Plain text
  16089. #: guix-git/doc/guix.texi:10996
  16090. 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:"
  16091. msgstr ""
  16092. #. type: example
  16093. #: guix-git/doc/guix.texi:10999
  16094. #, no-wrap
  16095. msgid "guix edit gcc@@4.9 vim\n"
  16096. msgstr ""
  16097. #. type: Plain text
  16098. #: guix-git/doc/guix.texi:11005
  16099. 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."
  16100. msgstr ""
  16101. #. type: Plain text
  16102. #: guix-git/doc/guix.texi:11011
  16103. 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."
  16104. msgstr ""
  16105. #. type: Plain text
  16106. #: guix-git/doc/guix.texi:11016
  16107. 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."
  16108. msgstr ""
  16109. #. type: section
  16110. #: guix-git/doc/guix.texi:11018
  16111. #, no-wrap
  16112. msgid "Invoking @command{guix download}"
  16113. msgstr ""
  16114. #. type: command{#1}
  16115. #: guix-git/doc/guix.texi:11020
  16116. #, no-wrap
  16117. msgid "guix download"
  16118. msgstr ""
  16119. #. type: cindex
  16120. #: guix-git/doc/guix.texi:11021
  16121. #, no-wrap
  16122. msgid "downloading package sources"
  16123. msgstr ""
  16124. #. type: Plain text
  16125. #: guix-git/doc/guix.texi:11028
  16126. 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."
  16127. msgstr ""
  16128. #. type: Plain text
  16129. #: guix-git/doc/guix.texi:11035
  16130. 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})."
  16131. msgstr ""
  16132. #. type: Plain text
  16133. #: guix-git/doc/guix.texi:11043
  16134. 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."
  16135. msgstr ""
  16136. #. type: Plain text
  16137. #: guix-git/doc/guix.texi:11048
  16138. 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."
  16139. msgstr ""
  16140. #. type: Plain text
  16141. #: guix-git/doc/guix.texi:11050 guix-git/doc/guix.texi:12602
  16142. msgid "The following options are available:"
  16143. msgstr ""
  16144. #. type: item
  16145. #: guix-git/doc/guix.texi:11052 guix-git/doc/guix.texi:11096
  16146. #, no-wrap
  16147. msgid "--hash=@var{algorithm}"
  16148. msgstr ""
  16149. #. type: itemx
  16150. #: guix-git/doc/guix.texi:11053 guix-git/doc/guix.texi:11097
  16151. #, no-wrap
  16152. msgid "-H @var{algorithm}"
  16153. msgstr ""
  16154. #. type: table
  16155. #: guix-git/doc/guix.texi:11056
  16156. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16157. msgstr ""
  16158. #. type: item
  16159. #: guix-git/doc/guix.texi:11057 guix-git/doc/guix.texi:11106
  16160. #, no-wrap
  16161. msgid "--format=@var{fmt}"
  16162. msgstr ""
  16163. #. type: itemx
  16164. #: guix-git/doc/guix.texi:11058 guix-git/doc/guix.texi:11107
  16165. #, no-wrap
  16166. msgid "-f @var{fmt}"
  16167. msgstr ""
  16168. #. type: table
  16169. #: guix-git/doc/guix.texi:11061
  16170. 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}."
  16171. msgstr ""
  16172. #. type: item
  16173. #: guix-git/doc/guix.texi:11062
  16174. #, no-wrap
  16175. msgid "--no-check-certificate"
  16176. msgstr ""
  16177. #. type: table
  16178. #: guix-git/doc/guix.texi:11064
  16179. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16180. msgstr ""
  16181. #. type: table
  16182. #: guix-git/doc/guix.texi:11068
  16183. 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."
  16184. msgstr ""
  16185. #. type: item
  16186. #: guix-git/doc/guix.texi:11069
  16187. #, no-wrap
  16188. msgid "--output=@var{file}"
  16189. msgstr ""
  16190. #. type: itemx
  16191. #: guix-git/doc/guix.texi:11070
  16192. #, no-wrap
  16193. msgid "-o @var{file}"
  16194. msgstr ""
  16195. #. type: table
  16196. #: guix-git/doc/guix.texi:11073
  16197. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16198. msgstr ""
  16199. #. type: section
  16200. #: guix-git/doc/guix.texi:11076
  16201. #, no-wrap
  16202. msgid "Invoking @command{guix hash}"
  16203. msgstr ""
  16204. #. type: command{#1}
  16205. #: guix-git/doc/guix.texi:11078
  16206. #, no-wrap
  16207. msgid "guix hash"
  16208. msgstr ""
  16209. #. type: Plain text
  16210. #: guix-git/doc/guix.texi:11083
  16211. msgid "The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of a file, which can be used in the definition of a package (@pxref{Defining Packages})."
  16212. msgstr ""
  16213. #. type: example
  16214. #: guix-git/doc/guix.texi:11088
  16215. #, no-wrap
  16216. msgid "guix hash @var{option} @var{file}\n"
  16217. msgstr ""
  16218. #. type: Plain text
  16219. #: guix-git/doc/guix.texi:11093
  16220. 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:"
  16221. msgstr ""
  16222. #. type: table
  16223. #: guix-git/doc/guix.texi:11100
  16224. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16225. msgstr ""
  16226. #. type: table
  16227. #: guix-git/doc/guix.texi:11105
  16228. msgid "@var{algorithm} must the name of a cryptographic hash algorithm supported by Libgcrypt @i{via} Guile-Gcrypt---e.g., @code{sha512} or @code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt Reference Manual})."
  16229. msgstr ""
  16230. #. type: table
  16231. #: guix-git/doc/guix.texi:11109
  16232. msgid "Write the hash in the format specified by @var{fmt}."
  16233. msgstr ""
  16234. #. type: table
  16235. #: guix-git/doc/guix.texi:11112
  16236. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16237. msgstr ""
  16238. #. type: table
  16239. #: guix-git/doc/guix.texi:11116
  16240. 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."
  16241. msgstr ""
  16242. #. type: table
  16243. #: guix-git/doc/guix.texi:11120
  16244. msgid "Compute the hash on @var{file} recursively."
  16245. msgstr ""
  16246. #. type: table
  16247. #: guix-git/doc/guix.texi:11129
  16248. msgid "In this case, the hash is computed on an archive containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps has no impact on the hash (@pxref{Invoking guix archive})."
  16249. msgstr ""
  16250. #. type: item
  16251. #: guix-git/doc/guix.texi:11130
  16252. #, no-wrap
  16253. msgid "--exclude-vcs"
  16254. msgstr ""
  16255. #. type: itemx
  16256. #: guix-git/doc/guix.texi:11131 guix-git/doc/guix.texi:12089
  16257. #, no-wrap
  16258. msgid "-x"
  16259. msgstr ""
  16260. #. type: table
  16261. #: guix-git/doc/guix.texi:11134
  16262. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16263. msgstr ""
  16264. #. type: vindex
  16265. #: guix-git/doc/guix.texi:11135
  16266. #, no-wrap
  16267. msgid "git-fetch"
  16268. msgstr ""
  16269. #. type: table
  16270. #: guix-git/doc/guix.texi:11139
  16271. 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}):"
  16272. msgstr ""
  16273. #. type: example
  16274. #: guix-git/doc/guix.texi:11144
  16275. #, no-wrap
  16276. msgid ""
  16277. "$ git clone http://example.org/foo.git\n"
  16278. "$ cd foo\n"
  16279. "$ guix hash -rx .\n"
  16280. msgstr ""
  16281. #. type: cindex
  16282. #: guix-git/doc/guix.texi:11148 guix-git/doc/guix.texi:11153
  16283. #, no-wrap
  16284. msgid "Invoking @command{guix import}"
  16285. msgstr ""
  16286. #. type: cindex
  16287. #: guix-git/doc/guix.texi:11150
  16288. #, no-wrap
  16289. msgid "importing packages"
  16290. msgstr ""
  16291. #. type: cindex
  16292. #: guix-git/doc/guix.texi:11151
  16293. #, no-wrap
  16294. msgid "package import"
  16295. msgstr ""
  16296. #. type: cindex
  16297. #: guix-git/doc/guix.texi:11152
  16298. #, no-wrap
  16299. msgid "package conversion"
  16300. msgstr ""
  16301. #. type: Plain text
  16302. #: guix-git/doc/guix.texi:11160
  16303. 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})."
  16304. msgstr ""
  16305. #. type: example
  16306. #: guix-git/doc/guix.texi:11165
  16307. #, no-wrap
  16308. msgid "guix import @var{importer} @var{options}@dots{}\n"
  16309. msgstr ""
  16310. #. type: Plain text
  16311. #: guix-git/doc/guix.texi:11170
  16312. 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}."
  16313. msgstr ""
  16314. #. type: Plain text
  16315. #: guix-git/doc/guix.texi:11174
  16316. 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."
  16317. msgstr ""
  16318. #. type: Plain text
  16319. #: guix-git/doc/guix.texi:11176
  16320. msgid "Currently, the available ``importers'' are:"
  16321. msgstr ""
  16322. #. type: item
  16323. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11736
  16324. #, no-wrap
  16325. msgid "gnu"
  16326. msgstr ""
  16327. #. type: table
  16328. #: guix-git/doc/guix.texi:11182
  16329. 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."
  16330. msgstr ""
  16331. #. type: table
  16332. #: guix-git/doc/guix.texi:11185
  16333. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  16334. msgstr ""
  16335. #. type: table
  16336. #: guix-git/doc/guix.texi:11188
  16337. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  16338. msgstr ""
  16339. #. type: example
  16340. #: guix-git/doc/guix.texi:11191
  16341. #, no-wrap
  16342. msgid "guix import gnu hello\n"
  16343. msgstr ""
  16344. #. type: table
  16345. #: guix-git/doc/guix.texi:11194 guix-git/doc/guix.texi:11404
  16346. #: guix-git/doc/guix.texi:11454 guix-git/doc/guix.texi:11483
  16347. msgid "Specific command-line options are:"
  16348. msgstr ""
  16349. #. type: item
  16350. #: guix-git/doc/guix.texi:11196 guix-git/doc/guix.texi:11897
  16351. #, no-wrap
  16352. msgid "--key-download=@var{policy}"
  16353. msgstr ""
  16354. #. type: table
  16355. #: guix-git/doc/guix.texi:11200
  16356. 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}}."
  16357. msgstr ""
  16358. #. type: item
  16359. #: guix-git/doc/guix.texi:11202 guix-git/doc/guix.texi:11203
  16360. #: guix-git/doc/guix.texi:11758
  16361. #, no-wrap
  16362. msgid "pypi"
  16363. msgstr ""
  16364. #. type: table
  16365. #: guix-git/doc/guix.texi:11210
  16366. 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."
  16367. msgstr ""
  16368. #. type: table
  16369. #: guix-git/doc/guix.texi:11213
  16370. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  16371. msgstr ""
  16372. #. type: example
  16373. #: guix-git/doc/guix.texi:11216
  16374. #, no-wrap
  16375. msgid "guix import pypi itsdangerous\n"
  16376. msgstr ""
  16377. #. type: table
  16378. #: guix-git/doc/guix.texi:11224 guix-git/doc/guix.texi:11249
  16379. #: guix-git/doc/guix.texi:11427 guix-git/doc/guix.texi:11468
  16380. #: guix-git/doc/guix.texi:11515 guix-git/doc/guix.texi:11540
  16381. #: guix-git/doc/guix.texi:11556 guix-git/doc/guix.texi:11587
  16382. 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."
  16383. msgstr ""
  16384. #. type: item
  16385. #: guix-git/doc/guix.texi:11226 guix-git/doc/guix.texi:11227
  16386. #: guix-git/doc/guix.texi:11760
  16387. #, no-wrap
  16388. msgid "gem"
  16389. msgstr ""
  16390. #. type: table
  16391. #: guix-git/doc/guix.texi:11236
  16392. 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."
  16393. msgstr ""
  16394. #. type: table
  16395. #: guix-git/doc/guix.texi:11238
  16396. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  16397. msgstr ""
  16398. #. type: example
  16399. #: guix-git/doc/guix.texi:11241
  16400. #, no-wrap
  16401. msgid "guix import gem rails\n"
  16402. msgstr ""
  16403. #. type: item
  16404. #: guix-git/doc/guix.texi:11251 guix-git/doc/guix.texi:11756
  16405. #, no-wrap
  16406. msgid "cpan"
  16407. msgstr ""
  16408. #. type: cindex
  16409. #: guix-git/doc/guix.texi:11252
  16410. #, no-wrap
  16411. msgid "CPAN"
  16412. msgstr ""
  16413. #. type: table
  16414. #: guix-git/doc/guix.texi:11260
  16415. 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."
  16416. msgstr ""
  16417. #. type: table
  16418. #: guix-git/doc/guix.texi:11263
  16419. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  16420. msgstr ""
  16421. #. type: example
  16422. #: guix-git/doc/guix.texi:11266
  16423. #, no-wrap
  16424. msgid "guix import cpan Acme::Boolean\n"
  16425. msgstr ""
  16426. #. type: item
  16427. #: guix-git/doc/guix.texi:11268 guix-git/doc/guix.texi:11752
  16428. #, no-wrap
  16429. msgid "cran"
  16430. msgstr ""
  16431. #. type: cindex
  16432. #: guix-git/doc/guix.texi:11269
  16433. #, no-wrap
  16434. msgid "CRAN"
  16435. msgstr ""
  16436. #. type: cindex
  16437. #: guix-git/doc/guix.texi:11270
  16438. #, no-wrap
  16439. msgid "Bioconductor"
  16440. msgstr ""
  16441. #. type: table
  16442. #: guix-git/doc/guix.texi:11274
  16443. 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}."
  16444. msgstr ""
  16445. #. type: table
  16446. #: guix-git/doc/guix.texi:11276
  16447. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  16448. msgstr ""
  16449. #. type: table
  16450. #: guix-git/doc/guix.texi:11278
  16451. msgid "The command command below imports metadata for the Cairo R package:"
  16452. msgstr ""
  16453. #. type: example
  16454. #: guix-git/doc/guix.texi:11281
  16455. #, no-wrap
  16456. msgid "guix import cran Cairo\n"
  16457. msgstr ""
  16458. #. type: table
  16459. #: guix-git/doc/guix.texi:11286
  16460. 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."
  16461. msgstr ""
  16462. #. type: table
  16463. #: guix-git/doc/guix.texi:11293
  16464. 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}."
  16465. msgstr ""
  16466. #. type: table
  16467. #: guix-git/doc/guix.texi:11298
  16468. 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."
  16469. msgstr ""
  16470. #. type: table
  16471. #: guix-git/doc/guix.texi:11301
  16472. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  16473. msgstr ""
  16474. #. type: table
  16475. #: guix-git/doc/guix.texi:11303
  16476. msgid "The command below imports metadata for the GenomicRanges R package:"
  16477. msgstr ""
  16478. #. type: example
  16479. #: guix-git/doc/guix.texi:11306
  16480. #, no-wrap
  16481. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  16482. msgstr ""
  16483. #. type: table
  16484. #: guix-git/doc/guix.texi:11311
  16485. 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:"
  16486. msgstr ""
  16487. #. type: example
  16488. #: guix-git/doc/guix.texi:11314
  16489. #, no-wrap
  16490. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  16491. msgstr ""
  16492. #. type: item
  16493. #: guix-git/doc/guix.texi:11316
  16494. #, no-wrap
  16495. msgid "texlive"
  16496. msgstr ""
  16497. #. type: cindex
  16498. #: guix-git/doc/guix.texi:11317
  16499. #, no-wrap
  16500. msgid "TeX Live"
  16501. msgstr ""
  16502. #. type: cindex
  16503. #: guix-git/doc/guix.texi:11318
  16504. #, no-wrap
  16505. msgid "CTAN"
  16506. msgstr ""
  16507. #. type: table
  16508. #: guix-git/doc/guix.texi:11322
  16509. msgid "Import metadata from @uref{https://www.ctan.org/, CTAN}, the comprehensive TeX archive network for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  16510. msgstr ""
  16511. #. type: table
  16512. #: guix-git/doc/guix.texi:11327
  16513. msgid "Information about the package is obtained through the XML API provided by CTAN, while the source code is downloaded from the SVN repository of the Tex Live project. This is done because the CTAN does not keep versioned archives."
  16514. msgstr ""
  16515. #. type: table
  16516. #: guix-git/doc/guix.texi:11330
  16517. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  16518. msgstr ""
  16519. #. type: example
  16520. #: guix-git/doc/guix.texi:11333
  16521. #, no-wrap
  16522. msgid "guix import texlive fontspec\n"
  16523. msgstr ""
  16524. #. type: table
  16525. #: guix-git/doc/guix.texi:11339
  16526. msgid "When @option{--archive=@var{directory}} is added, the source code is downloaded not from the @file{latex} sub-directory of the @file{texmf-dist/source} tree in the TeX Live SVN repository, but from the specified sibling @var{directory} under the same root."
  16527. msgstr ""
  16528. #. type: table
  16529. #: guix-git/doc/guix.texi:11343
  16530. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  16531. msgstr ""
  16532. #. type: example
  16533. #: guix-git/doc/guix.texi:11346
  16534. #, no-wrap
  16535. msgid "guix import texlive --archive=generic ifxetex\n"
  16536. msgstr ""
  16537. #. type: cindex
  16538. #: guix-git/doc/guix.texi:11349
  16539. #, no-wrap
  16540. msgid "JSON, import"
  16541. msgstr ""
  16542. #. type: table
  16543. #: guix-git/doc/guix.texi:11352
  16544. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  16545. msgstr ""
  16546. #. type: example
  16547. #: guix-git/doc/guix.texi:11365
  16548. #, no-wrap
  16549. msgid ""
  16550. "@{\n"
  16551. " \"name\": \"hello\",\n"
  16552. " \"version\": \"2.10\",\n"
  16553. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  16554. " \"build-system\": \"gnu\",\n"
  16555. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  16556. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  16557. " \"description\": \"GNU Hello prints a greeting.\",\n"
  16558. " \"license\": \"GPL-3.0+\",\n"
  16559. " \"native-inputs\": [\"gettext\"]\n"
  16560. "@}\n"
  16561. msgstr ""
  16562. #. type: table
  16563. #: guix-git/doc/guix.texi:11371
  16564. 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}."
  16565. msgstr ""
  16566. #. type: table
  16567. #: guix-git/doc/guix.texi:11374
  16568. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  16569. msgstr ""
  16570. #. type: example
  16571. #: guix-git/doc/guix.texi:11387
  16572. #, no-wrap
  16573. msgid ""
  16574. "@{\n"
  16575. " @dots{}\n"
  16576. " \"source\": @{\n"
  16577. " \"method\": \"url-fetch\",\n"
  16578. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  16579. " \"sha256\": @{\n"
  16580. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  16581. " @}\n"
  16582. " @}\n"
  16583. " @dots{}\n"
  16584. "@}\n"
  16585. msgstr ""
  16586. #. type: table
  16587. #: guix-git/doc/guix.texi:11391
  16588. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  16589. msgstr ""
  16590. #. type: example
  16591. #: guix-git/doc/guix.texi:11394
  16592. #, no-wrap
  16593. msgid "guix import json hello.json\n"
  16594. msgstr ""
  16595. #. type: item
  16596. #: guix-git/doc/guix.texi:11396 guix-git/doc/guix.texi:11397
  16597. #: guix-git/doc/guix.texi:11764
  16598. #, no-wrap
  16599. msgid "hackage"
  16600. msgstr ""
  16601. #. type: table
  16602. #: guix-git/doc/guix.texi:11402
  16603. 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."
  16604. msgstr ""
  16605. #. type: item
  16606. #: guix-git/doc/guix.texi:11406
  16607. #, no-wrap
  16608. msgid "--stdin"
  16609. msgstr ""
  16610. #. type: itemx
  16611. #: guix-git/doc/guix.texi:11407
  16612. #, no-wrap
  16613. msgid "-s"
  16614. msgstr ""
  16615. #. type: table
  16616. #: guix-git/doc/guix.texi:11409
  16617. msgid "Read a Cabal file from standard input."
  16618. msgstr ""
  16619. #. type: item
  16620. #: guix-git/doc/guix.texi:11409 guix-git/doc/guix.texi:11456
  16621. #, no-wrap
  16622. msgid "--no-test-dependencies"
  16623. msgstr ""
  16624. #. type: table
  16625. #: guix-git/doc/guix.texi:11412 guix-git/doc/guix.texi:11459
  16626. msgid "Do not include dependencies required only by the test suites."
  16627. msgstr ""
  16628. #. type: item
  16629. #: guix-git/doc/guix.texi:11412
  16630. #, no-wrap
  16631. msgid "--cabal-environment=@var{alist}"
  16632. msgstr ""
  16633. #. type: itemx
  16634. #: guix-git/doc/guix.texi:11413
  16635. #, no-wrap
  16636. msgid "-e @var{alist}"
  16637. msgstr ""
  16638. #. type: table
  16639. #: guix-git/doc/guix.texi:11422
  16640. 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."
  16641. msgstr ""
  16642. #. type: table
  16643. #: guix-git/doc/guix.texi:11432
  16644. 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}:"
  16645. msgstr ""
  16646. #. type: example
  16647. #: guix-git/doc/guix.texi:11435
  16648. #, no-wrap
  16649. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  16650. msgstr ""
  16651. #. type: table
  16652. #: guix-git/doc/guix.texi:11439
  16653. 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:"
  16654. msgstr ""
  16655. #. type: example
  16656. #: guix-git/doc/guix.texi:11442
  16657. #, no-wrap
  16658. msgid "guix import hackage mtl@@2.1.3.1\n"
  16659. msgstr ""
  16660. #. type: item
  16661. #: guix-git/doc/guix.texi:11444 guix-git/doc/guix.texi:11445
  16662. #: guix-git/doc/guix.texi:11766
  16663. #, no-wrap
  16664. msgid "stackage"
  16665. msgstr ""
  16666. #. type: table
  16667. #: guix-git/doc/guix.texi:11452
  16668. 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."
  16669. msgstr ""
  16670. #. type: item
  16671. #: guix-git/doc/guix.texi:11459
  16672. #, no-wrap
  16673. msgid "--lts-version=@var{version}"
  16674. msgstr ""
  16675. #. type: itemx
  16676. #: guix-git/doc/guix.texi:11460
  16677. #, no-wrap
  16678. msgid "-l @var{version}"
  16679. msgstr ""
  16680. #. type: table
  16681. #: guix-git/doc/guix.texi:11463
  16682. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  16683. msgstr ""
  16684. #. type: table
  16685. #: guix-git/doc/guix.texi:11472
  16686. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  16687. msgstr ""
  16688. #. type: example
  16689. #: guix-git/doc/guix.texi:11475
  16690. #, no-wrap
  16691. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  16692. msgstr ""
  16693. #. type: item
  16694. #: guix-git/doc/guix.texi:11477 guix-git/doc/guix.texi:11478
  16695. #: guix-git/doc/guix.texi:11750
  16696. #, no-wrap
  16697. msgid "elpa"
  16698. msgstr ""
  16699. #. type: table
  16700. #: guix-git/doc/guix.texi:11481
  16701. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  16702. msgstr ""
  16703. #. type: item
  16704. #: guix-git/doc/guix.texi:11485
  16705. #, no-wrap
  16706. msgid "--archive=@var{repo}"
  16707. msgstr ""
  16708. #. type: itemx
  16709. #: guix-git/doc/guix.texi:11486
  16710. #, no-wrap
  16711. msgid "-a @var{repo}"
  16712. msgstr ""
  16713. #. type: table
  16714. #: guix-git/doc/guix.texi:11490
  16715. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  16716. msgstr ""
  16717. #. type: itemize
  16718. #: guix-git/doc/guix.texi:11494
  16719. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  16720. msgstr ""
  16721. #. type: itemize
  16722. #: guix-git/doc/guix.texi:11500
  16723. 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})."
  16724. msgstr ""
  16725. #. type: itemize
  16726. #: guix-git/doc/guix.texi:11504
  16727. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  16728. msgstr ""
  16729. #. type: itemize
  16730. #: guix-git/doc/guix.texi:11508
  16731. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  16732. msgstr ""
  16733. #. type: item
  16734. #: guix-git/doc/guix.texi:11517 guix-git/doc/guix.texi:11518
  16735. #: guix-git/doc/guix.texi:11768
  16736. #, no-wrap
  16737. msgid "crate"
  16738. msgstr ""
  16739. #. type: table
  16740. #: guix-git/doc/guix.texi:11521
  16741. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  16742. msgstr ""
  16743. #. type: example
  16744. #: guix-git/doc/guix.texi:11524
  16745. #, no-wrap
  16746. msgid "guix import crate blake2-rfc\n"
  16747. msgstr ""
  16748. #. type: table
  16749. #: guix-git/doc/guix.texi:11527
  16750. msgid "The crate importer also allows you to specify a version string:"
  16751. msgstr ""
  16752. #. type: example
  16753. #: guix-git/doc/guix.texi:11530
  16754. #, no-wrap
  16755. msgid "guix import crate constant-time-eq@@0.1.0\n"
  16756. msgstr ""
  16757. #. type: table
  16758. #: guix-git/doc/guix.texi:11533 guix-git/doc/guix.texi:11549
  16759. #: guix-git/doc/guix.texi:11580
  16760. msgid "Additional options include:"
  16761. msgstr ""
  16762. #. type: item
  16763. #: guix-git/doc/guix.texi:11542
  16764. #, no-wrap
  16765. msgid "opam"
  16766. msgstr ""
  16767. #. type: cindex
  16768. #: guix-git/doc/guix.texi:11543
  16769. #, no-wrap
  16770. msgid "OPAM"
  16771. msgstr ""
  16772. #. type: cindex
  16773. #: guix-git/doc/guix.texi:11544
  16774. #, no-wrap
  16775. msgid "OCaml"
  16776. msgstr ""
  16777. #. type: table
  16778. #: guix-git/doc/guix.texi:11547
  16779. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  16780. msgstr ""
  16781. #. type: item
  16782. #: guix-git/doc/guix.texi:11556
  16783. #, no-wrap
  16784. msgid "--repo"
  16785. msgstr ""
  16786. #. type: table
  16787. #: guix-git/doc/guix.texi:11558
  16788. msgid "Select the given repository (a repository name). Possible values include:"
  16789. msgstr ""
  16790. #. type: item
  16791. #: guix-git/doc/guix.texi:11559
  16792. #, no-wrap
  16793. msgid "@code{opam}, the default opam repository,"
  16794. msgstr ""
  16795. #. type: item
  16796. #: guix-git/doc/guix.texi:11560
  16797. #, no-wrap
  16798. msgid "@code{coq} or @code{coq-released}, the stable repository for coq packages,"
  16799. msgstr ""
  16800. #. type: item
  16801. #: guix-git/doc/guix.texi:11561
  16802. #, no-wrap
  16803. msgid "@code{coq-core-dev}, the repository that contains development versions of coq,"
  16804. msgstr ""
  16805. #. type: item
  16806. #: guix-git/doc/guix.texi:11562
  16807. #, no-wrap
  16808. msgid "@code{coq-extra-dev}, the repository that contains development versions"
  16809. msgstr ""
  16810. #. type: itemize
  16811. #: guix-git/doc/guix.texi:11564
  16812. msgid "of coq packages."
  16813. msgstr ""
  16814. #. type: cindex
  16815. #: guix-git/doc/guix.texi:11567 guix-git/doc/guix.texi:11568
  16816. #, no-wrap
  16817. msgid "go"
  16818. msgstr ""
  16819. #. type: table
  16820. #: guix-git/doc/guix.texi:11571
  16821. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  16822. msgstr ""
  16823. #. type: example
  16824. #: guix-git/doc/guix.texi:11574
  16825. #, no-wrap
  16826. msgid "guix import go gopkg.in/yaml.v2\n"
  16827. msgstr ""
  16828. #. type: table
  16829. #: guix-git/doc/guix.texi:11578
  16830. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  16831. msgstr ""
  16832. #. type: item
  16833. #: guix-git/doc/guix.texi:11587
  16834. #, no-wrap
  16835. msgid "--pin-versions"
  16836. msgstr ""
  16837. #. type: table
  16838. #: guix-git/doc/guix.texi:11595
  16839. 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."
  16840. msgstr ""
  16841. #. type: Plain text
  16842. #: guix-git/doc/guix.texi:11601
  16843. 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})."
  16844. msgstr ""
  16845. #. type: section
  16846. #: guix-git/doc/guix.texi:11603
  16847. #, no-wrap
  16848. msgid "Invoking @command{guix refresh}"
  16849. msgstr ""
  16850. #. type: command{#1}
  16851. #: guix-git/doc/guix.texi:11605
  16852. #, no-wrap
  16853. msgid "guix refresh"
  16854. msgstr ""
  16855. #. type: Plain text
  16856. #: guix-git/doc/guix.texi:11613
  16857. 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:"
  16858. msgstr ""
  16859. #. type: example
  16860. #: guix-git/doc/guix.texi:11618
  16861. #, no-wrap
  16862. msgid ""
  16863. "$ guix refresh\n"
  16864. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  16865. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  16866. msgstr ""
  16867. #. type: Plain text
  16868. #: guix-git/doc/guix.texi:11622
  16869. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  16870. msgstr ""
  16871. #. type: example
  16872. #: guix-git/doc/guix.texi:11627
  16873. #, no-wrap
  16874. msgid ""
  16875. "$ guix refresh coreutils guile guile-ssh\n"
  16876. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  16877. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  16878. msgstr ""
  16879. #. type: Plain text
  16880. #: guix-git/doc/guix.texi:11636
  16881. 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!"
  16882. msgstr ""
  16883. #. type: table
  16884. #: guix-git/doc/guix.texi:11641
  16885. msgid "Consider the packages specified, and all the packages upon which they depend."
  16886. msgstr ""
  16887. #. type: example
  16888. #: guix-git/doc/guix.texi:11649
  16889. #, no-wrap
  16890. msgid ""
  16891. "$ guix refresh --recursive coreutils\n"
  16892. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  16893. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  16894. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  16895. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  16896. "@dots{}\n"
  16897. msgstr ""
  16898. #. type: Plain text
  16899. #: guix-git/doc/guix.texi:11657
  16900. 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:"
  16901. msgstr ""
  16902. #. type: lisp
  16903. #: guix-git/doc/guix.texi:11664
  16904. #, no-wrap
  16905. msgid ""
  16906. "(define-public network-manager\n"
  16907. " (package\n"
  16908. " (name \"network-manager\")\n"
  16909. " ;; @dots{}\n"
  16910. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  16911. msgstr ""
  16912. #. type: Plain text
  16913. #: guix-git/doc/guix.texi:11673
  16914. 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."
  16915. msgstr ""
  16916. #. type: Plain text
  16917. #: guix-git/doc/guix.texi:11679
  16918. 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."
  16919. msgstr ""
  16920. #. type: Plain text
  16921. #: guix-git/doc/guix.texi:11681
  16922. msgid "The following options are supported:"
  16923. msgstr ""
  16924. #. type: table
  16925. #: guix-git/doc/guix.texi:11689 guix-git/doc/guix.texi:12484
  16926. msgid "This is useful to precisely refer to a package, as in this example:"
  16927. msgstr ""
  16928. #. type: example
  16929. #: guix-git/doc/guix.texi:11692
  16930. #, no-wrap
  16931. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  16932. msgstr ""
  16933. #. type: table
  16934. #: guix-git/doc/guix.texi:11696
  16935. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  16936. msgstr ""
  16937. #. type: item
  16938. #: guix-git/doc/guix.texi:11697
  16939. #, no-wrap
  16940. msgid "--update"
  16941. msgstr ""
  16942. #. type: itemx
  16943. #: guix-git/doc/guix.texi:11698
  16944. #, no-wrap
  16945. msgid "-u"
  16946. msgstr ""
  16947. #. type: table
  16948. #: guix-git/doc/guix.texi:11702
  16949. 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}):"
  16950. msgstr ""
  16951. #. type: example
  16952. #: guix-git/doc/guix.texi:11705
  16953. #, no-wrap
  16954. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  16955. msgstr ""
  16956. #. type: table
  16957. #: guix-git/doc/guix.texi:11708
  16958. msgid "@xref{Defining Packages}, for more information on package definitions."
  16959. msgstr ""
  16960. #. type: item
  16961. #: guix-git/doc/guix.texi:11709
  16962. #, no-wrap
  16963. msgid "--select=[@var{subset}]"
  16964. msgstr ""
  16965. #. type: itemx
  16966. #: guix-git/doc/guix.texi:11710
  16967. #, no-wrap
  16968. msgid "-s @var{subset}"
  16969. msgstr ""
  16970. #. type: table
  16971. #: guix-git/doc/guix.texi:11713
  16972. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  16973. msgstr ""
  16974. #. type: table
  16975. #: guix-git/doc/guix.texi:11720
  16976. 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."
  16977. msgstr ""
  16978. #. type: table
  16979. #: guix-git/doc/guix.texi:11724
  16980. 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."
  16981. msgstr ""
  16982. #. type: table
  16983. #: guix-git/doc/guix.texi:11729
  16984. 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."
  16985. msgstr ""
  16986. #. type: item
  16987. #: guix-git/doc/guix.texi:11730
  16988. #, no-wrap
  16989. msgid "--type=@var{updater}"
  16990. msgstr ""
  16991. #. type: itemx
  16992. #: guix-git/doc/guix.texi:11731
  16993. #, no-wrap
  16994. msgid "-t @var{updater}"
  16995. msgstr ""
  16996. #. type: table
  16997. #: guix-git/doc/guix.texi:11734
  16998. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  16999. msgstr ""
  17000. #. type: table
  17001. #: guix-git/doc/guix.texi:11738
  17002. msgid "the updater for GNU packages;"
  17003. msgstr ""
  17004. #. type: item
  17005. #: guix-git/doc/guix.texi:11738
  17006. #, no-wrap
  17007. msgid "savannah"
  17008. msgstr ""
  17009. #. type: table
  17010. #: guix-git/doc/guix.texi:11740
  17011. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17012. msgstr ""
  17013. #. type: item
  17014. #: guix-git/doc/guix.texi:11740
  17015. #, no-wrap
  17016. msgid "sourceforge"
  17017. msgstr ""
  17018. #. type: table
  17019. #: guix-git/doc/guix.texi:11742
  17020. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17021. msgstr ""
  17022. #. type: item
  17023. #: guix-git/doc/guix.texi:11742
  17024. #, no-wrap
  17025. msgid "gnome"
  17026. msgstr ""
  17027. #. type: table
  17028. #: guix-git/doc/guix.texi:11744
  17029. msgid "the updater for GNOME packages;"
  17030. msgstr ""
  17031. #. type: item
  17032. #: guix-git/doc/guix.texi:11744
  17033. #, no-wrap
  17034. msgid "kde"
  17035. msgstr ""
  17036. #. type: table
  17037. #: guix-git/doc/guix.texi:11746
  17038. msgid "the updater for KDE packages;"
  17039. msgstr ""
  17040. #. type: item
  17041. #: guix-git/doc/guix.texi:11746
  17042. #, no-wrap
  17043. msgid "xorg"
  17044. msgstr ""
  17045. #. type: table
  17046. #: guix-git/doc/guix.texi:11748
  17047. msgid "the updater for X.org packages;"
  17048. msgstr ""
  17049. #. type: item
  17050. #: guix-git/doc/guix.texi:11748
  17051. #, no-wrap
  17052. msgid "kernel.org"
  17053. msgstr ""
  17054. #. type: table
  17055. #: guix-git/doc/guix.texi:11750
  17056. msgid "the updater for packages hosted on kernel.org;"
  17057. msgstr ""
  17058. #. type: table
  17059. #: guix-git/doc/guix.texi:11752
  17060. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17061. msgstr ""
  17062. #. type: table
  17063. #: guix-git/doc/guix.texi:11754
  17064. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17065. msgstr ""
  17066. #. type: item
  17067. #: guix-git/doc/guix.texi:11754
  17068. #, no-wrap
  17069. msgid "bioconductor"
  17070. msgstr ""
  17071. #. type: table
  17072. #: guix-git/doc/guix.texi:11756
  17073. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17074. msgstr ""
  17075. #. type: table
  17076. #: guix-git/doc/guix.texi:11758
  17077. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17078. msgstr ""
  17079. #. type: table
  17080. #: guix-git/doc/guix.texi:11760
  17081. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17082. msgstr ""
  17083. #. type: table
  17084. #: guix-git/doc/guix.texi:11762
  17085. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17086. msgstr ""
  17087. #. type: item
  17088. #: guix-git/doc/guix.texi:11762
  17089. #, no-wrap
  17090. msgid "github"
  17091. msgstr ""
  17092. #. type: table
  17093. #: guix-git/doc/guix.texi:11764
  17094. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17095. msgstr ""
  17096. #. type: table
  17097. #: guix-git/doc/guix.texi:11766
  17098. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17099. msgstr ""
  17100. #. type: table
  17101. #: guix-git/doc/guix.texi:11768
  17102. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17103. msgstr ""
  17104. #. type: table
  17105. #: guix-git/doc/guix.texi:11770
  17106. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17107. msgstr ""
  17108. #. type: item
  17109. #: guix-git/doc/guix.texi:11770
  17110. #, no-wrap
  17111. msgid "launchpad"
  17112. msgstr ""
  17113. #. type: table
  17114. #: guix-git/doc/guix.texi:11772
  17115. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17116. msgstr ""
  17117. #. type: item
  17118. #: guix-git/doc/guix.texi:11772
  17119. #, no-wrap
  17120. msgid "generic-html"
  17121. msgstr ""
  17122. #. type: table
  17123. #: guix-git/doc/guix.texi:11775
  17124. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17125. msgstr ""
  17126. #. type: table
  17127. #: guix-git/doc/guix.texi:11779
  17128. 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:"
  17129. msgstr ""
  17130. #. type: example
  17131. #: guix-git/doc/guix.texi:11784
  17132. #, no-wrap
  17133. msgid ""
  17134. "$ guix refresh --type=elpa,cran\n"
  17135. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17136. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17137. msgstr ""
  17138. #. type: item
  17139. #: guix-git/doc/guix.texi:11786
  17140. #, no-wrap
  17141. msgid "--list-updaters"
  17142. msgstr ""
  17143. #. type: itemx
  17144. #: guix-git/doc/guix.texi:11787
  17145. #, no-wrap
  17146. msgid "-L"
  17147. msgstr ""
  17148. #. type: table
  17149. #: guix-git/doc/guix.texi:11789
  17150. msgid "List available updaters and exit (see @option{--type} above)."
  17151. msgstr ""
  17152. #. type: table
  17153. #: guix-git/doc/guix.texi:11792
  17154. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17155. msgstr ""
  17156. #. type: Plain text
  17157. #: guix-git/doc/guix.texi:11796
  17158. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17159. msgstr ""
  17160. #. type: example
  17161. #: guix-git/doc/guix.texi:11799
  17162. #, no-wrap
  17163. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17164. msgstr ""
  17165. #. type: Plain text
  17166. #: guix-git/doc/guix.texi:11806
  17167. 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:"
  17168. msgstr ""
  17169. #. type: example
  17170. #: guix-git/doc/guix.texi:11810
  17171. #, no-wrap
  17172. msgid ""
  17173. "$ ./pre-inst-env guix refresh -u \\\n"
  17174. " $(guix package --list-installed | cut -f1)\n"
  17175. msgstr ""
  17176. #. type: Plain text
  17177. #: guix-git/doc/guix.texi:11816
  17178. 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:"
  17179. msgstr ""
  17180. #. type: item
  17181. #: guix-git/doc/guix.texi:11819
  17182. #, no-wrap
  17183. msgid "--list-dependent"
  17184. msgstr ""
  17185. #. type: itemx
  17186. #: guix-git/doc/guix.texi:11820 guix-git/doc/guix.texi:12079
  17187. #, no-wrap
  17188. msgid "-l"
  17189. msgstr ""
  17190. #. type: table
  17191. #: guix-git/doc/guix.texi:11823
  17192. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17193. msgstr ""
  17194. #. type: table
  17195. #: guix-git/doc/guix.texi:11827
  17196. 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."
  17197. msgstr ""
  17198. #. type: Plain text
  17199. #: guix-git/doc/guix.texi:11833
  17200. 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."
  17201. msgstr ""
  17202. #. type: example
  17203. #: guix-git/doc/guix.texi:11838
  17204. #, no-wrap
  17205. msgid ""
  17206. "$ guix refresh --list-dependent flex\n"
  17207. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  17208. "hop@@2.4.0 geiser@@0.4 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  17209. msgstr ""
  17210. #. type: Plain text
  17211. #: guix-git/doc/guix.texi:11842
  17212. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  17213. msgstr ""
  17214. #. type: item
  17215. #: guix-git/doc/guix.texi:11845
  17216. #, no-wrap
  17217. msgid "--list-transitive"
  17218. msgstr ""
  17219. #. type: table
  17220. #: guix-git/doc/guix.texi:11847
  17221. msgid "List all the packages which one or more packages depend upon."
  17222. msgstr ""
  17223. #. type: example
  17224. #: guix-git/doc/guix.texi:11852
  17225. #, no-wrap
  17226. msgid ""
  17227. "$ guix refresh --list-transitive flex\n"
  17228. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  17229. "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"
  17230. msgstr ""
  17231. #. type: Plain text
  17232. #: guix-git/doc/guix.texi:11858
  17233. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  17234. msgstr ""
  17235. #. type: Plain text
  17236. #: guix-git/doc/guix.texi:11860
  17237. msgid "The following options can be used to customize GnuPG operation:"
  17238. msgstr ""
  17239. #. type: item
  17240. #: guix-git/doc/guix.texi:11863
  17241. #, no-wrap
  17242. msgid "--gpg=@var{command}"
  17243. msgstr ""
  17244. #. type: table
  17245. #: guix-git/doc/guix.texi:11866
  17246. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  17247. msgstr ""
  17248. #. type: item
  17249. #: guix-git/doc/guix.texi:11867
  17250. #, no-wrap
  17251. msgid "--keyring=@var{file}"
  17252. msgstr ""
  17253. #. type: table
  17254. #: guix-git/doc/guix.texi:11873
  17255. 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)."
  17256. msgstr ""
  17257. #. type: table
  17258. #: guix-git/doc/guix.texi:11879
  17259. 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)."
  17260. msgstr ""
  17261. #. type: table
  17262. #: guix-git/doc/guix.texi:11882
  17263. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  17264. msgstr ""
  17265. #. type: example
  17266. #: guix-git/doc/guix.texi:11885
  17267. #, no-wrap
  17268. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  17269. msgstr ""
  17270. #. type: table
  17271. #: guix-git/doc/guix.texi:11888
  17272. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  17273. msgstr ""
  17274. #. type: example
  17275. #: guix-git/doc/guix.texi:11892
  17276. #, no-wrap
  17277. msgid ""
  17278. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  17279. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  17280. msgstr ""
  17281. #. type: table
  17282. #: guix-git/doc/guix.texi:11896
  17283. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  17284. msgstr ""
  17285. #. type: table
  17286. #: guix-git/doc/guix.texi:11900
  17287. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  17288. msgstr ""
  17289. #. type: item
  17290. #: guix-git/doc/guix.texi:11902 guix-git/doc/guix.texi:20769
  17291. #, no-wrap
  17292. msgid "always"
  17293. msgstr ""
  17294. #. type: table
  17295. #: guix-git/doc/guix.texi:11905
  17296. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  17297. msgstr ""
  17298. #. type: item
  17299. #: guix-git/doc/guix.texi:11906 guix-git/doc/guix.texi:20771
  17300. #, no-wrap
  17301. msgid "never"
  17302. msgstr ""
  17303. #. type: table
  17304. #: guix-git/doc/guix.texi:11908
  17305. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  17306. msgstr ""
  17307. #. type: item
  17308. #: guix-git/doc/guix.texi:11909
  17309. #, no-wrap
  17310. msgid "interactive"
  17311. msgstr ""
  17312. #. type: table
  17313. #: guix-git/doc/guix.texi:11912
  17314. 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."
  17315. msgstr ""
  17316. #. type: item
  17317. #: guix-git/doc/guix.texi:11914
  17318. #, no-wrap
  17319. msgid "--key-server=@var{host}"
  17320. msgstr ""
  17321. #. type: table
  17322. #: guix-git/doc/guix.texi:11916
  17323. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  17324. msgstr ""
  17325. #. type: Plain text
  17326. #: guix-git/doc/guix.texi:11936
  17327. 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."
  17328. msgstr ""
  17329. #. type: section
  17330. #: guix-git/doc/guix.texi:11939
  17331. #, no-wrap
  17332. msgid "Invoking @command{guix lint}"
  17333. msgstr ""
  17334. #. type: command{#1}
  17335. #: guix-git/doc/guix.texi:11941
  17336. #, no-wrap
  17337. msgid "guix lint"
  17338. msgstr ""
  17339. #. type: cindex
  17340. #: guix-git/doc/guix.texi:11942
  17341. #, no-wrap
  17342. msgid "package, checking for errors"
  17343. msgstr ""
  17344. #. type: Plain text
  17345. #: guix-git/doc/guix.texi:11948
  17346. 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):"
  17347. msgstr ""
  17348. #. type: table
  17349. #: guix-git/doc/guix.texi:11954
  17350. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  17351. msgstr ""
  17352. #. type: item
  17353. #: guix-git/doc/guix.texi:11955
  17354. #, no-wrap
  17355. msgid "inputs-should-be-native"
  17356. msgstr ""
  17357. #. type: table
  17358. #: guix-git/doc/guix.texi:11957
  17359. msgid "Identify inputs that should most likely be native inputs."
  17360. msgstr ""
  17361. #. type: itemx
  17362. #: guix-git/doc/guix.texi:11960
  17363. #, no-wrap
  17364. msgid "mirror-url"
  17365. msgstr ""
  17366. #. type: itemx
  17367. #: guix-git/doc/guix.texi:11961
  17368. #, no-wrap
  17369. msgid "github-url"
  17370. msgstr ""
  17371. #. type: itemx
  17372. #: guix-git/doc/guix.texi:11962
  17373. #, no-wrap
  17374. msgid "source-file-name"
  17375. msgstr ""
  17376. #. type: table
  17377. #: guix-git/doc/guix.texi:11969
  17378. 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})."
  17379. msgstr ""
  17380. #. type: item
  17381. #: guix-git/doc/guix.texi:11970
  17382. #, no-wrap
  17383. msgid "source-unstable-tarball"
  17384. msgstr ""
  17385. #. type: table
  17386. #: guix-git/doc/guix.texi:11974
  17387. 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."
  17388. msgstr ""
  17389. #. type: table
  17390. #: guix-git/doc/guix.texi:11978
  17391. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  17392. msgstr ""
  17393. #. type: item
  17394. #: guix-git/doc/guix.texi:11979
  17395. #, no-wrap
  17396. msgid "profile-collisions"
  17397. msgstr ""
  17398. #. type: table
  17399. #: guix-git/doc/guix.texi:11985
  17400. 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."
  17401. msgstr ""
  17402. #. type: item
  17403. #: guix-git/doc/guix.texi:11986
  17404. #, no-wrap
  17405. msgid "archival"
  17406. msgstr ""
  17407. #. type: cindex
  17408. #: guix-git/doc/guix.texi:11987
  17409. #, no-wrap
  17410. msgid "Software Heritage, source code archive"
  17411. msgstr ""
  17412. #. type: cindex
  17413. #: guix-git/doc/guix.texi:11988
  17414. #, no-wrap
  17415. msgid "archival of source code, Software Heritage"
  17416. msgstr ""
  17417. #. type: table
  17418. #: guix-git/doc/guix.texi:11991
  17419. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  17420. msgstr ""
  17421. #. type: table
  17422. #: guix-git/doc/guix.texi:11999
  17423. 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}."
  17424. msgstr ""
  17425. #. type: table
  17426. #: guix-git/doc/guix.texi:12004
  17427. 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."
  17428. msgstr ""
  17429. #. type: table
  17430. #: guix-git/doc/guix.texi:12010
  17431. 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."
  17432. msgstr ""
  17433. #. type: item
  17434. #: guix-git/doc/guix.texi:12011
  17435. #, no-wrap
  17436. msgid "cve"
  17437. msgstr ""
  17438. #. type: cindex
  17439. #: guix-git/doc/guix.texi:12012 guix-git/doc/guix.texi:34545
  17440. #, no-wrap
  17441. msgid "security vulnerabilities"
  17442. msgstr ""
  17443. #. type: cindex
  17444. #: guix-git/doc/guix.texi:12013
  17445. #, no-wrap
  17446. msgid "CVE, Common Vulnerabilities and Exposures"
  17447. msgstr ""
  17448. #. type: table
  17449. #: guix-git/doc/guix.texi:12018
  17450. 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}."
  17451. msgstr ""
  17452. #. type: table
  17453. #: guix-git/doc/guix.texi:12020
  17454. msgid "To view information about a particular vulnerability, visit pages such as:"
  17455. msgstr ""
  17456. #. type: indicateurl{#1}
  17457. #: guix-git/doc/guix.texi:12024
  17458. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  17459. msgstr ""
  17460. #. type: indicateurl{#1}
  17461. #: guix-git/doc/guix.texi:12026
  17462. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  17463. msgstr ""
  17464. #. type: table
  17465. #: guix-git/doc/guix.texi:12031
  17466. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  17467. msgstr ""
  17468. #. type: table
  17469. #: guix-git/doc/guix.texi:12036
  17470. 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:"
  17471. msgstr ""
  17472. #. type: lisp
  17473. #: guix-git/doc/guix.texi:12044
  17474. #, no-wrap
  17475. msgid ""
  17476. "(package\n"
  17477. " (name \"grub\")\n"
  17478. " ;; @dots{}\n"
  17479. " ;; CPE calls this package \"grub2\".\n"
  17480. " (properties '((cpe-name . \"grub2\")\n"
  17481. " (cpe-version . \"2.3\"))))\n"
  17482. msgstr ""
  17483. #. type: table
  17484. #: guix-git/doc/guix.texi:12051
  17485. 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:"
  17486. msgstr ""
  17487. #. type: lisp
  17488. #: guix-git/doc/guix.texi:12061
  17489. #, no-wrap
  17490. msgid ""
  17491. "(package\n"
  17492. " (name \"t1lib\")\n"
  17493. " ;; @dots{}\n"
  17494. " ;; These CVEs no longer apply and can be safely ignored.\n"
  17495. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  17496. " \"CVE-2011-1553\"\n"
  17497. " \"CVE-2011-1554\"\n"
  17498. " \"CVE-2011-5244\")))))\n"
  17499. msgstr ""
  17500. #. type: item
  17501. #: guix-git/doc/guix.texi:12063
  17502. #, no-wrap
  17503. msgid "formatting"
  17504. msgstr ""
  17505. #. type: table
  17506. #: guix-git/doc/guix.texi:12066
  17507. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  17508. msgstr ""
  17509. #. type: example
  17510. #: guix-git/doc/guix.texi:12072
  17511. #, no-wrap
  17512. msgid "guix lint @var{options} @var{package}@dots{}\n"
  17513. msgstr ""
  17514. #. type: Plain text
  17515. #: guix-git/doc/guix.texi:12076
  17516. 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:"
  17517. msgstr ""
  17518. #. type: item
  17519. #: guix-git/doc/guix.texi:12078
  17520. #, no-wrap
  17521. msgid "--list-checkers"
  17522. msgstr ""
  17523. #. type: table
  17524. #: guix-git/doc/guix.texi:12082
  17525. msgid "List and describe all the available checkers that will be run on packages and exit."
  17526. msgstr ""
  17527. #. type: item
  17528. #: guix-git/doc/guix.texi:12083
  17529. #, no-wrap
  17530. msgid "--checkers"
  17531. msgstr ""
  17532. #. type: itemx
  17533. #: guix-git/doc/guix.texi:12084
  17534. #, no-wrap
  17535. msgid "-c"
  17536. msgstr ""
  17537. #. type: table
  17538. #: guix-git/doc/guix.texi:12087
  17539. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  17540. msgstr ""
  17541. #. type: item
  17542. #: guix-git/doc/guix.texi:12088
  17543. #, no-wrap
  17544. msgid "--exclude"
  17545. msgstr ""
  17546. #. type: table
  17547. #: guix-git/doc/guix.texi:12092
  17548. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  17549. msgstr ""
  17550. #. type: item
  17551. #: guix-git/doc/guix.texi:12093
  17552. #, no-wrap
  17553. msgid "--no-network"
  17554. msgstr ""
  17555. #. type: table
  17556. #: guix-git/doc/guix.texi:12096
  17557. msgid "Only enable the checkers that do not depend on Internet access."
  17558. msgstr ""
  17559. #. type: section
  17560. #: guix-git/doc/guix.texi:12108
  17561. #, no-wrap
  17562. msgid "Invoking @command{guix size}"
  17563. msgstr ""
  17564. #. type: code{#1}
  17565. #: guix-git/doc/guix.texi:12110 guix-git/doc/guix.texi:33481
  17566. #, no-wrap
  17567. msgid "size"
  17568. msgstr ""
  17569. #. type: cindex
  17570. #: guix-git/doc/guix.texi:12111
  17571. #, no-wrap
  17572. msgid "package size"
  17573. msgstr ""
  17574. #. type: command{#1}
  17575. #: guix-git/doc/guix.texi:12113
  17576. #, no-wrap
  17577. msgid "guix size"
  17578. msgstr ""
  17579. #. type: Plain text
  17580. #: guix-git/doc/guix.texi:12120
  17581. 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."
  17582. msgstr ""
  17583. #. type: Plain text
  17584. #: guix-git/doc/guix.texi:12125
  17585. 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:"
  17586. msgstr ""
  17587. #. type: example
  17588. #: guix-git/doc/guix.texi:12138
  17589. #, no-wrap
  17590. msgid ""
  17591. "$ guix size coreutils\n"
  17592. "store item total self\n"
  17593. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  17594. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  17595. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  17596. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  17597. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  17598. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  17599. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  17600. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  17601. "total: 78.9 MiB\n"
  17602. msgstr ""
  17603. #. type: Plain text
  17604. #: guix-git/doc/guix.texi:12144
  17605. 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:"
  17606. msgstr ""
  17607. #. type: example
  17608. #: guix-git/doc/guix.texi:12147
  17609. #, no-wrap
  17610. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  17611. msgstr ""
  17612. #. type: Plain text
  17613. #: guix-git/doc/guix.texi:12155
  17614. 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."
  17615. msgstr ""
  17616. #. type: Plain text
  17617. #: guix-git/doc/guix.texi:12161
  17618. 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.)"
  17619. msgstr ""
  17620. #. type: Plain text
  17621. #: guix-git/doc/guix.texi:12164
  17622. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  17623. msgstr ""
  17624. #. type: example
  17625. #: guix-git/doc/guix.texi:12167
  17626. #, no-wrap
  17627. msgid "guix size $(guix system build config.scm)\n"
  17628. msgstr ""
  17629. #. type: Plain text
  17630. #: guix-git/doc/guix.texi:12177
  17631. 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})."
  17632. msgstr ""
  17633. #. type: Plain text
  17634. #: guix-git/doc/guix.texi:12182
  17635. 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."
  17636. msgstr ""
  17637. #. type: Plain text
  17638. #: guix-git/doc/guix.texi:12184
  17639. msgid "You can also specify several package names:"
  17640. msgstr ""
  17641. #. type: example
  17642. #: guix-git/doc/guix.texi:12194
  17643. #, no-wrap
  17644. msgid ""
  17645. "$ guix size coreutils grep sed bash\n"
  17646. "store item total self\n"
  17647. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  17648. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  17649. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  17650. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  17651. "@dots{}\n"
  17652. "total: 102.3 MiB\n"
  17653. msgstr ""
  17654. #. type: Plain text
  17655. #: guix-git/doc/guix.texi:12200
  17656. 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."
  17657. msgstr ""
  17658. #. type: Plain text
  17659. #: guix-git/doc/guix.texi:12206
  17660. 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})."
  17661. msgstr ""
  17662. #. type: Plain text
  17663. #: guix-git/doc/guix.texi:12208
  17664. msgid "The available options are:"
  17665. msgstr ""
  17666. #. type: table
  17667. #: guix-git/doc/guix.texi:12214
  17668. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  17669. msgstr ""
  17670. #. type: item
  17671. #: guix-git/doc/guix.texi:12215
  17672. #, no-wrap
  17673. msgid "--sort=@var{key}"
  17674. msgstr ""
  17675. #. type: table
  17676. #: guix-git/doc/guix.texi:12217
  17677. msgid "Sort lines according to @var{key}, one of the following options:"
  17678. msgstr ""
  17679. #. type: item
  17680. #: guix-git/doc/guix.texi:12219
  17681. #, no-wrap
  17682. msgid "self"
  17683. msgstr ""
  17684. #. type: table
  17685. #: guix-git/doc/guix.texi:12221
  17686. msgid "the size of each item (the default);"
  17687. msgstr ""
  17688. #. type: table
  17689. #: guix-git/doc/guix.texi:12223
  17690. msgid "the total size of the item's closure."
  17691. msgstr ""
  17692. #. type: item
  17693. #: guix-git/doc/guix.texi:12225
  17694. #, no-wrap
  17695. msgid "--map-file=@var{file}"
  17696. msgstr ""
  17697. #. type: table
  17698. #: guix-git/doc/guix.texi:12227
  17699. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  17700. msgstr ""
  17701. #. type: table
  17702. #: guix-git/doc/guix.texi:12229
  17703. msgid "For the example above, the map looks like this:"
  17704. msgstr ""
  17705. #. type: table
  17706. #: guix-git/doc/guix.texi:12232
  17707. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  17708. msgstr ""
  17709. #. type: table
  17710. #: guix-git/doc/guix.texi:12237
  17711. 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."
  17712. msgstr ""
  17713. #. type: table
  17714. #: guix-git/doc/guix.texi:12241
  17715. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  17716. msgstr ""
  17717. #. type: section
  17718. #: guix-git/doc/guix.texi:12252
  17719. #, no-wrap
  17720. msgid "Invoking @command{guix graph}"
  17721. msgstr ""
  17722. #. type: cindex
  17723. #: guix-git/doc/guix.texi:12254
  17724. #, no-wrap
  17725. msgid "DAG"
  17726. msgstr ""
  17727. #. type: command{#1}
  17728. #: guix-git/doc/guix.texi:12255
  17729. #, no-wrap
  17730. msgid "guix graph"
  17731. msgstr ""
  17732. #. type: Plain text
  17733. #: guix-git/doc/guix.texi:12270
  17734. 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:"
  17735. msgstr ""
  17736. #. type: example
  17737. #: guix-git/doc/guix.texi:12273
  17738. #, no-wrap
  17739. msgid "guix graph @var{options} @var{package}@dots{}\n"
  17740. msgstr ""
  17741. #. type: Plain text
  17742. #: guix-git/doc/guix.texi:12278
  17743. 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:"
  17744. msgstr ""
  17745. #. type: example
  17746. #: guix-git/doc/guix.texi:12281
  17747. #, no-wrap
  17748. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  17749. msgstr ""
  17750. #. type: Plain text
  17751. #: guix-git/doc/guix.texi:12284
  17752. msgid "The output looks like this:"
  17753. msgstr ""
  17754. #. type: Plain text
  17755. #: guix-git/doc/guix.texi:12286
  17756. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  17757. msgstr ""
  17758. #. type: Plain text
  17759. #: guix-git/doc/guix.texi:12288
  17760. msgid "Nice little graph, no?"
  17761. msgstr ""
  17762. #. type: Plain text
  17763. #: guix-git/doc/guix.texi:12291
  17764. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  17765. msgstr ""
  17766. #. type: example
  17767. #: guix-git/doc/guix.texi:12294
  17768. #, no-wrap
  17769. msgid "guix graph coreutils | xdot -\n"
  17770. msgstr ""
  17771. #. type: Plain text
  17772. #: guix-git/doc/guix.texi:12301
  17773. 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:"
  17774. msgstr ""
  17775. #. type: table
  17776. #: guix-git/doc/guix.texi:12307
  17777. 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."
  17778. msgstr ""
  17779. #. type: item
  17780. #: guix-git/doc/guix.texi:12308
  17781. #, no-wrap
  17782. msgid "reverse-package"
  17783. msgstr ""
  17784. #. type: table
  17785. #: guix-git/doc/guix.texi:12310
  17786. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  17787. msgstr ""
  17788. #. type: example
  17789. #: guix-git/doc/guix.texi:12313
  17790. #, no-wrap
  17791. msgid "guix graph --type=reverse-package ocaml\n"
  17792. msgstr ""
  17793. #. type: table
  17794. #: guix-git/doc/guix.texi:12318
  17795. 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)."
  17796. msgstr ""
  17797. #. type: table
  17798. #: guix-git/doc/guix.texi:12323
  17799. 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}})."
  17800. msgstr ""
  17801. #. type: item
  17802. #: guix-git/doc/guix.texi:12324
  17803. #, no-wrap
  17804. msgid "bag-emerged"
  17805. msgstr ""
  17806. #. type: table
  17807. #: guix-git/doc/guix.texi:12326
  17808. msgid "This is the package DAG, @emph{including} implicit inputs."
  17809. msgstr ""
  17810. #. type: table
  17811. #: guix-git/doc/guix.texi:12328
  17812. msgid "For instance, the following command:"
  17813. msgstr ""
  17814. #. type: example
  17815. #: guix-git/doc/guix.texi:12331
  17816. #, no-wrap
  17817. msgid "guix graph --type=bag-emerged coreutils\n"
  17818. msgstr ""
  17819. #. type: table
  17820. #: guix-git/doc/guix.texi:12334
  17821. msgid "...@: yields this bigger graph:"
  17822. msgstr ""
  17823. #. type: table
  17824. #: guix-git/doc/guix.texi:12336
  17825. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  17826. msgstr ""
  17827. #. type: table
  17828. #: guix-git/doc/guix.texi:12339
  17829. 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}})."
  17830. msgstr ""
  17831. #. type: table
  17832. #: guix-git/doc/guix.texi:12343
  17833. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  17834. msgstr ""
  17835. #. type: item
  17836. #: guix-git/doc/guix.texi:12344
  17837. #, no-wrap
  17838. msgid "bag"
  17839. msgstr ""
  17840. #. type: table
  17841. #: guix-git/doc/guix.texi:12347
  17842. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  17843. msgstr ""
  17844. #. type: item
  17845. #: guix-git/doc/guix.texi:12348
  17846. #, no-wrap
  17847. msgid "bag-with-origins"
  17848. msgstr ""
  17849. #. type: table
  17850. #: guix-git/doc/guix.texi:12350
  17851. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  17852. msgstr ""
  17853. #. type: item
  17854. #: guix-git/doc/guix.texi:12351
  17855. #, no-wrap
  17856. msgid "reverse-bag"
  17857. msgstr ""
  17858. #. type: table
  17859. #: guix-git/doc/guix.texi:12354
  17860. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  17861. msgstr ""
  17862. #. type: example
  17863. #: guix-git/doc/guix.texi:12357
  17864. #, no-wrap
  17865. msgid "guix graph -t reverse-bag dune\n"
  17866. msgstr ""
  17867. #. type: table
  17868. #: guix-git/doc/guix.texi:12364
  17869. 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."
  17870. msgstr ""
  17871. #. type: table
  17872. #: guix-git/doc/guix.texi:12370
  17873. 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."
  17874. msgstr ""
  17875. #. type: table
  17876. #: guix-git/doc/guix.texi:12373
  17877. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  17878. msgstr ""
  17879. #. type: example
  17880. #: guix-git/doc/guix.texi:12376
  17881. #, no-wrap
  17882. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  17883. msgstr ""
  17884. #. type: item
  17885. #: guix-git/doc/guix.texi:12378
  17886. #, no-wrap
  17887. msgid "module"
  17888. msgstr ""
  17889. #. type: table
  17890. #: guix-git/doc/guix.texi:12382
  17891. 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:"
  17892. msgstr ""
  17893. #. type: example
  17894. #: guix-git/doc/guix.texi:12385
  17895. #, no-wrap
  17896. msgid "guix graph -t module guile | xdot -\n"
  17897. msgstr ""
  17898. #. type: Plain text
  17899. #: guix-git/doc/guix.texi:12390
  17900. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  17901. msgstr ""
  17902. #. type: table
  17903. #: guix-git/doc/guix.texi:12395
  17904. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  17905. msgstr ""
  17906. #. type: table
  17907. #: guix-git/doc/guix.texi:12398
  17908. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  17909. msgstr ""
  17910. #. type: table
  17911. #: guix-git/doc/guix.texi:12402
  17912. 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!):"
  17913. msgstr ""
  17914. #. type: example
  17915. #: guix-git/doc/guix.texi:12405
  17916. #, no-wrap
  17917. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  17918. msgstr ""
  17919. #. type: item
  17920. #: guix-git/doc/guix.texi:12407
  17921. #, no-wrap
  17922. msgid "referrers"
  17923. msgstr ""
  17924. #. type: table
  17925. #: guix-git/doc/guix.texi:12410
  17926. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  17927. msgstr ""
  17928. #. type: table
  17929. #: guix-git/doc/guix.texi:12416
  17930. 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."
  17931. msgstr ""
  17932. #. type: table
  17933. #: guix-git/doc/guix.texi:12419
  17934. msgid "It can help determine what is preventing a store item from being garbage collected."
  17935. msgstr ""
  17936. #. type: cindex
  17937. #: guix-git/doc/guix.texi:12422
  17938. #, no-wrap
  17939. msgid "shortest path, between packages"
  17940. msgstr ""
  17941. #. type: Plain text
  17942. #: guix-git/doc/guix.texi:12429
  17943. 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.):"
  17944. msgstr ""
  17945. #. type: example
  17946. #: guix-git/doc/guix.texi:12443
  17947. #, no-wrap
  17948. msgid ""
  17949. "$ guix graph --path emacs libunistring\n"
  17950. "emacs@@26.3\n"
  17951. "mailutils@@3.9\n"
  17952. "libunistring@@0.9.10\n"
  17953. "$ guix graph --path -t derivation emacs libunistring\n"
  17954. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  17955. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  17956. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  17957. "$ guix graph --path -t references emacs libunistring\n"
  17958. "/gnu/store/@dots{}-emacs-26.3\n"
  17959. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  17960. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  17961. msgstr ""
  17962. #. type: Plain text
  17963. #: guix-git/doc/guix.texi:12446
  17964. msgid "The available options are the following:"
  17965. msgstr ""
  17966. #. type: table
  17967. #: guix-git/doc/guix.texi:12452
  17968. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  17969. msgstr ""
  17970. #. type: item
  17971. #: guix-git/doc/guix.texi:12453
  17972. #, no-wrap
  17973. msgid "--list-types"
  17974. msgstr ""
  17975. #. type: table
  17976. #: guix-git/doc/guix.texi:12455
  17977. msgid "List the supported graph types."
  17978. msgstr ""
  17979. #. type: item
  17980. #: guix-git/doc/guix.texi:12456
  17981. #, no-wrap
  17982. msgid "--backend=@var{backend}"
  17983. msgstr ""
  17984. #. type: itemx
  17985. #: guix-git/doc/guix.texi:12457
  17986. #, no-wrap
  17987. msgid "-b @var{backend}"
  17988. msgstr ""
  17989. #. type: table
  17990. #: guix-git/doc/guix.texi:12459
  17991. msgid "Produce a graph using the selected @var{backend}."
  17992. msgstr ""
  17993. #. type: item
  17994. #: guix-git/doc/guix.texi:12460
  17995. #, no-wrap
  17996. msgid "--list-backends"
  17997. msgstr ""
  17998. #. type: table
  17999. #: guix-git/doc/guix.texi:12462
  18000. msgid "List the supported graph backends."
  18001. msgstr ""
  18002. #. type: table
  18003. #: guix-git/doc/guix.texi:12464
  18004. msgid "Currently, the available backends are Graphviz and d3.js."
  18005. msgstr ""
  18006. #. type: item
  18007. #: guix-git/doc/guix.texi:12465
  18008. #, no-wrap
  18009. msgid "--path"
  18010. msgstr ""
  18011. #. type: table
  18012. #: guix-git/doc/guix.texi:12470
  18013. 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}:"
  18014. msgstr ""
  18015. #. type: example
  18016. #: guix-git/doc/guix.texi:12477
  18017. #, no-wrap
  18018. msgid ""
  18019. "$ guix graph --path -t references libreoffice llvm\n"
  18020. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18021. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18022. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18023. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18024. msgstr ""
  18025. #. type: example
  18026. #: guix-git/doc/guix.texi:12487
  18027. #, no-wrap
  18028. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18029. msgstr ""
  18030. #. type: table
  18031. #: guix-git/doc/guix.texi:12492
  18032. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18033. msgstr ""
  18034. #. type: table
  18035. #: guix-git/doc/guix.texi:12495
  18036. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18037. msgstr ""
  18038. #. type: Plain text
  18039. #: guix-git/doc/guix.texi:12511
  18040. 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:"
  18041. msgstr ""
  18042. #. type: example
  18043. #: guix-git/doc/guix.texi:12514
  18044. #, no-wrap
  18045. msgid "guix graph git --with-input=openssl=libressl\n"
  18046. msgstr ""
  18047. #. type: Plain text
  18048. #: guix-git/doc/guix.texi:12517
  18049. msgid "So many possibilities, so much fun!"
  18050. msgstr ""
  18051. #. type: section
  18052. #: guix-git/doc/guix.texi:12519
  18053. #, no-wrap
  18054. msgid "Invoking @command{guix publish}"
  18055. msgstr ""
  18056. #. type: command{#1}
  18057. #: guix-git/doc/guix.texi:12521
  18058. #, no-wrap
  18059. msgid "guix publish"
  18060. msgstr ""
  18061. #. type: Plain text
  18062. #: guix-git/doc/guix.texi:12525
  18063. 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})."
  18064. msgstr ""
  18065. #. type: Plain text
  18066. #: guix-git/doc/guix.texi:12531
  18067. 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}} build farm."
  18068. msgstr ""
  18069. #. type: Plain text
  18070. #: guix-git/doc/guix.texi:12537
  18071. 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."
  18072. msgstr ""
  18073. #. type: Plain text
  18074. #: guix-git/doc/guix.texi:12541
  18075. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18076. msgstr ""
  18077. #. type: Plain text
  18078. #: guix-git/doc/guix.texi:12546
  18079. 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})."
  18080. msgstr ""
  18081. #. type: example
  18082. #: guix-git/doc/guix.texi:12551
  18083. #, no-wrap
  18084. msgid "guix publish @var{options}@dots{}\n"
  18085. msgstr ""
  18086. #. type: Plain text
  18087. #: guix-git/doc/guix.texi:12555
  18088. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18089. msgstr ""
  18090. #. type: example
  18091. #: guix-git/doc/guix.texi:12558
  18092. #, no-wrap
  18093. msgid "guix publish\n"
  18094. msgstr ""
  18095. #. type: Plain text
  18096. #: guix-git/doc/guix.texi:12562
  18097. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18098. msgstr ""
  18099. #. type: Plain text
  18100. #: guix-git/doc/guix.texi:12570
  18101. 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})."
  18102. msgstr ""
  18103. #. type: Plain text
  18104. #: guix-git/doc/guix.texi:12577
  18105. 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}):"
  18106. msgstr ""
  18107. #. type: example
  18108. #: guix-git/doc/guix.texi:12580
  18109. #, no-wrap
  18110. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18111. msgstr ""
  18112. #. type: Plain text
  18113. #: guix-git/doc/guix.texi:12584
  18114. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18115. msgstr ""
  18116. #. type: cindex
  18117. #: guix-git/doc/guix.texi:12585
  18118. #, no-wrap
  18119. msgid "build logs, publication"
  18120. msgstr ""
  18121. #. type: Plain text
  18122. #: guix-git/doc/guix.texi:12587
  18123. msgid "Build logs are available from @code{/log} URLs like:"
  18124. msgstr ""
  18125. #. type: example
  18126. #: guix-git/doc/guix.texi:12590
  18127. #, no-wrap
  18128. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18129. msgstr ""
  18130. #. type: Plain text
  18131. #: guix-git/doc/guix.texi:12600
  18132. 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."
  18133. msgstr ""
  18134. #. type: item
  18135. #: guix-git/doc/guix.texi:12604
  18136. #, no-wrap
  18137. msgid "--port=@var{port}"
  18138. msgstr ""
  18139. #. type: itemx
  18140. #: guix-git/doc/guix.texi:12605
  18141. #, no-wrap
  18142. msgid "-p @var{port}"
  18143. msgstr ""
  18144. #. type: table
  18145. #: guix-git/doc/guix.texi:12607
  18146. msgid "Listen for HTTP requests on @var{port}."
  18147. msgstr ""
  18148. #. type: item
  18149. #: guix-git/doc/guix.texi:12608
  18150. #, no-wrap
  18151. msgid "--listen=@var{host}"
  18152. msgstr ""
  18153. #. type: table
  18154. #: guix-git/doc/guix.texi:12611
  18155. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18156. msgstr ""
  18157. #. type: table
  18158. #: guix-git/doc/guix.texi:12616
  18159. 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."
  18160. msgstr ""
  18161. #. type: item
  18162. #: guix-git/doc/guix.texi:12617
  18163. #, no-wrap
  18164. msgid "--compression[=@var{method}[:@var{level}]]"
  18165. msgstr ""
  18166. #. type: itemx
  18167. #: guix-git/doc/guix.texi:12618
  18168. #, no-wrap
  18169. msgid "-C [@var{method}[:@var{level}]]"
  18170. msgstr ""
  18171. #. type: table
  18172. #: guix-git/doc/guix.texi:12622
  18173. 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."
  18174. msgstr ""
  18175. #. type: table
  18176. #: guix-git/doc/guix.texi:12626
  18177. 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."
  18178. msgstr ""
  18179. #. type: table
  18180. #: guix-git/doc/guix.texi:12633
  18181. 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."
  18182. msgstr ""
  18183. #. type: table
  18184. #: guix-git/doc/guix.texi:12637
  18185. 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}."
  18186. msgstr ""
  18187. #. type: table
  18188. #: guix-git/doc/guix.texi:12646
  18189. 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."
  18190. msgstr ""
  18191. #. type: table
  18192. #: guix-git/doc/guix.texi:12651
  18193. 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."
  18194. msgstr ""
  18195. #. type: item
  18196. #: guix-git/doc/guix.texi:12652
  18197. #, no-wrap
  18198. msgid "--cache=@var{directory}"
  18199. msgstr ""
  18200. #. type: itemx
  18201. #: guix-git/doc/guix.texi:12653
  18202. #, no-wrap
  18203. msgid "-c @var{directory}"
  18204. msgstr ""
  18205. #. type: table
  18206. #: guix-git/doc/guix.texi:12656
  18207. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  18208. msgstr ""
  18209. #. type: table
  18210. #: guix-git/doc/guix.texi:12664
  18211. 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."
  18212. msgstr ""
  18213. #. type: table
  18214. #: guix-git/doc/guix.texi:12672
  18215. 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."
  18216. msgstr ""
  18217. #. type: table
  18218. #: guix-git/doc/guix.texi:12679
  18219. 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."
  18220. msgstr ""
  18221. #. type: table
  18222. #: guix-git/doc/guix.texi:12683
  18223. 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."
  18224. msgstr ""
  18225. #. type: table
  18226. #: guix-git/doc/guix.texi:12686
  18227. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  18228. msgstr ""
  18229. #. type: item
  18230. #: guix-git/doc/guix.texi:12687
  18231. #, no-wrap
  18232. msgid "--workers=@var{N}"
  18233. msgstr ""
  18234. #. type: table
  18235. #: guix-git/doc/guix.texi:12690
  18236. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  18237. msgstr ""
  18238. #. type: item
  18239. #: guix-git/doc/guix.texi:12691
  18240. #, no-wrap
  18241. msgid "--ttl=@var{ttl}"
  18242. msgstr ""
  18243. #. type: table
  18244. #: guix-git/doc/guix.texi:12695
  18245. 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."
  18246. msgstr ""
  18247. #. type: table
  18248. #: guix-git/doc/guix.texi:12700
  18249. 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}."
  18250. msgstr ""
  18251. #. type: table
  18252. #: guix-git/doc/guix.texi:12704
  18253. 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."
  18254. msgstr ""
  18255. #. type: item
  18256. #: guix-git/doc/guix.texi:12705
  18257. #, no-wrap
  18258. msgid "--cache-bypass-threshold=@var{size}"
  18259. msgstr ""
  18260. #. type: table
  18261. #: guix-git/doc/guix.texi:12710
  18262. 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}."
  18263. msgstr ""
  18264. #. type: table
  18265. #: guix-git/doc/guix.texi:12715
  18266. 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."
  18267. msgstr ""
  18268. #. type: table
  18269. #: guix-git/doc/guix.texi:12719
  18270. 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."
  18271. msgstr ""
  18272. #. type: item
  18273. #: guix-git/doc/guix.texi:12720
  18274. #, no-wrap
  18275. msgid "--nar-path=@var{path}"
  18276. msgstr ""
  18277. #. type: table
  18278. #: guix-git/doc/guix.texi:12723
  18279. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  18280. msgstr ""
  18281. #. type: table
  18282. #: guix-git/doc/guix.texi:12727
  18283. 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}."
  18284. msgstr ""
  18285. #. type: item
  18286. #: guix-git/doc/guix.texi:12728
  18287. #, no-wrap
  18288. msgid "--public-key=@var{file}"
  18289. msgstr ""
  18290. #. type: itemx
  18291. #: guix-git/doc/guix.texi:12729
  18292. #, no-wrap
  18293. msgid "--private-key=@var{file}"
  18294. msgstr ""
  18295. #. type: table
  18296. #: guix-git/doc/guix.texi:12732 guix-git/doc/guix.texi:27359
  18297. #: guix-git/doc/guix.texi:27393
  18298. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  18299. msgstr ""
  18300. #. type: table
  18301. #: guix-git/doc/guix.texi:12739
  18302. 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."
  18303. msgstr ""
  18304. #. type: item
  18305. #: guix-git/doc/guix.texi:12740
  18306. #, no-wrap
  18307. msgid "--repl[=@var{port}]"
  18308. msgstr ""
  18309. #. type: itemx
  18310. #: guix-git/doc/guix.texi:12741
  18311. #, no-wrap
  18312. msgid "-r [@var{port}]"
  18313. msgstr ""
  18314. #. type: table
  18315. #: guix-git/doc/guix.texi:12745
  18316. 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."
  18317. msgstr ""
  18318. #. type: Plain text
  18319. #: guix-git/doc/guix.texi:12751
  18320. 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}})."
  18321. msgstr ""
  18322. #. type: Plain text
  18323. #: guix-git/doc/guix.texi:12754
  18324. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  18325. msgstr ""
  18326. #. type: itemize
  18327. #: guix-git/doc/guix.texi:12758
  18328. msgid "If your host distro uses the systemd init system:"
  18329. msgstr ""
  18330. #. type: example
  18331. #: guix-git/doc/guix.texi:12763
  18332. #, no-wrap
  18333. msgid ""
  18334. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  18335. " /etc/systemd/system/\n"
  18336. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  18337. msgstr ""
  18338. #. type: example
  18339. #: guix-git/doc/guix.texi:12771
  18340. #, no-wrap
  18341. msgid ""
  18342. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  18343. "# start guix-publish\n"
  18344. msgstr ""
  18345. #. type: itemize
  18346. #: guix-git/doc/guix.texi:12775
  18347. msgid "Otherwise, proceed similarly with your distro's init system."
  18348. msgstr ""
  18349. #. type: section
  18350. #: guix-git/doc/guix.texi:12778
  18351. #, no-wrap
  18352. msgid "Invoking @command{guix challenge}"
  18353. msgstr ""
  18354. #. type: cindex
  18355. #: guix-git/doc/guix.texi:12781
  18356. #, no-wrap
  18357. msgid "verifiable builds"
  18358. msgstr ""
  18359. #. type: command{#1}
  18360. #: guix-git/doc/guix.texi:12782
  18361. #, no-wrap
  18362. msgid "guix challenge"
  18363. msgstr ""
  18364. #. type: cindex
  18365. #: guix-git/doc/guix.texi:12783
  18366. #, no-wrap
  18367. msgid "challenge"
  18368. msgstr ""
  18369. #. type: Plain text
  18370. #: guix-git/doc/guix.texi:12788
  18371. 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."
  18372. msgstr ""
  18373. #. type: Plain text
  18374. #: guix-git/doc/guix.texi:12796
  18375. 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."
  18376. msgstr ""
  18377. #. type: Plain text
  18378. #: guix-git/doc/guix.texi:12805
  18379. 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."
  18380. msgstr ""
  18381. #. type: Plain text
  18382. #: guix-git/doc/guix.texi:12807
  18383. msgid "The command output looks like this:"
  18384. msgstr ""
  18385. #. type: smallexample
  18386. #: guix-git/doc/guix.texi:12819
  18387. #, no-wrap
  18388. msgid ""
  18389. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER} https://guix.example.org\"\n"
  18390. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER}'... 100.0%\n"
  18391. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  18392. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  18393. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  18394. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  18395. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  18396. " differing files:\n"
  18397. " /lib/libcrypto.so.1.1\n"
  18398. " /lib/libssl.so.1.1\n"
  18399. "\n"
  18400. msgstr ""
  18401. #. type: smallexample
  18402. #: guix-git/doc/guix.texi:12826
  18403. #, no-wrap
  18404. msgid ""
  18405. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  18406. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  18407. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  18408. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  18409. " differing file:\n"
  18410. " /libexec/git-core/git-fsck\n"
  18411. "\n"
  18412. msgstr ""
  18413. #. type: smallexample
  18414. #: guix-git/doc/guix.texi:12833
  18415. #, no-wrap
  18416. msgid ""
  18417. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  18418. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  18419. " https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  18420. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  18421. " differing file:\n"
  18422. " /share/man/man1/pius.1.gz\n"
  18423. "\n"
  18424. msgstr ""
  18425. #. type: smallexample
  18426. #: guix-git/doc/guix.texi:12835
  18427. #, no-wrap
  18428. msgid ""
  18429. "@dots{}\n"
  18430. "\n"
  18431. msgstr ""
  18432. #. type: smallexample
  18433. #: guix-git/doc/guix.texi:12840
  18434. #, no-wrap
  18435. msgid ""
  18436. "6,406 store items were analyzed:\n"
  18437. " - 4,749 (74.1%) were identical\n"
  18438. " - 525 (8.2%) differed\n"
  18439. " - 1,132 (17.7%) were inconclusive\n"
  18440. msgstr ""
  18441. #. type: Plain text
  18442. #: guix-git/doc/guix.texi:12848
  18443. 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."
  18444. msgstr ""
  18445. #. type: cindex
  18446. #: guix-git/doc/guix.texi:12849
  18447. #, no-wrap
  18448. msgid "non-determinism, in package builds"
  18449. msgstr ""
  18450. #. type: Plain text
  18451. #: guix-git/doc/guix.texi:12860
  18452. msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{@value{SUBSTITUTE-SERVER}} 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."
  18453. msgstr ""
  18454. #. type: Plain text
  18455. #: guix-git/doc/guix.texi:12863
  18456. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  18457. msgstr ""
  18458. #. type: example
  18459. #: guix-git/doc/guix.texi:12868
  18460. #, no-wrap
  18461. msgid ""
  18462. "guix challenge git \\\n"
  18463. " --diff=diffoscope \\\n"
  18464. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER} https://guix.example.org\"\n"
  18465. msgstr ""
  18466. #. type: Plain text
  18467. #: guix-git/doc/guix.texi:12872
  18468. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  18469. msgstr ""
  18470. #. type: Plain text
  18471. #: guix-git/doc/guix.texi:12875
  18472. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  18473. msgstr ""
  18474. #. type: example
  18475. #: guix-git/doc/guix.texi:12880
  18476. #, no-wrap
  18477. msgid ""
  18478. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  18479. " | lzip -d | guix archive -x /tmp/git\n"
  18480. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  18481. msgstr ""
  18482. #. type: Plain text
  18483. #: guix-git/doc/guix.texi:12889
  18484. 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}} (@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."
  18485. msgstr ""
  18486. #. type: Plain text
  18487. #: guix-git/doc/guix.texi:12897
  18488. 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."
  18489. msgstr ""
  18490. #. type: Plain text
  18491. #: guix-git/doc/guix.texi:12901
  18492. msgid "If you are writing packages for Guix, you are encouraged to check whether @code{@value{SUBSTITUTE-SERVER}} and other substitute servers obtain the same build result as you did with:"
  18493. msgstr ""
  18494. #. type: example
  18495. #: guix-git/doc/guix.texi:12904
  18496. #, no-wrap
  18497. msgid "$ guix challenge @var{package}\n"
  18498. msgstr ""
  18499. #. type: Plain text
  18500. #: guix-git/doc/guix.texi:12909
  18501. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  18502. msgstr ""
  18503. #. type: example
  18504. #: guix-git/doc/guix.texi:12914
  18505. #, no-wrap
  18506. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  18507. msgstr ""
  18508. #. type: Plain text
  18509. #: guix-git/doc/guix.texi:12921
  18510. 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)."
  18511. msgstr ""
  18512. #. type: Plain text
  18513. #: guix-git/doc/guix.texi:12923
  18514. msgid "The one option that matters is:"
  18515. msgstr ""
  18516. #. type: table
  18517. #: guix-git/doc/guix.texi:12929
  18518. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  18519. msgstr ""
  18520. #. type: item
  18521. #: guix-git/doc/guix.texi:12930
  18522. #, no-wrap
  18523. msgid "--diff=@var{mode}"
  18524. msgstr ""
  18525. #. type: table
  18526. #: guix-git/doc/guix.texi:12932
  18527. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  18528. msgstr ""
  18529. #. type: item
  18530. #: guix-git/doc/guix.texi:12934
  18531. #, no-wrap
  18532. msgid "@code{simple} (the default)"
  18533. msgstr ""
  18534. #. type: table
  18535. #: guix-git/doc/guix.texi:12936
  18536. msgid "Show the list of files that differ."
  18537. msgstr ""
  18538. #. type: code{#1}
  18539. #: guix-git/doc/guix.texi:12937
  18540. #, no-wrap
  18541. msgid "diffoscope"
  18542. msgstr ""
  18543. #. type: var{#1}
  18544. #: guix-git/doc/guix.texi:12938
  18545. #, no-wrap
  18546. msgid "command"
  18547. msgstr ""
  18548. #. type: table
  18549. #: guix-git/doc/guix.texi:12941
  18550. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  18551. msgstr ""
  18552. #. type: table
  18553. #: guix-git/doc/guix.texi:12944
  18554. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  18555. msgstr ""
  18556. #. type: item
  18557. #: guix-git/doc/guix.texi:12945 guix-git/doc/guix.texi:16257
  18558. #: guix-git/doc/guix.texi:18246
  18559. #, no-wrap
  18560. msgid "none"
  18561. msgstr ""
  18562. #. type: table
  18563. #: guix-git/doc/guix.texi:12947
  18564. msgid "Do not show further details about the differences."
  18565. msgstr ""
  18566. #. type: table
  18567. #: guix-git/doc/guix.texi:12952
  18568. 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."
  18569. msgstr ""
  18570. #. type: item
  18571. #: guix-git/doc/guix.texi:12953
  18572. #, no-wrap
  18573. msgid "--verbose"
  18574. msgstr ""
  18575. #. type: itemx
  18576. #: guix-git/doc/guix.texi:12954
  18577. #, no-wrap
  18578. msgid "-v"
  18579. msgstr ""
  18580. #. type: table
  18581. #: guix-git/doc/guix.texi:12957
  18582. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  18583. msgstr ""
  18584. #. type: section
  18585. #: guix-git/doc/guix.texi:12961
  18586. #, no-wrap
  18587. msgid "Invoking @command{guix copy}"
  18588. msgstr ""
  18589. #. type: cindex
  18590. #: guix-git/doc/guix.texi:12963
  18591. #, no-wrap
  18592. msgid "copy, of store items, over SSH"
  18593. msgstr ""
  18594. #. type: cindex
  18595. #: guix-git/doc/guix.texi:12964
  18596. #, no-wrap
  18597. msgid "SSH, copy of store items"
  18598. msgstr ""
  18599. #. type: cindex
  18600. #: guix-git/doc/guix.texi:12965
  18601. #, no-wrap
  18602. msgid "sharing store items across machines"
  18603. msgstr ""
  18604. #. type: cindex
  18605. #: guix-git/doc/guix.texi:12966
  18606. #, no-wrap
  18607. msgid "transferring store items across machines"
  18608. msgstr ""
  18609. #. type: Plain text
  18610. #: guix-git/doc/guix.texi:12973
  18611. 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}:"
  18612. msgstr ""
  18613. #. type: example
  18614. #: guix-git/doc/guix.texi:12977
  18615. #, no-wrap
  18616. msgid ""
  18617. "guix copy --to=@var{user}@@@var{host} \\\n"
  18618. " coreutils $(readlink -f ~/.guix-profile)\n"
  18619. msgstr ""
  18620. #. type: Plain text
  18621. #: guix-git/doc/guix.texi:12981
  18622. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  18623. msgstr ""
  18624. #. type: Plain text
  18625. #: guix-git/doc/guix.texi:12984
  18626. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  18627. msgstr ""
  18628. #. type: example
  18629. #: guix-git/doc/guix.texi:12987
  18630. #, no-wrap
  18631. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  18632. msgstr ""
  18633. #. type: Plain text
  18634. #: guix-git/doc/guix.texi:12992
  18635. 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."
  18636. msgstr ""
  18637. #. type: Plain text
  18638. #: guix-git/doc/guix.texi:12998
  18639. 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."
  18640. msgstr ""
  18641. #. type: example
  18642. #: guix-git/doc/guix.texi:13003
  18643. #, no-wrap
  18644. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  18645. msgstr ""
  18646. #. type: Plain text
  18647. #: guix-git/doc/guix.texi:13006
  18648. msgid "You must always specify one of the following options:"
  18649. msgstr ""
  18650. #. type: item
  18651. #: guix-git/doc/guix.texi:13008
  18652. #, no-wrap
  18653. msgid "--to=@var{spec}"
  18654. msgstr ""
  18655. #. type: itemx
  18656. #: guix-git/doc/guix.texi:13009
  18657. #, no-wrap
  18658. msgid "--from=@var{spec}"
  18659. msgstr ""
  18660. #. type: table
  18661. #: guix-git/doc/guix.texi:13013
  18662. 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}."
  18663. msgstr ""
  18664. #. type: Plain text
  18665. #: guix-git/doc/guix.texi:13017
  18666. 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}."
  18667. msgstr ""
  18668. #. type: Plain text
  18669. #: guix-git/doc/guix.texi:13021
  18670. 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})."
  18671. msgstr ""
  18672. #. type: section
  18673. #: guix-git/doc/guix.texi:13024
  18674. #, no-wrap
  18675. msgid "Invoking @command{guix container}"
  18676. msgstr ""
  18677. #. type: command{#1}
  18678. #: guix-git/doc/guix.texi:13026
  18679. #, no-wrap
  18680. msgid "guix container"
  18681. msgstr ""
  18682. #. type: quotation
  18683. #: guix-git/doc/guix.texi:13030
  18684. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  18685. msgstr ""
  18686. #. type: Plain text
  18687. #: guix-git/doc/guix.texi:13037
  18688. msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix environment} (@pxref{Invoking guix environment}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  18689. msgstr ""
  18690. #. type: example
  18691. #: guix-git/doc/guix.texi:13042
  18692. #, no-wrap
  18693. msgid "guix container @var{action} @var{options}@dots{}\n"
  18694. msgstr ""
  18695. #. type: Plain text
  18696. #: guix-git/doc/guix.texi:13046
  18697. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  18698. msgstr ""
  18699. #. type: Plain text
  18700. #: guix-git/doc/guix.texi:13048
  18701. msgid "The following actions are available:"
  18702. msgstr ""
  18703. #. type: item
  18704. #: guix-git/doc/guix.texi:13050
  18705. #, no-wrap
  18706. msgid "exec"
  18707. msgstr ""
  18708. #. type: table
  18709. #: guix-git/doc/guix.texi:13052
  18710. msgid "Execute a command within the context of a running container."
  18711. msgstr ""
  18712. #. type: table
  18713. #: guix-git/doc/guix.texi:13054
  18714. msgid "The syntax is:"
  18715. msgstr ""
  18716. #. type: example
  18717. #: guix-git/doc/guix.texi:13057
  18718. #, no-wrap
  18719. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  18720. msgstr ""
  18721. #. type: table
  18722. #: guix-git/doc/guix.texi:13063
  18723. 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}."
  18724. msgstr ""
  18725. #. type: table
  18726. #: guix-git/doc/guix.texi:13067
  18727. 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:"
  18728. msgstr ""
  18729. #. type: example
  18730. #: guix-git/doc/guix.texi:13070
  18731. #, no-wrap
  18732. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  18733. msgstr ""
  18734. #. type: table
  18735. #: guix-git/doc/guix.texi:13074
  18736. 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."
  18737. msgstr ""
  18738. #. type: section
  18739. #: guix-git/doc/guix.texi:13078
  18740. #, no-wrap
  18741. msgid "Invoking @command{guix weather}"
  18742. msgstr ""
  18743. #. type: Plain text
  18744. #: guix-git/doc/guix.texi:13087
  18745. 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})."
  18746. msgstr ""
  18747. #. type: cindex
  18748. #: guix-git/doc/guix.texi:13088
  18749. #, no-wrap
  18750. msgid "statistics, for substitutes"
  18751. msgstr ""
  18752. #. type: cindex
  18753. #: guix-git/doc/guix.texi:13089
  18754. #, no-wrap
  18755. msgid "availability of substitutes"
  18756. msgstr ""
  18757. #. type: cindex
  18758. #: guix-git/doc/guix.texi:13090
  18759. #, no-wrap
  18760. msgid "substitute availability"
  18761. msgstr ""
  18762. #. type: cindex
  18763. #: guix-git/doc/guix.texi:13091
  18764. #, no-wrap
  18765. msgid "weather, substitute availability"
  18766. msgstr ""
  18767. #. type: Plain text
  18768. #: guix-git/doc/guix.texi:13093
  18769. msgid "Here's a sample run:"
  18770. msgstr ""
  18771. #. type: example
  18772. #: guix-git/doc/guix.texi:13105
  18773. #, no-wrap
  18774. msgid ""
  18775. "$ guix weather --substitute-urls=https://guix.example.org\n"
  18776. "computing 5,872 package derivations for x86_64-linux...\n"
  18777. "looking for 6,128 store items on https://guix.example.org..\n"
  18778. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  18779. "https://guix.example.org\n"
  18780. " 43.4% substitutes available (2,658 out of 6,128)\n"
  18781. " 7,032.5 MiB of nars (compressed)\n"
  18782. " 19,824.2 MiB on disk (uncompressed)\n"
  18783. " 0.030 seconds per request (182.9 seconds in total)\n"
  18784. " 33.5 requests per second\n"
  18785. "\n"
  18786. msgstr ""
  18787. #. type: example
  18788. #: guix-git/doc/guix.texi:13115
  18789. #, no-wrap
  18790. msgid ""
  18791. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  18792. " 867 queued builds\n"
  18793. " x86_64-linux: 518 (59.7%)\n"
  18794. " i686-linux: 221 (25.5%)\n"
  18795. " aarch64-linux: 128 (14.8%)\n"
  18796. " build rate: 23.41 builds per hour\n"
  18797. " x86_64-linux: 11.16 builds per hour\n"
  18798. " i686-linux: 6.03 builds per hour\n"
  18799. " aarch64-linux: 6.41 builds per hour\n"
  18800. msgstr ""
  18801. #. type: cindex
  18802. #: guix-git/doc/guix.texi:13117
  18803. #, no-wrap
  18804. msgid "continuous integration, statistics"
  18805. msgstr ""
  18806. #. type: Plain text
  18807. #: guix-git/doc/guix.texi:13128
  18808. 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)."
  18809. msgstr ""
  18810. #. type: Plain text
  18811. #: guix-git/doc/guix.texi:13134
  18812. 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."
  18813. msgstr ""
  18814. #. type: example
  18815. #: guix-git/doc/guix.texi:13139
  18816. #, no-wrap
  18817. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  18818. msgstr ""
  18819. #. type: Plain text
  18820. #: guix-git/doc/guix.texi:13147
  18821. 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%."
  18822. msgstr ""
  18823. #. type: Plain text
  18824. #: guix-git/doc/guix.texi:13149
  18825. msgid "The available options are listed below."
  18826. msgstr ""
  18827. #. type: table
  18828. #: guix-git/doc/guix.texi:13155
  18829. 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."
  18830. msgstr ""
  18831. #. type: table
  18832. #: guix-git/doc/guix.texi:13161
  18833. 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."
  18834. msgstr ""
  18835. #. type: table
  18836. #: guix-git/doc/guix.texi:13167
  18837. 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})."
  18838. msgstr ""
  18839. #. type: table
  18840. #: guix-git/doc/guix.texi:13170
  18841. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  18842. msgstr ""
  18843. #. type: item
  18844. #: guix-git/doc/guix.texi:13171
  18845. #, no-wrap
  18846. msgid "--coverage[=@var{count}]"
  18847. msgstr ""
  18848. #. type: itemx
  18849. #: guix-git/doc/guix.texi:13172
  18850. #, no-wrap
  18851. msgid "-c [@var{count}]"
  18852. msgstr ""
  18853. #. type: table
  18854. #: guix-git/doc/guix.texi:13178
  18855. 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:"
  18856. msgstr ""
  18857. #. type: example
  18858. #: guix-git/doc/guix.texi:13192
  18859. #, no-wrap
  18860. msgid ""
  18861. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URL} -c 10\n"
  18862. "computing 8,983 package derivations for x86_64-linux...\n"
  18863. "looking for 9,343 store items on @value{SUBSTITUTE-URL}...\n"
  18864. "updating substitutes from '@value{SUBSTITUTE-URL}'... 100.0%\n"
  18865. "@value{SUBSTITUTE-URL}\n"
  18866. " 64.7% substitutes available (6,047 out of 9,343)\n"
  18867. "@dots{}\n"
  18868. "2502 packages are missing from '@value{SUBSTITUTE-URL}' for 'x86_64-linux', among which:\n"
  18869. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  18870. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  18871. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  18872. " @dots{}\n"
  18873. msgstr ""
  18874. #. type: table
  18875. #: guix-git/doc/guix.texi:13198
  18876. 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}}; likewise for @code{qgpgme} and the 46 packages that depend on it."
  18877. msgstr ""
  18878. #. type: table
  18879. #: guix-git/doc/guix.texi:13202
  18880. 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."
  18881. msgstr ""
  18882. #. type: item
  18883. #: guix-git/doc/guix.texi:13203
  18884. #, no-wrap
  18885. msgid "--display-missing"
  18886. msgstr ""
  18887. #. type: table
  18888. #: guix-git/doc/guix.texi:13205
  18889. msgid "Display the list of store items for which substitutes are missing."
  18890. msgstr ""
  18891. #. type: section
  18892. #: guix-git/doc/guix.texi:13208
  18893. #, no-wrap
  18894. msgid "Invoking @command{guix processes}"
  18895. msgstr ""
  18896. #. type: Plain text
  18897. #: guix-git/doc/guix.texi:13216
  18898. 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:"
  18899. msgstr ""
  18900. #. type: example
  18901. #: guix-git/doc/guix.texi:13222
  18902. #, no-wrap
  18903. msgid ""
  18904. "$ sudo guix processes\n"
  18905. "SessionPID: 19002\n"
  18906. "ClientPID: 19090\n"
  18907. "ClientCommand: guix environment --ad-hoc python\n"
  18908. "\n"
  18909. msgstr ""
  18910. #. type: example
  18911. #: guix-git/doc/guix.texi:13226
  18912. #, no-wrap
  18913. msgid ""
  18914. "SessionPID: 19402\n"
  18915. "ClientPID: 19367\n"
  18916. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  18917. "\n"
  18918. msgstr ""
  18919. #. type: example
  18920. #: guix-git/doc/guix.texi:13239
  18921. #, no-wrap
  18922. msgid ""
  18923. "SessionPID: 19444\n"
  18924. "ClientPID: 19419\n"
  18925. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  18926. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  18927. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  18928. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  18929. "ChildPID: 20495\n"
  18930. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  18931. "ChildPID: 27733\n"
  18932. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  18933. "ChildPID: 27793\n"
  18934. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  18935. msgstr ""
  18936. #. type: Plain text
  18937. #: guix-git/doc/guix.texi:13246
  18938. 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."
  18939. msgstr ""
  18940. #. type: Plain text
  18941. #: guix-git/doc/guix.texi:13253
  18942. 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})."
  18943. msgstr ""
  18944. #. type: Plain text
  18945. #: guix-git/doc/guix.texi:13258
  18946. 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:"
  18947. msgstr ""
  18948. #. type: example
  18949. #: guix-git/doc/guix.texi:13264
  18950. #, no-wrap
  18951. msgid ""
  18952. "$ sudo guix processes | \\\n"
  18953. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  18954. "ClientPID: 19419\n"
  18955. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  18956. msgstr ""
  18957. #. type: Plain text
  18958. #: guix-git/doc/guix.texi:13267
  18959. msgid "Additional options are listed below."
  18960. msgstr ""
  18961. #. type: table
  18962. #: guix-git/doc/guix.texi:13277
  18963. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  18964. msgstr ""
  18965. #. type: item
  18966. #: guix-git/doc/guix.texi:13278
  18967. #, no-wrap
  18968. msgid "normalized"
  18969. msgstr ""
  18970. #. type: table
  18971. #: guix-git/doc/guix.texi:13285
  18972. 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}."
  18973. msgstr ""
  18974. #. type: example
  18975. #: guix-git/doc/guix.texi:13295
  18976. #, no-wrap
  18977. msgid ""
  18978. "$ guix processes --format=normalized | \\\n"
  18979. " recsel \\\n"
  18980. " -j Session \\\n"
  18981. " -t ChildProcess \\\n"
  18982. " -p Session.PID,PID \\\n"
  18983. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  18984. "PID: 4435\n"
  18985. "Session_PID: 4278\n"
  18986. "\n"
  18987. msgstr ""
  18988. #. type: example
  18989. #: guix-git/doc/guix.texi:13298
  18990. #, no-wrap
  18991. msgid ""
  18992. "PID: 4554\n"
  18993. "Session_PID: 4278\n"
  18994. "\n"
  18995. msgstr ""
  18996. #. type: example
  18997. #: guix-git/doc/guix.texi:13301
  18998. #, no-wrap
  18999. msgid ""
  19000. "PID: 4646\n"
  19001. "Session_PID: 4278\n"
  19002. msgstr ""
  19003. #. type: cindex
  19004. #: guix-git/doc/guix.texi:13308
  19005. #, no-wrap
  19006. msgid "system configuration"
  19007. msgstr ""
  19008. #. type: Plain text
  19009. #: guix-git/doc/guix.texi:13314
  19010. 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."
  19011. msgstr ""
  19012. #. type: Plain text
  19013. #: guix-git/doc/guix.texi:13324
  19014. 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."
  19015. msgstr ""
  19016. #. type: Plain text
  19017. #: guix-git/doc/guix.texi:13329
  19018. 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."
  19019. msgstr ""
  19020. #. type: Plain text
  19021. #: guix-git/doc/guix.texi:13358
  19022. 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:"
  19023. msgstr ""
  19024. #. type: code{#1}
  19025. #: guix-git/doc/guix.texi:13359 guix-git/doc/guix.texi:33410
  19026. #, no-wrap
  19027. msgid "operating-system"
  19028. msgstr ""
  19029. #. type: include
  19030. #: guix-git/doc/guix.texi:13361
  19031. #, no-wrap
  19032. msgid "os-config-bare-bones.texi"
  19033. msgstr ""
  19034. #. type: Plain text
  19035. #: guix-git/doc/guix.texi:13368
  19036. 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."
  19037. msgstr ""
  19038. #. type: Plain text
  19039. #: guix-git/doc/guix.texi:13373
  19040. 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}."
  19041. msgstr ""
  19042. #. type: unnumberedsubsec
  19043. #: guix-git/doc/guix.texi:13374
  19044. #, no-wrap
  19045. msgid "Bootloader"
  19046. msgstr ""
  19047. #. type: cindex
  19048. #: guix-git/doc/guix.texi:13376
  19049. #, no-wrap
  19050. msgid "legacy boot, on Intel machines"
  19051. msgstr ""
  19052. #. type: cindex
  19053. #: guix-git/doc/guix.texi:13377
  19054. #, no-wrap
  19055. msgid "BIOS boot, on Intel machines"
  19056. msgstr ""
  19057. #. type: cindex
  19058. #: guix-git/doc/guix.texi:13378
  19059. #, no-wrap
  19060. msgid "UEFI boot"
  19061. msgstr ""
  19062. #. type: cindex
  19063. #: guix-git/doc/guix.texi:13379
  19064. #, no-wrap
  19065. msgid "EFI boot"
  19066. msgstr ""
  19067. #. type: Plain text
  19068. #: guix-git/doc/guix.texi:13385
  19069. 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:"
  19070. msgstr ""
  19071. #. type: lisp
  19072. #: guix-git/doc/guix.texi:13390
  19073. #, no-wrap
  19074. msgid ""
  19075. "(bootloader-configuration\n"
  19076. " (bootloader grub-efi-bootloader)\n"
  19077. " (target \"/boot/efi\"))\n"
  19078. msgstr ""
  19079. #. type: Plain text
  19080. #: guix-git/doc/guix.texi:13394
  19081. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19082. msgstr ""
  19083. #. type: unnumberedsubsec
  19084. #: guix-git/doc/guix.texi:13395
  19085. #, no-wrap
  19086. msgid "Globally-Visible Packages"
  19087. msgstr ""
  19088. #. type: vindex
  19089. #: guix-git/doc/guix.texi:13397
  19090. #, no-wrap
  19091. msgid "%base-packages"
  19092. msgstr ""
  19093. #. type: Plain text
  19094. #: guix-git/doc/guix.texi:13410
  19095. 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 GNU Zile 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:"
  19096. msgstr ""
  19097. #. type: lisp
  19098. #: guix-git/doc/guix.texi:13414
  19099. #, no-wrap
  19100. msgid ""
  19101. "(use-modules (gnu packages))\n"
  19102. "(use-modules (gnu packages dns))\n"
  19103. "\n"
  19104. msgstr ""
  19105. #. type: lisp
  19106. #: guix-git/doc/guix.texi:13419
  19107. #, no-wrap
  19108. msgid ""
  19109. "(operating-system\n"
  19110. " ;; ...\n"
  19111. " (packages (cons (list bind \"utils\")\n"
  19112. " %base-packages)))\n"
  19113. msgstr ""
  19114. #. type: findex
  19115. #: guix-git/doc/guix.texi:13421
  19116. #, no-wrap
  19117. msgid "specification->package"
  19118. msgstr ""
  19119. #. type: Plain text
  19120. #: guix-git/doc/guix.texi:13430
  19121. msgid "Referring to packages by variable name, like @code{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:"
  19122. msgstr ""
  19123. #. type: lisp
  19124. #: guix-git/doc/guix.texi:13433
  19125. #, no-wrap
  19126. msgid ""
  19127. "(use-modules (gnu packages))\n"
  19128. "\n"
  19129. msgstr ""
  19130. #. type: lisp
  19131. #: guix-git/doc/guix.texi:13439
  19132. #, no-wrap
  19133. msgid ""
  19134. "(operating-system\n"
  19135. " ;; ...\n"
  19136. " (packages (append (map specification->package\n"
  19137. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19138. " %base-packages)))\n"
  19139. msgstr ""
  19140. #. type: unnumberedsubsec
  19141. #: guix-git/doc/guix.texi:13441
  19142. #, no-wrap
  19143. msgid "System Services"
  19144. msgstr ""
  19145. #. type: cindex
  19146. #: guix-git/doc/guix.texi:13443 guix-git/doc/guix.texi:32193
  19147. #: guix-git/doc/guix.texi:33635
  19148. #, no-wrap
  19149. msgid "services"
  19150. msgstr ""
  19151. #. type: vindex
  19152. #: guix-git/doc/guix.texi:13444
  19153. #, no-wrap
  19154. msgid "%base-services"
  19155. msgstr ""
  19156. #. type: Plain text
  19157. #: guix-git/doc/guix.texi:13454
  19158. 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})."
  19159. msgstr ""
  19160. #. type: cindex
  19161. #: guix-git/doc/guix.texi:13455
  19162. #, no-wrap
  19163. msgid "customization, of services"
  19164. msgstr ""
  19165. #. type: findex
  19166. #: guix-git/doc/guix.texi:13456
  19167. #, no-wrap
  19168. msgid "modify-services"
  19169. msgstr ""
  19170. #. type: Plain text
  19171. #: guix-git/doc/guix.texi:13460
  19172. 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."
  19173. msgstr ""
  19174. #. type: Plain text
  19175. #: guix-git/doc/guix.texi:13465
  19176. 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:"
  19177. msgstr ""
  19178. #. type: lisp
  19179. #: guix-git/doc/guix.texi:13482
  19180. #, no-wrap
  19181. msgid ""
  19182. "(define %my-services\n"
  19183. " ;; My very own list of services.\n"
  19184. " (modify-services %base-services\n"
  19185. " (guix-service-type config =>\n"
  19186. " (guix-configuration\n"
  19187. " (inherit config)\n"
  19188. " ;; Fetch substitutes from example.org.\n"
  19189. " (substitute-urls\n"
  19190. " (list \"https://example.org/guix\"\n"
  19191. " \"https://ci.guix.gnu.org\"))))\n"
  19192. " (mingetty-service-type config =>\n"
  19193. " (mingetty-configuration\n"
  19194. " (inherit config)\n"
  19195. " ;; Automatially log in as \"guest\".\n"
  19196. " (auto-login \"guest\")))))\n"
  19197. "\n"
  19198. msgstr ""
  19199. #. type: lisp
  19200. #: guix-git/doc/guix.texi:13486
  19201. #, no-wrap
  19202. msgid ""
  19203. "(operating-system\n"
  19204. " ;; @dots{}\n"
  19205. " (services %my-services))\n"
  19206. msgstr ""
  19207. #. type: Plain text
  19208. #: guix-git/doc/guix.texi:13497
  19209. 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. 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."
  19210. msgstr ""
  19211. #. type: Plain text
  19212. #: guix-git/doc/guix.texi:13504
  19213. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:"
  19214. msgstr ""
  19215. #. type: include
  19216. #: guix-git/doc/guix.texi:13506
  19217. #, no-wrap
  19218. msgid "os-config-desktop.texi"
  19219. msgstr ""
  19220. #. type: Plain text
  19221. #: guix-git/doc/guix.texi:13511
  19222. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  19223. msgstr ""
  19224. #. type: include
  19225. #: guix-git/doc/guix.texi:13513
  19226. #, no-wrap
  19227. msgid "os-config-lightweight-desktop.texi"
  19228. msgstr ""
  19229. #. type: Plain text
  19230. #: guix-git/doc/guix.texi:13519
  19231. 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."
  19232. msgstr ""
  19233. #. type: Plain text
  19234. #: guix-git/doc/guix.texi:13523
  19235. 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."
  19236. msgstr ""
  19237. #. type: Plain text
  19238. #: guix-git/doc/guix.texi:13530
  19239. 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:"
  19240. msgstr ""
  19241. #. type: lisp
  19242. #: guix-git/doc/guix.texi:13535
  19243. #, no-wrap
  19244. msgid ""
  19245. "(remove (lambda (service)\n"
  19246. " (eq? (service-kind service) avahi-service-type))\n"
  19247. " %desktop-services)\n"
  19248. msgstr ""
  19249. #. type: Plain text
  19250. #: guix-git/doc/guix.texi:13538
  19251. msgid "Alternatively, the @code{modify-services} macro can be used:"
  19252. msgstr ""
  19253. #. type: lisp
  19254. #: guix-git/doc/guix.texi:13542
  19255. #, no-wrap
  19256. msgid ""
  19257. "(modify-services %desktop-services\n"
  19258. " (delete avahi-service-type))\n"
  19259. msgstr ""
  19260. #. type: unnumberedsubsec
  19261. #: guix-git/doc/guix.texi:13545
  19262. #, no-wrap
  19263. msgid "Instantiating the System"
  19264. msgstr ""
  19265. #. type: Plain text
  19266. #: guix-git/doc/guix.texi:13552
  19267. 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})."
  19268. msgstr ""
  19269. #. type: Plain text
  19270. #: guix-git/doc/guix.texi:13560
  19271. 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."
  19272. msgstr ""
  19273. #. type: cindex
  19274. #: guix-git/doc/guix.texi:13561
  19275. #, no-wrap
  19276. msgid "roll-back, of the operating system"
  19277. msgstr ""
  19278. #. type: Plain text
  19279. #: guix-git/doc/guix.texi:13571
  19280. 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}."
  19281. msgstr ""
  19282. #. type: Plain text
  19283. #: guix-git/doc/guix.texi:13577
  19284. 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})."
  19285. msgstr ""
  19286. #. type: unnumberedsubsec
  19287. #: guix-git/doc/guix.texi:13578
  19288. #, no-wrap
  19289. msgid "The Programming Interface"
  19290. msgstr ""
  19291. #. type: Plain text
  19292. #: guix-git/doc/guix.texi:13583
  19293. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  19294. msgstr ""
  19295. #. type: deffn
  19296. #: guix-git/doc/guix.texi:13584
  19297. #, no-wrap
  19298. msgid "{Monadic Procedure} operating-system-derivation os"
  19299. msgstr ""
  19300. #. type: deffn
  19301. #: guix-git/doc/guix.texi:13587
  19302. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  19303. msgstr ""
  19304. #. type: deffn
  19305. #: guix-git/doc/guix.texi:13591
  19306. 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}."
  19307. msgstr ""
  19308. #. type: Plain text
  19309. #: guix-git/doc/guix.texi:13596
  19310. 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!"
  19311. msgstr ""
  19312. #. type: section
  19313. #: guix-git/doc/guix.texi:13599
  19314. #, no-wrap
  19315. msgid "@code{operating-system} Reference"
  19316. msgstr ""
  19317. #. type: Plain text
  19318. #: guix-git/doc/guix.texi:13604
  19319. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  19320. msgstr ""
  19321. #. type: deftp
  19322. #: guix-git/doc/guix.texi:13605
  19323. #, no-wrap
  19324. msgid "{Data Type} operating-system"
  19325. msgstr ""
  19326. #. type: deftp
  19327. #: guix-git/doc/guix.texi:13609
  19328. 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})."
  19329. msgstr ""
  19330. #. type: item
  19331. #: guix-git/doc/guix.texi:13611
  19332. #, no-wrap
  19333. msgid "@code{kernel} (default: @code{linux-libre})"
  19334. msgstr ""
  19335. #. type: table
  19336. #: guix-git/doc/guix.texi:13616
  19337. 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.}."
  19338. msgstr ""
  19339. #. type: code{#1}
  19340. #: guix-git/doc/guix.texi:13617 guix-git/doc/guix.texi:28901
  19341. #, no-wrap
  19342. msgid "hurd"
  19343. msgstr ""
  19344. #. type: item
  19345. #: guix-git/doc/guix.texi:13618
  19346. #, no-wrap
  19347. msgid "@code{hurd} (default: @code{#f})"
  19348. msgstr ""
  19349. #. type: table
  19350. #: guix-git/doc/guix.texi:13623
  19351. 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."
  19352. msgstr ""
  19353. #. type: quotation
  19354. #: guix-git/doc/guix.texi:13626
  19355. msgid "This feature is experimental and only supported for disk images."
  19356. msgstr ""
  19357. #. type: item
  19358. #: guix-git/doc/guix.texi:13628
  19359. #, no-wrap
  19360. msgid "@code{kernel-loadable-modules} (default: '())"
  19361. msgstr ""
  19362. #. type: table
  19363. #: guix-git/doc/guix.texi:13631
  19364. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  19365. msgstr ""
  19366. #. type: item
  19367. #: guix-git/doc/guix.texi:13632
  19368. #, no-wrap
  19369. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  19370. msgstr ""
  19371. #. type: table
  19372. #: guix-git/doc/guix.texi:13635
  19373. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  19374. msgstr ""
  19375. #. type: code{#1}
  19376. #: guix-git/doc/guix.texi:13636 guix-git/doc/guix.texi:32406
  19377. #: guix-git/doc/guix.texi:32425
  19378. #, no-wrap
  19379. msgid "bootloader"
  19380. msgstr ""
  19381. #. type: table
  19382. #: guix-git/doc/guix.texi:13638
  19383. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  19384. msgstr ""
  19385. #. type: code{#1}
  19386. #: guix-git/doc/guix.texi:13639 guix-git/doc/guix.texi:32595
  19387. #, no-wrap
  19388. msgid "label"
  19389. msgstr ""
  19390. #. type: table
  19391. #: guix-git/doc/guix.texi:13642
  19392. 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."
  19393. msgstr ""
  19394. #. type: item
  19395. #: guix-git/doc/guix.texi:13643 guix-git/doc/guix.texi:18070
  19396. #: guix-git/doc/guix.texi:32525
  19397. #, no-wrap
  19398. msgid "@code{keyboard-layout} (default: @code{#f})"
  19399. msgstr ""
  19400. #. type: table
  19401. #: guix-git/doc/guix.texi:13648
  19402. 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."
  19403. msgstr ""
  19404. #. type: table
  19405. #: guix-git/doc/guix.texi:13653
  19406. 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})."
  19407. msgstr ""
  19408. #. type: quotation
  19409. #: guix-git/doc/guix.texi:13660
  19410. 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."
  19411. msgstr ""
  19412. #. type: item
  19413. #: guix-git/doc/guix.texi:13662
  19414. #, no-wrap
  19415. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  19416. msgstr ""
  19417. #. type: cindex
  19418. #: guix-git/doc/guix.texi:13663 guix-git/doc/guix.texi:32230
  19419. #: guix-git/doc/guix.texi:32334
  19420. #, no-wrap
  19421. msgid "initrd"
  19422. msgstr ""
  19423. #. type: cindex
  19424. #: guix-git/doc/guix.texi:13664 guix-git/doc/guix.texi:32231
  19425. #: guix-git/doc/guix.texi:32335
  19426. #, no-wrap
  19427. msgid "initial RAM disk"
  19428. msgstr ""
  19429. #. type: table
  19430. #: guix-git/doc/guix.texi:13667
  19431. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  19432. msgstr ""
  19433. #. type: item
  19434. #: guix-git/doc/guix.texi:13668
  19435. #, no-wrap
  19436. msgid "@code{initrd} (default: @code{base-initrd})"
  19437. msgstr ""
  19438. #. type: table
  19439. #: guix-git/doc/guix.texi:13672
  19440. 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}."
  19441. msgstr ""
  19442. #. type: item
  19443. #: guix-git/doc/guix.texi:13673
  19444. #, no-wrap
  19445. msgid "@code{firmware} (default: @code{%base-firmware})"
  19446. msgstr ""
  19447. #. type: cindex
  19448. #: guix-git/doc/guix.texi:13674
  19449. #, no-wrap
  19450. msgid "firmware"
  19451. msgstr ""
  19452. #. type: table
  19453. #: guix-git/doc/guix.texi:13676
  19454. msgid "List of firmware packages loadable by the operating system kernel."
  19455. msgstr ""
  19456. #. type: table
  19457. #: guix-git/doc/guix.texi:13681
  19458. 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."
  19459. msgstr ""
  19460. #. type: code{#1}
  19461. #: guix-git/doc/guix.texi:13682 guix-git/doc/guix.texi:33429
  19462. #, no-wrap
  19463. msgid "host-name"
  19464. msgstr ""
  19465. #. type: table
  19466. #: guix-git/doc/guix.texi:13684
  19467. msgid "The host name."
  19468. msgstr ""
  19469. #. type: code{#1}
  19470. #: guix-git/doc/guix.texi:13685
  19471. #, no-wrap
  19472. msgid "hosts-file"
  19473. msgstr ""
  19474. #. type: cindex
  19475. #: guix-git/doc/guix.texi:13686
  19476. #, no-wrap
  19477. msgid "hosts file"
  19478. msgstr ""
  19479. #. type: table
  19480. #: guix-git/doc/guix.texi:13691
  19481. 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}."
  19482. msgstr ""
  19483. #. type: item
  19484. #: guix-git/doc/guix.texi:13692
  19485. #, no-wrap
  19486. msgid "@code{mapped-devices} (default: @code{'()})"
  19487. msgstr ""
  19488. #. type: table
  19489. #: guix-git/doc/guix.texi:13694
  19490. msgid "A list of mapped devices. @xref{Mapped Devices}."
  19491. msgstr ""
  19492. #. type: code{#1}
  19493. #: guix-git/doc/guix.texi:13695
  19494. #, no-wrap
  19495. msgid "file-systems"
  19496. msgstr ""
  19497. #. type: table
  19498. #: guix-git/doc/guix.texi:13697
  19499. msgid "A list of file systems. @xref{File Systems}."
  19500. msgstr ""
  19501. #. type: cindex
  19502. #: guix-git/doc/guix.texi:13698
  19503. #, no-wrap
  19504. msgid "swap devices"
  19505. msgstr ""
  19506. #. type: cindex
  19507. #: guix-git/doc/guix.texi:13699
  19508. #, no-wrap
  19509. msgid "swap space"
  19510. msgstr ""
  19511. #. type: item
  19512. #: guix-git/doc/guix.texi:13700
  19513. #, no-wrap
  19514. msgid "@code{swap-devices} (default: @code{'()})"
  19515. msgstr ""
  19516. #. type: table
  19517. #: guix-git/doc/guix.texi:13705
  19518. msgid "A list of UUIDs, file system labels, or strings identifying devices or files to be used for ``swap space'' (@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). Here are some examples:"
  19519. msgstr ""
  19520. #. type: item
  19521. #: guix-git/doc/guix.texi:13707
  19522. #, no-wrap
  19523. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  19524. msgstr ""
  19525. #. type: table
  19526. #: guix-git/doc/guix.texi:13711
  19527. 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."
  19528. msgstr ""
  19529. #. type: item
  19530. #: guix-git/doc/guix.texi:13712
  19531. #, no-wrap
  19532. msgid "(list (file-system-label \"swap\"))"
  19533. msgstr ""
  19534. #. type: table
  19535. #: guix-git/doc/guix.texi:13716
  19536. msgid "Use the partition with label @code{swap}. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  19537. msgstr ""
  19538. #. type: item
  19539. #: guix-git/doc/guix.texi:13717
  19540. #, no-wrap
  19541. msgid "(list \"/swapfile\")"
  19542. msgstr ""
  19543. #. type: table
  19544. #: guix-git/doc/guix.texi:13719
  19545. msgid "Use the file @file{/swapfile} as swap space."
  19546. msgstr ""
  19547. #. type: item
  19548. #: guix-git/doc/guix.texi:13720
  19549. #, no-wrap
  19550. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  19551. msgstr ""
  19552. #. type: table
  19553. #: guix-git/doc/guix.texi:13724
  19554. msgid "Use the @file{/dev/sda3} and @file{/dev/sdb2} partitions as swap space. We recommend referring to swap devices by UUIDs or labels as shown above instead."
  19555. msgstr ""
  19556. #. type: table
  19557. #: guix-git/doc/guix.texi:13730
  19558. msgid "It is possible to specify a swap file in a file system on a mapped device (under @file{/dev/mapper}), provided that the necessary device mapping and file system are also specified. @xref{Mapped Devices} and @ref{File Systems}."
  19559. msgstr ""
  19560. #. type: item
  19561. #: guix-git/doc/guix.texi:13731
  19562. #, no-wrap
  19563. msgid "@code{users} (default: @code{%base-user-accounts})"
  19564. msgstr ""
  19565. #. type: itemx
  19566. #: guix-git/doc/guix.texi:13732
  19567. #, no-wrap
  19568. msgid "@code{groups} (default: @code{%base-groups})"
  19569. msgstr ""
  19570. #. type: table
  19571. #: guix-git/doc/guix.texi:13734
  19572. msgid "List of user accounts and groups. @xref{User Accounts}."
  19573. msgstr ""
  19574. #. type: table
  19575. #: guix-git/doc/guix.texi:13737
  19576. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  19577. msgstr ""
  19578. #. type: item
  19579. #: guix-git/doc/guix.texi:13738
  19580. #, no-wrap
  19581. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  19582. msgstr ""
  19583. #. type: table
  19584. #: guix-git/doc/guix.texi:13742
  19585. 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."
  19586. msgstr ""
  19587. #. type: table
  19588. #: guix-git/doc/guix.texi:13744
  19589. msgid "For instance, a valid value may look like this:"
  19590. msgstr ""
  19591. #. type: lisp
  19592. #: guix-git/doc/guix.texi:13750
  19593. #, no-wrap
  19594. msgid ""
  19595. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  19596. " (\".guile\" ,(plain-file \"guile\"\n"
  19597. " \"(use-modules (ice-9 readline))\n"
  19598. " (activate-readline)\")))\n"
  19599. msgstr ""
  19600. #. type: item
  19601. #: guix-git/doc/guix.texi:13752
  19602. #, no-wrap
  19603. msgid "@code{issue} (default: @code{%default-issue})"
  19604. msgstr ""
  19605. #. type: table
  19606. #: guix-git/doc/guix.texi:13755
  19607. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  19608. msgstr ""
  19609. #. type: item
  19610. #: guix-git/doc/guix.texi:13756
  19611. #, no-wrap
  19612. msgid "@code{packages} (default: @code{%base-packages})"
  19613. msgstr ""
  19614. #. type: table
  19615. #: guix-git/doc/guix.texi:13760
  19616. 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:"
  19617. msgstr ""
  19618. #. type: lisp
  19619. #: guix-git/doc/guix.texi:13765
  19620. #, no-wrap
  19621. msgid ""
  19622. "(cons* git ; the default \"out\" output\n"
  19623. " (list git \"send-email\") ; another output of git\n"
  19624. " %base-packages) ; the default set\n"
  19625. msgstr ""
  19626. #. type: table
  19627. #: guix-git/doc/guix.texi:13770
  19628. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  19629. msgstr ""
  19630. #. type: code{#1}
  19631. #: guix-git/doc/guix.texi:13771
  19632. #, no-wrap
  19633. msgid "timezone"
  19634. msgstr ""
  19635. #. type: table
  19636. #: guix-git/doc/guix.texi:13773
  19637. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  19638. msgstr ""
  19639. #. type: table
  19640. #: guix-git/doc/guix.texi:13777
  19641. 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."
  19642. msgstr ""
  19643. #. type: item
  19644. #: guix-git/doc/guix.texi:13778 guix-git/doc/guix.texi:19681
  19645. #, no-wrap
  19646. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  19647. msgstr ""
  19648. #. type: table
  19649. #: guix-git/doc/guix.texi:13781
  19650. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  19651. msgstr ""
  19652. #. type: item
  19653. #: guix-git/doc/guix.texi:13782
  19654. #, no-wrap
  19655. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  19656. msgstr ""
  19657. #. type: table
  19658. #: guix-git/doc/guix.texi:13785
  19659. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  19660. msgstr ""
  19661. #. type: item
  19662. #: guix-git/doc/guix.texi:13786
  19663. #, no-wrap
  19664. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  19665. msgstr ""
  19666. #. type: table
  19667. #: guix-git/doc/guix.texi:13790
  19668. 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."
  19669. msgstr ""
  19670. #. type: item
  19671. #: guix-git/doc/guix.texi:13791
  19672. #, no-wrap
  19673. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  19674. msgstr ""
  19675. #. type: table
  19676. #: guix-git/doc/guix.texi:13795
  19677. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  19678. msgstr ""
  19679. #. type: item
  19680. #: guix-git/doc/guix.texi:13796
  19681. #, no-wrap
  19682. msgid "@code{services} (default: @code{%base-services})"
  19683. msgstr ""
  19684. #. type: table
  19685. #: guix-git/doc/guix.texi:13798
  19686. msgid "A list of service objects denoting system services. @xref{Services}."
  19687. msgstr ""
  19688. #. type: cindex
  19689. #: guix-git/doc/guix.texi:13799
  19690. #, no-wrap
  19691. msgid "essential services"
  19692. msgstr ""
  19693. #. type: item
  19694. #: guix-git/doc/guix.texi:13800
  19695. #, no-wrap
  19696. msgid "@code{essential-services} (default: ...)"
  19697. msgstr ""
  19698. #. type: table
  19699. #: guix-git/doc/guix.texi:13805
  19700. 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."
  19701. msgstr ""
  19702. #. type: item
  19703. #: guix-git/doc/guix.texi:13806
  19704. #, no-wrap
  19705. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  19706. msgstr ""
  19707. #. type: cindex
  19708. #: guix-git/doc/guix.texi:13807
  19709. #, no-wrap
  19710. msgid "PAM"
  19711. msgstr ""
  19712. #. type: cindex
  19713. #: guix-git/doc/guix.texi:13808
  19714. #, no-wrap
  19715. msgid "pluggable authentication modules"
  19716. msgstr ""
  19717. #. type: table
  19718. #: guix-git/doc/guix.texi:13811
  19719. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  19720. msgstr ""
  19721. #. type: item
  19722. #: guix-git/doc/guix.texi:13812
  19723. #, no-wrap
  19724. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  19725. msgstr ""
  19726. #. type: table
  19727. #: guix-git/doc/guix.texi:13815
  19728. msgid "List of string-valued G-expressions denoting setuid programs. @xref{Setuid Programs}."
  19729. msgstr ""
  19730. #. type: item
  19731. #: guix-git/doc/guix.texi:13816
  19732. #, no-wrap
  19733. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  19734. msgstr ""
  19735. #. type: cindex
  19736. #: guix-git/doc/guix.texi:13817
  19737. #, no-wrap
  19738. msgid "sudoers file"
  19739. msgstr ""
  19740. #. type: table
  19741. #: guix-git/doc/guix.texi:13820
  19742. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  19743. msgstr ""
  19744. #. type: table
  19745. #: guix-git/doc/guix.texi:13825
  19746. 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}."
  19747. msgstr ""
  19748. #. type: deffn
  19749. #: guix-git/doc/guix.texi:13828
  19750. #, no-wrap
  19751. msgid "{Scheme Syntax} this-operating-system"
  19752. msgstr ""
  19753. #. type: deffn
  19754. #: guix-git/doc/guix.texi:13831
  19755. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  19756. msgstr ""
  19757. #. type: deffn
  19758. #: guix-git/doc/guix.texi:13834
  19759. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  19760. msgstr ""
  19761. #. type: lisp
  19762. #: guix-git/doc/guix.texi:13837 guix-git/doc/guix.texi:17299
  19763. #, no-wrap
  19764. msgid ""
  19765. "(use-modules (gnu) (guix))\n"
  19766. "\n"
  19767. msgstr ""
  19768. #. type: lisp
  19769. #: guix-git/doc/guix.texi:13842
  19770. #, no-wrap
  19771. msgid ""
  19772. "(operating-system\n"
  19773. " ;; ...\n"
  19774. " (label (package-full-name\n"
  19775. " (operating-system-kernel this-operating-system))))\n"
  19776. msgstr ""
  19777. #. type: deffn
  19778. #: guix-git/doc/guix.texi:13846
  19779. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  19780. msgstr ""
  19781. #. type: Plain text
  19782. #: guix-git/doc/guix.texi:13857
  19783. 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:"
  19784. msgstr ""
  19785. #. type: lisp
  19786. #: guix-git/doc/guix.texi:13863
  19787. #, no-wrap
  19788. msgid ""
  19789. "(file-system\n"
  19790. " (mount-point \"/home\")\n"
  19791. " (device \"/dev/sda3\")\n"
  19792. " (type \"ext4\"))\n"
  19793. msgstr ""
  19794. #. type: Plain text
  19795. #: guix-git/doc/guix.texi:13867
  19796. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  19797. msgstr ""
  19798. #. type: deftp
  19799. #: guix-git/doc/guix.texi:13868
  19800. #, no-wrap
  19801. msgid "{Data Type} file-system"
  19802. msgstr ""
  19803. #. type: deftp
  19804. #: guix-git/doc/guix.texi:13871
  19805. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  19806. msgstr ""
  19807. #. type: item
  19808. #: guix-git/doc/guix.texi:13873 guix-git/doc/guix.texi:14223
  19809. #, no-wrap
  19810. msgid "type"
  19811. msgstr ""
  19812. #. type: table
  19813. #: guix-git/doc/guix.texi:13876
  19814. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  19815. msgstr ""
  19816. #. type: code{#1}
  19817. #: guix-git/doc/guix.texi:13877
  19818. #, no-wrap
  19819. msgid "mount-point"
  19820. msgstr ""
  19821. #. type: table
  19822. #: guix-git/doc/guix.texi:13879
  19823. msgid "This designates the place where the file system is to be mounted."
  19824. msgstr ""
  19825. #. type: code{#1}
  19826. #: guix-git/doc/guix.texi:13880
  19827. #, no-wrap
  19828. msgid "device"
  19829. msgstr ""
  19830. #. type: table
  19831. #: guix-git/doc/guix.texi:13890
  19832. 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.}."
  19833. msgstr ""
  19834. #. type: findex
  19835. #: guix-git/doc/guix.texi:13891
  19836. #, no-wrap
  19837. msgid "file-system-label"
  19838. msgstr ""
  19839. #. type: table
  19840. #: guix-git/doc/guix.texi:13896
  19841. 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:"
  19842. msgstr ""
  19843. #. type: lisp
  19844. #: guix-git/doc/guix.texi:13902
  19845. #, no-wrap
  19846. msgid ""
  19847. "(file-system\n"
  19848. " (mount-point \"/home\")\n"
  19849. " (type \"ext4\")\n"
  19850. " (device (file-system-label \"my-home\")))\n"
  19851. msgstr ""
  19852. #. type: code{#1}
  19853. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:31144
  19854. #: guix-git/doc/guix.texi:31160
  19855. #, no-wrap
  19856. msgid "uuid"
  19857. msgstr ""
  19858. #. type: table
  19859. #: guix-git/doc/guix.texi:13912
  19860. 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:"
  19861. msgstr ""
  19862. #. type: lisp
  19863. #: guix-git/doc/guix.texi:13918
  19864. #, no-wrap
  19865. msgid ""
  19866. "(file-system\n"
  19867. " (mount-point \"/home\")\n"
  19868. " (type \"ext4\")\n"
  19869. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  19870. msgstr ""
  19871. #. type: table
  19872. #: guix-git/doc/guix.texi:13926
  19873. 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."
  19874. msgstr ""
  19875. #. type: item
  19876. #: guix-git/doc/guix.texi:13927
  19877. #, no-wrap
  19878. msgid "@code{flags} (default: @code{'()})"
  19879. msgstr ""
  19880. #. type: table
  19881. #: guix-git/doc/guix.texi:13937
  19882. 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."
  19883. msgstr ""
  19884. #. type: item
  19885. #: guix-git/doc/guix.texi:13938
  19886. #, no-wrap
  19887. msgid "@code{options} (default: @code{#f})"
  19888. msgstr ""
  19889. #. type: table
  19890. #: guix-git/doc/guix.texi:13947
  19891. 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."
  19892. msgstr ""
  19893. #. type: item
  19894. #: guix-git/doc/guix.texi:13948
  19895. #, no-wrap
  19896. msgid "@code{mount?} (default: @code{#t})"
  19897. msgstr ""
  19898. #. type: table
  19899. #: guix-git/doc/guix.texi:13953
  19900. 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."
  19901. msgstr ""
  19902. #. type: item
  19903. #: guix-git/doc/guix.texi:13954
  19904. #, no-wrap
  19905. msgid "@code{needed-for-boot?} (default: @code{#f})"
  19906. msgstr ""
  19907. #. type: table
  19908. #: guix-git/doc/guix.texi:13959
  19909. 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."
  19910. msgstr ""
  19911. #. type: item
  19912. #: guix-git/doc/guix.texi:13960
  19913. #, no-wrap
  19914. msgid "@code{check?} (default: @code{#t})"
  19915. msgstr ""
  19916. #. type: table
  19917. #: guix-git/doc/guix.texi:13963
  19918. msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted."
  19919. msgstr ""
  19920. #. type: item
  19921. #: guix-git/doc/guix.texi:13964
  19922. #, no-wrap
  19923. msgid "@code{create-mount-point?} (default: @code{#f})"
  19924. msgstr ""
  19925. #. type: table
  19926. #: guix-git/doc/guix.texi:13966
  19927. msgid "When true, the mount point is created if it does not exist yet."
  19928. msgstr ""
  19929. #. type: item
  19930. #: guix-git/doc/guix.texi:13967
  19931. #, no-wrap
  19932. msgid "@code{mount-may-fail?} (default: @code{#f})"
  19933. msgstr ""
  19934. #. type: table
  19935. #: guix-git/doc/guix.texi:13972
  19936. 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."
  19937. msgstr ""
  19938. #. type: item
  19939. #: guix-git/doc/guix.texi:13973
  19940. #, no-wrap
  19941. msgid "@code{dependencies} (default: @code{'()})"
  19942. msgstr ""
  19943. #. type: table
  19944. #: guix-git/doc/guix.texi:13977
  19945. 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."
  19946. msgstr ""
  19947. #. type: table
  19948. #: guix-git/doc/guix.texi:13981
  19949. 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}."
  19950. msgstr ""
  19951. #. type: table
  19952. #: guix-git/doc/guix.texi:13984
  19953. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  19954. msgstr ""
  19955. #. type: deffn
  19956. #: guix-git/doc/guix.texi:13987
  19957. #, no-wrap
  19958. msgid "{Scheme Procedure} file-system-label @var{str}"
  19959. msgstr ""
  19960. #. type: deffn
  19961. #: guix-git/doc/guix.texi:13990
  19962. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  19963. msgstr ""
  19964. #. type: lisp
  19965. #: guix-git/doc/guix.texi:13994
  19966. #, no-wrap
  19967. msgid ""
  19968. "(file-system-label \"home\")\n"
  19969. "@result{} #<file-system-label \"home\">\n"
  19970. msgstr ""
  19971. #. type: deffn
  19972. #: guix-git/doc/guix.texi:13998
  19973. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  19974. msgstr ""
  19975. #. type: Plain text
  19976. #: guix-git/doc/guix.texi:14002
  19977. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  19978. msgstr ""
  19979. #. type: defvr
  19980. #: guix-git/doc/guix.texi:14003
  19981. #, no-wrap
  19982. msgid "{Scheme Variable} %base-file-systems"
  19983. msgstr ""
  19984. #. type: defvr
  19985. #: guix-git/doc/guix.texi:14008
  19986. 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."
  19987. msgstr ""
  19988. #. type: defvr
  19989. #: guix-git/doc/guix.texi:14010
  19990. #, no-wrap
  19991. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  19992. msgstr ""
  19993. #. type: defvr
  19994. #: guix-git/doc/guix.texi:14016
  19995. 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}."
  19996. msgstr ""
  19997. #. type: defvr
  19998. #: guix-git/doc/guix.texi:14018
  19999. #, no-wrap
  20000. msgid "{Scheme Variable} %shared-memory-file-system"
  20001. msgstr ""
  20002. #. type: defvr
  20003. #: guix-git/doc/guix.texi:14022
  20004. 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})."
  20005. msgstr ""
  20006. #. type: defvr
  20007. #: guix-git/doc/guix.texi:14024
  20008. #, no-wrap
  20009. msgid "{Scheme Variable} %immutable-store"
  20010. msgstr ""
  20011. #. type: defvr
  20012. #: guix-git/doc/guix.texi:14029
  20013. 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."
  20014. msgstr ""
  20015. #. type: defvr
  20016. #: guix-git/doc/guix.texi:14032
  20017. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20018. msgstr ""
  20019. #. type: defvr
  20020. #: guix-git/doc/guix.texi:14034
  20021. #, no-wrap
  20022. msgid "{Scheme Variable} %binary-format-file-system"
  20023. msgstr ""
  20024. #. type: defvr
  20025. #: guix-git/doc/guix.texi:14038
  20026. 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."
  20027. msgstr ""
  20028. #. type: defvr
  20029. #: guix-git/doc/guix.texi:14040
  20030. #, no-wrap
  20031. msgid "{Scheme Variable} %fuse-control-file-system"
  20032. msgstr ""
  20033. #. type: defvr
  20034. #: guix-git/doc/guix.texi:14044
  20035. 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."
  20036. msgstr ""
  20037. #. type: Plain text
  20038. #: guix-git/doc/guix.texi:14048
  20039. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20040. msgstr ""
  20041. #. type: deffn
  20042. #: guix-git/doc/guix.texi:14049
  20043. #, no-wrap
  20044. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20045. msgstr ""
  20046. #. type: deffn
  20047. #: guix-git/doc/guix.texi:14052
  20048. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20049. msgstr ""
  20050. #. type: lisp
  20051. #: guix-git/doc/guix.texi:14056
  20052. #, no-wrap
  20053. msgid ""
  20054. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20055. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20056. "\n"
  20057. msgstr ""
  20058. #. type: lisp
  20059. #: guix-git/doc/guix.texi:14059
  20060. #, no-wrap
  20061. msgid ""
  20062. "(uuid \"1234-ABCD\" 'fat)\n"
  20063. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20064. msgstr ""
  20065. #. type: deffn
  20066. #: guix-git/doc/guix.texi:14063
  20067. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20068. msgstr ""
  20069. #. type: deffn
  20070. #: guix-git/doc/guix.texi:14066
  20071. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20072. msgstr ""
  20073. #. type: subsection
  20074. #: guix-git/doc/guix.texi:14069 guix-git/doc/guix.texi:14070
  20075. #, no-wrap
  20076. msgid "Btrfs file system"
  20077. msgstr ""
  20078. #. type: Plain text
  20079. #: guix-git/doc/guix.texi:14076
  20080. 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."
  20081. msgstr ""
  20082. #. type: Plain text
  20083. #: guix-git/doc/guix.texi:14079
  20084. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20085. msgstr ""
  20086. #. type: lisp
  20087. #: guix-git/doc/guix.texi:14085
  20088. #, no-wrap
  20089. msgid ""
  20090. "(file-system\n"
  20091. " (mount-point \"/home\")\n"
  20092. " (type \"btrfs\")\n"
  20093. " (device (file-system-label \"my-home\")))\n"
  20094. msgstr ""
  20095. #. type: Plain text
  20096. #: guix-git/doc/guix.texi:14091
  20097. 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}):"
  20098. msgstr ""
  20099. #. type: lisp
  20100. #: guix-git/doc/guix.texi:14099
  20101. #, no-wrap
  20102. msgid ""
  20103. "(file-system\n"
  20104. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20105. " (mount-point \"/\")\n"
  20106. " (type \"btrfs\")\n"
  20107. " (options \"subvol=rootfs\")\n"
  20108. " (dependencies mapped-devices))\n"
  20109. msgstr ""
  20110. #. type: Plain text
  20111. #: guix-git/doc/guix.texi:14110
  20112. 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."
  20113. msgstr ""
  20114. #. type: Plain text
  20115. #: guix-git/doc/guix.texi:14118
  20116. 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.:"
  20117. msgstr ""
  20118. #. type: example
  20119. #: guix-git/doc/guix.texi:14125
  20120. #, no-wrap
  20121. msgid ""
  20122. "/ (top level)\n"
  20123. "├── rootfs (subvolume directory)\n"
  20124. " ├── gnu (normal directory)\n"
  20125. " ├── store (normal directory)\n"
  20126. "[...]\n"
  20127. msgstr ""
  20128. #. type: Plain text
  20129. #: guix-git/doc/guix.texi:14130
  20130. 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."
  20131. msgstr ""
  20132. #. type: Plain text
  20133. #: guix-git/doc/guix.texi:14133
  20134. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  20135. msgstr ""
  20136. #. type: example
  20137. #: guix-git/doc/guix.texi:14140
  20138. #, no-wrap
  20139. msgid ""
  20140. "/ (top level)\n"
  20141. "├── rootfs (subvolume)\n"
  20142. " ├── gnu (normal directory)\n"
  20143. " ├── store (subvolume)\n"
  20144. "[...]\n"
  20145. msgstr ""
  20146. #. type: Plain text
  20147. #: guix-git/doc/guix.texi:14147
  20148. 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}."
  20149. msgstr ""
  20150. #. type: Plain text
  20151. #: guix-git/doc/guix.texi:14149
  20152. msgid "Finally, a more contrived example of nested subvolumes:"
  20153. msgstr ""
  20154. #. type: example
  20155. #: guix-git/doc/guix.texi:14156
  20156. #, no-wrap
  20157. msgid ""
  20158. "/ (top level)\n"
  20159. "├── root-snapshots (subvolume)\n"
  20160. " ├── root-current (subvolume)\n"
  20161. " ├── guix-store (subvolume)\n"
  20162. "[...]\n"
  20163. msgstr ""
  20164. #. type: Plain text
  20165. #: guix-git/doc/guix.texi:14163
  20166. 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:"
  20167. msgstr ""
  20168. #. type: lisp
  20169. #: guix-git/doc/guix.texi:14171
  20170. #, no-wrap
  20171. msgid ""
  20172. "(file-system\n"
  20173. " (device (file-system-label \"btrfs-pool-1\"))\n"
  20174. " (mount-point \"/gnu/store\")\n"
  20175. " (type \"btrfs\")\n"
  20176. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  20177. "compress-force=zstd,space_cache=v2\"))\n"
  20178. msgstr ""
  20179. #. type: cindex
  20180. #: guix-git/doc/guix.texi:14176
  20181. #, no-wrap
  20182. msgid "device mapping"
  20183. msgstr ""
  20184. #. type: cindex
  20185. #: guix-git/doc/guix.texi:14177
  20186. #, no-wrap
  20187. msgid "mapped devices"
  20188. msgstr ""
  20189. #. type: Plain text
  20190. #: guix-git/doc/guix.texi:14194
  20191. 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."
  20192. msgstr ""
  20193. #. type: Plain text
  20194. #: guix-git/doc/guix.texi:14197
  20195. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  20196. msgstr ""
  20197. #. type: deftp
  20198. #: guix-git/doc/guix.texi:14198
  20199. #, no-wrap
  20200. msgid "{Data Type} mapped-device"
  20201. msgstr ""
  20202. #. type: deftp
  20203. #: guix-git/doc/guix.texi:14201
  20204. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  20205. msgstr ""
  20206. #. type: table
  20207. #: guix-git/doc/guix.texi:14208
  20208. 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."
  20209. msgstr ""
  20210. #. type: code{#1}
  20211. #: guix-git/doc/guix.texi:14209 guix-git/doc/guix.texi:32498
  20212. #, no-wrap
  20213. msgid "target"
  20214. msgstr ""
  20215. #. type: table
  20216. #: guix-git/doc/guix.texi:14218
  20217. 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\"}."
  20218. msgstr ""
  20219. #. type: item
  20220. #: guix-git/doc/guix.texi:14219
  20221. #, no-wrap
  20222. msgid "targets"
  20223. msgstr ""
  20224. #. type: table
  20225. #: guix-git/doc/guix.texi:14222
  20226. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  20227. msgstr ""
  20228. #. type: table
  20229. #: guix-git/doc/guix.texi:14226
  20230. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  20231. msgstr ""
  20232. #. type: defvr
  20233. #: guix-git/doc/guix.texi:14229
  20234. #, no-wrap
  20235. msgid "{Scheme Variable} luks-device-mapping"
  20236. msgstr ""
  20237. #. type: defvr
  20238. #: guix-git/doc/guix.texi:14233
  20239. 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."
  20240. msgstr ""
  20241. #. type: defvr
  20242. #: guix-git/doc/guix.texi:14235
  20243. #, no-wrap
  20244. msgid "{Scheme Variable} raid-device-mapping"
  20245. msgstr ""
  20246. #. type: defvr
  20247. #: guix-git/doc/guix.texi:14240
  20248. 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."
  20249. msgstr ""
  20250. #. type: cindex
  20251. #: guix-git/doc/guix.texi:14242
  20252. #, no-wrap
  20253. msgid "LVM, logical volume manager"
  20254. msgstr ""
  20255. #. type: defvr
  20256. #: guix-git/doc/guix.texi:14243
  20257. #, no-wrap
  20258. msgid "{Scheme Variable} lvm-device-mapping"
  20259. msgstr ""
  20260. #. type: defvr
  20261. #: guix-git/doc/guix.texi:14248
  20262. 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."
  20263. msgstr ""
  20264. #. type: cindex
  20265. #: guix-git/doc/guix.texi:14250
  20266. #, no-wrap
  20267. msgid "disk encryption"
  20268. msgstr ""
  20269. #. type: cindex
  20270. #: guix-git/doc/guix.texi:14251
  20271. #, no-wrap
  20272. msgid "LUKS"
  20273. msgstr ""
  20274. #. type: Plain text
  20275. #: guix-git/doc/guix.texi:14259
  20276. 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})."
  20277. msgstr ""
  20278. #. type: lisp
  20279. #: guix-git/doc/guix.texi:14265
  20280. #, no-wrap
  20281. msgid ""
  20282. "(mapped-device\n"
  20283. " (source \"/dev/sda3\")\n"
  20284. " (target \"home\")\n"
  20285. " (type luks-device-mapping))\n"
  20286. msgstr ""
  20287. #. type: Plain text
  20288. #: guix-git/doc/guix.texi:14270
  20289. 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:"
  20290. msgstr ""
  20291. #. type: example
  20292. #: guix-git/doc/guix.texi:14273
  20293. #, no-wrap
  20294. msgid "cryptsetup luksUUID /dev/sda3\n"
  20295. msgstr ""
  20296. #. type: Plain text
  20297. #: guix-git/doc/guix.texi:14276
  20298. msgid "and use it as follows:"
  20299. msgstr ""
  20300. #. type: lisp
  20301. #: guix-git/doc/guix.texi:14282
  20302. #, no-wrap
  20303. msgid ""
  20304. "(mapped-device\n"
  20305. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  20306. " (target \"home\")\n"
  20307. " (type luks-device-mapping))\n"
  20308. msgstr ""
  20309. #. type: cindex
  20310. #: guix-git/doc/guix.texi:14284
  20311. #, no-wrap
  20312. msgid "swap encryption"
  20313. msgstr ""
  20314. #. type: Plain text
  20315. #: guix-git/doc/guix.texi:14290
  20316. msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  20317. msgstr ""
  20318. #. type: Plain text
  20319. #: guix-git/doc/guix.texi:14293
  20320. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  20321. msgstr ""
  20322. #. type: lisp
  20323. #: guix-git/doc/guix.texi:14299
  20324. #, no-wrap
  20325. msgid ""
  20326. "(mapped-device\n"
  20327. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  20328. " (target \"/dev/md0\")\n"
  20329. " (type raid-device-mapping))\n"
  20330. msgstr ""
  20331. #. type: Plain text
  20332. #: guix-git/doc/guix.texi:14306
  20333. 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."
  20334. msgstr ""
  20335. #. type: Plain text
  20336. #: guix-git/doc/guix.texi:14309
  20337. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  20338. msgstr ""
  20339. #. type: lisp
  20340. #: guix-git/doc/guix.texi:14315
  20341. #, no-wrap
  20342. msgid ""
  20343. "(mapped-device\n"
  20344. " (source \"vg0\")\n"
  20345. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  20346. " (type lvm-device-mapping))\n"
  20347. msgstr ""
  20348. #. type: Plain text
  20349. #: guix-git/doc/guix.texi:14320
  20350. 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})."
  20351. msgstr ""
  20352. #. type: cindex
  20353. #: guix-git/doc/guix.texi:14324
  20354. #, no-wrap
  20355. msgid "users"
  20356. msgstr ""
  20357. #. type: cindex
  20358. #: guix-git/doc/guix.texi:14325
  20359. #, no-wrap
  20360. msgid "accounts"
  20361. msgstr ""
  20362. #. type: cindex
  20363. #: guix-git/doc/guix.texi:14326
  20364. #, no-wrap
  20365. msgid "user accounts"
  20366. msgstr ""
  20367. #. type: Plain text
  20368. #: guix-git/doc/guix.texi:14330
  20369. 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:"
  20370. msgstr ""
  20371. #. type: lisp
  20372. #: guix-git/doc/guix.texi:14340
  20373. #, no-wrap
  20374. msgid ""
  20375. "(user-account\n"
  20376. " (name \"alice\")\n"
  20377. " (group \"users\")\n"
  20378. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  20379. " \"audio\" ;sound card\n"
  20380. " \"video\" ;video devices such as webcams\n"
  20381. " \"cdrom\")) ;the good ol' CD-ROM\n"
  20382. " (comment \"Bob's sister\"))\n"
  20383. msgstr ""
  20384. #. type: Plain text
  20385. #: guix-git/doc/guix.texi:14344
  20386. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  20387. msgstr ""
  20388. #. type: lisp
  20389. #: guix-git/doc/guix.texi:14352
  20390. #, no-wrap
  20391. msgid ""
  20392. "(user-account\n"
  20393. " (name \"bob\")\n"
  20394. " (group \"users\")\n"
  20395. " (comment \"Alice's bro\")\n"
  20396. " (shell (file-append zsh \"/bin/zsh\"))\n"
  20397. " (home-directory \"/home/robert\"))\n"
  20398. msgstr ""
  20399. #. type: Plain text
  20400. #: guix-git/doc/guix.texi:14361
  20401. 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."
  20402. msgstr ""
  20403. #. type: deftp
  20404. #: guix-git/doc/guix.texi:14362
  20405. #, no-wrap
  20406. msgid "{Data Type} user-account"
  20407. msgstr ""
  20408. #. type: deftp
  20409. #: guix-git/doc/guix.texi:14365
  20410. msgid "Objects of this type represent user accounts. The following members may be specified:"
  20411. msgstr ""
  20412. #. type: table
  20413. #: guix-git/doc/guix.texi:14369
  20414. msgid "The name of the user account."
  20415. msgstr ""
  20416. #. type: itemx
  20417. #: guix-git/doc/guix.texi:14370 guix-git/doc/guix.texi:32184
  20418. #, no-wrap
  20419. msgid "group"
  20420. msgstr ""
  20421. #. type: cindex
  20422. #: guix-git/doc/guix.texi:14371 guix-git/doc/guix.texi:14450
  20423. #, no-wrap
  20424. msgid "groups"
  20425. msgstr ""
  20426. #. type: table
  20427. #: guix-git/doc/guix.texi:14374
  20428. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  20429. msgstr ""
  20430. #. type: item
  20431. #: guix-git/doc/guix.texi:14375
  20432. #, no-wrap
  20433. msgid "@code{supplementary-groups} (default: @code{'()})"
  20434. msgstr ""
  20435. #. type: table
  20436. #: guix-git/doc/guix.texi:14378
  20437. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  20438. msgstr ""
  20439. #. type: item
  20440. #: guix-git/doc/guix.texi:14379
  20441. #, no-wrap
  20442. msgid "@code{uid} (default: @code{#f})"
  20443. msgstr ""
  20444. #. type: table
  20445. #: guix-git/doc/guix.texi:14383
  20446. 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."
  20447. msgstr ""
  20448. #. type: item
  20449. #: guix-git/doc/guix.texi:14384
  20450. #, no-wrap
  20451. msgid "@code{comment} (default: @code{\"\"})"
  20452. msgstr ""
  20453. #. type: table
  20454. #: guix-git/doc/guix.texi:14386
  20455. msgid "A comment about the account, such as the account owner's full name."
  20456. msgstr ""
  20457. #. type: code{#1}
  20458. #: guix-git/doc/guix.texi:14387
  20459. #, no-wrap
  20460. msgid "home-directory"
  20461. msgstr ""
  20462. #. type: table
  20463. #: guix-git/doc/guix.texi:14389
  20464. msgid "This is the name of the home directory for the account."
  20465. msgstr ""
  20466. #. type: item
  20467. #: guix-git/doc/guix.texi:14390
  20468. #, no-wrap
  20469. msgid "@code{create-home-directory?} (default: @code{#t})"
  20470. msgstr ""
  20471. #. type: table
  20472. #: guix-git/doc/guix.texi:14393
  20473. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  20474. msgstr ""
  20475. #. type: item
  20476. #: guix-git/doc/guix.texi:14394
  20477. #, no-wrap
  20478. msgid "@code{shell} (default: Bash)"
  20479. msgstr ""
  20480. #. type: table
  20481. #: guix-git/doc/guix.texi:14398
  20482. 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:"
  20483. msgstr ""
  20484. #. type: lisp
  20485. #: guix-git/doc/guix.texi:14401
  20486. #, no-wrap
  20487. msgid "(file-append bash \"/bin/bash\")\n"
  20488. msgstr ""
  20489. #. type: table
  20490. #: guix-git/doc/guix.texi:14405
  20491. msgid "... and to the Zsh executable like that:"
  20492. msgstr ""
  20493. #. type: lisp
  20494. #: guix-git/doc/guix.texi:14408
  20495. #, no-wrap
  20496. msgid "(file-append zsh \"/bin/zsh\")\n"
  20497. msgstr ""
  20498. #. type: item
  20499. #: guix-git/doc/guix.texi:14410 guix-git/doc/guix.texi:14468
  20500. #, no-wrap
  20501. msgid "@code{system?} (default: @code{#f})"
  20502. msgstr ""
  20503. #. type: table
  20504. #: guix-git/doc/guix.texi:14414
  20505. 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."
  20506. msgstr ""
  20507. #. type: anchor{#1}
  20508. #: guix-git/doc/guix.texi:14416
  20509. msgid "user-account-password"
  20510. msgstr ""
  20511. #. type: cindex
  20512. #: guix-git/doc/guix.texi:14416
  20513. #, no-wrap
  20514. msgid "password, for user accounts"
  20515. msgstr ""
  20516. #. type: item
  20517. #: guix-git/doc/guix.texi:14417 guix-git/doc/guix.texi:14472
  20518. #, no-wrap
  20519. msgid "@code{password} (default: @code{#f})"
  20520. msgstr ""
  20521. #. type: table
  20522. #: guix-git/doc/guix.texi:14423
  20523. 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."
  20524. msgstr ""
  20525. #. type: table
  20526. #: guix-git/doc/guix.texi:14427
  20527. 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:"
  20528. msgstr ""
  20529. #. type: lisp
  20530. #: guix-git/doc/guix.texi:14432
  20531. #, no-wrap
  20532. msgid ""
  20533. "(user-account\n"
  20534. " (name \"charlie\")\n"
  20535. " (group \"users\")\n"
  20536. "\n"
  20537. msgstr ""
  20538. #. type: lisp
  20539. #: guix-git/doc/guix.texi:14435
  20540. #, no-wrap
  20541. msgid ""
  20542. " ;; Specify a SHA-512-hashed initial password.\n"
  20543. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  20544. msgstr ""
  20545. #. type: quotation
  20546. #: guix-git/doc/guix.texi:14441
  20547. 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."
  20548. msgstr ""
  20549. #. type: table
  20550. #: guix-git/doc/guix.texi:14446
  20551. 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."
  20552. msgstr ""
  20553. #. type: Plain text
  20554. #: guix-git/doc/guix.texi:14452
  20555. msgid "User group declarations are even simpler:"
  20556. msgstr ""
  20557. #. type: lisp
  20558. #: guix-git/doc/guix.texi:14455
  20559. #, no-wrap
  20560. msgid "(user-group (name \"students\"))\n"
  20561. msgstr ""
  20562. #. type: deftp
  20563. #: guix-git/doc/guix.texi:14457
  20564. #, no-wrap
  20565. msgid "{Data Type} user-group"
  20566. msgstr ""
  20567. #. type: deftp
  20568. #: guix-git/doc/guix.texi:14459
  20569. msgid "This type is for, well, user groups. There are just a few fields:"
  20570. msgstr ""
  20571. #. type: table
  20572. #: guix-git/doc/guix.texi:14463
  20573. msgid "The name of the group."
  20574. msgstr ""
  20575. #. type: item
  20576. #: guix-git/doc/guix.texi:14464 guix-git/doc/guix.texi:28988
  20577. #, no-wrap
  20578. msgid "@code{id} (default: @code{#f})"
  20579. msgstr ""
  20580. #. type: table
  20581. #: guix-git/doc/guix.texi:14467
  20582. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  20583. msgstr ""
  20584. #. type: table
  20585. #: guix-git/doc/guix.texi:14471
  20586. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  20587. msgstr ""
  20588. #. type: table
  20589. #: guix-git/doc/guix.texi:14475
  20590. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  20591. msgstr ""
  20592. #. type: Plain text
  20593. #: guix-git/doc/guix.texi:14481
  20594. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  20595. msgstr ""
  20596. #. type: defvr
  20597. #: guix-git/doc/guix.texi:14482
  20598. #, no-wrap
  20599. msgid "{Scheme Variable} %base-groups"
  20600. msgstr ""
  20601. #. type: defvr
  20602. #: guix-git/doc/guix.texi:14487
  20603. 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''."
  20604. msgstr ""
  20605. #. type: defvr
  20606. #: guix-git/doc/guix.texi:14489
  20607. #, no-wrap
  20608. msgid "{Scheme Variable} %base-user-accounts"
  20609. msgstr ""
  20610. #. type: defvr
  20611. #: guix-git/doc/guix.texi:14492
  20612. 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."
  20613. msgstr ""
  20614. #. type: defvr
  20615. #: guix-git/doc/guix.texi:14495
  20616. 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."
  20617. msgstr ""
  20618. #. type: cindex
  20619. #: guix-git/doc/guix.texi:14501
  20620. #, no-wrap
  20621. msgid "keymap"
  20622. msgstr ""
  20623. #. type: Plain text
  20624. #: guix-git/doc/guix.texi:14509
  20625. 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."
  20626. msgstr ""
  20627. #. type: cindex
  20628. #: guix-git/doc/guix.texi:14510
  20629. #, no-wrap
  20630. msgid "keyboard layout, definition"
  20631. msgstr ""
  20632. #. type: Plain text
  20633. #: guix-git/doc/guix.texi:14512
  20634. msgid "There are three components that will want to know about your keyboard layout:"
  20635. msgstr ""
  20636. #. type: itemize
  20637. #: guix-git/doc/guix.texi:14519
  20638. 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."
  20639. msgstr ""
  20640. #. type: itemize
  20641. #: guix-git/doc/guix.texi:14524
  20642. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  20643. msgstr ""
  20644. #. type: itemize
  20645. #: guix-git/doc/guix.texi:14528
  20646. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  20647. msgstr ""
  20648. #. type: Plain text
  20649. #: guix-git/doc/guix.texi:14532
  20650. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  20651. msgstr ""
  20652. #. type: cindex
  20653. #: guix-git/doc/guix.texi:14533
  20654. #, no-wrap
  20655. msgid "XKB, keyboard layouts"
  20656. msgstr ""
  20657. #. type: Plain text
  20658. #: guix-git/doc/guix.texi:14541
  20659. 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."
  20660. msgstr ""
  20661. #. type: deffn
  20662. #: guix-git/doc/guix.texi:14542
  20663. #, no-wrap
  20664. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  20665. msgstr ""
  20666. #. type: deffn
  20667. #: guix-git/doc/guix.texi:14545
  20668. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  20669. msgstr ""
  20670. #. type: deffn
  20671. #: guix-git/doc/guix.texi:14549
  20672. 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."
  20673. msgstr ""
  20674. #. type: Plain text
  20675. #: guix-git/doc/guix.texi:14552
  20676. msgid "Here are a few examples:"
  20677. msgstr ""
  20678. #. type: lisp
  20679. #: guix-git/doc/guix.texi:14557
  20680. #, no-wrap
  20681. msgid ""
  20682. ";; The German QWERTZ layout. Here we assume a standard\n"
  20683. ";; \"pc105\" keyboard model.\n"
  20684. "(keyboard-layout \"de\")\n"
  20685. "\n"
  20686. msgstr ""
  20687. #. type: lisp
  20688. #: guix-git/doc/guix.texi:14560
  20689. #, no-wrap
  20690. msgid ""
  20691. ";; The bépo variant of the French layout.\n"
  20692. "(keyboard-layout \"fr\" \"bepo\")\n"
  20693. "\n"
  20694. msgstr ""
  20695. #. type: lisp
  20696. #: guix-git/doc/guix.texi:14563
  20697. #, no-wrap
  20698. msgid ""
  20699. ";; The Catalan layout.\n"
  20700. "(keyboard-layout \"es\" \"cat\")\n"
  20701. "\n"
  20702. msgstr ""
  20703. #. type: lisp
  20704. #: guix-git/doc/guix.texi:14566
  20705. #, no-wrap
  20706. msgid ""
  20707. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  20708. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  20709. "\n"
  20710. msgstr ""
  20711. #. type: lisp
  20712. #: guix-git/doc/guix.texi:14573
  20713. #, no-wrap
  20714. msgid ""
  20715. ";; The Latin American Spanish layout. In addition, the\n"
  20716. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  20717. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  20718. ";; accented letters.\n"
  20719. "(keyboard-layout \"latam\"\n"
  20720. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  20721. "\n"
  20722. msgstr ""
  20723. #. type: lisp
  20724. #: guix-git/doc/guix.texi:14576
  20725. #, no-wrap
  20726. msgid ""
  20727. ";; The Russian layout for a ThinkPad keyboard.\n"
  20728. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  20729. "\n"
  20730. msgstr ""
  20731. #. type: lisp
  20732. #: guix-git/doc/guix.texi:14581
  20733. #, no-wrap
  20734. msgid ""
  20735. ";; The \"US international\" layout, which is the US layout plus\n"
  20736. ";; dead keys to enter accented characters. This is for an\n"
  20737. ";; Apple MacBook keyboard.\n"
  20738. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  20739. msgstr ""
  20740. #. type: Plain text
  20741. #: guix-git/doc/guix.texi:14585
  20742. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  20743. msgstr ""
  20744. #. type: cindex
  20745. #: guix-git/doc/guix.texi:14586
  20746. #, no-wrap
  20747. msgid "keyboard layout, configuration"
  20748. msgstr ""
  20749. #. type: Plain text
  20750. #: guix-git/doc/guix.texi:14590
  20751. 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:"
  20752. msgstr ""
  20753. #. type: findex
  20754. #: guix-git/doc/guix.texi:14591
  20755. #, no-wrap
  20756. msgid "set-xorg-configuration"
  20757. msgstr ""
  20758. #. type: lisp
  20759. #: guix-git/doc/guix.texi:14595
  20760. #, no-wrap
  20761. msgid ""
  20762. ";; Using the Turkish layout for the bootloader, the console,\n"
  20763. ";; and for Xorg.\n"
  20764. "\n"
  20765. msgstr ""
  20766. #. type: lisp
  20767. #: guix-git/doc/guix.texi:14607
  20768. #, no-wrap
  20769. msgid ""
  20770. "(operating-system\n"
  20771. " ;; ...\n"
  20772. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  20773. " (bootloader (bootloader-configuration\n"
  20774. " (bootloader grub-efi-bootloader)\n"
  20775. " (target \"/boot/efi\")\n"
  20776. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  20777. " (services (cons (set-xorg-configuration\n"
  20778. " (xorg-configuration ;for Xorg\n"
  20779. " (keyboard-layout keyboard-layout)))\n"
  20780. " %desktop-services)))\n"
  20781. msgstr ""
  20782. #. type: Plain text
  20783. #: guix-git/doc/guix.texi:14614
  20784. 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."
  20785. msgstr ""
  20786. #. type: Plain text
  20787. #: guix-git/doc/guix.texi:14617
  20788. 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:"
  20789. msgstr ""
  20790. #. type: itemize
  20791. #: guix-git/doc/guix.texi:14622
  20792. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  20793. msgstr ""
  20794. #. type: itemize
  20795. #: guix-git/doc/guix.texi:14627
  20796. 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:"
  20797. msgstr ""
  20798. #. type: example
  20799. #: guix-git/doc/guix.texi:14630
  20800. #, no-wrap
  20801. msgid "setxkbmap us dvorak\n"
  20802. msgstr ""
  20803. #. type: itemize
  20804. #: guix-git/doc/guix.texi:14637
  20805. 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:"
  20806. msgstr ""
  20807. #. type: example
  20808. #: guix-git/doc/guix.texi:14640
  20809. #, no-wrap
  20810. msgid "loadkeys fr-bepo\n"
  20811. msgstr ""
  20812. #. type: cindex
  20813. #: guix-git/doc/guix.texi:14646
  20814. #, no-wrap
  20815. msgid "locale"
  20816. msgstr ""
  20817. #. type: Plain text
  20818. #: guix-git/doc/guix.texi:14653
  20819. 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."
  20820. msgstr ""
  20821. #. type: cindex
  20822. #: guix-git/doc/guix.texi:14654
  20823. #, no-wrap
  20824. msgid "locale definition"
  20825. msgstr ""
  20826. #. type: Plain text
  20827. #: guix-git/doc/guix.texi:14658
  20828. 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}})."
  20829. msgstr ""
  20830. #. type: Plain text
  20831. #: guix-git/doc/guix.texi:14667
  20832. 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."
  20833. msgstr ""
  20834. #. type: Plain text
  20835. #: guix-git/doc/guix.texi:14670
  20836. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  20837. msgstr ""
  20838. #. type: lisp
  20839. #: guix-git/doc/guix.texi:14675
  20840. #, no-wrap
  20841. msgid ""
  20842. "(cons (locale-definition\n"
  20843. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  20844. " %default-locale-definitions)\n"
  20845. msgstr ""
  20846. #. type: Plain text
  20847. #: guix-git/doc/guix.texi:14679
  20848. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  20849. msgstr ""
  20850. #. type: lisp
  20851. #: guix-git/doc/guix.texi:14684
  20852. #, no-wrap
  20853. msgid ""
  20854. "(list (locale-definition\n"
  20855. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  20856. " (charset \"EUC-JP\")))\n"
  20857. msgstr ""
  20858. #. type: Plain text
  20859. #: guix-git/doc/guix.texi:14693
  20860. 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})."
  20861. msgstr ""
  20862. #. type: Plain text
  20863. #: guix-git/doc/guix.texi:14696
  20864. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  20865. msgstr ""
  20866. #. type: deftp
  20867. #: guix-git/doc/guix.texi:14697
  20868. #, no-wrap
  20869. msgid "{Data Type} locale-definition"
  20870. msgstr ""
  20871. #. type: deftp
  20872. #: guix-git/doc/guix.texi:14699
  20873. msgid "This is the data type of a locale definition."
  20874. msgstr ""
  20875. #. type: table
  20876. #: guix-git/doc/guix.texi:14705
  20877. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  20878. msgstr ""
  20879. #. type: table
  20880. #: guix-git/doc/guix.texi:14709
  20881. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  20882. msgstr ""
  20883. #. type: item
  20884. #: guix-git/doc/guix.texi:14710
  20885. #, no-wrap
  20886. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  20887. msgstr ""
  20888. #. type: table
  20889. #: guix-git/doc/guix.texi:14714
  20890. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  20891. msgstr ""
  20892. #. type: defvr
  20893. #: guix-git/doc/guix.texi:14718
  20894. #, no-wrap
  20895. msgid "{Scheme Variable} %default-locale-definitions"
  20896. msgstr ""
  20897. #. type: defvr
  20898. #: guix-git/doc/guix.texi:14722
  20899. 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."
  20900. msgstr ""
  20901. #. type: cindex
  20902. #: guix-git/doc/guix.texi:14723
  20903. #, no-wrap
  20904. msgid "locale name"
  20905. msgstr ""
  20906. #. type: cindex
  20907. #: guix-git/doc/guix.texi:14724
  20908. #, no-wrap
  20909. msgid "normalized codeset in locale names"
  20910. msgstr ""
  20911. #. type: defvr
  20912. #: guix-git/doc/guix.texi:14730
  20913. 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}."
  20914. msgstr ""
  20915. #. type: subsection
  20916. #: guix-git/doc/guix.texi:14732
  20917. #, no-wrap
  20918. msgid "Locale Data Compatibility Considerations"
  20919. msgstr ""
  20920. #. type: cindex
  20921. #: guix-git/doc/guix.texi:14734
  20922. #, no-wrap
  20923. msgid "incompatibility, of locale data"
  20924. msgstr ""
  20925. #. type: Plain text
  20926. #: guix-git/doc/guix.texi:14741
  20927. 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."
  20928. msgstr ""
  20929. #. type: Plain text
  20930. #: guix-git/doc/guix.texi:14753
  20931. 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."
  20932. msgstr ""
  20933. #. type: Plain text
  20934. #: guix-git/doc/guix.texi:14758
  20935. 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."
  20936. msgstr ""
  20937. #. type: Plain text
  20938. #: guix-git/doc/guix.texi:14762
  20939. 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})."
  20940. msgstr ""
  20941. #. type: Plain text
  20942. #: guix-git/doc/guix.texi:14769
  20943. 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}:"
  20944. msgstr ""
  20945. #. type: lisp
  20946. #: guix-git/doc/guix.texi:14772
  20947. #, no-wrap
  20948. msgid ""
  20949. "(use-package-modules base)\n"
  20950. "\n"
  20951. msgstr ""
  20952. #. type: lisp
  20953. #: guix-git/doc/guix.texi:14776
  20954. #, no-wrap
  20955. msgid ""
  20956. "(operating-system\n"
  20957. " ;; @dots{}\n"
  20958. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  20959. msgstr ""
  20960. #. type: Plain text
  20961. #: guix-git/doc/guix.texi:14781
  20962. 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}."
  20963. msgstr ""
  20964. #. type: cindex
  20965. #: guix-git/doc/guix.texi:14786
  20966. #, no-wrap
  20967. msgid "system services"
  20968. msgstr ""
  20969. #. type: Plain text
  20970. #: guix-git/doc/guix.texi:14792
  20971. 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."
  20972. msgstr ""
  20973. #. type: Plain text
  20974. #: guix-git/doc/guix.texi:14799
  20975. 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:"
  20976. msgstr ""
  20977. #. type: example
  20978. #: guix-git/doc/guix.texi:14802
  20979. #, no-wrap
  20980. msgid "# herd status\n"
  20981. msgstr ""
  20982. #. type: Plain text
  20983. #: guix-git/doc/guix.texi:14807
  20984. 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:"
  20985. msgstr ""
  20986. #. type: example
  20987. #: guix-git/doc/guix.texi:14811
  20988. #, no-wrap
  20989. msgid ""
  20990. "# herd doc nscd\n"
  20991. "Run libc's name service cache daemon (nscd).\n"
  20992. "\n"
  20993. msgstr ""
  20994. #. type: example
  20995. #: guix-git/doc/guix.texi:14814
  20996. #, no-wrap
  20997. msgid ""
  20998. "# herd doc nscd action invalidate\n"
  20999. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21000. msgstr ""
  21001. #. type: Plain text
  21002. #: guix-git/doc/guix.texi:14819
  21003. 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:"
  21004. msgstr ""
  21005. #. type: example
  21006. #: guix-git/doc/guix.texi:14826
  21007. #, no-wrap
  21008. msgid ""
  21009. "# herd stop nscd\n"
  21010. "Service nscd has been stopped.\n"
  21011. "# herd restart xorg-server\n"
  21012. "Service xorg-server has been stopped.\n"
  21013. "Service xorg-server has been started.\n"
  21014. msgstr ""
  21015. #. type: Plain text
  21016. #: guix-git/doc/guix.texi:14831
  21017. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21018. msgstr ""
  21019. #. type: subsection
  21020. #: guix-git/doc/guix.texi:14866 guix-git/doc/guix.texi:22490
  21021. #: guix-git/doc/guix.texi:22491
  21022. #, no-wrap
  21023. msgid "File-Sharing Services"
  21024. msgstr ""
  21025. #. type: menuentry
  21026. #: guix-git/doc/guix.texi:14866
  21027. msgid "File-sharing services."
  21028. msgstr ""
  21029. #. type: Plain text
  21030. #: guix-git/doc/guix.texi:14874
  21031. 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."
  21032. msgstr ""
  21033. #. type: defvr
  21034. #: guix-git/doc/guix.texi:14875
  21035. #, no-wrap
  21036. msgid "{Scheme Variable} %base-services"
  21037. msgstr ""
  21038. #. type: defvr
  21039. #: guix-git/doc/guix.texi:14881
  21040. 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."
  21041. msgstr ""
  21042. #. type: defvr
  21043. #: guix-git/doc/guix.texi:14886
  21044. 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:"
  21045. msgstr ""
  21046. #. type: lisp
  21047. #: guix-git/doc/guix.texi:14891
  21048. #, no-wrap
  21049. msgid ""
  21050. "(append (list (service avahi-service-type)\n"
  21051. " (service openssh-service-type))\n"
  21052. " %base-services)\n"
  21053. msgstr ""
  21054. #. type: defvr
  21055. #: guix-git/doc/guix.texi:14894
  21056. #, no-wrap
  21057. msgid "{Scheme Variable} special-files-service-type"
  21058. msgstr ""
  21059. #. type: defvr
  21060. #: guix-git/doc/guix.texi:14897
  21061. 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}."
  21062. msgstr ""
  21063. #. type: defvr
  21064. #: guix-git/doc/guix.texi:14901
  21065. 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:"
  21066. msgstr ""
  21067. #. type: file{#1}
  21068. #: guix-git/doc/guix.texi:14902
  21069. #, no-wrap
  21070. msgid "/bin/sh"
  21071. msgstr ""
  21072. #. type: cindex
  21073. #: guix-git/doc/guix.texi:14903
  21074. #, no-wrap
  21075. msgid "@file{sh}, in @file{/bin}"
  21076. msgstr ""
  21077. #. type: lisp
  21078. #: guix-git/doc/guix.texi:14906
  21079. #, no-wrap
  21080. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21081. msgstr ""
  21082. #. type: file{#1}
  21083. #: guix-git/doc/guix.texi:14908
  21084. #, no-wrap
  21085. msgid "/usr/bin/env"
  21086. msgstr ""
  21087. #. type: cindex
  21088. #: guix-git/doc/guix.texi:14909
  21089. #, no-wrap
  21090. msgid "@file{env}, in @file{/usr/bin}"
  21091. msgstr ""
  21092. #. type: defvr
  21093. #: guix-git/doc/guix.texi:14912
  21094. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21095. msgstr ""
  21096. #. type: lisp
  21097. #: guix-git/doc/guix.texi:14916
  21098. #, no-wrap
  21099. msgid ""
  21100. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21101. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21102. msgstr ""
  21103. #. type: defvr
  21104. #: guix-git/doc/guix.texi:14923
  21105. 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)."
  21106. msgstr ""
  21107. #. type: deffn
  21108. #: guix-git/doc/guix.texi:14925
  21109. #, no-wrap
  21110. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21111. msgstr ""
  21112. #. type: deffn
  21113. #: guix-git/doc/guix.texi:14927
  21114. msgid "Use @var{target} as the ``special file'' @var{file}."
  21115. msgstr ""
  21116. #. type: deffn
  21117. #: guix-git/doc/guix.texi:14931
  21118. 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:"
  21119. msgstr ""
  21120. #. type: lisp
  21121. #: guix-git/doc/guix.texi:14935
  21122. #, no-wrap
  21123. msgid ""
  21124. "(extra-special-file \"/usr/bin/env\"\n"
  21125. " (file-append coreutils \"/bin/env\"))\n"
  21126. msgstr ""
  21127. #. type: deffn
  21128. #: guix-git/doc/guix.texi:14938
  21129. #, no-wrap
  21130. msgid "{Scheme Procedure} host-name-service @var{name}"
  21131. msgstr ""
  21132. #. type: deffn
  21133. #: guix-git/doc/guix.texi:14940
  21134. msgid "Return a service that sets the host name to @var{name}."
  21135. msgstr ""
  21136. #. type: defvr
  21137. #: guix-git/doc/guix.texi:14942
  21138. #, no-wrap
  21139. msgid "{Scheme Variable} console-font-service-type"
  21140. msgstr ""
  21141. #. type: defvr
  21142. #: guix-git/doc/guix.texi:14947
  21143. 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:"
  21144. msgstr ""
  21145. #. type: lisp
  21146. #: guix-git/doc/guix.texi:14956
  21147. #, no-wrap
  21148. msgid ""
  21149. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  21150. " (\"tty2\" . ,(file-append\n"
  21151. " font-tamzen\n"
  21152. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  21153. " (\"tty3\" . ,(file-append\n"
  21154. " font-terminus\n"
  21155. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  21156. msgstr ""
  21157. #. type: deffn
  21158. #: guix-git/doc/guix.texi:14959
  21159. #, no-wrap
  21160. msgid "{Scheme Procedure} login-service @var{config}"
  21161. msgstr ""
  21162. #. type: deffn
  21163. #: guix-git/doc/guix.texi:14963
  21164. 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."
  21165. msgstr ""
  21166. #. type: deftp
  21167. #: guix-git/doc/guix.texi:14965
  21168. #, no-wrap
  21169. msgid "{Data Type} login-configuration"
  21170. msgstr ""
  21171. #. type: deftp
  21172. #: guix-git/doc/guix.texi:14967
  21173. msgid "This is the data type representing the configuration of login."
  21174. msgstr ""
  21175. #. type: code{#1}
  21176. #: guix-git/doc/guix.texi:14970
  21177. #, no-wrap
  21178. msgid "motd"
  21179. msgstr ""
  21180. #. type: cindex
  21181. #: guix-git/doc/guix.texi:14971
  21182. #, no-wrap
  21183. msgid "message of the day"
  21184. msgstr ""
  21185. #. type: table
  21186. #: guix-git/doc/guix.texi:14973
  21187. msgid "A file-like object containing the ``message of the day''."
  21188. msgstr ""
  21189. #. type: item
  21190. #: guix-git/doc/guix.texi:14974 guix-git/doc/guix.texi:17855
  21191. #, no-wrap
  21192. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  21193. msgstr ""
  21194. #. type: table
  21195. #: guix-git/doc/guix.texi:14977
  21196. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  21197. msgstr ""
  21198. #. type: deffn
  21199. #: guix-git/doc/guix.texi:14981
  21200. #, no-wrap
  21201. msgid "{Scheme Procedure} mingetty-service @var{config}"
  21202. msgstr ""
  21203. #. type: deffn
  21204. #: guix-git/doc/guix.texi:14985
  21205. 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."
  21206. msgstr ""
  21207. #. type: deftp
  21208. #: guix-git/doc/guix.texi:14987
  21209. #, no-wrap
  21210. msgid "{Data Type} mingetty-configuration"
  21211. msgstr ""
  21212. #. type: deftp
  21213. #: guix-git/doc/guix.texi:14990
  21214. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  21215. msgstr ""
  21216. #. type: code{#1}
  21217. #: guix-git/doc/guix.texi:14993 guix-git/doc/guix.texi:15032
  21218. #: guix-git/doc/guix.texi:31484
  21219. #, no-wrap
  21220. msgid "tty"
  21221. msgstr ""
  21222. #. type: table
  21223. #: guix-git/doc/guix.texi:14995
  21224. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  21225. msgstr ""
  21226. #. type: item
  21227. #: guix-git/doc/guix.texi:14996 guix-git/doc/guix.texi:15061
  21228. #: guix-git/doc/guix.texi:15220
  21229. #, no-wrap
  21230. msgid "@code{auto-login} (default: @code{#f})"
  21231. msgstr ""
  21232. #. type: table
  21233. #: guix-git/doc/guix.texi:15000
  21234. 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."
  21235. msgstr ""
  21236. #. type: item
  21237. #: guix-git/doc/guix.texi:15001
  21238. #, no-wrap
  21239. msgid "@code{login-program} (default: @code{#f})"
  21240. msgstr ""
  21241. #. type: table
  21242. #: guix-git/doc/guix.texi:15005
  21243. 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."
  21244. msgstr ""
  21245. #. type: item
  21246. #: guix-git/doc/guix.texi:15006
  21247. #, no-wrap
  21248. msgid "@code{login-pause?} (default: @code{#f})"
  21249. msgstr ""
  21250. #. type: table
  21251. #: guix-git/doc/guix.texi:15009
  21252. 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."
  21253. msgstr ""
  21254. #. type: item
  21255. #: guix-git/doc/guix.texi:15010
  21256. #, no-wrap
  21257. msgid "@code{clear-on-logout?} (default: @code{#t})"
  21258. msgstr ""
  21259. #. type: table
  21260. #: guix-git/doc/guix.texi:15012
  21261. msgid "When set to @code{#t}, the screen will be cleared after logout."
  21262. msgstr ""
  21263. #. type: item
  21264. #: guix-git/doc/guix.texi:15013
  21265. #, no-wrap
  21266. msgid "@code{mingetty} (default: @var{mingetty})"
  21267. msgstr ""
  21268. #. type: table
  21269. #: guix-git/doc/guix.texi:15015
  21270. msgid "The Mingetty package to use."
  21271. msgstr ""
  21272. #. type: deffn
  21273. #: guix-git/doc/guix.texi:15019
  21274. #, no-wrap
  21275. msgid "{Scheme Procedure} agetty-service @var{config}"
  21276. msgstr ""
  21277. #. type: deffn
  21278. #: guix-git/doc/guix.texi:15023
  21279. 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."
  21280. msgstr ""
  21281. #. type: deftp
  21282. #: guix-git/doc/guix.texi:15025
  21283. #, no-wrap
  21284. msgid "{Data Type} agetty-configuration"
  21285. msgstr ""
  21286. #. type: deftp
  21287. #: guix-git/doc/guix.texi:15029
  21288. 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."
  21289. msgstr ""
  21290. #. type: table
  21291. #: guix-git/doc/guix.texi:15036
  21292. 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."
  21293. msgstr ""
  21294. #. type: table
  21295. #: guix-git/doc/guix.texi:15040
  21296. 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."
  21297. msgstr ""
  21298. #. type: table
  21299. #: guix-git/doc/guix.texi:15044
  21300. 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."
  21301. msgstr ""
  21302. #. type: table
  21303. #: guix-git/doc/guix.texi:15048
  21304. 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."
  21305. msgstr ""
  21306. #. type: item
  21307. #: guix-git/doc/guix.texi:15049 guix-git/doc/guix.texi:31645
  21308. #, no-wrap
  21309. msgid "@code{baud-rate} (default: @code{#f})"
  21310. msgstr ""
  21311. #. type: table
  21312. #: guix-git/doc/guix.texi:15052
  21313. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  21314. msgstr ""
  21315. #. type: item
  21316. #: guix-git/doc/guix.texi:15053
  21317. #, no-wrap
  21318. msgid "@code{term} (default: @code{#f})"
  21319. msgstr ""
  21320. #. type: table
  21321. #: guix-git/doc/guix.texi:15056
  21322. msgid "A string containing the value used for the @env{TERM} environment variable."
  21323. msgstr ""
  21324. #. type: item
  21325. #: guix-git/doc/guix.texi:15057
  21326. #, no-wrap
  21327. msgid "@code{eight-bits?} (default: @code{#f})"
  21328. msgstr ""
  21329. #. type: table
  21330. #: guix-git/doc/guix.texi:15060
  21331. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  21332. msgstr ""
  21333. #. type: table
  21334. #: guix-git/doc/guix.texi:15064 guix-git/doc/guix.texi:15223
  21335. 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."
  21336. msgstr ""
  21337. #. type: item
  21338. #: guix-git/doc/guix.texi:15065
  21339. #, no-wrap
  21340. msgid "@code{no-reset?} (default: @code{#f})"
  21341. msgstr ""
  21342. #. type: table
  21343. #: guix-git/doc/guix.texi:15067
  21344. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  21345. msgstr ""
  21346. #. type: item
  21347. #: guix-git/doc/guix.texi:15068
  21348. #, no-wrap
  21349. msgid "@code{host} (default: @code{#f})"
  21350. msgstr ""
  21351. #. type: table
  21352. #: guix-git/doc/guix.texi:15071
  21353. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  21354. msgstr ""
  21355. #. type: item
  21356. #: guix-git/doc/guix.texi:15072
  21357. #, no-wrap
  21358. msgid "@code{remote?} (default: @code{#f})"
  21359. msgstr ""
  21360. #. type: table
  21361. #: guix-git/doc/guix.texi:15076
  21362. 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}."
  21363. msgstr ""
  21364. #. type: item
  21365. #: guix-git/doc/guix.texi:15077
  21366. #, no-wrap
  21367. msgid "@code{flow-control?} (default: @code{#f})"
  21368. msgstr ""
  21369. #. type: table
  21370. #: guix-git/doc/guix.texi:15079
  21371. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  21372. msgstr ""
  21373. #. type: item
  21374. #: guix-git/doc/guix.texi:15080
  21375. #, no-wrap
  21376. msgid "@code{no-issue?} (default: @code{#f})"
  21377. msgstr ""
  21378. #. type: table
  21379. #: guix-git/doc/guix.texi:15083
  21380. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  21381. msgstr ""
  21382. #. type: item
  21383. #: guix-git/doc/guix.texi:15084
  21384. #, no-wrap
  21385. msgid "@code{init-string} (default: @code{#f})"
  21386. msgstr ""
  21387. #. type: table
  21388. #: guix-git/doc/guix.texi:15087
  21389. 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."
  21390. msgstr ""
  21391. #. type: item
  21392. #: guix-git/doc/guix.texi:15088
  21393. #, no-wrap
  21394. msgid "@code{no-clear?} (default: @code{#f})"
  21395. msgstr ""
  21396. #. type: table
  21397. #: guix-git/doc/guix.texi:15091
  21398. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  21399. msgstr ""
  21400. #. type: item
  21401. #: guix-git/doc/guix.texi:15092
  21402. #, no-wrap
  21403. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  21404. msgstr ""
  21405. #. type: table
  21406. #: guix-git/doc/guix.texi:15096
  21407. 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."
  21408. msgstr ""
  21409. #. type: item
  21410. #: guix-git/doc/guix.texi:15097
  21411. #, no-wrap
  21412. msgid "@code{local-line} (default: @code{#f})"
  21413. msgstr ""
  21414. #. type: table
  21415. #: guix-git/doc/guix.texi:15101
  21416. 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}."
  21417. msgstr ""
  21418. #. type: item
  21419. #: guix-git/doc/guix.texi:15102
  21420. #, no-wrap
  21421. msgid "@code{extract-baud?} (default: @code{#f})"
  21422. msgstr ""
  21423. #. type: table
  21424. #: guix-git/doc/guix.texi:15105
  21425. 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."
  21426. msgstr ""
  21427. #. type: item
  21428. #: guix-git/doc/guix.texi:15106
  21429. #, no-wrap
  21430. msgid "@code{skip-login?} (default: @code{#f})"
  21431. msgstr ""
  21432. #. type: table
  21433. #: guix-git/doc/guix.texi:15110
  21434. 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."
  21435. msgstr ""
  21436. #. type: item
  21437. #: guix-git/doc/guix.texi:15111
  21438. #, no-wrap
  21439. msgid "@code{no-newline?} (default: @code{#f})"
  21440. msgstr ""
  21441. #. type: table
  21442. #: guix-git/doc/guix.texi:15114
  21443. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  21444. msgstr ""
  21445. #. type: item
  21446. #: guix-git/doc/guix.texi:15116
  21447. #, no-wrap
  21448. msgid "@code{login-options} (default: @code{#f})"
  21449. msgstr ""
  21450. #. type: table
  21451. #: guix-git/doc/guix.texi:15121
  21452. 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."
  21453. msgstr ""
  21454. #. type: item
  21455. #: guix-git/doc/guix.texi:15122
  21456. #, no-wrap
  21457. msgid "@code{login-pause} (default: @code{#f})"
  21458. msgstr ""
  21459. #. type: table
  21460. #: guix-git/doc/guix.texi:15126
  21461. 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."
  21462. msgstr ""
  21463. #. type: item
  21464. #: guix-git/doc/guix.texi:15127
  21465. #, no-wrap
  21466. msgid "@code{chroot} (default: @code{#f})"
  21467. msgstr ""
  21468. #. type: table
  21469. #: guix-git/doc/guix.texi:15130
  21470. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  21471. msgstr ""
  21472. #. type: item
  21473. #: guix-git/doc/guix.texi:15131
  21474. #, no-wrap
  21475. msgid "@code{hangup?} (default: @code{#f})"
  21476. msgstr ""
  21477. #. type: table
  21478. #: guix-git/doc/guix.texi:15134
  21479. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  21480. msgstr ""
  21481. #. type: item
  21482. #: guix-git/doc/guix.texi:15135
  21483. #, no-wrap
  21484. msgid "@code{keep-baud?} (default: @code{#f})"
  21485. msgstr ""
  21486. #. type: table
  21487. #: guix-git/doc/guix.texi:15139
  21488. 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."
  21489. msgstr ""
  21490. #. type: item
  21491. #: guix-git/doc/guix.texi:15140
  21492. #, no-wrap
  21493. msgid "@code{timeout} (default: @code{#f})"
  21494. msgstr ""
  21495. #. type: table
  21496. #: guix-git/doc/guix.texi:15143
  21497. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  21498. msgstr ""
  21499. #. type: item
  21500. #: guix-git/doc/guix.texi:15144
  21501. #, no-wrap
  21502. msgid "@code{detect-case?} (default: @code{#f})"
  21503. msgstr ""
  21504. #. type: table
  21505. #: guix-git/doc/guix.texi:15150
  21506. 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."
  21507. msgstr ""
  21508. #. type: item
  21509. #: guix-git/doc/guix.texi:15151
  21510. #, no-wrap
  21511. msgid "@code{wait-cr?} (default: @code{#f})"
  21512. msgstr ""
  21513. #. type: table
  21514. #: guix-git/doc/guix.texi:15156
  21515. 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."
  21516. msgstr ""
  21517. #. type: item
  21518. #: guix-git/doc/guix.texi:15157
  21519. #, no-wrap
  21520. msgid "@code{no-hints?} (default: @code{#f})"
  21521. msgstr ""
  21522. #. type: table
  21523. #: guix-git/doc/guix.texi:15160
  21524. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  21525. msgstr ""
  21526. #. type: item
  21527. #: guix-git/doc/guix.texi:15161
  21528. #, no-wrap
  21529. msgid "@code{no-hostname?} (default: @code{#f})"
  21530. msgstr ""
  21531. #. type: table
  21532. #: guix-git/doc/guix.texi:15164
  21533. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  21534. msgstr ""
  21535. #. type: item
  21536. #: guix-git/doc/guix.texi:15165
  21537. #, no-wrap
  21538. msgid "@code{long-hostname?} (default: @code{#f})"
  21539. msgstr ""
  21540. #. type: table
  21541. #: guix-git/doc/guix.texi:15169
  21542. 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."
  21543. msgstr ""
  21544. #. type: item
  21545. #: guix-git/doc/guix.texi:15170
  21546. #, no-wrap
  21547. msgid "@code{erase-characters} (default: @code{#f})"
  21548. msgstr ""
  21549. #. type: table
  21550. #: guix-git/doc/guix.texi:15173
  21551. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  21552. msgstr ""
  21553. #. type: item
  21554. #: guix-git/doc/guix.texi:15174
  21555. #, no-wrap
  21556. msgid "@code{kill-characters} (default: @code{#f})"
  21557. msgstr ""
  21558. #. type: table
  21559. #: guix-git/doc/guix.texi:15178
  21560. 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."
  21561. msgstr ""
  21562. #. type: item
  21563. #: guix-git/doc/guix.texi:15179
  21564. #, no-wrap
  21565. msgid "@code{chdir} (default: @code{#f})"
  21566. msgstr ""
  21567. #. type: table
  21568. #: guix-git/doc/guix.texi:15182
  21569. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  21570. msgstr ""
  21571. #. type: item
  21572. #: guix-git/doc/guix.texi:15183
  21573. #, no-wrap
  21574. msgid "@code{delay} (default: @code{#f})"
  21575. msgstr ""
  21576. #. type: table
  21577. #: guix-git/doc/guix.texi:15186
  21578. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  21579. msgstr ""
  21580. #. type: item
  21581. #: guix-git/doc/guix.texi:15187
  21582. #, no-wrap
  21583. msgid "@code{nice} (default: @code{#f})"
  21584. msgstr ""
  21585. #. type: table
  21586. #: guix-git/doc/guix.texi:15190
  21587. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  21588. msgstr ""
  21589. #. type: item
  21590. #: guix-git/doc/guix.texi:15191 guix-git/doc/guix.texi:15468
  21591. #: guix-git/doc/guix.texi:16330 guix-git/doc/guix.texi:23473
  21592. #: guix-git/doc/guix.texi:24949 guix-git/doc/guix.texi:27297
  21593. #: guix-git/doc/guix.texi:28084 guix-git/doc/guix.texi:29783
  21594. #: guix-git/doc/guix.texi:31975
  21595. #, no-wrap
  21596. msgid "@code{extra-options} (default: @code{'()})"
  21597. msgstr ""
  21598. #. type: table
  21599. #: guix-git/doc/guix.texi:15194
  21600. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  21601. msgstr ""
  21602. #. type: deffn
  21603. #: guix-git/doc/guix.texi:15198
  21604. #, no-wrap
  21605. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  21606. msgstr ""
  21607. #. type: deffn
  21608. #: guix-git/doc/guix.texi:15202
  21609. 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."
  21610. msgstr ""
  21611. #. type: deftp
  21612. #: guix-git/doc/guix.texi:15204
  21613. #, no-wrap
  21614. msgid "{Data Type} kmscon-configuration"
  21615. msgstr ""
  21616. #. type: deftp
  21617. #: guix-git/doc/guix.texi:15207
  21618. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  21619. msgstr ""
  21620. #. type: code{#1}
  21621. #: guix-git/doc/guix.texi:15210
  21622. #, no-wrap
  21623. msgid "virtual-terminal"
  21624. msgstr ""
  21625. #. type: table
  21626. #: guix-git/doc/guix.texi:15212
  21627. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  21628. msgstr ""
  21629. #. type: item
  21630. #: guix-git/doc/guix.texi:15213
  21631. #, no-wrap
  21632. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  21633. msgstr ""
  21634. #. type: table
  21635. #: guix-git/doc/guix.texi:15216
  21636. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  21637. msgstr ""
  21638. #. type: item
  21639. #: guix-git/doc/guix.texi:15217
  21640. #, no-wrap
  21641. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  21642. msgstr ""
  21643. #. type: table
  21644. #: guix-git/doc/guix.texi:15219
  21645. msgid "A list of arguments to pass to @command{login}."
  21646. msgstr ""
  21647. #. type: item
  21648. #: guix-git/doc/guix.texi:15224
  21649. #, no-wrap
  21650. msgid "@code{hardware-acceleration?} (default: #f)"
  21651. msgstr ""
  21652. #. type: table
  21653. #: guix-git/doc/guix.texi:15226
  21654. msgid "Whether to use hardware acceleration."
  21655. msgstr ""
  21656. #. type: item
  21657. #: guix-git/doc/guix.texi:15227
  21658. #, no-wrap
  21659. msgid "@code{font-engine} (default: @code{\"pango\"})"
  21660. msgstr ""
  21661. #. type: table
  21662. #: guix-git/doc/guix.texi:15229
  21663. msgid "Font engine used in Kmscon."
  21664. msgstr ""
  21665. #. type: item
  21666. #: guix-git/doc/guix.texi:15230
  21667. #, no-wrap
  21668. msgid "@code{font-size} (default: @code{12})"
  21669. msgstr ""
  21670. #. type: table
  21671. #: guix-git/doc/guix.texi:15232
  21672. msgid "Font size used in Kmscon."
  21673. msgstr ""
  21674. #. type: item
  21675. #: guix-git/doc/guix.texi:15233
  21676. #, no-wrap
  21677. msgid "@code{kmscon} (default: @var{kmscon})"
  21678. msgstr ""
  21679. #. type: table
  21680. #: guix-git/doc/guix.texi:15235
  21681. msgid "The Kmscon package to use."
  21682. msgstr ""
  21683. #. type: cindex
  21684. #: guix-git/doc/guix.texi:15239
  21685. #, no-wrap
  21686. msgid "name service cache daemon"
  21687. msgstr ""
  21688. #. type: cindex
  21689. #: guix-git/doc/guix.texi:15240
  21690. #, no-wrap
  21691. msgid "nscd"
  21692. msgstr ""
  21693. #. type: deffn
  21694. #: guix-git/doc/guix.texi:15241
  21695. #, no-wrap
  21696. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  21697. msgstr ""
  21698. #. type: deffn
  21699. #: guix-git/doc/guix.texi:15246
  21700. 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."
  21701. msgstr ""
  21702. #. type: deffn
  21703. #: guix-git/doc/guix.texi:15248
  21704. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  21705. msgstr ""
  21706. #. type: item
  21707. #: guix-git/doc/guix.texi:15250
  21708. #, no-wrap
  21709. msgid "invalidate"
  21710. msgstr ""
  21711. #. type: cindex
  21712. #: guix-git/doc/guix.texi:15251
  21713. #, no-wrap
  21714. msgid "cache invalidation, nscd"
  21715. msgstr ""
  21716. #. type: cindex
  21717. #: guix-git/doc/guix.texi:15252
  21718. #, no-wrap
  21719. msgid "nscd, cache invalidation"
  21720. msgstr ""
  21721. #. type: table
  21722. #: guix-git/doc/guix.texi:15254
  21723. msgid "This invalidate the given cache. For instance, running:"
  21724. msgstr ""
  21725. #. type: example
  21726. #: guix-git/doc/guix.texi:15257
  21727. #, no-wrap
  21728. msgid "herd invalidate nscd hosts\n"
  21729. msgstr ""
  21730. #. type: table
  21731. #: guix-git/doc/guix.texi:15261
  21732. msgid "invalidates the host name lookup cache of nscd."
  21733. msgstr ""
  21734. #. type: item
  21735. #: guix-git/doc/guix.texi:15262
  21736. #, no-wrap
  21737. msgid "statistics"
  21738. msgstr ""
  21739. #. type: table
  21740. #: guix-git/doc/guix.texi:15265
  21741. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  21742. msgstr ""
  21743. #. type: defvr
  21744. #: guix-git/doc/guix.texi:15269
  21745. #, no-wrap
  21746. msgid "{Scheme Variable} %nscd-default-configuration"
  21747. msgstr ""
  21748. #. type: defvr
  21749. #: guix-git/doc/guix.texi:15273
  21750. 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."
  21751. msgstr ""
  21752. #. type: deftp
  21753. #: guix-git/doc/guix.texi:15275
  21754. #, no-wrap
  21755. msgid "{Data Type} nscd-configuration"
  21756. msgstr ""
  21757. #. type: deftp
  21758. #: guix-git/doc/guix.texi:15278
  21759. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  21760. msgstr ""
  21761. #. type: item
  21762. #: guix-git/doc/guix.texi:15281
  21763. #, no-wrap
  21764. msgid "@code{name-services} (default: @code{'()})"
  21765. msgstr ""
  21766. #. type: table
  21767. #: guix-git/doc/guix.texi:15284
  21768. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  21769. msgstr ""
  21770. #. type: item
  21771. #: guix-git/doc/guix.texi:15285
  21772. #, no-wrap
  21773. msgid "@code{glibc} (default: @var{glibc})"
  21774. msgstr ""
  21775. #. type: table
  21776. #: guix-git/doc/guix.texi:15288
  21777. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  21778. msgstr ""
  21779. #. type: item
  21780. #: guix-git/doc/guix.texi:15289
  21781. #, no-wrap
  21782. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  21783. msgstr ""
  21784. #. type: table
  21785. #: guix-git/doc/guix.texi:15292
  21786. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  21787. msgstr ""
  21788. #. type: item
  21789. #: guix-git/doc/guix.texi:15293
  21790. #, no-wrap
  21791. msgid "@code{debug-level} (default: @code{0})"
  21792. msgstr ""
  21793. #. type: table
  21794. #: guix-git/doc/guix.texi:15296
  21795. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  21796. msgstr ""
  21797. #. type: item
  21798. #: guix-git/doc/guix.texi:15297
  21799. #, no-wrap
  21800. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  21801. msgstr ""
  21802. #. type: table
  21803. #: guix-git/doc/guix.texi:15300
  21804. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  21805. msgstr ""
  21806. #. type: deftp
  21807. #: guix-git/doc/guix.texi:15304
  21808. #, no-wrap
  21809. msgid "{Data Type} nscd-cache"
  21810. msgstr ""
  21811. #. type: deftp
  21812. #: guix-git/doc/guix.texi:15306
  21813. msgid "Data type representing a cache database of nscd and its parameters."
  21814. msgstr ""
  21815. #. type: cindex
  21816. #: guix-git/doc/guix.texi:15309 guix-git/doc/guix.texi:19637
  21817. #, no-wrap
  21818. msgid "database"
  21819. msgstr ""
  21820. #. type: table
  21821. #: guix-git/doc/guix.texi:15314
  21822. 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})."
  21823. msgstr ""
  21824. #. type: code{#1}
  21825. #: guix-git/doc/guix.texi:15315
  21826. #, no-wrap
  21827. msgid "positive-time-to-live"
  21828. msgstr ""
  21829. #. type: itemx
  21830. #: guix-git/doc/guix.texi:15316
  21831. #, no-wrap
  21832. msgid "@code{negative-time-to-live} (default: @code{20})"
  21833. msgstr ""
  21834. #. type: table
  21835. #: guix-git/doc/guix.texi:15319
  21836. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  21837. msgstr ""
  21838. #. type: item
  21839. #: guix-git/doc/guix.texi:15320
  21840. #, no-wrap
  21841. msgid "@code{check-files?} (default: @code{#t})"
  21842. msgstr ""
  21843. #. type: table
  21844. #: guix-git/doc/guix.texi:15323
  21845. msgid "Whether to check for updates of the files corresponding to @var{database}."
  21846. msgstr ""
  21847. #. type: table
  21848. #: guix-git/doc/guix.texi:15327
  21849. 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."
  21850. msgstr ""
  21851. #. type: item
  21852. #: guix-git/doc/guix.texi:15328
  21853. #, no-wrap
  21854. msgid "@code{persistent?} (default: @code{#t})"
  21855. msgstr ""
  21856. #. type: table
  21857. #: guix-git/doc/guix.texi:15330
  21858. msgid "Whether the cache should be stored persistently on disk."
  21859. msgstr ""
  21860. #. type: item
  21861. #: guix-git/doc/guix.texi:15331
  21862. #, no-wrap
  21863. msgid "@code{shared?} (default: @code{#t})"
  21864. msgstr ""
  21865. #. type: table
  21866. #: guix-git/doc/guix.texi:15333
  21867. msgid "Whether the cache should be shared among users."
  21868. msgstr ""
  21869. #. type: item
  21870. #: guix-git/doc/guix.texi:15334
  21871. #, no-wrap
  21872. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  21873. msgstr ""
  21874. #. type: table
  21875. #: guix-git/doc/guix.texi:15336
  21876. msgid "Maximum size in bytes of the database cache."
  21877. msgstr ""
  21878. #. type: defvr
  21879. #: guix-git/doc/guix.texi:15343
  21880. #, no-wrap
  21881. msgid "{Scheme Variable} %nscd-default-caches"
  21882. msgstr ""
  21883. #. type: defvr
  21884. #: guix-git/doc/guix.texi:15346
  21885. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  21886. msgstr ""
  21887. #. type: defvr
  21888. #: guix-git/doc/guix.texi:15352
  21889. 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."
  21890. msgstr ""
  21891. #. type: anchor{#1}
  21892. #: guix-git/doc/guix.texi:15355
  21893. msgid "syslog-configuration-type"
  21894. msgstr ""
  21895. #. type: cindex
  21896. #: guix-git/doc/guix.texi:15355 guix-git/doc/guix.texi:15371
  21897. #, no-wrap
  21898. msgid "syslog"
  21899. msgstr ""
  21900. #. type: cindex
  21901. #: guix-git/doc/guix.texi:15356 guix-git/doc/guix.texi:15930
  21902. #, no-wrap
  21903. msgid "logging"
  21904. msgstr ""
  21905. #. type: deftp
  21906. #: guix-git/doc/guix.texi:15357
  21907. #, no-wrap
  21908. msgid "{Data Type} syslog-configuration"
  21909. msgstr ""
  21910. #. type: deftp
  21911. #: guix-git/doc/guix.texi:15359
  21912. msgid "This data type represents the configuration of the syslog daemon."
  21913. msgstr ""
  21914. #. type: item
  21915. #: guix-git/doc/guix.texi:15361
  21916. #, no-wrap
  21917. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  21918. msgstr ""
  21919. #. type: table
  21920. #: guix-git/doc/guix.texi:15363
  21921. msgid "The syslog daemon to use."
  21922. msgstr ""
  21923. #. type: item
  21924. #: guix-git/doc/guix.texi:15364
  21925. #, no-wrap
  21926. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  21927. msgstr ""
  21928. #. type: table
  21929. #: guix-git/doc/guix.texi:15366
  21930. msgid "The syslog configuration file to use."
  21931. msgstr ""
  21932. #. type: anchor{#1}
  21933. #: guix-git/doc/guix.texi:15371
  21934. msgid "syslog-service"
  21935. msgstr ""
  21936. #. type: deffn
  21937. #: guix-git/doc/guix.texi:15372
  21938. #, no-wrap
  21939. msgid "{Scheme Procedure} syslog-service @var{config}"
  21940. msgstr ""
  21941. #. type: deffn
  21942. #: guix-git/doc/guix.texi:15374
  21943. msgid "Return a service that runs a syslog daemon according to @var{config}."
  21944. msgstr ""
  21945. #. type: deffn
  21946. #: guix-git/doc/guix.texi:15377
  21947. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  21948. msgstr ""
  21949. #. type: defvr
  21950. #: guix-git/doc/guix.texi:15379
  21951. #, no-wrap
  21952. msgid "{Scheme Variable} guix-service-type"
  21953. msgstr ""
  21954. #. type: defvr
  21955. #: guix-git/doc/guix.texi:15383
  21956. 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."
  21957. msgstr ""
  21958. #. type: anchor{#1}
  21959. #: guix-git/doc/guix.texi:15386
  21960. msgid "guix-configuration-type"
  21961. msgstr ""
  21962. #. type: deftp
  21963. #: guix-git/doc/guix.texi:15386
  21964. #, no-wrap
  21965. msgid "{Data Type} guix-configuration"
  21966. msgstr ""
  21967. #. type: deftp
  21968. #: guix-git/doc/guix.texi:15389
  21969. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  21970. msgstr ""
  21971. #. type: item
  21972. #: guix-git/doc/guix.texi:15391
  21973. #, no-wrap
  21974. msgid "@code{guix} (default: @var{guix})"
  21975. msgstr ""
  21976. #. type: table
  21977. #: guix-git/doc/guix.texi:15393 guix-git/doc/guix.texi:15667
  21978. msgid "The Guix package to use."
  21979. msgstr ""
  21980. #. type: item
  21981. #: guix-git/doc/guix.texi:15394
  21982. #, no-wrap
  21983. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  21984. msgstr ""
  21985. #. type: table
  21986. #: guix-git/doc/guix.texi:15396
  21987. msgid "Name of the group for build user accounts."
  21988. msgstr ""
  21989. #. type: item
  21990. #: guix-git/doc/guix.texi:15397
  21991. #, no-wrap
  21992. msgid "@code{build-accounts} (default: @code{10})"
  21993. msgstr ""
  21994. #. type: table
  21995. #: guix-git/doc/guix.texi:15399
  21996. msgid "Number of build user accounts to create."
  21997. msgstr ""
  21998. #. type: item
  21999. #: guix-git/doc/guix.texi:15400
  22000. #, no-wrap
  22001. msgid "@code{authorize-key?} (default: @code{#t})"
  22002. msgstr ""
  22003. #. type: table
  22004. #: guix-git/doc/guix.texi:15405
  22005. msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER}} (@pxref{Substitutes})."
  22006. msgstr ""
  22007. #. type: table
  22008. #: guix-git/doc/guix.texi:15411
  22009. 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."
  22010. msgstr ""
  22011. #. type: quotation
  22012. #: guix-git/doc/guix.texi:15418
  22013. 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}."
  22014. msgstr ""
  22015. #. type: vindex
  22016. #: guix-git/doc/guix.texi:15420
  22017. #, no-wrap
  22018. msgid "%default-authorized-guix-keys"
  22019. msgstr ""
  22020. #. type: item
  22021. #: guix-git/doc/guix.texi:15421
  22022. #, no-wrap
  22023. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22024. msgstr ""
  22025. #. type: table
  22026. #: guix-git/doc/guix.texi:15426
  22027. 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}} (@pxref{Substitutes}). See @code{substitute-urls} below for an example on how to change it."
  22028. msgstr ""
  22029. #. type: item
  22030. #: guix-git/doc/guix.texi:15427
  22031. #, no-wrap
  22032. msgid "@code{use-substitutes?} (default: @code{#t})"
  22033. msgstr ""
  22034. #. type: table
  22035. #: guix-git/doc/guix.texi:15429
  22036. msgid "Whether to use substitutes."
  22037. msgstr ""
  22038. #. type: item
  22039. #: guix-git/doc/guix.texi:15430
  22040. #, no-wrap
  22041. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22042. msgstr ""
  22043. #. type: table
  22044. #: guix-git/doc/guix.texi:15432
  22045. msgid "The list of URLs where to look for substitutes by default."
  22046. msgstr ""
  22047. #. type: table
  22048. #: guix-git/doc/guix.texi:15439
  22049. msgid "Suppose you would like to fetch substitutes from @code{guix.example.org} in addition to @code{@value{SUBSTITUTE-SERVER}}. 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:"
  22050. msgstr ""
  22051. #. type: lisp
  22052. #: guix-git/doc/guix.texi:15448
  22053. #, no-wrap
  22054. msgid ""
  22055. "(guix-configuration\n"
  22056. " (substitute-urls\n"
  22057. " (append (list \"https://guix.example.org\")\n"
  22058. " %default-substitute-urls))\n"
  22059. " (authorized-keys\n"
  22060. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22061. " %default-authorized-guix-keys)))\n"
  22062. msgstr ""
  22063. #. type: table
  22064. #: guix-git/doc/guix.texi:15453
  22065. 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."
  22066. msgstr ""
  22067. #. type: item
  22068. #: guix-git/doc/guix.texi:15454
  22069. #, no-wrap
  22070. msgid "@code{max-silent-time} (default: @code{0})"
  22071. msgstr ""
  22072. #. type: itemx
  22073. #: guix-git/doc/guix.texi:15455
  22074. #, no-wrap
  22075. msgid "@code{timeout} (default: @code{0})"
  22076. msgstr ""
  22077. #. type: table
  22078. #: guix-git/doc/guix.texi:15459
  22079. 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."
  22080. msgstr ""
  22081. #. type: item
  22082. #: guix-git/doc/guix.texi:15460
  22083. #, no-wrap
  22084. msgid "@code{log-compression} (default: @code{'bzip2})"
  22085. msgstr ""
  22086. #. type: table
  22087. #: guix-git/doc/guix.texi:15463
  22088. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22089. msgstr ""
  22090. #. type: item
  22091. #: guix-git/doc/guix.texi:15464
  22092. #, no-wrap
  22093. msgid "@code{discover?} (default: @code{#f})"
  22094. msgstr ""
  22095. #. type: table
  22096. #: guix-git/doc/guix.texi:15470
  22097. msgid "List of extra command-line options for @command{guix-daemon}."
  22098. msgstr ""
  22099. #. type: item
  22100. #: guix-git/doc/guix.texi:15471
  22101. #, no-wrap
  22102. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22103. msgstr ""
  22104. #. type: table
  22105. #: guix-git/doc/guix.texi:15474
  22106. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22107. msgstr ""
  22108. #. type: cindex
  22109. #: guix-git/doc/guix.texi:15475
  22110. #, no-wrap
  22111. msgid "HTTP proxy, for @code{guix-daemon}"
  22112. msgstr ""
  22113. #. type: cindex
  22114. #: guix-git/doc/guix.texi:15476
  22115. #, no-wrap
  22116. msgid "proxy, for @code{guix-daemon} HTTP access"
  22117. msgstr ""
  22118. #. type: item
  22119. #: guix-git/doc/guix.texi:15477
  22120. #, no-wrap
  22121. msgid "@code{http-proxy} (default: @code{#f})"
  22122. msgstr ""
  22123. #. type: table
  22124. #: guix-git/doc/guix.texi:15480
  22125. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  22126. msgstr ""
  22127. #. type: table
  22128. #: guix-git/doc/guix.texi:15483
  22129. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  22130. msgstr ""
  22131. #. type: example
  22132. #: guix-git/doc/guix.texi:15486
  22133. #, no-wrap
  22134. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  22135. msgstr ""
  22136. #. type: table
  22137. #: guix-git/doc/guix.texi:15489
  22138. msgid "To clear the proxy settings, run:"
  22139. msgstr ""
  22140. #. type: example
  22141. #: guix-git/doc/guix.texi:15492
  22142. #, no-wrap
  22143. msgid "herd set-http-proxy guix-daemon\n"
  22144. msgstr ""
  22145. #. type: item
  22146. #: guix-git/doc/guix.texi:15494
  22147. #, no-wrap
  22148. msgid "@code{tmpdir} (default: @code{#f})"
  22149. msgstr ""
  22150. #. type: table
  22151. #: guix-git/doc/guix.texi:15496
  22152. msgid "A directory path where the @command{guix-daemon} will perform builds."
  22153. msgstr ""
  22154. #. type: deffn
  22155. #: guix-git/doc/guix.texi:15500
  22156. #, no-wrap
  22157. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  22158. msgstr ""
  22159. #. type: deffn
  22160. #: guix-git/doc/guix.texi:15506
  22161. 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."
  22162. msgstr ""
  22163. #. type: deffn
  22164. #: guix-git/doc/guix.texi:15509
  22165. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  22166. msgstr ""
  22167. #. type: deffn
  22168. #: guix-git/doc/guix.texi:15511
  22169. #, no-wrap
  22170. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  22171. msgstr ""
  22172. #. type: deffn
  22173. #: guix-git/doc/guix.texi:15514
  22174. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  22175. msgstr ""
  22176. #. type: deffn
  22177. #: guix-git/doc/guix.texi:15518
  22178. 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."
  22179. msgstr ""
  22180. #. type: lisp
  22181. #: guix-git/doc/guix.texi:15526
  22182. #, no-wrap
  22183. msgid ""
  22184. "(define %example-udev-rule\n"
  22185. " (udev-rule\n"
  22186. " \"90-usb-thing.rules\"\n"
  22187. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  22188. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  22189. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  22190. msgstr ""
  22191. #. type: deffn
  22192. #: guix-git/doc/guix.texi:15529
  22193. #, no-wrap
  22194. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  22195. msgstr ""
  22196. #. type: deffn
  22197. #: guix-git/doc/guix.texi:15536
  22198. 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."
  22199. msgstr ""
  22200. #. type: deffn
  22201. #: guix-git/doc/guix.texi:15539
  22202. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  22203. msgstr ""
  22204. #. type: lisp
  22205. #: guix-git/doc/guix.texi:15546
  22206. #, no-wrap
  22207. msgid ""
  22208. "(operating-system\n"
  22209. " ;; @dots{}\n"
  22210. " (services\n"
  22211. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  22212. " %desktop-services)))\n"
  22213. msgstr ""
  22214. #. type: deffn
  22215. #: guix-git/doc/guix.texi:15549
  22216. #, no-wrap
  22217. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  22218. msgstr ""
  22219. #. type: deffn
  22220. #: guix-git/doc/guix.texi:15552
  22221. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  22222. msgstr ""
  22223. #. type: deffn
  22224. #: guix-git/doc/guix.texi:15554
  22225. msgid "The following example showcases how we can use an existing rule file."
  22226. msgstr ""
  22227. #. type: lisp
  22228. #: guix-git/doc/guix.texi:15559
  22229. #, no-wrap
  22230. msgid ""
  22231. "(use-modules (guix download) ;for url-fetch\n"
  22232. " (guix packages) ;for origin\n"
  22233. " @dots{})\n"
  22234. "\n"
  22235. msgstr ""
  22236. #. type: lisp
  22237. #: guix-git/doc/guix.texi:15570
  22238. #, no-wrap
  22239. msgid ""
  22240. "(define %android-udev-rules\n"
  22241. " (file->udev-rule\n"
  22242. " \"51-android-udev.rules\"\n"
  22243. " (let ((version \"20170910\"))\n"
  22244. " (origin\n"
  22245. " (method url-fetch)\n"
  22246. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  22247. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  22248. " (sha256\n"
  22249. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  22250. msgstr ""
  22251. #. type: Plain text
  22252. #: guix-git/doc/guix.texi:15579
  22253. 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."
  22254. msgstr ""
  22255. #. type: Plain text
  22256. #: guix-git/doc/guix.texi:15588
  22257. 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."
  22258. msgstr ""
  22259. #. type: lisp
  22260. #: guix-git/doc/guix.texi:15593
  22261. #, no-wrap
  22262. msgid ""
  22263. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  22264. " (gnu system shadow) ;for user-group\n"
  22265. " @dots{})\n"
  22266. "\n"
  22267. msgstr ""
  22268. #. type: lisp
  22269. #: guix-git/doc/guix.texi:15606
  22270. #, no-wrap
  22271. msgid ""
  22272. "(operating-system\n"
  22273. " ;; @dots{}\n"
  22274. " (users (cons (user-account\n"
  22275. " ;; @dots{}\n"
  22276. " (supplementary-groups\n"
  22277. " '(\"adbusers\" ;for adb\n"
  22278. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  22279. " ;; @dots{}\n"
  22280. " (services\n"
  22281. " (cons (udev-rules-service 'android android-udev-rules\n"
  22282. " #:groups '(\"adbusers\"))\n"
  22283. " %desktop-services)))\n"
  22284. msgstr ""
  22285. #. type: defvr
  22286. #: guix-git/doc/guix.texi:15608
  22287. #, no-wrap
  22288. msgid "{Scheme Variable} urandom-seed-service-type"
  22289. msgstr ""
  22290. #. type: defvr
  22291. #: guix-git/doc/guix.texi:15613
  22292. 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."
  22293. msgstr ""
  22294. #. type: defvr
  22295. #: guix-git/doc/guix.texi:15615
  22296. #, no-wrap
  22297. msgid "{Scheme Variable} %random-seed-file"
  22298. msgstr ""
  22299. #. type: defvr
  22300. #: guix-git/doc/guix.texi:15619
  22301. 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}."
  22302. msgstr ""
  22303. #. type: cindex
  22304. #: guix-git/doc/guix.texi:15621
  22305. #, no-wrap
  22306. msgid "mouse"
  22307. msgstr ""
  22308. #. type: cindex
  22309. #: guix-git/doc/guix.texi:15622
  22310. #, no-wrap
  22311. msgid "gpm"
  22312. msgstr ""
  22313. #. type: defvr
  22314. #: guix-git/doc/guix.texi:15623
  22315. #, no-wrap
  22316. msgid "{Scheme Variable} gpm-service-type"
  22317. msgstr ""
  22318. #. type: defvr
  22319. #: guix-git/doc/guix.texi:15628
  22320. 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."
  22321. msgstr ""
  22322. #. type: defvr
  22323. #: guix-git/doc/guix.texi:15631
  22324. 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}."
  22325. msgstr ""
  22326. #. type: deftp
  22327. #: guix-git/doc/guix.texi:15633
  22328. #, no-wrap
  22329. msgid "{Data Type} gpm-configuration"
  22330. msgstr ""
  22331. #. type: deftp
  22332. #: guix-git/doc/guix.texi:15635
  22333. msgid "Data type representing the configuration of GPM."
  22334. msgstr ""
  22335. #. type: item
  22336. #: guix-git/doc/guix.texi:15637
  22337. #, no-wrap
  22338. msgid "@code{options} (default: @code{%default-gpm-options})"
  22339. msgstr ""
  22340. #. type: table
  22341. #: guix-git/doc/guix.texi:15642
  22342. 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."
  22343. msgstr ""
  22344. #. type: item
  22345. #: guix-git/doc/guix.texi:15643
  22346. #, no-wrap
  22347. msgid "@code{gpm} (default: @code{gpm})"
  22348. msgstr ""
  22349. #. type: table
  22350. #: guix-git/doc/guix.texi:15645
  22351. msgid "The GPM package to use."
  22352. msgstr ""
  22353. #. type: anchor{#1}
  22354. #: guix-git/doc/guix.texi:15650
  22355. msgid "guix-publish-service-type"
  22356. msgstr ""
  22357. #. type: deffn
  22358. #: guix-git/doc/guix.texi:15650
  22359. #, no-wrap
  22360. msgid "{Scheme Variable} guix-publish-service-type"
  22361. msgstr ""
  22362. #. type: deffn
  22363. #: guix-git/doc/guix.texi:15654
  22364. 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."
  22365. msgstr ""
  22366. #. type: deffn
  22367. #: guix-git/doc/guix.texi:15658
  22368. 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."
  22369. msgstr ""
  22370. #. type: deftp
  22371. #: guix-git/doc/guix.texi:15660
  22372. #, no-wrap
  22373. msgid "{Data Type} guix-publish-configuration"
  22374. msgstr ""
  22375. #. type: deftp
  22376. #: guix-git/doc/guix.texi:15663
  22377. msgid "Data type representing the configuration of the @code{guix publish} service."
  22378. msgstr ""
  22379. #. type: item
  22380. #: guix-git/doc/guix.texi:15665
  22381. #, no-wrap
  22382. msgid "@code{guix} (default: @code{guix})"
  22383. msgstr ""
  22384. #. type: item
  22385. #: guix-git/doc/guix.texi:15668 guix-git/doc/guix.texi:29638
  22386. #, no-wrap
  22387. msgid "@code{port} (default: @code{80})"
  22388. msgstr ""
  22389. #. type: table
  22390. #: guix-git/doc/guix.texi:15670
  22391. msgid "The TCP port to listen for connections."
  22392. msgstr ""
  22393. #. type: item
  22394. #: guix-git/doc/guix.texi:15671 guix-git/doc/guix.texi:27277
  22395. #, no-wrap
  22396. msgid "@code{host} (default: @code{\"localhost\"})"
  22397. msgstr ""
  22398. #. type: table
  22399. #: guix-git/doc/guix.texi:15674
  22400. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  22401. msgstr ""
  22402. #. type: item
  22403. #: guix-git/doc/guix.texi:15675
  22404. #, no-wrap
  22405. msgid "@code{advertise?} (default: @code{#f})"
  22406. msgstr ""
  22407. #. type: table
  22408. #: guix-git/doc/guix.texi:15678
  22409. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  22410. msgstr ""
  22411. #. type: table
  22412. #: guix-git/doc/guix.texi:15682
  22413. 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."
  22414. msgstr ""
  22415. #. type: item
  22416. #: guix-git/doc/guix.texi:15683
  22417. #, no-wrap
  22418. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  22419. msgstr ""
  22420. #. type: table
  22421. #: guix-git/doc/guix.texi:15687
  22422. 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:"
  22423. msgstr ""
  22424. #. type: lisp
  22425. #: guix-git/doc/guix.texi:15690
  22426. #, no-wrap
  22427. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  22428. msgstr ""
  22429. #. type: table
  22430. #: guix-git/doc/guix.texi:15696
  22431. 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."
  22432. msgstr ""
  22433. #. type: table
  22434. #: guix-git/doc/guix.texi:15698
  22435. msgid "An empty list disables compression altogether."
  22436. msgstr ""
  22437. #. type: item
  22438. #: guix-git/doc/guix.texi:15699
  22439. #, no-wrap
  22440. msgid "@code{nar-path} (default: @code{\"nar\"})"
  22441. msgstr ""
  22442. #. type: table
  22443. #: guix-git/doc/guix.texi:15702
  22444. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  22445. msgstr ""
  22446. #. type: item
  22447. #: guix-git/doc/guix.texi:15703
  22448. #, no-wrap
  22449. msgid "@code{cache} (default: @code{#f})"
  22450. msgstr ""
  22451. #. type: table
  22452. #: guix-git/doc/guix.texi:15709
  22453. 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."
  22454. msgstr ""
  22455. #. type: item
  22456. #: guix-git/doc/guix.texi:15710
  22457. #, no-wrap
  22458. msgid "@code{workers} (default: @code{#f})"
  22459. msgstr ""
  22460. #. type: table
  22461. #: guix-git/doc/guix.texi:15714
  22462. 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."
  22463. msgstr ""
  22464. #. type: item
  22465. #: guix-git/doc/guix.texi:15715
  22466. #, no-wrap
  22467. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  22468. msgstr ""
  22469. #. type: table
  22470. #: guix-git/doc/guix.texi:15720
  22471. 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."
  22472. msgstr ""
  22473. #. type: item
  22474. #: guix-git/doc/guix.texi:15721
  22475. #, no-wrap
  22476. msgid "@code{ttl} (default: @code{#f})"
  22477. msgstr ""
  22478. #. type: table
  22479. #: guix-git/doc/guix.texi:15725
  22480. 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."
  22481. msgstr ""
  22482. #. type: anchor{#1}
  22483. #: guix-git/doc/guix.texi:15729
  22484. msgid "rngd-service"
  22485. msgstr ""
  22486. #. type: deffn
  22487. #: guix-git/doc/guix.texi:15729
  22488. #, no-wrap
  22489. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  22490. msgstr ""
  22491. #. type: deffn
  22492. #: guix-git/doc/guix.texi:15734
  22493. 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."
  22494. msgstr ""
  22495. #. type: anchor{#1}
  22496. #: guix-git/doc/guix.texi:15737
  22497. msgid "pam-limits-service"
  22498. msgstr ""
  22499. #. type: cindex
  22500. #: guix-git/doc/guix.texi:15737
  22501. #, no-wrap
  22502. msgid "session limits"
  22503. msgstr ""
  22504. #. type: cindex
  22505. #: guix-git/doc/guix.texi:15738
  22506. #, no-wrap
  22507. msgid "ulimit"
  22508. msgstr ""
  22509. #. type: cindex
  22510. #: guix-git/doc/guix.texi:15739
  22511. #, no-wrap
  22512. msgid "priority"
  22513. msgstr ""
  22514. #. type: cindex
  22515. #: guix-git/doc/guix.texi:15740
  22516. #, no-wrap
  22517. msgid "realtime"
  22518. msgstr ""
  22519. #. type: cindex
  22520. #: guix-git/doc/guix.texi:15741
  22521. #, no-wrap
  22522. msgid "jackd"
  22523. msgstr ""
  22524. #. type: cindex
  22525. #: guix-git/doc/guix.texi:15742
  22526. #, no-wrap
  22527. msgid "nofile"
  22528. msgstr ""
  22529. #. type: cindex
  22530. #: guix-git/doc/guix.texi:15743
  22531. #, no-wrap
  22532. msgid "open file descriptors"
  22533. msgstr ""
  22534. #. type: deffn
  22535. #: guix-git/doc/guix.texi:15744
  22536. #, no-wrap
  22537. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  22538. msgstr ""
  22539. #. type: deffn
  22540. #: guix-git/doc/guix.texi:15751
  22541. 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."
  22542. msgstr ""
  22543. #. type: deffn
  22544. #: guix-git/doc/guix.texi:15754
  22545. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  22546. msgstr ""
  22547. #. type: lisp
  22548. #: guix-git/doc/guix.texi:15760
  22549. #, no-wrap
  22550. msgid ""
  22551. "(pam-limits-service\n"
  22552. " (list\n"
  22553. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  22554. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  22555. msgstr ""
  22556. #. type: deffn
  22557. #: guix-git/doc/guix.texi:15766
  22558. 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."
  22559. msgstr ""
  22560. #. type: deffn
  22561. #: guix-git/doc/guix.texi:15769
  22562. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  22563. msgstr ""
  22564. #. type: lisp
  22565. #: guix-git/doc/guix.texi:15774
  22566. #, no-wrap
  22567. msgid ""
  22568. "(pam-limits-service\n"
  22569. " (list\n"
  22570. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  22571. msgstr ""
  22572. #. type: deffn
  22573. #: guix-git/doc/guix.texi:15782
  22574. 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."
  22575. msgstr ""
  22576. #. type: cindex
  22577. #: guix-git/doc/guix.texi:15787
  22578. #, no-wrap
  22579. msgid "cron"
  22580. msgstr ""
  22581. #. type: cindex
  22582. #: guix-git/doc/guix.texi:15788
  22583. #, no-wrap
  22584. msgid "mcron"
  22585. msgstr ""
  22586. #. type: cindex
  22587. #: guix-git/doc/guix.texi:15789
  22588. #, no-wrap
  22589. msgid "scheduling jobs"
  22590. msgstr ""
  22591. #. type: Plain text
  22592. #: guix-git/doc/guix.texi:15796
  22593. 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."
  22594. msgstr ""
  22595. #. type: Plain text
  22596. #: guix-git/doc/guix.texi:15804
  22597. 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})."
  22598. msgstr ""
  22599. #. type: lisp
  22600. #: guix-git/doc/guix.texi:15808
  22601. #, no-wrap
  22602. msgid ""
  22603. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  22604. "(use-package-modules base idutils)\n"
  22605. "\n"
  22606. msgstr ""
  22607. #. type: lisp
  22608. #: guix-git/doc/guix.texi:15817
  22609. #, no-wrap
  22610. msgid ""
  22611. "(define updatedb-job\n"
  22612. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  22613. " ;; job's action as a Scheme procedure.\n"
  22614. " #~(job '(next-hour '(3))\n"
  22615. " (lambda ()\n"
  22616. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  22617. " \"updatedb\"\n"
  22618. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))))\n"
  22619. "\n"
  22620. msgstr ""
  22621. #. type: lisp
  22622. #: guix-git/doc/guix.texi:15823
  22623. #, no-wrap
  22624. msgid ""
  22625. "(define garbage-collector-job\n"
  22626. " ;; Collect garbage 5 minutes after midnight every day.\n"
  22627. " ;; The job's action is a shell command.\n"
  22628. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  22629. " \"guix gc -F 1G\"))\n"
  22630. "\n"
  22631. msgstr ""
  22632. #. type: lisp
  22633. #: guix-git/doc/guix.texi:15830
  22634. #, no-wrap
  22635. msgid ""
  22636. "(define idutils-job\n"
  22637. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  22638. " ;; and 19:15PM. This runs from the user's home directory.\n"
  22639. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  22640. " (string-append #$idutils \"/bin/mkid src\")\n"
  22641. " #:user \"charlie\"))\n"
  22642. "\n"
  22643. msgstr ""
  22644. #. type: lisp
  22645. #: guix-git/doc/guix.texi:15833
  22646. #, no-wrap
  22647. msgid ""
  22648. "(operating-system\n"
  22649. " ;; @dots{}\n"
  22650. "\n"
  22651. msgstr ""
  22652. #. type: lisp
  22653. #: guix-git/doc/guix.texi:15843
  22654. #, no-wrap
  22655. msgid ""
  22656. " ;; %BASE-SERVICES already includes an instance of\n"
  22657. " ;; 'mcron-service-type', which we extend with additional\n"
  22658. " ;; jobs using 'simple-service'.\n"
  22659. " (services (cons (simple-service 'my-cron-jobs\n"
  22660. " mcron-service-type\n"
  22661. " (list garbage-collector-job\n"
  22662. " updatedb-job\n"
  22663. " idutils-job))\n"
  22664. " %base-services)))\n"
  22665. msgstr ""
  22666. #. type: Plain text
  22667. #: guix-git/doc/guix.texi:15850
  22668. 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."
  22669. msgstr ""
  22670. #. type: lisp
  22671. #: guix-git/doc/guix.texi:15866
  22672. #, no-wrap
  22673. msgid ""
  22674. "(define %battery-alert-job\n"
  22675. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  22676. " #~(job\n"
  22677. " '(next-minute (range 0 60 1))\n"
  22678. " #$(program-file\n"
  22679. " \"battery-alert.scm\"\n"
  22680. " (with-imported-modules (source-module-closure\n"
  22681. " '((guix build utils)))\n"
  22682. " #~(begin\n"
  22683. " (use-modules (guix build utils)\n"
  22684. " (ice-9 popen)\n"
  22685. " (ice-9 regex)\n"
  22686. " (ice-9 textual-ports)\n"
  22687. " (srfi srfi-2))\n"
  22688. "\n"
  22689. msgstr ""
  22690. #. type: lisp
  22691. #: guix-git/doc/guix.texi:15868
  22692. #, no-wrap
  22693. msgid ""
  22694. " (define %min-level 20)\n"
  22695. "\n"
  22696. msgstr ""
  22697. #. type: lisp
  22698. #: guix-git/doc/guix.texi:15879
  22699. #, no-wrap
  22700. msgid ""
  22701. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  22702. " (and-let* ((input-pipe (open-pipe*\n"
  22703. " OPEN_READ\n"
  22704. " #$(file-append acpi \"/bin/acpi\")))\n"
  22705. " (output (get-string-all input-pipe))\n"
  22706. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  22707. " (level (string->number (match:substring m 1)))\n"
  22708. " ((< level %min-level)))\n"
  22709. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  22710. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  22711. msgstr ""
  22712. #. type: Plain text
  22713. #: guix-git/doc/guix.texi:15884
  22714. 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."
  22715. msgstr ""
  22716. #. type: Plain text
  22717. #: guix-git/doc/guix.texi:15887
  22718. 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:"
  22719. msgstr ""
  22720. #. type: example
  22721. #: guix-git/doc/guix.texi:15890
  22722. #, no-wrap
  22723. msgid "# herd schedule mcron\n"
  22724. msgstr ""
  22725. #. type: Plain text
  22726. #: guix-git/doc/guix.texi:15895
  22727. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  22728. msgstr ""
  22729. #. type: example
  22730. #: guix-git/doc/guix.texi:15898
  22731. #, no-wrap
  22732. msgid "# herd schedule mcron 10\n"
  22733. msgstr ""
  22734. #. type: defvr
  22735. #: guix-git/doc/guix.texi:15900
  22736. #, no-wrap
  22737. msgid "{Scheme Variable} mcron-service-type"
  22738. msgstr ""
  22739. #. type: defvr
  22740. #: guix-git/doc/guix.texi:15903
  22741. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  22742. msgstr ""
  22743. #. type: defvr
  22744. #: guix-git/doc/guix.texi:15908
  22745. msgid "This service type can be the target of a service extension that provides it additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  22746. msgstr ""
  22747. #. type: deftp
  22748. #: guix-git/doc/guix.texi:15910
  22749. #, no-wrap
  22750. msgid "{Data Type} mcron-configuration"
  22751. msgstr ""
  22752. #. type: deftp
  22753. #: guix-git/doc/guix.texi:15912
  22754. msgid "Data type representing the configuration of mcron."
  22755. msgstr ""
  22756. #. type: item
  22757. #: guix-git/doc/guix.texi:15914
  22758. #, no-wrap
  22759. msgid "@code{mcron} (default: @var{mcron})"
  22760. msgstr ""
  22761. #. type: table
  22762. #: guix-git/doc/guix.texi:15916
  22763. msgid "The mcron package to use."
  22764. msgstr ""
  22765. #. type: code{#1}
  22766. #: guix-git/doc/guix.texi:15917 guix-git/doc/guix.texi:15986
  22767. #, no-wrap
  22768. msgid "jobs"
  22769. msgstr ""
  22770. #. type: table
  22771. #: guix-git/doc/guix.texi:15921
  22772. 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})."
  22773. msgstr ""
  22774. #. type: cindex
  22775. #: guix-git/doc/guix.texi:15928
  22776. #, no-wrap
  22777. msgid "rottlog"
  22778. msgstr ""
  22779. #. type: cindex
  22780. #: guix-git/doc/guix.texi:15929
  22781. #, no-wrap
  22782. msgid "log rotation"
  22783. msgstr ""
  22784. #. type: Plain text
  22785. #: guix-git/doc/guix.texi:15936
  22786. 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})."
  22787. msgstr ""
  22788. #. type: Plain text
  22789. #: guix-git/doc/guix.texi:15942
  22790. 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):"
  22791. msgstr ""
  22792. #. type: lisp
  22793. #: guix-git/doc/guix.texi:15946
  22794. #, no-wrap
  22795. msgid ""
  22796. "(use-modules (guix) (gnu))\n"
  22797. "(use-service-modules admin)\n"
  22798. "\n"
  22799. msgstr ""
  22800. #. type: lisp
  22801. #: guix-git/doc/guix.texi:15950
  22802. #, no-wrap
  22803. msgid ""
  22804. "(define my-log-files\n"
  22805. " ;; Log files that I want to rotate.\n"
  22806. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  22807. "\n"
  22808. msgstr ""
  22809. #. type: lisp
  22810. #: guix-git/doc/guix.texi:15959
  22811. #, no-wrap
  22812. msgid ""
  22813. "(operating-system\n"
  22814. " ;; @dots{}\n"
  22815. " (services (cons (simple-service 'rotate-my-stuff\n"
  22816. " rottlog-service-type\n"
  22817. " (list (log-rotation\n"
  22818. " (frequency 'daily)\n"
  22819. " (files my-log-files))))\n"
  22820. " %base-services)))\n"
  22821. msgstr ""
  22822. #. type: defvr
  22823. #: guix-git/doc/guix.texi:15961
  22824. #, no-wrap
  22825. msgid "{Scheme Variable} rottlog-service-type"
  22826. msgstr ""
  22827. #. type: defvr
  22828. #: guix-git/doc/guix.texi:15964
  22829. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  22830. msgstr ""
  22831. #. type: defvr
  22832. #: guix-git/doc/guix.texi:15967
  22833. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  22834. msgstr ""
  22835. #. type: defvr
  22836. #: guix-git/doc/guix.texi:15970
  22837. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  22838. msgstr ""
  22839. #. type: deftp
  22840. #: guix-git/doc/guix.texi:15972
  22841. #, no-wrap
  22842. msgid "{Data Type} rottlog-configuration"
  22843. msgstr ""
  22844. #. type: deftp
  22845. #: guix-git/doc/guix.texi:15974
  22846. msgid "Data type representing the configuration of rottlog."
  22847. msgstr ""
  22848. #. type: item
  22849. #: guix-git/doc/guix.texi:15976
  22850. #, no-wrap
  22851. msgid "@code{rottlog} (default: @code{rottlog})"
  22852. msgstr ""
  22853. #. type: table
  22854. #: guix-git/doc/guix.texi:15978
  22855. msgid "The Rottlog package to use."
  22856. msgstr ""
  22857. #. type: item
  22858. #: guix-git/doc/guix.texi:15979
  22859. #, no-wrap
  22860. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  22861. msgstr ""
  22862. #. type: table
  22863. #: guix-git/doc/guix.texi:15982
  22864. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  22865. msgstr ""
  22866. #. type: item
  22867. #: guix-git/doc/guix.texi:15983
  22868. #, no-wrap
  22869. msgid "@code{rotations} (default: @code{%default-rotations})"
  22870. msgstr ""
  22871. #. type: table
  22872. #: guix-git/doc/guix.texi:15985
  22873. msgid "A list of @code{log-rotation} objects as defined below."
  22874. msgstr ""
  22875. #. type: table
  22876. #: guix-git/doc/guix.texi:15989
  22877. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  22878. msgstr ""
  22879. #. type: deftp
  22880. #: guix-git/doc/guix.texi:15992
  22881. #, no-wrap
  22882. msgid "{Data Type} log-rotation"
  22883. msgstr ""
  22884. #. type: deftp
  22885. #: guix-git/doc/guix.texi:15994
  22886. msgid "Data type representing the rotation of a group of log files."
  22887. msgstr ""
  22888. #. type: deftp
  22889. #: guix-git/doc/guix.texi:15998
  22890. 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:"
  22891. msgstr ""
  22892. #. type: lisp
  22893. #: guix-git/doc/guix.texi:16007
  22894. #, no-wrap
  22895. msgid ""
  22896. "(log-rotation\n"
  22897. " (frequency 'daily)\n"
  22898. " (files '(\"/var/log/apache/*\"))\n"
  22899. " (options '(\"storedir apache-archives\"\n"
  22900. " \"rotate 6\"\n"
  22901. " \"notifempty\"\n"
  22902. " \"nocompress\")))\n"
  22903. msgstr ""
  22904. #. type: deftp
  22905. #: guix-git/doc/guix.texi:16010
  22906. msgid "The list of fields is as follows:"
  22907. msgstr ""
  22908. #. type: item
  22909. #: guix-git/doc/guix.texi:16012
  22910. #, no-wrap
  22911. msgid "@code{frequency} (default: @code{'weekly})"
  22912. msgstr ""
  22913. #. type: table
  22914. #: guix-git/doc/guix.texi:16014
  22915. msgid "The log rotation frequency, a symbol."
  22916. msgstr ""
  22917. #. type: code{#1}
  22918. #: guix-git/doc/guix.texi:16015
  22919. #, no-wrap
  22920. msgid "files"
  22921. msgstr ""
  22922. #. type: table
  22923. #: guix-git/doc/guix.texi:16017
  22924. msgid "The list of files or file glob patterns to rotate."
  22925. msgstr ""
  22926. #. type: item
  22927. #: guix-git/doc/guix.texi:16018
  22928. #, no-wrap
  22929. msgid "@code{options} (default: @code{'()})"
  22930. msgstr ""
  22931. #. type: table
  22932. #: guix-git/doc/guix.texi:16021
  22933. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  22934. msgstr ""
  22935. #. type: item
  22936. #: guix-git/doc/guix.texi:16022
  22937. #, no-wrap
  22938. msgid "@code{post-rotate} (default: @code{#f})"
  22939. msgstr ""
  22940. #. type: table
  22941. #: guix-git/doc/guix.texi:16024
  22942. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  22943. msgstr ""
  22944. #. type: defvr
  22945. #: guix-git/doc/guix.texi:16027
  22946. #, no-wrap
  22947. msgid "{Scheme Variable} %default-rotations"
  22948. msgstr ""
  22949. #. type: defvr
  22950. #: guix-git/doc/guix.texi:16030
  22951. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  22952. msgstr ""
  22953. #. type: defvr
  22954. #: guix-git/doc/guix.texi:16032
  22955. #, no-wrap
  22956. msgid "{Scheme Variable} %rotated-files"
  22957. msgstr ""
  22958. #. type: defvr
  22959. #: guix-git/doc/guix.texi:16036
  22960. 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\")}."
  22961. msgstr ""
  22962. #. type: Plain text
  22963. #: guix-git/doc/guix.texi:16043
  22964. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  22965. msgstr ""
  22966. #. type: cindex
  22967. #: guix-git/doc/guix.texi:16044
  22968. #, no-wrap
  22969. msgid "DHCP, networking service"
  22970. msgstr ""
  22971. #. type: defvr
  22972. #: guix-git/doc/guix.texi:16045
  22973. #, no-wrap
  22974. msgid "{Scheme Variable} dhcp-client-service-type"
  22975. msgstr ""
  22976. #. type: defvr
  22977. #: guix-git/doc/guix.texi:16049
  22978. 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."
  22979. msgstr ""
  22980. #. type: deffn
  22981. #: guix-git/doc/guix.texi:16051
  22982. #, no-wrap
  22983. msgid "{Scheme Procedure} dhcpd-service-type"
  22984. msgstr ""
  22985. #. type: deffn
  22986. #: guix-git/doc/guix.texi:16055
  22987. 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:"
  22988. msgstr ""
  22989. #. type: lisp
  22990. #: guix-git/doc/guix.texi:16061
  22991. #, no-wrap
  22992. msgid ""
  22993. "(service dhcpd-service-type\n"
  22994. " (dhcpd-configuration\n"
  22995. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  22996. " (interfaces '(\"enp0s25\"))))\n"
  22997. msgstr ""
  22998. #. type: deftp
  22999. #: guix-git/doc/guix.texi:16064
  23000. #, no-wrap
  23001. msgid "{Data Type} dhcpd-configuration"
  23002. msgstr ""
  23003. #. type: item
  23004. #: guix-git/doc/guix.texi:16066
  23005. #, no-wrap
  23006. msgid "@code{package} (default: @code{isc-dhcp})"
  23007. msgstr ""
  23008. #. type: table
  23009. #: guix-git/doc/guix.texi:16071
  23010. 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}."
  23011. msgstr ""
  23012. #. type: item
  23013. #: guix-git/doc/guix.texi:16071 guix-git/doc/guix.texi:16327
  23014. #: guix-git/doc/guix.texi:21399
  23015. #, no-wrap
  23016. msgid "@code{config-file} (default: @code{#f})"
  23017. msgstr ""
  23018. #. type: table
  23019. #: guix-git/doc/guix.texi:16076
  23020. 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."
  23021. msgstr ""
  23022. #. type: item
  23023. #: guix-git/doc/guix.texi:16076
  23024. #, no-wrap
  23025. msgid "@code{version} (default: @code{\"4\"})"
  23026. msgstr ""
  23027. #. type: table
  23028. #: guix-git/doc/guix.texi:16081
  23029. 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."
  23030. msgstr ""
  23031. #. type: item
  23032. #: guix-git/doc/guix.texi:16081
  23033. #, no-wrap
  23034. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23035. msgstr ""
  23036. #. type: table
  23037. #: guix-git/doc/guix.texi:16084
  23038. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23039. msgstr ""
  23040. #. type: item
  23041. #: guix-git/doc/guix.texi:16084
  23042. #, no-wrap
  23043. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23044. msgstr ""
  23045. #. type: table
  23046. #: guix-git/doc/guix.texi:16087
  23047. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23048. msgstr ""
  23049. #. type: item
  23050. #: guix-git/doc/guix.texi:16087
  23051. #, no-wrap
  23052. msgid "@code{interfaces} (default: @code{'()})"
  23053. msgstr ""
  23054. #. type: table
  23055. #: guix-git/doc/guix.texi:16093
  23056. 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."
  23057. msgstr ""
  23058. #. type: defvr
  23059. #: guix-git/doc/guix.texi:16096
  23060. #, no-wrap
  23061. msgid "{Scheme Variable} static-networking-service-type"
  23062. msgstr ""
  23063. #. type: defvr
  23064. #: guix-git/doc/guix.texi:16099
  23065. msgid "This is the type for statically-configured network interfaces."
  23066. msgstr ""
  23067. #. type: deffn
  23068. #: guix-git/doc/guix.texi:16101
  23069. #, no-wrap
  23070. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23071. msgstr ""
  23072. #. type: deffn
  23073. #: guix-git/doc/guix.texi:16109
  23074. msgid "[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ [#:requirement @code{'(udev)}] Return a service that starts @var{interface} with address @var{ip}. If @var{netmask} is true, use it as the network mask. If @var{gateway} is true, it must be a string specifying the default network gateway. @var{requirement} can be used to declare a dependency on another service before configuring the interface."
  23075. msgstr ""
  23076. #. type: deffn
  23077. #: guix-git/doc/guix.texi:16114
  23078. msgid "This procedure can be called several times, one for each network interface of interest. Behind the scenes what it does is extend @code{static-networking-service-type} with additional network interfaces to handle."
  23079. msgstr ""
  23080. #. type: defvr
  23081. #: guix-git/doc/guix.texi:16116 guix-git/doc/guix.texi:28950
  23082. msgid "For example:"
  23083. msgstr ""
  23084. #. type: lisp
  23085. #: guix-git/doc/guix.texi:16121
  23086. #, no-wrap
  23087. msgid ""
  23088. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23089. " #:gateway \"192.168.1.2\"\n"
  23090. " #:name-servers '(\"192.168.1.2\"))\n"
  23091. msgstr ""
  23092. #. type: cindex
  23093. #: guix-git/doc/guix.texi:16124
  23094. #, no-wrap
  23095. msgid "wicd"
  23096. msgstr ""
  23097. #. type: cindex
  23098. #: guix-git/doc/guix.texi:16127
  23099. #, no-wrap
  23100. msgid "network management"
  23101. msgstr ""
  23102. #. type: deffn
  23103. #: guix-git/doc/guix.texi:16128
  23104. #, no-wrap
  23105. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23106. msgstr ""
  23107. #. type: deffn
  23108. #: guix-git/doc/guix.texi:16131
  23109. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23110. msgstr ""
  23111. #. type: deffn
  23112. #: guix-git/doc/guix.texi:16136
  23113. 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."
  23114. msgstr ""
  23115. #. type: cindex
  23116. #: guix-git/doc/guix.texi:16138
  23117. #, no-wrap
  23118. msgid "ModemManager"
  23119. msgstr ""
  23120. #. type: defvr
  23121. #: guix-git/doc/guix.texi:16140
  23122. #, no-wrap
  23123. msgid "{Scheme Variable} modem-manager-service-type"
  23124. msgstr ""
  23125. #. type: defvr
  23126. #: guix-git/doc/guix.texi:16145
  23127. 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."
  23128. msgstr ""
  23129. #. type: defvr
  23130. #: guix-git/doc/guix.texi:16148 guix-git/doc/guix.texi:16177
  23131. #: guix-git/doc/guix.texi:16209
  23132. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  23133. msgstr ""
  23134. #. type: deftp
  23135. #: guix-git/doc/guix.texi:16150
  23136. #, no-wrap
  23137. msgid "{Data Type} modem-manager-configuration"
  23138. msgstr ""
  23139. #. type: deftp
  23140. #: guix-git/doc/guix.texi:16152
  23141. msgid "Data type representing the configuration of ModemManager."
  23142. msgstr ""
  23143. #. type: item
  23144. #: guix-git/doc/guix.texi:16154
  23145. #, no-wrap
  23146. msgid "@code{modem-manager} (default: @code{modem-manager})"
  23147. msgstr ""
  23148. #. type: table
  23149. #: guix-git/doc/guix.texi:16156
  23150. msgid "The ModemManager package to use."
  23151. msgstr ""
  23152. #. type: cindex
  23153. #: guix-git/doc/guix.texi:16160
  23154. #, no-wrap
  23155. msgid "USB_ModeSwitch"
  23156. msgstr ""
  23157. #. type: cindex
  23158. #: guix-git/doc/guix.texi:16161
  23159. #, no-wrap
  23160. msgid "Modeswitching"
  23161. msgstr ""
  23162. #. type: defvr
  23163. #: guix-git/doc/guix.texi:16163
  23164. #, no-wrap
  23165. msgid "{Scheme Variable} usb-modeswitch-service-type"
  23166. msgstr ""
  23167. #. type: defvr
  23168. #: guix-git/doc/guix.texi:16168
  23169. 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."
  23170. msgstr ""
  23171. #. type: defvr
  23172. #: guix-git/doc/guix.texi:16174
  23173. 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."
  23174. msgstr ""
  23175. #. type: deftp
  23176. #: guix-git/doc/guix.texi:16179
  23177. #, no-wrap
  23178. msgid "{Data Type} usb-modeswitch-configuration"
  23179. msgstr ""
  23180. #. type: deftp
  23181. #: guix-git/doc/guix.texi:16181
  23182. msgid "Data type representing the configuration of USB_ModeSwitch."
  23183. msgstr ""
  23184. #. type: item
  23185. #: guix-git/doc/guix.texi:16183
  23186. #, no-wrap
  23187. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  23188. msgstr ""
  23189. #. type: table
  23190. #: guix-git/doc/guix.texi:16185
  23191. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  23192. msgstr ""
  23193. #. type: item
  23194. #: guix-git/doc/guix.texi:16186
  23195. #, no-wrap
  23196. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  23197. msgstr ""
  23198. #. type: table
  23199. #: guix-git/doc/guix.texi:16189
  23200. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  23201. msgstr ""
  23202. #. type: item
  23203. #: guix-git/doc/guix.texi:16190
  23204. #, no-wrap
  23205. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  23206. msgstr ""
  23207. #. type: table
  23208. #: guix-git/doc/guix.texi:16195
  23209. 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."
  23210. msgstr ""
  23211. #. type: cindex
  23212. #: guix-git/doc/guix.texi:16199
  23213. #, no-wrap
  23214. msgid "NetworkManager"
  23215. msgstr ""
  23216. #. type: defvr
  23217. #: guix-git/doc/guix.texi:16201
  23218. #, no-wrap
  23219. msgid "{Scheme Variable} network-manager-service-type"
  23220. msgstr ""
  23221. #. type: defvr
  23222. #: guix-git/doc/guix.texi:16206
  23223. 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."
  23224. msgstr ""
  23225. #. type: deftp
  23226. #: guix-git/doc/guix.texi:16211
  23227. #, no-wrap
  23228. msgid "{Data Type} network-manager-configuration"
  23229. msgstr ""
  23230. #. type: deftp
  23231. #: guix-git/doc/guix.texi:16213
  23232. msgid "Data type representing the configuration of NetworkManager."
  23233. msgstr ""
  23234. #. type: item
  23235. #: guix-git/doc/guix.texi:16215
  23236. #, no-wrap
  23237. msgid "@code{network-manager} (default: @code{network-manager})"
  23238. msgstr ""
  23239. #. type: table
  23240. #: guix-git/doc/guix.texi:16217
  23241. msgid "The NetworkManager package to use."
  23242. msgstr ""
  23243. #. type: item
  23244. #: guix-git/doc/guix.texi:16218
  23245. #, no-wrap
  23246. msgid "@code{dns} (default: @code{\"default\"})"
  23247. msgstr ""
  23248. #. type: table
  23249. #: guix-git/doc/guix.texi:16221
  23250. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  23251. msgstr ""
  23252. #. type: table
  23253. #: guix-git/doc/guix.texi:16226
  23254. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  23255. msgstr ""
  23256. #. type: item
  23257. #: guix-git/doc/guix.texi:16227
  23258. #, no-wrap
  23259. msgid "dnsmasq"
  23260. msgstr ""
  23261. #. type: table
  23262. #: guix-git/doc/guix.texi:16231
  23263. 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."
  23264. msgstr ""
  23265. #. type: table
  23266. #: guix-git/doc/guix.texi:16237
  23267. 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)."
  23268. msgstr ""
  23269. #. type: table
  23270. #: guix-git/doc/guix.texi:16244
  23271. 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:"
  23272. msgstr ""
  23273. #. type: example
  23274. #: guix-git/doc/guix.texi:16251
  23275. #, no-wrap
  23276. msgid ""
  23277. "nmcli connection add type tun \\\n"
  23278. " connection.interface-name tap0 \\\n"
  23279. " tun.mode tap tun.owner $(id -u) \\\n"
  23280. " ipv4.method shared \\\n"
  23281. " ipv4.addresses 172.28.112.1/24\n"
  23282. msgstr ""
  23283. #. type: table
  23284. #: guix-git/doc/guix.texi:16256
  23285. 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-...}."
  23286. msgstr ""
  23287. #. type: table
  23288. #: guix-git/doc/guix.texi:16259
  23289. msgid "NetworkManager will not modify @code{resolv.conf}."
  23290. msgstr ""
  23291. #. type: item
  23292. #: guix-git/doc/guix.texi:16261
  23293. #, no-wrap
  23294. msgid "@code{vpn-plugins} (default: @code{'()})"
  23295. msgstr ""
  23296. #. type: table
  23297. #: guix-git/doc/guix.texi:16265
  23298. 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."
  23299. msgstr ""
  23300. #. type: cindex
  23301. #: guix-git/doc/guix.texi:16269
  23302. #, no-wrap
  23303. msgid "Connman"
  23304. msgstr ""
  23305. #. type: deffn
  23306. #: guix-git/doc/guix.texi:16270
  23307. #, no-wrap
  23308. msgid "{Scheme Variable} connman-service-type"
  23309. msgstr ""
  23310. #. type: deffn
  23311. #: guix-git/doc/guix.texi:16273
  23312. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  23313. msgstr ""
  23314. #. type: deffn
  23315. #: guix-git/doc/guix.texi:16276
  23316. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  23317. msgstr ""
  23318. #. type: lisp
  23319. #: guix-git/doc/guix.texi:16281
  23320. #, no-wrap
  23321. msgid ""
  23322. "(service connman-service-type\n"
  23323. " (connman-configuration\n"
  23324. " (disable-vpn? #t)))\n"
  23325. msgstr ""
  23326. #. type: deffn
  23327. #: guix-git/doc/guix.texi:16284
  23328. msgid "See below for details about @code{connman-configuration}."
  23329. msgstr ""
  23330. #. type: deftp
  23331. #: guix-git/doc/guix.texi:16286
  23332. #, no-wrap
  23333. msgid "{Data Type} connman-configuration"
  23334. msgstr ""
  23335. #. type: deftp
  23336. #: guix-git/doc/guix.texi:16288
  23337. msgid "Data Type representing the configuration of connman."
  23338. msgstr ""
  23339. #. type: item
  23340. #: guix-git/doc/guix.texi:16290
  23341. #, no-wrap
  23342. msgid "@code{connman} (default: @var{connman})"
  23343. msgstr ""
  23344. #. type: table
  23345. #: guix-git/doc/guix.texi:16292
  23346. msgid "The connman package to use."
  23347. msgstr ""
  23348. #. type: item
  23349. #: guix-git/doc/guix.texi:16293
  23350. #, no-wrap
  23351. msgid "@code{disable-vpn?} (default: @code{#f})"
  23352. msgstr ""
  23353. #. type: table
  23354. #: guix-git/doc/guix.texi:16295
  23355. msgid "When true, disable connman's vpn plugin."
  23356. msgstr ""
  23357. #. type: cindex
  23358. #: guix-git/doc/guix.texi:16298
  23359. #, no-wrap
  23360. msgid "WPA Supplicant"
  23361. msgstr ""
  23362. #. type: defvr
  23363. #: guix-git/doc/guix.texi:16299
  23364. #, no-wrap
  23365. msgid "{Scheme Variable} wpa-supplicant-service-type"
  23366. msgstr ""
  23367. #. type: defvr
  23368. #: guix-git/doc/guix.texi:16303
  23369. 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."
  23370. msgstr ""
  23371. #. type: deftp
  23372. #: guix-git/doc/guix.texi:16305
  23373. #, no-wrap
  23374. msgid "{Data Type} wpa-supplicant-configuration"
  23375. msgstr ""
  23376. #. type: deftp
  23377. #: guix-git/doc/guix.texi:16307
  23378. msgid "Data type representing the configuration of WPA Supplicant."
  23379. msgstr ""
  23380. #. type: deftp
  23381. #: guix-git/doc/guix.texi:16309 guix-git/doc/guix.texi:30962
  23382. msgid "It takes the following parameters:"
  23383. msgstr ""
  23384. #. type: item
  23385. #: guix-git/doc/guix.texi:16311
  23386. #, no-wrap
  23387. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  23388. msgstr ""
  23389. #. type: table
  23390. #: guix-git/doc/guix.texi:16313
  23391. msgid "The WPA Supplicant package to use."
  23392. msgstr ""
  23393. #. type: item
  23394. #: guix-git/doc/guix.texi:16314
  23395. #, no-wrap
  23396. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  23397. msgstr ""
  23398. #. type: table
  23399. #: guix-git/doc/guix.texi:16316
  23400. msgid "List of services that should be started before WPA Supplicant starts."
  23401. msgstr ""
  23402. #. type: item
  23403. #: guix-git/doc/guix.texi:16317
  23404. #, no-wrap
  23405. msgid "@code{dbus?} (default: @code{#t})"
  23406. msgstr ""
  23407. #. type: table
  23408. #: guix-git/doc/guix.texi:16319
  23409. msgid "Whether to listen for requests on D-Bus."
  23410. msgstr ""
  23411. #. type: item
  23412. #: guix-git/doc/guix.texi:16320
  23413. #, no-wrap
  23414. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  23415. msgstr ""
  23416. #. type: table
  23417. #: guix-git/doc/guix.texi:16322
  23418. msgid "Where to store the PID file."
  23419. msgstr ""
  23420. #. type: item
  23421. #: guix-git/doc/guix.texi:16323 guix-git/doc/guix.texi:29407
  23422. #: guix-git/doc/guix.texi:29549
  23423. #, no-wrap
  23424. msgid "@code{interface} (default: @code{#f})"
  23425. msgstr ""
  23426. #. type: table
  23427. #: guix-git/doc/guix.texi:16326
  23428. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  23429. msgstr ""
  23430. #. type: table
  23431. #: guix-git/doc/guix.texi:16329
  23432. msgid "Optional configuration file to use."
  23433. msgstr ""
  23434. #. type: table
  23435. #: guix-git/doc/guix.texi:16332
  23436. msgid "List of additional command-line arguments to pass to the daemon."
  23437. msgstr ""
  23438. #. type: cindex
  23439. #: guix-git/doc/guix.texi:16335
  23440. #, no-wrap
  23441. msgid "hostapd service, for Wi-Fi access points"
  23442. msgstr ""
  23443. #. type: cindex
  23444. #: guix-git/doc/guix.texi:16336
  23445. #, no-wrap
  23446. msgid "Wi-Fi access points, hostapd service"
  23447. msgstr ""
  23448. #. type: defvr
  23449. #: guix-git/doc/guix.texi:16337
  23450. #, no-wrap
  23451. msgid "{Scheme Variable} hostapd-service-type"
  23452. msgstr ""
  23453. #. type: defvr
  23454. #: guix-git/doc/guix.texi:16342
  23455. 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:"
  23456. msgstr ""
  23457. #. type: lisp
  23458. #: guix-git/doc/guix.texi:16350
  23459. #, no-wrap
  23460. msgid ""
  23461. ";; Use wlan1 to run the access point for \"My Network\".\n"
  23462. "(service hostapd-service-type\n"
  23463. " (hostapd-configuration\n"
  23464. " (interface \"wlan1\")\n"
  23465. " (ssid \"My Network\")\n"
  23466. " (channel 12)))\n"
  23467. msgstr ""
  23468. #. type: deftp
  23469. #: guix-git/doc/guix.texi:16353
  23470. #, no-wrap
  23471. msgid "{Data Type} hostapd-configuration"
  23472. msgstr ""
  23473. #. type: deftp
  23474. #: guix-git/doc/guix.texi:16356
  23475. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  23476. msgstr ""
  23477. #. type: item
  23478. #: guix-git/doc/guix.texi:16358
  23479. #, no-wrap
  23480. msgid "@code{package} (default: @code{hostapd})"
  23481. msgstr ""
  23482. #. type: table
  23483. #: guix-git/doc/guix.texi:16360
  23484. msgid "The hostapd package to use."
  23485. msgstr ""
  23486. #. type: item
  23487. #: guix-git/doc/guix.texi:16361
  23488. #, no-wrap
  23489. msgid "@code{interface} (default: @code{\"wlan0\"})"
  23490. msgstr ""
  23491. #. type: table
  23492. #: guix-git/doc/guix.texi:16363
  23493. msgid "The network interface to run the WiFi access point."
  23494. msgstr ""
  23495. #. type: code{#1}
  23496. #: guix-git/doc/guix.texi:16364
  23497. #, no-wrap
  23498. msgid "ssid"
  23499. msgstr ""
  23500. #. type: table
  23501. #: guix-git/doc/guix.texi:16367
  23502. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  23503. msgstr ""
  23504. #. type: item
  23505. #: guix-git/doc/guix.texi:16368
  23506. #, no-wrap
  23507. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  23508. msgstr ""
  23509. #. type: table
  23510. #: guix-git/doc/guix.texi:16370
  23511. msgid "Whether to broadcast this SSID."
  23512. msgstr ""
  23513. #. type: item
  23514. #: guix-git/doc/guix.texi:16371
  23515. #, no-wrap
  23516. msgid "@code{channel} (default: @code{1})"
  23517. msgstr ""
  23518. #. type: table
  23519. #: guix-git/doc/guix.texi:16373
  23520. msgid "The WiFi channel to use."
  23521. msgstr ""
  23522. #. type: item
  23523. #: guix-git/doc/guix.texi:16374
  23524. #, no-wrap
  23525. msgid "@code{driver} (default: @code{\"nl80211\"})"
  23526. msgstr ""
  23527. #. type: table
  23528. #: guix-git/doc/guix.texi:16378
  23529. 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."
  23530. msgstr ""
  23531. #. type: item
  23532. #: guix-git/doc/guix.texi:16379 guix-git/doc/guix.texi:22248
  23533. #: guix-git/doc/guix.texi:25098
  23534. #, no-wrap
  23535. msgid "@code{extra-settings} (default: @code{\"\"})"
  23536. msgstr ""
  23537. #. type: table
  23538. #: guix-git/doc/guix.texi:16383
  23539. 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."
  23540. msgstr ""
  23541. #. type: defvr
  23542. #: guix-git/doc/guix.texi:16386
  23543. #, no-wrap
  23544. msgid "{Scheme Variable} simulated-wifi-service-type"
  23545. msgstr ""
  23546. #. type: defvr
  23547. #: guix-git/doc/guix.texi:16393
  23548. 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."
  23549. msgstr ""
  23550. #. type: defvr
  23551. #: guix-git/doc/guix.texi:16395
  23552. msgid "The service's value is a @code{hostapd-configuration} record."
  23553. msgstr ""
  23554. #. type: cindex
  23555. #: guix-git/doc/guix.texi:16397
  23556. #, no-wrap
  23557. msgid "iptables"
  23558. msgstr ""
  23559. #. type: defvr
  23560. #: guix-git/doc/guix.texi:16398
  23561. #, no-wrap
  23562. msgid "{Scheme Variable} iptables-service-type"
  23563. msgstr ""
  23564. #. type: defvr
  23565. #: guix-git/doc/guix.texi:16404
  23566. 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."
  23567. msgstr ""
  23568. #. type: lisp
  23569. #: guix-git/doc/guix.texi:16424
  23570. #, no-wrap
  23571. msgid ""
  23572. "(service iptables-service-type\n"
  23573. " (iptables-configuration\n"
  23574. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  23575. ":INPUT ACCEPT\n"
  23576. ":FORWARD ACCEPT\n"
  23577. ":OUTPUT ACCEPT\n"
  23578. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  23579. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  23580. "COMMIT\n"
  23581. "\"))\n"
  23582. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  23583. ":INPUT ACCEPT\n"
  23584. ":FORWARD ACCEPT\n"
  23585. ":OUTPUT ACCEPT\n"
  23586. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  23587. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  23588. "COMMIT\n"
  23589. "\"))))\n"
  23590. msgstr ""
  23591. #. type: deftp
  23592. #: guix-git/doc/guix.texi:16427
  23593. #, no-wrap
  23594. msgid "{Data Type} iptables-configuration"
  23595. msgstr ""
  23596. #. type: deftp
  23597. #: guix-git/doc/guix.texi:16429
  23598. msgid "The data type representing the configuration of iptables."
  23599. msgstr ""
  23600. #. type: item
  23601. #: guix-git/doc/guix.texi:16431
  23602. #, no-wrap
  23603. msgid "@code{iptables} (default: @code{iptables})"
  23604. msgstr ""
  23605. #. type: table
  23606. #: guix-git/doc/guix.texi:16434
  23607. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  23608. msgstr ""
  23609. #. type: item
  23610. #: guix-git/doc/guix.texi:16434
  23611. #, no-wrap
  23612. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  23613. msgstr ""
  23614. #. type: table
  23615. #: guix-git/doc/guix.texi:16438
  23616. 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})."
  23617. msgstr ""
  23618. #. type: item
  23619. #: guix-git/doc/guix.texi:16438
  23620. #, no-wrap
  23621. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  23622. msgstr ""
  23623. #. type: table
  23624. #: guix-git/doc/guix.texi:16442
  23625. 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})."
  23626. msgstr ""
  23627. #. type: cindex
  23628. #: guix-git/doc/guix.texi:16445
  23629. #, no-wrap
  23630. msgid "nftables"
  23631. msgstr ""
  23632. #. type: defvr
  23633. #: guix-git/doc/guix.texi:16446
  23634. #, no-wrap
  23635. msgid "{Scheme Variable} nftables-service-type"
  23636. msgstr ""
  23637. #. type: defvr
  23638. #: guix-git/doc/guix.texi:16454
  23639. 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:"
  23640. msgstr ""
  23641. #. type: lisp
  23642. #: guix-git/doc/guix.texi:16457
  23643. #, no-wrap
  23644. msgid "(service nftables-service-type)\n"
  23645. msgstr ""
  23646. #. type: deftp
  23647. #: guix-git/doc/guix.texi:16460
  23648. #, no-wrap
  23649. msgid "{Data Type} nftables-configuration"
  23650. msgstr ""
  23651. #. type: deftp
  23652. #: guix-git/doc/guix.texi:16462
  23653. msgid "The data type representing the configuration of nftables."
  23654. msgstr ""
  23655. #. type: item
  23656. #: guix-git/doc/guix.texi:16464
  23657. #, no-wrap
  23658. msgid "@code{package} (default: @code{nftables})"
  23659. msgstr ""
  23660. #. type: table
  23661. #: guix-git/doc/guix.texi:16466
  23662. msgid "The nftables package that provides @command{nft}."
  23663. msgstr ""
  23664. #. type: item
  23665. #: guix-git/doc/guix.texi:16466
  23666. #, no-wrap
  23667. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  23668. msgstr ""
  23669. #. type: table
  23670. #: guix-git/doc/guix.texi:16469
  23671. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  23672. msgstr ""
  23673. #. type: cindex
  23674. #: guix-git/doc/guix.texi:16472
  23675. #, no-wrap
  23676. msgid "NTP (Network Time Protocol), service"
  23677. msgstr ""
  23678. #. type: cindex
  23679. #: guix-git/doc/guix.texi:16473
  23680. #, no-wrap
  23681. msgid "ntpd, service for the Network Time Protocol daemon"
  23682. msgstr ""
  23683. #. type: cindex
  23684. #: guix-git/doc/guix.texi:16474
  23685. #, no-wrap
  23686. msgid "real time clock"
  23687. msgstr ""
  23688. #. type: defvr
  23689. #: guix-git/doc/guix.texi:16475
  23690. #, no-wrap
  23691. msgid "{Scheme Variable} ntp-service-type"
  23692. msgstr ""
  23693. #. type: defvr
  23694. #: guix-git/doc/guix.texi:16479
  23695. 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."
  23696. msgstr ""
  23697. #. type: defvr
  23698. #: guix-git/doc/guix.texi:16482
  23699. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  23700. msgstr ""
  23701. #. type: deftp
  23702. #: guix-git/doc/guix.texi:16484
  23703. #, no-wrap
  23704. msgid "{Data Type} ntp-configuration"
  23705. msgstr ""
  23706. #. type: deftp
  23707. #: guix-git/doc/guix.texi:16486
  23708. msgid "This is the data type for the NTP service configuration."
  23709. msgstr ""
  23710. #. type: item
  23711. #: guix-git/doc/guix.texi:16488
  23712. #, no-wrap
  23713. msgid "@code{servers} (default: @code{%ntp-servers})"
  23714. msgstr ""
  23715. #. type: table
  23716. #: guix-git/doc/guix.texi:16492
  23717. 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."
  23718. msgstr ""
  23719. #. type: item
  23720. #: guix-git/doc/guix.texi:16493
  23721. #, no-wrap
  23722. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  23723. msgstr ""
  23724. #. type: table
  23725. #: guix-git/doc/guix.texi:16496
  23726. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  23727. msgstr ""
  23728. #. type: item
  23729. #: guix-git/doc/guix.texi:16497
  23730. #, no-wrap
  23731. msgid "@code{ntp} (default: @code{ntp})"
  23732. msgstr ""
  23733. #. type: table
  23734. #: guix-git/doc/guix.texi:16499
  23735. msgid "The NTP package to use."
  23736. msgstr ""
  23737. #. type: defvr
  23738. #: guix-git/doc/guix.texi:16502
  23739. #, no-wrap
  23740. msgid "{Scheme Variable} %ntp-servers"
  23741. msgstr ""
  23742. #. type: defvr
  23743. #: guix-git/doc/guix.texi:16505
  23744. 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}."
  23745. msgstr ""
  23746. #. type: deftp
  23747. #: guix-git/doc/guix.texi:16507
  23748. #, no-wrap
  23749. msgid "{Data Type} ntp-server"
  23750. msgstr ""
  23751. #. type: deftp
  23752. #: guix-git/doc/guix.texi:16509
  23753. msgid "The data type representing the configuration of a NTP server."
  23754. msgstr ""
  23755. #. type: item
  23756. #: guix-git/doc/guix.texi:16511
  23757. #, no-wrap
  23758. msgid "@code{type} (default: @code{'server})"
  23759. msgstr ""
  23760. #. type: table
  23761. #: guix-git/doc/guix.texi:16514
  23762. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  23763. msgstr ""
  23764. #. type: code{#1}
  23765. #: guix-git/doc/guix.texi:16515
  23766. #, no-wrap
  23767. msgid "address"
  23768. msgstr ""
  23769. #. type: table
  23770. #: guix-git/doc/guix.texi:16517
  23771. msgid "The address of the server, as a string."
  23772. msgstr ""
  23773. #. type: code{#1}
  23774. #: guix-git/doc/guix.texi:16518 guix-git/doc/guix.texi:31708
  23775. #: guix-git/doc/guix.texi:31728
  23776. #, no-wrap
  23777. msgid "options"
  23778. msgstr ""
  23779. #. type: table
  23780. #: guix-git/doc/guix.texi:16523
  23781. 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."
  23782. msgstr ""
  23783. #. type: example
  23784. #: guix-git/doc/guix.texi:16529
  23785. #, no-wrap
  23786. msgid ""
  23787. "(ntp-server\n"
  23788. " (type 'server)\n"
  23789. " (address \"some.ntp.server.org\")\n"
  23790. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  23791. msgstr ""
  23792. #. type: cindex
  23793. #: guix-git/doc/guix.texi:16533
  23794. #, no-wrap
  23795. msgid "OpenNTPD"
  23796. msgstr ""
  23797. #. type: deffn
  23798. #: guix-git/doc/guix.texi:16534
  23799. #, no-wrap
  23800. msgid "{Scheme Procedure} openntpd-service-type"
  23801. msgstr ""
  23802. #. type: deffn
  23803. #: guix-git/doc/guix.texi:16538
  23804. 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."
  23805. msgstr ""
  23806. #. type: lisp
  23807. #: guix-git/doc/guix.texi:16547
  23808. #, no-wrap
  23809. msgid ""
  23810. "(service\n"
  23811. " openntpd-service-type\n"
  23812. " (openntpd-configuration\n"
  23813. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  23814. " (sensor '(\"udcf0 correction 70000\"))\n"
  23815. " (constraint-from '(\"www.gnu.org\"))\n"
  23816. " (constraints-from '(\"https://www.google.com/\"))))\n"
  23817. "\n"
  23818. msgstr ""
  23819. #. type: defvr
  23820. #: guix-git/doc/guix.texi:16551
  23821. #, no-wrap
  23822. msgid "{Scheme Variable} %openntpd-servers"
  23823. msgstr ""
  23824. #. type: defvr
  23825. #: guix-git/doc/guix.texi:16554
  23826. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  23827. msgstr ""
  23828. #. type: deftp
  23829. #: guix-git/doc/guix.texi:16556
  23830. #, no-wrap
  23831. msgid "{Data Type} openntpd-configuration"
  23832. msgstr ""
  23833. #. type: item
  23834. #: guix-git/doc/guix.texi:16558
  23835. #, no-wrap
  23836. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  23837. msgstr ""
  23838. #. type: table
  23839. #: guix-git/doc/guix.texi:16560
  23840. msgid "The openntpd executable to use."
  23841. msgstr ""
  23842. #. type: item
  23843. #: guix-git/doc/guix.texi:16560
  23844. #, no-wrap
  23845. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  23846. msgstr ""
  23847. #. type: table
  23848. #: guix-git/doc/guix.texi:16562
  23849. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  23850. msgstr ""
  23851. #. type: item
  23852. #: guix-git/doc/guix.texi:16562
  23853. #, no-wrap
  23854. msgid "@code{query-from} (default: @code{'()})"
  23855. msgstr ""
  23856. #. type: table
  23857. #: guix-git/doc/guix.texi:16564
  23858. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  23859. msgstr ""
  23860. #. type: item
  23861. #: guix-git/doc/guix.texi:16564
  23862. #, no-wrap
  23863. msgid "@code{sensor} (default: @code{'()})"
  23864. msgstr ""
  23865. #. type: table
  23866. #: guix-git/doc/guix.texi:16569
  23867. 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."
  23868. msgstr ""
  23869. #. type: item
  23870. #: guix-git/doc/guix.texi:16569
  23871. #, no-wrap
  23872. msgid "@code{server} (default: @code{'()})"
  23873. msgstr ""
  23874. #. type: table
  23875. #: guix-git/doc/guix.texi:16571
  23876. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  23877. msgstr ""
  23878. #. type: item
  23879. #: guix-git/doc/guix.texi:16571
  23880. #, no-wrap
  23881. msgid "@code{servers} (default: @code{%openntp-servers})"
  23882. msgstr ""
  23883. #. type: table
  23884. #: guix-git/doc/guix.texi:16573
  23885. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  23886. msgstr ""
  23887. #. type: item
  23888. #: guix-git/doc/guix.texi:16573
  23889. #, no-wrap
  23890. msgid "@code{constraint-from} (default: @code{'()})"
  23891. msgstr ""
  23892. #. type: table
  23893. #: guix-git/doc/guix.texi:16580
  23894. 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."
  23895. msgstr ""
  23896. #. type: item
  23897. #: guix-git/doc/guix.texi:16580
  23898. #, no-wrap
  23899. msgid "@code{constraints-from} (default: @code{'()})"
  23900. msgstr ""
  23901. #. type: table
  23902. #: guix-git/doc/guix.texi:16584
  23903. 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."
  23904. msgstr ""
  23905. #. type: cindex
  23906. #: guix-git/doc/guix.texi:16587
  23907. #, no-wrap
  23908. msgid "inetd"
  23909. msgstr ""
  23910. #. type: deffn
  23911. #: guix-git/doc/guix.texi:16588
  23912. #, no-wrap
  23913. msgid "{Scheme variable} inetd-service-type"
  23914. msgstr ""
  23915. #. type: deffn
  23916. #: guix-git/doc/guix.texi:16593
  23917. 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."
  23918. msgstr ""
  23919. #. type: deffn
  23920. #: guix-git/doc/guix.texi:16599
  23921. 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}:"
  23922. msgstr ""
  23923. #. type: lisp
  23924. #: guix-git/doc/guix.texi:16622
  23925. #, no-wrap
  23926. msgid ""
  23927. "(service\n"
  23928. " inetd-service-type\n"
  23929. " (inetd-configuration\n"
  23930. " (entries (list\n"
  23931. " (inetd-entry\n"
  23932. " (name \"echo\")\n"
  23933. " (socket-type 'stream)\n"
  23934. " (protocol \"tcp\")\n"
  23935. " (wait? #f)\n"
  23936. " (user \"root\"))\n"
  23937. " (inetd-entry\n"
  23938. " (node \"127.0.0.1\")\n"
  23939. " (name \"smtp\")\n"
  23940. " (socket-type 'stream)\n"
  23941. " (protocol \"tcp\")\n"
  23942. " (wait? #f)\n"
  23943. " (user \"root\")\n"
  23944. " (program (file-append openssh \"/bin/ssh\"))\n"
  23945. " (arguments\n"
  23946. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  23947. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  23948. msgstr ""
  23949. #. type: deffn
  23950. #: guix-git/doc/guix.texi:16625
  23951. msgid "See below for more details about @code{inetd-configuration}."
  23952. msgstr ""
  23953. #. type: deftp
  23954. #: guix-git/doc/guix.texi:16627
  23955. #, no-wrap
  23956. msgid "{Data Type} inetd-configuration"
  23957. msgstr ""
  23958. #. type: deftp
  23959. #: guix-git/doc/guix.texi:16629
  23960. msgid "Data type representing the configuration of @command{inetd}."
  23961. msgstr ""
  23962. #. type: item
  23963. #: guix-git/doc/guix.texi:16631
  23964. #, no-wrap
  23965. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  23966. msgstr ""
  23967. #. type: table
  23968. #: guix-git/doc/guix.texi:16633
  23969. msgid "The @command{inetd} executable to use."
  23970. msgstr ""
  23971. #. type: item
  23972. #: guix-git/doc/guix.texi:16634 guix-git/doc/guix.texi:25932
  23973. #, no-wrap
  23974. msgid "@code{entries} (default: @code{'()})"
  23975. msgstr ""
  23976. #. type: table
  23977. #: guix-git/doc/guix.texi:16637
  23978. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  23979. msgstr ""
  23980. #. type: deftp
  23981. #: guix-git/doc/guix.texi:16640
  23982. #, no-wrap
  23983. msgid "{Data Type} inetd-entry"
  23984. msgstr ""
  23985. #. type: deftp
  23986. #: guix-git/doc/guix.texi:16644
  23987. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  23988. msgstr ""
  23989. #. type: item
  23990. #: guix-git/doc/guix.texi:16646
  23991. #, no-wrap
  23992. msgid "@code{node} (default: @code{#f})"
  23993. msgstr ""
  23994. #. type: table
  23995. #: guix-git/doc/guix.texi:16651
  23996. 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."
  23997. msgstr ""
  23998. #. type: table
  23999. #: guix-git/doc/guix.texi:16653
  24000. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24001. msgstr ""
  24002. #. type: code{#1}
  24003. #: guix-git/doc/guix.texi:16653
  24004. #, no-wrap
  24005. msgid "socket-type"
  24006. msgstr ""
  24007. #. type: table
  24008. #: guix-git/doc/guix.texi:16656
  24009. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24010. msgstr ""
  24011. #. type: code{#1}
  24012. #: guix-git/doc/guix.texi:16656
  24013. #, no-wrap
  24014. msgid "protocol"
  24015. msgstr ""
  24016. #. type: table
  24017. #: guix-git/doc/guix.texi:16658
  24018. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24019. msgstr ""
  24020. #. type: item
  24021. #: guix-git/doc/guix.texi:16658
  24022. #, no-wrap
  24023. msgid "@code{wait?} (default: @code{#t})"
  24024. msgstr ""
  24025. #. type: table
  24026. #: guix-git/doc/guix.texi:16661
  24027. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24028. msgstr ""
  24029. #. type: table
  24030. #: guix-git/doc/guix.texi:16666
  24031. 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\"}."
  24032. msgstr ""
  24033. #. type: item
  24034. #: guix-git/doc/guix.texi:16666
  24035. #, no-wrap
  24036. msgid "@code{program} (default: @code{\"internal\"})"
  24037. msgstr ""
  24038. #. type: table
  24039. #: guix-git/doc/guix.texi:16669
  24040. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24041. msgstr ""
  24042. #. type: table
  24043. #: guix-git/doc/guix.texi:16674
  24044. 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\")}."
  24045. msgstr ""
  24046. #. type: deftp
  24047. #: guix-git/doc/guix.texi:16678
  24048. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24049. msgstr ""
  24050. #. type: cindex
  24051. #: guix-git/doc/guix.texi:16680
  24052. #, no-wrap
  24053. msgid "Tor"
  24054. msgstr ""
  24055. #. type: defvr
  24056. #: guix-git/doc/guix.texi:16681
  24057. #, no-wrap
  24058. msgid "{Scheme Variable} tor-service-type"
  24059. msgstr ""
  24060. #. type: defvr
  24061. #: guix-git/doc/guix.texi:16686
  24062. 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."
  24063. msgstr ""
  24064. #. type: deftp
  24065. #: guix-git/doc/guix.texi:16689
  24066. #, no-wrap
  24067. msgid "{Data Type} tor-configuration"
  24068. msgstr ""
  24069. #. type: item
  24070. #: guix-git/doc/guix.texi:16691
  24071. #, no-wrap
  24072. msgid "@code{tor} (default: @code{tor})"
  24073. msgstr ""
  24074. #. type: table
  24075. #: guix-git/doc/guix.texi:16696
  24076. 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."
  24077. msgstr ""
  24078. #. type: item
  24079. #: guix-git/doc/guix.texi:16697
  24080. #, no-wrap
  24081. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  24082. msgstr ""
  24083. #. type: table
  24084. #: guix-git/doc/guix.texi:16703
  24085. 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."
  24086. msgstr ""
  24087. #. type: item
  24088. #: guix-git/doc/guix.texi:16704
  24089. #, no-wrap
  24090. msgid "@code{hidden-services} (default: @code{'()})"
  24091. msgstr ""
  24092. #. type: table
  24093. #: guix-git/doc/guix.texi:16710
  24094. 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."
  24095. msgstr ""
  24096. #. type: item
  24097. #: guix-git/doc/guix.texi:16711
  24098. #, no-wrap
  24099. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  24100. msgstr ""
  24101. #. type: table
  24102. #: guix-git/doc/guix.texi:16718
  24103. 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."
  24104. msgstr ""
  24105. #. type: table
  24106. #: guix-git/doc/guix.texi:16723
  24107. 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."
  24108. msgstr ""
  24109. #. type: item
  24110. #: guix-git/doc/guix.texi:16724
  24111. #, no-wrap
  24112. msgid "@code{control-socket?} (default: @code{#f})"
  24113. msgstr ""
  24114. #. type: table
  24115. #: guix-git/doc/guix.texi:16730
  24116. 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."
  24117. msgstr ""
  24118. #. type: cindex
  24119. #: guix-git/doc/guix.texi:16734
  24120. #, no-wrap
  24121. msgid "hidden service"
  24122. msgstr ""
  24123. #. type: deffn
  24124. #: guix-git/doc/guix.texi:16735
  24125. #, no-wrap
  24126. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  24127. msgstr ""
  24128. #. type: deffn
  24129. #: guix-git/doc/guix.texi:16738
  24130. 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:"
  24131. msgstr ""
  24132. #. type: example
  24133. #: guix-git/doc/guix.texi:16742
  24134. #, no-wrap
  24135. msgid ""
  24136. " '((22 \"127.0.0.1:22\")\n"
  24137. " (80 \"127.0.0.1:8080\"))\n"
  24138. msgstr ""
  24139. #. type: deffn
  24140. #: guix-git/doc/guix.texi:16746
  24141. 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."
  24142. msgstr ""
  24143. #. type: deffn
  24144. #: guix-git/doc/guix.texi:16750
  24145. 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."
  24146. msgstr ""
  24147. #. type: deffn
  24148. #: guix-git/doc/guix.texi:16753
  24149. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  24150. msgstr ""
  24151. #. type: Plain text
  24152. #: guix-git/doc/guix.texi:16756
  24153. msgid "The @code{(gnu services rsync)} module provides the following services:"
  24154. msgstr ""
  24155. #. type: Plain text
  24156. #: guix-git/doc/guix.texi:16760
  24157. 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."
  24158. msgstr ""
  24159. #. type: deffn
  24160. #: guix-git/doc/guix.texi:16761
  24161. #, no-wrap
  24162. msgid "{Scheme Variable} rsync-service-type"
  24163. msgstr ""
  24164. #. type: deffn
  24165. #: guix-git/doc/guix.texi:16765
  24166. 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:"
  24167. msgstr ""
  24168. #. type: lisp
  24169. #: guix-git/doc/guix.texi:16768
  24170. #, no-wrap
  24171. msgid "(service rsync-service-type)\n"
  24172. msgstr ""
  24173. #. type: deffn
  24174. #: guix-git/doc/guix.texi:16771
  24175. msgid "See below for details about @code{rsync-configuration}."
  24176. msgstr ""
  24177. #. type: deftp
  24178. #: guix-git/doc/guix.texi:16773
  24179. #, no-wrap
  24180. msgid "{Data Type} rsync-configuration"
  24181. msgstr ""
  24182. #. type: deftp
  24183. #: guix-git/doc/guix.texi:16775
  24184. msgid "Data type representing the configuration for @code{rsync-service}."
  24185. msgstr ""
  24186. #. type: item
  24187. #: guix-git/doc/guix.texi:16777
  24188. #, no-wrap
  24189. msgid "@code{package} (default: @var{rsync})"
  24190. msgstr ""
  24191. #. type: table
  24192. #: guix-git/doc/guix.texi:16779
  24193. msgid "@code{rsync} package to use."
  24194. msgstr ""
  24195. #. type: item
  24196. #: guix-git/doc/guix.texi:16780
  24197. #, no-wrap
  24198. msgid "@code{port-number} (default: @code{873})"
  24199. msgstr ""
  24200. #. type: table
  24201. #: guix-git/doc/guix.texi:16784
  24202. 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."
  24203. msgstr ""
  24204. #. type: item
  24205. #: guix-git/doc/guix.texi:16785
  24206. #, no-wrap
  24207. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  24208. msgstr ""
  24209. #. type: table
  24210. #: guix-git/doc/guix.texi:16787
  24211. msgid "Name of the file where @command{rsync} writes its PID."
  24212. msgstr ""
  24213. #. type: item
  24214. #: guix-git/doc/guix.texi:16788
  24215. #, no-wrap
  24216. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  24217. msgstr ""
  24218. #. type: table
  24219. #: guix-git/doc/guix.texi:16790
  24220. msgid "Name of the file where @command{rsync} writes its lock file."
  24221. msgstr ""
  24222. #. type: item
  24223. #: guix-git/doc/guix.texi:16791
  24224. #, no-wrap
  24225. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  24226. msgstr ""
  24227. #. type: table
  24228. #: guix-git/doc/guix.texi:16793
  24229. msgid "Name of the file where @command{rsync} writes its log file."
  24230. msgstr ""
  24231. #. type: item
  24232. #: guix-git/doc/guix.texi:16794
  24233. #, no-wrap
  24234. msgid "@code{use-chroot?} (default: @var{#t})"
  24235. msgstr ""
  24236. #. type: table
  24237. #: guix-git/doc/guix.texi:16796
  24238. msgid "Whether to use chroot for @command{rsync} shared directory."
  24239. msgstr ""
  24240. #. type: item
  24241. #: guix-git/doc/guix.texi:16797
  24242. #, no-wrap
  24243. msgid "@code{share-path} (default: @file{/srv/rsync})"
  24244. msgstr ""
  24245. #. type: table
  24246. #: guix-git/doc/guix.texi:16799
  24247. msgid "Location of the @command{rsync} shared directory."
  24248. msgstr ""
  24249. #. type: item
  24250. #: guix-git/doc/guix.texi:16800
  24251. #, no-wrap
  24252. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  24253. msgstr ""
  24254. #. type: table
  24255. #: guix-git/doc/guix.texi:16802
  24256. msgid "Comment of the @command{rsync} shared directory."
  24257. msgstr ""
  24258. #. type: item
  24259. #: guix-git/doc/guix.texi:16803
  24260. #, no-wrap
  24261. msgid "@code{read-only?} (default: @var{#f})"
  24262. msgstr ""
  24263. #. type: table
  24264. #: guix-git/doc/guix.texi:16805
  24265. msgid "Read-write permissions to shared directory."
  24266. msgstr ""
  24267. #. type: item
  24268. #: guix-git/doc/guix.texi:16806
  24269. #, no-wrap
  24270. msgid "@code{timeout} (default: @code{300})"
  24271. msgstr ""
  24272. #. type: table
  24273. #: guix-git/doc/guix.texi:16808
  24274. msgid "I/O timeout in seconds."
  24275. msgstr ""
  24276. #. type: item
  24277. #: guix-git/doc/guix.texi:16809
  24278. #, no-wrap
  24279. msgid "@code{user} (default: @var{\"root\"})"
  24280. msgstr ""
  24281. #. type: table
  24282. #: guix-git/doc/guix.texi:16811
  24283. msgid "Owner of the @code{rsync} process."
  24284. msgstr ""
  24285. #. type: item
  24286. #: guix-git/doc/guix.texi:16812
  24287. #, no-wrap
  24288. msgid "@code{group} (default: @var{\"root\"})"
  24289. msgstr ""
  24290. #. type: table
  24291. #: guix-git/doc/guix.texi:16814
  24292. msgid "Group of the @code{rsync} process."
  24293. msgstr ""
  24294. #. type: item
  24295. #: guix-git/doc/guix.texi:16815
  24296. #, no-wrap
  24297. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  24298. msgstr ""
  24299. #. type: table
  24300. #: guix-git/doc/guix.texi:16818
  24301. 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}."
  24302. msgstr ""
  24303. #. type: item
  24304. #: guix-git/doc/guix.texi:16819
  24305. #, no-wrap
  24306. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  24307. msgstr ""
  24308. #. type: table
  24309. #: guix-git/doc/guix.texi:16821 guix-git/doc/guix.texi:17264
  24310. msgid "Group name or group ID that will be used when accessing the module."
  24311. msgstr ""
  24312. #. type: Plain text
  24313. #: guix-git/doc/guix.texi:16826
  24314. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  24315. msgstr ""
  24316. #. type: cindex
  24317. #: guix-git/doc/guix.texi:16826
  24318. #, no-wrap
  24319. msgid "syncthing"
  24320. msgstr ""
  24321. #. type: Plain text
  24322. #: guix-git/doc/guix.texi:16831
  24323. 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."
  24324. msgstr ""
  24325. #. type: deffn
  24326. #: guix-git/doc/guix.texi:16832
  24327. #, no-wrap
  24328. msgid "{Scheme Variable} syncthing-service-type"
  24329. msgstr ""
  24330. #. type: deffn
  24331. #: guix-git/doc/guix.texi:16836
  24332. 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:"
  24333. msgstr ""
  24334. #. type: lisp
  24335. #: guix-git/doc/guix.texi:16840
  24336. #, no-wrap
  24337. msgid ""
  24338. "(service syncthing-service-type\n"
  24339. " (syncthing-configuration (user \"alice\")))\n"
  24340. msgstr ""
  24341. #. type: deffn
  24342. #: guix-git/doc/guix.texi:16843
  24343. msgid "See below for details about @code{syncthing-configuration}."
  24344. msgstr ""
  24345. #. type: deftp
  24346. #: guix-git/doc/guix.texi:16844
  24347. #, no-wrap
  24348. msgid "{Data Type} syncthing-configuration"
  24349. msgstr ""
  24350. #. type: deftp
  24351. #: guix-git/doc/guix.texi:16846
  24352. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  24353. msgstr ""
  24354. #. type: item
  24355. #: guix-git/doc/guix.texi:16848
  24356. #, no-wrap
  24357. msgid "@code{syncthing} (default: @var{syncthing})"
  24358. msgstr ""
  24359. #. type: table
  24360. #: guix-git/doc/guix.texi:16850
  24361. msgid "@code{syncthing} package to use."
  24362. msgstr ""
  24363. #. type: item
  24364. #: guix-git/doc/guix.texi:16851
  24365. #, no-wrap
  24366. msgid "@code{arguments} (default: @var{'()})"
  24367. msgstr ""
  24368. #. type: table
  24369. #: guix-git/doc/guix.texi:16853
  24370. msgid "List of command-line arguments passing to @code{syncthing} binary."
  24371. msgstr ""
  24372. #. type: item
  24373. #: guix-git/doc/guix.texi:16854
  24374. #, no-wrap
  24375. msgid "@code{logflags} (default: @var{0})"
  24376. msgstr ""
  24377. #. type: table
  24378. #: guix-git/doc/guix.texi:16857
  24379. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  24380. msgstr ""
  24381. #. type: item
  24382. #: guix-git/doc/guix.texi:16858
  24383. #, no-wrap
  24384. msgid "@code{user} (default: @var{#f})"
  24385. msgstr ""
  24386. #. type: table
  24387. #: guix-git/doc/guix.texi:16861
  24388. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  24389. msgstr ""
  24390. #. type: item
  24391. #: guix-git/doc/guix.texi:16862
  24392. #, no-wrap
  24393. msgid "@code{group} (default: @var{\"users\"})"
  24394. msgstr ""
  24395. #. type: table
  24396. #: guix-git/doc/guix.texi:16865
  24397. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  24398. msgstr ""
  24399. #. type: item
  24400. #: guix-git/doc/guix.texi:16866
  24401. #, no-wrap
  24402. msgid "@code{home} (default: @var{#f})"
  24403. msgstr ""
  24404. #. type: table
  24405. #: guix-git/doc/guix.texi:16869
  24406. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  24407. msgstr ""
  24408. #. type: Plain text
  24409. #: guix-git/doc/guix.texi:16875
  24410. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  24411. msgstr ""
  24412. #. type: cindex
  24413. #: guix-git/doc/guix.texi:16875 guix-git/doc/guix.texi:16914
  24414. #: guix-git/doc/guix.texi:33575
  24415. #, no-wrap
  24416. msgid "SSH"
  24417. msgstr ""
  24418. #. type: cindex
  24419. #: guix-git/doc/guix.texi:16876 guix-git/doc/guix.texi:16915
  24420. #: guix-git/doc/guix.texi:33576
  24421. #, no-wrap
  24422. msgid "SSH server"
  24423. msgstr ""
  24424. #. type: deffn
  24425. #: guix-git/doc/guix.texi:16878
  24426. #, no-wrap
  24427. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  24428. msgstr ""
  24429. #. type: deffn
  24430. #: guix-git/doc/guix.texi:16887
  24431. 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."
  24432. msgstr ""
  24433. #. type: deffn
  24434. #: guix-git/doc/guix.texi:16893
  24435. 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}."
  24436. msgstr ""
  24437. #. type: deffn
  24438. #: guix-git/doc/guix.texi:16897
  24439. 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."
  24440. msgstr ""
  24441. #. type: deffn
  24442. #: guix-git/doc/guix.texi:16902
  24443. 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})."
  24444. msgstr ""
  24445. #. type: deffn
  24446. #: guix-git/doc/guix.texi:16906
  24447. 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."
  24448. msgstr ""
  24449. #. type: deffn
  24450. #: guix-git/doc/guix.texi:16910
  24451. 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."
  24452. msgstr ""
  24453. #. type: deffn
  24454. #: guix-git/doc/guix.texi:16912
  24455. msgid "The other options should be self-descriptive."
  24456. msgstr ""
  24457. #. type: deffn
  24458. #: guix-git/doc/guix.texi:16916
  24459. #, no-wrap
  24460. msgid "{Scheme Variable} openssh-service-type"
  24461. msgstr ""
  24462. #. type: deffn
  24463. #: guix-git/doc/guix.texi:16920
  24464. 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:"
  24465. msgstr ""
  24466. #. type: lisp
  24467. #: guix-git/doc/guix.texi:16929
  24468. #, no-wrap
  24469. msgid ""
  24470. "(service openssh-service-type\n"
  24471. " (openssh-configuration\n"
  24472. " (x11-forwarding? #t)\n"
  24473. " (permit-root-login 'without-password)\n"
  24474. " (authorized-keys\n"
  24475. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  24476. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  24477. msgstr ""
  24478. #. type: deffn
  24479. #: guix-git/doc/guix.texi:16932
  24480. msgid "See below for details about @code{openssh-configuration}."
  24481. msgstr ""
  24482. #. type: deffn
  24483. #: guix-git/doc/guix.texi:16935
  24484. msgid "This service can be extended with extra authorized keys, as in this example:"
  24485. msgstr ""
  24486. #. type: lisp
  24487. #: guix-git/doc/guix.texi:16940
  24488. #, no-wrap
  24489. msgid ""
  24490. "(service-extension openssh-service-type\n"
  24491. " (const `((\"charlie\"\n"
  24492. " ,(local-file \"charlie.pub\")))))\n"
  24493. msgstr ""
  24494. #. type: deftp
  24495. #: guix-git/doc/guix.texi:16943
  24496. #, no-wrap
  24497. msgid "{Data Type} openssh-configuration"
  24498. msgstr ""
  24499. #. type: deftp
  24500. #: guix-git/doc/guix.texi:16945
  24501. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  24502. msgstr ""
  24503. #. type: item
  24504. #: guix-git/doc/guix.texi:16947
  24505. #, no-wrap
  24506. msgid "@code{openssh} (default @var{openssh})"
  24507. msgstr ""
  24508. #. type: table
  24509. #: guix-git/doc/guix.texi:16949
  24510. msgid "The Openssh package to use."
  24511. msgstr ""
  24512. #. type: item
  24513. #: guix-git/doc/guix.texi:16950
  24514. #, no-wrap
  24515. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  24516. msgstr ""
  24517. #. type: table
  24518. #: guix-git/doc/guix.texi:16952
  24519. msgid "Name of the file where @command{sshd} writes its PID."
  24520. msgstr ""
  24521. #. type: item
  24522. #: guix-git/doc/guix.texi:16953
  24523. #, no-wrap
  24524. msgid "@code{port-number} (default: @code{22})"
  24525. msgstr ""
  24526. #. type: table
  24527. #: guix-git/doc/guix.texi:16955
  24528. msgid "TCP port on which @command{sshd} listens for incoming connections."
  24529. msgstr ""
  24530. #. type: item
  24531. #: guix-git/doc/guix.texi:16956
  24532. #, no-wrap
  24533. msgid "@code{permit-root-login} (default: @code{#f})"
  24534. msgstr ""
  24535. #. type: table
  24536. #: guix-git/doc/guix.texi:16961
  24537. 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{'without-password}, then root logins are permitted but not with password-based authentication."
  24538. msgstr ""
  24539. #. type: item
  24540. #: guix-git/doc/guix.texi:16962 guix-git/doc/guix.texi:17123
  24541. #, no-wrap
  24542. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  24543. msgstr ""
  24544. #. type: table
  24545. #: guix-git/doc/guix.texi:16965
  24546. msgid "When true, users with empty passwords may log in. When false, they may not."
  24547. msgstr ""
  24548. #. type: item
  24549. #: guix-git/doc/guix.texi:16966 guix-git/doc/guix.texi:17126
  24550. #, no-wrap
  24551. msgid "@code{password-authentication?} (default: @code{#t})"
  24552. msgstr ""
  24553. #. type: table
  24554. #: guix-git/doc/guix.texi:16969
  24555. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  24556. msgstr ""
  24557. #. type: item
  24558. #: guix-git/doc/guix.texi:16970
  24559. #, no-wrap
  24560. msgid "@code{public-key-authentication?} (default: @code{#t})"
  24561. msgstr ""
  24562. #. type: table
  24563. #: guix-git/doc/guix.texi:16973
  24564. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  24565. msgstr ""
  24566. #. type: table
  24567. #: guix-git/doc/guix.texi:16976
  24568. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  24569. msgstr ""
  24570. #. type: item
  24571. #: guix-git/doc/guix.texi:16977
  24572. #, no-wrap
  24573. msgid "@code{x11-forwarding?} (default: @code{#f})"
  24574. msgstr ""
  24575. #. type: table
  24576. #: guix-git/doc/guix.texi:16981
  24577. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  24578. msgstr ""
  24579. #. type: item
  24580. #: guix-git/doc/guix.texi:16982
  24581. #, no-wrap
  24582. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  24583. msgstr ""
  24584. #. type: table
  24585. #: guix-git/doc/guix.texi:16984
  24586. msgid "Whether to allow agent forwarding."
  24587. msgstr ""
  24588. #. type: item
  24589. #: guix-git/doc/guix.texi:16985
  24590. #, no-wrap
  24591. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  24592. msgstr ""
  24593. #. type: table
  24594. #: guix-git/doc/guix.texi:16987
  24595. msgid "Whether to allow TCP forwarding."
  24596. msgstr ""
  24597. #. type: item
  24598. #: guix-git/doc/guix.texi:16988
  24599. #, no-wrap
  24600. msgid "@code{gateway-ports?} (default: @code{#f})"
  24601. msgstr ""
  24602. #. type: table
  24603. #: guix-git/doc/guix.texi:16990
  24604. msgid "Whether to allow gateway ports."
  24605. msgstr ""
  24606. #. type: item
  24607. #: guix-git/doc/guix.texi:16991
  24608. #, no-wrap
  24609. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  24610. msgstr ""
  24611. #. type: table
  24612. #: guix-git/doc/guix.texi:16994
  24613. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  24614. msgstr ""
  24615. #. type: item
  24616. #: guix-git/doc/guix.texi:16995
  24617. #, no-wrap
  24618. msgid "@code{use-pam?} (default: @code{#t})"
  24619. msgstr ""
  24620. #. type: table
  24621. #: guix-git/doc/guix.texi:17001
  24622. 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."
  24623. msgstr ""
  24624. #. type: table
  24625. #: guix-git/doc/guix.texi:17006
  24626. 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?}."
  24627. msgstr ""
  24628. #. type: item
  24629. #: guix-git/doc/guix.texi:17007
  24630. #, no-wrap
  24631. msgid "@code{print-last-log?} (default: @code{#t})"
  24632. msgstr ""
  24633. #. type: table
  24634. #: guix-git/doc/guix.texi:17010
  24635. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  24636. msgstr ""
  24637. #. type: item
  24638. #: guix-git/doc/guix.texi:17011
  24639. #, no-wrap
  24640. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  24641. msgstr ""
  24642. #. type: table
  24643. #: guix-git/doc/guix.texi:17013
  24644. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  24645. msgstr ""
  24646. #. type: table
  24647. #: guix-git/doc/guix.texi:17017
  24648. 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."
  24649. msgstr ""
  24650. #. type: table
  24651. #: guix-git/doc/guix.texi:17020
  24652. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  24653. msgstr ""
  24654. #. type: lisp
  24655. #: guix-git/doc/guix.texi:17025
  24656. #, no-wrap
  24657. msgid ""
  24658. "(service openssh-service-type\n"
  24659. " (openssh-configuration\n"
  24660. " (subsystems\n"
  24661. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  24662. msgstr ""
  24663. #. type: item
  24664. #: guix-git/doc/guix.texi:17027
  24665. #, no-wrap
  24666. msgid "@code{accepted-environment} (default: @code{'()})"
  24667. msgstr ""
  24668. #. type: table
  24669. #: guix-git/doc/guix.texi:17029
  24670. msgid "List of strings describing which environment variables may be exported."
  24671. msgstr ""
  24672. #. type: table
  24673. #: guix-git/doc/guix.texi:17032
  24674. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  24675. msgstr ""
  24676. #. type: table
  24677. #: guix-git/doc/guix.texi:17037
  24678. 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."
  24679. msgstr ""
  24680. #. type: lisp
  24681. #: guix-git/doc/guix.texi:17042
  24682. #, no-wrap
  24683. msgid ""
  24684. "(service openssh-service-type\n"
  24685. " (openssh-configuration\n"
  24686. " (accepted-environment '(\"COLORTERM\"))))\n"
  24687. msgstr ""
  24688. #. type: item
  24689. #: guix-git/doc/guix.texi:17044
  24690. #, no-wrap
  24691. msgid "@code{authorized-keys} (default: @code{'()})"
  24692. msgstr ""
  24693. #. type: cindex
  24694. #: guix-git/doc/guix.texi:17045
  24695. #, no-wrap
  24696. msgid "authorized keys, SSH"
  24697. msgstr ""
  24698. #. type: cindex
  24699. #: guix-git/doc/guix.texi:17046
  24700. #, no-wrap
  24701. msgid "SSH authorized keys"
  24702. msgstr ""
  24703. #. type: table
  24704. #: guix-git/doc/guix.texi:17050
  24705. 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:"
  24706. msgstr ""
  24707. #. type: lisp
  24708. #: guix-git/doc/guix.texi:17057
  24709. #, no-wrap
  24710. msgid ""
  24711. "(openssh-configuration\n"
  24712. " (authorized-keys\n"
  24713. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  24714. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  24715. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  24716. msgstr ""
  24717. #. type: table
  24718. #: guix-git/doc/guix.texi:17062
  24719. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  24720. msgstr ""
  24721. #. type: table
  24722. #: guix-git/doc/guix.texi:17065
  24723. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  24724. msgstr ""
  24725. #. type: table
  24726. #: guix-git/doc/guix.texi:17068
  24727. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  24728. msgstr ""
  24729. #. type: item
  24730. #: guix-git/doc/guix.texi:17069 guix-git/doc/guix.texi:17500
  24731. #, no-wrap
  24732. msgid "@code{log-level} (default: @code{'info})"
  24733. msgstr ""
  24734. #. type: table
  24735. #: guix-git/doc/guix.texi:17073
  24736. 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."
  24737. msgstr ""
  24738. #. type: item
  24739. #: guix-git/doc/guix.texi:17074 guix-git/doc/guix.texi:19894
  24740. #: guix-git/doc/guix.texi:24760
  24741. #, no-wrap
  24742. msgid "@code{extra-content} (default: @code{\"\"})"
  24743. msgstr ""
  24744. #. type: table
  24745. #: guix-git/doc/guix.texi:17079
  24746. 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:"
  24747. msgstr ""
  24748. #. type: lisp
  24749. #: guix-git/doc/guix.texi:17085
  24750. #, no-wrap
  24751. msgid ""
  24752. "(openssh-configuration\n"
  24753. " (extra-content \"\\\n"
  24754. "Match Address 192.168.0.1\n"
  24755. " PermitRootLogin yes\"))\n"
  24756. msgstr ""
  24757. #. type: deffn
  24758. #: guix-git/doc/guix.texi:17090
  24759. #, no-wrap
  24760. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  24761. msgstr ""
  24762. #. type: deffn
  24763. #: guix-git/doc/guix.texi:17094
  24764. 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."
  24765. msgstr ""
  24766. #. type: deffn
  24767. #: guix-git/doc/guix.texi:17097
  24768. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  24769. msgstr ""
  24770. #. type: lisp
  24771. #: guix-git/doc/guix.texi:17101
  24772. #, no-wrap
  24773. msgid ""
  24774. "(dropbear-service (dropbear-configuration\n"
  24775. " (port-number 1234)))\n"
  24776. msgstr ""
  24777. #. type: deftp
  24778. #: guix-git/doc/guix.texi:17104
  24779. #, no-wrap
  24780. msgid "{Data Type} dropbear-configuration"
  24781. msgstr ""
  24782. #. type: deftp
  24783. #: guix-git/doc/guix.texi:17106
  24784. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  24785. msgstr ""
  24786. #. type: item
  24787. #: guix-git/doc/guix.texi:17108
  24788. #, no-wrap
  24789. msgid "@code{dropbear} (default: @var{dropbear})"
  24790. msgstr ""
  24791. #. type: table
  24792. #: guix-git/doc/guix.texi:17110
  24793. msgid "The Dropbear package to use."
  24794. msgstr ""
  24795. #. type: item
  24796. #: guix-git/doc/guix.texi:17111
  24797. #, no-wrap
  24798. msgid "@code{port-number} (default: 22)"
  24799. msgstr ""
  24800. #. type: table
  24801. #: guix-git/doc/guix.texi:17113
  24802. msgid "The TCP port where the daemon waits for incoming connections."
  24803. msgstr ""
  24804. #. type: item
  24805. #: guix-git/doc/guix.texi:17114
  24806. #, no-wrap
  24807. msgid "@code{syslog-output?} (default: @code{#t})"
  24808. msgstr ""
  24809. #. type: table
  24810. #: guix-git/doc/guix.texi:17116
  24811. msgid "Whether to enable syslog output."
  24812. msgstr ""
  24813. #. type: item
  24814. #: guix-git/doc/guix.texi:17117
  24815. #, no-wrap
  24816. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  24817. msgstr ""
  24818. #. type: table
  24819. #: guix-git/doc/guix.texi:17119
  24820. msgid "File name of the daemon's PID file."
  24821. msgstr ""
  24822. #. type: item
  24823. #: guix-git/doc/guix.texi:17120
  24824. #, no-wrap
  24825. msgid "@code{root-login?} (default: @code{#f})"
  24826. msgstr ""
  24827. #. type: table
  24828. #: guix-git/doc/guix.texi:17122
  24829. msgid "Whether to allow @code{root} logins."
  24830. msgstr ""
  24831. #. type: table
  24832. #: guix-git/doc/guix.texi:17125
  24833. msgid "Whether to allow empty passwords."
  24834. msgstr ""
  24835. #. type: table
  24836. #: guix-git/doc/guix.texi:17128
  24837. msgid "Whether to enable password-based authentication."
  24838. msgstr ""
  24839. #. type: cindex
  24840. #: guix-git/doc/guix.texi:17131
  24841. #, no-wrap
  24842. msgid "AutoSSH"
  24843. msgstr ""
  24844. #. type: deffn
  24845. #: guix-git/doc/guix.texi:17132
  24846. #, no-wrap
  24847. msgid "{Scheme Variable} autossh-service-type"
  24848. msgstr ""
  24849. #. type: deffn
  24850. #: guix-git/doc/guix.texi:17140
  24851. 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."
  24852. msgstr ""
  24853. #. type: deffn
  24854. #: guix-git/doc/guix.texi:17144
  24855. 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."
  24856. msgstr ""
  24857. #. type: deffn
  24858. #: guix-git/doc/guix.texi:17149
  24859. 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:"
  24860. msgstr ""
  24861. #. type: lisp
  24862. #: guix-git/doc/guix.texi:17155
  24863. #, no-wrap
  24864. msgid ""
  24865. "(service autossh-service-type\n"
  24866. " (autossh-configuration\n"
  24867. " (user \"pino\")\n"
  24868. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  24869. msgstr ""
  24870. #. type: deftp
  24871. #: guix-git/doc/guix.texi:17158
  24872. #, no-wrap
  24873. msgid "{Data Type} autossh-configuration"
  24874. msgstr ""
  24875. #. type: deftp
  24876. #: guix-git/doc/guix.texi:17160
  24877. msgid "This data type represents the configuration of an AutoSSH service."
  24878. msgstr ""
  24879. #. type: item
  24880. #: guix-git/doc/guix.texi:17163
  24881. #, no-wrap
  24882. msgid "@code{user} (default @code{\"autossh\"})"
  24883. msgstr ""
  24884. #. type: table
  24885. #: guix-git/doc/guix.texi:17166
  24886. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  24887. msgstr ""
  24888. #. type: item
  24889. #: guix-git/doc/guix.texi:17167
  24890. #, no-wrap
  24891. msgid "@code{poll} (default @code{600})"
  24892. msgstr ""
  24893. #. type: table
  24894. #: guix-git/doc/guix.texi:17169
  24895. msgid "Specifies the connection poll time in seconds."
  24896. msgstr ""
  24897. #. type: item
  24898. #: guix-git/doc/guix.texi:17170
  24899. #, no-wrap
  24900. msgid "@code{first-poll} (default @code{#f})"
  24901. msgstr ""
  24902. #. type: table
  24903. #: guix-git/doc/guix.texi:17176
  24904. 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}."
  24905. msgstr ""
  24906. #. type: item
  24907. #: guix-git/doc/guix.texi:17177
  24908. #, no-wrap
  24909. msgid "@code{gate-time} (default @code{30})"
  24910. msgstr ""
  24911. #. type: table
  24912. #: guix-git/doc/guix.texi:17180
  24913. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  24914. msgstr ""
  24915. #. type: item
  24916. #: guix-git/doc/guix.texi:17181
  24917. #, no-wrap
  24918. msgid "@code{log-level} (default @code{1})"
  24919. msgstr ""
  24920. #. type: table
  24921. #: guix-git/doc/guix.texi:17184
  24922. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  24923. msgstr ""
  24924. #. type: item
  24925. #: guix-git/doc/guix.texi:17185
  24926. #, no-wrap
  24927. msgid "@code{max-start} (default @code{#f})"
  24928. msgstr ""
  24929. #. type: table
  24930. #: guix-git/doc/guix.texi:17188
  24931. 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."
  24932. msgstr ""
  24933. #. type: item
  24934. #: guix-git/doc/guix.texi:17189
  24935. #, no-wrap
  24936. msgid "@code{message} (default @code{\"\"})"
  24937. msgstr ""
  24938. #. type: table
  24939. #: guix-git/doc/guix.texi:17191
  24940. msgid "The message to append to the echo message sent when testing connections."
  24941. msgstr ""
  24942. #. type: item
  24943. #: guix-git/doc/guix.texi:17192
  24944. #, no-wrap
  24945. msgid "@code{port} (default @code{\"0\"})"
  24946. msgstr ""
  24947. #. type: table
  24948. #: guix-git/doc/guix.texi:17202
  24949. 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."
  24950. msgstr ""
  24951. #. type: item
  24952. #: guix-git/doc/guix.texi:17203
  24953. #, no-wrap
  24954. msgid "@code{ssh-options} (default @code{'()})"
  24955. msgstr ""
  24956. #. type: table
  24957. #: guix-git/doc/guix.texi:17207
  24958. 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."
  24959. msgstr ""
  24960. #. type: cindex
  24961. #: guix-git/doc/guix.texi:17211
  24962. #, no-wrap
  24963. msgid "WebSSH"
  24964. msgstr ""
  24965. #. type: deffn
  24966. #: guix-git/doc/guix.texi:17212
  24967. #, no-wrap
  24968. msgid "{Scheme Variable} webssh-service-type"
  24969. msgstr ""
  24970. #. type: deffn
  24971. #: guix-git/doc/guix.texi:17218
  24972. 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."
  24973. msgstr ""
  24974. #. type: deffn
  24975. #: guix-git/doc/guix.texi:17224
  24976. 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:"
  24977. msgstr ""
  24978. #. type: lisp
  24979. #: guix-git/doc/guix.texi:17232
  24980. #, no-wrap
  24981. msgid ""
  24982. "(service webssh-service-type\n"
  24983. " (webssh-configuration (address \"127.0.0.1\")\n"
  24984. " (port 8888)\n"
  24985. " (policy 'reject)\n"
  24986. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  24987. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  24988. "\n"
  24989. msgstr ""
  24990. #. type: lisp
  24991. #: guix-git/doc/guix.texi:17248
  24992. #, no-wrap
  24993. msgid ""
  24994. "(service nginx-service-type\n"
  24995. " (nginx-configuration\n"
  24996. " (server-blocks\n"
  24997. " (list\n"
  24998. " (nginx-server-configuration\n"
  24999. " (inherit %webssh-configuration-nginx)\n"
  25000. " (server-name '(\"webssh.example.com\"))\n"
  25001. " (listen '(\"443 ssl\"))\n"
  25002. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  25003. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  25004. " (locations\n"
  25005. " (cons (nginx-location-configuration\n"
  25006. " (uri \"/.well-known\")\n"
  25007. " (body '(\"root /var/www;\")))\n"
  25008. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  25009. msgstr ""
  25010. #. type: deftp
  25011. #: guix-git/doc/guix.texi:17251
  25012. #, no-wrap
  25013. msgid "{Data Type} webssh-configuration"
  25014. msgstr ""
  25015. #. type: deftp
  25016. #: guix-git/doc/guix.texi:17253
  25017. msgid "Data type representing the configuration for @code{webssh-service}."
  25018. msgstr ""
  25019. #. type: item
  25020. #: guix-git/doc/guix.texi:17255
  25021. #, no-wrap
  25022. msgid "@code{package} (default: @var{webssh})"
  25023. msgstr ""
  25024. #. type: table
  25025. #: guix-git/doc/guix.texi:17257
  25026. msgid "@code{webssh} package to use."
  25027. msgstr ""
  25028. #. type: item
  25029. #: guix-git/doc/guix.texi:17258
  25030. #, no-wrap
  25031. msgid "@code{user-name} (default: @var{\"webssh\"})"
  25032. msgstr ""
  25033. #. type: table
  25034. #: guix-git/doc/guix.texi:17261
  25035. msgid "User name or user ID that file transfers to and from that module should take place."
  25036. msgstr ""
  25037. #. type: item
  25038. #: guix-git/doc/guix.texi:17262
  25039. #, no-wrap
  25040. msgid "@code{group-name} (default: @var{\"webssh\"})"
  25041. msgstr ""
  25042. #. type: item
  25043. #: guix-git/doc/guix.texi:17265
  25044. #, no-wrap
  25045. msgid "@code{address} (default: @var{#f})"
  25046. msgstr ""
  25047. #. type: table
  25048. #: guix-git/doc/guix.texi:17267
  25049. msgid "IP address on which @command{webssh} listens for incoming connections."
  25050. msgstr ""
  25051. #. type: item
  25052. #: guix-git/doc/guix.texi:17268
  25053. #, no-wrap
  25054. msgid "@code{port} (default: @var{8888})"
  25055. msgstr ""
  25056. #. type: table
  25057. #: guix-git/doc/guix.texi:17270
  25058. msgid "TCP port on which @command{webssh} listens for incoming connections."
  25059. msgstr ""
  25060. #. type: item
  25061. #: guix-git/doc/guix.texi:17271
  25062. #, no-wrap
  25063. msgid "@code{policy} (default: @var{#f})"
  25064. msgstr ""
  25065. #. type: table
  25066. #: guix-git/doc/guix.texi:17273
  25067. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  25068. msgstr ""
  25069. #. type: item
  25070. #: guix-git/doc/guix.texi:17274
  25071. #, no-wrap
  25072. msgid "@code{known-hosts} (default: @var{'()})"
  25073. msgstr ""
  25074. #. type: table
  25075. #: guix-git/doc/guix.texi:17276
  25076. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  25077. msgstr ""
  25078. #. type: item
  25079. #: guix-git/doc/guix.texi:17277
  25080. #, no-wrap
  25081. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  25082. msgstr ""
  25083. #. type: table
  25084. #: guix-git/doc/guix.texi:17279
  25085. msgid "Name of the file where @command{webssh} writes its log file."
  25086. msgstr ""
  25087. #. type: item
  25088. #: guix-git/doc/guix.texi:17280
  25089. #, no-wrap
  25090. msgid "@code{log-level} (default: @var{#f})"
  25091. msgstr ""
  25092. #. type: table
  25093. #: guix-git/doc/guix.texi:17282
  25094. msgid "Logging level."
  25095. msgstr ""
  25096. #. type: defvr
  25097. #: guix-git/doc/guix.texi:17286
  25098. #, no-wrap
  25099. msgid "{Scheme Variable} %facebook-host-aliases"
  25100. msgstr ""
  25101. #. type: defvr
  25102. #: guix-git/doc/guix.texi:17292
  25103. 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}."
  25104. msgstr ""
  25105. #. type: defvr
  25106. #: guix-git/doc/guix.texi:17296
  25107. 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}}):"
  25108. msgstr ""
  25109. #. type: lisp
  25110. #: guix-git/doc/guix.texi:17309
  25111. #, no-wrap
  25112. msgid ""
  25113. "(operating-system\n"
  25114. " (host-name \"mymachine\")\n"
  25115. " ;; ...\n"
  25116. " (hosts-file\n"
  25117. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  25118. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  25119. " (plain-file \"hosts\"\n"
  25120. " (string-append (local-host-aliases host-name)\n"
  25121. " %facebook-host-aliases))))\n"
  25122. msgstr ""
  25123. #. type: defvr
  25124. #: guix-git/doc/guix.texi:17313
  25125. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  25126. msgstr ""
  25127. #. type: Plain text
  25128. #: guix-git/doc/guix.texi:17316
  25129. msgid "The @code{(gnu services avahi)} provides the following definition."
  25130. msgstr ""
  25131. #. type: defvr
  25132. #: guix-git/doc/guix.texi:17317
  25133. #, no-wrap
  25134. msgid "{Scheme Variable} avahi-service-type"
  25135. msgstr ""
  25136. #. type: defvr
  25137. #: guix-git/doc/guix.texi:17322
  25138. 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."
  25139. msgstr ""
  25140. #. type: defvr
  25141. #: guix-git/doc/guix.texi:17327
  25142. 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."
  25143. msgstr ""
  25144. #. type: defvr
  25145. #: guix-git/doc/guix.texi:17330
  25146. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  25147. msgstr ""
  25148. #. type: deftp
  25149. #: guix-git/doc/guix.texi:17332
  25150. #, no-wrap
  25151. msgid "{Data Type} avahi-configuration"
  25152. msgstr ""
  25153. #. type: deftp
  25154. #: guix-git/doc/guix.texi:17334
  25155. msgid "Data type representation the configuration for Avahi."
  25156. msgstr ""
  25157. #. type: item
  25158. #: guix-git/doc/guix.texi:17337
  25159. #, no-wrap
  25160. msgid "@code{host-name} (default: @code{#f})"
  25161. msgstr ""
  25162. #. type: table
  25163. #: guix-git/doc/guix.texi:17340
  25164. 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."
  25165. msgstr ""
  25166. #. type: item
  25167. #: guix-git/doc/guix.texi:17341
  25168. #, no-wrap
  25169. msgid "@code{publish?} (default: @code{#t})"
  25170. msgstr ""
  25171. #. type: table
  25172. #: guix-git/doc/guix.texi:17344
  25173. msgid "When true, allow host names and services to be published (broadcast) over the network."
  25174. msgstr ""
  25175. #. type: item
  25176. #: guix-git/doc/guix.texi:17345
  25177. #, no-wrap
  25178. msgid "@code{publish-workstation?} (default: @code{#t})"
  25179. msgstr ""
  25180. #. type: table
  25181. #: guix-git/doc/guix.texi:17349
  25182. 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:"
  25183. msgstr ""
  25184. #. type: example
  25185. #: guix-git/doc/guix.texi:17352
  25186. #, no-wrap
  25187. msgid "avahi-browse _workstation._tcp\n"
  25188. msgstr ""
  25189. #. type: item
  25190. #: guix-git/doc/guix.texi:17354
  25191. #, no-wrap
  25192. msgid "@code{wide-area?} (default: @code{#f})"
  25193. msgstr ""
  25194. #. type: table
  25195. #: guix-git/doc/guix.texi:17356
  25196. msgid "When true, DNS-SD over unicast DNS is enabled."
  25197. msgstr ""
  25198. #. type: item
  25199. #: guix-git/doc/guix.texi:17357
  25200. #, no-wrap
  25201. msgid "@code{ipv4?} (default: @code{#t})"
  25202. msgstr ""
  25203. #. type: itemx
  25204. #: guix-git/doc/guix.texi:17358
  25205. #, no-wrap
  25206. msgid "@code{ipv6?} (default: @code{#t})"
  25207. msgstr ""
  25208. #. type: table
  25209. #: guix-git/doc/guix.texi:17360
  25210. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  25211. msgstr ""
  25212. #. type: item
  25213. #: guix-git/doc/guix.texi:17361
  25214. #, no-wrap
  25215. msgid "@code{domains-to-browse} (default: @code{'()})"
  25216. msgstr ""
  25217. #. type: table
  25218. #: guix-git/doc/guix.texi:17363
  25219. msgid "This is a list of domains to browse."
  25220. msgstr ""
  25221. #. type: deffn
  25222. #: guix-git/doc/guix.texi:17366
  25223. #, no-wrap
  25224. msgid "{Scheme Variable} openvswitch-service-type"
  25225. msgstr ""
  25226. #. type: deffn
  25227. #: guix-git/doc/guix.texi:17370
  25228. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  25229. msgstr ""
  25230. #. type: deftp
  25231. #: guix-git/doc/guix.texi:17372
  25232. #, no-wrap
  25233. msgid "{Data Type} openvswitch-configuration"
  25234. msgstr ""
  25235. #. type: deftp
  25236. #: guix-git/doc/guix.texi:17376
  25237. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  25238. msgstr ""
  25239. #. type: item
  25240. #: guix-git/doc/guix.texi:17378
  25241. #, no-wrap
  25242. msgid "@code{package} (default: @var{openvswitch})"
  25243. msgstr ""
  25244. #. type: table
  25245. #: guix-git/doc/guix.texi:17380
  25246. msgid "Package object of the Open vSwitch."
  25247. msgstr ""
  25248. #. type: defvr
  25249. #: guix-git/doc/guix.texi:17384
  25250. #, no-wrap
  25251. msgid "{Scheme Variable} pagekite-service-type"
  25252. msgstr ""
  25253. #. type: defvr
  25254. #: guix-git/doc/guix.texi:17389
  25255. 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."
  25256. msgstr ""
  25257. #. type: defvr
  25258. #: guix-git/doc/guix.texi:17391
  25259. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  25260. msgstr ""
  25261. #. type: lisp
  25262. #: guix-git/doc/guix.texi:17398
  25263. #, no-wrap
  25264. msgid ""
  25265. "(service pagekite-service-type\n"
  25266. " (pagekite-configuration\n"
  25267. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  25268. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  25269. " (extra-file \"/etc/pagekite.rc\")))\n"
  25270. msgstr ""
  25271. #. type: deftp
  25272. #: guix-git/doc/guix.texi:17401
  25273. #, no-wrap
  25274. msgid "{Data Type} pagekite-configuration"
  25275. msgstr ""
  25276. #. type: deftp
  25277. #: guix-git/doc/guix.texi:17403
  25278. msgid "Data type representing the configuration of PageKite."
  25279. msgstr ""
  25280. #. type: item
  25281. #: guix-git/doc/guix.texi:17405
  25282. #, no-wrap
  25283. msgid "@code{package} (default: @var{pagekite})"
  25284. msgstr ""
  25285. #. type: table
  25286. #: guix-git/doc/guix.texi:17407
  25287. msgid "Package object of PageKite."
  25288. msgstr ""
  25289. #. type: item
  25290. #: guix-git/doc/guix.texi:17408
  25291. #, no-wrap
  25292. msgid "@code{kitename} (default: @code{#f})"
  25293. msgstr ""
  25294. #. type: table
  25295. #: guix-git/doc/guix.texi:17410
  25296. msgid "PageKite name for authenticating to the frontend server."
  25297. msgstr ""
  25298. #. type: item
  25299. #: guix-git/doc/guix.texi:17411
  25300. #, no-wrap
  25301. msgid "@code{kitesecret} (default: @code{#f})"
  25302. msgstr ""
  25303. #. type: table
  25304. #: guix-git/doc/guix.texi:17414
  25305. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  25306. msgstr ""
  25307. #. type: item
  25308. #: guix-git/doc/guix.texi:17415
  25309. #, no-wrap
  25310. msgid "@code{frontend} (default: @code{#f})"
  25311. msgstr ""
  25312. #. type: table
  25313. #: guix-git/doc/guix.texi:17418
  25314. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  25315. msgstr ""
  25316. #. type: item
  25317. #: guix-git/doc/guix.texi:17419
  25318. #, no-wrap
  25319. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  25320. msgstr ""
  25321. #. type: table
  25322. #: guix-git/doc/guix.texi:17422
  25323. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  25324. msgstr ""
  25325. #. type: item
  25326. #: guix-git/doc/guix.texi:17423
  25327. #, no-wrap
  25328. msgid "@code{extra-file} (default: @code{#f})"
  25329. msgstr ""
  25330. #. type: table
  25331. #: guix-git/doc/guix.texi:17426
  25332. 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."
  25333. msgstr ""
  25334. #. type: defvr
  25335. #: guix-git/doc/guix.texi:17430
  25336. #, no-wrap
  25337. msgid "{Scheme Variable} yggdrasil-service-type"
  25338. msgstr ""
  25339. #. type: defvr
  25340. #: guix-git/doc/guix.texi:17434
  25341. 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."
  25342. msgstr ""
  25343. #. type: quotation
  25344. #: guix-git/doc/guix.texi:17441
  25345. 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}"
  25346. msgstr ""
  25347. #. type: defvr
  25348. #: guix-git/doc/guix.texi:17445
  25349. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  25350. msgstr ""
  25351. #. type: defvr
  25352. #: guix-git/doc/guix.texi:17449
  25353. 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})."
  25354. msgstr ""
  25355. #. type: lisp
  25356. #: guix-git/doc/guix.texi:17461
  25357. #, no-wrap
  25358. msgid ""
  25359. ";; part of the operating-system declaration\n"
  25360. "(service yggdrasil-service-type\n"
  25361. " (yggdrasil-configuration\n"
  25362. " (autoconf? #f) ;; use only the public peers\n"
  25363. " (json-config\n"
  25364. " ;; choose one from\n"
  25365. " ;; https://github.com/yggdrasil-network/public-peers\n"
  25366. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  25367. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  25368. " ))\n"
  25369. msgstr ""
  25370. #. type: example
  25371. #: guix-git/doc/guix.texi:17468
  25372. #, no-wrap
  25373. msgid ""
  25374. "# sample content for /etc/yggdrasil-private.conf\n"
  25375. "@{\n"
  25376. " # Your public encryption key. Your peers may ask you for this to put\n"
  25377. " # into their AllowedEncryptionPublicKeys configuration.\n"
  25378. " EncryptionPublicKey: 378dc5...\n"
  25379. "\n"
  25380. msgstr ""
  25381. #. type: example
  25382. #: guix-git/doc/guix.texi:17471
  25383. #, no-wrap
  25384. msgid ""
  25385. " # Your private encryption key. DO NOT share this with anyone!\n"
  25386. " EncryptionPrivateKey: 0777...\n"
  25387. "\n"
  25388. msgstr ""
  25389. #. type: example
  25390. #: guix-git/doc/guix.texi:17475
  25391. #, no-wrap
  25392. msgid ""
  25393. " # Your public signing key. You should not ordinarily need to share\n"
  25394. " # this with anyone.\n"
  25395. " SigningPublicKey: e1664...\n"
  25396. "\n"
  25397. msgstr ""
  25398. #. type: example
  25399. #: guix-git/doc/guix.texi:17479
  25400. #, no-wrap
  25401. msgid ""
  25402. " # Your private signing key. DO NOT share this with anyone!\n"
  25403. " SigningPrivateKey: 0589d...\n"
  25404. "@}\n"
  25405. msgstr ""
  25406. #. type: deftp
  25407. #: guix-git/doc/guix.texi:17482
  25408. #, no-wrap
  25409. msgid "{Data Type} yggdrasil-configuration"
  25410. msgstr ""
  25411. #. type: deftp
  25412. #: guix-git/doc/guix.texi:17484
  25413. msgid "Data type representing the configuration of Yggdrasil."
  25414. msgstr ""
  25415. #. type: item
  25416. #: guix-git/doc/guix.texi:17486
  25417. #, no-wrap
  25418. msgid "@code{package} (default: @code{yggdrasil})"
  25419. msgstr ""
  25420. #. type: table
  25421. #: guix-git/doc/guix.texi:17488
  25422. msgid "Package object of Yggdrasil."
  25423. msgstr ""
  25424. #. type: item
  25425. #: guix-git/doc/guix.texi:17489
  25426. #, no-wrap
  25427. msgid "@code{json-config} (default: @code{'()})"
  25428. msgstr ""
  25429. #. type: table
  25430. #: guix-git/doc/guix.texi:17495
  25431. 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."
  25432. msgstr ""
  25433. #. type: item
  25434. #: guix-git/doc/guix.texi:17496
  25435. #, no-wrap
  25436. msgid "@code{autoconf?} (default: @code{#f})"
  25437. msgstr ""
  25438. #. type: table
  25439. #: guix-git/doc/guix.texi:17499
  25440. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  25441. msgstr ""
  25442. #. type: table
  25443. #: guix-git/doc/guix.texi:17502
  25444. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  25445. msgstr ""
  25446. #. type: item
  25447. #: guix-git/doc/guix.texi:17503
  25448. #, no-wrap
  25449. msgid "@code{log-to} (default: @code{'stdout})"
  25450. msgstr ""
  25451. #. type: table
  25452. #: guix-git/doc/guix.texi:17507
  25453. 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."
  25454. msgstr ""
  25455. #. type: item
  25456. #: guix-git/doc/guix.texi:17508
  25457. #, no-wrap
  25458. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  25459. msgstr ""
  25460. #. type: table
  25461. #: guix-git/doc/guix.texi:17515
  25462. 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:"
  25463. msgstr ""
  25464. #. type: code{#1}
  25465. #: guix-git/doc/guix.texi:17517
  25466. #, no-wrap
  25467. msgid "EncryptionPublicKey"
  25468. msgstr ""
  25469. #. type: code{#1}
  25470. #: guix-git/doc/guix.texi:17518
  25471. #, no-wrap
  25472. msgid "EncryptionPrivateKey"
  25473. msgstr ""
  25474. #. type: code{#1}
  25475. #: guix-git/doc/guix.texi:17519
  25476. #, no-wrap
  25477. msgid "SigningPublicKey"
  25478. msgstr ""
  25479. #. type: code{#1}
  25480. #: guix-git/doc/guix.texi:17520
  25481. #, no-wrap
  25482. msgid "SigningPrivateKey"
  25483. msgstr ""
  25484. #. type: cindex
  25485. #: guix-git/doc/guix.texi:17525
  25486. #, no-wrap
  25487. msgid "IPFS"
  25488. msgstr ""
  25489. #. type: defvr
  25490. #: guix-git/doc/guix.texi:17526
  25491. #, no-wrap
  25492. msgid "{Scheme Variable} ipfs-service-type"
  25493. msgstr ""
  25494. #. type: defvr
  25495. #: guix-git/doc/guix.texi:17530
  25496. 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."
  25497. msgstr ""
  25498. #. type: defvr
  25499. #: guix-git/doc/guix.texi:17532
  25500. msgid "Here's an example configuration, using some non-standard ports:"
  25501. msgstr ""
  25502. #. type: lisp
  25503. #: guix-git/doc/guix.texi:17538
  25504. #, no-wrap
  25505. msgid ""
  25506. "(service ipfs-service-type\n"
  25507. " (ipfs-configuration\n"
  25508. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  25509. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  25510. msgstr ""
  25511. #. type: deftp
  25512. #: guix-git/doc/guix.texi:17541
  25513. #, no-wrap
  25514. msgid "{Data Type} ipfs-configuration"
  25515. msgstr ""
  25516. #. type: deftp
  25517. #: guix-git/doc/guix.texi:17543
  25518. msgid "Data type representing the configuration of IPFS."
  25519. msgstr ""
  25520. #. type: item
  25521. #: guix-git/doc/guix.texi:17545
  25522. #, no-wrap
  25523. msgid "@code{package} (default: @code{go-ipfs})"
  25524. msgstr ""
  25525. #. type: table
  25526. #: guix-git/doc/guix.texi:17547
  25527. msgid "Package object of IPFS."
  25528. msgstr ""
  25529. #. type: item
  25530. #: guix-git/doc/guix.texi:17548
  25531. #, no-wrap
  25532. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  25533. msgstr ""
  25534. #. type: table
  25535. #: guix-git/doc/guix.texi:17550
  25536. msgid "Address of the gateway, in ‘multiaddress’ format."
  25537. msgstr ""
  25538. #. type: item
  25539. #: guix-git/doc/guix.texi:17551
  25540. #, no-wrap
  25541. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  25542. msgstr ""
  25543. #. type: table
  25544. #: guix-git/doc/guix.texi:17553
  25545. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  25546. msgstr ""
  25547. #. type: cindex
  25548. #: guix-git/doc/guix.texi:17556
  25549. #, no-wrap
  25550. msgid "keepalived"
  25551. msgstr ""
  25552. #. type: deffn
  25553. #: guix-git/doc/guix.texi:17557
  25554. #, no-wrap
  25555. msgid "{Scheme Variable} keepalived-service-type"
  25556. msgstr ""
  25557. #. type: deffn
  25558. #: guix-git/doc/guix.texi:17562
  25559. 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:"
  25560. msgstr ""
  25561. #. type: lisp
  25562. #: guix-git/doc/guix.texi:17567
  25563. #, no-wrap
  25564. msgid ""
  25565. "(service keepalived-service-type\n"
  25566. " (keepalived-configuration\n"
  25567. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  25568. msgstr ""
  25569. #. type: deffn
  25570. #: guix-git/doc/guix.texi:17570
  25571. msgid "where @file{keepalived-master.conf}:"
  25572. msgstr ""
  25573. #. type: example
  25574. #: guix-git/doc/guix.texi:17582
  25575. #, no-wrap
  25576. msgid ""
  25577. "vrrp_instance my-group @{\n"
  25578. " state MASTER\n"
  25579. " interface enp9s0\n"
  25580. " virtual_router_id 100\n"
  25581. " priority 100\n"
  25582. " unicast_peer @{ 10.0.0.2 @}\n"
  25583. " virtual_ipaddress @{\n"
  25584. " 10.0.0.4/24\n"
  25585. " @}\n"
  25586. "@}\n"
  25587. msgstr ""
  25588. #. type: deffn
  25589. #: guix-git/doc/guix.texi:17585
  25590. msgid "and for backup machine:"
  25591. msgstr ""
  25592. #. type: lisp
  25593. #: guix-git/doc/guix.texi:17590
  25594. #, no-wrap
  25595. msgid ""
  25596. "(service keepalived-service-type\n"
  25597. " (keepalived-configuration\n"
  25598. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  25599. msgstr ""
  25600. #. type: deffn
  25601. #: guix-git/doc/guix.texi:17593
  25602. msgid "where @file{keepalived-backup.conf}:"
  25603. msgstr ""
  25604. #. type: example
  25605. #: guix-git/doc/guix.texi:17605
  25606. #, no-wrap
  25607. msgid ""
  25608. "vrrp_instance my-group @{\n"
  25609. " state BACKUP\n"
  25610. " interface enp9s0\n"
  25611. " virtual_router_id 100\n"
  25612. " priority 99\n"
  25613. " unicast_peer @{ 10.0.0.3 @}\n"
  25614. " virtual_ipaddress @{\n"
  25615. " 10.0.0.4/24\n"
  25616. " @}\n"
  25617. "@}\n"
  25618. msgstr ""
  25619. #. type: cindex
  25620. #: guix-git/doc/guix.texi:17611
  25621. #, no-wrap
  25622. msgid "unattended upgrades"
  25623. msgstr ""
  25624. #. type: cindex
  25625. #: guix-git/doc/guix.texi:17612
  25626. #, no-wrap
  25627. msgid "upgrades, unattended"
  25628. msgstr ""
  25629. #. type: Plain text
  25630. #: guix-git/doc/guix.texi:17617
  25631. 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:"
  25632. msgstr ""
  25633. #. type: itemize
  25634. #: guix-git/doc/guix.texi:17622
  25635. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  25636. msgstr ""
  25637. #. type: itemize
  25638. #: guix-git/doc/guix.texi:17626
  25639. 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;"
  25640. msgstr ""
  25641. #. type: itemize
  25642. #: guix-git/doc/guix.texi:17629
  25643. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  25644. msgstr ""
  25645. #. type: itemize
  25646. #: guix-git/doc/guix.texi:17632
  25647. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  25648. msgstr ""
  25649. #. type: Plain text
  25650. #: guix-git/doc/guix.texi:17637
  25651. 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:"
  25652. msgstr ""
  25653. #. type: lisp
  25654. #: guix-git/doc/guix.texi:17640
  25655. #, no-wrap
  25656. msgid "(service unattended-upgrade-service-type)\n"
  25657. msgstr ""
  25658. #. type: Plain text
  25659. #: guix-git/doc/guix.texi:17647
  25660. 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."
  25661. msgstr ""
  25662. #. type: Plain text
  25663. #: guix-git/doc/guix.texi:17653
  25664. 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."
  25665. msgstr ""
  25666. #. type: Plain text
  25667. #: guix-git/doc/guix.texi:17657
  25668. 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)."
  25669. msgstr ""
  25670. #. type: defvr
  25671. #: guix-git/doc/guix.texi:17658
  25672. #, no-wrap
  25673. msgid "{Scheme Variable} unattended-upgrade-service-type"
  25674. msgstr ""
  25675. #. type: defvr
  25676. #: guix-git/doc/guix.texi:17662
  25677. 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."
  25678. msgstr ""
  25679. #. type: defvr
  25680. #: guix-git/doc/guix.texi:17665
  25681. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  25682. msgstr ""
  25683. #. type: deftp
  25684. #: guix-git/doc/guix.texi:17667
  25685. #, no-wrap
  25686. msgid "{Data Type} unattended-upgrade-configuration"
  25687. msgstr ""
  25688. #. type: deftp
  25689. #: guix-git/doc/guix.texi:17670
  25690. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  25691. msgstr ""
  25692. #. type: item
  25693. #: guix-git/doc/guix.texi:17672
  25694. #, no-wrap
  25695. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  25696. msgstr ""
  25697. #. type: table
  25698. #: guix-git/doc/guix.texi:17676
  25699. 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})."
  25700. msgstr ""
  25701. #. type: item
  25702. #: guix-git/doc/guix.texi:17677
  25703. #, no-wrap
  25704. msgid "@code{channels} (default: @code{#~%default-channels})"
  25705. msgstr ""
  25706. #. type: table
  25707. #: guix-git/doc/guix.texi:17681
  25708. 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."
  25709. msgstr ""
  25710. #. type: item
  25711. #: guix-git/doc/guix.texi:17682
  25712. #, no-wrap
  25713. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  25714. msgstr ""
  25715. #. type: table
  25716. #: guix-git/doc/guix.texi:17685
  25717. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  25718. msgstr ""
  25719. #. type: table
  25720. #: guix-git/doc/guix.texi:17691
  25721. 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:"
  25722. msgstr ""
  25723. #. type: lisp
  25724. #: guix-git/doc/guix.texi:17697
  25725. #, no-wrap
  25726. msgid ""
  25727. "(unattended-upgrade-configuration\n"
  25728. " (operating-system-file\n"
  25729. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  25730. " \"/config.scm\")))\n"
  25731. msgstr ""
  25732. #. type: table
  25733. #: guix-git/doc/guix.texi:17704
  25734. 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}."
  25735. msgstr ""
  25736. #. type: item
  25737. #: guix-git/doc/guix.texi:17705
  25738. #, no-wrap
  25739. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  25740. msgstr ""
  25741. #. type: table
  25742. #: guix-git/doc/guix.texi:17708
  25743. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  25744. msgstr ""
  25745. #. type: table
  25746. #: guix-git/doc/guix.texi:17715
  25747. 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."
  25748. msgstr ""
  25749. #. type: table
  25750. #: guix-git/doc/guix.texi:17719
  25751. 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}."
  25752. msgstr ""
  25753. #. type: table
  25754. #: guix-git/doc/guix.texi:17722
  25755. 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."
  25756. msgstr ""
  25757. #. type: item
  25758. #: guix-git/doc/guix.texi:17723
  25759. #, no-wrap
  25760. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  25761. msgstr ""
  25762. #. type: table
  25763. #: guix-git/doc/guix.texi:17727
  25764. 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."
  25765. msgstr ""
  25766. #. type: quotation
  25767. #: guix-git/doc/guix.texi:17732
  25768. 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."
  25769. msgstr ""
  25770. #. type: item
  25771. #: guix-git/doc/guix.texi:17734
  25772. #, no-wrap
  25773. msgid "@code{maximum-duration} (default: @code{3600})"
  25774. msgstr ""
  25775. #. type: table
  25776. #: guix-git/doc/guix.texi:17737
  25777. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  25778. msgstr ""
  25779. #. type: table
  25780. #: guix-git/doc/guix.texi:17740
  25781. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  25782. msgstr ""
  25783. #. type: item
  25784. #: guix-git/doc/guix.texi:17741
  25785. #, no-wrap
  25786. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  25787. msgstr ""
  25788. #. type: table
  25789. #: guix-git/doc/guix.texi:17743
  25790. msgid "File where unattended upgrades are logged."
  25791. msgstr ""
  25792. #. type: cindex
  25793. #: guix-git/doc/guix.texi:17749
  25794. #, no-wrap
  25795. msgid "X11"
  25796. msgstr ""
  25797. #. type: cindex
  25798. #: guix-git/doc/guix.texi:17750
  25799. #, no-wrap
  25800. msgid "X Window System"
  25801. msgstr ""
  25802. #. type: cindex
  25803. #: guix-git/doc/guix.texi:17751 guix-git/doc/guix.texi:18003
  25804. #, no-wrap
  25805. msgid "login manager"
  25806. msgstr ""
  25807. #. type: Plain text
  25808. #: guix-git/doc/guix.texi:17756
  25809. 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)."
  25810. msgstr ""
  25811. #. type: cindex
  25812. #: guix-git/doc/guix.texi:17757
  25813. #, no-wrap
  25814. msgid "GDM"
  25815. msgstr ""
  25816. #. type: cindex
  25817. #: guix-git/doc/guix.texi:17758
  25818. #, no-wrap
  25819. msgid "GNOME, login manager"
  25820. msgstr ""
  25821. #. type: Plain text
  25822. #: guix-git/doc/guix.texi:17762
  25823. 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."
  25824. msgstr ""
  25825. #. type: cindex
  25826. #: guix-git/doc/guix.texi:17763
  25827. #, no-wrap
  25828. msgid "window manager"
  25829. msgstr ""
  25830. #. type: Plain text
  25831. #: guix-git/doc/guix.texi:17768
  25832. 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})."
  25833. msgstr ""
  25834. #. type: defvr
  25835. #: guix-git/doc/guix.texi:17769
  25836. #, no-wrap
  25837. msgid "{Scheme Variable} gdm-service-type"
  25838. msgstr ""
  25839. #. type: defvr
  25840. #: guix-git/doc/guix.texi:17774
  25841. 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)."
  25842. msgstr ""
  25843. #. type: cindex
  25844. #: guix-git/doc/guix.texi:17775
  25845. #, no-wrap
  25846. msgid "session types (X11)"
  25847. msgstr ""
  25848. #. type: cindex
  25849. #: guix-git/doc/guix.texi:17776
  25850. #, no-wrap
  25851. msgid "X11 session types"
  25852. msgstr ""
  25853. #. type: defvr
  25854. #: guix-git/doc/guix.texi:17782
  25855. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, and @code{i3} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  25856. msgstr ""
  25857. #. type: defvr
  25858. #: guix-git/doc/guix.texi:17786
  25859. 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."
  25860. msgstr ""
  25861. #. type: deftp
  25862. #: guix-git/doc/guix.texi:17788
  25863. #, no-wrap
  25864. msgid "{Data Type} gdm-configuration"
  25865. msgstr ""
  25866. #. type: item
  25867. #: guix-git/doc/guix.texi:17790 guix-git/doc/guix.texi:17858
  25868. #, no-wrap
  25869. msgid "@code{auto-login?} (default: @code{#f})"
  25870. msgstr ""
  25871. #. type: itemx
  25872. #: guix-git/doc/guix.texi:17791
  25873. #, no-wrap
  25874. msgid "@code{default-user} (default: @code{#f})"
  25875. msgstr ""
  25876. #. type: table
  25877. #: guix-git/doc/guix.texi:17793
  25878. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  25879. msgstr ""
  25880. #. type: table
  25881. #: guix-git/doc/guix.texi:17796
  25882. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  25883. msgstr ""
  25884. #. type: item
  25885. #: guix-git/doc/guix.texi:17797 guix-git/doc/guix.texi:23369
  25886. #: guix-git/doc/guix.texi:25077 guix-git/doc/guix.texi:29427
  25887. #: guix-git/doc/guix.texi:29456 guix-git/doc/guix.texi:29485
  25888. #: guix-git/doc/guix.texi:29512 guix-git/doc/guix.texi:29567
  25889. #: guix-git/doc/guix.texi:29592 guix-git/doc/guix.texi:29619
  25890. #: guix-git/doc/guix.texi:29645 guix-git/doc/guix.texi:29687
  25891. #, no-wrap
  25892. msgid "@code{debug?} (default: @code{#f})"
  25893. msgstr ""
  25894. #. type: table
  25895. #: guix-git/doc/guix.texi:17799
  25896. msgid "When true, GDM writes debug messages to its log."
  25897. msgstr ""
  25898. #. type: item
  25899. #: guix-git/doc/guix.texi:17800
  25900. #, no-wrap
  25901. msgid "@code{gnome-shell-assets} (default: ...)"
  25902. msgstr ""
  25903. #. type: table
  25904. #: guix-git/doc/guix.texi:17802
  25905. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  25906. msgstr ""
  25907. #. type: item
  25908. #: guix-git/doc/guix.texi:17803
  25909. #, no-wrap
  25910. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  25911. msgstr ""
  25912. #. type: table
  25913. #: guix-git/doc/guix.texi:17805 guix-git/doc/guix.texi:17885
  25914. #: guix-git/doc/guix.texi:17969
  25915. msgid "Configuration of the Xorg graphical server."
  25916. msgstr ""
  25917. #. type: item
  25918. #: guix-git/doc/guix.texi:17806
  25919. #, no-wrap
  25920. msgid "@code{xsession} (default: @code{(xinitrc)})"
  25921. msgstr ""
  25922. #. type: table
  25923. #: guix-git/doc/guix.texi:17808 guix-git/doc/guix.texi:17984
  25924. msgid "Script to run before starting a X session."
  25925. msgstr ""
  25926. #. type: item
  25927. #: guix-git/doc/guix.texi:17809
  25928. #, no-wrap
  25929. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  25930. msgstr ""
  25931. #. type: table
  25932. #: guix-git/doc/guix.texi:17811
  25933. msgid "File name of the @code{dbus-daemon} executable."
  25934. msgstr ""
  25935. #. type: item
  25936. #: guix-git/doc/guix.texi:17812
  25937. #, no-wrap
  25938. msgid "@code{gdm} (default: @code{gdm})"
  25939. msgstr ""
  25940. #. type: table
  25941. #: guix-git/doc/guix.texi:17814
  25942. msgid "The GDM package to use."
  25943. msgstr ""
  25944. #. type: defvr
  25945. #: guix-git/doc/guix.texi:17817
  25946. #, no-wrap
  25947. msgid "{Scheme Variable} slim-service-type"
  25948. msgstr ""
  25949. #. type: defvr
  25950. #: guix-git/doc/guix.texi:17819
  25951. msgid "This is the type for the SLiM graphical login manager for X11."
  25952. msgstr ""
  25953. #. type: defvr
  25954. #: guix-git/doc/guix.texi:17823
  25955. 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."
  25956. msgstr ""
  25957. #. type: defvr
  25958. #: guix-git/doc/guix.texi:17830
  25959. 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."
  25960. msgstr ""
  25961. #. type: lisp
  25962. #: guix-git/doc/guix.texi:17836
  25963. #, no-wrap
  25964. msgid ""
  25965. "(use-modules (gnu services)\n"
  25966. " (gnu services desktop)\n"
  25967. " (gnu services xorg)\n"
  25968. " (srfi srfi-1)) ;for 'remove'\n"
  25969. "\n"
  25970. msgstr ""
  25971. #. type: lisp
  25972. #: guix-git/doc/guix.texi:17847
  25973. #, no-wrap
  25974. msgid ""
  25975. "(operating-system\n"
  25976. " ;; ...\n"
  25977. " (services (cons* (service slim-service-type (slim-configuration\n"
  25978. " (display \":0\")\n"
  25979. " (vt \"vt7\")))\n"
  25980. " (service slim-service-type (slim-configuration\n"
  25981. " (display \":1\")\n"
  25982. " (vt \"vt8\")))\n"
  25983. " (modify-services %desktop-services\n"
  25984. " (delete gdm-service-type)))))\n"
  25985. msgstr ""
  25986. #. type: deftp
  25987. #: guix-git/doc/guix.texi:17851
  25988. #, no-wrap
  25989. msgid "{Data Type} slim-configuration"
  25990. msgstr ""
  25991. #. type: deftp
  25992. #: guix-git/doc/guix.texi:17853
  25993. msgid "Data type representing the configuration of @code{slim-service-type}."
  25994. msgstr ""
  25995. #. type: table
  25996. #: guix-git/doc/guix.texi:17857
  25997. msgid "Whether to allow logins with empty passwords."
  25998. msgstr ""
  25999. #. type: itemx
  26000. #: guix-git/doc/guix.texi:17859
  26001. #, no-wrap
  26002. msgid "@code{default-user} (default: @code{\"\"})"
  26003. msgstr ""
  26004. #. type: table
  26005. #: guix-git/doc/guix.texi:17861
  26006. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  26007. msgstr ""
  26008. #. type: table
  26009. #: guix-git/doc/guix.texi:17864
  26010. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  26011. msgstr ""
  26012. #. type: item
  26013. #: guix-git/doc/guix.texi:17865
  26014. #, no-wrap
  26015. msgid "@code{theme} (default: @code{%default-slim-theme})"
  26016. msgstr ""
  26017. #. type: itemx
  26018. #: guix-git/doc/guix.texi:17866
  26019. #, no-wrap
  26020. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  26021. msgstr ""
  26022. #. type: table
  26023. #: guix-git/doc/guix.texi:17868
  26024. msgid "The graphical theme to use and its name."
  26025. msgstr ""
  26026. #. type: item
  26027. #: guix-git/doc/guix.texi:17869
  26028. #, no-wrap
  26029. msgid "@code{auto-login-session} (default: @code{#f})"
  26030. msgstr ""
  26031. #. type: table
  26032. #: guix-git/doc/guix.texi:17872
  26033. 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\")}."
  26034. msgstr ""
  26035. #. type: table
  26036. #: guix-git/doc/guix.texi:17876
  26037. 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."
  26038. msgstr ""
  26039. #. type: quotation
  26040. #: guix-git/doc/guix.texi:17881
  26041. 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."
  26042. msgstr ""
  26043. #. type: item
  26044. #: guix-git/doc/guix.texi:17883 guix-git/doc/guix.texi:17967
  26045. #, no-wrap
  26046. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  26047. msgstr ""
  26048. #. type: item
  26049. #: guix-git/doc/guix.texi:17886
  26050. #, no-wrap
  26051. msgid "@code{display} (default @code{\":0\"})"
  26052. msgstr ""
  26053. #. type: table
  26054. #: guix-git/doc/guix.texi:17888
  26055. msgid "The display on which to start the Xorg graphical server."
  26056. msgstr ""
  26057. #. type: item
  26058. #: guix-git/doc/guix.texi:17889
  26059. #, no-wrap
  26060. msgid "@code{vt} (default @code{\"vt7\"})"
  26061. msgstr ""
  26062. #. type: table
  26063. #: guix-git/doc/guix.texi:17891
  26064. msgid "The VT on which to start the Xorg graphical server."
  26065. msgstr ""
  26066. #. type: item
  26067. #: guix-git/doc/guix.texi:17892
  26068. #, no-wrap
  26069. msgid "@code{xauth} (default: @code{xauth})"
  26070. msgstr ""
  26071. #. type: table
  26072. #: guix-git/doc/guix.texi:17894
  26073. msgid "The XAuth package to use."
  26074. msgstr ""
  26075. #. type: item
  26076. #: guix-git/doc/guix.texi:17895
  26077. #, no-wrap
  26078. msgid "@code{shepherd} (default: @code{shepherd})"
  26079. msgstr ""
  26080. #. type: table
  26081. #: guix-git/doc/guix.texi:17898
  26082. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  26083. msgstr ""
  26084. #. type: item
  26085. #: guix-git/doc/guix.texi:17899
  26086. #, no-wrap
  26087. msgid "@code{sessreg} (default: @code{sessreg})"
  26088. msgstr ""
  26089. #. type: table
  26090. #: guix-git/doc/guix.texi:17901
  26091. msgid "The sessreg package used in order to register the session."
  26092. msgstr ""
  26093. #. type: item
  26094. #: guix-git/doc/guix.texi:17902
  26095. #, no-wrap
  26096. msgid "@code{slim} (default: @code{slim})"
  26097. msgstr ""
  26098. #. type: table
  26099. #: guix-git/doc/guix.texi:17904
  26100. msgid "The SLiM package to use."
  26101. msgstr ""
  26102. #. type: defvr
  26103. #: guix-git/doc/guix.texi:17907
  26104. #, no-wrap
  26105. msgid "{Scheme Variable} %default-theme"
  26106. msgstr ""
  26107. #. type: defvrx
  26108. #: guix-git/doc/guix.texi:17908
  26109. #, no-wrap
  26110. msgid "{Scheme Variable} %default-theme-name"
  26111. msgstr ""
  26112. #. type: defvr
  26113. #: guix-git/doc/guix.texi:17910
  26114. msgid "The default SLiM theme and its name."
  26115. msgstr ""
  26116. #. type: deftp
  26117. #: guix-git/doc/guix.texi:17913 guix-git/doc/guix.texi:18020
  26118. #, no-wrap
  26119. msgid "{Data Type} sddm-configuration"
  26120. msgstr ""
  26121. #. type: deftp
  26122. #: guix-git/doc/guix.texi:17915
  26123. msgid "This is the data type representing the SDDM service configuration."
  26124. msgstr ""
  26125. #. type: item
  26126. #: guix-git/doc/guix.texi:17917
  26127. #, no-wrap
  26128. msgid "@code{display-server} (default: \"x11\")"
  26129. msgstr ""
  26130. #. type: table
  26131. #: guix-git/doc/guix.texi:17920
  26132. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  26133. msgstr ""
  26134. #. type: item
  26135. #: guix-git/doc/guix.texi:17921
  26136. #, no-wrap
  26137. msgid "@code{numlock} (default: \"on\")"
  26138. msgstr ""
  26139. #. type: table
  26140. #: guix-git/doc/guix.texi:17923
  26141. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  26142. msgstr ""
  26143. #. type: item
  26144. #: guix-git/doc/guix.texi:17924
  26145. #, no-wrap
  26146. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  26147. msgstr ""
  26148. #. type: table
  26149. #: guix-git/doc/guix.texi:17926
  26150. msgid "Command to run when halting."
  26151. msgstr ""
  26152. #. type: item
  26153. #: guix-git/doc/guix.texi:17927
  26154. #, no-wrap
  26155. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  26156. msgstr ""
  26157. #. type: table
  26158. #: guix-git/doc/guix.texi:17929
  26159. msgid "Command to run when rebooting."
  26160. msgstr ""
  26161. #. type: item
  26162. #: guix-git/doc/guix.texi:17930
  26163. #, no-wrap
  26164. msgid "@code{theme} (default \"maldives\")"
  26165. msgstr ""
  26166. #. type: table
  26167. #: guix-git/doc/guix.texi:17933
  26168. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  26169. msgstr ""
  26170. #. type: item
  26171. #: guix-git/doc/guix.texi:17934
  26172. #, no-wrap
  26173. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  26174. msgstr ""
  26175. #. type: table
  26176. #: guix-git/doc/guix.texi:17936
  26177. msgid "Directory to look for themes."
  26178. msgstr ""
  26179. #. type: item
  26180. #: guix-git/doc/guix.texi:17937
  26181. #, no-wrap
  26182. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  26183. msgstr ""
  26184. #. type: table
  26185. #: guix-git/doc/guix.texi:17939
  26186. msgid "Directory to look for faces."
  26187. msgstr ""
  26188. #. type: item
  26189. #: guix-git/doc/guix.texi:17940
  26190. #, no-wrap
  26191. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  26192. msgstr ""
  26193. #. type: table
  26194. #: guix-git/doc/guix.texi:17942
  26195. msgid "Default PATH to use."
  26196. msgstr ""
  26197. #. type: item
  26198. #: guix-git/doc/guix.texi:17943
  26199. #, no-wrap
  26200. msgid "@code{minimum-uid} (default: 1000)"
  26201. msgstr ""
  26202. #. type: table
  26203. #: guix-git/doc/guix.texi:17945
  26204. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  26205. msgstr ""
  26206. #. type: item
  26207. #: guix-git/doc/guix.texi:17946
  26208. #, no-wrap
  26209. msgid "@code{maximum-uid} (default: 2000)"
  26210. msgstr ""
  26211. #. type: table
  26212. #: guix-git/doc/guix.texi:17948
  26213. msgid "Maximum UID to display in SDDM."
  26214. msgstr ""
  26215. #. type: item
  26216. #: guix-git/doc/guix.texi:17949
  26217. #, no-wrap
  26218. msgid "@code{remember-last-user?} (default #t)"
  26219. msgstr ""
  26220. #. type: table
  26221. #: guix-git/doc/guix.texi:17951
  26222. msgid "Remember last user."
  26223. msgstr ""
  26224. #. type: item
  26225. #: guix-git/doc/guix.texi:17952
  26226. #, no-wrap
  26227. msgid "@code{remember-last-session?} (default #t)"
  26228. msgstr ""
  26229. #. type: table
  26230. #: guix-git/doc/guix.texi:17954
  26231. msgid "Remember last session."
  26232. msgstr ""
  26233. #. type: item
  26234. #: guix-git/doc/guix.texi:17955
  26235. #, no-wrap
  26236. msgid "@code{hide-users} (default \"\")"
  26237. msgstr ""
  26238. #. type: table
  26239. #: guix-git/doc/guix.texi:17957
  26240. msgid "Usernames to hide from SDDM greeter."
  26241. msgstr ""
  26242. #. type: item
  26243. #: guix-git/doc/guix.texi:17958
  26244. #, no-wrap
  26245. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  26246. msgstr ""
  26247. #. type: table
  26248. #: guix-git/doc/guix.texi:17960
  26249. msgid "Users with shells listed will be hidden from the SDDM greeter."
  26250. msgstr ""
  26251. #. type: item
  26252. #: guix-git/doc/guix.texi:17961
  26253. #, no-wrap
  26254. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  26255. msgstr ""
  26256. #. type: table
  26257. #: guix-git/doc/guix.texi:17963
  26258. msgid "Script to run before starting a wayland session."
  26259. msgstr ""
  26260. #. type: item
  26261. #: guix-git/doc/guix.texi:17964
  26262. #, no-wrap
  26263. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  26264. msgstr ""
  26265. #. type: table
  26266. #: guix-git/doc/guix.texi:17966
  26267. msgid "Directory to look for desktop files starting wayland sessions."
  26268. msgstr ""
  26269. #. type: item
  26270. #: guix-git/doc/guix.texi:17970
  26271. #, no-wrap
  26272. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  26273. msgstr ""
  26274. #. type: table
  26275. #: guix-git/doc/guix.texi:17972
  26276. msgid "Path to xauth."
  26277. msgstr ""
  26278. #. type: item
  26279. #: guix-git/doc/guix.texi:17973
  26280. #, no-wrap
  26281. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  26282. msgstr ""
  26283. #. type: table
  26284. #: guix-git/doc/guix.texi:17975
  26285. msgid "Path to Xephyr."
  26286. msgstr ""
  26287. #. type: item
  26288. #: guix-git/doc/guix.texi:17976
  26289. #, no-wrap
  26290. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  26291. msgstr ""
  26292. #. type: table
  26293. #: guix-git/doc/guix.texi:17978
  26294. msgid "Script to run after starting xorg-server."
  26295. msgstr ""
  26296. #. type: item
  26297. #: guix-git/doc/guix.texi:17979
  26298. #, no-wrap
  26299. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  26300. msgstr ""
  26301. #. type: table
  26302. #: guix-git/doc/guix.texi:17981
  26303. msgid "Script to run before stopping xorg-server."
  26304. msgstr ""
  26305. #. type: item
  26306. #: guix-git/doc/guix.texi:17982
  26307. #, no-wrap
  26308. msgid "@code{xsession-command} (default: @code{xinitrc})"
  26309. msgstr ""
  26310. #. type: item
  26311. #: guix-git/doc/guix.texi:17985
  26312. #, no-wrap
  26313. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  26314. msgstr ""
  26315. #. type: table
  26316. #: guix-git/doc/guix.texi:17987
  26317. msgid "Directory to look for desktop files starting X sessions."
  26318. msgstr ""
  26319. #. type: item
  26320. #: guix-git/doc/guix.texi:17988
  26321. #, no-wrap
  26322. msgid "@code{minimum-vt} (default: 7)"
  26323. msgstr ""
  26324. #. type: table
  26325. #: guix-git/doc/guix.texi:17990
  26326. msgid "Minimum VT to use."
  26327. msgstr ""
  26328. #. type: item
  26329. #: guix-git/doc/guix.texi:17991
  26330. #, no-wrap
  26331. msgid "@code{auto-login-user} (default \"\")"
  26332. msgstr ""
  26333. #. type: table
  26334. #: guix-git/doc/guix.texi:17993
  26335. msgid "User to use for auto-login."
  26336. msgstr ""
  26337. #. type: item
  26338. #: guix-git/doc/guix.texi:17994
  26339. #, no-wrap
  26340. msgid "@code{auto-login-session} (default \"\")"
  26341. msgstr ""
  26342. #. type: table
  26343. #: guix-git/doc/guix.texi:17996
  26344. msgid "Desktop file to use for auto-login."
  26345. msgstr ""
  26346. #. type: item
  26347. #: guix-git/doc/guix.texi:17997
  26348. #, no-wrap
  26349. msgid "@code{relogin?} (default #f)"
  26350. msgstr ""
  26351. #. type: table
  26352. #: guix-git/doc/guix.texi:17999
  26353. msgid "Relogin after logout."
  26354. msgstr ""
  26355. #. type: cindex
  26356. #: guix-git/doc/guix.texi:18004
  26357. #, no-wrap
  26358. msgid "X11 login"
  26359. msgstr ""
  26360. #. type: defvr
  26361. #: guix-git/doc/guix.texi:18005
  26362. #, no-wrap
  26363. msgid "{Scheme Variable} sddm-service-type"
  26364. msgstr ""
  26365. #. type: defvr
  26366. #: guix-git/doc/guix.texi:18009
  26367. 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)."
  26368. msgstr ""
  26369. #. type: defvr
  26370. #: guix-git/doc/guix.texi:18011
  26371. msgid "Here's an example use:"
  26372. msgstr ""
  26373. #. type: lisp
  26374. #: guix-git/doc/guix.texi:18017
  26375. #, no-wrap
  26376. msgid ""
  26377. "(service sddm-service-type\n"
  26378. " (sddm-configuration\n"
  26379. " (auto-login-user \"alice\")\n"
  26380. " (auto-login-session \"xfce.desktop\")))\n"
  26381. msgstr ""
  26382. #. type: deftp
  26383. #: guix-git/doc/guix.texi:18023
  26384. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  26385. msgstr ""
  26386. #. type: item
  26387. #: guix-git/doc/guix.texi:18025
  26388. #, no-wrap
  26389. msgid "@code{sddm} (default: @code{sddm})"
  26390. msgstr ""
  26391. #. type: table
  26392. #: guix-git/doc/guix.texi:18027
  26393. msgid "The SDDM package to use."
  26394. msgstr ""
  26395. #. type: item
  26396. #: guix-git/doc/guix.texi:18028
  26397. #, no-wrap
  26398. msgid "@code{display-server} (default: @code{\"x11\"})"
  26399. msgstr ""
  26400. #. type: table
  26401. #: guix-git/doc/guix.texi:18030
  26402. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  26403. msgstr ""
  26404. #. type: item
  26405. #: guix-git/doc/guix.texi:18033
  26406. #, no-wrap
  26407. msgid "@code{auto-login-user} (default: @code{\"\"})"
  26408. msgstr ""
  26409. #. type: table
  26410. #: guix-git/doc/guix.texi:18036
  26411. msgid "If non-empty, this is the user account under which to log in automatically."
  26412. msgstr ""
  26413. #. type: item
  26414. #: guix-git/doc/guix.texi:18037
  26415. #, no-wrap
  26416. msgid "@code{auto-login-session} (default: @code{\"\"})"
  26417. msgstr ""
  26418. #. type: table
  26419. #: guix-git/doc/guix.texi:18040
  26420. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  26421. msgstr ""
  26422. #. type: cindex
  26423. #: guix-git/doc/guix.texi:18043
  26424. #, no-wrap
  26425. msgid "Xorg, configuration"
  26426. msgstr ""
  26427. #. type: deftp
  26428. #: guix-git/doc/guix.texi:18044
  26429. #, no-wrap
  26430. msgid "{Data Type} xorg-configuration"
  26431. msgstr ""
  26432. #. type: deftp
  26433. #: guix-git/doc/guix.texi:18049
  26434. 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."
  26435. msgstr ""
  26436. #. type: item
  26437. #: guix-git/doc/guix.texi:18051
  26438. #, no-wrap
  26439. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  26440. msgstr ""
  26441. #. type: table
  26442. #: guix-git/doc/guix.texi:18054
  26443. 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."
  26444. msgstr ""
  26445. #. type: item
  26446. #: guix-git/doc/guix.texi:18055
  26447. #, no-wrap
  26448. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  26449. msgstr ""
  26450. #. type: table
  26451. #: guix-git/doc/guix.texi:18057
  26452. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  26453. msgstr ""
  26454. #. type: item
  26455. #: guix-git/doc/guix.texi:18058
  26456. #, no-wrap
  26457. msgid "@code{drivers} (default: @code{'()})"
  26458. msgstr ""
  26459. #. type: table
  26460. #: guix-git/doc/guix.texi:18062
  26461. 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\")}."
  26462. msgstr ""
  26463. #. type: item
  26464. #: guix-git/doc/guix.texi:18063
  26465. #, no-wrap
  26466. msgid "@code{resolutions} (default: @code{'()})"
  26467. msgstr ""
  26468. #. type: table
  26469. #: guix-git/doc/guix.texi:18067
  26470. 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))}."
  26471. msgstr ""
  26472. #. type: cindex
  26473. #: guix-git/doc/guix.texi:18068
  26474. #, no-wrap
  26475. msgid "keyboard layout, for Xorg"
  26476. msgstr ""
  26477. #. type: cindex
  26478. #: guix-git/doc/guix.texi:18069
  26479. #, no-wrap
  26480. msgid "keymap, for Xorg"
  26481. msgstr ""
  26482. #. type: table
  26483. #: guix-git/doc/guix.texi:18073
  26484. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  26485. msgstr ""
  26486. #. type: table
  26487. #: guix-git/doc/guix.texi:18077
  26488. 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."
  26489. msgstr ""
  26490. #. type: item
  26491. #: guix-git/doc/guix.texi:18078 guix-git/doc/guix.texi:19789
  26492. #: guix-git/doc/guix.texi:31970
  26493. #, no-wrap
  26494. msgid "@code{extra-config} (default: @code{'()})"
  26495. msgstr ""
  26496. #. type: table
  26497. #: guix-git/doc/guix.texi:18081 guix-git/doc/guix.texi:31974
  26498. 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."
  26499. msgstr ""
  26500. #. type: item
  26501. #: guix-git/doc/guix.texi:18082
  26502. #, no-wrap
  26503. msgid "@code{server} (default: @code{xorg-server})"
  26504. msgstr ""
  26505. #. type: table
  26506. #: guix-git/doc/guix.texi:18084
  26507. msgid "This is the package providing the Xorg server."
  26508. msgstr ""
  26509. #. type: item
  26510. #: guix-git/doc/guix.texi:18085
  26511. #, no-wrap
  26512. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  26513. msgstr ""
  26514. #. type: table
  26515. #: guix-git/doc/guix.texi:18088
  26516. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  26517. msgstr ""
  26518. #. type: deffn
  26519. #: guix-git/doc/guix.texi:18091
  26520. #, no-wrap
  26521. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  26522. msgstr ""
  26523. #. type: deffn
  26524. #: guix-git/doc/guix.texi:18095
  26525. 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."
  26526. msgstr ""
  26527. #. type: deffn
  26528. #: guix-git/doc/guix.texi:18099
  26529. 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."
  26530. msgstr ""
  26531. #. type: deffn
  26532. #: guix-git/doc/guix.texi:18101
  26533. #, no-wrap
  26534. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  26535. msgstr ""
  26536. #. type: deffn
  26537. #: guix-git/doc/guix.texi:18105
  26538. 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}."
  26539. msgstr ""
  26540. #. type: deffn
  26541. #: guix-git/doc/guix.texi:18107
  26542. msgid "Usually the X server is started by a login manager."
  26543. msgstr ""
  26544. #. type: deffn
  26545. #: guix-git/doc/guix.texi:18110
  26546. #, no-wrap
  26547. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  26548. msgstr ""
  26549. #. type: deffn
  26550. #: guix-git/doc/guix.texi:18114
  26551. 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:"
  26552. msgstr ""
  26553. #. type: lisp
  26554. #: guix-git/doc/guix.texi:18117
  26555. #, no-wrap
  26556. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  26557. msgstr ""
  26558. #. type: deffn
  26559. #: guix-git/doc/guix.texi:18120
  26560. msgid "makes the good ol' XlockMore usable."
  26561. msgstr ""
  26562. #. type: cindex
  26563. #: guix-git/doc/guix.texi:18126
  26564. #, no-wrap
  26565. msgid "printer support with CUPS"
  26566. msgstr ""
  26567. #. type: Plain text
  26568. #: guix-git/doc/guix.texi:18130
  26569. 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:"
  26570. msgstr ""
  26571. #. type: deffn
  26572. #: guix-git/doc/guix.texi:18131
  26573. #, no-wrap
  26574. msgid "{Scheme Variable} cups-service-type"
  26575. msgstr ""
  26576. #. type: deffn
  26577. #: guix-git/doc/guix.texi:18135
  26578. 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:"
  26579. msgstr ""
  26580. #. type: lisp
  26581. #: guix-git/doc/guix.texi:18137
  26582. #, no-wrap
  26583. msgid "(service cups-service-type)\n"
  26584. msgstr ""
  26585. #. type: Plain text
  26586. #: guix-git/doc/guix.texi:18147
  26587. 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."
  26588. msgstr ""
  26589. #. type: Plain text
  26590. #: guix-git/doc/guix.texi:18153
  26591. 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):"
  26592. msgstr ""
  26593. #. type: lisp
  26594. #: guix-git/doc/guix.texi:18160
  26595. #, no-wrap
  26596. msgid ""
  26597. "(service cups-service-type\n"
  26598. " (cups-configuration\n"
  26599. " (web-interface? #t)\n"
  26600. " (extensions\n"
  26601. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  26602. msgstr ""
  26603. #. type: Plain text
  26604. #: guix-git/doc/guix.texi:18165
  26605. 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."
  26606. msgstr ""
  26607. #. type: Plain text
  26608. #: guix-git/doc/guix.texi:18172
  26609. 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."
  26610. msgstr ""
  26611. #. type: Plain text
  26612. #: guix-git/doc/guix.texi:18183
  26613. msgid "Available @code{cups-configuration} fields are:"
  26614. msgstr ""
  26615. #. type: deftypevr
  26616. #: guix-git/doc/guix.texi:18184
  26617. #, no-wrap
  26618. msgid "{@code{cups-configuration} parameter} package cups"
  26619. msgstr ""
  26620. #. type: deftypevr
  26621. #: guix-git/doc/guix.texi:18186 guix-git/doc/guix.texi:18954
  26622. msgid "The CUPS package."
  26623. msgstr ""
  26624. #. type: deftypevr
  26625. #: guix-git/doc/guix.texi:18188
  26626. #, no-wrap
  26627. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  26628. msgstr ""
  26629. #. type: deftypevr
  26630. #: guix-git/doc/guix.texi:18190
  26631. msgid "Drivers and other extensions to the CUPS package."
  26632. msgstr ""
  26633. #. type: deftypevr
  26634. #: guix-git/doc/guix.texi:18192
  26635. #, no-wrap
  26636. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  26637. msgstr ""
  26638. #. type: deftypevr
  26639. #: guix-git/doc/guix.texi:18195
  26640. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  26641. msgstr ""
  26642. #. type: deftypevr
  26643. #: guix-git/doc/guix.texi:18197
  26644. msgid "Available @code{files-configuration} fields are:"
  26645. msgstr ""
  26646. #. type: deftypevr
  26647. #: guix-git/doc/guix.texi:18198
  26648. #, no-wrap
  26649. msgid "{@code{files-configuration} parameter} log-location access-log"
  26650. msgstr ""
  26651. #. type: deftypevr
  26652. #: guix-git/doc/guix.texi:18206
  26653. 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}."
  26654. msgstr ""
  26655. #. type: deftypevr
  26656. #: guix-git/doc/guix.texi:18208
  26657. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  26658. msgstr ""
  26659. #. type: deftypevr
  26660. #: guix-git/doc/guix.texi:18210
  26661. #, no-wrap
  26662. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  26663. msgstr ""
  26664. #. type: deftypevr
  26665. #: guix-git/doc/guix.texi:18212
  26666. msgid "Where CUPS should cache data."
  26667. msgstr ""
  26668. #. type: deftypevr
  26669. #: guix-git/doc/guix.texi:18214
  26670. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  26671. msgstr ""
  26672. #. type: deftypevr
  26673. #: guix-git/doc/guix.texi:18216
  26674. #, no-wrap
  26675. msgid "{@code{files-configuration} parameter} string config-file-perm"
  26676. msgstr ""
  26677. #. type: deftypevr
  26678. #: guix-git/doc/guix.texi:18219
  26679. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  26680. msgstr ""
  26681. #. type: deftypevr
  26682. #: guix-git/doc/guix.texi:18225
  26683. 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."
  26684. msgstr ""
  26685. #. type: deftypevr
  26686. #: guix-git/doc/guix.texi:18227
  26687. msgid "Defaults to @samp{\"0640\"}."
  26688. msgstr ""
  26689. #. type: deftypevr
  26690. #: guix-git/doc/guix.texi:18229
  26691. #, no-wrap
  26692. msgid "{@code{files-configuration} parameter} log-location error-log"
  26693. msgstr ""
  26694. #. type: deftypevr
  26695. #: guix-git/doc/guix.texi:18237
  26696. 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}."
  26697. msgstr ""
  26698. #. type: deftypevr
  26699. #: guix-git/doc/guix.texi:18239
  26700. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  26701. msgstr ""
  26702. #. type: deftypevr
  26703. #: guix-git/doc/guix.texi:18241
  26704. #, no-wrap
  26705. msgid "{@code{files-configuration} parameter} string fatal-errors"
  26706. msgstr ""
  26707. #. type: deftypevr
  26708. #: guix-git/doc/guix.texi:18244
  26709. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  26710. msgstr ""
  26711. #. type: table
  26712. #: guix-git/doc/guix.texi:18248
  26713. msgid "No errors are fatal."
  26714. msgstr ""
  26715. #. type: table
  26716. #: guix-git/doc/guix.texi:18251
  26717. msgid "All of the errors below are fatal."
  26718. msgstr ""
  26719. #. type: item
  26720. #: guix-git/doc/guix.texi:18252
  26721. #, no-wrap
  26722. msgid "browse"
  26723. msgstr ""
  26724. #. type: table
  26725. #: guix-git/doc/guix.texi:18255
  26726. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  26727. msgstr ""
  26728. #. type: item
  26729. #: guix-git/doc/guix.texi:18256
  26730. #, no-wrap
  26731. msgid "config"
  26732. msgstr ""
  26733. #. type: table
  26734. #: guix-git/doc/guix.texi:18258
  26735. msgid "Configuration file syntax errors are fatal."
  26736. msgstr ""
  26737. #. type: item
  26738. #: guix-git/doc/guix.texi:18259
  26739. #, no-wrap
  26740. msgid "listen"
  26741. msgstr ""
  26742. #. type: table
  26743. #: guix-git/doc/guix.texi:18262
  26744. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  26745. msgstr ""
  26746. #. type: item
  26747. #: guix-git/doc/guix.texi:18263
  26748. #, no-wrap
  26749. msgid "log"
  26750. msgstr ""
  26751. #. type: table
  26752. #: guix-git/doc/guix.texi:18265
  26753. msgid "Log file creation or write errors are fatal."
  26754. msgstr ""
  26755. #. type: item
  26756. #: guix-git/doc/guix.texi:18266
  26757. #, no-wrap
  26758. msgid "permissions"
  26759. msgstr ""
  26760. #. type: table
  26761. #: guix-git/doc/guix.texi:18269
  26762. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  26763. msgstr ""
  26764. #. type: deftypevr
  26765. #: guix-git/doc/guix.texi:18272
  26766. msgid "Defaults to @samp{\"all -browse\"}."
  26767. msgstr ""
  26768. #. type: deftypevr
  26769. #: guix-git/doc/guix.texi:18274
  26770. #, no-wrap
  26771. msgid "{@code{files-configuration} parameter} boolean file-device?"
  26772. msgstr ""
  26773. #. type: deftypevr
  26774. #: guix-git/doc/guix.texi:18277
  26775. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  26776. msgstr ""
  26777. #. type: deftypevr
  26778. #: guix-git/doc/guix.texi:18279 guix-git/doc/guix.texi:18349
  26779. #: guix-git/doc/guix.texi:18391 guix-git/doc/guix.texi:18411
  26780. #: guix-git/doc/guix.texi:18417 guix-git/doc/guix.texi:18433
  26781. #: guix-git/doc/guix.texi:18521 guix-git/doc/guix.texi:18615
  26782. #: guix-git/doc/guix.texi:18928 guix-git/doc/guix.texi:18941
  26783. #: guix-git/doc/guix.texi:21490 guix-git/doc/guix.texi:21596
  26784. #: guix-git/doc/guix.texi:21661 guix-git/doc/guix.texi:21670
  26785. #: guix-git/doc/guix.texi:22675 guix-git/doc/guix.texi:22719
  26786. #: guix-git/doc/guix.texi:22736 guix-git/doc/guix.texi:22744
  26787. #: guix-git/doc/guix.texi:22759 guix-git/doc/guix.texi:22777
  26788. #: guix-git/doc/guix.texi:22801 guix-git/doc/guix.texi:22854
  26789. #: guix-git/doc/guix.texi:22987 guix-git/doc/guix.texi:23021
  26790. #: guix-git/doc/guix.texi:23057 guix-git/doc/guix.texi:23073
  26791. #: guix-git/doc/guix.texi:23101 guix-git/doc/guix.texi:23162
  26792. #: guix-git/doc/guix.texi:23245 guix-git/doc/guix.texi:26638
  26793. #: guix-git/doc/guix.texi:26652 guix-git/doc/guix.texi:26674
  26794. #: guix-git/doc/guix.texi:26793 guix-git/doc/guix.texi:26807
  26795. #: guix-git/doc/guix.texi:26828 guix-git/doc/guix.texi:26849
  26796. #: guix-git/doc/guix.texi:26856 guix-git/doc/guix.texi:26901
  26797. #: guix-git/doc/guix.texi:26908 guix-git/doc/guix.texi:27641
  26798. #: guix-git/doc/guix.texi:27655 guix-git/doc/guix.texi:27827
  26799. #: guix-git/doc/guix.texi:27872 guix-git/doc/guix.texi:27959
  26800. #: guix-git/doc/guix.texi:28161 guix-git/doc/guix.texi:28194
  26801. #: guix-git/doc/guix.texi:28334 guix-git/doc/guix.texi:28345
  26802. #: guix-git/doc/guix.texi:28596 guix-git/doc/guix.texi:30061
  26803. #: guix-git/doc/guix.texi:30070 guix-git/doc/guix.texi:30078
  26804. #: guix-git/doc/guix.texi:30086 guix-git/doc/guix.texi:30102
  26805. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30126
  26806. #: guix-git/doc/guix.texi:30134 guix-git/doc/guix.texi:30143
  26807. #: guix-git/doc/guix.texi:30152 guix-git/doc/guix.texi:30168
  26808. #: guix-git/doc/guix.texi:30232 guix-git/doc/guix.texi:30338
  26809. #: guix-git/doc/guix.texi:30346 guix-git/doc/guix.texi:30354
  26810. #: guix-git/doc/guix.texi:30379 guix-git/doc/guix.texi:30433
  26811. #: guix-git/doc/guix.texi:30481 guix-git/doc/guix.texi:30682
  26812. #: guix-git/doc/guix.texi:30689
  26813. msgid "Defaults to @samp{#f}."
  26814. msgstr ""
  26815. #. type: deftypevr
  26816. #: guix-git/doc/guix.texi:18281
  26817. #, no-wrap
  26818. msgid "{@code{files-configuration} parameter} string group"
  26819. msgstr ""
  26820. #. type: deftypevr
  26821. #: guix-git/doc/guix.texi:18284
  26822. msgid "Specifies the group name or ID that will be used when executing external programs."
  26823. msgstr ""
  26824. #. type: deftypevr
  26825. #: guix-git/doc/guix.texi:18286 guix-git/doc/guix.texi:18366
  26826. msgid "Defaults to @samp{\"lp\"}."
  26827. msgstr ""
  26828. #. type: deftypevr
  26829. #: guix-git/doc/guix.texi:18288
  26830. #, no-wrap
  26831. msgid "{@code{files-configuration} parameter} string log-file-perm"
  26832. msgstr ""
  26833. #. type: deftypevr
  26834. #: guix-git/doc/guix.texi:18290
  26835. msgid "Specifies the permissions for all log files that the scheduler writes."
  26836. msgstr ""
  26837. #. type: deftypevr
  26838. #: guix-git/doc/guix.texi:18292
  26839. msgid "Defaults to @samp{\"0644\"}."
  26840. msgstr ""
  26841. #. type: deftypevr
  26842. #: guix-git/doc/guix.texi:18294
  26843. #, no-wrap
  26844. msgid "{@code{files-configuration} parameter} log-location page-log"
  26845. msgstr ""
  26846. #. type: deftypevr
  26847. #: guix-git/doc/guix.texi:18302
  26848. 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}."
  26849. msgstr ""
  26850. #. type: deftypevr
  26851. #: guix-git/doc/guix.texi:18304
  26852. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  26853. msgstr ""
  26854. #. type: deftypevr
  26855. #: guix-git/doc/guix.texi:18306
  26856. #, no-wrap
  26857. msgid "{@code{files-configuration} parameter} string remote-root"
  26858. msgstr ""
  26859. #. type: deftypevr
  26860. #: guix-git/doc/guix.texi:18309
  26861. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  26862. msgstr ""
  26863. #. type: deftypevr
  26864. #: guix-git/doc/guix.texi:18311
  26865. msgid "Defaults to @samp{\"remroot\"}."
  26866. msgstr ""
  26867. #. type: deftypevr
  26868. #: guix-git/doc/guix.texi:18313
  26869. #, no-wrap
  26870. msgid "{@code{files-configuration} parameter} file-name request-root"
  26871. msgstr ""
  26872. #. type: deftypevr
  26873. #: guix-git/doc/guix.texi:18316
  26874. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  26875. msgstr ""
  26876. #. type: deftypevr
  26877. #: guix-git/doc/guix.texi:18318
  26878. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  26879. msgstr ""
  26880. #. type: deftypevr
  26881. #: guix-git/doc/guix.texi:18320
  26882. #, no-wrap
  26883. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  26884. msgstr ""
  26885. #. type: deftypevr
  26886. #: guix-git/doc/guix.texi:18325
  26887. 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."
  26888. msgstr ""
  26889. #. type: deftypevr
  26890. #: guix-git/doc/guix.texi:18327
  26891. msgid "Defaults to @samp{strict}."
  26892. msgstr ""
  26893. #. type: deftypevr
  26894. #: guix-git/doc/guix.texi:18329
  26895. #, no-wrap
  26896. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  26897. msgstr ""
  26898. #. type: deftypevr
  26899. #: guix-git/doc/guix.texi:18334
  26900. 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."
  26901. msgstr ""
  26902. #. type: deftypevr
  26903. #: guix-git/doc/guix.texi:18336
  26904. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  26905. msgstr ""
  26906. #. type: deftypevr
  26907. #: guix-git/doc/guix.texi:18338
  26908. #, no-wrap
  26909. msgid "{@code{files-configuration} parameter} file-name server-root"
  26910. msgstr ""
  26911. #. type: deftypevr
  26912. #: guix-git/doc/guix.texi:18340
  26913. msgid "Specifies the directory containing the server configuration files."
  26914. msgstr ""
  26915. #. type: deftypevr
  26916. #: guix-git/doc/guix.texi:18342
  26917. msgid "Defaults to @samp{\"/etc/cups\"}."
  26918. msgstr ""
  26919. #. type: deftypevr
  26920. #: guix-git/doc/guix.texi:18344
  26921. #, no-wrap
  26922. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  26923. msgstr ""
  26924. #. type: deftypevr
  26925. #: guix-git/doc/guix.texi:18347
  26926. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  26927. msgstr ""
  26928. #. type: deftypevr
  26929. #: guix-git/doc/guix.texi:18351
  26930. #, no-wrap
  26931. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  26932. msgstr ""
  26933. #. type: deftypevr
  26934. #: guix-git/doc/guix.texi:18353
  26935. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  26936. msgstr ""
  26937. #. type: deftypevr
  26938. #: guix-git/doc/guix.texi:18355
  26939. #, no-wrap
  26940. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  26941. msgstr ""
  26942. #. type: deftypevr
  26943. #: guix-git/doc/guix.texi:18357
  26944. msgid "Specifies the directory where temporary files are stored."
  26945. msgstr ""
  26946. #. type: deftypevr
  26947. #: guix-git/doc/guix.texi:18359
  26948. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  26949. msgstr ""
  26950. #. type: deftypevr
  26951. #: guix-git/doc/guix.texi:18361
  26952. #, no-wrap
  26953. msgid "{@code{files-configuration} parameter} string user"
  26954. msgstr ""
  26955. #. type: deftypevr
  26956. #: guix-git/doc/guix.texi:18364
  26957. msgid "Specifies the user name or ID that is used when running external programs."
  26958. msgstr ""
  26959. #. type: deftypevr
  26960. #: guix-git/doc/guix.texi:18368
  26961. #, no-wrap
  26962. msgid "{@code{files-configuration} parameter} string set-env"
  26963. msgstr ""
  26964. #. type: deftypevr
  26965. #: guix-git/doc/guix.texi:18370
  26966. msgid "Set the specified environment variable to be passed to child processes."
  26967. msgstr ""
  26968. #. type: deftypevr
  26969. #: guix-git/doc/guix.texi:18372
  26970. msgid "Defaults to @samp{\"variable value\"}."
  26971. msgstr ""
  26972. #. type: deftypevr
  26973. #: guix-git/doc/guix.texi:18375
  26974. #, no-wrap
  26975. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  26976. msgstr ""
  26977. #. type: deftypevr
  26978. #: guix-git/doc/guix.texi:18382
  26979. 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."
  26980. msgstr ""
  26981. #. type: deftypevr
  26982. #: guix-git/doc/guix.texi:18384
  26983. msgid "Defaults to @samp{actions}."
  26984. msgstr ""
  26985. #. type: deftypevr
  26986. #: guix-git/doc/guix.texi:18386
  26987. #, no-wrap
  26988. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  26989. msgstr ""
  26990. #. type: deftypevr
  26991. #: guix-git/doc/guix.texi:18389
  26992. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  26993. msgstr ""
  26994. #. type: deftypevr
  26995. #: guix-git/doc/guix.texi:18393
  26996. #, no-wrap
  26997. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  26998. msgstr ""
  26999. #. type: deftypevr
  27000. #: guix-git/doc/guix.texi:18397
  27001. 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."
  27002. msgstr ""
  27003. #. type: deftypevr
  27004. #: guix-git/doc/guix.texi:18399
  27005. msgid "Defaults to @samp{\"_cups\"}."
  27006. msgstr ""
  27007. #. type: deftypevr
  27008. #: guix-git/doc/guix.texi:18401
  27009. #, no-wrap
  27010. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  27011. msgstr ""
  27012. #. type: deftypevr
  27013. #: guix-git/doc/guix.texi:18403
  27014. msgid "Specifies which protocols to use for local printer sharing."
  27015. msgstr ""
  27016. #. type: deftypevr
  27017. #: guix-git/doc/guix.texi:18405
  27018. msgid "Defaults to @samp{dnssd}."
  27019. msgstr ""
  27020. #. type: deftypevr
  27021. #: guix-git/doc/guix.texi:18407
  27022. #, no-wrap
  27023. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  27024. msgstr ""
  27025. #. type: deftypevr
  27026. #: guix-git/doc/guix.texi:18409
  27027. msgid "Specifies whether the CUPS web interface is advertised."
  27028. msgstr ""
  27029. #. type: deftypevr
  27030. #: guix-git/doc/guix.texi:18413
  27031. #, no-wrap
  27032. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  27033. msgstr ""
  27034. #. type: deftypevr
  27035. #: guix-git/doc/guix.texi:18415
  27036. msgid "Specifies whether shared printers are advertised."
  27037. msgstr ""
  27038. #. type: deftypevr
  27039. #: guix-git/doc/guix.texi:18419
  27040. #, no-wrap
  27041. msgid "{@code{cups-configuration} parameter} string classification"
  27042. msgstr ""
  27043. #. type: deftypevr
  27044. #: guix-git/doc/guix.texi:18424
  27045. 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."
  27046. msgstr ""
  27047. #. type: deftypevr
  27048. #: guix-git/doc/guix.texi:18426 guix-git/doc/guix.texi:18763
  27049. #: guix-git/doc/guix.texi:20711 guix-git/doc/guix.texi:20723
  27050. #: guix-git/doc/guix.texi:21497 guix-git/doc/guix.texi:21511
  27051. #: guix-git/doc/guix.texi:21518 guix-git/doc/guix.texi:21525
  27052. #: guix-git/doc/guix.texi:21555 guix-git/doc/guix.texi:21653
  27053. #: guix-git/doc/guix.texi:23544 guix-git/doc/guix.texi:23570
  27054. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23652
  27055. #: guix-git/doc/guix.texi:23671 guix-git/doc/guix.texi:23710
  27056. #: guix-git/doc/guix.texi:23769 guix-git/doc/guix.texi:23779
  27057. #: guix-git/doc/guix.texi:28300 guix-git/doc/guix.texi:28308
  27058. #: guix-git/doc/guix.texi:28316 guix-git/doc/guix.texi:28324
  27059. #: guix-git/doc/guix.texi:28603 guix-git/doc/guix.texi:29904
  27060. #: guix-git/doc/guix.texi:29912 guix-git/doc/guix.texi:29920
  27061. #: guix-git/doc/guix.texi:30028 guix-git/doc/guix.texi:30053
  27062. #: guix-git/doc/guix.texi:30184 guix-git/doc/guix.texi:30192
  27063. #: guix-git/doc/guix.texi:30200 guix-git/doc/guix.texi:30208
  27064. #: guix-git/doc/guix.texi:30216 guix-git/doc/guix.texi:30224
  27065. #: guix-git/doc/guix.texi:30247 guix-git/doc/guix.texi:30255
  27066. #: guix-git/doc/guix.texi:30307 guix-git/doc/guix.texi:30323
  27067. #: guix-git/doc/guix.texi:30331 guix-git/doc/guix.texi:30370
  27068. #: guix-git/doc/guix.texi:30393 guix-git/doc/guix.texi:30415
  27069. #: guix-git/doc/guix.texi:30422 guix-git/doc/guix.texi:30457
  27070. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30489
  27071. #: guix-git/doc/guix.texi:30521 guix-git/doc/guix.texi:30550
  27072. #: guix-git/doc/guix.texi:30557 guix-git/doc/guix.texi:30564
  27073. #: guix-git/doc/guix.texi:30572 guix-git/doc/guix.texi:30586
  27074. #: guix-git/doc/guix.texi:30595 guix-git/doc/guix.texi:30605
  27075. #: guix-git/doc/guix.texi:30612 guix-git/doc/guix.texi:30619
  27076. #: guix-git/doc/guix.texi:30626 guix-git/doc/guix.texi:30697
  27077. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  27078. #: guix-git/doc/guix.texi:30720 guix-git/doc/guix.texi:30736
  27079. #: guix-git/doc/guix.texi:30743 guix-git/doc/guix.texi:30750
  27080. #: guix-git/doc/guix.texi:30757 guix-git/doc/guix.texi:30765
  27081. #: guix-git/doc/guix.texi:30773
  27082. msgid "Defaults to @samp{\"\"}."
  27083. msgstr ""
  27084. #. type: deftypevr
  27085. #: guix-git/doc/guix.texi:18428
  27086. #, no-wrap
  27087. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  27088. msgstr ""
  27089. #. type: deftypevr
  27090. #: guix-git/doc/guix.texi:18431
  27091. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  27092. msgstr ""
  27093. #. type: deftypevr
  27094. #: guix-git/doc/guix.texi:18435
  27095. #, no-wrap
  27096. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  27097. msgstr ""
  27098. #. type: deftypevr
  27099. #: guix-git/doc/guix.texi:18437
  27100. msgid "Specifies the default type of authentication to use."
  27101. msgstr ""
  27102. #. type: deftypevr
  27103. #: guix-git/doc/guix.texi:18439
  27104. msgid "Defaults to @samp{Basic}."
  27105. msgstr ""
  27106. #. type: deftypevr
  27107. #: guix-git/doc/guix.texi:18441
  27108. #, no-wrap
  27109. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  27110. msgstr ""
  27111. #. type: deftypevr
  27112. #: guix-git/doc/guix.texi:18443
  27113. msgid "Specifies whether encryption will be used for authenticated requests."
  27114. msgstr ""
  27115. #. type: deftypevr
  27116. #: guix-git/doc/guix.texi:18445
  27117. msgid "Defaults to @samp{Required}."
  27118. msgstr ""
  27119. #. type: deftypevr
  27120. #: guix-git/doc/guix.texi:18447
  27121. #, no-wrap
  27122. msgid "{@code{cups-configuration} parameter} string default-language"
  27123. msgstr ""
  27124. #. type: deftypevr
  27125. #: guix-git/doc/guix.texi:18449
  27126. msgid "Specifies the default language to use for text and web content."
  27127. msgstr ""
  27128. #. type: deftypevr
  27129. #: guix-git/doc/guix.texi:18451
  27130. msgid "Defaults to @samp{\"en\"}."
  27131. msgstr ""
  27132. #. type: deftypevr
  27133. #: guix-git/doc/guix.texi:18453
  27134. #, no-wrap
  27135. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  27136. msgstr ""
  27137. #. type: deftypevr
  27138. #: guix-git/doc/guix.texi:18458
  27139. 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\"}."
  27140. msgstr ""
  27141. #. type: deftypevr
  27142. #: guix-git/doc/guix.texi:18460
  27143. msgid "Defaults to @samp{\"Auto\"}."
  27144. msgstr ""
  27145. #. type: deftypevr
  27146. #: guix-git/doc/guix.texi:18462
  27147. #, no-wrap
  27148. msgid "{@code{cups-configuration} parameter} string default-policy"
  27149. msgstr ""
  27150. #. type: deftypevr
  27151. #: guix-git/doc/guix.texi:18464
  27152. msgid "Specifies the default access policy to use."
  27153. msgstr ""
  27154. #. type: deftypevr
  27155. #: guix-git/doc/guix.texi:18466
  27156. msgid "Defaults to @samp{\"default\"}."
  27157. msgstr ""
  27158. #. type: deftypevr
  27159. #: guix-git/doc/guix.texi:18468
  27160. #, no-wrap
  27161. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  27162. msgstr ""
  27163. #. type: deftypevr
  27164. #: guix-git/doc/guix.texi:18470
  27165. msgid "Specifies whether local printers are shared by default."
  27166. msgstr ""
  27167. #. type: deftypevr
  27168. #: guix-git/doc/guix.texi:18472 guix-git/doc/guix.texi:18552
  27169. #: guix-git/doc/guix.texi:18848 guix-git/doc/guix.texi:21587
  27170. #: guix-git/doc/guix.texi:21638 guix-git/doc/guix.texi:21645
  27171. #: guix-git/doc/guix.texi:22699 guix-git/doc/guix.texi:22887
  27172. #: guix-git/doc/guix.texi:23004 guix-git/doc/guix.texi:23040
  27173. #: guix-git/doc/guix.texi:23091 guix-git/doc/guix.texi:23110
  27174. #: guix-git/doc/guix.texi:23120 guix-git/doc/guix.texi:23130
  27175. #: guix-git/doc/guix.texi:23189 guix-git/doc/guix.texi:23211
  27176. #: guix-git/doc/guix.texi:23236 guix-git/doc/guix.texi:23262
  27177. #: guix-git/doc/guix.texi:23280 guix-git/doc/guix.texi:26460
  27178. #: guix-git/doc/guix.texi:26488 guix-git/doc/guix.texi:26615
  27179. #: guix-git/doc/guix.texi:26622 guix-git/doc/guix.texi:26630
  27180. #: guix-git/doc/guix.texi:26667 guix-git/doc/guix.texi:26681
  27181. #: guix-git/doc/guix.texi:26770 guix-git/doc/guix.texi:26777
  27182. #: guix-git/doc/guix.texi:26785 guix-git/doc/guix.texi:27508
  27183. #: guix-git/doc/guix.texi:27648 guix-git/doc/guix.texi:27834
  27184. #: guix-git/doc/guix.texi:27841 guix-git/doc/guix.texi:27863
  27185. #: guix-git/doc/guix.texi:27902 guix-git/doc/guix.texi:27922
  27186. #: guix-git/doc/guix.texi:27936 guix-git/doc/guix.texi:28149
  27187. #: guix-git/doc/guix.texi:30006 guix-git/doc/guix.texi:30094
  27188. #: guix-git/doc/guix.texi:30110 guix-git/doc/guix.texi:30160
  27189. msgid "Defaults to @samp{#t}."
  27190. msgstr ""
  27191. #. type: deftypevr
  27192. #: guix-git/doc/guix.texi:18474
  27193. #, no-wrap
  27194. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  27195. msgstr ""
  27196. #. type: deftypevr
  27197. #: guix-git/doc/guix.texi:18478
  27198. 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."
  27199. msgstr ""
  27200. #. type: deftypevr
  27201. #: guix-git/doc/guix.texi:18480 guix-git/doc/guix.texi:18528
  27202. #: guix-git/doc/guix.texi:18537 guix-git/doc/guix.texi:18558
  27203. #: guix-git/doc/guix.texi:18855 guix-git/doc/guix.texi:23049
  27204. #: guix-git/doc/guix.texi:23082
  27205. msgid "Defaults to @samp{30}."
  27206. msgstr ""
  27207. #. type: deftypevr
  27208. #: guix-git/doc/guix.texi:18482
  27209. #, no-wrap
  27210. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  27211. msgstr ""
  27212. #. type: deftypevr
  27213. #: guix-git/doc/guix.texi:18488
  27214. 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."
  27215. msgstr ""
  27216. #. type: deftypevr
  27217. #: guix-git/doc/guix.texi:18490
  27218. msgid "Defaults to @samp{stop-printer}."
  27219. msgstr ""
  27220. #. type: deftypevr
  27221. #: guix-git/doc/guix.texi:18492
  27222. #, no-wrap
  27223. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  27224. msgstr ""
  27225. #. type: deftypevr
  27226. #: guix-git/doc/guix.texi:18500
  27227. 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."
  27228. msgstr ""
  27229. #. type: deftypevr
  27230. #: guix-git/doc/guix.texi:18502 guix-git/doc/guix.texi:18510
  27231. #: guix-git/doc/guix.texi:18565 guix-git/doc/guix.texi:18681
  27232. #: guix-git/doc/guix.texi:18695 guix-git/doc/guix.texi:18702
  27233. #: guix-git/doc/guix.texi:20153 guix-git/doc/guix.texi:20169
  27234. #: guix-git/doc/guix.texi:20815 guix-git/doc/guix.texi:20827
  27235. #: guix-git/doc/guix.texi:21606 guix-git/doc/guix.texi:21615
  27236. #: guix-git/doc/guix.texi:21623 guix-git/doc/guix.texi:21631
  27237. #: guix-git/doc/guix.texi:27524 guix-git/doc/guix.texi:27849
  27238. #: guix-git/doc/guix.texi:29999 guix-git/doc/guix.texi:30299
  27239. #: guix-git/doc/guix.texi:30473
  27240. msgid "Defaults to @samp{0}."
  27241. msgstr ""
  27242. #. type: deftypevr
  27243. #: guix-git/doc/guix.texi:18504
  27244. #, no-wrap
  27245. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  27246. msgstr ""
  27247. #. type: deftypevr
  27248. #: guix-git/doc/guix.texi:18508
  27249. 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."
  27250. msgstr ""
  27251. #. type: deftypevr
  27252. #: guix-git/doc/guix.texi:18512
  27253. #, no-wrap
  27254. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  27255. msgstr ""
  27256. #. type: deftypevr
  27257. #: guix-git/doc/guix.texi:18519
  27258. 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."
  27259. msgstr ""
  27260. #. type: deftypevr
  27261. #: guix-git/doc/guix.texi:18523
  27262. #, no-wrap
  27263. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  27264. msgstr ""
  27265. #. type: deftypevr
  27266. #: guix-git/doc/guix.texi:18526
  27267. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  27268. msgstr ""
  27269. #. type: deftypevr
  27270. #: guix-git/doc/guix.texi:18530
  27271. #, no-wrap
  27272. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  27273. msgstr ""
  27274. #. type: deftypevr
  27275. #: guix-git/doc/guix.texi:18535
  27276. 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}."
  27277. msgstr ""
  27278. #. type: deftypevr
  27279. #: guix-git/doc/guix.texi:18539
  27280. #, no-wrap
  27281. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  27282. msgstr ""
  27283. #. type: deftypevr
  27284. #: guix-git/doc/guix.texi:18544
  27285. 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}."
  27286. msgstr ""
  27287. #. type: deftypevr
  27288. #: guix-git/doc/guix.texi:18546 guix-git/doc/guix.texi:23013
  27289. #: guix-git/doc/guix.texi:28401 guix-git/doc/guix.texi:28421
  27290. #: guix-git/doc/guix.texi:28437 guix-git/doc/guix.texi:28451
  27291. #: guix-git/doc/guix.texi:28458 guix-git/doc/guix.texi:28465
  27292. #: guix-git/doc/guix.texi:28472 guix-git/doc/guix.texi:28632
  27293. #: guix-git/doc/guix.texi:28648 guix-git/doc/guix.texi:28655
  27294. #: guix-git/doc/guix.texi:28662 guix-git/doc/guix.texi:28673
  27295. #: guix-git/doc/guix.texi:29951 guix-git/doc/guix.texi:29959
  27296. #: guix-git/doc/guix.texi:29967 guix-git/doc/guix.texi:29991
  27297. msgid "Defaults to @samp{5}."
  27298. msgstr ""
  27299. #. type: deftypevr
  27300. #: guix-git/doc/guix.texi:18548
  27301. #, no-wrap
  27302. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  27303. msgstr ""
  27304. #. type: deftypevr
  27305. #: guix-git/doc/guix.texi:18550
  27306. msgid "Specifies whether to support HTTP keep-alive connections."
  27307. msgstr ""
  27308. #. type: deftypevr
  27309. #: guix-git/doc/guix.texi:18554
  27310. #, no-wrap
  27311. msgid "{@code{cups-configuration} parameter} non-negative-integer keep-alive-timeout"
  27312. msgstr ""
  27313. #. type: deftypevr
  27314. #: guix-git/doc/guix.texi:18556
  27315. msgid "Specifies how long an idle client connection remains open, in seconds."
  27316. msgstr ""
  27317. #. type: deftypevr
  27318. #: guix-git/doc/guix.texi:18560
  27319. #, no-wrap
  27320. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  27321. msgstr ""
  27322. #. type: deftypevr
  27323. #: guix-git/doc/guix.texi:18563
  27324. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  27325. msgstr ""
  27326. #. type: deftypevr
  27327. #: guix-git/doc/guix.texi:18567
  27328. #, no-wrap
  27329. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  27330. msgstr ""
  27331. #. type: deftypevr
  27332. #: guix-git/doc/guix.texi:18574
  27333. 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."
  27334. msgstr ""
  27335. #. type: deftypevr
  27336. #: guix-git/doc/guix.texi:18576
  27337. #, no-wrap
  27338. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  27339. msgstr ""
  27340. #. type: deftypevr
  27341. #: guix-git/doc/guix.texi:18583
  27342. 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."
  27343. msgstr ""
  27344. #. type: deftypevr
  27345. #: guix-git/doc/guix.texi:18585
  27346. msgid "Defaults to @samp{128}."
  27347. msgstr ""
  27348. #. type: deftypevr
  27349. #: guix-git/doc/guix.texi:18587
  27350. #, no-wrap
  27351. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  27352. msgstr ""
  27353. #. type: deftypevr
  27354. #: guix-git/doc/guix.texi:18589
  27355. msgid "Specifies a set of additional access controls."
  27356. msgstr ""
  27357. #. type: deftypevr
  27358. #: guix-git/doc/guix.texi:18591
  27359. msgid "Available @code{location-access-controls} fields are:"
  27360. msgstr ""
  27361. #. type: deftypevr
  27362. #: guix-git/doc/guix.texi:18592
  27363. #, no-wrap
  27364. msgid "{@code{location-access-controls} parameter} file-name path"
  27365. msgstr ""
  27366. #. type: deftypevr
  27367. #: guix-git/doc/guix.texi:18594
  27368. msgid "Specifies the URI path to which the access control applies."
  27369. msgstr ""
  27370. #. type: deftypevr
  27371. #: guix-git/doc/guix.texi:18596
  27372. #, no-wrap
  27373. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  27374. msgstr ""
  27375. #. type: deftypevr
  27376. #: guix-git/doc/guix.texi:18599
  27377. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  27378. msgstr ""
  27379. #. type: deftypevr
  27380. #: guix-git/doc/guix.texi:18601 guix-git/doc/guix.texi:18607
  27381. #: guix-git/doc/guix.texi:18621 guix-git/doc/guix.texi:18628
  27382. #: guix-git/doc/guix.texi:18770 guix-git/doc/guix.texi:18829
  27383. #: guix-git/doc/guix.texi:18907 guix-git/doc/guix.texi:18921
  27384. #: guix-git/doc/guix.texi:21301 guix-git/doc/guix.texi:21504
  27385. #: guix-git/doc/guix.texi:21532 guix-git/doc/guix.texi:21562
  27386. #: guix-git/doc/guix.texi:21677 guix-git/doc/guix.texi:21690
  27387. #: guix-git/doc/guix.texi:21697 guix-git/doc/guix.texi:23219
  27388. #: guix-git/doc/guix.texi:23614 guix-git/doc/guix.texi:23718
  27389. #: guix-git/doc/guix.texi:24145 guix-git/doc/guix.texi:24153
  27390. #: guix-git/doc/guix.texi:24398 guix-git/doc/guix.texi:26519
  27391. #: guix-git/doc/guix.texi:26688 guix-git/doc/guix.texi:26887
  27392. #: guix-git/doc/guix.texi:28292 guix-git/doc/guix.texi:28352
  27393. #: guix-git/doc/guix.texi:28360 guix-git/doc/guix.texi:30014
  27394. #: guix-git/doc/guix.texi:30021 guix-git/doc/guix.texi:30363
  27395. #: guix-git/doc/guix.texi:30441 guix-git/doc/guix.texi:30535
  27396. #: guix-git/doc/guix.texi:30543 guix-git/doc/guix.texi:30579
  27397. #: guix-git/doc/guix.texi:30729 guix-git/doc/guix.texi:30780
  27398. #: guix-git/doc/guix.texi:30789
  27399. msgid "Defaults to @samp{()}."
  27400. msgstr ""
  27401. #. type: deftypevr
  27402. #: guix-git/doc/guix.texi:18603
  27403. #, no-wrap
  27404. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  27405. msgstr ""
  27406. #. type: deftypevr
  27407. #: guix-git/doc/guix.texi:18605
  27408. msgid "Access controls for method-specific access to this path."
  27409. msgstr ""
  27410. #. type: deftypevr
  27411. #: guix-git/doc/guix.texi:18609
  27412. msgid "Available @code{method-access-controls} fields are:"
  27413. msgstr ""
  27414. #. type: deftypevr
  27415. #: guix-git/doc/guix.texi:18610
  27416. #, no-wrap
  27417. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  27418. msgstr ""
  27419. #. type: deftypevr
  27420. #: guix-git/doc/guix.texi:18613
  27421. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  27422. msgstr ""
  27423. #. type: deftypevr
  27424. #: guix-git/doc/guix.texi:18617
  27425. #, no-wrap
  27426. msgid "{@code{method-access-controls} parameter} method-list methods"
  27427. msgstr ""
  27428. #. type: deftypevr
  27429. #: guix-git/doc/guix.texi:18619
  27430. msgid "Methods to which this access control applies."
  27431. msgstr ""
  27432. #. type: deftypevr
  27433. #: guix-git/doc/guix.texi:18623
  27434. #, no-wrap
  27435. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  27436. msgstr ""
  27437. #. type: deftypevr
  27438. #: guix-git/doc/guix.texi:18626
  27439. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  27440. msgstr ""
  27441. #. type: deftypevr
  27442. #: guix-git/doc/guix.texi:18632
  27443. #, no-wrap
  27444. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  27445. msgstr ""
  27446. #. type: deftypevr
  27447. #: guix-git/doc/guix.texi:18636
  27448. 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."
  27449. msgstr ""
  27450. #. type: deftypevr
  27451. #: guix-git/doc/guix.texi:18638 guix-git/doc/guix.texi:18659
  27452. #: guix-git/doc/guix.texi:18666 guix-git/doc/guix.texi:21061
  27453. #: guix-git/doc/guix.texi:22751 guix-git/doc/guix.texi:22766
  27454. #: guix-git/doc/guix.texi:26872
  27455. msgid "Defaults to @samp{100}."
  27456. msgstr ""
  27457. #. type: deftypevr
  27458. #: guix-git/doc/guix.texi:18640
  27459. #, no-wrap
  27460. msgid "{@code{cups-configuration} parameter} log-level log-level"
  27461. msgstr ""
  27462. #. type: deftypevr
  27463. #: guix-git/doc/guix.texi:18643
  27464. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  27465. msgstr ""
  27466. #. type: deftypevr
  27467. #: guix-git/doc/guix.texi:18645 guix-git/doc/guix.texi:23228
  27468. msgid "Defaults to @samp{info}."
  27469. msgstr ""
  27470. #. type: deftypevr
  27471. #: guix-git/doc/guix.texi:18647
  27472. #, no-wrap
  27473. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  27474. msgstr ""
  27475. #. type: deftypevr
  27476. #: guix-git/doc/guix.texi:18650
  27477. 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."
  27478. msgstr ""
  27479. #. type: deftypevr
  27480. #: guix-git/doc/guix.texi:18652
  27481. msgid "Defaults to @samp{standard}."
  27482. msgstr ""
  27483. #. type: deftypevr
  27484. #: guix-git/doc/guix.texi:18654
  27485. #, no-wrap
  27486. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  27487. msgstr ""
  27488. #. type: deftypevr
  27489. #: guix-git/doc/guix.texi:18657
  27490. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  27491. msgstr ""
  27492. #. type: deftypevr
  27493. #: guix-git/doc/guix.texi:18661
  27494. #, no-wrap
  27495. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  27496. msgstr ""
  27497. #. type: deftypevr
  27498. #: guix-git/doc/guix.texi:18664
  27499. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  27500. msgstr ""
  27501. #. type: deftypevr
  27502. #: guix-git/doc/guix.texi:18668
  27503. #, no-wrap
  27504. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  27505. msgstr ""
  27506. #. type: deftypevr
  27507. #: guix-git/doc/guix.texi:18671
  27508. msgid "Specifies the maximum number of copies that a user can print of each job."
  27509. msgstr ""
  27510. #. type: deftypevr
  27511. #: guix-git/doc/guix.texi:18673
  27512. msgid "Defaults to @samp{9999}."
  27513. msgstr ""
  27514. #. type: deftypevr
  27515. #: guix-git/doc/guix.texi:18675
  27516. #, no-wrap
  27517. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  27518. msgstr ""
  27519. #. type: deftypevr
  27520. #: guix-git/doc/guix.texi:18679
  27521. 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."
  27522. msgstr ""
  27523. #. type: deftypevr
  27524. #: guix-git/doc/guix.texi:18683
  27525. #, no-wrap
  27526. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  27527. msgstr ""
  27528. #. type: deftypevr
  27529. #: guix-git/doc/guix.texi:18686
  27530. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  27531. msgstr ""
  27532. #. type: deftypevr
  27533. #: guix-git/doc/guix.texi:18688
  27534. msgid "Defaults to @samp{500}."
  27535. msgstr ""
  27536. #. type: deftypevr
  27537. #: guix-git/doc/guix.texi:18690
  27538. #, no-wrap
  27539. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  27540. msgstr ""
  27541. #. type: deftypevr
  27542. #: guix-git/doc/guix.texi:18693
  27543. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  27544. msgstr ""
  27545. #. type: deftypevr
  27546. #: guix-git/doc/guix.texi:18697
  27547. #, no-wrap
  27548. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  27549. msgstr ""
  27550. #. type: deftypevr
  27551. #: guix-git/doc/guix.texi:18700
  27552. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  27553. msgstr ""
  27554. #. type: deftypevr
  27555. #: guix-git/doc/guix.texi:18704
  27556. #, no-wrap
  27557. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  27558. msgstr ""
  27559. #. type: deftypevr
  27560. #: guix-git/doc/guix.texi:18707
  27561. 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."
  27562. msgstr ""
  27563. #. type: deftypevr
  27564. #: guix-git/doc/guix.texi:18709
  27565. msgid "Defaults to @samp{10800}."
  27566. msgstr ""
  27567. #. type: deftypevr
  27568. #: guix-git/doc/guix.texi:18711
  27569. #, no-wrap
  27570. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  27571. msgstr ""
  27572. #. type: deftypevr
  27573. #: guix-git/doc/guix.texi:18714
  27574. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  27575. msgstr ""
  27576. #. type: deftypevr
  27577. #: guix-git/doc/guix.texi:18716
  27578. msgid "Defaults to @samp{1048576}."
  27579. msgstr ""
  27580. #. type: deftypevr
  27581. #: guix-git/doc/guix.texi:18718
  27582. #, no-wrap
  27583. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  27584. msgstr ""
  27585. #. type: deftypevr
  27586. #: guix-git/doc/guix.texi:18721
  27587. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  27588. msgstr ""
  27589. #. type: deftypevr
  27590. #: guix-git/doc/guix.texi:18723 guix-git/doc/guix.texi:18934
  27591. #: guix-git/doc/guix.texi:26453
  27592. msgid "Defaults to @samp{300}."
  27593. msgstr ""
  27594. #. type: deftypevr
  27595. #: guix-git/doc/guix.texi:18725
  27596. #, no-wrap
  27597. msgid "{@code{cups-configuration} parameter} string page-log-format"
  27598. msgstr ""
  27599. #. type: deftypevr
  27600. #: guix-git/doc/guix.texi:18730
  27601. 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:"
  27602. msgstr ""
  27603. #. type: item
  27604. #: guix-git/doc/guix.texi:18732
  27605. #, no-wrap
  27606. msgid "%%"
  27607. msgstr ""
  27608. #. type: table
  27609. #: guix-git/doc/guix.texi:18734
  27610. msgid "insert a single percent character"
  27611. msgstr ""
  27612. #. type: item
  27613. #: guix-git/doc/guix.texi:18735
  27614. #, no-wrap
  27615. msgid "%@{name@}"
  27616. msgstr ""
  27617. #. type: table
  27618. #: guix-git/doc/guix.texi:18737
  27619. msgid "insert the value of the specified IPP attribute"
  27620. msgstr ""
  27621. #. type: item
  27622. #: guix-git/doc/guix.texi:18738
  27623. #, no-wrap
  27624. msgid "%C"
  27625. msgstr ""
  27626. #. type: table
  27627. #: guix-git/doc/guix.texi:18740
  27628. msgid "insert the number of copies for the current page"
  27629. msgstr ""
  27630. #. type: item
  27631. #: guix-git/doc/guix.texi:18741
  27632. #, no-wrap
  27633. msgid "%P"
  27634. msgstr ""
  27635. #. type: table
  27636. #: guix-git/doc/guix.texi:18743
  27637. msgid "insert the current page number"
  27638. msgstr ""
  27639. #. type: item
  27640. #: guix-git/doc/guix.texi:18744
  27641. #, no-wrap
  27642. msgid "%T"
  27643. msgstr ""
  27644. #. type: table
  27645. #: guix-git/doc/guix.texi:18746
  27646. msgid "insert the current date and time in common log format"
  27647. msgstr ""
  27648. #. type: item
  27649. #: guix-git/doc/guix.texi:18747
  27650. #, no-wrap
  27651. msgid "%j"
  27652. msgstr ""
  27653. #. type: table
  27654. #: guix-git/doc/guix.texi:18749
  27655. msgid "insert the job ID"
  27656. msgstr ""
  27657. #. type: item
  27658. #: guix-git/doc/guix.texi:18750 guix-git/doc/guix.texi:20671
  27659. #, no-wrap
  27660. msgid "%p"
  27661. msgstr ""
  27662. #. type: table
  27663. #: guix-git/doc/guix.texi:18752
  27664. msgid "insert the printer name"
  27665. msgstr ""
  27666. #. type: item
  27667. #: guix-git/doc/guix.texi:18753 guix-git/doc/guix.texi:20694
  27668. #, no-wrap
  27669. msgid "%u"
  27670. msgstr ""
  27671. #. type: table
  27672. #: guix-git/doc/guix.texi:18755
  27673. msgid "insert the username"
  27674. msgstr ""
  27675. #. type: deftypevr
  27676. #: guix-git/doc/guix.texi:18761
  27677. 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."
  27678. msgstr ""
  27679. #. type: deftypevr
  27680. #: guix-git/doc/guix.texi:18765
  27681. #, no-wrap
  27682. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  27683. msgstr ""
  27684. #. type: deftypevr
  27685. #: guix-git/doc/guix.texi:18768
  27686. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  27687. msgstr ""
  27688. #. type: deftypevr
  27689. #: guix-git/doc/guix.texi:18772
  27690. #, no-wrap
  27691. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  27692. msgstr ""
  27693. #. type: deftypevr
  27694. #: guix-git/doc/guix.texi:18774
  27695. msgid "Specifies named access control policies."
  27696. msgstr ""
  27697. #. type: deftypevr
  27698. #: guix-git/doc/guix.texi:18776
  27699. msgid "Available @code{policy-configuration} fields are:"
  27700. msgstr ""
  27701. #. type: deftypevr
  27702. #: guix-git/doc/guix.texi:18777
  27703. #, no-wrap
  27704. msgid "{@code{policy-configuration} parameter} string name"
  27705. msgstr ""
  27706. #. type: deftypevr
  27707. #: guix-git/doc/guix.texi:18779
  27708. msgid "Name of the policy."
  27709. msgstr ""
  27710. #. type: deftypevr
  27711. #: guix-git/doc/guix.texi:18781
  27712. #, no-wrap
  27713. msgid "{@code{policy-configuration} parameter} string job-private-access"
  27714. msgstr ""
  27715. #. type: deftypevr
  27716. #: guix-git/doc/guix.texi:18791
  27717. 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-config} 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}."
  27718. msgstr ""
  27719. #. type: deftypevr
  27720. #: guix-git/doc/guix.texi:18793 guix-git/doc/guix.texi:18815
  27721. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  27722. msgstr ""
  27723. #. type: deftypevr
  27724. #: guix-git/doc/guix.texi:18795
  27725. #, no-wrap
  27726. msgid "{@code{policy-configuration} parameter} string job-private-values"
  27727. msgstr ""
  27728. #. type: deftypevr
  27729. #: guix-git/doc/guix.texi:18798 guix-git/doc/guix.texi:18820
  27730. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  27731. msgstr ""
  27732. #. type: deftypevr
  27733. #: guix-git/doc/guix.texi:18801
  27734. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  27735. msgstr ""
  27736. #. type: deftypevr
  27737. #: guix-git/doc/guix.texi:18803
  27738. #, no-wrap
  27739. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  27740. msgstr ""
  27741. #. type: deftypevr
  27742. #: guix-git/doc/guix.texi:18813
  27743. 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-config} 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}."
  27744. msgstr ""
  27745. #. type: deftypevr
  27746. #: guix-git/doc/guix.texi:18817
  27747. #, no-wrap
  27748. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  27749. msgstr ""
  27750. #. type: deftypevr
  27751. #: guix-git/doc/guix.texi:18823
  27752. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  27753. msgstr ""
  27754. #. type: deftypevr
  27755. #: guix-git/doc/guix.texi:18825
  27756. #, no-wrap
  27757. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  27758. msgstr ""
  27759. #. type: deftypevr
  27760. #: guix-git/doc/guix.texi:18827
  27761. msgid "Access control by IPP operation."
  27762. msgstr ""
  27763. #. type: deftypevr
  27764. #: guix-git/doc/guix.texi:18832
  27765. #, no-wrap
  27766. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  27767. msgstr ""
  27768. #. type: deftypevr
  27769. #: guix-git/doc/guix.texi:18837
  27770. 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."
  27771. msgstr ""
  27772. #. type: deftypevr
  27773. #: guix-git/doc/guix.texi:18839
  27774. msgid "Defaults to @samp{86400}."
  27775. msgstr ""
  27776. #. type: deftypevr
  27777. #: guix-git/doc/guix.texi:18841
  27778. #, no-wrap
  27779. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  27780. msgstr ""
  27781. #. type: deftypevr
  27782. #: guix-git/doc/guix.texi:18846
  27783. 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."
  27784. msgstr ""
  27785. #. type: deftypevr
  27786. #: guix-git/doc/guix.texi:18850
  27787. #, no-wrap
  27788. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  27789. msgstr ""
  27790. #. type: deftypevr
  27791. #: guix-git/doc/guix.texi:18853
  27792. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  27793. msgstr ""
  27794. #. type: deftypevr
  27795. #: guix-git/doc/guix.texi:18857
  27796. #, no-wrap
  27797. msgid "{@code{cups-configuration} parameter} string rip-cache"
  27798. msgstr ""
  27799. #. type: deftypevr
  27800. #: guix-git/doc/guix.texi:18860
  27801. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  27802. msgstr ""
  27803. #. type: deftypevr
  27804. #: guix-git/doc/guix.texi:18862
  27805. msgid "Defaults to @samp{\"128m\"}."
  27806. msgstr ""
  27807. #. type: deftypevr
  27808. #: guix-git/doc/guix.texi:18864
  27809. #, no-wrap
  27810. msgid "{@code{cups-configuration} parameter} string server-admin"
  27811. msgstr ""
  27812. #. type: deftypevr
  27813. #: guix-git/doc/guix.texi:18866
  27814. msgid "Specifies the email address of the server administrator."
  27815. msgstr ""
  27816. #. type: deftypevr
  27817. #: guix-git/doc/guix.texi:18868
  27818. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  27819. msgstr ""
  27820. #. type: deftypevr
  27821. #: guix-git/doc/guix.texi:18870
  27822. #, no-wrap
  27823. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  27824. msgstr ""
  27825. #. type: deftypevr
  27826. #: guix-git/doc/guix.texi:18878
  27827. 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{*}."
  27828. msgstr ""
  27829. #. type: deftypevr
  27830. #: guix-git/doc/guix.texi:18880
  27831. msgid "Defaults to @samp{*}."
  27832. msgstr ""
  27833. #. type: deftypevr
  27834. #: guix-git/doc/guix.texi:18882
  27835. #, no-wrap
  27836. msgid "{@code{cups-configuration} parameter} string server-name"
  27837. msgstr ""
  27838. #. type: deftypevr
  27839. #: guix-git/doc/guix.texi:18884
  27840. msgid "Specifies the fully-qualified host name of the server."
  27841. msgstr ""
  27842. #. type: deftypevr
  27843. #: guix-git/doc/guix.texi:18886 guix-git/doc/guix.texi:23741
  27844. #: guix-git/doc/guix.texi:23786
  27845. msgid "Defaults to @samp{\"localhost\"}."
  27846. msgstr ""
  27847. #. type: deftypevr
  27848. #: guix-git/doc/guix.texi:18888
  27849. #, no-wrap
  27850. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  27851. msgstr ""
  27852. #. type: deftypevr
  27853. #: guix-git/doc/guix.texi:18896
  27854. 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}."
  27855. msgstr ""
  27856. #. type: deftypevr
  27857. #: guix-git/doc/guix.texi:18898
  27858. msgid "Defaults to @samp{Minimal}."
  27859. msgstr ""
  27860. #. type: deftypevr
  27861. #: guix-git/doc/guix.texi:18900
  27862. #, no-wrap
  27863. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  27864. msgstr ""
  27865. #. type: deftypevr
  27866. #: guix-git/doc/guix.texi:18905
  27867. 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."
  27868. msgstr ""
  27869. #. type: deftypevr
  27870. #: guix-git/doc/guix.texi:18909
  27871. #, no-wrap
  27872. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  27873. msgstr ""
  27874. #. type: deftypevr
  27875. #: guix-git/doc/guix.texi:18919
  27876. 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."
  27877. msgstr ""
  27878. #. type: deftypevr
  27879. #: guix-git/doc/guix.texi:18923
  27880. #, no-wrap
  27881. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  27882. msgstr ""
  27883. #. type: deftypevr
  27884. #: guix-git/doc/guix.texi:18926
  27885. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  27886. msgstr ""
  27887. #. type: deftypevr
  27888. #: guix-git/doc/guix.texi:18930
  27889. #, no-wrap
  27890. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  27891. msgstr ""
  27892. #. type: deftypevr
  27893. #: guix-git/doc/guix.texi:18932
  27894. msgid "Specifies the HTTP request timeout, in seconds."
  27895. msgstr ""
  27896. #. type: deftypevr
  27897. #: guix-git/doc/guix.texi:18937
  27898. #, no-wrap
  27899. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  27900. msgstr ""
  27901. #. type: deftypevr
  27902. #: guix-git/doc/guix.texi:18939
  27903. msgid "Specifies whether the web interface is enabled."
  27904. msgstr ""
  27905. #. type: Plain text
  27906. #: guix-git/doc/guix.texi:18949
  27907. 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}."
  27908. msgstr ""
  27909. #. type: Plain text
  27910. #: guix-git/doc/guix.texi:18951
  27911. msgid "Available @code{opaque-cups-configuration} fields are:"
  27912. msgstr ""
  27913. #. type: deftypevr
  27914. #: guix-git/doc/guix.texi:18952
  27915. #, no-wrap
  27916. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  27917. msgstr ""
  27918. #. type: deftypevr
  27919. #: guix-git/doc/guix.texi:18956
  27920. #, no-wrap
  27921. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  27922. msgstr ""
  27923. #. type: deftypevr
  27924. #: guix-git/doc/guix.texi:18958
  27925. msgid "The contents of the @code{cupsd.conf}, as a string."
  27926. msgstr ""
  27927. #. type: deftypevr
  27928. #: guix-git/doc/guix.texi:18960
  27929. #, no-wrap
  27930. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  27931. msgstr ""
  27932. #. type: deftypevr
  27933. #: guix-git/doc/guix.texi:18962
  27934. msgid "The contents of the @code{cups-files.conf} file, as a string."
  27935. msgstr ""
  27936. #. type: Plain text
  27937. #: guix-git/doc/guix.texi:18967
  27938. 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:"
  27939. msgstr ""
  27940. #. type: lisp
  27941. #: guix-git/doc/guix.texi:18973
  27942. #, no-wrap
  27943. msgid ""
  27944. "(service cups-service-type\n"
  27945. " (opaque-cups-configuration\n"
  27946. " (cupsd.conf cupsd.conf)\n"
  27947. " (cups-files.conf cups-files.conf)))\n"
  27948. msgstr ""
  27949. #. type: Plain text
  27950. #: guix-git/doc/guix.texi:18984
  27951. 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."
  27952. msgstr ""
  27953. #. type: Plain text
  27954. #: guix-git/doc/guix.texi:18988
  27955. 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:"
  27956. msgstr ""
  27957. #. type: defvr
  27958. #: guix-git/doc/guix.texi:18989
  27959. #, no-wrap
  27960. msgid "{Scheme Variable} %desktop-services"
  27961. msgstr ""
  27962. #. type: defvr
  27963. #: guix-git/doc/guix.texi:18992
  27964. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  27965. msgstr ""
  27966. #. type: defvr
  27967. #: guix-git/doc/guix.texi:19003
  27968. 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})."
  27969. msgstr ""
  27970. #. type: Plain text
  27971. #: guix-git/doc/guix.texi:19008
  27972. 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}})."
  27973. msgstr ""
  27974. #. type: Plain text
  27975. #: guix-git/doc/guix.texi:19031
  27976. 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."
  27977. msgstr ""
  27978. #. type: Plain text
  27979. #: guix-git/doc/guix.texi:19040
  27980. msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to use the @code{sddm-service} instead of GDM as the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland."
  27981. msgstr ""
  27982. #. type: defvr
  27983. #: guix-git/doc/guix.texi:19041
  27984. #, no-wrap
  27985. msgid "{Scheme Variable} gnome-desktop-service-type"
  27986. msgstr ""
  27987. #. type: defvr
  27988. #: guix-git/doc/guix.texi:19045
  27989. 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)."
  27990. msgstr ""
  27991. #. type: defvr
  27992. #: guix-git/doc/guix.texi:19048
  27993. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  27994. msgstr ""
  27995. #. type: deftp
  27996. #: guix-git/doc/guix.texi:19050
  27997. #, no-wrap
  27998. msgid "{Data Type} gnome-desktop-configuration"
  27999. msgstr ""
  28000. #. type: deftp
  28001. #: guix-git/doc/guix.texi:19052
  28002. msgid "Configuration record for the GNOME desktop environment."
  28003. msgstr ""
  28004. #. type: item
  28005. #: guix-git/doc/guix.texi:19054
  28006. #, no-wrap
  28007. msgid "@code{gnome} (default: @code{gnome})"
  28008. msgstr ""
  28009. #. type: table
  28010. #: guix-git/doc/guix.texi:19056
  28011. msgid "The GNOME package to use."
  28012. msgstr ""
  28013. #. type: defvr
  28014. #: guix-git/doc/guix.texi:19059
  28015. #, no-wrap
  28016. msgid "{Scheme Variable} xfce-desktop-service-type"
  28017. msgstr ""
  28018. #. type: defvr
  28019. #: guix-git/doc/guix.texi:19063
  28020. 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)."
  28021. msgstr ""
  28022. #. type: defvr
  28023. #: guix-git/doc/guix.texi:19068
  28024. 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."
  28025. msgstr ""
  28026. #. type: defvr
  28027. #: guix-git/doc/guix.texi:19074
  28028. 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}."
  28029. msgstr ""
  28030. #. type: deftp
  28031. #: guix-git/doc/guix.texi:19076
  28032. #, no-wrap
  28033. msgid "{Data Type} xfce-desktop-configuration"
  28034. msgstr ""
  28035. #. type: deftp
  28036. #: guix-git/doc/guix.texi:19078
  28037. msgid "Configuration record for the Xfce desktop environment."
  28038. msgstr ""
  28039. #. type: item
  28040. #: guix-git/doc/guix.texi:19080
  28041. #, no-wrap
  28042. msgid "@code{xfce} (default: @code{xfce})"
  28043. msgstr ""
  28044. #. type: table
  28045. #: guix-git/doc/guix.texi:19082
  28046. msgid "The Xfce package to use."
  28047. msgstr ""
  28048. #. type: deffn
  28049. #: guix-git/doc/guix.texi:19085
  28050. #, no-wrap
  28051. msgid "{Scheme Variable} mate-desktop-service-type"
  28052. msgstr ""
  28053. #. type: deffn
  28054. #: guix-git/doc/guix.texi:19089
  28055. 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)."
  28056. msgstr ""
  28057. #. type: deffn
  28058. #: guix-git/doc/guix.texi:19093
  28059. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  28060. msgstr ""
  28061. #. type: deftp
  28062. #: guix-git/doc/guix.texi:19095
  28063. #, no-wrap
  28064. msgid "{Data Type} mate-desktop-configuration"
  28065. msgstr ""
  28066. #. type: deftp
  28067. #: guix-git/doc/guix.texi:19097
  28068. msgid "Configuration record for the MATE desktop environment."
  28069. msgstr ""
  28070. #. type: item
  28071. #: guix-git/doc/guix.texi:19099
  28072. #, no-wrap
  28073. msgid "@code{mate} (default: @code{mate})"
  28074. msgstr ""
  28075. #. type: table
  28076. #: guix-git/doc/guix.texi:19101
  28077. msgid "The MATE package to use."
  28078. msgstr ""
  28079. #. type: deffn
  28080. #: guix-git/doc/guix.texi:19104
  28081. #, no-wrap
  28082. msgid "{Scheme Variable} lxqt-desktop-service-type"
  28083. msgstr ""
  28084. #. type: deffn
  28085. #: guix-git/doc/guix.texi:19108
  28086. msgid "This is the type of the service that runs the @uref{https://lxqt.github.io, LXQt desktop environment}. Its value is a @code{lxqt-desktop-configuration} object (see below)."
  28087. msgstr ""
  28088. #. type: deffn
  28089. #: guix-git/doc/guix.texi:19111
  28090. msgid "This service adds the @code{lxqt} package to the system profile."
  28091. msgstr ""
  28092. #. type: deftp
  28093. #: guix-git/doc/guix.texi:19113
  28094. #, no-wrap
  28095. msgid "{Data Type} lxqt-desktop-configuration"
  28096. msgstr ""
  28097. #. type: deftp
  28098. #: guix-git/doc/guix.texi:19115
  28099. msgid "Configuration record for the LXQt desktop environment."
  28100. msgstr ""
  28101. #. type: item
  28102. #: guix-git/doc/guix.texi:19117
  28103. #, no-wrap
  28104. msgid "@code{lxqt} (default: @code{lxqt})"
  28105. msgstr ""
  28106. #. type: table
  28107. #: guix-git/doc/guix.texi:19119
  28108. msgid "The LXQT package to use."
  28109. msgstr ""
  28110. #. type: deffn
  28111. #: guix-git/doc/guix.texi:19122
  28112. #, no-wrap
  28113. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  28114. msgstr ""
  28115. #. type: deffn
  28116. #: guix-git/doc/guix.texi:19125
  28117. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  28118. msgstr ""
  28119. #. type: deftp
  28120. #: guix-git/doc/guix.texi:19127
  28121. #, no-wrap
  28122. msgid "{Data Type} enlightenment-desktop-service-configuration"
  28123. msgstr ""
  28124. #. type: item
  28125. #: guix-git/doc/guix.texi:19129
  28126. #, no-wrap
  28127. msgid "@code{enlightenment} (default: @code{enlightenment})"
  28128. msgstr ""
  28129. #. type: table
  28130. #: guix-git/doc/guix.texi:19131
  28131. msgid "The enlightenment package to use."
  28132. msgstr ""
  28133. #. type: Plain text
  28134. #: guix-git/doc/guix.texi:19139
  28135. 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}:"
  28136. msgstr ""
  28137. #. type: lisp
  28138. #: guix-git/doc/guix.texi:19150
  28139. #, no-wrap
  28140. msgid ""
  28141. "(use-modules (gnu))\n"
  28142. "(use-service-modules desktop)\n"
  28143. "(operating-system\n"
  28144. " ...\n"
  28145. " ;; cons* adds items to the list given as its last argument.\n"
  28146. " (services (cons* (service gnome-desktop-service-type)\n"
  28147. " (service xfce-desktop-service)\n"
  28148. " %desktop-services))\n"
  28149. " ...)\n"
  28150. msgstr ""
  28151. #. type: Plain text
  28152. #: guix-git/doc/guix.texi:19154
  28153. msgid "These desktop environments will then be available as options in the graphical login window."
  28154. msgstr ""
  28155. #. type: Plain text
  28156. #: guix-git/doc/guix.texi:19158
  28157. 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."
  28158. msgstr ""
  28159. #. type: deffn
  28160. #: guix-git/doc/guix.texi:19159
  28161. #, no-wrap
  28162. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  28163. msgstr ""
  28164. #. type: deffn
  28165. #: guix-git/doc/guix.texi:19162
  28166. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  28167. msgstr ""
  28168. #. type: deffn
  28169. #: guix-git/doc/guix.texi:19166
  28170. 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."
  28171. msgstr ""
  28172. #. type: deffn
  28173. #: guix-git/doc/guix.texi:19171
  28174. 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)}."
  28175. msgstr ""
  28176. #. type: deffn
  28177. #: guix-git/doc/guix.texi:19173
  28178. #, no-wrap
  28179. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  28180. msgstr ""
  28181. #. type: deffn
  28182. #: guix-git/doc/guix.texi:19179
  28183. 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."
  28184. msgstr ""
  28185. #. type: deffn
  28186. #: guix-git/doc/guix.texi:19183
  28187. 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."
  28188. msgstr ""
  28189. #. type: deffn
  28190. #: guix-git/doc/guix.texi:19188
  28191. 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:"
  28192. msgstr ""
  28193. #. type: item
  28194. #: guix-git/doc/guix.texi:19190
  28195. #, no-wrap
  28196. msgid "kill-user-processes?"
  28197. msgstr ""
  28198. #. type: code{#1}
  28199. #: guix-git/doc/guix.texi:19192 guix-git/doc/guix.texi:19212
  28200. #: guix-git/doc/guix.texi:19214 guix-git/doc/guix.texi:19216
  28201. #: guix-git/doc/guix.texi:19228
  28202. msgid "#f"
  28203. msgstr ""
  28204. #. type: item
  28205. #: guix-git/doc/guix.texi:19192
  28206. #, no-wrap
  28207. msgid "kill-only-users"
  28208. msgstr ""
  28209. #. type: code{#1}
  28210. #: guix-git/doc/guix.texi:19194 guix-git/doc/guix.texi:19234
  28211. msgid "()"
  28212. msgstr ""
  28213. #. type: item
  28214. #: guix-git/doc/guix.texi:19194
  28215. #, no-wrap
  28216. msgid "kill-exclude-users"
  28217. msgstr ""
  28218. #. type: code{#1}
  28219. #: guix-git/doc/guix.texi:19196
  28220. msgid "(\"root\")"
  28221. msgstr ""
  28222. #. type: item
  28223. #: guix-git/doc/guix.texi:19196
  28224. #, no-wrap
  28225. msgid "inhibit-delay-max-seconds"
  28226. msgstr ""
  28227. #. type: code{#1}
  28228. #: guix-git/doc/guix.texi:19198
  28229. msgid "5"
  28230. msgstr ""
  28231. #. type: item
  28232. #: guix-git/doc/guix.texi:19198
  28233. #, no-wrap
  28234. msgid "handle-power-key"
  28235. msgstr ""
  28236. #. type: code{#1}
  28237. #: guix-git/doc/guix.texi:19200
  28238. msgid "poweroff"
  28239. msgstr ""
  28240. #. type: item
  28241. #: guix-git/doc/guix.texi:19200
  28242. #, no-wrap
  28243. msgid "handle-suspend-key"
  28244. msgstr ""
  28245. #. type: code{#1}
  28246. #: guix-git/doc/guix.texi:19202 guix-git/doc/guix.texi:19206
  28247. msgid "suspend"
  28248. msgstr ""
  28249. #. type: item
  28250. #: guix-git/doc/guix.texi:19202
  28251. #, no-wrap
  28252. msgid "handle-hibernate-key"
  28253. msgstr ""
  28254. #. type: code{#1}
  28255. #: guix-git/doc/guix.texi:19204
  28256. msgid "hibernate"
  28257. msgstr ""
  28258. #. type: item
  28259. #: guix-git/doc/guix.texi:19204
  28260. #, no-wrap
  28261. msgid "handle-lid-switch"
  28262. msgstr ""
  28263. #. type: item
  28264. #: guix-git/doc/guix.texi:19206
  28265. #, no-wrap
  28266. msgid "handle-lid-switch-docked"
  28267. msgstr ""
  28268. #. type: code{#1}
  28269. #: guix-git/doc/guix.texi:19208 guix-git/doc/guix.texi:19210
  28270. #: guix-git/doc/guix.texi:19222
  28271. msgid "ignore"
  28272. msgstr ""
  28273. #. type: item
  28274. #: guix-git/doc/guix.texi:19208
  28275. #, no-wrap
  28276. msgid "handle-lid-switch-external-power"
  28277. msgstr ""
  28278. #. type: item
  28279. #: guix-git/doc/guix.texi:19210
  28280. #, no-wrap
  28281. msgid "power-key-ignore-inhibited?"
  28282. msgstr ""
  28283. #. type: item
  28284. #: guix-git/doc/guix.texi:19212
  28285. #, no-wrap
  28286. msgid "suspend-key-ignore-inhibited?"
  28287. msgstr ""
  28288. #. type: item
  28289. #: guix-git/doc/guix.texi:19214
  28290. #, no-wrap
  28291. msgid "hibernate-key-ignore-inhibited?"
  28292. msgstr ""
  28293. #. type: item
  28294. #: guix-git/doc/guix.texi:19216
  28295. #, no-wrap
  28296. msgid "lid-switch-ignore-inhibited?"
  28297. msgstr ""
  28298. #. type: code{#1}
  28299. #: guix-git/doc/guix.texi:19218 guix-git/doc/guix.texi:19230
  28300. msgid "#t"
  28301. msgstr ""
  28302. #. type: item
  28303. #: guix-git/doc/guix.texi:19218
  28304. #, no-wrap
  28305. msgid "holdoff-timeout-seconds"
  28306. msgstr ""
  28307. #. type: code{#1}
  28308. #: guix-git/doc/guix.texi:19220
  28309. msgid "30"
  28310. msgstr ""
  28311. #. type: item
  28312. #: guix-git/doc/guix.texi:19220
  28313. #, no-wrap
  28314. msgid "idle-action"
  28315. msgstr ""
  28316. #. type: item
  28317. #: guix-git/doc/guix.texi:19222
  28318. #, no-wrap
  28319. msgid "idle-action-seconds"
  28320. msgstr ""
  28321. #. type: code{#1}
  28322. #: guix-git/doc/guix.texi:19224
  28323. msgid "(* 30 60)"
  28324. msgstr ""
  28325. #. type: item
  28326. #: guix-git/doc/guix.texi:19224
  28327. #, no-wrap
  28328. msgid "runtime-directory-size-percent"
  28329. msgstr ""
  28330. #. type: code{#1}
  28331. #: guix-git/doc/guix.texi:19226
  28332. msgid "10"
  28333. msgstr ""
  28334. #. type: item
  28335. #: guix-git/doc/guix.texi:19226
  28336. #, no-wrap
  28337. msgid "runtime-directory-size"
  28338. msgstr ""
  28339. #. type: item
  28340. #: guix-git/doc/guix.texi:19228
  28341. #, no-wrap
  28342. msgid "remove-ipc?"
  28343. msgstr ""
  28344. #. type: item
  28345. #: guix-git/doc/guix.texi:19230
  28346. #, no-wrap
  28347. msgid "suspend-state"
  28348. msgstr ""
  28349. #. type: code{#1}
  28350. #: guix-git/doc/guix.texi:19232
  28351. msgid "(\"mem\" \"standby\" \"freeze\")"
  28352. msgstr ""
  28353. #. type: item
  28354. #: guix-git/doc/guix.texi:19232
  28355. #, no-wrap
  28356. msgid "suspend-mode"
  28357. msgstr ""
  28358. #. type: item
  28359. #: guix-git/doc/guix.texi:19234
  28360. #, no-wrap
  28361. msgid "hibernate-state"
  28362. msgstr ""
  28363. #. type: code{#1}
  28364. #: guix-git/doc/guix.texi:19236 guix-git/doc/guix.texi:19240
  28365. msgid "(\"disk\")"
  28366. msgstr ""
  28367. #. type: item
  28368. #: guix-git/doc/guix.texi:19236
  28369. #, no-wrap
  28370. msgid "hibernate-mode"
  28371. msgstr ""
  28372. #. type: code{#1}
  28373. #: guix-git/doc/guix.texi:19238
  28374. msgid "(\"platform\" \"shutdown\")"
  28375. msgstr ""
  28376. #. type: item
  28377. #: guix-git/doc/guix.texi:19238
  28378. #, no-wrap
  28379. msgid "hybrid-sleep-state"
  28380. msgstr ""
  28381. #. type: item
  28382. #: guix-git/doc/guix.texi:19240
  28383. #, no-wrap
  28384. msgid "hybrid-sleep-mode"
  28385. msgstr ""
  28386. #. type: code{#1}
  28387. #: guix-git/doc/guix.texi:19242
  28388. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  28389. msgstr ""
  28390. #. type: deffn
  28391. #: guix-git/doc/guix.texi:19245
  28392. #, no-wrap
  28393. msgid "{Scheme Procedure} accountsservice-service @"
  28394. msgstr ""
  28395. #. type: deffn
  28396. #: guix-git/doc/guix.texi:19253
  28397. 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."
  28398. msgstr ""
  28399. #. type: deffn
  28400. #: guix-git/doc/guix.texi:19256
  28401. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  28402. msgstr ""
  28403. #. type: deffn
  28404. #: guix-git/doc/guix.texi:19258
  28405. #, no-wrap
  28406. msgid "{Scheme Procedure} polkit-service @"
  28407. msgstr ""
  28408. #. type: deffn
  28409. #: guix-git/doc/guix.texi:19267
  28410. 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."
  28411. msgstr ""
  28412. #. type: defvr
  28413. #: guix-git/doc/guix.texi:19269
  28414. #, no-wrap
  28415. msgid "{Scheme Variable} polkit-wheel-service"
  28416. msgstr ""
  28417. #. type: defvr
  28418. #: guix-git/doc/guix.texi:19274
  28419. 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}."
  28420. msgstr ""
  28421. #. type: defvr
  28422. #: guix-git/doc/guix.texi:19276
  28423. #, no-wrap
  28424. msgid "{Scheme Variable} upower-service-type"
  28425. msgstr ""
  28426. #. type: defvr
  28427. #: guix-git/doc/guix.texi:19280
  28428. 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."
  28429. msgstr ""
  28430. #. type: defvr
  28431. #: guix-git/doc/guix.texi:19283
  28432. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  28433. msgstr ""
  28434. #. type: deftp
  28435. #: guix-git/doc/guix.texi:19285
  28436. #, no-wrap
  28437. msgid "{Data Type} upower-configuration"
  28438. msgstr ""
  28439. #. type: deftp
  28440. #: guix-git/doc/guix.texi:19287
  28441. msgid "Data type representation the configuration for UPower."
  28442. msgstr ""
  28443. #. type: item
  28444. #: guix-git/doc/guix.texi:19290
  28445. #, no-wrap
  28446. msgid "@code{upower} (default: @var{upower})"
  28447. msgstr ""
  28448. #. type: table
  28449. #: guix-git/doc/guix.texi:19292
  28450. msgid "Package to use for @code{upower}."
  28451. msgstr ""
  28452. #. type: item
  28453. #: guix-git/doc/guix.texi:19293
  28454. #, no-wrap
  28455. msgid "@code{watts-up-pro?} (default: @code{#f})"
  28456. msgstr ""
  28457. #. type: table
  28458. #: guix-git/doc/guix.texi:19295
  28459. msgid "Enable the Watts Up Pro device."
  28460. msgstr ""
  28461. #. type: item
  28462. #: guix-git/doc/guix.texi:19296
  28463. #, no-wrap
  28464. msgid "@code{poll-batteries?} (default: @code{#t})"
  28465. msgstr ""
  28466. #. type: table
  28467. #: guix-git/doc/guix.texi:19298
  28468. msgid "Enable polling the kernel for battery level changes."
  28469. msgstr ""
  28470. #. type: item
  28471. #: guix-git/doc/guix.texi:19299
  28472. #, no-wrap
  28473. msgid "@code{ignore-lid?} (default: @code{#f})"
  28474. msgstr ""
  28475. #. type: table
  28476. #: guix-git/doc/guix.texi:19301
  28477. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  28478. msgstr ""
  28479. #. type: item
  28480. #: guix-git/doc/guix.texi:19302
  28481. #, no-wrap
  28482. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  28483. msgstr ""
  28484. #. type: table
  28485. #: guix-git/doc/guix.texi:19305
  28486. 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."
  28487. msgstr ""
  28488. #. type: item
  28489. #: guix-git/doc/guix.texi:19306
  28490. #, no-wrap
  28491. msgid "@code{percentage-low} (default: @code{10})"
  28492. msgstr ""
  28493. #. type: table
  28494. #: guix-git/doc/guix.texi:19309
  28495. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  28496. msgstr ""
  28497. #. type: item
  28498. #: guix-git/doc/guix.texi:19310
  28499. #, no-wrap
  28500. msgid "@code{percentage-critical} (default: @code{3})"
  28501. msgstr ""
  28502. #. type: table
  28503. #: guix-git/doc/guix.texi:19313
  28504. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  28505. msgstr ""
  28506. #. type: item
  28507. #: guix-git/doc/guix.texi:19314
  28508. #, no-wrap
  28509. msgid "@code{percentage-action} (default: @code{2})"
  28510. msgstr ""
  28511. #. type: table
  28512. #: guix-git/doc/guix.texi:19317
  28513. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  28514. msgstr ""
  28515. #. type: item
  28516. #: guix-git/doc/guix.texi:19318
  28517. #, no-wrap
  28518. msgid "@code{time-low} (default: @code{1200})"
  28519. msgstr ""
  28520. #. type: table
  28521. #: guix-git/doc/guix.texi:19321
  28522. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  28523. msgstr ""
  28524. #. type: item
  28525. #: guix-git/doc/guix.texi:19322
  28526. #, no-wrap
  28527. msgid "@code{time-critical} (default: @code{300})"
  28528. msgstr ""
  28529. #. type: table
  28530. #: guix-git/doc/guix.texi:19325
  28531. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  28532. msgstr ""
  28533. #. type: item
  28534. #: guix-git/doc/guix.texi:19326
  28535. #, no-wrap
  28536. msgid "@code{time-action} (default: @code{120})"
  28537. msgstr ""
  28538. #. type: table
  28539. #: guix-git/doc/guix.texi:19329
  28540. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  28541. msgstr ""
  28542. #. type: item
  28543. #: guix-git/doc/guix.texi:19330
  28544. #, no-wrap
  28545. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  28546. msgstr ""
  28547. #. type: table
  28548. #: guix-git/doc/guix.texi:19333
  28549. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  28550. msgstr ""
  28551. #. type: table
  28552. #: guix-git/doc/guix.texi:19335
  28553. msgid "Possible values are:"
  28554. msgstr ""
  28555. #. type: code{#1}
  28556. #: guix-git/doc/guix.texi:19339
  28557. msgid "'power-off"
  28558. msgstr ""
  28559. #. type: code{#1}
  28560. #: guix-git/doc/guix.texi:19342
  28561. msgid "'hibernate"
  28562. msgstr ""
  28563. #. type: itemize
  28564. #: guix-git/doc/guix.texi:19345
  28565. msgid "@code{'hybrid-sleep}."
  28566. msgstr ""
  28567. #. type: deffn
  28568. #: guix-git/doc/guix.texi:19350
  28569. #, no-wrap
  28570. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  28571. msgstr ""
  28572. #. type: deffn
  28573. #: guix-git/doc/guix.texi:19360
  28574. 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."
  28575. msgstr ""
  28576. #. type: deffn
  28577. #: guix-git/doc/guix.texi:19362
  28578. #, no-wrap
  28579. msgid "{Scheme Variable} colord-service-type"
  28580. msgstr ""
  28581. #. type: deffn
  28582. #: guix-git/doc/guix.texi:19369
  28583. 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."
  28584. msgstr ""
  28585. #. type: cindex
  28586. #: guix-git/doc/guix.texi:19371
  28587. #, no-wrap
  28588. msgid "scanner access"
  28589. msgstr ""
  28590. #. type: defvr
  28591. #: guix-git/doc/guix.texi:19372
  28592. #, no-wrap
  28593. msgid "{Scheme Variable} sane-service-type"
  28594. msgstr ""
  28595. #. type: defvr
  28596. #: guix-git/doc/guix.texi:19378
  28597. 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."
  28598. msgstr ""
  28599. #. type: defvr
  28600. #: guix-git/doc/guix.texi:19380
  28601. #, no-wrap
  28602. msgid "{Scheme Variable} sane-backends-minimal"
  28603. msgstr ""
  28604. #. type: defvr
  28605. #: guix-git/doc/guix.texi:19383
  28606. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  28607. msgstr ""
  28608. #. type: defvr
  28609. #: guix-git/doc/guix.texi:19385
  28610. #, no-wrap
  28611. msgid "{Scheme Variable} sane-backends"
  28612. msgstr ""
  28613. #. type: defvr
  28614. #: guix-git/doc/guix.texi:19392
  28615. 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:"
  28616. msgstr ""
  28617. #. type: lisp
  28618. #: guix-git/doc/guix.texi:19401
  28619. #, no-wrap
  28620. msgid ""
  28621. "(use-modules (gnu))\n"
  28622. "(use-service-modules\n"
  28623. " @dots{}\n"
  28624. " desktop)\n"
  28625. "(use-package-modules\n"
  28626. " @dots{}\n"
  28627. " scanner)\n"
  28628. "\n"
  28629. msgstr ""
  28630. #. type: lisp
  28631. #: guix-git/doc/guix.texi:19406
  28632. #, no-wrap
  28633. msgid ""
  28634. "(define %my-desktop-services\n"
  28635. " ;; List of desktop services that supports a broader range of scanners.\n"
  28636. " (modify-services %desktop-services\n"
  28637. " (sane-service-type _ => sane-backends)))\n"
  28638. "\n"
  28639. msgstr ""
  28640. #. type: lisp
  28641. #: guix-git/doc/guix.texi:19410
  28642. #, no-wrap
  28643. msgid ""
  28644. "(operating-system\n"
  28645. " @dots{}\n"
  28646. " (services %my-desktop-services)\n"
  28647. msgstr ""
  28648. #. type: deffn
  28649. #: guix-git/doc/guix.texi:19413
  28650. #, no-wrap
  28651. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  28652. msgstr ""
  28653. #. type: deffn
  28654. #: guix-git/doc/guix.texi:19422
  28655. 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."
  28656. msgstr ""
  28657. #. type: defvr
  28658. #: guix-git/doc/guix.texi:19424
  28659. #, no-wrap
  28660. msgid "{Scheme Variable} %standard-geoclue-applications"
  28661. msgstr ""
  28662. #. type: defvr
  28663. #: guix-git/doc/guix.texi:19431
  28664. 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."
  28665. msgstr ""
  28666. #. type: deffn
  28667. #: guix-git/doc/guix.texi:19433
  28668. #, no-wrap
  28669. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  28670. msgstr ""
  28671. #. type: deffn
  28672. #: guix-git/doc/guix.texi:19446
  28673. 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."
  28674. msgstr ""
  28675. #. type: deffn
  28676. #: guix-git/doc/guix.texi:19448
  28677. #, no-wrap
  28678. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  28679. msgstr ""
  28680. #. type: deffn
  28681. #: guix-git/doc/guix.texi:19455
  28682. 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."
  28683. msgstr ""
  28684. #. type: deffn
  28685. #: guix-git/doc/guix.texi:19457
  28686. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  28687. msgstr ""
  28688. #. type: defvr
  28689. #: guix-git/doc/guix.texi:19459
  28690. #, no-wrap
  28691. msgid "{Scheme Variable} gnome-keyring-service-type"
  28692. msgstr ""
  28693. #. type: defvr
  28694. #: guix-git/doc/guix.texi:19463
  28695. 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)."
  28696. msgstr ""
  28697. #. type: defvr
  28698. #: guix-git/doc/guix.texi:19467
  28699. 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."
  28700. msgstr ""
  28701. #. type: deftp
  28702. #: guix-git/doc/guix.texi:19469
  28703. #, no-wrap
  28704. msgid "{Data Type} gnome-keyring-configuration"
  28705. msgstr ""
  28706. #. type: deftp
  28707. #: guix-git/doc/guix.texi:19471
  28708. msgid "Configuration record for the GNOME Keyring service."
  28709. msgstr ""
  28710. #. type: item
  28711. #: guix-git/doc/guix.texi:19473
  28712. #, no-wrap
  28713. msgid "@code{keyring} (default: @code{gnome-keyring})"
  28714. msgstr ""
  28715. #. type: table
  28716. #: guix-git/doc/guix.texi:19475
  28717. msgid "The GNOME keyring package to use."
  28718. msgstr ""
  28719. #. type: code{#1}
  28720. #: guix-git/doc/guix.texi:19476
  28721. #, no-wrap
  28722. msgid "pam-services"
  28723. msgstr ""
  28724. #. type: table
  28725. #: guix-git/doc/guix.texi:19481
  28726. 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}."
  28727. msgstr ""
  28728. #. type: table
  28729. #: guix-git/doc/guix.texi:19487
  28730. 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."
  28731. msgstr ""
  28732. #. type: table
  28733. #: guix-git/doc/guix.texi:19490
  28734. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  28735. msgstr ""
  28736. #. type: cindex
  28737. #: guix-git/doc/guix.texi:19497
  28738. #, no-wrap
  28739. msgid "sound support"
  28740. msgstr ""
  28741. #. type: cindex
  28742. #: guix-git/doc/guix.texi:19498
  28743. #, no-wrap
  28744. msgid "ALSA"
  28745. msgstr ""
  28746. #. type: cindex
  28747. #: guix-git/doc/guix.texi:19499
  28748. #, no-wrap
  28749. msgid "PulseAudio, sound support"
  28750. msgstr ""
  28751. #. type: Plain text
  28752. #: guix-git/doc/guix.texi:19504
  28753. 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."
  28754. msgstr ""
  28755. #. type: deffn
  28756. #: guix-git/doc/guix.texi:19505
  28757. #, no-wrap
  28758. msgid "{Scheme Variable} alsa-service-type"
  28759. msgstr ""
  28760. #. type: deffn
  28761. #: guix-git/doc/guix.texi:19510
  28762. 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:"
  28763. msgstr ""
  28764. #. type: lisp
  28765. #: guix-git/doc/guix.texi:19513
  28766. #, no-wrap
  28767. msgid "(service alsa-service-type)\n"
  28768. msgstr ""
  28769. #. type: deffn
  28770. #: guix-git/doc/guix.texi:19516
  28771. msgid "See below for details about @code{alsa-configuration}."
  28772. msgstr ""
  28773. #. type: deftp
  28774. #: guix-git/doc/guix.texi:19518
  28775. #, no-wrap
  28776. msgid "{Data Type} alsa-configuration"
  28777. msgstr ""
  28778. #. type: deftp
  28779. #: guix-git/doc/guix.texi:19520
  28780. msgid "Data type representing the configuration for @code{alsa-service}."
  28781. msgstr ""
  28782. #. type: item
  28783. #: guix-git/doc/guix.texi:19522
  28784. #, no-wrap
  28785. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  28786. msgstr ""
  28787. #. type: table
  28788. #: guix-git/doc/guix.texi:19524
  28789. msgid "@code{alsa-plugins} package to use."
  28790. msgstr ""
  28791. #. type: item
  28792. #: guix-git/doc/guix.texi:19525
  28793. #, no-wrap
  28794. msgid "@code{pulseaudio?} (default: @var{#t})"
  28795. msgstr ""
  28796. #. type: table
  28797. #: guix-git/doc/guix.texi:19528
  28798. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  28799. msgstr ""
  28800. #. type: table
  28801. #: guix-git/doc/guix.texi:19532
  28802. 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."
  28803. msgstr ""
  28804. #. type: item
  28805. #: guix-git/doc/guix.texi:19533
  28806. #, no-wrap
  28807. msgid "@code{extra-options} (default: @var{\"\"})"
  28808. msgstr ""
  28809. #. type: table
  28810. #: guix-git/doc/guix.texi:19535
  28811. msgid "String to append to the @file{/etc/asound.conf} file."
  28812. msgstr ""
  28813. #. type: Plain text
  28814. #: guix-git/doc/guix.texi:19541
  28815. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  28816. msgstr ""
  28817. #. type: example
  28818. #: guix-git/doc/guix.texi:19547
  28819. #, no-wrap
  28820. msgid ""
  28821. "# In guix, we have to specify the absolute path for plugins.\n"
  28822. "pcm_type.jack @{\n"
  28823. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  28824. "@}\n"
  28825. "\n"
  28826. msgstr ""
  28827. #. type: example
  28828. #: guix-git/doc/guix.texi:19556
  28829. #, no-wrap
  28830. msgid ""
  28831. "# Routing ALSA to jack:\n"
  28832. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  28833. "pcm.rawjack @{\n"
  28834. " type jack\n"
  28835. " playback_ports @{\n"
  28836. " 0 system:playback_1\n"
  28837. " 1 system:playback_2\n"
  28838. " @}\n"
  28839. "\n"
  28840. msgstr ""
  28841. #. type: example
  28842. #: guix-git/doc/guix.texi:19562
  28843. #, no-wrap
  28844. msgid ""
  28845. " capture_ports @{\n"
  28846. " 0 system:capture_1\n"
  28847. " 1 system:capture_2\n"
  28848. " @}\n"
  28849. "@}\n"
  28850. "\n"
  28851. msgstr ""
  28852. #. type: example
  28853. #: guix-git/doc/guix.texi:19569
  28854. #, no-wrap
  28855. msgid ""
  28856. "pcm.!default @{\n"
  28857. " type plug\n"
  28858. " slave @{\n"
  28859. " pcm \"rawjack\"\n"
  28860. " @}\n"
  28861. "@}\n"
  28862. msgstr ""
  28863. #. type: Plain text
  28864. #: guix-git/doc/guix.texi:19573
  28865. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  28866. msgstr ""
  28867. #. type: deffn
  28868. #: guix-git/doc/guix.texi:19574
  28869. #, no-wrap
  28870. msgid "{Scheme Variable} pulseaudio-service-type"
  28871. msgstr ""
  28872. #. type: deffn
  28873. #: guix-git/doc/guix.texi:19578
  28874. 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."
  28875. msgstr ""
  28876. #. type: quotation
  28877. #: guix-git/doc/guix.texi:19584
  28878. 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}."
  28879. msgstr ""
  28880. #. type: quotation
  28881. #: guix-git/doc/guix.texi:19592
  28882. 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."
  28883. msgstr ""
  28884. #. type: deftp
  28885. #: guix-git/doc/guix.texi:19595
  28886. #, no-wrap
  28887. msgid "{Data Type} pulseaudio-configuration"
  28888. msgstr ""
  28889. #. type: deftp
  28890. #: guix-git/doc/guix.texi:19597
  28891. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  28892. msgstr ""
  28893. #. type: item
  28894. #: guix-git/doc/guix.texi:19599
  28895. #, no-wrap
  28896. msgid "@code{client-conf} (default: @code{'()})"
  28897. msgstr ""
  28898. #. type: table
  28899. #: guix-git/doc/guix.texi:19604
  28900. msgid "List of settings to set in @file{client.conf}. Accepts a list of strings or a symbol-value pairs. A string will be inserted as-is with a newline added. A pair will be formatted as ``key = value'', again with a newline added."
  28901. msgstr ""
  28902. #. type: item
  28903. #: guix-git/doc/guix.texi:19605
  28904. #, no-wrap
  28905. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  28906. msgstr ""
  28907. #. type: table
  28908. #: guix-git/doc/guix.texi:19608
  28909. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  28910. msgstr ""
  28911. #. type: item
  28912. #: guix-git/doc/guix.texi:19609
  28913. #, no-wrap
  28914. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  28915. msgstr ""
  28916. #. type: table
  28917. #: guix-git/doc/guix.texi:19611
  28918. msgid "Script file to use as @file{default.pa}."
  28919. msgstr ""
  28920. #. type: item
  28921. #: guix-git/doc/guix.texi:19612
  28922. #, no-wrap
  28923. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  28924. msgstr ""
  28925. #. type: table
  28926. #: guix-git/doc/guix.texi:19614
  28927. msgid "Script file to use as @file{system.pa}."
  28928. msgstr ""
  28929. #. type: deffn
  28930. #: guix-git/doc/guix.texi:19617
  28931. #, no-wrap
  28932. msgid "{Scheme Variable} ladspa-service-type"
  28933. msgstr ""
  28934. #. type: deffn
  28935. #: guix-git/doc/guix.texi:19620
  28936. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  28937. msgstr ""
  28938. #. type: deffn
  28939. #: guix-git/doc/guix.texi:19623
  28940. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  28941. msgstr ""
  28942. #. type: lisp
  28943. #: guix-git/doc/guix.texi:19627
  28944. #, no-wrap
  28945. msgid ""
  28946. "(service ladspa-service-type\n"
  28947. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  28948. msgstr ""
  28949. #. type: deffn
  28950. #: guix-git/doc/guix.texi:19631
  28951. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  28952. msgstr ""
  28953. #. type: cindex
  28954. #: guix-git/doc/guix.texi:19638
  28955. #, no-wrap
  28956. msgid "SQL"
  28957. msgstr ""
  28958. #. type: Plain text
  28959. #: guix-git/doc/guix.texi:19640
  28960. msgid "The @code{(gnu services databases)} module provides the following services."
  28961. msgstr ""
  28962. #. type: subsubheading
  28963. #: guix-git/doc/guix.texi:19641
  28964. #, no-wrap
  28965. msgid "PostgreSQL"
  28966. msgstr ""
  28967. #. type: Plain text
  28968. #: guix-git/doc/guix.texi:19645
  28969. msgid "The following example describes a PostgreSQL service with the default configuration."
  28970. msgstr ""
  28971. #. type: lisp
  28972. #: guix-git/doc/guix.texi:19650
  28973. #, no-wrap
  28974. msgid ""
  28975. "(service postgresql-service-type\n"
  28976. " (postgresql-configuration\n"
  28977. " (postgresql postgresql-10)))\n"
  28978. msgstr ""
  28979. #. type: Plain text
  28980. #: guix-git/doc/guix.texi:19656
  28981. 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."
  28982. msgstr ""
  28983. #. type: Plain text
  28984. #: guix-git/doc/guix.texi:19663
  28985. 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."
  28986. msgstr ""
  28987. #. type: example
  28988. #: guix-git/doc/guix.texi:19668
  28989. #, no-wrap
  28990. msgid ""
  28991. "sudo -u postgres -s /bin/sh\n"
  28992. "createuser --interactive\n"
  28993. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  28994. msgstr ""
  28995. #. type: deftp
  28996. #: guix-git/doc/guix.texi:19670
  28997. #, no-wrap
  28998. msgid "{Data Type} postgresql-configuration"
  28999. msgstr ""
  29000. #. type: deftp
  29001. #: guix-git/doc/guix.texi:19673
  29002. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  29003. msgstr ""
  29004. #. type: code{#1}
  29005. #: guix-git/doc/guix.texi:19675
  29006. #, no-wrap
  29007. msgid "postgresql"
  29008. msgstr ""
  29009. #. type: table
  29010. #: guix-git/doc/guix.texi:19677
  29011. msgid "PostgreSQL package to use for the service."
  29012. msgstr ""
  29013. #. type: item
  29014. #: guix-git/doc/guix.texi:19678
  29015. #, no-wrap
  29016. msgid "@code{port} (default: @code{5432})"
  29017. msgstr ""
  29018. #. type: table
  29019. #: guix-git/doc/guix.texi:19680
  29020. msgid "Port on which PostgreSQL should listen."
  29021. msgstr ""
  29022. #. type: table
  29023. #: guix-git/doc/guix.texi:19683
  29024. msgid "Locale to use as the default when creating the database cluster."
  29025. msgstr ""
  29026. #. type: item
  29027. #: guix-git/doc/guix.texi:19684
  29028. #, no-wrap
  29029. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  29030. msgstr ""
  29031. #. type: table
  29032. #: guix-git/doc/guix.texi:19688
  29033. 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."
  29034. msgstr ""
  29035. #. type: item
  29036. #: guix-git/doc/guix.texi:19689
  29037. #, no-wrap
  29038. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  29039. msgstr ""
  29040. #. type: table
  29041. #: guix-git/doc/guix.texi:19693
  29042. 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."
  29043. msgstr ""
  29044. #. type: item
  29045. #: guix-git/doc/guix.texi:19694
  29046. #, no-wrap
  29047. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  29048. msgstr ""
  29049. #. type: table
  29050. #: guix-git/doc/guix.texi:19696
  29051. msgid "Directory in which to store the data."
  29052. msgstr ""
  29053. #. type: item
  29054. #: guix-git/doc/guix.texi:19697
  29055. #, no-wrap
  29056. msgid "@code{extension-packages} (default: @code{'()})"
  29057. msgstr ""
  29058. #. type: cindex
  29059. #: guix-git/doc/guix.texi:19698
  29060. #, no-wrap
  29061. msgid "postgresql extension-packages"
  29062. msgstr ""
  29063. #. type: table
  29064. #: guix-git/doc/guix.texi:19703
  29065. 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:"
  29066. msgstr ""
  29067. #. type: cindex
  29068. #: guix-git/doc/guix.texi:19704
  29069. #, no-wrap
  29070. msgid "postgis"
  29071. msgstr ""
  29072. #. type: lisp
  29073. #: guix-git/doc/guix.texi:19707
  29074. #, no-wrap
  29075. msgid ""
  29076. "(use-package-modules databases geo)\n"
  29077. "\n"
  29078. msgstr ""
  29079. #. type: lisp
  29080. #: guix-git/doc/guix.texi:19720
  29081. #, no-wrap
  29082. msgid ""
  29083. "(operating-system\n"
  29084. " ...\n"
  29085. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  29086. " ;; proper operation.\n"
  29087. " (packages (cons* postgresql %base-packages))\n"
  29088. " (services\n"
  29089. " (cons*\n"
  29090. " (service postgresql-service-type\n"
  29091. " (postgresql-configuration\n"
  29092. " (postgresql postgresql-10)\n"
  29093. " (extension-packages (list postgis))))\n"
  29094. " %base-services)))\n"
  29095. msgstr ""
  29096. #. type: table
  29097. #: guix-git/doc/guix.texi:19724
  29098. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  29099. msgstr ""
  29100. #. type: example
  29101. #: guix-git/doc/guix.texi:19731
  29102. #, no-wrap
  29103. msgid ""
  29104. "psql -U postgres\n"
  29105. "> create database postgistest;\n"
  29106. "> \\connect postgistest;\n"
  29107. "> create extension postgis;\n"
  29108. "> create extension postgis_topology;\n"
  29109. msgstr ""
  29110. #. type: table
  29111. #: guix-git/doc/guix.texi:19736
  29112. 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."
  29113. msgstr ""
  29114. #. type: deftp
  29115. #: guix-git/doc/guix.texi:19740
  29116. #, no-wrap
  29117. msgid "{Data Type} postgresql-config-file"
  29118. msgstr ""
  29119. #. type: deftp
  29120. #: guix-git/doc/guix.texi:19746
  29121. 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."
  29122. msgstr ""
  29123. #. type: lisp
  29124. #: guix-git/doc/guix.texi:19766
  29125. #, no-wrap
  29126. msgid ""
  29127. "(service postgresql-service-type\n"
  29128. " (postgresql-configuration\n"
  29129. " (config-file\n"
  29130. " (postgresql-config-file\n"
  29131. " (log-destination \"stderr\")\n"
  29132. " (hba-file\n"
  29133. " (plain-file \"pg_hba.conf\"\n"
  29134. " \"\n"
  29135. "local\tall\tall\t\t\ttrust\n"
  29136. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  29137. "host\tall\tall\t::1/128 \tmd5\"))\n"
  29138. " (extra-config\n"
  29139. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  29140. " (\"random_page_cost\" 2)\n"
  29141. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  29142. " (\"work_mem\" \"500 MB\")\n"
  29143. " (\"logging_collector\" #t)\n"
  29144. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  29145. msgstr ""
  29146. #. type: item
  29147. #: guix-git/doc/guix.texi:19769
  29148. #, no-wrap
  29149. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  29150. msgstr ""
  29151. #. type: table
  29152. #: guix-git/doc/guix.texi:19772
  29153. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  29154. msgstr ""
  29155. #. type: item
  29156. #: guix-git/doc/guix.texi:19773
  29157. #, no-wrap
  29158. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  29159. msgstr ""
  29160. #. type: table
  29161. #: guix-git/doc/guix.texi:19776
  29162. msgid "Filename or G-expression for the host-based authentication configuration."
  29163. msgstr ""
  29164. #. type: item
  29165. #: guix-git/doc/guix.texi:19777
  29166. #, no-wrap
  29167. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  29168. msgstr ""
  29169. #. type: table
  29170. #: guix-git/doc/guix.texi:19779
  29171. msgid "Filename or G-expression for the user name mapping configuration."
  29172. msgstr ""
  29173. #. type: item
  29174. #: guix-git/doc/guix.texi:19780
  29175. #, no-wrap
  29176. msgid "@code{socket-directory} (default: @code{#false})"
  29177. msgstr ""
  29178. #. type: table
  29179. #: guix-git/doc/guix.texi:19785
  29180. 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."
  29181. msgstr ""
  29182. #. type: table
  29183. #: guix-git/doc/guix.texi:19788
  29184. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  29185. msgstr ""
  29186. #. type: table
  29187. #: guix-git/doc/guix.texi:19793
  29188. 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."
  29189. msgstr ""
  29190. #. type: table
  29191. #: guix-git/doc/guix.texi:19799
  29192. 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}."
  29193. msgstr ""
  29194. #. type: deffn
  29195. #: guix-git/doc/guix.texi:19803
  29196. #, no-wrap
  29197. msgid "{Scheme Variable} postgresql-role-service-type"
  29198. msgstr ""
  29199. #. type: deffn
  29200. #: guix-git/doc/guix.texi:19806
  29201. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  29202. msgstr ""
  29203. #. type: lisp
  29204. #: guix-git/doc/guix.texi:19814
  29205. #, no-wrap
  29206. msgid ""
  29207. "(service postgresql-role-service-type\n"
  29208. " (postgresql-role-configuration\n"
  29209. " (roles\n"
  29210. " (list (postgresql-role\n"
  29211. " (name \"test\")\n"
  29212. " (create-database? #t))))))\n"
  29213. msgstr ""
  29214. #. type: deffn
  29215. #: guix-git/doc/guix.texi:19818
  29216. msgid "This service can be extended with extra roles, as in this example:"
  29217. msgstr ""
  29218. #. type: lisp
  29219. #: guix-git/doc/guix.texi:19824
  29220. #, no-wrap
  29221. msgid ""
  29222. "(service-extension postgresql-role-service-type\n"
  29223. " (const (postgresql-role\n"
  29224. " (name \"alice\")\n"
  29225. " (create-database? #t))))\n"
  29226. msgstr ""
  29227. #. type: deftp
  29228. #: guix-git/doc/guix.texi:19827
  29229. #, no-wrap
  29230. msgid "{Data Type} postgresql-role"
  29231. msgstr ""
  29232. #. type: deftp
  29233. #: guix-git/doc/guix.texi:19833
  29234. 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."
  29235. msgstr ""
  29236. #. type: table
  29237. #: guix-git/doc/guix.texi:19837
  29238. msgid "The role name."
  29239. msgstr ""
  29240. #. type: item
  29241. #: guix-git/doc/guix.texi:19838
  29242. #, no-wrap
  29243. msgid "@code{permissions} (default: @code{'(createdb login)})"
  29244. msgstr ""
  29245. #. type: table
  29246. #: guix-git/doc/guix.texi:19842
  29247. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  29248. msgstr ""
  29249. #. type: item
  29250. #: guix-git/doc/guix.texi:19843
  29251. #, no-wrap
  29252. msgid "@code{create-database?} (default: @code{#f})"
  29253. msgstr ""
  29254. #. type: table
  29255. #: guix-git/doc/guix.texi:19845
  29256. msgid "Whether to create a database with the same name as the role."
  29257. msgstr ""
  29258. #. type: deftp
  29259. #: guix-git/doc/guix.texi:19849
  29260. #, no-wrap
  29261. msgid "{Data Type} postgresql-role-configuration"
  29262. msgstr ""
  29263. #. type: deftp
  29264. #: guix-git/doc/guix.texi:19852
  29265. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  29266. msgstr ""
  29267. #. type: item
  29268. #: guix-git/doc/guix.texi:19854
  29269. #, no-wrap
  29270. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  29271. msgstr ""
  29272. #. type: table
  29273. #: guix-git/doc/guix.texi:19856
  29274. msgid "The PostgreSQL host to connect to."
  29275. msgstr ""
  29276. #. type: item
  29277. #: guix-git/doc/guix.texi:19857
  29278. #, no-wrap
  29279. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  29280. msgstr ""
  29281. #. type: table
  29282. #: guix-git/doc/guix.texi:19859
  29283. msgid "File name of the log file."
  29284. msgstr ""
  29285. #. type: item
  29286. #: guix-git/doc/guix.texi:19860
  29287. #, no-wrap
  29288. msgid "@code{roles} (default: @code{'()})"
  29289. msgstr ""
  29290. #. type: table
  29291. #: guix-git/doc/guix.texi:19862
  29292. msgid "The initial PostgreSQL roles to create."
  29293. msgstr ""
  29294. #. type: subsubheading
  29295. #: guix-git/doc/guix.texi:19865
  29296. #, no-wrap
  29297. msgid "MariaDB/MySQL"
  29298. msgstr ""
  29299. #. type: defvr
  29300. #: guix-git/doc/guix.texi:19867
  29301. #, no-wrap
  29302. msgid "{Scheme Variable} mysql-service-type"
  29303. msgstr ""
  29304. #. type: defvr
  29305. #: guix-git/doc/guix.texi:19871
  29306. 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."
  29307. msgstr ""
  29308. #. type: deftp
  29309. #: guix-git/doc/guix.texi:19873
  29310. #, no-wrap
  29311. msgid "{Data Type} mysql-configuration"
  29312. msgstr ""
  29313. #. type: deftp
  29314. #: guix-git/doc/guix.texi:19875
  29315. msgid "Data type representing the configuration of @var{mysql-service-type}."
  29316. msgstr ""
  29317. #. type: item
  29318. #: guix-git/doc/guix.texi:19877
  29319. #, no-wrap
  29320. msgid "@code{mysql} (default: @var{mariadb})"
  29321. msgstr ""
  29322. #. type: table
  29323. #: guix-git/doc/guix.texi:19880
  29324. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  29325. msgstr ""
  29326. #. type: table
  29327. #: guix-git/doc/guix.texi:19883
  29328. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  29329. msgstr ""
  29330. #. type: item
  29331. #: guix-git/doc/guix.texi:19884 guix-git/doc/guix.texi:23430
  29332. #, no-wrap
  29333. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  29334. msgstr ""
  29335. #. type: table
  29336. #: guix-git/doc/guix.texi:19887
  29337. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  29338. msgstr ""
  29339. #. type: item
  29340. #: guix-git/doc/guix.texi:19888
  29341. #, no-wrap
  29342. msgid "@code{port} (default: @code{3306})"
  29343. msgstr ""
  29344. #. type: table
  29345. #: guix-git/doc/guix.texi:19890
  29346. msgid "TCP port on which the database server listens for incoming connections."
  29347. msgstr ""
  29348. #. type: item
  29349. #: guix-git/doc/guix.texi:19891
  29350. #, no-wrap
  29351. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  29352. msgstr ""
  29353. #. type: table
  29354. #: guix-git/doc/guix.texi:19893
  29355. msgid "Socket file to use for local (non-network) connections."
  29356. msgstr ""
  29357. #. type: table
  29358. #: guix-git/doc/guix.texi:19896
  29359. msgid "Additional settings for the @file{my.cnf} configuration file."
  29360. msgstr ""
  29361. #. type: item
  29362. #: guix-git/doc/guix.texi:19897
  29363. #, no-wrap
  29364. msgid "@code{auto-upgrade?} (default: @code{#t})"
  29365. msgstr ""
  29366. #. type: table
  29367. #: guix-git/doc/guix.texi:19902
  29368. 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."
  29369. msgstr ""
  29370. #. type: subsubheading
  29371. #: guix-git/doc/guix.texi:19906
  29372. #, no-wrap
  29373. msgid "Memcached"
  29374. msgstr ""
  29375. #. type: defvr
  29376. #: guix-git/doc/guix.texi:19908
  29377. #, no-wrap
  29378. msgid "{Scheme Variable} memcached-service-type"
  29379. msgstr ""
  29380. #. type: defvr
  29381. #: guix-git/doc/guix.texi:19912
  29382. 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."
  29383. msgstr ""
  29384. #. type: lisp
  29385. #: guix-git/doc/guix.texi:19916
  29386. #, no-wrap
  29387. msgid "(service memcached-service-type)\n"
  29388. msgstr ""
  29389. #. type: deftp
  29390. #: guix-git/doc/guix.texi:19918
  29391. #, no-wrap
  29392. msgid "{Data Type} memcached-configuration"
  29393. msgstr ""
  29394. #. type: deftp
  29395. #: guix-git/doc/guix.texi:19920
  29396. msgid "Data type representing the configuration of memcached."
  29397. msgstr ""
  29398. #. type: item
  29399. #: guix-git/doc/guix.texi:19922
  29400. #, no-wrap
  29401. msgid "@code{memcached} (default: @code{memcached})"
  29402. msgstr ""
  29403. #. type: table
  29404. #: guix-git/doc/guix.texi:19924
  29405. msgid "The Memcached package to use."
  29406. msgstr ""
  29407. #. type: item
  29408. #: guix-git/doc/guix.texi:19925
  29409. #, no-wrap
  29410. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  29411. msgstr ""
  29412. #. type: table
  29413. #: guix-git/doc/guix.texi:19927
  29414. msgid "Network interfaces on which to listen."
  29415. msgstr ""
  29416. #. type: item
  29417. #: guix-git/doc/guix.texi:19928
  29418. #, no-wrap
  29419. msgid "@code{tcp-port} (default: @code{11211})"
  29420. msgstr ""
  29421. #. type: table
  29422. #: guix-git/doc/guix.texi:19930
  29423. msgid "Port on which to accept connections."
  29424. msgstr ""
  29425. #. type: item
  29426. #: guix-git/doc/guix.texi:19931
  29427. #, no-wrap
  29428. msgid "@code{udp-port} (default: @code{11211})"
  29429. msgstr ""
  29430. #. type: table
  29431. #: guix-git/doc/guix.texi:19934
  29432. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  29433. msgstr ""
  29434. #. type: item
  29435. #: guix-git/doc/guix.texi:19935
  29436. #, no-wrap
  29437. msgid "@code{additional-options} (default: @code{'()})"
  29438. msgstr ""
  29439. #. type: table
  29440. #: guix-git/doc/guix.texi:19937
  29441. msgid "Additional command line options to pass to @code{memcached}."
  29442. msgstr ""
  29443. #. type: subsubheading
  29444. #: guix-git/doc/guix.texi:19940
  29445. #, no-wrap
  29446. msgid "Redis"
  29447. msgstr ""
  29448. #. type: defvr
  29449. #: guix-git/doc/guix.texi:19942
  29450. #, no-wrap
  29451. msgid "{Scheme Variable} redis-service-type"
  29452. msgstr ""
  29453. #. type: defvr
  29454. #: guix-git/doc/guix.texi:19945
  29455. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  29456. msgstr ""
  29457. #. type: deftp
  29458. #: guix-git/doc/guix.texi:19947
  29459. #, no-wrap
  29460. msgid "{Data Type} redis-configuration"
  29461. msgstr ""
  29462. #. type: deftp
  29463. #: guix-git/doc/guix.texi:19949
  29464. msgid "Data type representing the configuration of redis."
  29465. msgstr ""
  29466. #. type: item
  29467. #: guix-git/doc/guix.texi:19951
  29468. #, no-wrap
  29469. msgid "@code{redis} (default: @code{redis})"
  29470. msgstr ""
  29471. #. type: table
  29472. #: guix-git/doc/guix.texi:19953
  29473. msgid "The Redis package to use."
  29474. msgstr ""
  29475. #. type: item
  29476. #: guix-git/doc/guix.texi:19954
  29477. #, no-wrap
  29478. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  29479. msgstr ""
  29480. #. type: table
  29481. #: guix-git/doc/guix.texi:19956
  29482. msgid "Network interface on which to listen."
  29483. msgstr ""
  29484. #. type: item
  29485. #: guix-git/doc/guix.texi:19957
  29486. #, no-wrap
  29487. msgid "@code{port} (default: @code{6379})"
  29488. msgstr ""
  29489. #. type: table
  29490. #: guix-git/doc/guix.texi:19960
  29491. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  29492. msgstr ""
  29493. #. type: item
  29494. #: guix-git/doc/guix.texi:19961
  29495. #, no-wrap
  29496. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  29497. msgstr ""
  29498. #. type: table
  29499. #: guix-git/doc/guix.texi:19963
  29500. msgid "Directory in which to store the database and related files."
  29501. msgstr ""
  29502. #. type: cindex
  29503. #: guix-git/doc/guix.texi:19969
  29504. #, no-wrap
  29505. msgid "mail"
  29506. msgstr ""
  29507. #. type: cindex
  29508. #: guix-git/doc/guix.texi:19970
  29509. #, no-wrap
  29510. msgid "email"
  29511. msgstr ""
  29512. #. type: Plain text
  29513. #: guix-git/doc/guix.texi:19975
  29514. 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."
  29515. msgstr ""
  29516. #. type: subsubheading
  29517. #: guix-git/doc/guix.texi:19976
  29518. #, no-wrap
  29519. msgid "Dovecot Service"
  29520. msgstr ""
  29521. #. type: deffn
  29522. #: guix-git/doc/guix.texi:19978
  29523. #, no-wrap
  29524. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  29525. msgstr ""
  29526. #. type: deffn
  29527. #: guix-git/doc/guix.texi:19980
  29528. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  29529. msgstr ""
  29530. #. type: Plain text
  29531. #: guix-git/doc/guix.texi:19990
  29532. 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."
  29533. msgstr ""
  29534. #. type: Plain text
  29535. #: guix-git/doc/guix.texi:19993
  29536. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  29537. msgstr ""
  29538. #. type: lisp
  29539. #: guix-git/doc/guix.texi:19998
  29540. #, no-wrap
  29541. msgid ""
  29542. "(dovecot-service #:config\n"
  29543. " (dovecot-configuration\n"
  29544. " (mail-location \"maildir:~/.mail\")))\n"
  29545. msgstr ""
  29546. #. type: Plain text
  29547. #: guix-git/doc/guix.texi:20006
  29548. 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."
  29549. msgstr ""
  29550. #. type: Plain text
  29551. #: guix-git/doc/guix.texi:20016
  29552. msgid "Available @code{dovecot-configuration} fields are:"
  29553. msgstr ""
  29554. #. type: deftypevr
  29555. #: guix-git/doc/guix.texi:20017
  29556. #, no-wrap
  29557. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  29558. msgstr ""
  29559. #. type: deftypevr
  29560. #: guix-git/doc/guix.texi:20019 guix-git/doc/guix.texi:21325
  29561. msgid "The dovecot package."
  29562. msgstr ""
  29563. #. type: deftypevr
  29564. #: guix-git/doc/guix.texi:20021
  29565. #, no-wrap
  29566. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  29567. msgstr ""
  29568. #. type: deftypevr
  29569. #: guix-git/doc/guix.texi:20027
  29570. 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."
  29571. msgstr ""
  29572. #. type: deftypevr
  29573. #: guix-git/doc/guix.texi:20029
  29574. #, no-wrap
  29575. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  29576. msgstr ""
  29577. #. type: deftypevr
  29578. #: guix-git/doc/guix.texi:20032
  29579. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  29580. msgstr ""
  29581. #. type: deftypevr
  29582. #: guix-git/doc/guix.texi:20034
  29583. msgid "Available @code{protocol-configuration} fields are:"
  29584. msgstr ""
  29585. #. type: deftypevr
  29586. #: guix-git/doc/guix.texi:20035
  29587. #, no-wrap
  29588. msgid "{@code{protocol-configuration} parameter} string name"
  29589. msgstr ""
  29590. #. type: deftypevr
  29591. #: guix-git/doc/guix.texi:20037
  29592. msgid "The name of the protocol."
  29593. msgstr ""
  29594. #. type: deftypevr
  29595. #: guix-git/doc/guix.texi:20039
  29596. #, no-wrap
  29597. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  29598. msgstr ""
  29599. #. type: deftypevr
  29600. #: guix-git/doc/guix.texi:20043
  29601. 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\"}."
  29602. msgstr ""
  29603. #. type: deftypevr
  29604. #: guix-git/doc/guix.texi:20045
  29605. #, no-wrap
  29606. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  29607. msgstr ""
  29608. #. type: deftypevr
  29609. #: guix-git/doc/guix.texi:20047
  29610. msgid "Space separated list of plugins to load."
  29611. msgstr ""
  29612. #. type: deftypevr
  29613. #: guix-git/doc/guix.texi:20049
  29614. #, no-wrap
  29615. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  29616. msgstr ""
  29617. #. type: deftypevr
  29618. #: guix-git/doc/guix.texi:20053
  29619. 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}."
  29620. msgstr ""
  29621. #. type: deftypevr
  29622. #: guix-git/doc/guix.texi:20057
  29623. #, no-wrap
  29624. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  29625. msgstr ""
  29626. #. type: deftypevr
  29627. #: guix-git/doc/guix.texi:20061
  29628. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  29629. msgstr ""
  29630. #. type: deftypevr
  29631. #: guix-git/doc/guix.texi:20063
  29632. msgid "Available @code{service-configuration} fields are:"
  29633. msgstr ""
  29634. #. type: deftypevr
  29635. #: guix-git/doc/guix.texi:20064
  29636. #, no-wrap
  29637. msgid "{@code{service-configuration} parameter} string kind"
  29638. msgstr ""
  29639. #. type: deftypevr
  29640. #: guix-git/doc/guix.texi:20069
  29641. 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."
  29642. msgstr ""
  29643. #. type: deftypevr
  29644. #: guix-git/doc/guix.texi:20071
  29645. #, no-wrap
  29646. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  29647. msgstr ""
  29648. #. type: deftypevr
  29649. #: guix-git/doc/guix.texi:20076
  29650. 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{()}."
  29651. msgstr ""
  29652. #. type: deftypevr
  29653. #: guix-git/doc/guix.texi:20078
  29654. msgid "Available @code{unix-listener-configuration} fields are:"
  29655. msgstr ""
  29656. #. type: deftypevr
  29657. #: guix-git/doc/guix.texi:20079
  29658. #, no-wrap
  29659. msgid "{@code{unix-listener-configuration} parameter} string path"
  29660. msgstr ""
  29661. #. type: deftypevr
  29662. #: guix-git/doc/guix.texi:20082 guix-git/doc/guix.texi:20105
  29663. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  29664. msgstr ""
  29665. #. type: deftypevr
  29666. #: guix-git/doc/guix.texi:20084
  29667. #, no-wrap
  29668. msgid "{@code{unix-listener-configuration} parameter} string mode"
  29669. msgstr ""
  29670. #. type: deftypevr
  29671. #: guix-git/doc/guix.texi:20087 guix-git/doc/guix.texi:20110
  29672. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  29673. msgstr ""
  29674. #. type: deftypevr
  29675. #: guix-git/doc/guix.texi:20089
  29676. #, no-wrap
  29677. msgid "{@code{unix-listener-configuration} parameter} string user"
  29678. msgstr ""
  29679. #. type: deftypevr
  29680. #: guix-git/doc/guix.texi:20092 guix-git/doc/guix.texi:20115
  29681. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  29682. msgstr ""
  29683. #. type: deftypevr
  29684. #: guix-git/doc/guix.texi:20094
  29685. #, no-wrap
  29686. msgid "{@code{unix-listener-configuration} parameter} string group"
  29687. msgstr ""
  29688. #. type: deftypevr
  29689. #: guix-git/doc/guix.texi:20097 guix-git/doc/guix.texi:20120
  29690. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  29691. msgstr ""
  29692. #. type: deftypevr
  29693. #: guix-git/doc/guix.texi:20101
  29694. msgid "Available @code{fifo-listener-configuration} fields are:"
  29695. msgstr ""
  29696. #. type: deftypevr
  29697. #: guix-git/doc/guix.texi:20102
  29698. #, no-wrap
  29699. msgid "{@code{fifo-listener-configuration} parameter} string path"
  29700. msgstr ""
  29701. #. type: deftypevr
  29702. #: guix-git/doc/guix.texi:20107
  29703. #, no-wrap
  29704. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  29705. msgstr ""
  29706. #. type: deftypevr
  29707. #: guix-git/doc/guix.texi:20112
  29708. #, no-wrap
  29709. msgid "{@code{fifo-listener-configuration} parameter} string user"
  29710. msgstr ""
  29711. #. type: deftypevr
  29712. #: guix-git/doc/guix.texi:20117
  29713. #, no-wrap
  29714. msgid "{@code{fifo-listener-configuration} parameter} string group"
  29715. msgstr ""
  29716. #. type: deftypevr
  29717. #: guix-git/doc/guix.texi:20124
  29718. msgid "Available @code{inet-listener-configuration} fields are:"
  29719. msgstr ""
  29720. #. type: deftypevr
  29721. #: guix-git/doc/guix.texi:20125
  29722. #, no-wrap
  29723. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  29724. msgstr ""
  29725. #. type: deftypevr
  29726. #: guix-git/doc/guix.texi:20127
  29727. msgid "The protocol to listen for."
  29728. msgstr ""
  29729. #. type: deftypevr
  29730. #: guix-git/doc/guix.texi:20129
  29731. #, no-wrap
  29732. msgid "{@code{inet-listener-configuration} parameter} string address"
  29733. msgstr ""
  29734. #. type: deftypevr
  29735. #: guix-git/doc/guix.texi:20132
  29736. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  29737. msgstr ""
  29738. #. type: deftypevr
  29739. #: guix-git/doc/guix.texi:20134
  29740. #, no-wrap
  29741. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  29742. msgstr ""
  29743. #. type: deftypevr
  29744. #: guix-git/doc/guix.texi:20136
  29745. msgid "The port on which to listen."
  29746. msgstr ""
  29747. #. type: deftypevr
  29748. #: guix-git/doc/guix.texi:20138
  29749. #, no-wrap
  29750. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  29751. msgstr ""
  29752. #. type: deftypevr
  29753. #: guix-git/doc/guix.texi:20142
  29754. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  29755. msgstr ""
  29756. #. type: deftypevr
  29757. #: guix-git/doc/guix.texi:20146
  29758. #, no-wrap
  29759. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  29760. msgstr ""
  29761. #. type: deftypevr
  29762. #: guix-git/doc/guix.texi:20151
  29763. 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."
  29764. msgstr ""
  29765. #. type: deftypevr
  29766. #: guix-git/doc/guix.texi:20156
  29767. #, no-wrap
  29768. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  29769. msgstr ""
  29770. #. type: deftypevr
  29771. #: guix-git/doc/guix.texi:20161
  29772. 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}."
  29773. msgstr ""
  29774. #. type: deftypevr
  29775. #: guix-git/doc/guix.texi:20164
  29776. #, no-wrap
  29777. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  29778. msgstr ""
  29779. #. type: deftypevr
  29780. #: guix-git/doc/guix.texi:20167
  29781. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  29782. msgstr ""
  29783. #. type: deftypevr
  29784. #: guix-git/doc/guix.texi:20172
  29785. #, no-wrap
  29786. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  29787. msgstr ""
  29788. #. type: deftypevr
  29789. #: guix-git/doc/guix.texi:20175
  29790. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  29791. msgstr ""
  29792. #. type: deftypevr
  29793. #: guix-git/doc/guix.texi:20177
  29794. #, no-wrap
  29795. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  29796. msgstr ""
  29797. #. type: deftypevr
  29798. #: guix-git/doc/guix.texi:20181
  29799. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  29800. msgstr ""
  29801. #. type: deftypevr
  29802. #: guix-git/doc/guix.texi:20185
  29803. #, no-wrap
  29804. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  29805. msgstr ""
  29806. #. type: deftypevr
  29807. #: guix-git/doc/guix.texi:20188
  29808. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  29809. msgstr ""
  29810. #. type: deftypevr
  29811. #: guix-git/doc/guix.texi:20190
  29812. msgid "Available @code{dict-configuration} fields are:"
  29813. msgstr ""
  29814. #. type: deftypevr
  29815. #: guix-git/doc/guix.texi:20191
  29816. #, no-wrap
  29817. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  29818. msgstr ""
  29819. #. type: deftypevr
  29820. #: guix-git/doc/guix.texi:20194
  29821. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  29822. msgstr ""
  29823. #. type: deftypevr
  29824. #: guix-git/doc/guix.texi:20198
  29825. #, no-wrap
  29826. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  29827. msgstr ""
  29828. #. type: deftypevr
  29829. #: guix-git/doc/guix.texi:20201
  29830. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  29831. msgstr ""
  29832. #. type: deftypevr
  29833. #: guix-git/doc/guix.texi:20203
  29834. msgid "Available @code{passdb-configuration} fields are:"
  29835. msgstr ""
  29836. #. type: deftypevr
  29837. #: guix-git/doc/guix.texi:20204
  29838. #, no-wrap
  29839. msgid "{@code{passdb-configuration} parameter} string driver"
  29840. msgstr ""
  29841. #. type: deftypevr
  29842. #: guix-git/doc/guix.texi:20209
  29843. 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\"}."
  29844. msgstr ""
  29845. #. type: deftypevr
  29846. #: guix-git/doc/guix.texi:20211
  29847. #, no-wrap
  29848. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  29849. msgstr ""
  29850. #. type: deftypevr
  29851. #: guix-git/doc/guix.texi:20214
  29852. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  29853. msgstr ""
  29854. #. type: deftypevr
  29855. #: guix-git/doc/guix.texi:20218
  29856. #, no-wrap
  29857. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  29858. msgstr ""
  29859. #. type: deftypevr
  29860. #: guix-git/doc/guix.texi:20221
  29861. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  29862. msgstr ""
  29863. #. type: deftypevr
  29864. #: guix-git/doc/guix.texi:20223
  29865. msgid "Available @code{userdb-configuration} fields are:"
  29866. msgstr ""
  29867. #. type: deftypevr
  29868. #: guix-git/doc/guix.texi:20224
  29869. #, no-wrap
  29870. msgid "{@code{userdb-configuration} parameter} string driver"
  29871. msgstr ""
  29872. #. type: deftypevr
  29873. #: guix-git/doc/guix.texi:20228
  29874. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  29875. msgstr ""
  29876. #. type: deftypevr
  29877. #: guix-git/doc/guix.texi:20230
  29878. #, no-wrap
  29879. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  29880. msgstr ""
  29881. #. type: deftypevr
  29882. #: guix-git/doc/guix.texi:20233
  29883. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  29884. msgstr ""
  29885. #. type: deftypevr
  29886. #: guix-git/doc/guix.texi:20235
  29887. #, no-wrap
  29888. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  29889. msgstr ""
  29890. #. type: deftypevr
  29891. #: guix-git/doc/guix.texi:20238
  29892. msgid "Override fields from passwd. Defaults to @samp{()}."
  29893. msgstr ""
  29894. #. type: deftypevr
  29895. #: guix-git/doc/guix.texi:20242
  29896. #, no-wrap
  29897. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  29898. msgstr ""
  29899. #. type: deftypevr
  29900. #: guix-git/doc/guix.texi:20245
  29901. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  29902. msgstr ""
  29903. #. type: deftypevr
  29904. #: guix-git/doc/guix.texi:20247
  29905. #, no-wrap
  29906. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  29907. msgstr ""
  29908. #. type: deftypevr
  29909. #: guix-git/doc/guix.texi:20250
  29910. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  29911. msgstr ""
  29912. #. type: deftypevr
  29913. #: guix-git/doc/guix.texi:20252
  29914. msgid "Available @code{namespace-configuration} fields are:"
  29915. msgstr ""
  29916. #. type: deftypevr
  29917. #: guix-git/doc/guix.texi:20253
  29918. #, no-wrap
  29919. msgid "{@code{namespace-configuration} parameter} string name"
  29920. msgstr ""
  29921. #. type: deftypevr
  29922. #: guix-git/doc/guix.texi:20255
  29923. msgid "Name for this namespace."
  29924. msgstr ""
  29925. #. type: deftypevr
  29926. #: guix-git/doc/guix.texi:20257
  29927. #, no-wrap
  29928. msgid "{@code{namespace-configuration} parameter} string type"
  29929. msgstr ""
  29930. #. type: deftypevr
  29931. #: guix-git/doc/guix.texi:20260
  29932. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  29933. msgstr ""
  29934. #. type: deftypevr
  29935. #: guix-git/doc/guix.texi:20262
  29936. #, no-wrap
  29937. msgid "{@code{namespace-configuration} parameter} string separator"
  29938. msgstr ""
  29939. #. type: deftypevr
  29940. #: guix-git/doc/guix.texi:20268
  29941. 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{\"\"}."
  29942. msgstr ""
  29943. #. type: deftypevr
  29944. #: guix-git/doc/guix.texi:20270
  29945. #, no-wrap
  29946. msgid "{@code{namespace-configuration} parameter} string prefix"
  29947. msgstr ""
  29948. #. type: deftypevr
  29949. #: guix-git/doc/guix.texi:20274
  29950. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  29951. msgstr ""
  29952. #. type: deftypevr
  29953. #: guix-git/doc/guix.texi:20276
  29954. #, no-wrap
  29955. msgid "{@code{namespace-configuration} parameter} string location"
  29956. msgstr ""
  29957. #. type: deftypevr
  29958. #: guix-git/doc/guix.texi:20280
  29959. 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{\"\"}."
  29960. msgstr ""
  29961. #. type: deftypevr
  29962. #: guix-git/doc/guix.texi:20282
  29963. #, no-wrap
  29964. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  29965. msgstr ""
  29966. #. type: deftypevr
  29967. #: guix-git/doc/guix.texi:20286
  29968. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  29969. msgstr ""
  29970. #. type: deftypevr
  29971. #: guix-git/doc/guix.texi:20288
  29972. #, no-wrap
  29973. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  29974. msgstr ""
  29975. #. type: deftypevr
  29976. #: guix-git/doc/guix.texi:20296
  29977. 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}."
  29978. msgstr ""
  29979. #. type: deftypevr
  29980. #: guix-git/doc/guix.texi:20298
  29981. #, no-wrap
  29982. msgid "{@code{namespace-configuration} parameter} boolean list?"
  29983. msgstr ""
  29984. #. type: deftypevr
  29985. #: guix-git/doc/guix.texi:20304
  29986. 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}."
  29987. msgstr ""
  29988. #. type: deftypevr
  29989. #: guix-git/doc/guix.texi:20306
  29990. #, no-wrap
  29991. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  29992. msgstr ""
  29993. #. type: deftypevr
  29994. #: guix-git/doc/guix.texi:20311
  29995. 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}."
  29996. msgstr ""
  29997. #. type: deftypevr
  29998. #: guix-git/doc/guix.texi:20313
  29999. #, no-wrap
  30000. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  30001. msgstr ""
  30002. #. type: deftypevr
  30003. #: guix-git/doc/guix.texi:20316
  30004. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  30005. msgstr ""
  30006. #. type: deftypevr
  30007. #: guix-git/doc/guix.texi:20318
  30008. msgid "Available @code{mailbox-configuration} fields are:"
  30009. msgstr ""
  30010. #. type: deftypevr
  30011. #: guix-git/doc/guix.texi:20319
  30012. #, no-wrap
  30013. msgid "{@code{mailbox-configuration} parameter} string name"
  30014. msgstr ""
  30015. #. type: deftypevr
  30016. #: guix-git/doc/guix.texi:20321
  30017. msgid "Name for this mailbox."
  30018. msgstr ""
  30019. #. type: deftypevr
  30020. #: guix-git/doc/guix.texi:20323
  30021. #, no-wrap
  30022. msgid "{@code{mailbox-configuration} parameter} string auto"
  30023. msgstr ""
  30024. #. type: deftypevr
  30025. #: guix-git/doc/guix.texi:20327
  30026. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  30027. msgstr ""
  30028. #. type: deftypevr
  30029. #: guix-git/doc/guix.texi:20329
  30030. #, no-wrap
  30031. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  30032. msgstr ""
  30033. #. type: deftypevr
  30034. #: guix-git/doc/guix.texi:20334
  30035. 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{()}."
  30036. msgstr ""
  30037. #. type: deftypevr
  30038. #: guix-git/doc/guix.texi:20340
  30039. #, no-wrap
  30040. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  30041. msgstr ""
  30042. #. type: deftypevr
  30043. #: guix-git/doc/guix.texi:20343
  30044. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  30045. msgstr ""
  30046. #. type: deftypevr
  30047. #: guix-git/doc/guix.texi:20345
  30048. #, no-wrap
  30049. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  30050. msgstr ""
  30051. #. type: deftypevr
  30052. #: guix-git/doc/guix.texi:20348
  30053. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  30054. msgstr ""
  30055. #. type: deftypevr
  30056. #: guix-git/doc/guix.texi:20350
  30057. #, no-wrap
  30058. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  30059. msgstr ""
  30060. #. type: deftypevr
  30061. #: guix-git/doc/guix.texi:20357
  30062. 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{()}."
  30063. msgstr ""
  30064. #. type: deftypevr
  30065. #: guix-git/doc/guix.texi:20359
  30066. #, no-wrap
  30067. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  30068. msgstr ""
  30069. #. type: deftypevr
  30070. #: guix-git/doc/guix.texi:20362
  30071. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  30072. msgstr ""
  30073. #. type: deftypevr
  30074. #: guix-git/doc/guix.texi:20364
  30075. #, no-wrap
  30076. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  30077. msgstr ""
  30078. #. type: deftypevr
  30079. #: guix-git/doc/guix.texi:20370
  30080. 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}."
  30081. msgstr ""
  30082. #. type: deftypevr
  30083. #: guix-git/doc/guix.texi:20372
  30084. #, no-wrap
  30085. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  30086. msgstr ""
  30087. #. type: deftypevr
  30088. #: guix-git/doc/guix.texi:20378
  30089. 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}."
  30090. msgstr ""
  30091. #. type: deftypevr
  30092. #: guix-git/doc/guix.texi:20380
  30093. #, no-wrap
  30094. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  30095. msgstr ""
  30096. #. type: deftypevr
  30097. #: guix-git/doc/guix.texi:20384
  30098. 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}."
  30099. msgstr ""
  30100. #. type: deftypevr
  30101. #: guix-git/doc/guix.texi:20386
  30102. #, no-wrap
  30103. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  30104. msgstr ""
  30105. #. type: deftypevr
  30106. #: guix-git/doc/guix.texi:20389
  30107. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  30108. msgstr ""
  30109. #. type: deftypevr
  30110. #: guix-git/doc/guix.texi:20391
  30111. #, no-wrap
  30112. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  30113. msgstr ""
  30114. #. type: deftypevr
  30115. #: guix-git/doc/guix.texi:20395
  30116. 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."
  30117. msgstr ""
  30118. #. type: deftypevr
  30119. #: guix-git/doc/guix.texi:20397
  30120. #, no-wrap
  30121. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  30122. msgstr ""
  30123. #. type: deftypevr
  30124. #: guix-git/doc/guix.texi:20404
  30125. 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}."
  30126. msgstr ""
  30127. #. type: deftypevr
  30128. #: guix-git/doc/guix.texi:20406
  30129. #, no-wrap
  30130. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  30131. msgstr ""
  30132. #. type: deftypevr
  30133. #: guix-git/doc/guix.texi:20411
  30134. 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}."
  30135. msgstr ""
  30136. #. type: deftypevr
  30137. #: guix-git/doc/guix.texi:20413
  30138. #, no-wrap
  30139. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  30140. msgstr ""
  30141. #. type: deftypevr
  30142. #: guix-git/doc/guix.texi:20421
  30143. 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\"}."
  30144. msgstr ""
  30145. #. type: deftypevr
  30146. #: guix-git/doc/guix.texi:20423
  30147. #, no-wrap
  30148. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  30149. msgstr ""
  30150. #. type: deftypevr
  30151. #: guix-git/doc/guix.texi:20427
  30152. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  30153. msgstr ""
  30154. #. type: deftypevr
  30155. #: guix-git/doc/guix.texi:20429
  30156. #, no-wrap
  30157. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  30158. msgstr ""
  30159. #. type: deftypevr
  30160. #: guix-git/doc/guix.texi:20435
  30161. 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{()}."
  30162. msgstr ""
  30163. #. type: deftypevr
  30164. #: guix-git/doc/guix.texi:20437
  30165. #, no-wrap
  30166. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  30167. msgstr ""
  30168. #. type: deftypevr
  30169. #: guix-git/doc/guix.texi:20442
  30170. 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{\"\"}."
  30171. msgstr ""
  30172. #. type: deftypevr
  30173. #: guix-git/doc/guix.texi:20444
  30174. #, no-wrap
  30175. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  30176. msgstr ""
  30177. #. type: deftypevr
  30178. #: guix-git/doc/guix.texi:20451
  30179. 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.-_@@\"}."
  30180. msgstr ""
  30181. #. type: deftypevr
  30182. #: guix-git/doc/guix.texi:20453
  30183. #, no-wrap
  30184. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  30185. msgstr ""
  30186. #. type: deftypevr
  30187. #: guix-git/doc/guix.texi:20459
  30188. 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{\"\"}."
  30189. msgstr ""
  30190. #. type: deftypevr
  30191. #: guix-git/doc/guix.texi:20461
  30192. #, no-wrap
  30193. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  30194. msgstr ""
  30195. #. type: deftypevr
  30196. #: guix-git/doc/guix.texi:20468
  30197. 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\"}."
  30198. msgstr ""
  30199. #. type: deftypevr
  30200. #: guix-git/doc/guix.texi:20470
  30201. #, no-wrap
  30202. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  30203. msgstr ""
  30204. #. type: deftypevr
  30205. #: guix-git/doc/guix.texi:20478
  30206. 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{\"\"}."
  30207. msgstr ""
  30208. #. type: deftypevr
  30209. #: guix-git/doc/guix.texi:20480
  30210. #, no-wrap
  30211. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  30212. msgstr ""
  30213. #. type: deftypevr
  30214. #: guix-git/doc/guix.texi:20484
  30215. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  30216. msgstr ""
  30217. #. type: deftypevr
  30218. #: guix-git/doc/guix.texi:20486
  30219. #, no-wrap
  30220. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  30221. msgstr ""
  30222. #. type: deftypevr
  30223. #: guix-git/doc/guix.texi:20491
  30224. 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}."
  30225. msgstr ""
  30226. #. type: deftypevr
  30227. #: guix-git/doc/guix.texi:20493
  30228. #, no-wrap
  30229. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  30230. msgstr ""
  30231. #. type: deftypevr
  30232. #: guix-git/doc/guix.texi:20498
  30233. 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{\"\"}."
  30234. msgstr ""
  30235. #. type: deftypevr
  30236. #: guix-git/doc/guix.texi:20500
  30237. #, no-wrap
  30238. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  30239. msgstr ""
  30240. #. type: deftypevr
  30241. #: guix-git/doc/guix.texi:20506
  30242. 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{\"\"}."
  30243. msgstr ""
  30244. #. type: deftypevr
  30245. #: guix-git/doc/guix.texi:20508
  30246. #, no-wrap
  30247. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  30248. msgstr ""
  30249. #. type: deftypevr
  30250. #: guix-git/doc/guix.texi:20513
  30251. 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}."
  30252. msgstr ""
  30253. #. type: deftypevr
  30254. #: guix-git/doc/guix.texi:20515
  30255. #, no-wrap
  30256. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  30257. msgstr ""
  30258. #. type: deftypevr
  30259. #: guix-git/doc/guix.texi:20518
  30260. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  30261. msgstr ""
  30262. #. type: deftypevr
  30263. #: guix-git/doc/guix.texi:20520
  30264. #, no-wrap
  30265. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  30266. msgstr ""
  30267. #. type: deftypevr
  30268. #: guix-git/doc/guix.texi:20523
  30269. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  30270. msgstr ""
  30271. #. type: deftypevr
  30272. #: guix-git/doc/guix.texi:20525
  30273. #, no-wrap
  30274. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  30275. msgstr ""
  30276. #. type: deftypevr
  30277. #: guix-git/doc/guix.texi:20529
  30278. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  30279. msgstr ""
  30280. #. type: deftypevr
  30281. #: guix-git/doc/guix.texi:20531
  30282. #, no-wrap
  30283. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  30284. msgstr ""
  30285. #. type: deftypevr
  30286. #: guix-git/doc/guix.texi:20536
  30287. 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}."
  30288. msgstr ""
  30289. #. type: deftypevr
  30290. #: guix-git/doc/guix.texi:20538
  30291. #, no-wrap
  30292. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  30293. msgstr ""
  30294. #. type: deftypevr
  30295. #: guix-git/doc/guix.texi:20544
  30296. 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."
  30297. msgstr ""
  30298. #. type: deftypevr
  30299. #: guix-git/doc/guix.texi:20546
  30300. #, no-wrap
  30301. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  30302. msgstr ""
  30303. #. type: deftypevr
  30304. #: guix-git/doc/guix.texi:20551
  30305. 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{()}."
  30306. msgstr ""
  30307. #. type: deftypevr
  30308. #: guix-git/doc/guix.texi:20553
  30309. #, no-wrap
  30310. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  30311. msgstr ""
  30312. #. type: deftypevr
  30313. #: guix-git/doc/guix.texi:20557
  30314. 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{()}."
  30315. msgstr ""
  30316. #. type: deftypevr
  30317. #: guix-git/doc/guix.texi:20559
  30318. #, no-wrap
  30319. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  30320. msgstr ""
  30321. #. type: deftypevr
  30322. #: guix-git/doc/guix.texi:20563
  30323. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  30324. msgstr ""
  30325. #. type: deftypevr
  30326. #: guix-git/doc/guix.texi:20565
  30327. #, no-wrap
  30328. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  30329. msgstr ""
  30330. #. type: deftypevr
  30331. #: guix-git/doc/guix.texi:20570
  30332. 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\"}."
  30333. msgstr ""
  30334. #. type: deftypevr
  30335. #: guix-git/doc/guix.texi:20572
  30336. #, no-wrap
  30337. msgid "{@code{dovecot-configuration} parameter} string log-path"
  30338. msgstr ""
  30339. #. type: deftypevr
  30340. #: guix-git/doc/guix.texi:20576
  30341. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  30342. msgstr ""
  30343. #. type: deftypevr
  30344. #: guix-git/doc/guix.texi:20578
  30345. #, no-wrap
  30346. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  30347. msgstr ""
  30348. #. type: deftypevr
  30349. #: guix-git/doc/guix.texi:20582
  30350. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  30351. msgstr ""
  30352. #. type: deftypevr
  30353. #: guix-git/doc/guix.texi:20584
  30354. #, no-wrap
  30355. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  30356. msgstr ""
  30357. #. type: deftypevr
  30358. #: guix-git/doc/guix.texi:20588
  30359. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  30360. msgstr ""
  30361. #. type: deftypevr
  30362. #: guix-git/doc/guix.texi:20590
  30363. #, no-wrap
  30364. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  30365. msgstr ""
  30366. #. type: deftypevr
  30367. #: guix-git/doc/guix.texi:20595
  30368. 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\"}."
  30369. msgstr ""
  30370. #. type: deftypevr
  30371. #: guix-git/doc/guix.texi:20597
  30372. #, no-wrap
  30373. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  30374. msgstr ""
  30375. #. type: deftypevr
  30376. #: guix-git/doc/guix.texi:20601
  30377. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  30378. msgstr ""
  30379. #. type: deftypevr
  30380. #: guix-git/doc/guix.texi:20603
  30381. #, no-wrap
  30382. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  30383. msgstr ""
  30384. #. type: deftypevr
  30385. #: guix-git/doc/guix.texi:20610
  30386. 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\"}."
  30387. msgstr ""
  30388. #. type: deftypevr
  30389. #: guix-git/doc/guix.texi:20612
  30390. #, no-wrap
  30391. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  30392. msgstr ""
  30393. #. type: deftypevr
  30394. #: guix-git/doc/guix.texi:20616
  30395. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  30396. msgstr ""
  30397. #. type: deftypevr
  30398. #: guix-git/doc/guix.texi:20618
  30399. #, no-wrap
  30400. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  30401. msgstr ""
  30402. #. type: deftypevr
  30403. #: guix-git/doc/guix.texi:20623
  30404. 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}."
  30405. msgstr ""
  30406. #. type: deftypevr
  30407. #: guix-git/doc/guix.texi:20625
  30408. #, no-wrap
  30409. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  30410. msgstr ""
  30411. #. type: deftypevr
  30412. #: guix-git/doc/guix.texi:20629
  30413. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  30414. msgstr ""
  30415. #. type: deftypevr
  30416. #: guix-git/doc/guix.texi:20631
  30417. #, no-wrap
  30418. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  30419. msgstr ""
  30420. #. type: deftypevr
  30421. #: guix-git/doc/guix.texi:20634
  30422. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  30423. msgstr ""
  30424. #. type: deftypevr
  30425. #: guix-git/doc/guix.texi:20636
  30426. #, no-wrap
  30427. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  30428. msgstr ""
  30429. #. type: deftypevr
  30430. #: guix-git/doc/guix.texi:20640
  30431. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  30432. msgstr ""
  30433. #. type: deftypevr
  30434. #: guix-git/doc/guix.texi:20642
  30435. #, no-wrap
  30436. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  30437. msgstr ""
  30438. #. type: deftypevr
  30439. #: guix-git/doc/guix.texi:20646
  30440. 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."
  30441. msgstr ""
  30442. #. type: deftypevr
  30443. #: guix-git/doc/guix.texi:20648
  30444. #, no-wrap
  30445. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  30446. msgstr ""
  30447. #. type: deftypevr
  30448. #: guix-git/doc/guix.texi:20652
  30449. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  30450. msgstr ""
  30451. #. type: deftypevr
  30452. #: guix-git/doc/guix.texi:20654
  30453. #, no-wrap
  30454. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  30455. msgstr ""
  30456. #. type: deftypevr
  30457. #: guix-git/doc/guix.texi:20658
  30458. 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@}>: \\\"\"}."
  30459. msgstr ""
  30460. #. type: deftypevr
  30461. #: guix-git/doc/guix.texi:20660
  30462. #, no-wrap
  30463. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  30464. msgstr ""
  30465. #. type: deftypevr
  30466. #: guix-git/doc/guix.texi:20662
  30467. msgid "Format to use for logging mail deliveries. You can use variables:"
  30468. msgstr ""
  30469. #. type: item
  30470. #: guix-git/doc/guix.texi:20663
  30471. #, no-wrap
  30472. msgid "%$"
  30473. msgstr ""
  30474. #. type: table
  30475. #: guix-git/doc/guix.texi:20665
  30476. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  30477. msgstr ""
  30478. #. type: item
  30479. #: guix-git/doc/guix.texi:20665
  30480. #, no-wrap
  30481. msgid "%m"
  30482. msgstr ""
  30483. #. type: table
  30484. #: guix-git/doc/guix.texi:20667
  30485. msgid "Message-ID"
  30486. msgstr ""
  30487. #. type: item
  30488. #: guix-git/doc/guix.texi:20667 guix-git/doc/guix.texi:21199
  30489. #, no-wrap
  30490. msgid "%s"
  30491. msgstr ""
  30492. #. type: table
  30493. #: guix-git/doc/guix.texi:20669
  30494. msgid "Subject"
  30495. msgstr ""
  30496. #. type: item
  30497. #: guix-git/doc/guix.texi:20669
  30498. #, no-wrap
  30499. msgid "%f"
  30500. msgstr ""
  30501. #. type: table
  30502. #: guix-git/doc/guix.texi:20671
  30503. msgid "From address"
  30504. msgstr ""
  30505. #. type: table
  30506. #: guix-git/doc/guix.texi:20673
  30507. msgid "Physical size"
  30508. msgstr ""
  30509. #. type: item
  30510. #: guix-git/doc/guix.texi:20673
  30511. #, no-wrap
  30512. msgid "%w"
  30513. msgstr ""
  30514. #. type: table
  30515. #: guix-git/doc/guix.texi:20675
  30516. msgid "Virtual size."
  30517. msgstr ""
  30518. #. type: deftypevr
  30519. #: guix-git/doc/guix.texi:20677
  30520. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  30521. msgstr ""
  30522. #. type: deftypevr
  30523. #: guix-git/doc/guix.texi:20679
  30524. #, no-wrap
  30525. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  30526. msgstr ""
  30527. #. type: deftypevr
  30528. #: guix-git/doc/guix.texi:20684
  30529. 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."
  30530. msgstr ""
  30531. #. type: deftypevr
  30532. #: guix-git/doc/guix.texi:20690
  30533. 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."
  30534. msgstr ""
  30535. #. type: deftypevr
  30536. #: guix-git/doc/guix.texi:20692
  30537. msgid "There are a few special variables you can use, e.g.:"
  30538. msgstr ""
  30539. #. type: table
  30540. #: guix-git/doc/guix.texi:20696
  30541. msgid "username"
  30542. msgstr ""
  30543. #. type: item
  30544. #: guix-git/doc/guix.texi:20696 guix-git/doc/guix.texi:21195
  30545. #, no-wrap
  30546. msgid "%n"
  30547. msgstr ""
  30548. #. type: table
  30549. #: guix-git/doc/guix.texi:20698
  30550. msgid "user part in user@@domain, same as %u if there's no domain"
  30551. msgstr ""
  30552. #. type: item
  30553. #: guix-git/doc/guix.texi:20698
  30554. #, no-wrap
  30555. msgid "%d"
  30556. msgstr ""
  30557. #. type: table
  30558. #: guix-git/doc/guix.texi:20700
  30559. msgid "domain part in user@@domain, empty if there's no domain"
  30560. msgstr ""
  30561. #. type: item
  30562. #: guix-git/doc/guix.texi:20700
  30563. #, no-wrap
  30564. msgid "%h"
  30565. msgstr ""
  30566. #. type: table
  30567. #: guix-git/doc/guix.texi:20702
  30568. msgid "home director"
  30569. msgstr ""
  30570. #. type: deftypevr
  30571. #: guix-git/doc/guix.texi:20705
  30572. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  30573. msgstr ""
  30574. #. type: item
  30575. #: guix-git/doc/guix.texi:20706
  30576. #, no-wrap
  30577. msgid "maildir:~/Maildir"
  30578. msgstr ""
  30579. #. type: item
  30580. #: guix-git/doc/guix.texi:20707
  30581. #, no-wrap
  30582. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  30583. msgstr ""
  30584. #. type: item
  30585. #: guix-git/doc/guix.texi:20708
  30586. #, no-wrap
  30587. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  30588. msgstr ""
  30589. #. type: deftypevr
  30590. #: guix-git/doc/guix.texi:20713
  30591. #, no-wrap
  30592. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  30593. msgstr ""
  30594. #. type: deftypevr
  30595. #: guix-git/doc/guix.texi:20718
  30596. 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{\"\"}."
  30597. msgstr ""
  30598. #. type: deftypevr
  30599. #: guix-git/doc/guix.texi:20720
  30600. #, no-wrap
  30601. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  30602. msgstr ""
  30603. #. type: deftypevr
  30604. #: guix-git/doc/guix.texi:20725
  30605. #, no-wrap
  30606. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  30607. msgstr ""
  30608. #. type: deftypevr
  30609. #: guix-git/doc/guix.texi:20731
  30610. 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{\"\"}."
  30611. msgstr ""
  30612. #. type: deftypevr
  30613. #: guix-git/doc/guix.texi:20733
  30614. #, no-wrap
  30615. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  30616. msgstr ""
  30617. #. type: deftypevr
  30618. #: guix-git/doc/guix.texi:20741
  30619. 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{\"\"}."
  30620. msgstr ""
  30621. #. type: deftypevr
  30622. #: guix-git/doc/guix.texi:20743
  30623. #, no-wrap
  30624. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  30625. msgstr ""
  30626. #. type: deftypevr
  30627. #: guix-git/doc/guix.texi:20749
  30628. 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}."
  30629. msgstr ""
  30630. #. type: deftypevr
  30631. #: guix-git/doc/guix.texi:20751
  30632. #, no-wrap
  30633. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  30634. msgstr ""
  30635. #. type: deftypevr
  30636. #: guix-git/doc/guix.texi:20755
  30637. 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}."
  30638. msgstr ""
  30639. #. type: deftypevr
  30640. #: guix-git/doc/guix.texi:20757
  30641. #, no-wrap
  30642. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  30643. msgstr ""
  30644. #. type: deftypevr
  30645. #: guix-git/doc/guix.texi:20762
  30646. 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}."
  30647. msgstr ""
  30648. #. type: deftypevr
  30649. #: guix-git/doc/guix.texi:20764
  30650. #, no-wrap
  30651. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  30652. msgstr ""
  30653. #. type: deftypevr
  30654. #: guix-git/doc/guix.texi:20766
  30655. msgid "When to use fsync() or fdatasync() calls:"
  30656. msgstr ""
  30657. #. type: item
  30658. #: guix-git/doc/guix.texi:20767
  30659. #, no-wrap
  30660. msgid "optimized"
  30661. msgstr ""
  30662. #. type: table
  30663. #: guix-git/doc/guix.texi:20769
  30664. msgid "Whenever necessary to avoid losing important data"
  30665. msgstr ""
  30666. #. type: table
  30667. #: guix-git/doc/guix.texi:20771
  30668. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  30669. msgstr ""
  30670. #. type: table
  30671. #: guix-git/doc/guix.texi:20773
  30672. msgid "Never use it (best performance, but crashes can lose data)."
  30673. msgstr ""
  30674. #. type: deftypevr
  30675. #: guix-git/doc/guix.texi:20775
  30676. msgid "Defaults to @samp{\"optimized\"}."
  30677. msgstr ""
  30678. #. type: deftypevr
  30679. #: guix-git/doc/guix.texi:20777
  30680. #, no-wrap
  30681. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  30682. msgstr ""
  30683. #. type: deftypevr
  30684. #: guix-git/doc/guix.texi:20782
  30685. 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}."
  30686. msgstr ""
  30687. #. type: deftypevr
  30688. #: guix-git/doc/guix.texi:20784
  30689. #, no-wrap
  30690. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  30691. msgstr ""
  30692. #. type: deftypevr
  30693. #: guix-git/doc/guix.texi:20788
  30694. 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}."
  30695. msgstr ""
  30696. #. type: deftypevr
  30697. #: guix-git/doc/guix.texi:20790
  30698. #, no-wrap
  30699. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  30700. msgstr ""
  30701. #. type: deftypevr
  30702. #: guix-git/doc/guix.texi:20796
  30703. 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\"}."
  30704. msgstr ""
  30705. #. type: deftypevr
  30706. #: guix-git/doc/guix.texi:20798
  30707. #, no-wrap
  30708. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  30709. msgstr ""
  30710. #. type: deftypevr
  30711. #: guix-git/doc/guix.texi:20802
  30712. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  30713. msgstr ""
  30714. #. type: deftypevr
  30715. #: guix-git/doc/guix.texi:20804
  30716. #, no-wrap
  30717. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  30718. msgstr ""
  30719. #. type: deftypevr
  30720. #: guix-git/doc/guix.texi:20810
  30721. 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}."
  30722. msgstr ""
  30723. #. type: deftypevr
  30724. #: guix-git/doc/guix.texi:20812
  30725. #, no-wrap
  30726. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  30727. msgstr ""
  30728. #. type: deftypevr
  30729. #: guix-git/doc/guix.texi:20817
  30730. #, no-wrap
  30731. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  30732. msgstr ""
  30733. #. type: deftypevr
  30734. #: guix-git/doc/guix.texi:20822
  30735. 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}."
  30736. msgstr ""
  30737. #. type: deftypevr
  30738. #: guix-git/doc/guix.texi:20824
  30739. #, no-wrap
  30740. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  30741. msgstr ""
  30742. #. type: deftypevr
  30743. #: guix-git/doc/guix.texi:20829
  30744. #, no-wrap
  30745. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  30746. msgstr ""
  30747. #. type: deftypevr
  30748. #: guix-git/doc/guix.texi:20833
  30749. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  30750. msgstr ""
  30751. #. type: deftypevr
  30752. #: guix-git/doc/guix.texi:20835
  30753. #, no-wrap
  30754. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  30755. msgstr ""
  30756. #. type: deftypevr
  30757. #: guix-git/doc/guix.texi:20845
  30758. 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{()}."
  30759. msgstr ""
  30760. #. type: deftypevr
  30761. #: guix-git/doc/guix.texi:20847
  30762. #, no-wrap
  30763. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  30764. msgstr ""
  30765. #. type: deftypevr
  30766. #: guix-git/doc/guix.texi:20856
  30767. 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{\"\"}."
  30768. msgstr ""
  30769. #. type: deftypevr
  30770. #: guix-git/doc/guix.texi:20858
  30771. #, no-wrap
  30772. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  30773. msgstr ""
  30774. #. type: deftypevr
  30775. #: guix-git/doc/guix.texi:20862
  30776. 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\"}."
  30777. msgstr ""
  30778. #. type: deftypevr
  30779. #: guix-git/doc/guix.texi:20864
  30780. #, no-wrap
  30781. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  30782. msgstr ""
  30783. #. type: deftypevr
  30784. #: guix-git/doc/guix.texi:20867
  30785. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  30786. msgstr ""
  30787. #. type: deftypevr
  30788. #: guix-git/doc/guix.texi:20869
  30789. #, no-wrap
  30790. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  30791. msgstr ""
  30792. #. type: deftypevr
  30793. #: guix-git/doc/guix.texi:20873
  30794. 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{()}."
  30795. msgstr ""
  30796. #. type: deftypevr
  30797. #: guix-git/doc/guix.texi:20875
  30798. #, no-wrap
  30799. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  30800. msgstr ""
  30801. #. type: deftypevr
  30802. #: guix-git/doc/guix.texi:20880
  30803. 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}."
  30804. msgstr ""
  30805. #. type: deftypevr
  30806. #: guix-git/doc/guix.texi:20882
  30807. #, no-wrap
  30808. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  30809. msgstr ""
  30810. #. type: deftypevr
  30811. #: guix-git/doc/guix.texi:20889
  30812. 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\"}."
  30813. msgstr ""
  30814. #. type: deftypevr
  30815. #: guix-git/doc/guix.texi:20891
  30816. #, no-wrap
  30817. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  30818. msgstr ""
  30819. #. type: deftypevr
  30820. #: guix-git/doc/guix.texi:20898
  30821. 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}."
  30822. msgstr ""
  30823. #. type: deftypevr
  30824. #: guix-git/doc/guix.texi:20900
  30825. #, no-wrap
  30826. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  30827. msgstr ""
  30828. #. type: deftypevr
  30829. #: guix-git/doc/guix.texi:20908
  30830. 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}."
  30831. msgstr ""
  30832. #. type: deftypevr
  30833. #: guix-git/doc/guix.texi:20910
  30834. #, no-wrap
  30835. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  30836. msgstr ""
  30837. #. type: deftypevr
  30838. #: guix-git/doc/guix.texi:20915
  30839. 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}."
  30840. msgstr ""
  30841. #. type: deftypevr
  30842. #: guix-git/doc/guix.texi:20917
  30843. #, no-wrap
  30844. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  30845. msgstr ""
  30846. #. type: deftypevr
  30847. #: guix-git/doc/guix.texi:20922
  30848. 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}."
  30849. msgstr ""
  30850. #. type: deftypevr
  30851. #: guix-git/doc/guix.texi:20924
  30852. #, no-wrap
  30853. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  30854. msgstr ""
  30855. #. type: deftypevr
  30856. #: guix-git/doc/guix.texi:20927
  30857. msgid "Which locking methods to use for locking mbox. There are four available:"
  30858. msgstr ""
  30859. #. type: item
  30860. #: guix-git/doc/guix.texi:20929
  30861. #, no-wrap
  30862. msgid "dotlock"
  30863. msgstr ""
  30864. #. type: table
  30865. #: guix-git/doc/guix.texi:20933
  30866. 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."
  30867. msgstr ""
  30868. #. type: item
  30869. #: guix-git/doc/guix.texi:20933
  30870. #, no-wrap
  30871. msgid "dotlock-try"
  30872. msgstr ""
  30873. #. type: table
  30874. #: guix-git/doc/guix.texi:20936
  30875. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  30876. msgstr ""
  30877. #. type: item
  30878. #: guix-git/doc/guix.texi:20936
  30879. #, no-wrap
  30880. msgid "fcntl"
  30881. msgstr ""
  30882. #. type: table
  30883. #: guix-git/doc/guix.texi:20938
  30884. msgid "Use this if possible. Works with NFS too if lockd is used."
  30885. msgstr ""
  30886. #. type: item
  30887. #: guix-git/doc/guix.texi:20938
  30888. #, no-wrap
  30889. msgid "flock"
  30890. msgstr ""
  30891. #. type: table
  30892. #: guix-git/doc/guix.texi:20940 guix-git/doc/guix.texi:20942
  30893. msgid "May not exist in all systems. Doesn't work with NFS."
  30894. msgstr ""
  30895. #. type: item
  30896. #: guix-git/doc/guix.texi:20940
  30897. #, no-wrap
  30898. msgid "lockf"
  30899. msgstr ""
  30900. #. type: deftypevr
  30901. #: guix-git/doc/guix.texi:20948
  30902. 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."
  30903. msgstr ""
  30904. #. type: deftypevr
  30905. #: guix-git/doc/guix.texi:20950
  30906. #, no-wrap
  30907. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  30908. msgstr ""
  30909. #. type: deftypevr
  30910. #: guix-git/doc/guix.texi:20954
  30911. #, no-wrap
  30912. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  30913. msgstr ""
  30914. #. type: deftypevr
  30915. #: guix-git/doc/guix.texi:20957
  30916. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  30917. msgstr ""
  30918. #. type: deftypevr
  30919. #: guix-git/doc/guix.texi:20959
  30920. #, no-wrap
  30921. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  30922. msgstr ""
  30923. #. type: deftypevr
  30924. #: guix-git/doc/guix.texi:20963
  30925. 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\"}."
  30926. msgstr ""
  30927. #. type: deftypevr
  30928. #: guix-git/doc/guix.texi:20965
  30929. #, no-wrap
  30930. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  30931. msgstr ""
  30932. #. type: deftypevr
  30933. #: guix-git/doc/guix.texi:20976
  30934. 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}."
  30935. msgstr ""
  30936. #. type: deftypevr
  30937. #: guix-git/doc/guix.texi:20978
  30938. #, no-wrap
  30939. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  30940. msgstr ""
  30941. #. type: deftypevr
  30942. #: guix-git/doc/guix.texi:20983
  30943. 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}."
  30944. msgstr ""
  30945. #. type: deftypevr
  30946. #: guix-git/doc/guix.texi:20985
  30947. #, no-wrap
  30948. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  30949. msgstr ""
  30950. #. type: deftypevr
  30951. #: guix-git/doc/guix.texi:20991
  30952. 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}."
  30953. msgstr ""
  30954. #. type: deftypevr
  30955. #: guix-git/doc/guix.texi:20993
  30956. #, no-wrap
  30957. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  30958. msgstr ""
  30959. #. type: deftypevr
  30960. #: guix-git/doc/guix.texi:20998
  30961. 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}."
  30962. msgstr ""
  30963. #. type: deftypevr
  30964. #: guix-git/doc/guix.texi:21000
  30965. #, no-wrap
  30966. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  30967. msgstr ""
  30968. #. type: deftypevr
  30969. #: guix-git/doc/guix.texi:21003
  30970. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  30971. msgstr ""
  30972. #. type: deftypevr
  30973. #: guix-git/doc/guix.texi:21005
  30974. #, no-wrap
  30975. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  30976. msgstr ""
  30977. #. type: deftypevr
  30978. #: guix-git/doc/guix.texi:21010
  30979. 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\"}."
  30980. msgstr ""
  30981. #. type: deftypevr
  30982. #: guix-git/doc/guix.texi:21012
  30983. #, no-wrap
  30984. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  30985. msgstr ""
  30986. #. type: deftypevr
  30987. #: guix-git/doc/guix.texi:21017
  30988. 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}."
  30989. msgstr ""
  30990. #. type: deftypevr
  30991. #: guix-git/doc/guix.texi:21019
  30992. #, no-wrap
  30993. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  30994. msgstr ""
  30995. #. type: deftypevr
  30996. #: guix-git/doc/guix.texi:21023
  30997. 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."
  30998. msgstr ""
  30999. #. type: deftypevr
  31000. #: guix-git/doc/guix.texi:21025
  31001. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  31002. msgstr ""
  31003. #. type: deftypevr
  31004. #: guix-git/doc/guix.texi:21028
  31005. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  31006. msgstr ""
  31007. #. type: deftypevr
  31008. #: guix-git/doc/guix.texi:21030
  31009. #, no-wrap
  31010. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  31011. msgstr ""
  31012. #. type: deftypevr
  31013. #: guix-git/doc/guix.texi:21035
  31014. 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}."
  31015. msgstr ""
  31016. #. type: deftypevr
  31017. #: guix-git/doc/guix.texi:21037
  31018. #, no-wrap
  31019. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  31020. msgstr ""
  31021. #. type: deftypevr
  31022. #: guix-git/doc/guix.texi:21039
  31023. msgid "File system backend to use for saving attachments:"
  31024. msgstr ""
  31025. #. type: item
  31026. #: guix-git/doc/guix.texi:21040
  31027. #, no-wrap
  31028. msgid "posix"
  31029. msgstr ""
  31030. #. type: table
  31031. #: guix-git/doc/guix.texi:21042
  31032. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  31033. msgstr ""
  31034. #. type: item
  31035. #: guix-git/doc/guix.texi:21042
  31036. #, no-wrap
  31037. msgid "sis posix"
  31038. msgstr ""
  31039. #. type: table
  31040. #: guix-git/doc/guix.texi:21044
  31041. msgid "SiS with immediate byte-by-byte comparison during saving"
  31042. msgstr ""
  31043. #. type: item
  31044. #: guix-git/doc/guix.texi:21044
  31045. #, no-wrap
  31046. msgid "sis-queue posix"
  31047. msgstr ""
  31048. #. type: table
  31049. #: guix-git/doc/guix.texi:21046
  31050. msgid "SiS with delayed comparison and deduplication."
  31051. msgstr ""
  31052. #. type: deftypevr
  31053. #: guix-git/doc/guix.texi:21048
  31054. msgid "Defaults to @samp{\"sis posix\"}."
  31055. msgstr ""
  31056. #. type: deftypevr
  31057. #: guix-git/doc/guix.texi:21050
  31058. #, no-wrap
  31059. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  31060. msgstr ""
  31061. #. type: deftypevr
  31062. #: guix-git/doc/guix.texi:21056
  31063. 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@}\"}."
  31064. msgstr ""
  31065. #. type: deftypevr
  31066. #: guix-git/doc/guix.texi:21058
  31067. #, no-wrap
  31068. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  31069. msgstr ""
  31070. #. type: deftypevr
  31071. #: guix-git/doc/guix.texi:21063
  31072. #, no-wrap
  31073. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  31074. msgstr ""
  31075. #. type: deftypevr
  31076. #: guix-git/doc/guix.texi:21066 guix-git/doc/guix.texi:28386
  31077. msgid "Defaults to @samp{1000}."
  31078. msgstr ""
  31079. #. type: deftypevr
  31080. #: guix-git/doc/guix.texi:21068
  31081. #, no-wrap
  31082. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  31083. msgstr ""
  31084. #. type: deftypevr
  31085. #: guix-git/doc/guix.texi:21073
  31086. 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}."
  31087. msgstr ""
  31088. #. type: deftypevr
  31089. #: guix-git/doc/guix.texi:21075
  31090. #, no-wrap
  31091. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  31092. msgstr ""
  31093. #. type: deftypevr
  31094. #: guix-git/doc/guix.texi:21080
  31095. 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\"}."
  31096. msgstr ""
  31097. #. type: deftypevr
  31098. #: guix-git/doc/guix.texi:21082
  31099. #, no-wrap
  31100. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  31101. msgstr ""
  31102. #. type: deftypevr
  31103. #: guix-git/doc/guix.texi:21087
  31104. 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\"}."
  31105. msgstr ""
  31106. #. type: deftypevr
  31107. #: guix-git/doc/guix.texi:21089
  31108. #, no-wrap
  31109. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  31110. msgstr ""
  31111. #. type: deftypevr
  31112. #: guix-git/doc/guix.texi:21092
  31113. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  31114. msgstr ""
  31115. #. type: deftypevr
  31116. #: guix-git/doc/guix.texi:21094
  31117. #, no-wrap
  31118. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  31119. msgstr ""
  31120. #. type: deftypevr
  31121. #: guix-git/doc/guix.texi:21097
  31122. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  31123. msgstr ""
  31124. #. type: deftypevr
  31125. #: guix-git/doc/guix.texi:21099
  31126. #, no-wrap
  31127. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  31128. msgstr ""
  31129. #. type: deftypevr
  31130. #: guix-git/doc/guix.texi:21104
  31131. 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\"}."
  31132. msgstr ""
  31133. #. type: deftypevr
  31134. #: guix-git/doc/guix.texi:21106
  31135. #, no-wrap
  31136. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  31137. msgstr ""
  31138. #. type: deftypevr
  31139. #: guix-git/doc/guix.texi:21112
  31140. 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{\"\"}."
  31141. msgstr ""
  31142. #. type: deftypevr
  31143. #: guix-git/doc/guix.texi:21114
  31144. #, no-wrap
  31145. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  31146. msgstr ""
  31147. #. type: deftypevr
  31148. #: guix-git/doc/guix.texi:21120
  31149. 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{\"\"}."
  31150. msgstr ""
  31151. #. type: deftypevr
  31152. #: guix-git/doc/guix.texi:21122
  31153. #, no-wrap
  31154. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  31155. msgstr ""
  31156. #. type: deftypevr
  31157. #: guix-git/doc/guix.texi:21125
  31158. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  31159. msgstr ""
  31160. #. type: deftypevr
  31161. #: guix-git/doc/guix.texi:21127
  31162. #, no-wrap
  31163. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  31164. msgstr ""
  31165. #. type: deftypevr
  31166. #: guix-git/doc/guix.texi:21131
  31167. 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}."
  31168. msgstr ""
  31169. #. type: deftypevr
  31170. #: guix-git/doc/guix.texi:21133
  31171. #, no-wrap
  31172. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  31173. msgstr ""
  31174. #. type: deftypevr
  31175. #: guix-git/doc/guix.texi:21138
  31176. 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\"}."
  31177. msgstr ""
  31178. #. type: deftypevr
  31179. #: guix-git/doc/guix.texi:21140
  31180. #, no-wrap
  31181. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  31182. msgstr ""
  31183. #. type: deftypevr
  31184. #: guix-git/doc/guix.texi:21143
  31185. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  31186. msgstr ""
  31187. #. type: deftypevr
  31188. #: guix-git/doc/guix.texi:21145
  31189. #, no-wrap
  31190. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  31191. msgstr ""
  31192. #. type: deftypevr
  31193. #: guix-git/doc/guix.texi:21148
  31194. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  31195. msgstr ""
  31196. #. type: deftypevr
  31197. #: guix-git/doc/guix.texi:21150
  31198. #, no-wrap
  31199. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  31200. msgstr ""
  31201. #. type: deftypevr
  31202. #: guix-git/doc/guix.texi:21153
  31203. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  31204. msgstr ""
  31205. #. type: deftypevr
  31206. #: guix-git/doc/guix.texi:21155
  31207. #, no-wrap
  31208. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  31209. msgstr ""
  31210. #. type: deftypevr
  31211. #: guix-git/doc/guix.texi:21159
  31212. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  31213. msgstr ""
  31214. #. type: deftypevr
  31215. #: guix-git/doc/guix.texi:21161
  31216. #, no-wrap
  31217. msgid "{@code{dovecot-configuration} parameter} string hostname"
  31218. msgstr ""
  31219. #. type: deftypevr
  31220. #: guix-git/doc/guix.texi:21165
  31221. 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{\"\"}."
  31222. msgstr ""
  31223. #. type: deftypevr
  31224. #: guix-git/doc/guix.texi:21167
  31225. #, no-wrap
  31226. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  31227. msgstr ""
  31228. #. type: deftypevr
  31229. #: guix-git/doc/guix.texi:21171
  31230. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  31231. msgstr ""
  31232. #. type: deftypevr
  31233. #: guix-git/doc/guix.texi:21173
  31234. #, no-wrap
  31235. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  31236. msgstr ""
  31237. #. type: deftypevr
  31238. #: guix-git/doc/guix.texi:21176
  31239. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  31240. msgstr ""
  31241. #. type: deftypevr
  31242. #: guix-git/doc/guix.texi:21178
  31243. #, no-wrap
  31244. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  31245. msgstr ""
  31246. #. type: deftypevr
  31247. #: guix-git/doc/guix.texi:21182
  31248. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  31249. msgstr ""
  31250. #. type: deftypevr
  31251. #: guix-git/doc/guix.texi:21184
  31252. #, no-wrap
  31253. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  31254. msgstr ""
  31255. #. type: deftypevr
  31256. #: guix-git/doc/guix.texi:21188
  31257. 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\"}."
  31258. msgstr ""
  31259. #. type: deftypevr
  31260. #: guix-git/doc/guix.texi:21190
  31261. #, no-wrap
  31262. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  31263. msgstr ""
  31264. #. type: deftypevr
  31265. #: guix-git/doc/guix.texi:21193
  31266. msgid "Human readable error message for rejection mails. You can use variables:"
  31267. msgstr ""
  31268. #. type: table
  31269. #: guix-git/doc/guix.texi:21197
  31270. msgid "CRLF"
  31271. msgstr ""
  31272. #. type: item
  31273. #: guix-git/doc/guix.texi:21197
  31274. #, no-wrap
  31275. msgid "%r"
  31276. msgstr ""
  31277. #. type: table
  31278. #: guix-git/doc/guix.texi:21199
  31279. msgid "reason"
  31280. msgstr ""
  31281. #. type: table
  31282. #: guix-git/doc/guix.texi:21201
  31283. msgid "original subject"
  31284. msgstr ""
  31285. #. type: item
  31286. #: guix-git/doc/guix.texi:21201
  31287. #, no-wrap
  31288. msgid "%t"
  31289. msgstr ""
  31290. #. type: table
  31291. #: guix-git/doc/guix.texi:21203
  31292. msgid "recipient"
  31293. msgstr ""
  31294. #. type: deftypevr
  31295. #: guix-git/doc/guix.texi:21205
  31296. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  31297. msgstr ""
  31298. #. type: deftypevr
  31299. #: guix-git/doc/guix.texi:21207
  31300. #, no-wrap
  31301. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  31302. msgstr ""
  31303. #. type: deftypevr
  31304. #: guix-git/doc/guix.texi:21211
  31305. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  31306. msgstr ""
  31307. #. type: deftypevr
  31308. #: guix-git/doc/guix.texi:21213
  31309. #, no-wrap
  31310. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  31311. msgstr ""
  31312. #. type: deftypevr
  31313. #: guix-git/doc/guix.texi:21219
  31314. 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{\"\"}."
  31315. msgstr ""
  31316. #. type: deftypevr
  31317. #: guix-git/doc/guix.texi:21221
  31318. #, no-wrap
  31319. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  31320. msgstr ""
  31321. #. type: deftypevr
  31322. #: guix-git/doc/guix.texi:21225
  31323. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  31324. msgstr ""
  31325. #. type: deftypevr
  31326. #: guix-git/doc/guix.texi:21227
  31327. #, no-wrap
  31328. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  31329. msgstr ""
  31330. #. type: deftypevr
  31331. #: guix-git/doc/guix.texi:21231
  31332. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  31333. msgstr ""
  31334. #. type: deftypevr
  31335. #: guix-git/doc/guix.texi:21233
  31336. #, no-wrap
  31337. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  31338. msgstr ""
  31339. #. type: deftypevr
  31340. #: guix-git/doc/guix.texi:21239
  31341. 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}."
  31342. msgstr ""
  31343. #. type: deftypevr
  31344. #: guix-git/doc/guix.texi:21241
  31345. #, no-wrap
  31346. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  31347. msgstr ""
  31348. #. type: deftypevr
  31349. #: guix-git/doc/guix.texi:21243
  31350. msgid "IMAP logout format string:"
  31351. msgstr ""
  31352. #. type: item
  31353. #: guix-git/doc/guix.texi:21244
  31354. #, no-wrap
  31355. msgid "%i"
  31356. msgstr ""
  31357. #. type: table
  31358. #: guix-git/doc/guix.texi:21246
  31359. msgid "total number of bytes read from client"
  31360. msgstr ""
  31361. #. type: item
  31362. #: guix-git/doc/guix.texi:21246
  31363. #, no-wrap
  31364. msgid "%o"
  31365. msgstr ""
  31366. #. type: table
  31367. #: guix-git/doc/guix.texi:21248
  31368. msgid "total number of bytes sent to client."
  31369. msgstr ""
  31370. #. type: deftypevr
  31371. #: guix-git/doc/guix.texi:21251
  31372. 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@}\"}."
  31373. msgstr ""
  31374. #. type: deftypevr
  31375. #: guix-git/doc/guix.texi:21253
  31376. #, no-wrap
  31377. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  31378. msgstr ""
  31379. #. type: deftypevr
  31380. #: guix-git/doc/guix.texi:21257
  31381. 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{\"\"}."
  31382. msgstr ""
  31383. #. type: deftypevr
  31384. #: guix-git/doc/guix.texi:21259
  31385. #, no-wrap
  31386. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  31387. msgstr ""
  31388. #. type: deftypevr
  31389. #: guix-git/doc/guix.texi:21263
  31390. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  31391. msgstr ""
  31392. #. type: deftypevr
  31393. #: guix-git/doc/guix.texi:21265
  31394. #, no-wrap
  31395. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  31396. msgstr ""
  31397. #. type: deftypevr
  31398. #: guix-git/doc/guix.texi:21271
  31399. 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{\"\"}."
  31400. msgstr ""
  31401. #. type: deftypevr
  31402. #: guix-git/doc/guix.texi:21273
  31403. #, no-wrap
  31404. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  31405. msgstr ""
  31406. #. type: deftypevr
  31407. #: guix-git/doc/guix.texi:21276
  31408. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  31409. msgstr ""
  31410. #. type: deftypevr
  31411. #: guix-git/doc/guix.texi:21278
  31412. #, no-wrap
  31413. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  31414. msgstr ""
  31415. #. type: deftypevr
  31416. #: guix-git/doc/guix.texi:21280
  31417. msgid "Workarounds for various client bugs:"
  31418. msgstr ""
  31419. #. type: item
  31420. #: guix-git/doc/guix.texi:21282
  31421. #, no-wrap
  31422. msgid "delay-newmail"
  31423. msgstr ""
  31424. #. type: table
  31425. #: guix-git/doc/guix.texi:21289
  31426. 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\"."
  31427. msgstr ""
  31428. #. type: item
  31429. #: guix-git/doc/guix.texi:21290
  31430. #, no-wrap
  31431. msgid "tb-extra-mailbox-sep"
  31432. msgstr ""
  31433. #. type: table
  31434. #: guix-git/doc/guix.texi:21294
  31435. 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."
  31436. msgstr ""
  31437. #. type: item
  31438. #: guix-git/doc/guix.texi:21295
  31439. #, no-wrap
  31440. msgid "tb-lsub-flags"
  31441. msgstr ""
  31442. #. type: table
  31443. #: guix-git/doc/guix.texi:21299
  31444. 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."
  31445. msgstr ""
  31446. #. type: deftypevr
  31447. #: guix-git/doc/guix.texi:21303
  31448. #, no-wrap
  31449. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  31450. msgstr ""
  31451. #. type: deftypevr
  31452. #: guix-git/doc/guix.texi:21306
  31453. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  31454. msgstr ""
  31455. #. type: Plain text
  31456. #: guix-git/doc/guix.texi:21314
  31457. 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."
  31458. msgstr ""
  31459. #. type: Plain text
  31460. #: guix-git/doc/guix.texi:21320
  31461. 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."
  31462. msgstr ""
  31463. #. type: Plain text
  31464. #: guix-git/doc/guix.texi:21322
  31465. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  31466. msgstr ""
  31467. #. type: deftypevr
  31468. #: guix-git/doc/guix.texi:21323
  31469. #, no-wrap
  31470. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  31471. msgstr ""
  31472. #. type: deftypevr
  31473. #: guix-git/doc/guix.texi:21327
  31474. #, no-wrap
  31475. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  31476. msgstr ""
  31477. #. type: deftypevr
  31478. #: guix-git/doc/guix.texi:21329
  31479. msgid "The contents of the @code{dovecot.conf}, as a string."
  31480. msgstr ""
  31481. #. type: Plain text
  31482. #: guix-git/doc/guix.texi:21333
  31483. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  31484. msgstr ""
  31485. #. type: lisp
  31486. #: guix-git/doc/guix.texi:21338
  31487. #, no-wrap
  31488. msgid ""
  31489. "(dovecot-service #:config\n"
  31490. " (opaque-dovecot-configuration\n"
  31491. " (string \"\")))\n"
  31492. msgstr ""
  31493. #. type: subsubheading
  31494. #: guix-git/doc/guix.texi:21340
  31495. #, no-wrap
  31496. msgid "OpenSMTPD Service"
  31497. msgstr ""
  31498. #. type: deffn
  31499. #: guix-git/doc/guix.texi:21342
  31500. #, no-wrap
  31501. msgid "{Scheme Variable} opensmtpd-service-type"
  31502. msgstr ""
  31503. #. type: deffn
  31504. #: guix-git/doc/guix.texi:21346
  31505. 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:"
  31506. msgstr ""
  31507. #. type: lisp
  31508. #: guix-git/doc/guix.texi:21351
  31509. #, no-wrap
  31510. msgid ""
  31511. "(service opensmtpd-service-type\n"
  31512. " (opensmtpd-configuration\n"
  31513. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  31514. msgstr ""
  31515. #. type: deftp
  31516. #: guix-git/doc/guix.texi:21354
  31517. #, no-wrap
  31518. msgid "{Data Type} opensmtpd-configuration"
  31519. msgstr ""
  31520. #. type: deftp
  31521. #: guix-git/doc/guix.texi:21356
  31522. msgid "Data type representing the configuration of opensmtpd."
  31523. msgstr ""
  31524. #. type: item
  31525. #: guix-git/doc/guix.texi:21358
  31526. #, no-wrap
  31527. msgid "@code{package} (default: @var{opensmtpd})"
  31528. msgstr ""
  31529. #. type: table
  31530. #: guix-git/doc/guix.texi:21360
  31531. msgid "Package object of the OpenSMTPD SMTP server."
  31532. msgstr ""
  31533. #. type: item
  31534. #: guix-git/doc/guix.texi:21361
  31535. #, no-wrap
  31536. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  31537. msgstr ""
  31538. #. type: table
  31539. #: guix-git/doc/guix.texi:21366
  31540. 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."
  31541. msgstr ""
  31542. #. type: subsubheading
  31543. #: guix-git/doc/guix.texi:21370
  31544. #, no-wrap
  31545. msgid "Exim Service"
  31546. msgstr ""
  31547. #. type: cindex
  31548. #: guix-git/doc/guix.texi:21372
  31549. #, no-wrap
  31550. msgid "mail transfer agent (MTA)"
  31551. msgstr ""
  31552. #. type: cindex
  31553. #: guix-git/doc/guix.texi:21373
  31554. #, no-wrap
  31555. msgid "MTA (mail transfer agent)"
  31556. msgstr ""
  31557. #. type: cindex
  31558. #: guix-git/doc/guix.texi:21374
  31559. #, no-wrap
  31560. msgid "SMTP"
  31561. msgstr ""
  31562. #. type: deffn
  31563. #: guix-git/doc/guix.texi:21376
  31564. #, no-wrap
  31565. msgid "{Scheme Variable} exim-service-type"
  31566. msgstr ""
  31567. #. type: deffn
  31568. #: guix-git/doc/guix.texi:21380
  31569. 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:"
  31570. msgstr ""
  31571. #. type: lisp
  31572. #: guix-git/doc/guix.texi:21385
  31573. #, no-wrap
  31574. msgid ""
  31575. "(service exim-service-type\n"
  31576. " (exim-configuration\n"
  31577. " (config-file (local-file \"./my-exim.conf\"))))\n"
  31578. msgstr ""
  31579. #. type: Plain text
  31580. #: guix-git/doc/guix.texi:21391
  31581. 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)."
  31582. msgstr ""
  31583. #. type: deftp
  31584. #: guix-git/doc/guix.texi:21392
  31585. #, no-wrap
  31586. msgid "{Data Type} exim-configuration"
  31587. msgstr ""
  31588. #. type: deftp
  31589. #: guix-git/doc/guix.texi:21394
  31590. msgid "Data type representing the configuration of exim."
  31591. msgstr ""
  31592. #. type: item
  31593. #: guix-git/doc/guix.texi:21396
  31594. #, no-wrap
  31595. msgid "@code{package} (default: @var{exim})"
  31596. msgstr ""
  31597. #. type: table
  31598. #: guix-git/doc/guix.texi:21398
  31599. msgid "Package object of the Exim server."
  31600. msgstr ""
  31601. #. type: table
  31602. #: guix-git/doc/guix.texi:21405
  31603. 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."
  31604. msgstr ""
  31605. #. type: subsubheading
  31606. #: guix-git/doc/guix.texi:21409
  31607. #, no-wrap
  31608. msgid "Getmail service"
  31609. msgstr ""
  31610. #. type: cindex
  31611. #: guix-git/doc/guix.texi:21411
  31612. #, no-wrap
  31613. msgid "IMAP"
  31614. msgstr ""
  31615. #. type: cindex
  31616. #: guix-git/doc/guix.texi:21412
  31617. #, no-wrap
  31618. msgid "POP"
  31619. msgstr ""
  31620. #. type: deffn
  31621. #: guix-git/doc/guix.texi:21414
  31622. #, no-wrap
  31623. msgid "{Scheme Variable} getmail-service-type"
  31624. msgstr ""
  31625. #. type: deffn
  31626. #: guix-git/doc/guix.texi:21417
  31627. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  31628. msgstr ""
  31629. #. type: Plain text
  31630. #: guix-git/doc/guix.texi:21420
  31631. msgid "Available @code{getmail-configuration} fields are:"
  31632. msgstr ""
  31633. #. type: deftypevr
  31634. #: guix-git/doc/guix.texi:21421
  31635. #, no-wrap
  31636. msgid "{@code{getmail-configuration} parameter} symbol name"
  31637. msgstr ""
  31638. #. type: deftypevr
  31639. #: guix-git/doc/guix.texi:21423
  31640. msgid "A symbol to identify the getmail service."
  31641. msgstr ""
  31642. #. type: deftypevr
  31643. #: guix-git/doc/guix.texi:21425
  31644. msgid "Defaults to @samp{\"unset\"}."
  31645. msgstr ""
  31646. #. type: deftypevr
  31647. #: guix-git/doc/guix.texi:21428
  31648. #, no-wrap
  31649. msgid "{@code{getmail-configuration} parameter} package package"
  31650. msgstr ""
  31651. #. type: deftypevr
  31652. #: guix-git/doc/guix.texi:21430
  31653. msgid "The getmail package to use."
  31654. msgstr ""
  31655. #. type: deftypevr
  31656. #: guix-git/doc/guix.texi:21433
  31657. #, no-wrap
  31658. msgid "{@code{getmail-configuration} parameter} string user"
  31659. msgstr ""
  31660. #. type: deftypevr
  31661. #: guix-git/doc/guix.texi:21435
  31662. msgid "The user to run getmail as."
  31663. msgstr ""
  31664. #. type: deftypevr
  31665. #: guix-git/doc/guix.texi:21437 guix-git/doc/guix.texi:21444
  31666. msgid "Defaults to @samp{\"getmail\"}."
  31667. msgstr ""
  31668. #. type: deftypevr
  31669. #: guix-git/doc/guix.texi:21440
  31670. #, no-wrap
  31671. msgid "{@code{getmail-configuration} parameter} string group"
  31672. msgstr ""
  31673. #. type: deftypevr
  31674. #: guix-git/doc/guix.texi:21442
  31675. msgid "The group to run getmail as."
  31676. msgstr ""
  31677. #. type: deftypevr
  31678. #: guix-git/doc/guix.texi:21447
  31679. #, no-wrap
  31680. msgid "{@code{getmail-configuration} parameter} string directory"
  31681. msgstr ""
  31682. #. type: deftypevr
  31683. #: guix-git/doc/guix.texi:21449
  31684. msgid "The getmail directory to use."
  31685. msgstr ""
  31686. #. type: deftypevr
  31687. #: guix-git/doc/guix.texi:21451
  31688. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  31689. msgstr ""
  31690. #. type: deftypevr
  31691. #: guix-git/doc/guix.texi:21454
  31692. #, no-wrap
  31693. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  31694. msgstr ""
  31695. #. type: deftypevr
  31696. #: guix-git/doc/guix.texi:21456
  31697. msgid "The getmail configuration file to use."
  31698. msgstr ""
  31699. #. type: deftypevr
  31700. #: guix-git/doc/guix.texi:21458
  31701. msgid "Available @code{getmail-configuration-file} fields are:"
  31702. msgstr ""
  31703. #. type: deftypevr
  31704. #: guix-git/doc/guix.texi:21459
  31705. #, no-wrap
  31706. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  31707. msgstr ""
  31708. #. type: deftypevr
  31709. #: guix-git/doc/guix.texi:21461
  31710. msgid "What mail account to retrieve mail from, and how to access that account."
  31711. msgstr ""
  31712. #. type: deftypevr
  31713. #: guix-git/doc/guix.texi:21463
  31714. msgid "Available @code{getmail-retriever-configuration} fields are:"
  31715. msgstr ""
  31716. #. type: deftypevr
  31717. #: guix-git/doc/guix.texi:21464
  31718. #, no-wrap
  31719. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  31720. msgstr ""
  31721. #. type: deftypevr
  31722. #: guix-git/doc/guix.texi:21467
  31723. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  31724. msgstr ""
  31725. #. type: deftypevr
  31726. #: guix-git/doc/guix.texi:21469
  31727. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  31728. msgstr ""
  31729. #. type: deftypevr
  31730. #: guix-git/doc/guix.texi:21472
  31731. #, no-wrap
  31732. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  31733. msgstr ""
  31734. #. type: deftypevr
  31735. #: guix-git/doc/guix.texi:21474 guix-git/doc/guix.texi:21481
  31736. msgid "Username to login to the mail server with."
  31737. msgstr ""
  31738. #. type: deftypevr
  31739. #: guix-git/doc/guix.texi:21476 guix-git/doc/guix.texi:21483
  31740. #: guix-git/doc/guix.texi:21547
  31741. msgid "Defaults to @samp{unset}."
  31742. msgstr ""
  31743. #. type: deftypevr
  31744. #: guix-git/doc/guix.texi:21479
  31745. #, no-wrap
  31746. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  31747. msgstr ""
  31748. #. type: deftypevr
  31749. #: guix-git/doc/guix.texi:21486
  31750. #, no-wrap
  31751. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  31752. msgstr ""
  31753. #. type: deftypevr
  31754. #: guix-git/doc/guix.texi:21488
  31755. msgid "Port number to connect to."
  31756. msgstr ""
  31757. #. type: deftypevr
  31758. #: guix-git/doc/guix.texi:21493
  31759. #, no-wrap
  31760. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  31761. msgstr ""
  31762. #. type: deftypevr
  31763. #: guix-git/doc/guix.texi:21495 guix-git/doc/guix.texi:21502
  31764. msgid "Override fields from passwd."
  31765. msgstr ""
  31766. #. type: deftypevr
  31767. #: guix-git/doc/guix.texi:21500
  31768. #, no-wrap
  31769. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  31770. msgstr ""
  31771. #. type: deftypevr
  31772. #: guix-git/doc/guix.texi:21507
  31773. #, no-wrap
  31774. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  31775. msgstr ""
  31776. #. type: deftypevr
  31777. #: guix-git/doc/guix.texi:21509
  31778. msgid "PEM-formatted key file to use for the TLS negotiation."
  31779. msgstr ""
  31780. #. type: deftypevr
  31781. #: guix-git/doc/guix.texi:21514
  31782. #, no-wrap
  31783. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  31784. msgstr ""
  31785. #. type: deftypevr
  31786. #: guix-git/doc/guix.texi:21516
  31787. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  31788. msgstr ""
  31789. #. type: deftypevr
  31790. #: guix-git/doc/guix.texi:21521
  31791. #, no-wrap
  31792. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  31793. msgstr ""
  31794. #. type: deftypevr
  31795. #: guix-git/doc/guix.texi:21523
  31796. msgid "CA certificates to use."
  31797. msgstr ""
  31798. #. type: deftypevr
  31799. #: guix-git/doc/guix.texi:21528
  31800. #, no-wrap
  31801. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  31802. msgstr ""
  31803. #. type: deftypevr
  31804. #: guix-git/doc/guix.texi:21530
  31805. msgid "Extra retriever parameters."
  31806. msgstr ""
  31807. #. type: deftypevr
  31808. #: guix-git/doc/guix.texi:21537
  31809. #, no-wrap
  31810. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  31811. msgstr ""
  31812. #. type: deftypevr
  31813. #: guix-git/doc/guix.texi:21539
  31814. msgid "What to do with retrieved messages."
  31815. msgstr ""
  31816. #. type: deftypevr
  31817. #: guix-git/doc/guix.texi:21541
  31818. msgid "Available @code{getmail-destination-configuration} fields are:"
  31819. msgstr ""
  31820. #. type: deftypevr
  31821. #: guix-git/doc/guix.texi:21542
  31822. #, no-wrap
  31823. msgid "{@code{getmail-destination-configuration} parameter} string type"
  31824. msgstr ""
  31825. #. type: deftypevr
  31826. #: guix-git/doc/guix.texi:21545
  31827. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  31828. msgstr ""
  31829. #. type: deftypevr
  31830. #: guix-git/doc/guix.texi:21550
  31831. #, no-wrap
  31832. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  31833. msgstr ""
  31834. #. type: deftypevr
  31835. #: guix-git/doc/guix.texi:21553
  31836. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  31837. msgstr ""
  31838. #. type: deftypevr
  31839. #: guix-git/doc/guix.texi:21558
  31840. #, no-wrap
  31841. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  31842. msgstr ""
  31843. #. type: deftypevr
  31844. #: guix-git/doc/guix.texi:21560
  31845. msgid "Extra destination parameters"
  31846. msgstr ""
  31847. #. type: deftypevr
  31848. #: guix-git/doc/guix.texi:21567
  31849. #, no-wrap
  31850. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  31851. msgstr ""
  31852. #. type: deftypevr
  31853. #: guix-git/doc/guix.texi:21569
  31854. msgid "Configure getmail."
  31855. msgstr ""
  31856. #. type: deftypevr
  31857. #: guix-git/doc/guix.texi:21571
  31858. msgid "Available @code{getmail-options-configuration} fields are:"
  31859. msgstr ""
  31860. #. type: deftypevr
  31861. #: guix-git/doc/guix.texi:21572
  31862. #, no-wrap
  31863. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  31864. msgstr ""
  31865. #. type: deftypevr
  31866. #: guix-git/doc/guix.texi:21577
  31867. 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 it's actions."
  31868. msgstr ""
  31869. #. type: deftypevr
  31870. #: guix-git/doc/guix.texi:21579 guix-git/doc/guix.texi:27856
  31871. #: guix-git/doc/guix.texi:28444 guix-git/doc/guix.texi:28589
  31872. msgid "Defaults to @samp{1}."
  31873. msgstr ""
  31874. #. type: deftypevr
  31875. #: guix-git/doc/guix.texi:21582
  31876. #, no-wrap
  31877. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  31878. msgstr ""
  31879. #. type: deftypevr
  31880. #: guix-git/doc/guix.texi:21585
  31881. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  31882. msgstr ""
  31883. #. type: deftypevr
  31884. #: guix-git/doc/guix.texi:21590
  31885. #, no-wrap
  31886. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  31887. msgstr ""
  31888. #. type: deftypevr
  31889. #: guix-git/doc/guix.texi:21594
  31890. 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."
  31891. msgstr ""
  31892. #. type: deftypevr
  31893. #: guix-git/doc/guix.texi:21599
  31894. #, no-wrap
  31895. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  31896. msgstr ""
  31897. #. type: deftypevr
  31898. #: guix-git/doc/guix.texi:21604
  31899. 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."
  31900. msgstr ""
  31901. #. type: deftypevr
  31902. #: guix-git/doc/guix.texi:21609
  31903. #, no-wrap
  31904. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  31905. msgstr ""
  31906. #. type: deftypevr
  31907. #: guix-git/doc/guix.texi:21613
  31908. 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."
  31909. msgstr ""
  31910. #. type: deftypevr
  31911. #: guix-git/doc/guix.texi:21618
  31912. #, no-wrap
  31913. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  31914. msgstr ""
  31915. #. type: deftypevr
  31916. #: guix-git/doc/guix.texi:21621
  31917. 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."
  31918. msgstr ""
  31919. #. type: deftypevr
  31920. #: guix-git/doc/guix.texi:21626
  31921. #, no-wrap
  31922. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  31923. msgstr ""
  31924. #. type: deftypevr
  31925. #: guix-git/doc/guix.texi:21629
  31926. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  31927. msgstr ""
  31928. #. type: deftypevr
  31929. #: guix-git/doc/guix.texi:21634
  31930. #, no-wrap
  31931. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  31932. msgstr ""
  31933. #. type: deftypevr
  31934. #: guix-git/doc/guix.texi:21636
  31935. msgid "If true, getmail will add a Delivered-To header to messages."
  31936. msgstr ""
  31937. #. type: deftypevr
  31938. #: guix-git/doc/guix.texi:21641
  31939. #, no-wrap
  31940. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  31941. msgstr ""
  31942. #. type: deftypevr
  31943. #: guix-git/doc/guix.texi:21643
  31944. msgid "If set, getmail adds a Received header to the messages."
  31945. msgstr ""
  31946. #. type: deftypevr
  31947. #: guix-git/doc/guix.texi:21648
  31948. #, no-wrap
  31949. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  31950. msgstr ""
  31951. #. type: deftypevr
  31952. #: guix-git/doc/guix.texi:21651
  31953. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  31954. msgstr ""
  31955. #. type: deftypevr
  31956. #: guix-git/doc/guix.texi:21656
  31957. #, no-wrap
  31958. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  31959. msgstr ""
  31960. #. type: deftypevr
  31961. #: guix-git/doc/guix.texi:21659
  31962. msgid "If true, getmail will record a log of its actions using the system logger."
  31963. msgstr ""
  31964. #. type: deftypevr
  31965. #: guix-git/doc/guix.texi:21664
  31966. #, no-wrap
  31967. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  31968. msgstr ""
  31969. #. type: deftypevr
  31970. #: guix-git/doc/guix.texi:21668
  31971. 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."
  31972. msgstr ""
  31973. #. type: deftypevr
  31974. #: guix-git/doc/guix.texi:21673
  31975. #, no-wrap
  31976. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  31977. msgstr ""
  31978. #. type: deftypevr
  31979. #: guix-git/doc/guix.texi:21675
  31980. msgid "Extra options to include."
  31981. msgstr ""
  31982. #. type: deftypevr
  31983. #: guix-git/doc/guix.texi:21684
  31984. #, no-wrap
  31985. msgid "{@code{getmail-configuration} parameter} list idle"
  31986. msgstr ""
  31987. #. type: deftypevr
  31988. #: guix-git/doc/guix.texi:21688
  31989. 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."
  31990. msgstr ""
  31991. #. type: deftypevr
  31992. #: guix-git/doc/guix.texi:21693
  31993. #, no-wrap
  31994. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  31995. msgstr ""
  31996. #. type: deftypevr
  31997. #: guix-git/doc/guix.texi:21695
  31998. msgid "Environment variables to set for getmail."
  31999. msgstr ""
  32000. #. type: subsubheading
  32001. #: guix-git/doc/guix.texi:21700
  32002. #, no-wrap
  32003. msgid "Mail Aliases Service"
  32004. msgstr ""
  32005. #. type: cindex
  32006. #: guix-git/doc/guix.texi:21702
  32007. #, no-wrap
  32008. msgid "email aliases"
  32009. msgstr ""
  32010. #. type: cindex
  32011. #: guix-git/doc/guix.texi:21703
  32012. #, no-wrap
  32013. msgid "aliases, for email addresses"
  32014. msgstr ""
  32015. #. type: deffn
  32016. #: guix-git/doc/guix.texi:21705
  32017. #, no-wrap
  32018. msgid "{Scheme Variable} mail-aliases-service-type"
  32019. msgstr ""
  32020. #. type: deffn
  32021. #: guix-git/doc/guix.texi:21708
  32022. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  32023. msgstr ""
  32024. #. type: lisp
  32025. #: guix-git/doc/guix.texi:21713
  32026. #, no-wrap
  32027. msgid ""
  32028. "(service mail-aliases-service-type\n"
  32029. " '((\"postmaster\" \"bob\")\n"
  32030. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  32031. msgstr ""
  32032. #. type: Plain text
  32033. #: guix-git/doc/guix.texi:21721
  32034. 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."
  32035. msgstr ""
  32036. #. type: Plain text
  32037. #: guix-git/doc/guix.texi:21727
  32038. 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})."
  32039. msgstr ""
  32040. #. type: cindex
  32041. #: guix-git/doc/guix.texi:21728 guix-git/doc/guix.texi:21729
  32042. #, no-wrap
  32043. msgid "GNU Mailutils IMAP4 Daemon"
  32044. msgstr ""
  32045. #. type: deffn
  32046. #: guix-git/doc/guix.texi:21731
  32047. #, no-wrap
  32048. msgid "{Scheme Variable} imap4d-service-type"
  32049. msgstr ""
  32050. #. type: deffn
  32051. #: guix-git/doc/guix.texi:21735
  32052. 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:"
  32053. msgstr ""
  32054. #. type: lisp
  32055. #: guix-git/doc/guix.texi:21740
  32056. #, no-wrap
  32057. msgid ""
  32058. "(service imap4d-service-type\n"
  32059. " (imap4d-configuration\n"
  32060. " (config-file (local-file \"imap4d.conf\"))))\n"
  32061. msgstr ""
  32062. #. type: deftp
  32063. #: guix-git/doc/guix.texi:21743
  32064. #, no-wrap
  32065. msgid "{Data Type} imap4d-configuration"
  32066. msgstr ""
  32067. #. type: deftp
  32068. #: guix-git/doc/guix.texi:21745
  32069. msgid "Data type representing the configuration of @command{imap4d}."
  32070. msgstr ""
  32071. #. type: item
  32072. #: guix-git/doc/guix.texi:21747
  32073. #, no-wrap
  32074. msgid "@code{package} (default: @code{mailutils})"
  32075. msgstr ""
  32076. #. type: table
  32077. #: guix-git/doc/guix.texi:21749
  32078. msgid "The package that provides @command{imap4d}."
  32079. msgstr ""
  32080. #. type: item
  32081. #: guix-git/doc/guix.texi:21750
  32082. #, no-wrap
  32083. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  32084. msgstr ""
  32085. #. type: table
  32086. #: guix-git/doc/guix.texi:21754
  32087. 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."
  32088. msgstr ""
  32089. #. type: subsubheading
  32090. #: guix-git/doc/guix.texi:21758
  32091. #, no-wrap
  32092. msgid "Radicale Service"
  32093. msgstr ""
  32094. #. type: cindex
  32095. #: guix-git/doc/guix.texi:21759
  32096. #, no-wrap
  32097. msgid "CalDAV"
  32098. msgstr ""
  32099. #. type: cindex
  32100. #: guix-git/doc/guix.texi:21760
  32101. #, no-wrap
  32102. msgid "CardDAV"
  32103. msgstr ""
  32104. #. type: deffn
  32105. #: guix-git/doc/guix.texi:21762
  32106. #, no-wrap
  32107. msgid "{Scheme Variable} radicale-service-type"
  32108. msgstr ""
  32109. #. type: deffn
  32110. #: guix-git/doc/guix.texi:21765
  32111. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  32112. msgstr ""
  32113. #. type: deftp
  32114. #: guix-git/doc/guix.texi:21767
  32115. #, no-wrap
  32116. msgid "{Data Type} radicale-configuration"
  32117. msgstr ""
  32118. #. type: deftp
  32119. #: guix-git/doc/guix.texi:21769
  32120. msgid "Data type representing the configuration of @command{radicale}."
  32121. msgstr ""
  32122. #. type: item
  32123. #: guix-git/doc/guix.texi:21771
  32124. #, no-wrap
  32125. msgid "@code{package} (default: @code{radicale})"
  32126. msgstr ""
  32127. #. type: table
  32128. #: guix-git/doc/guix.texi:21773
  32129. msgid "The package that provides @command{radicale}."
  32130. msgstr ""
  32131. #. type: item
  32132. #: guix-git/doc/guix.texi:21774
  32133. #, no-wrap
  32134. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  32135. msgstr ""
  32136. #. type: table
  32137. #: guix-git/doc/guix.texi:21778
  32138. 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."
  32139. msgstr ""
  32140. #. type: cindex
  32141. #: guix-git/doc/guix.texi:21785
  32142. #, no-wrap
  32143. msgid "messaging"
  32144. msgstr ""
  32145. #. type: cindex
  32146. #: guix-git/doc/guix.texi:21786
  32147. #, no-wrap
  32148. msgid "jabber"
  32149. msgstr ""
  32150. #. type: cindex
  32151. #: guix-git/doc/guix.texi:21787
  32152. #, no-wrap
  32153. msgid "XMPP"
  32154. msgstr ""
  32155. #. type: Plain text
  32156. #: guix-git/doc/guix.texi:21791
  32157. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  32158. msgstr ""
  32159. #. type: subsubheading
  32160. #: guix-git/doc/guix.texi:21792
  32161. #, no-wrap
  32162. msgid "Prosody Service"
  32163. msgstr ""
  32164. #. type: deffn
  32165. #: guix-git/doc/guix.texi:21794
  32166. #, no-wrap
  32167. msgid "{Scheme Variable} prosody-service-type"
  32168. msgstr ""
  32169. #. type: deffn
  32170. #: guix-git/doc/guix.texi:21798
  32171. 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:"
  32172. msgstr ""
  32173. #. type: lisp
  32174. #: guix-git/doc/guix.texi:21813
  32175. #, no-wrap
  32176. msgid ""
  32177. "(service prosody-service-type\n"
  32178. " (prosody-configuration\n"
  32179. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  32180. " (int-components\n"
  32181. " (list\n"
  32182. " (int-component-configuration\n"
  32183. " (hostname \"conference.example.net\")\n"
  32184. " (plugin \"muc\")\n"
  32185. " (mod-muc (mod-muc-configuration)))))\n"
  32186. " (virtualhosts\n"
  32187. " (list\n"
  32188. " (virtualhost-configuration\n"
  32189. " (domain \"example.net\"))))))\n"
  32190. msgstr ""
  32191. #. type: deffn
  32192. #: guix-git/doc/guix.texi:21816
  32193. msgid "See below for details about @code{prosody-configuration}."
  32194. msgstr ""
  32195. #. type: Plain text
  32196. #: guix-git/doc/guix.texi:21822
  32197. 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."
  32198. msgstr ""
  32199. #. type: Plain text
  32200. #: guix-git/doc/guix.texi:21825
  32201. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  32202. msgstr ""
  32203. #. type: Plain text
  32204. #: guix-git/doc/guix.texi:21829
  32205. 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}."
  32206. msgstr ""
  32207. #. type: example
  32208. #: guix-git/doc/guix.texi:21832
  32209. #, no-wrap
  32210. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  32211. msgstr ""
  32212. #. type: Plain text
  32213. #: guix-git/doc/guix.texi:21839
  32214. 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}."
  32215. msgstr ""
  32216. #. type: Plain text
  32217. #: guix-git/doc/guix.texi:21843
  32218. 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."
  32219. msgstr ""
  32220. #. type: Plain text
  32221. #: guix-git/doc/guix.texi:21846
  32222. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  32223. msgstr ""
  32224. #. type: Plain text
  32225. #: guix-git/doc/guix.texi:21856
  32226. msgid "Available @code{prosody-configuration} fields are:"
  32227. msgstr ""
  32228. #. type: deftypevr
  32229. #: guix-git/doc/guix.texi:21857
  32230. #, no-wrap
  32231. msgid "{@code{prosody-configuration} parameter} package prosody"
  32232. msgstr ""
  32233. #. type: deftypevr
  32234. #: guix-git/doc/guix.texi:21859
  32235. msgid "The Prosody package."
  32236. msgstr ""
  32237. #. type: deftypevr
  32238. #: guix-git/doc/guix.texi:21861
  32239. #, no-wrap
  32240. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  32241. msgstr ""
  32242. #. type: deftypevr
  32243. #: guix-git/doc/guix.texi:21865
  32244. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  32245. msgstr ""
  32246. #. type: deftypevr
  32247. #: guix-git/doc/guix.texi:21867
  32248. #, no-wrap
  32249. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  32250. msgstr ""
  32251. #. type: deftypevr
  32252. #: guix-git/doc/guix.texi:21871
  32253. 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{()}."
  32254. msgstr ""
  32255. #. type: deftypevr
  32256. #: guix-git/doc/guix.texi:21873
  32257. #, no-wrap
  32258. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  32259. msgstr ""
  32260. #. type: deftypevr
  32261. #: guix-git/doc/guix.texi:21878
  32262. 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\"}."
  32263. msgstr ""
  32264. #. type: deftypevr
  32265. #: guix-git/doc/guix.texi:21880
  32266. #, no-wrap
  32267. msgid "{@code{prosody-configuration} parameter} string-list admins"
  32268. msgstr ""
  32269. #. type: deftypevr
  32270. #: guix-git/doc/guix.texi:21886
  32271. 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{()}."
  32272. msgstr ""
  32273. #. type: deftypevr
  32274. #: guix-git/doc/guix.texi:21888
  32275. #, no-wrap
  32276. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  32277. msgstr ""
  32278. #. type: deftypevr
  32279. #: guix-git/doc/guix.texi:21892
  32280. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  32281. msgstr ""
  32282. #. type: deftypevr
  32283. #: guix-git/doc/guix.texi:21894
  32284. #, no-wrap
  32285. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  32286. msgstr ""
  32287. #. type: deftypevr
  32288. #: guix-git/doc/guix.texi:21900
  32289. 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\")}."
  32290. msgstr ""
  32291. #. type: deftypevr
  32292. #: guix-git/doc/guix.texi:21902
  32293. #, no-wrap
  32294. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  32295. msgstr ""
  32296. #. type: deftypevr
  32297. #: guix-git/doc/guix.texi:21906
  32298. 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{()}."
  32299. msgstr ""
  32300. #. type: deftypevr
  32301. #: guix-git/doc/guix.texi:21908
  32302. #, no-wrap
  32303. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  32304. msgstr ""
  32305. #. type: deftypevr
  32306. #: guix-git/doc/guix.texi:21913
  32307. 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\"}."
  32308. msgstr ""
  32309. #. type: deftypevr
  32310. #: guix-git/doc/guix.texi:21915
  32311. #, no-wrap
  32312. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  32313. msgstr ""
  32314. #. type: deftypevr
  32315. #: guix-git/doc/guix.texi:21919
  32316. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  32317. msgstr ""
  32318. #. type: deftypevr
  32319. #: guix-git/doc/guix.texi:21921
  32320. #, no-wrap
  32321. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  32322. msgstr ""
  32323. #. type: deftypevr
  32324. #: guix-git/doc/guix.texi:21926
  32325. 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}."
  32326. msgstr ""
  32327. #. type: deftypevr
  32328. #: guix-git/doc/guix.texi:21928
  32329. msgid "Available @code{ssl-configuration} fields are:"
  32330. msgstr ""
  32331. #. type: deftypevr
  32332. #: guix-git/doc/guix.texi:21929
  32333. #, no-wrap
  32334. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  32335. msgstr ""
  32336. #. type: deftypevr
  32337. #: guix-git/doc/guix.texi:21931
  32338. msgid "This determines what handshake to use."
  32339. msgstr ""
  32340. #. type: deftypevr
  32341. #: guix-git/doc/guix.texi:21933
  32342. #, no-wrap
  32343. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  32344. msgstr ""
  32345. #. type: deftypevr
  32346. #: guix-git/doc/guix.texi:21935
  32347. msgid "Path to your private key file."
  32348. msgstr ""
  32349. #. type: deftypevr
  32350. #: guix-git/doc/guix.texi:21937
  32351. #, no-wrap
  32352. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  32353. msgstr ""
  32354. #. type: deftypevr
  32355. #: guix-git/doc/guix.texi:21939
  32356. msgid "Path to your certificate file."
  32357. msgstr ""
  32358. #. type: deftypevr
  32359. #: guix-git/doc/guix.texi:21941
  32360. #, no-wrap
  32361. msgid "{@code{ssl-configuration} parameter} file-object capath"
  32362. msgstr ""
  32363. #. type: deftypevr
  32364. #: guix-git/doc/guix.texi:21945
  32365. 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\"}."
  32366. msgstr ""
  32367. #. type: deftypevr
  32368. #: guix-git/doc/guix.texi:21947
  32369. #, no-wrap
  32370. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  32371. msgstr ""
  32372. #. type: deftypevr
  32373. #: guix-git/doc/guix.texi:21950
  32374. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  32375. msgstr ""
  32376. #. type: deftypevr
  32377. #: guix-git/doc/guix.texi:21952
  32378. #, no-wrap
  32379. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  32380. msgstr ""
  32381. #. type: deftypevr
  32382. #: guix-git/doc/guix.texi:21955
  32383. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  32384. msgstr ""
  32385. #. type: deftypevr
  32386. #: guix-git/doc/guix.texi:21957
  32387. #, no-wrap
  32388. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  32389. msgstr ""
  32390. #. type: deftypevr
  32391. #: guix-git/doc/guix.texi:21961
  32392. 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."
  32393. msgstr ""
  32394. #. type: deftypevr
  32395. #: guix-git/doc/guix.texi:21963
  32396. #, no-wrap
  32397. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  32398. msgstr ""
  32399. #. type: deftypevr
  32400. #: guix-git/doc/guix.texi:21966
  32401. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  32402. msgstr ""
  32403. #. type: deftypevr
  32404. #: guix-git/doc/guix.texi:21968
  32405. #, no-wrap
  32406. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  32407. msgstr ""
  32408. #. type: deftypevr
  32409. #: guix-git/doc/guix.texi:21971
  32410. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  32411. msgstr ""
  32412. #. type: deftypevr
  32413. #: guix-git/doc/guix.texi:21973
  32414. #, no-wrap
  32415. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  32416. msgstr ""
  32417. #. type: deftypevr
  32418. #: guix-git/doc/guix.texi:21977
  32419. 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}"
  32420. msgstr ""
  32421. #. type: deftypevr
  32422. #: guix-git/doc/guix.texi:21979
  32423. #, no-wrap
  32424. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  32425. msgstr ""
  32426. #. type: deftypevr
  32427. #: guix-git/doc/guix.texi:21982
  32428. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  32429. msgstr ""
  32430. #. type: deftypevr
  32431. #: guix-git/doc/guix.texi:21984
  32432. #, no-wrap
  32433. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  32434. msgstr ""
  32435. #. type: deftypevr
  32436. #: guix-git/doc/guix.texi:21986
  32437. msgid "A list of ``extra'' verification options."
  32438. msgstr ""
  32439. #. type: deftypevr
  32440. #: guix-git/doc/guix.texi:21988
  32441. #, no-wrap
  32442. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  32443. msgstr ""
  32444. #. type: deftypevr
  32445. #: guix-git/doc/guix.texi:21990
  32446. msgid "Password for encrypted private keys."
  32447. msgstr ""
  32448. #. type: deftypevr
  32449. #: guix-git/doc/guix.texi:21994
  32450. #, no-wrap
  32451. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  32452. msgstr ""
  32453. #. type: deftypevr
  32454. #: guix-git/doc/guix.texi:21998
  32455. 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}."
  32456. msgstr ""
  32457. #. type: deftypevr
  32458. #: guix-git/doc/guix.texi:22000
  32459. #, no-wrap
  32460. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  32461. msgstr ""
  32462. #. type: deftypevr
  32463. #: guix-git/doc/guix.texi:22004
  32464. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  32465. msgstr ""
  32466. #. type: deftypevr
  32467. #: guix-git/doc/guix.texi:22006
  32468. #, no-wrap
  32469. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  32470. msgstr ""
  32471. #. type: deftypevr
  32472. #: guix-git/doc/guix.texi:22010
  32473. 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}."
  32474. msgstr ""
  32475. #. type: deftypevr
  32476. #: guix-git/doc/guix.texi:22012
  32477. #, no-wrap
  32478. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  32479. msgstr ""
  32480. #. type: deftypevr
  32481. #: guix-git/doc/guix.texi:22018
  32482. 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}."
  32483. msgstr ""
  32484. #. type: deftypevr
  32485. #: guix-git/doc/guix.texi:22020
  32486. #, no-wrap
  32487. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  32488. msgstr ""
  32489. #. type: deftypevr
  32490. #: guix-git/doc/guix.texi:22026
  32491. 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{()}."
  32492. msgstr ""
  32493. #. type: deftypevr
  32494. #: guix-git/doc/guix.texi:22028
  32495. #, no-wrap
  32496. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  32497. msgstr ""
  32498. #. type: deftypevr
  32499. #: guix-git/doc/guix.texi:22033
  32500. 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{()}."
  32501. msgstr ""
  32502. #. type: deftypevr
  32503. #: guix-git/doc/guix.texi:22035
  32504. #, no-wrap
  32505. msgid "{@code{prosody-configuration} parameter} string authentication"
  32506. msgstr ""
  32507. #. type: deftypevr
  32508. #: guix-git/doc/guix.texi:22043
  32509. 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\"}."
  32510. msgstr ""
  32511. #. type: deftypevr
  32512. #: guix-git/doc/guix.texi:22045
  32513. #, no-wrap
  32514. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  32515. msgstr ""
  32516. #. type: deftypevr
  32517. #: guix-git/doc/guix.texi:22049
  32518. 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\"}."
  32519. msgstr ""
  32520. #. type: deftypevr
  32521. #: guix-git/doc/guix.texi:22051
  32522. #, no-wrap
  32523. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  32524. msgstr ""
  32525. #. type: deftypevr
  32526. #: guix-git/doc/guix.texi:22054
  32527. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  32528. msgstr ""
  32529. #. type: deftypevr
  32530. #: guix-git/doc/guix.texi:22056
  32531. #, no-wrap
  32532. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  32533. msgstr ""
  32534. #. type: deftypevr
  32535. #: guix-git/doc/guix.texi:22058
  32536. msgid "Maximum allowed size of the HTTP body (in bytes)."
  32537. msgstr ""
  32538. #. type: deftypevr
  32539. #: guix-git/doc/guix.texi:22060
  32540. #, no-wrap
  32541. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  32542. msgstr ""
  32543. #. type: deftypevr
  32544. #: guix-git/doc/guix.texi:22065
  32545. 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}."
  32546. msgstr ""
  32547. #. type: deftypevr
  32548. #: guix-git/doc/guix.texi:22067
  32549. #, no-wrap
  32550. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  32551. msgstr ""
  32552. #. type: deftypevr
  32553. #: guix-git/doc/guix.texi:22072
  32554. 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."
  32555. msgstr ""
  32556. #. type: deftypevr
  32557. #: guix-git/doc/guix.texi:22078
  32558. 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."
  32559. msgstr ""
  32560. #. type: deftypevr
  32561. #: guix-git/doc/guix.texi:22080
  32562. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  32563. msgstr ""
  32564. #. type: deftypevr
  32565. #: guix-git/doc/guix.texi:22082
  32566. msgid "Available @code{virtualhost-configuration} fields are:"
  32567. msgstr ""
  32568. #. type: deftypevr
  32569. #: guix-git/doc/guix.texi:22084 guix-git/doc/guix.texi:22106
  32570. #: guix-git/doc/guix.texi:22159
  32571. 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:"
  32572. msgstr ""
  32573. #. type: deftypevr
  32574. #: guix-git/doc/guix.texi:22084
  32575. #, no-wrap
  32576. msgid "{@code{virtualhost-configuration} parameter} string domain"
  32577. msgstr ""
  32578. #. type: deftypevr
  32579. #: guix-git/doc/guix.texi:22086
  32580. msgid "Domain you wish Prosody to serve."
  32581. msgstr ""
  32582. #. type: deftypevr
  32583. #: guix-git/doc/guix.texi:22090
  32584. #, no-wrap
  32585. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  32586. msgstr ""
  32587. #. type: deftypevr
  32588. #: guix-git/doc/guix.texi:22095
  32589. 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."
  32590. msgstr ""
  32591. #. type: deftypevr
  32592. #: guix-git/doc/guix.texi:22099
  32593. 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."
  32594. msgstr ""
  32595. #. type: deftypevr
  32596. #: guix-git/doc/guix.texi:22102
  32597. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  32598. msgstr ""
  32599. #. type: deftypevr
  32600. #: guix-git/doc/guix.texi:22104
  32601. msgid "Available @code{int-component-configuration} fields are:"
  32602. msgstr ""
  32603. #. type: deftypevr
  32604. #: guix-git/doc/guix.texi:22106
  32605. #, no-wrap
  32606. msgid "{@code{int-component-configuration} parameter} string hostname"
  32607. msgstr ""
  32608. #. type: deftypevr
  32609. #: guix-git/doc/guix.texi:22108 guix-git/doc/guix.texi:22165
  32610. msgid "Hostname of the component."
  32611. msgstr ""
  32612. #. type: deftypevr
  32613. #: guix-git/doc/guix.texi:22110
  32614. #, no-wrap
  32615. msgid "{@code{int-component-configuration} parameter} string plugin"
  32616. msgstr ""
  32617. #. type: deftypevr
  32618. #: guix-git/doc/guix.texi:22112
  32619. msgid "Plugin you wish to use for the component."
  32620. msgstr ""
  32621. #. type: deftypevr
  32622. #: guix-git/doc/guix.texi:22114
  32623. #, no-wrap
  32624. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  32625. msgstr ""
  32626. #. type: deftypevr
  32627. #: guix-git/doc/guix.texi:22117
  32628. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  32629. msgstr ""
  32630. #. type: deftypevr
  32631. #: guix-git/doc/guix.texi:22121
  32632. 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."
  32633. msgstr ""
  32634. #. type: deftypevr
  32635. #: guix-git/doc/guix.texi:22123
  32636. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  32637. msgstr ""
  32638. #. type: deftypevr
  32639. #: guix-git/doc/guix.texi:22125
  32640. msgid "Available @code{mod-muc-configuration} fields are:"
  32641. msgstr ""
  32642. #. type: deftypevr
  32643. #: guix-git/doc/guix.texi:22126
  32644. #, no-wrap
  32645. msgid "{@code{mod-muc-configuration} parameter} string name"
  32646. msgstr ""
  32647. #. type: deftypevr
  32648. #: guix-git/doc/guix.texi:22129
  32649. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  32650. msgstr ""
  32651. #. type: deftypevr
  32652. #: guix-git/doc/guix.texi:22131
  32653. #, no-wrap
  32654. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  32655. msgstr ""
  32656. #. type: deftypevr
  32657. #: guix-git/doc/guix.texi:22138
  32658. 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}."
  32659. msgstr ""
  32660. #. type: deftypevr
  32661. #: guix-git/doc/guix.texi:22140
  32662. #, no-wrap
  32663. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  32664. msgstr ""
  32665. #. type: deftypevr
  32666. #: guix-git/doc/guix.texi:22144
  32667. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  32668. msgstr ""
  32669. #. type: deftypevr
  32670. #: guix-git/doc/guix.texi:22150
  32671. #, no-wrap
  32672. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  32673. msgstr ""
  32674. #. type: deftypevr
  32675. #: guix-git/doc/guix.texi:22155
  32676. 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{()}."
  32677. msgstr ""
  32678. #. type: deftypevr
  32679. #: guix-git/doc/guix.texi:22157
  32680. msgid "Available @code{ext-component-configuration} fields are:"
  32681. msgstr ""
  32682. #. type: deftypevr
  32683. #: guix-git/doc/guix.texi:22159
  32684. #, no-wrap
  32685. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  32686. msgstr ""
  32687. #. type: deftypevr
  32688. #: guix-git/doc/guix.texi:22161
  32689. msgid "Password which the component will use to log in."
  32690. msgstr ""
  32691. #. type: deftypevr
  32692. #: guix-git/doc/guix.texi:22163
  32693. #, no-wrap
  32694. msgid "{@code{ext-component-configuration} parameter} string hostname"
  32695. msgstr ""
  32696. #. type: deftypevr
  32697. #: guix-git/doc/guix.texi:22169
  32698. #, no-wrap
  32699. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  32700. msgstr ""
  32701. #. type: deftypevr
  32702. #: guix-git/doc/guix.texi:22172
  32703. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  32704. msgstr ""
  32705. #. type: deftypevr
  32706. #: guix-git/doc/guix.texi:22174
  32707. #, no-wrap
  32708. msgid "{@code{prosody-configuration} parameter} string component-interface"
  32709. msgstr ""
  32710. #. type: deftypevr
  32711. #: guix-git/doc/guix.texi:22177
  32712. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  32713. msgstr ""
  32714. #. type: deftypevr
  32715. #: guix-git/doc/guix.texi:22179
  32716. #, no-wrap
  32717. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  32718. msgstr ""
  32719. #. type: deftypevr
  32720. #: guix-git/doc/guix.texi:22181
  32721. msgid "Raw content that will be added to the configuration file."
  32722. msgstr ""
  32723. #. type: Plain text
  32724. #: guix-git/doc/guix.texi:22189
  32725. 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:"
  32726. msgstr ""
  32727. #. type: deftypevr
  32728. #: guix-git/doc/guix.texi:22190
  32729. #, no-wrap
  32730. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  32731. msgstr ""
  32732. #. type: deftypevr
  32733. #: guix-git/doc/guix.texi:22192
  32734. msgid "The prosody package."
  32735. msgstr ""
  32736. #. type: deftypevr
  32737. #: guix-git/doc/guix.texi:22194
  32738. #, no-wrap
  32739. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  32740. msgstr ""
  32741. #. type: deftypevr
  32742. #: guix-git/doc/guix.texi:22196
  32743. msgid "The contents of the @code{prosody.cfg.lua} to use."
  32744. msgstr ""
  32745. #. type: Plain text
  32746. #: guix-git/doc/guix.texi:22200
  32747. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  32748. msgstr ""
  32749. #. type: lisp
  32750. #: guix-git/doc/guix.texi:22205
  32751. #, no-wrap
  32752. msgid ""
  32753. "(service prosody-service-type\n"
  32754. " (opaque-prosody-configuration\n"
  32755. " (prosody.cfg.lua \"\")))\n"
  32756. msgstr ""
  32757. #. type: subsubheading
  32758. #: guix-git/doc/guix.texi:22209
  32759. #, no-wrap
  32760. msgid "BitlBee Service"
  32761. msgstr ""
  32762. #. type: cindex
  32763. #: guix-git/doc/guix.texi:22211 guix-git/doc/guix.texi:22255
  32764. #, no-wrap
  32765. msgid "IRC (Internet Relay Chat)"
  32766. msgstr ""
  32767. #. type: cindex
  32768. #: guix-git/doc/guix.texi:22212
  32769. #, no-wrap
  32770. msgid "IRC gateway"
  32771. msgstr ""
  32772. #. type: Plain text
  32773. #: guix-git/doc/guix.texi:22215
  32774. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  32775. msgstr ""
  32776. #. type: defvr
  32777. #: guix-git/doc/guix.texi:22216
  32778. #, no-wrap
  32779. msgid "{Scheme Variable} bitlbee-service-type"
  32780. msgstr ""
  32781. #. type: defvr
  32782. #: guix-git/doc/guix.texi:22220
  32783. 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)."
  32784. msgstr ""
  32785. #. type: defvr
  32786. #: guix-git/doc/guix.texi:22223
  32787. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  32788. msgstr ""
  32789. #. type: lisp
  32790. #: guix-git/doc/guix.texi:22226
  32791. #, no-wrap
  32792. msgid "(service bitlbee-service-type)\n"
  32793. msgstr ""
  32794. #. type: deftp
  32795. #: guix-git/doc/guix.texi:22229
  32796. #, no-wrap
  32797. msgid "{Data Type} bitlbee-configuration"
  32798. msgstr ""
  32799. #. type: deftp
  32800. #: guix-git/doc/guix.texi:22231
  32801. msgid "This is the configuration for BitlBee, with the following fields:"
  32802. msgstr ""
  32803. #. type: item
  32804. #: guix-git/doc/guix.texi:22233
  32805. #, no-wrap
  32806. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  32807. msgstr ""
  32808. #. type: itemx
  32809. #: guix-git/doc/guix.texi:22234
  32810. #, no-wrap
  32811. msgid "@code{port} (default: @code{6667})"
  32812. msgstr ""
  32813. #. type: table
  32814. #: guix-git/doc/guix.texi:22237
  32815. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  32816. msgstr ""
  32817. #. type: table
  32818. #: guix-git/doc/guix.texi:22241
  32819. 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."
  32820. msgstr ""
  32821. #. type: item
  32822. #: guix-git/doc/guix.texi:22242
  32823. #, no-wrap
  32824. msgid "@code{bitlbee} (default: @code{bitlbee})"
  32825. msgstr ""
  32826. #. type: table
  32827. #: guix-git/doc/guix.texi:22244
  32828. msgid "The BitlBee package to use."
  32829. msgstr ""
  32830. #. type: item
  32831. #: guix-git/doc/guix.texi:22245
  32832. #, no-wrap
  32833. msgid "@code{plugins} (default: @code{'()})"
  32834. msgstr ""
  32835. #. type: table
  32836. #: guix-git/doc/guix.texi:22247
  32837. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  32838. msgstr ""
  32839. #. type: table
  32840. #: guix-git/doc/guix.texi:22250
  32841. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  32842. msgstr ""
  32843. #. type: subsubheading
  32844. #: guix-git/doc/guix.texi:22253
  32845. #, no-wrap
  32846. msgid "Quassel Service"
  32847. msgstr ""
  32848. #. type: Plain text
  32849. #: guix-git/doc/guix.texi:22259
  32850. 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."
  32851. msgstr ""
  32852. #. type: defvr
  32853. #: guix-git/doc/guix.texi:22260
  32854. #, no-wrap
  32855. msgid "{Scheme Variable} quassel-service-type"
  32856. msgstr ""
  32857. #. type: defvr
  32858. #: guix-git/doc/guix.texi:22264
  32859. 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)."
  32860. msgstr ""
  32861. #. type: deftp
  32862. #: guix-git/doc/guix.texi:22266
  32863. #, no-wrap
  32864. msgid "{Data Type} quassel-configuration"
  32865. msgstr ""
  32866. #. type: deftp
  32867. #: guix-git/doc/guix.texi:22268
  32868. msgid "This is the configuration for Quassel, with the following fields:"
  32869. msgstr ""
  32870. #. type: item
  32871. #: guix-git/doc/guix.texi:22270
  32872. #, no-wrap
  32873. msgid "@code{quassel} (default: @code{quassel})"
  32874. msgstr ""
  32875. #. type: table
  32876. #: guix-git/doc/guix.texi:22272
  32877. msgid "The Quassel package to use."
  32878. msgstr ""
  32879. #. type: item
  32880. #: guix-git/doc/guix.texi:22273
  32881. #, no-wrap
  32882. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  32883. msgstr ""
  32884. #. type: item
  32885. #: guix-git/doc/guix.texi:22274
  32886. #, no-wrap
  32887. msgid "@code{port} (default: @code{4242})"
  32888. msgstr ""
  32889. #. type: table
  32890. #: guix-git/doc/guix.texi:22278
  32891. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  32892. msgstr ""
  32893. #. type: item
  32894. #: guix-git/doc/guix.texi:22279
  32895. #, no-wrap
  32896. msgid "@code{loglevel} (default: @code{\"Info\"})"
  32897. msgstr ""
  32898. #. type: table
  32899. #: guix-git/doc/guix.texi:22282
  32900. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  32901. msgstr ""
  32902. #. type: cindex
  32903. #: guix-git/doc/guix.texi:22288
  32904. #, no-wrap
  32905. msgid "Murmur (VoIP server)"
  32906. msgstr ""
  32907. #. type: cindex
  32908. #: guix-git/doc/guix.texi:22289
  32909. #, no-wrap
  32910. msgid "VoIP server"
  32911. msgstr ""
  32912. #. type: Plain text
  32913. #: guix-git/doc/guix.texi:22293
  32914. 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."
  32915. msgstr ""
  32916. #. type: deftp
  32917. #: guix-git/doc/guix.texi:22294
  32918. #, no-wrap
  32919. msgid "{Data Type} murmur-configuration"
  32920. msgstr ""
  32921. #. type: deftp
  32922. #: guix-git/doc/guix.texi:22297
  32923. msgid "The service type for the Murmur server. An example configuration can look like this:"
  32924. msgstr ""
  32925. #. type: lisp
  32926. #: guix-git/doc/guix.texi:22306
  32927. #, no-wrap
  32928. msgid ""
  32929. "(service murmur-service-type\n"
  32930. " (murmur-configuration\n"
  32931. " (welcome-text\n"
  32932. " \"Welcome to this Mumble server running on Guix!\")\n"
  32933. " (cert-required? #t) ;disallow text password logins\n"
  32934. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  32935. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  32936. msgstr ""
  32937. #. type: deftp
  32938. #: guix-git/doc/guix.texi:22310
  32939. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  32940. msgstr ""
  32941. #. type: deftp
  32942. #: guix-git/doc/guix.texi:22319
  32943. 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."
  32944. msgstr ""
  32945. #. type: deftp
  32946. #: guix-git/doc/guix.texi:22321
  32947. msgid "Available @code{murmur-configuration} fields are:"
  32948. msgstr ""
  32949. #. type: item
  32950. #: guix-git/doc/guix.texi:22323
  32951. #, no-wrap
  32952. msgid "@code{package} (default: @code{mumble})"
  32953. msgstr ""
  32954. #. type: table
  32955. #: guix-git/doc/guix.texi:22325
  32956. msgid "Package that contains @code{bin/murmurd}."
  32957. msgstr ""
  32958. #. type: item
  32959. #: guix-git/doc/guix.texi:22326
  32960. #, no-wrap
  32961. msgid "@code{user} (default: @code{\"murmur\"})"
  32962. msgstr ""
  32963. #. type: table
  32964. #: guix-git/doc/guix.texi:22328
  32965. msgid "User who will run the Murmur server."
  32966. msgstr ""
  32967. #. type: item
  32968. #: guix-git/doc/guix.texi:22329
  32969. #, no-wrap
  32970. msgid "@code{group} (default: @code{\"murmur\"})"
  32971. msgstr ""
  32972. #. type: table
  32973. #: guix-git/doc/guix.texi:22331
  32974. msgid "Group of the user who will run the murmur server."
  32975. msgstr ""
  32976. #. type: item
  32977. #: guix-git/doc/guix.texi:22332
  32978. #, no-wrap
  32979. msgid "@code{port} (default: @code{64738})"
  32980. msgstr ""
  32981. #. type: table
  32982. #: guix-git/doc/guix.texi:22334
  32983. msgid "Port on which the server will listen."
  32984. msgstr ""
  32985. #. type: item
  32986. #: guix-git/doc/guix.texi:22335
  32987. #, no-wrap
  32988. msgid "@code{welcome-text} (default: @code{\"\"})"
  32989. msgstr ""
  32990. #. type: table
  32991. #: guix-git/doc/guix.texi:22337
  32992. msgid "Welcome text sent to clients when they connect."
  32993. msgstr ""
  32994. #. type: item
  32995. #: guix-git/doc/guix.texi:22338
  32996. #, no-wrap
  32997. msgid "@code{server-password} (default: @code{\"\"})"
  32998. msgstr ""
  32999. #. type: table
  33000. #: guix-git/doc/guix.texi:22340
  33001. msgid "Password the clients have to enter in order to connect."
  33002. msgstr ""
  33003. #. type: item
  33004. #: guix-git/doc/guix.texi:22341
  33005. #, no-wrap
  33006. msgid "@code{max-users} (default: @code{100})"
  33007. msgstr ""
  33008. #. type: table
  33009. #: guix-git/doc/guix.texi:22343
  33010. msgid "Maximum of users that can be connected to the server at once."
  33011. msgstr ""
  33012. #. type: item
  33013. #: guix-git/doc/guix.texi:22344
  33014. #, no-wrap
  33015. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  33016. msgstr ""
  33017. #. type: table
  33018. #: guix-git/doc/guix.texi:22346
  33019. msgid "Maximum voice traffic a user can send per second."
  33020. msgstr ""
  33021. #. type: item
  33022. #: guix-git/doc/guix.texi:22347
  33023. #, no-wrap
  33024. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  33025. msgstr ""
  33026. #. type: table
  33027. #: guix-git/doc/guix.texi:22350
  33028. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  33029. msgstr ""
  33030. #. type: item
  33031. #: guix-git/doc/guix.texi:22351
  33032. #, no-wrap
  33033. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  33034. msgstr ""
  33035. #. type: table
  33036. #: guix-git/doc/guix.texi:22354
  33037. msgid "File name of the log file. The service's user will become the owner of the directory."
  33038. msgstr ""
  33039. #. type: item
  33040. #: guix-git/doc/guix.texi:22355
  33041. #, no-wrap
  33042. msgid "@code{autoban-attempts} (default: @code{10})"
  33043. msgstr ""
  33044. #. type: table
  33045. #: guix-git/doc/guix.texi:22358
  33046. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  33047. msgstr ""
  33048. #. type: item
  33049. #: guix-git/doc/guix.texi:22359
  33050. #, no-wrap
  33051. msgid "@code{autoban-timeframe} (default: @code{120})"
  33052. msgstr ""
  33053. #. type: table
  33054. #: guix-git/doc/guix.texi:22361
  33055. msgid "Timeframe for autoban in seconds."
  33056. msgstr ""
  33057. #. type: item
  33058. #: guix-git/doc/guix.texi:22362
  33059. #, no-wrap
  33060. msgid "@code{autoban-time} (default: @code{300})"
  33061. msgstr ""
  33062. #. type: table
  33063. #: guix-git/doc/guix.texi:22365
  33064. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  33065. msgstr ""
  33066. #. type: item
  33067. #: guix-git/doc/guix.texi:22366
  33068. #, no-wrap
  33069. msgid "@code{opus-threshold} (default: @code{100})"
  33070. msgstr ""
  33071. #. type: table
  33072. #: guix-git/doc/guix.texi:22369
  33073. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  33074. msgstr ""
  33075. #. type: item
  33076. #: guix-git/doc/guix.texi:22370
  33077. #, no-wrap
  33078. msgid "@code{channel-nesting-limit} (default: @code{10})"
  33079. msgstr ""
  33080. #. type: table
  33081. #: guix-git/doc/guix.texi:22372
  33082. msgid "How deep channels can be nested at maximum."
  33083. msgstr ""
  33084. #. type: item
  33085. #: guix-git/doc/guix.texi:22373
  33086. #, no-wrap
  33087. msgid "@code{channelname-regex} (default: @code{#f})"
  33088. msgstr ""
  33089. #. type: table
  33090. #: guix-git/doc/guix.texi:22375
  33091. msgid "A string in form of a Qt regular expression that channel names must conform to."
  33092. msgstr ""
  33093. #. type: item
  33094. #: guix-git/doc/guix.texi:22376
  33095. #, no-wrap
  33096. msgid "@code{username-regex} (default: @code{#f})"
  33097. msgstr ""
  33098. #. type: table
  33099. #: guix-git/doc/guix.texi:22378
  33100. msgid "A string in form of a Qt regular expression that user names must conform to."
  33101. msgstr ""
  33102. #. type: item
  33103. #: guix-git/doc/guix.texi:22379
  33104. #, no-wrap
  33105. msgid "@code{text-message-length} (default: @code{5000})"
  33106. msgstr ""
  33107. #. type: table
  33108. #: guix-git/doc/guix.texi:22381
  33109. msgid "Maximum size in bytes that a user can send in one text chat message."
  33110. msgstr ""
  33111. #. type: item
  33112. #: guix-git/doc/guix.texi:22382
  33113. #, no-wrap
  33114. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  33115. msgstr ""
  33116. #. type: table
  33117. #: guix-git/doc/guix.texi:22384
  33118. msgid "Maximum size in bytes that a user can send in one image message."
  33119. msgstr ""
  33120. #. type: item
  33121. #: guix-git/doc/guix.texi:22385
  33122. #, no-wrap
  33123. msgid "@code{cert-required?} (default: @code{#f})"
  33124. msgstr ""
  33125. #. type: table
  33126. #: guix-git/doc/guix.texi:22388
  33127. 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."
  33128. msgstr ""
  33129. #. type: item
  33130. #: guix-git/doc/guix.texi:22389
  33131. #, no-wrap
  33132. msgid "@code{remember-channel?} (default: @code{#f})"
  33133. msgstr ""
  33134. #. type: table
  33135. #: guix-git/doc/guix.texi:22392
  33136. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  33137. msgstr ""
  33138. #. type: item
  33139. #: guix-git/doc/guix.texi:22393
  33140. #, no-wrap
  33141. msgid "@code{allow-html?} (default: @code{#f})"
  33142. msgstr ""
  33143. #. type: table
  33144. #: guix-git/doc/guix.texi:22395
  33145. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  33146. msgstr ""
  33147. #. type: item
  33148. #: guix-git/doc/guix.texi:22396
  33149. #, no-wrap
  33150. msgid "@code{allow-ping?} (default: @code{#f})"
  33151. msgstr ""
  33152. #. type: table
  33153. #: guix-git/doc/guix.texi:22400
  33154. 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."
  33155. msgstr ""
  33156. #. type: table
  33157. #: guix-git/doc/guix.texi:22402
  33158. msgid "Disabling this setting will prevent public listing of the server."
  33159. msgstr ""
  33160. #. type: item
  33161. #: guix-git/doc/guix.texi:22403
  33162. #, no-wrap
  33163. msgid "@code{bonjour?} (default: @code{#f})"
  33164. msgstr ""
  33165. #. type: table
  33166. #: guix-git/doc/guix.texi:22405
  33167. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  33168. msgstr ""
  33169. #. type: item
  33170. #: guix-git/doc/guix.texi:22406
  33171. #, no-wrap
  33172. msgid "@code{send-version?} (default: @code{#f})"
  33173. msgstr ""
  33174. #. type: table
  33175. #: guix-git/doc/guix.texi:22408
  33176. msgid "Should the murmur server version be exposed in ping requests."
  33177. msgstr ""
  33178. #. type: item
  33179. #: guix-git/doc/guix.texi:22409
  33180. #, no-wrap
  33181. msgid "@code{log-days} (default: @code{31})"
  33182. msgstr ""
  33183. #. type: table
  33184. #: guix-git/doc/guix.texi:22413
  33185. 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."
  33186. msgstr ""
  33187. #. type: item
  33188. #: guix-git/doc/guix.texi:22414
  33189. #, no-wrap
  33190. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  33191. msgstr ""
  33192. #. type: table
  33193. #: guix-git/doc/guix.texi:22416
  33194. msgid "Should logged ips be obfuscated to protect the privacy of users."
  33195. msgstr ""
  33196. #. type: item
  33197. #: guix-git/doc/guix.texi:22417
  33198. #, no-wrap
  33199. msgid "@code{ssl-cert} (default: @code{#f})"
  33200. msgstr ""
  33201. #. type: table
  33202. #: guix-git/doc/guix.texi:22419
  33203. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  33204. msgstr ""
  33205. #. type: lisp
  33206. #: guix-git/doc/guix.texi:22422
  33207. #, no-wrap
  33208. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  33209. msgstr ""
  33210. #. type: item
  33211. #: guix-git/doc/guix.texi:22423
  33212. #, no-wrap
  33213. msgid "@code{ssl-key} (default: @code{#f})"
  33214. msgstr ""
  33215. #. type: table
  33216. #: guix-git/doc/guix.texi:22425
  33217. msgid "Filepath to the ssl private key used for encrypted connections."
  33218. msgstr ""
  33219. #. type: lisp
  33220. #: guix-git/doc/guix.texi:22427
  33221. #, no-wrap
  33222. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  33223. msgstr ""
  33224. #. type: item
  33225. #: guix-git/doc/guix.texi:22429
  33226. #, no-wrap
  33227. msgid "@code{ssl-dh-params} (default: @code{#f})"
  33228. msgstr ""
  33229. #. type: table
  33230. #: guix-git/doc/guix.texi:22434
  33231. 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."
  33232. msgstr ""
  33233. #. type: item
  33234. #: guix-git/doc/guix.texi:22435
  33235. #, no-wrap
  33236. msgid "@code{ssl-ciphers} (default: @code{#f})"
  33237. msgstr ""
  33238. #. type: table
  33239. #: guix-git/doc/guix.texi:22438
  33240. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  33241. msgstr ""
  33242. #. type: table
  33243. #: guix-git/doc/guix.texi:22442
  33244. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  33245. msgstr ""
  33246. #. type: table
  33247. #: guix-git/doc/guix.texi:22447
  33248. 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."
  33249. msgstr ""
  33250. #. type: table
  33251. #: guix-git/doc/guix.texi:22451
  33252. 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."
  33253. msgstr ""
  33254. #. type: item
  33255. #: guix-git/doc/guix.texi:22452
  33256. #, no-wrap
  33257. msgid "@code{public-registration} (default: @code{#f})"
  33258. msgstr ""
  33259. #. type: table
  33260. #: guix-git/doc/guix.texi:22454
  33261. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  33262. msgstr ""
  33263. #. type: table
  33264. #: guix-git/doc/guix.texi:22459
  33265. 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}."
  33266. msgstr ""
  33267. #. type: table
  33268. #: guix-git/doc/guix.texi:22461
  33269. msgid "It might take a few hours until it shows up in the public list."
  33270. msgstr ""
  33271. #. type: item
  33272. #: guix-git/doc/guix.texi:22462 guix-git/doc/guix.texi:24698
  33273. #, no-wrap
  33274. msgid "@code{file} (default: @code{#f})"
  33275. msgstr ""
  33276. #. type: table
  33277. #: guix-git/doc/guix.texi:22464
  33278. msgid "Optional alternative override for this configuration."
  33279. msgstr ""
  33280. #. type: deftp
  33281. #: guix-git/doc/guix.texi:22467
  33282. #, no-wrap
  33283. msgid "{Data Type} murmur-public-registration-configuration"
  33284. msgstr ""
  33285. #. type: deftp
  33286. #: guix-git/doc/guix.texi:22469
  33287. msgid "Configuration for public registration of a murmur service."
  33288. msgstr ""
  33289. #. type: table
  33290. #: guix-git/doc/guix.texi:22473
  33291. msgid "This is a display name for your server. Not to be confused with the hostname."
  33292. msgstr ""
  33293. #. type: itemx
  33294. #: guix-git/doc/guix.texi:22474 guix-git/doc/guix.texi:31149
  33295. #: guix-git/doc/guix.texi:32190
  33296. #, no-wrap
  33297. msgid "password"
  33298. msgstr ""
  33299. #. type: table
  33300. #: guix-git/doc/guix.texi:22477
  33301. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  33302. msgstr ""
  33303. #. type: table
  33304. #: guix-git/doc/guix.texi:22481
  33305. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  33306. msgstr ""
  33307. #. type: item
  33308. #: guix-git/doc/guix.texi:22482 guix-git/doc/guix.texi:25577
  33309. #, no-wrap
  33310. msgid "@code{hostname} (default: @code{#f})"
  33311. msgstr ""
  33312. #. type: table
  33313. #: guix-git/doc/guix.texi:22485
  33314. 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."
  33315. msgstr ""
  33316. #. type: Plain text
  33317. #: guix-git/doc/guix.texi:22495
  33318. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  33319. msgstr ""
  33320. #. type: subsubheading
  33321. #: guix-git/doc/guix.texi:22496
  33322. #, no-wrap
  33323. msgid "Transmission Daemon Service"
  33324. msgstr ""
  33325. #. type: Plain text
  33326. #: guix-git/doc/guix.texi:22504
  33327. 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."
  33328. msgstr ""
  33329. #. type: deffn
  33330. #: guix-git/doc/guix.texi:22505
  33331. #, no-wrap
  33332. msgid "{Scheme Variable} transmission-daemon-service-type"
  33333. msgstr ""
  33334. #. type: deffn
  33335. #: guix-git/doc/guix.texi:22509
  33336. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  33337. msgstr ""
  33338. #. type: lisp
  33339. #: guix-git/doc/guix.texi:22520
  33340. #, no-wrap
  33341. msgid ""
  33342. "(service transmission-daemon-service-type\n"
  33343. " (transmission-daemon-configuration\n"
  33344. " ;; Restrict access to the RPC (\"control\") interface\n"
  33345. " (rpc-authentication-required? #t)\n"
  33346. " (rpc-username \"transmission\")\n"
  33347. " (rpc-password\n"
  33348. " (transmission-password-hash\n"
  33349. " \"transmission\" ; desired password\n"
  33350. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  33351. "\n"
  33352. msgstr ""
  33353. #. type: lisp
  33354. #: guix-git/doc/guix.texi:22525
  33355. #, no-wrap
  33356. msgid ""
  33357. " ;; Accept requests from this and other hosts on the\n"
  33358. " ;; local network\n"
  33359. " (rpc-whitelist-enabled? #t)\n"
  33360. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  33361. "\n"
  33362. msgstr ""
  33363. #. type: lisp
  33364. #: guix-git/doc/guix.texi:22529
  33365. #, no-wrap
  33366. msgid ""
  33367. " ;; Limit bandwidth use during work hours\n"
  33368. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  33369. " (alt-speed-up 512) ; 512 kB/s\n"
  33370. "\n"
  33371. msgstr ""
  33372. #. type: lisp
  33373. #: guix-git/doc/guix.texi:22536
  33374. #, no-wrap
  33375. msgid ""
  33376. " (alt-speed-time-enabled? #t)\n"
  33377. " (alt-speed-time-day 'weekdays)\n"
  33378. " (alt-speed-time-begin\n"
  33379. " (+ (* 60 8) 30)) ; 8:30 am\n"
  33380. " (alt-speed-time-end\n"
  33381. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  33382. msgstr ""
  33383. #. type: Plain text
  33384. #: guix-git/doc/guix.texi:22549
  33385. 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."
  33386. msgstr ""
  33387. #. type: Plain text
  33388. #: guix-git/doc/guix.texi:22557
  33389. 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."
  33390. msgstr ""
  33391. #. type: deffn
  33392. #: guix-git/doc/guix.texi:22558
  33393. #, no-wrap
  33394. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  33395. msgstr ""
  33396. #. type: deffn
  33397. #: guix-git/doc/guix.texi:22562
  33398. 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."
  33399. msgstr ""
  33400. #. type: deffn
  33401. #: guix-git/doc/guix.texi:22566
  33402. 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."
  33403. msgstr ""
  33404. #. type: deffn
  33405. #: guix-git/doc/guix.texi:22568
  33406. #, no-wrap
  33407. msgid "{Scheme Procedure} transmission-random-salt"
  33408. msgstr ""
  33409. #. type: deffn
  33410. #: guix-git/doc/guix.texi:22572
  33411. 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."
  33412. msgstr ""
  33413. #. type: Plain text
  33414. #: guix-git/doc/guix.texi:22578
  33415. 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:"
  33416. msgstr ""
  33417. #. type: example
  33418. #: guix-git/doc/guix.texi:22584
  33419. #, no-wrap
  33420. msgid ""
  33421. "$ guix repl\n"
  33422. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  33423. "scheme@@(guix-user)> (transmission-random-salt)\n"
  33424. "$1 = \"uKd1uMs9\"\n"
  33425. msgstr ""
  33426. #. type: Plain text
  33427. #: guix-git/doc/guix.texi:22587
  33428. msgid "Alternatively, a complete password hash can generated in a single step:"
  33429. msgstr ""
  33430. #. type: example
  33431. #: guix-git/doc/guix.texi:22592
  33432. #, no-wrap
  33433. msgid ""
  33434. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  33435. "(transmission-random-salt))\n"
  33436. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  33437. msgstr ""
  33438. #. type: Plain text
  33439. #: guix-git/doc/guix.texi:22597
  33440. 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."
  33441. msgstr ""
  33442. #. type: Plain text
  33443. #: guix-git/doc/guix.texi:22606
  33444. 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."
  33445. msgstr ""
  33446. #. type: Plain text
  33447. #: guix-git/doc/guix.texi:22613
  33448. 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.)"
  33449. msgstr ""
  33450. #. type: Plain text
  33451. #: guix-git/doc/guix.texi:22618
  33452. 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:"
  33453. msgstr ""
  33454. #. type: example
  33455. #: guix-git/doc/guix.texi:22621
  33456. #, no-wrap
  33457. msgid "# herd reload transmission-daemon\n"
  33458. msgstr ""
  33459. #. type: Plain text
  33460. #: guix-git/doc/guix.texi:22625
  33461. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  33462. msgstr ""
  33463. #. type: deftp
  33464. #: guix-git/doc/guix.texi:22626
  33465. #, no-wrap
  33466. msgid "{Data Type} transmission-daemon-configuration"
  33467. msgstr ""
  33468. #. type: deftp
  33469. #: guix-git/doc/guix.texi:22630
  33470. 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."
  33471. msgstr ""
  33472. #. type: Plain text
  33473. #: guix-git/doc/guix.texi:22644
  33474. msgid "Available @code{transmission-daemon-configuration} fields are:"
  33475. msgstr ""
  33476. #. type: deftypevr
  33477. #: guix-git/doc/guix.texi:22645
  33478. #, no-wrap
  33479. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  33480. msgstr ""
  33481. #. type: deftypevr
  33482. #: guix-git/doc/guix.texi:22647
  33483. msgid "The Transmission package to use."
  33484. msgstr ""
  33485. #. type: deftypevr
  33486. #: guix-git/doc/guix.texi:22650
  33487. #, no-wrap
  33488. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  33489. msgstr ""
  33490. #. type: deftypevr
  33491. #: guix-git/doc/guix.texi:22656
  33492. 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."
  33493. msgstr ""
  33494. #. type: deftypevr
  33495. #: guix-git/doc/guix.texi:22658 guix-git/doc/guix.texi:23030
  33496. #: guix-git/doc/guix.texi:30262 guix-git/doc/guix.texi:30497
  33497. #: guix-git/doc/guix.texi:30505 guix-git/doc/guix.texi:30513
  33498. msgid "Defaults to @samp{10}."
  33499. msgstr ""
  33500. #. type: deftypevr
  33501. #: guix-git/doc/guix.texi:22661
  33502. #, no-wrap
  33503. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  33504. msgstr ""
  33505. #. type: deftypevr
  33506. #: guix-git/doc/guix.texi:22663
  33507. msgid "The directory to which torrent files are downloaded."
  33508. msgstr ""
  33509. #. type: deftypevr
  33510. #: guix-git/doc/guix.texi:22665
  33511. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  33512. msgstr ""
  33513. #. type: deftypevr
  33514. #: guix-git/doc/guix.texi:22668
  33515. #, no-wrap
  33516. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  33517. msgstr ""
  33518. #. type: deftypevr
  33519. #: guix-git/doc/guix.texi:22673
  33520. 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}."
  33521. msgstr ""
  33522. #. type: deftypevr
  33523. #: guix-git/doc/guix.texi:22678
  33524. #, no-wrap
  33525. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  33526. msgstr ""
  33527. #. type: deftypevr
  33528. #: guix-git/doc/guix.texi:22681
  33529. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  33530. msgstr ""
  33531. #. type: deftypevr
  33532. #: guix-git/doc/guix.texi:22683 guix-git/doc/guix.texi:22727
  33533. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22996
  33534. #: guix-git/doc/guix.texi:23170 guix-git/doc/guix.texi:23181
  33535. #: guix-git/doc/guix.texi:23254 guix-git/doc/guix.texi:23979
  33536. #: guix-git/doc/guix.texi:24022 guix-git/doc/guix.texi:24030
  33537. #: guix-git/doc/guix.texi:24038 guix-git/doc/guix.texi:24046
  33538. #: guix-git/doc/guix.texi:24055 guix-git/doc/guix.texi:24063
  33539. #: guix-git/doc/guix.texi:24070 guix-git/doc/guix.texi:24078
  33540. #: guix-git/doc/guix.texi:24086 guix-git/doc/guix.texi:24096
  33541. #: guix-git/doc/guix.texi:24103 guix-git/doc/guix.texi:24127
  33542. #: guix-git/doc/guix.texi:24135 guix-git/doc/guix.texi:24161
  33543. #: guix-git/doc/guix.texi:24170 guix-git/doc/guix.texi:24179
  33544. #: guix-git/doc/guix.texi:24188 guix-git/doc/guix.texi:24197
  33545. #: guix-git/doc/guix.texi:24206 guix-git/doc/guix.texi:24214
  33546. #: guix-git/doc/guix.texi:24222 guix-git/doc/guix.texi:24229
  33547. #: guix-git/doc/guix.texi:24237 guix-git/doc/guix.texi:24244
  33548. #: guix-git/doc/guix.texi:24252 guix-git/doc/guix.texi:24260
  33549. #: guix-git/doc/guix.texi:24269 guix-git/doc/guix.texi:24278
  33550. #: guix-git/doc/guix.texi:24286 guix-git/doc/guix.texi:24294
  33551. #: guix-git/doc/guix.texi:24302 guix-git/doc/guix.texi:24313
  33552. #: guix-git/doc/guix.texi:24323 guix-git/doc/guix.texi:24334
  33553. #: guix-git/doc/guix.texi:24343 guix-git/doc/guix.texi:24353
  33554. #: guix-git/doc/guix.texi:24361 guix-git/doc/guix.texi:24372
  33555. #: guix-git/doc/guix.texi:24381 guix-git/doc/guix.texi:24391
  33556. #: guix-git/doc/guix.texi:27554 guix-git/doc/guix.texi:27561
  33557. #: guix-git/doc/guix.texi:27568 guix-git/doc/guix.texi:27575
  33558. #: guix-git/doc/guix.texi:27582 guix-git/doc/guix.texi:27589
  33559. #: guix-git/doc/guix.texi:27597 guix-git/doc/guix.texi:27605
  33560. #: guix-git/doc/guix.texi:27612 guix-git/doc/guix.texi:27619
  33561. #: guix-git/doc/guix.texi:27626 guix-git/doc/guix.texi:27633
  33562. #: guix-git/doc/guix.texi:27663 guix-git/doc/guix.texi:27701
  33563. #: guix-git/doc/guix.texi:27708 guix-git/doc/guix.texi:27717
  33564. #: guix-git/doc/guix.texi:27739 guix-git/doc/guix.texi:27747
  33565. #: guix-git/doc/guix.texi:27754 guix-git/doc/guix.texi:27909
  33566. #: guix-git/doc/guix.texi:27929 guix-git/doc/guix.texi:27944
  33567. #: guix-git/doc/guix.texi:27951 guix-git/doc/guix.texi:30634
  33568. #: guix-git/doc/guix.texi:30642 guix-git/doc/guix.texi:30650
  33569. #: guix-git/doc/guix.texi:30658 guix-git/doc/guix.texi:30666
  33570. #: guix-git/doc/guix.texi:30674
  33571. msgid "Defaults to @samp{disabled}."
  33572. msgstr ""
  33573. #. type: deftypevr
  33574. #: guix-git/doc/guix.texi:22686
  33575. #, no-wrap
  33576. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  33577. msgstr ""
  33578. #. type: deftypevr
  33579. #: guix-git/doc/guix.texi:22689
  33580. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  33581. msgstr ""
  33582. #. type: deftypevr
  33583. #: guix-git/doc/guix.texi:22691
  33584. msgid "Defaults to @samp{18}."
  33585. msgstr ""
  33586. #. type: deftypevr
  33587. #: guix-git/doc/guix.texi:22694
  33588. #, no-wrap
  33589. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  33590. msgstr ""
  33591. #. type: deftypevr
  33592. #: guix-git/doc/guix.texi:22697
  33593. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  33594. msgstr ""
  33595. #. type: deftypevr
  33596. #: guix-git/doc/guix.texi:22702
  33597. #, no-wrap
  33598. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  33599. msgstr ""
  33600. #. type: deftypevr
  33601. #: guix-git/doc/guix.texi:22707
  33602. 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."
  33603. msgstr ""
  33604. #. type: deftypevr
  33605. #: guix-git/doc/guix.texi:22709
  33606. msgid "Defaults to @samp{fast}."
  33607. msgstr ""
  33608. #. type: deftypevr
  33609. #: guix-git/doc/guix.texi:22712
  33610. #, no-wrap
  33611. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  33612. msgstr ""
  33613. #. type: deftypevr
  33614. #: guix-git/doc/guix.texi:22717
  33615. 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})."
  33616. msgstr ""
  33617. #. type: deftypevr
  33618. #: guix-git/doc/guix.texi:22722
  33619. #, no-wrap
  33620. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  33621. msgstr ""
  33622. #. type: deftypevr
  33623. #: guix-git/doc/guix.texi:22725
  33624. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  33625. msgstr ""
  33626. #. type: deftypevr
  33627. #: guix-git/doc/guix.texi:22730
  33628. #, no-wrap
  33629. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  33630. msgstr ""
  33631. #. type: deftypevr
  33632. #: guix-git/doc/guix.texi:22734
  33633. 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?})."
  33634. msgstr ""
  33635. #. type: deftypevr
  33636. #: guix-git/doc/guix.texi:22739
  33637. #, no-wrap
  33638. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  33639. msgstr ""
  33640. #. type: deftypevr
  33641. #: guix-git/doc/guix.texi:22742
  33642. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  33643. msgstr ""
  33644. #. type: deftypevr
  33645. #: guix-git/doc/guix.texi:22747
  33646. #, no-wrap
  33647. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  33648. msgstr ""
  33649. #. type: deftypevr
  33650. #: guix-git/doc/guix.texi:22749
  33651. msgid "The default global-maximum download speed, in kilobytes per second."
  33652. msgstr ""
  33653. #. type: deftypevr
  33654. #: guix-git/doc/guix.texi:22754
  33655. #, no-wrap
  33656. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  33657. msgstr ""
  33658. #. type: deftypevr
  33659. #: guix-git/doc/guix.texi:22757
  33660. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  33661. msgstr ""
  33662. #. type: deftypevr
  33663. #: guix-git/doc/guix.texi:22762
  33664. #, no-wrap
  33665. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  33666. msgstr ""
  33667. #. type: deftypevr
  33668. #: guix-git/doc/guix.texi:22764
  33669. msgid "The default global-maximum upload speed, in kilobytes per second."
  33670. msgstr ""
  33671. #. type: deftypevr
  33672. #: guix-git/doc/guix.texi:22769
  33673. #, no-wrap
  33674. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  33675. msgstr ""
  33676. #. type: deftypevr
  33677. #: guix-git/doc/guix.texi:22775
  33678. 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?}."
  33679. msgstr ""
  33680. #. type: deftypevr
  33681. #: guix-git/doc/guix.texi:22780
  33682. #, no-wrap
  33683. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  33684. msgstr ""
  33685. #. type: deftypevr
  33686. #: guix-git/doc/guix.texi:22782
  33687. msgid "The alternate global-maximum download speed, in kilobytes per second."
  33688. msgstr ""
  33689. #. type: deftypevr
  33690. #: guix-git/doc/guix.texi:22784 guix-git/doc/guix.texi:22791
  33691. #: guix-git/doc/guix.texi:22963 guix-git/doc/guix.texi:30269
  33692. #: guix-git/doc/guix.texi:30284
  33693. msgid "Defaults to @samp{50}."
  33694. msgstr ""
  33695. #. type: deftypevr
  33696. #: guix-git/doc/guix.texi:22787
  33697. #, no-wrap
  33698. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  33699. msgstr ""
  33700. #. type: deftypevr
  33701. #: guix-git/doc/guix.texi:22789
  33702. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  33703. msgstr ""
  33704. #. type: deftypevr
  33705. #: guix-git/doc/guix.texi:22794
  33706. #, no-wrap
  33707. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  33708. msgstr ""
  33709. #. type: deftypevr
  33710. #: guix-git/doc/guix.texi:22799
  33711. 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}."
  33712. msgstr ""
  33713. #. type: deftypevr
  33714. #: guix-git/doc/guix.texi:22804
  33715. #, no-wrap
  33716. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  33717. msgstr ""
  33718. #. type: deftypevr
  33719. #: guix-git/doc/guix.texi:22809
  33720. 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}."
  33721. msgstr ""
  33722. #. type: deftypevr
  33723. #: guix-git/doc/guix.texi:22811
  33724. msgid "Defaults to @samp{all}."
  33725. msgstr ""
  33726. #. type: deftypevr
  33727. #: guix-git/doc/guix.texi:22814
  33728. #, no-wrap
  33729. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  33730. msgstr ""
  33731. #. type: deftypevr
  33732. #: guix-git/doc/guix.texi:22817
  33733. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  33734. msgstr ""
  33735. #. type: deftypevr
  33736. #: guix-git/doc/guix.texi:22819
  33737. msgid "Defaults to @samp{540}."
  33738. msgstr ""
  33739. #. type: deftypevr
  33740. #: guix-git/doc/guix.texi:22822
  33741. #, no-wrap
  33742. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  33743. msgstr ""
  33744. #. type: deftypevr
  33745. #: guix-git/doc/guix.texi:22825
  33746. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  33747. msgstr ""
  33748. #. type: deftypevr
  33749. #: guix-git/doc/guix.texi:22827
  33750. msgid "Defaults to @samp{1020}."
  33751. msgstr ""
  33752. #. type: deftypevr
  33753. #: guix-git/doc/guix.texi:22830
  33754. #, no-wrap
  33755. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  33756. msgstr ""
  33757. #. type: deftypevr
  33758. #: guix-git/doc/guix.texi:22833
  33759. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  33760. msgstr ""
  33761. #. type: deftypevr
  33762. #: guix-git/doc/guix.texi:22835 guix-git/doc/guix.texi:23138
  33763. #: guix-git/doc/guix.texi:28184
  33764. msgid "Defaults to @samp{\"0.0.0.0\"}."
  33765. msgstr ""
  33766. #. type: deftypevr
  33767. #: guix-git/doc/guix.texi:22838
  33768. #, no-wrap
  33769. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  33770. msgstr ""
  33771. #. type: deftypevr
  33772. #: guix-git/doc/guix.texi:22841
  33773. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  33774. msgstr ""
  33775. #. type: deftypevr
  33776. #: guix-git/doc/guix.texi:22843
  33777. msgid "Defaults to @samp{\"::\"}."
  33778. msgstr ""
  33779. #. type: deftypevr
  33780. #: guix-git/doc/guix.texi:22846
  33781. #, no-wrap
  33782. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  33783. msgstr ""
  33784. #. type: deftypevr
  33785. #: guix-git/doc/guix.texi:22852
  33786. 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}."
  33787. msgstr ""
  33788. #. type: deftypevr
  33789. #: guix-git/doc/guix.texi:22857
  33790. #, no-wrap
  33791. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  33792. msgstr ""
  33793. #. type: deftypevr
  33794. #: guix-git/doc/guix.texi:22860
  33795. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  33796. msgstr ""
  33797. #. type: deftypevr
  33798. #: guix-git/doc/guix.texi:22862
  33799. msgid "Defaults to @samp{49152}."
  33800. msgstr ""
  33801. #. type: deftypevr
  33802. #: guix-git/doc/guix.texi:22865
  33803. #, no-wrap
  33804. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  33805. msgstr ""
  33806. #. type: deftypevr
  33807. #: guix-git/doc/guix.texi:22868
  33808. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  33809. msgstr ""
  33810. #. type: deftypevr
  33811. #: guix-git/doc/guix.texi:22870
  33812. msgid "Defaults to @samp{65535}."
  33813. msgstr ""
  33814. #. type: deftypevr
  33815. #: guix-git/doc/guix.texi:22873
  33816. #, no-wrap
  33817. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  33818. msgstr ""
  33819. #. type: deftypevr
  33820. #: guix-git/doc/guix.texi:22876
  33821. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  33822. msgstr ""
  33823. #. type: deftypevr
  33824. #: guix-git/doc/guix.texi:22878
  33825. msgid "Defaults to @samp{51413}."
  33826. msgstr ""
  33827. #. type: deftypevr
  33828. #: guix-git/doc/guix.texi:22881
  33829. #, no-wrap
  33830. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  33831. msgstr ""
  33832. #. type: deftypevr
  33833. #: guix-git/doc/guix.texi:22885
  33834. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  33835. msgstr ""
  33836. #. type: deftypevr
  33837. #: guix-git/doc/guix.texi:22890
  33838. #, no-wrap
  33839. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  33840. msgstr ""
  33841. #. type: deftypevr
  33842. #: guix-git/doc/guix.texi:22895
  33843. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  33844. msgstr ""
  33845. #. type: deftypevr
  33846. #: guix-git/doc/guix.texi:22897
  33847. msgid "Defaults to @samp{prefer-encrypted-connections}."
  33848. msgstr ""
  33849. #. type: deftypevr
  33850. #: guix-git/doc/guix.texi:22900
  33851. #, no-wrap
  33852. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  33853. msgstr ""
  33854. #. type: deftypevr
  33855. #: guix-git/doc/guix.texi:22905
  33856. 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)."
  33857. msgstr ""
  33858. #. type: deftypevr
  33859. #: guix-git/doc/guix.texi:22914
  33860. 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."
  33861. msgstr ""
  33862. #. type: deftypevr
  33863. #: guix-git/doc/guix.texi:22922
  33864. 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:"
  33865. msgstr ""
  33866. #. type: lisp
  33867. #: guix-git/doc/guix.texi:22929
  33868. #, no-wrap
  33869. msgid ""
  33870. "(service sysctl-service-type\n"
  33871. " (sysctl-configuration\n"
  33872. " (settings\n"
  33873. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  33874. " \"reno cubic lp\"))))\n"
  33875. msgstr ""
  33876. #. type: deftypevr
  33877. #: guix-git/doc/guix.texi:22932
  33878. msgid "The Transmission Daemon configuration can then be updated with"
  33879. msgstr ""
  33880. #. type: lisp
  33881. #: guix-git/doc/guix.texi:22935
  33882. #, no-wrap
  33883. msgid "(peer-congestion-algorithm \"lp\")\n"
  33884. msgstr ""
  33885. #. type: deftypevr
  33886. #: guix-git/doc/guix.texi:22938
  33887. msgid "and the system reconfigured to have the changes take effect."
  33888. msgstr ""
  33889. #. type: deftypevr
  33890. #: guix-git/doc/guix.texi:22943
  33891. #, no-wrap
  33892. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  33893. msgstr ""
  33894. #. type: deftypevr
  33895. #: guix-git/doc/guix.texi:22947
  33896. 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}."
  33897. msgstr ""
  33898. #. type: deftypevr
  33899. #: guix-git/doc/guix.texi:22949
  33900. msgid "Defaults to @samp{default}."
  33901. msgstr ""
  33902. #. type: deftypevr
  33903. #: guix-git/doc/guix.texi:22952
  33904. #, no-wrap
  33905. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  33906. msgstr ""
  33907. #. type: deftypevr
  33908. #: guix-git/doc/guix.texi:22954
  33909. msgid "The global limit on the number of connected peers."
  33910. msgstr ""
  33911. #. type: deftypevr
  33912. #: guix-git/doc/guix.texi:22956
  33913. msgid "Defaults to @samp{200}."
  33914. msgstr ""
  33915. #. type: deftypevr
  33916. #: guix-git/doc/guix.texi:22959
  33917. #, no-wrap
  33918. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  33919. msgstr ""
  33920. #. type: deftypevr
  33921. #: guix-git/doc/guix.texi:22961
  33922. msgid "The per-torrent limit on the number of connected peers."
  33923. msgstr ""
  33924. #. type: deftypevr
  33925. #: guix-git/doc/guix.texi:22966
  33926. #, no-wrap
  33927. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  33928. msgstr ""
  33929. #. type: deftypevr
  33930. #: guix-git/doc/guix.texi:22969
  33931. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  33932. msgstr ""
  33933. #. type: deftypevr
  33934. #: guix-git/doc/guix.texi:22971
  33935. msgid "Defaults to @samp{14}."
  33936. msgstr ""
  33937. #. type: deftypevr
  33938. #: guix-git/doc/guix.texi:22974
  33939. #, no-wrap
  33940. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  33941. msgstr ""
  33942. #. type: deftypevr
  33943. #: guix-git/doc/guix.texi:22977
  33944. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  33945. msgstr ""
  33946. #. type: deftypevr
  33947. #: guix-git/doc/guix.texi:22979
  33948. msgid "Defaults to @samp{6}."
  33949. msgstr ""
  33950. #. type: deftypevr
  33951. #: guix-git/doc/guix.texi:22982
  33952. #, no-wrap
  33953. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  33954. msgstr ""
  33955. #. type: deftypevr
  33956. #: guix-git/doc/guix.texi:22985
  33957. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  33958. msgstr ""
  33959. #. type: deftypevr
  33960. #: guix-git/doc/guix.texi:22990
  33961. #, no-wrap
  33962. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  33963. msgstr ""
  33964. #. type: deftypevr
  33965. #: guix-git/doc/guix.texi:22994
  33966. 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}."
  33967. msgstr ""
  33968. #. type: deftypevr
  33969. #: guix-git/doc/guix.texi:22999
  33970. #, no-wrap
  33971. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  33972. msgstr ""
  33973. #. type: deftypevr
  33974. #: guix-git/doc/guix.texi:23002
  33975. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  33976. msgstr ""
  33977. #. type: deftypevr
  33978. #: guix-git/doc/guix.texi:23007
  33979. #, no-wrap
  33980. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  33981. msgstr ""
  33982. #. type: deftypevr
  33983. #: guix-git/doc/guix.texi:23011
  33984. 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}."
  33985. msgstr ""
  33986. #. type: deftypevr
  33987. #: guix-git/doc/guix.texi:23016
  33988. #, no-wrap
  33989. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  33990. msgstr ""
  33991. #. type: deftypevr
  33992. #: guix-git/doc/guix.texi:23019
  33993. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  33994. msgstr ""
  33995. #. type: deftypevr
  33996. #: guix-git/doc/guix.texi:23024
  33997. #, no-wrap
  33998. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  33999. msgstr ""
  34000. #. type: deftypevr
  34001. #: guix-git/doc/guix.texi:23028
  34002. 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}."
  34003. msgstr ""
  34004. #. type: deftypevr
  34005. #: guix-git/doc/guix.texi:23033
  34006. #, no-wrap
  34007. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  34008. msgstr ""
  34009. #. type: deftypevr
  34010. #: guix-git/doc/guix.texi:23038
  34011. 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."
  34012. msgstr ""
  34013. #. type: deftypevr
  34014. #: guix-git/doc/guix.texi:23043
  34015. #, no-wrap
  34016. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  34017. msgstr ""
  34018. #. type: deftypevr
  34019. #: guix-git/doc/guix.texi:23047
  34020. 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}."
  34021. msgstr ""
  34022. #. type: deftypevr
  34023. #: guix-git/doc/guix.texi:23052
  34024. #, no-wrap
  34025. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  34026. msgstr ""
  34027. #. type: deftypevr
  34028. #: guix-git/doc/guix.texi:23055
  34029. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  34030. msgstr ""
  34031. #. type: deftypevr
  34032. #: guix-git/doc/guix.texi:23060
  34033. #, no-wrap
  34034. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  34035. msgstr ""
  34036. #. type: deftypevr
  34037. #: guix-git/doc/guix.texi:23063
  34038. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  34039. msgstr ""
  34040. #. type: deftypevr
  34041. #: guix-git/doc/guix.texi:23065
  34042. msgid "Defaults to @samp{2.0}."
  34043. msgstr ""
  34044. #. type: deftypevr
  34045. #: guix-git/doc/guix.texi:23068
  34046. #, no-wrap
  34047. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  34048. msgstr ""
  34049. #. type: deftypevr
  34050. #: guix-git/doc/guix.texi:23071
  34051. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  34052. msgstr ""
  34053. #. type: deftypevr
  34054. #: guix-git/doc/guix.texi:23076
  34055. #, no-wrap
  34056. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  34057. msgstr ""
  34058. #. type: deftypevr
  34059. #: guix-git/doc/guix.texi:23080
  34060. 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}."
  34061. msgstr ""
  34062. #. type: deftypevr
  34063. #: guix-git/doc/guix.texi:23085
  34064. #, no-wrap
  34065. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  34066. msgstr ""
  34067. #. type: deftypevr
  34068. #: guix-git/doc/guix.texi:23089
  34069. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  34070. msgstr ""
  34071. #. type: deftypevr
  34072. #: guix-git/doc/guix.texi:23094
  34073. #, no-wrap
  34074. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  34075. msgstr ""
  34076. #. type: deftypevr
  34077. #: guix-git/doc/guix.texi:23099
  34078. 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."
  34079. msgstr ""
  34080. #. type: deftypevr
  34081. #: guix-git/doc/guix.texi:23104
  34082. #, no-wrap
  34083. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  34084. msgstr ""
  34085. #. type: deftypevr
  34086. #: guix-git/doc/guix.texi:23108
  34087. 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."
  34088. msgstr ""
  34089. #. type: deftypevr
  34090. #: guix-git/doc/guix.texi:23113
  34091. #, no-wrap
  34092. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  34093. msgstr ""
  34094. #. type: deftypevr
  34095. #: guix-git/doc/guix.texi:23118
  34096. 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."
  34097. msgstr ""
  34098. #. type: deftypevr
  34099. #: guix-git/doc/guix.texi:23123
  34100. #, no-wrap
  34101. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  34102. msgstr ""
  34103. #. type: deftypevr
  34104. #: guix-git/doc/guix.texi:23128
  34105. 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."
  34106. msgstr ""
  34107. #. type: deftypevr
  34108. #: guix-git/doc/guix.texi:23133
  34109. #, no-wrap
  34110. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  34111. msgstr ""
  34112. #. type: deftypevr
  34113. #: guix-git/doc/guix.texi:23136
  34114. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  34115. msgstr ""
  34116. #. type: deftypevr
  34117. #: guix-git/doc/guix.texi:23141
  34118. #, no-wrap
  34119. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  34120. msgstr ""
  34121. #. type: deftypevr
  34122. #: guix-git/doc/guix.texi:23143
  34123. msgid "The port on which to listen for @acronym{RPC} connections."
  34124. msgstr ""
  34125. #. type: deftypevr
  34126. #: guix-git/doc/guix.texi:23145
  34127. msgid "Defaults to @samp{9091}."
  34128. msgstr ""
  34129. #. type: deftypevr
  34130. #: guix-git/doc/guix.texi:23148
  34131. #, no-wrap
  34132. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  34133. msgstr ""
  34134. #. type: deftypevr
  34135. #: guix-git/doc/guix.texi:23150
  34136. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  34137. msgstr ""
  34138. #. type: deftypevr
  34139. #: guix-git/doc/guix.texi:23152
  34140. msgid "Defaults to @samp{\"/transmission/\"}."
  34141. msgstr ""
  34142. #. type: deftypevr
  34143. #: guix-git/doc/guix.texi:23155
  34144. #, no-wrap
  34145. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  34146. msgstr ""
  34147. #. type: deftypevr
  34148. #: guix-git/doc/guix.texi:23160
  34149. 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?}."
  34150. msgstr ""
  34151. #. type: deftypevr
  34152. #: guix-git/doc/guix.texi:23165
  34153. #, no-wrap
  34154. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  34155. msgstr ""
  34156. #. type: deftypevr
  34157. #: guix-git/doc/guix.texi:23168
  34158. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  34159. msgstr ""
  34160. #. type: deftypevr
  34161. #: guix-git/doc/guix.texi:23173
  34162. #, no-wrap
  34163. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  34164. msgstr ""
  34165. #. type: deftypevr
  34166. #: guix-git/doc/guix.texi:23179
  34167. 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."
  34168. msgstr ""
  34169. #. type: deftypevr
  34170. #: guix-git/doc/guix.texi:23184
  34171. #, no-wrap
  34172. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  34173. msgstr ""
  34174. #. type: deftypevr
  34175. #: guix-git/doc/guix.texi:23187
  34176. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  34177. msgstr ""
  34178. #. type: deftypevr
  34179. #: guix-git/doc/guix.texi:23192
  34180. #, no-wrap
  34181. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  34182. msgstr ""
  34183. #. type: deftypevr
  34184. #: guix-git/doc/guix.texi:23196
  34185. 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{*}."
  34186. msgstr ""
  34187. #. type: deftypevr
  34188. #: guix-git/doc/guix.texi:23198
  34189. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  34190. msgstr ""
  34191. #. type: deftypevr
  34192. #: guix-git/doc/guix.texi:23201
  34193. #, no-wrap
  34194. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  34195. msgstr ""
  34196. #. type: deftypevr
  34197. #: guix-git/doc/guix.texi:23206
  34198. 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."
  34199. msgstr ""
  34200. #. type: deftypevr
  34201. #: guix-git/doc/guix.texi:23209
  34202. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  34203. msgstr ""
  34204. #. type: deftypevr
  34205. #: guix-git/doc/guix.texi:23214
  34206. #, no-wrap
  34207. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  34208. msgstr ""
  34209. #. type: deftypevr
  34210. #: guix-git/doc/guix.texi:23217
  34211. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  34212. msgstr ""
  34213. #. type: deftypevr
  34214. #: guix-git/doc/guix.texi:23222
  34215. #, no-wrap
  34216. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  34217. msgstr ""
  34218. #. type: deftypevr
  34219. #: guix-git/doc/guix.texi:23226
  34220. 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}."
  34221. msgstr ""
  34222. #. type: deftypevr
  34223. #: guix-git/doc/guix.texi:23231
  34224. #, no-wrap
  34225. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  34226. msgstr ""
  34227. #. type: deftypevr
  34228. #: guix-git/doc/guix.texi:23234
  34229. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  34230. msgstr ""
  34231. #. type: deftypevr
  34232. #: guix-git/doc/guix.texi:23239
  34233. #, no-wrap
  34234. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  34235. msgstr ""
  34236. #. type: deftypevr
  34237. #: guix-git/doc/guix.texi:23243
  34238. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  34239. msgstr ""
  34240. #. type: deftypevr
  34241. #: guix-git/doc/guix.texi:23248
  34242. #, no-wrap
  34243. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  34244. msgstr ""
  34245. #. type: deftypevr
  34246. #: guix-git/doc/guix.texi:23252
  34247. 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}."
  34248. msgstr ""
  34249. #. type: deftypevr
  34250. #: guix-git/doc/guix.texi:23257
  34251. #, no-wrap
  34252. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  34253. msgstr ""
  34254. #. type: deftypevr
  34255. #: guix-git/doc/guix.texi:23260
  34256. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  34257. msgstr ""
  34258. #. type: deftypevr
  34259. #: guix-git/doc/guix.texi:23265
  34260. #, no-wrap
  34261. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  34262. msgstr ""
  34263. #. type: deftypevr
  34264. #: guix-git/doc/guix.texi:23269
  34265. 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."
  34266. msgstr ""
  34267. #. type: deftypevr
  34268. #: guix-git/doc/guix.texi:23271
  34269. msgid "Defaults to @samp{4}."
  34270. msgstr ""
  34271. #. type: deftypevr
  34272. #: guix-git/doc/guix.texi:23274
  34273. #, no-wrap
  34274. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  34275. msgstr ""
  34276. #. type: deftypevr
  34277. #: guix-git/doc/guix.texi:23278
  34278. 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."
  34279. msgstr ""
  34280. #. type: subsubheading
  34281. #: guix-git/doc/guix.texi:23291
  34282. #, no-wrap
  34283. msgid "Tailon Service"
  34284. msgstr ""
  34285. #. type: Plain text
  34286. #: guix-git/doc/guix.texi:23295
  34287. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  34288. msgstr ""
  34289. #. type: Plain text
  34290. #: guix-git/doc/guix.texi:23298
  34291. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  34292. msgstr ""
  34293. #. type: lisp
  34294. #: guix-git/doc/guix.texi:23301
  34295. #, no-wrap
  34296. msgid "(service tailon-service-type)\n"
  34297. msgstr ""
  34298. #. type: Plain text
  34299. #: guix-git/doc/guix.texi:23305
  34300. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  34301. msgstr ""
  34302. #. type: lisp
  34303. #: guix-git/doc/guix.texi:23312
  34304. #, no-wrap
  34305. msgid ""
  34306. "(service tailon-service-type\n"
  34307. " (tailon-configuration\n"
  34308. " (config-file\n"
  34309. " (tailon-configuration-file\n"
  34310. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  34311. msgstr ""
  34312. #. type: deftp
  34313. #: guix-git/doc/guix.texi:23315
  34314. #, no-wrap
  34315. msgid "{Data Type} tailon-configuration"
  34316. msgstr ""
  34317. #. type: deftp
  34318. #: guix-git/doc/guix.texi:23318
  34319. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  34320. msgstr ""
  34321. #. type: item
  34322. #: guix-git/doc/guix.texi:23320
  34323. #, no-wrap
  34324. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  34325. msgstr ""
  34326. #. type: table
  34327. #: guix-git/doc/guix.texi:23324
  34328. 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})."
  34329. msgstr ""
  34330. #. type: table
  34331. #: guix-git/doc/guix.texi:23327
  34332. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  34333. msgstr ""
  34334. #. type: lisp
  34335. #: guix-git/doc/guix.texi:23332
  34336. #, no-wrap
  34337. msgid ""
  34338. "(service tailon-service-type\n"
  34339. " (tailon-configuration\n"
  34340. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  34341. msgstr ""
  34342. #. type: item
  34343. #: guix-git/doc/guix.texi:23334
  34344. #, no-wrap
  34345. msgid "@code{package} (default: @code{tailon})"
  34346. msgstr ""
  34347. #. type: table
  34348. #: guix-git/doc/guix.texi:23336
  34349. msgid "The tailon package to use."
  34350. msgstr ""
  34351. #. type: deftp
  34352. #: guix-git/doc/guix.texi:23340
  34353. #, no-wrap
  34354. msgid "{Data Type} tailon-configuration-file"
  34355. msgstr ""
  34356. #. type: deftp
  34357. #: guix-git/doc/guix.texi:23343
  34358. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  34359. msgstr ""
  34360. #. type: item
  34361. #: guix-git/doc/guix.texi:23345
  34362. #, no-wrap
  34363. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  34364. msgstr ""
  34365. #. type: table
  34366. #: guix-git/doc/guix.texi:23350
  34367. 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."
  34368. msgstr ""
  34369. #. type: item
  34370. #: guix-git/doc/guix.texi:23351
  34371. #, no-wrap
  34372. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  34373. msgstr ""
  34374. #. type: table
  34375. #: guix-git/doc/guix.texi:23353
  34376. msgid "Address and port to which Tailon should bind on."
  34377. msgstr ""
  34378. #. type: item
  34379. #: guix-git/doc/guix.texi:23354
  34380. #, no-wrap
  34381. msgid "@code{relative-root} (default: @code{#f})"
  34382. msgstr ""
  34383. #. type: table
  34384. #: guix-git/doc/guix.texi:23356
  34385. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  34386. msgstr ""
  34387. #. type: item
  34388. #: guix-git/doc/guix.texi:23357
  34389. #, no-wrap
  34390. msgid "@code{allow-transfers?} (default: @code{#t})"
  34391. msgstr ""
  34392. #. type: table
  34393. #: guix-git/doc/guix.texi:23359
  34394. msgid "Allow downloading the log files in the web interface."
  34395. msgstr ""
  34396. #. type: item
  34397. #: guix-git/doc/guix.texi:23360
  34398. #, no-wrap
  34399. msgid "@code{follow-names?} (default: @code{#t})"
  34400. msgstr ""
  34401. #. type: table
  34402. #: guix-git/doc/guix.texi:23362
  34403. msgid "Allow tailing of not-yet existent files."
  34404. msgstr ""
  34405. #. type: item
  34406. #: guix-git/doc/guix.texi:23363
  34407. #, no-wrap
  34408. msgid "@code{tail-lines} (default: @code{200})"
  34409. msgstr ""
  34410. #. type: table
  34411. #: guix-git/doc/guix.texi:23365
  34412. msgid "Number of lines to read initially from each file."
  34413. msgstr ""
  34414. #. type: item
  34415. #: guix-git/doc/guix.texi:23366
  34416. #, no-wrap
  34417. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  34418. msgstr ""
  34419. #. type: table
  34420. #: guix-git/doc/guix.texi:23368
  34421. msgid "Commands to allow running. By default, @code{sed} is disabled."
  34422. msgstr ""
  34423. #. type: table
  34424. #: guix-git/doc/guix.texi:23371
  34425. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  34426. msgstr ""
  34427. #. type: item
  34428. #: guix-git/doc/guix.texi:23372
  34429. #, no-wrap
  34430. msgid "@code{wrap-lines} (default: @code{#t})"
  34431. msgstr ""
  34432. #. type: table
  34433. #: guix-git/doc/guix.texi:23376
  34434. 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."
  34435. msgstr ""
  34436. #. type: item
  34437. #: guix-git/doc/guix.texi:23377
  34438. #, no-wrap
  34439. msgid "@code{http-auth} (default: @code{#f})"
  34440. msgstr ""
  34441. #. type: table
  34442. #: guix-git/doc/guix.texi:23381
  34443. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  34444. msgstr ""
  34445. #. type: item
  34446. #: guix-git/doc/guix.texi:23382
  34447. #, no-wrap
  34448. msgid "@code{users} (default: @code{#f})"
  34449. msgstr ""
  34450. #. type: table
  34451. #: guix-git/doc/guix.texi:23387
  34452. 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."
  34453. msgstr ""
  34454. #. type: lisp
  34455. #: guix-git/doc/guix.texi:23393
  34456. #, no-wrap
  34457. msgid ""
  34458. "(tailon-configuration-file\n"
  34459. " (http-auth \"basic\")\n"
  34460. " (users '((\"user1\" . \"password1\")\n"
  34461. " (\"user2\" . \"password2\"))))\n"
  34462. msgstr ""
  34463. #. type: subsubheading
  34464. #: guix-git/doc/guix.texi:23399
  34465. #, no-wrap
  34466. msgid "Darkstat Service"
  34467. msgstr ""
  34468. #. type: cindex
  34469. #: guix-git/doc/guix.texi:23400
  34470. #, no-wrap
  34471. msgid "darkstat"
  34472. msgstr ""
  34473. #. type: Plain text
  34474. #: guix-git/doc/guix.texi:23403
  34475. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  34476. msgstr ""
  34477. #. type: defvar
  34478. #: guix-git/doc/guix.texi:23404
  34479. #, no-wrap
  34480. msgid "{Scheme Variable} darkstat-service-type"
  34481. msgstr ""
  34482. #. type: defvar
  34483. #: guix-git/doc/guix.texi:23409
  34484. 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:"
  34485. msgstr ""
  34486. #. type: lisp
  34487. #: guix-git/doc/guix.texi:23414
  34488. #, no-wrap
  34489. msgid ""
  34490. "(service darkstat-service-type\n"
  34491. " (darkstat-configuration\n"
  34492. " (interface \"eno1\")))\n"
  34493. msgstr ""
  34494. #. type: deftp
  34495. #: guix-git/doc/guix.texi:23417
  34496. #, no-wrap
  34497. msgid "{Data Type} darkstat-configuration"
  34498. msgstr ""
  34499. #. type: deftp
  34500. #: guix-git/doc/guix.texi:23419
  34501. msgid "Data type representing the configuration of @command{darkstat}."
  34502. msgstr ""
  34503. #. type: item
  34504. #: guix-git/doc/guix.texi:23421
  34505. #, no-wrap
  34506. msgid "@code{package} (default: @code{darkstat})"
  34507. msgstr ""
  34508. #. type: table
  34509. #: guix-git/doc/guix.texi:23423
  34510. msgid "The darkstat package to use."
  34511. msgstr ""
  34512. #. type: code{#1}
  34513. #: guix-git/doc/guix.texi:23424
  34514. #, no-wrap
  34515. msgid "interface"
  34516. msgstr ""
  34517. #. type: table
  34518. #: guix-git/doc/guix.texi:23426
  34519. msgid "Capture traffic on the specified network interface."
  34520. msgstr ""
  34521. #. type: item
  34522. #: guix-git/doc/guix.texi:23427
  34523. #, no-wrap
  34524. msgid "@code{port} (default: @code{\"667\"})"
  34525. msgstr ""
  34526. #. type: table
  34527. #: guix-git/doc/guix.texi:23429
  34528. msgid "Bind the web interface to the specified port."
  34529. msgstr ""
  34530. #. type: table
  34531. #: guix-git/doc/guix.texi:23432 guix-git/doc/guix.texi:23467
  34532. msgid "Bind the web interface to the specified address."
  34533. msgstr ""
  34534. #. type: item
  34535. #: guix-git/doc/guix.texi:23433
  34536. #, no-wrap
  34537. msgid "@code{base} (default: @code{\"/\"})"
  34538. msgstr ""
  34539. #. type: table
  34540. #: guix-git/doc/guix.texi:23436
  34541. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  34542. msgstr ""
  34543. #. type: subsubheading
  34544. #: guix-git/doc/guix.texi:23440
  34545. #, no-wrap
  34546. msgid "Prometheus Node Exporter Service"
  34547. msgstr ""
  34548. #. type: cindex
  34549. #: guix-git/doc/guix.texi:23442
  34550. #, no-wrap
  34551. msgid "prometheus-node-exporter"
  34552. msgstr ""
  34553. #. type: Plain text
  34554. #: guix-git/doc/guix.texi:23447
  34555. 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."
  34556. msgstr ""
  34557. #. type: defvar
  34558. #: guix-git/doc/guix.texi:23448
  34559. #, no-wrap
  34560. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  34561. msgstr ""
  34562. #. type: defvar
  34563. #: guix-git/doc/guix.texi:23452
  34564. 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}."
  34565. msgstr ""
  34566. #. type: lisp
  34567. #: guix-git/doc/guix.texi:23455
  34568. #, no-wrap
  34569. msgid "(service prometheus-node-exporter-service-type)\n"
  34570. msgstr ""
  34571. #. type: deftp
  34572. #: guix-git/doc/guix.texi:23458
  34573. #, no-wrap
  34574. msgid "{Data Type} prometheus-node-exporter-configuration"
  34575. msgstr ""
  34576. #. type: deftp
  34577. #: guix-git/doc/guix.texi:23460
  34578. msgid "Data type representing the configuration of @command{node_exporter}."
  34579. msgstr ""
  34580. #. type: item
  34581. #: guix-git/doc/guix.texi:23462
  34582. #, no-wrap
  34583. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  34584. msgstr ""
  34585. #. type: table
  34586. #: guix-git/doc/guix.texi:23464
  34587. msgid "The prometheus-node-exporter package to use."
  34588. msgstr ""
  34589. #. type: item
  34590. #: guix-git/doc/guix.texi:23465
  34591. #, no-wrap
  34592. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  34593. msgstr ""
  34594. #. type: item
  34595. #: guix-git/doc/guix.texi:23468
  34596. #, no-wrap
  34597. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  34598. msgstr ""
  34599. #. type: table
  34600. #: guix-git/doc/guix.texi:23472
  34601. 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."
  34602. msgstr ""
  34603. #. type: table
  34604. #: guix-git/doc/guix.texi:23475
  34605. msgid "Extra options to pass to the Prometheus node exporter."
  34606. msgstr ""
  34607. #. type: subsubheading
  34608. #: guix-git/doc/guix.texi:23479
  34609. #, no-wrap
  34610. msgid "Zabbix server"
  34611. msgstr ""
  34612. #. type: cindex
  34613. #: guix-git/doc/guix.texi:23480
  34614. #, no-wrap
  34615. msgid "zabbix zabbix-server"
  34616. msgstr ""
  34617. #. type: Plain text
  34618. #: guix-git/doc/guix.texi:23483
  34619. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  34620. msgstr ""
  34621. #. type: item
  34622. #: guix-git/doc/guix.texi:23485
  34623. #, no-wrap
  34624. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  34625. msgstr ""
  34626. #. type: item
  34627. #: guix-git/doc/guix.texi:23486
  34628. #, no-wrap
  34629. msgid "Auto-discovery of servers and network devices and interfaces."
  34630. msgstr ""
  34631. #. type: item
  34632. #: guix-git/doc/guix.texi:23487
  34633. #, no-wrap
  34634. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  34635. msgstr ""
  34636. #. type: item
  34637. #: guix-git/doc/guix.texi:23488
  34638. #, no-wrap
  34639. msgid "Distributed monitoring with centralized web administration."
  34640. msgstr ""
  34641. #. type: item
  34642. #: guix-git/doc/guix.texi:23489
  34643. #, no-wrap
  34644. msgid "Native high performance agents."
  34645. msgstr ""
  34646. #. type: item
  34647. #: guix-git/doc/guix.texi:23490
  34648. #, no-wrap
  34649. msgid "SLA, and ITIL KPI metrics on reporting."
  34650. msgstr ""
  34651. #. type: item
  34652. #: guix-git/doc/guix.texi:23491
  34653. #, no-wrap
  34654. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  34655. msgstr ""
  34656. #. type: item
  34657. #: guix-git/doc/guix.texi:23492
  34658. #, no-wrap
  34659. msgid "Remote command execution through Zabbix proxies."
  34660. msgstr ""
  34661. #. type: Plain text
  34662. #: guix-git/doc/guix.texi:23498
  34663. msgid "Available @code{zabbix-server-configuration} fields are:"
  34664. msgstr ""
  34665. #. type: deftypevr
  34666. #: guix-git/doc/guix.texi:23499
  34667. #, no-wrap
  34668. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  34669. msgstr ""
  34670. #. type: deftypevr
  34671. #: guix-git/doc/guix.texi:23501
  34672. msgid "The zabbix-server package."
  34673. msgstr ""
  34674. #. type: deftypevr
  34675. #: guix-git/doc/guix.texi:23504
  34676. #, no-wrap
  34677. msgid "{@code{zabbix-server-configuration} parameter} string user"
  34678. msgstr ""
  34679. #. type: deftypevr
  34680. #: guix-git/doc/guix.texi:23506
  34681. msgid "User who will run the Zabbix server."
  34682. msgstr ""
  34683. #. type: deftypevr
  34684. #: guix-git/doc/guix.texi:23508 guix-git/doc/guix.texi:23515
  34685. #: guix-git/doc/guix.texi:23529 guix-git/doc/guix.texi:23536
  34686. #: guix-git/doc/guix.texi:23637 guix-git/doc/guix.texi:23644
  34687. #: guix-git/doc/guix.texi:23755 guix-git/doc/guix.texi:23762
  34688. msgid "Defaults to @samp{\"zabbix\"}."
  34689. msgstr ""
  34690. #. type: deftypevr
  34691. #: guix-git/doc/guix.texi:23511
  34692. #, no-wrap
  34693. msgid "{@code{zabbix-server-configuration} parameter} group group"
  34694. msgstr ""
  34695. #. type: deftypevr
  34696. #: guix-git/doc/guix.texi:23513
  34697. msgid "Group who will run the Zabbix server."
  34698. msgstr ""
  34699. #. type: deftypevr
  34700. #: guix-git/doc/guix.texi:23518
  34701. #, no-wrap
  34702. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  34703. msgstr ""
  34704. #. type: deftypevr
  34705. #: guix-git/doc/guix.texi:23520 guix-git/doc/guix.texi:23739
  34706. msgid "Database host name."
  34707. msgstr ""
  34708. #. type: deftypevr
  34709. #: guix-git/doc/guix.texi:23522
  34710. msgid "Defaults to @samp{\"127.0.0.1\"}."
  34711. msgstr ""
  34712. #. type: deftypevr
  34713. #: guix-git/doc/guix.texi:23525
  34714. #, no-wrap
  34715. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  34716. msgstr ""
  34717. #. type: deftypevr
  34718. #: guix-git/doc/guix.texi:23527 guix-git/doc/guix.texi:23753
  34719. msgid "Database name."
  34720. msgstr ""
  34721. #. type: deftypevr
  34722. #: guix-git/doc/guix.texi:23532
  34723. #, no-wrap
  34724. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  34725. msgstr ""
  34726. #. type: deftypevr
  34727. #: guix-git/doc/guix.texi:23534 guix-git/doc/guix.texi:23760
  34728. msgid "Database user."
  34729. msgstr ""
  34730. #. type: deftypevr
  34731. #: guix-git/doc/guix.texi:23539
  34732. #, no-wrap
  34733. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  34734. msgstr ""
  34735. #. type: deftypevr
  34736. #: guix-git/doc/guix.texi:23542
  34737. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  34738. msgstr ""
  34739. #. type: deftypevr
  34740. #: guix-git/doc/guix.texi:23547
  34741. #, no-wrap
  34742. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  34743. msgstr ""
  34744. #. type: deftypevr
  34745. #: guix-git/doc/guix.texi:23549 guix-git/doc/guix.texi:23746
  34746. msgid "Database port."
  34747. msgstr ""
  34748. #. type: deftypevr
  34749. #: guix-git/doc/guix.texi:23551 guix-git/doc/guix.texi:23748
  34750. msgid "Defaults to @samp{5432}."
  34751. msgstr ""
  34752. #. type: deftypevr
  34753. #: guix-git/doc/guix.texi:23554
  34754. #, no-wrap
  34755. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  34756. msgstr ""
  34757. #. type: deftypevr
  34758. #: guix-git/doc/guix.texi:23556 guix-git/doc/guix.texi:23657
  34759. msgid "Specifies where log messages are written to:"
  34760. msgstr ""
  34761. #. type: itemize
  34762. #: guix-git/doc/guix.texi:23560 guix-git/doc/guix.texi:23661
  34763. msgid "@code{system} - syslog."
  34764. msgstr ""
  34765. #. type: itemize
  34766. #: guix-git/doc/guix.texi:23563 guix-git/doc/guix.texi:23664
  34767. msgid "@code{file} - file specified with @code{log-file} parameter."
  34768. msgstr ""
  34769. #. type: itemize
  34770. #: guix-git/doc/guix.texi:23566 guix-git/doc/guix.texi:23667
  34771. msgid "@code{console} - standard output."
  34772. msgstr ""
  34773. #. type: deftypevr
  34774. #: guix-git/doc/guix.texi:23573
  34775. #, no-wrap
  34776. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  34777. msgstr ""
  34778. #. type: deftypevr
  34779. #: guix-git/doc/guix.texi:23575 guix-git/doc/guix.texi:23676
  34780. msgid "Log file name for @code{log-type} @code{file} parameter."
  34781. msgstr ""
  34782. #. type: deftypevr
  34783. #: guix-git/doc/guix.texi:23577
  34784. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  34785. msgstr ""
  34786. #. type: deftypevr
  34787. #: guix-git/doc/guix.texi:23580
  34788. #, no-wrap
  34789. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  34790. msgstr ""
  34791. #. type: deftypevr
  34792. #: guix-git/doc/guix.texi:23582 guix-git/doc/guix.texi:23683
  34793. msgid "Name of PID file."
  34794. msgstr ""
  34795. #. type: deftypevr
  34796. #: guix-git/doc/guix.texi:23584
  34797. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  34798. msgstr ""
  34799. #. type: deftypevr
  34800. #: guix-git/doc/guix.texi:23587
  34801. #, no-wrap
  34802. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  34803. msgstr ""
  34804. #. type: deftypevr
  34805. #: guix-git/doc/guix.texi:23590
  34806. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  34807. msgstr ""
  34808. #. type: deftypevr
  34809. #: guix-git/doc/guix.texi:23592
  34810. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  34811. msgstr ""
  34812. #. type: deftypevr
  34813. #: guix-git/doc/guix.texi:23595
  34814. #, no-wrap
  34815. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  34816. msgstr ""
  34817. #. type: deftypevr
  34818. #: guix-git/doc/guix.texi:23597
  34819. msgid "Location of SSL client certificates."
  34820. msgstr ""
  34821. #. type: deftypevr
  34822. #: guix-git/doc/guix.texi:23599
  34823. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  34824. msgstr ""
  34825. #. type: deftypevr
  34826. #: guix-git/doc/guix.texi:23602
  34827. #, no-wrap
  34828. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  34829. msgstr ""
  34830. #. type: deftypevr
  34831. #: guix-git/doc/guix.texi:23604 guix-git/doc/guix.texi:23708
  34832. msgid "Extra options will be appended to Zabbix server configuration file."
  34833. msgstr ""
  34834. #. type: deftypevr
  34835. #: guix-git/doc/guix.texi:23609
  34836. #, no-wrap
  34837. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  34838. msgstr ""
  34839. #. type: deftypevr
  34840. #: guix-git/doc/guix.texi:23612 guix-git/doc/guix.texi:23716
  34841. msgid "You may include individual files or all files in a directory in the configuration file."
  34842. msgstr ""
  34843. #. type: subsubheading
  34844. #: guix-git/doc/guix.texi:23619
  34845. #, no-wrap
  34846. msgid "Zabbix agent"
  34847. msgstr ""
  34848. #. type: cindex
  34849. #: guix-git/doc/guix.texi:23620
  34850. #, no-wrap
  34851. msgid "zabbix zabbix-agent"
  34852. msgstr ""
  34853. #. type: Plain text
  34854. #: guix-git/doc/guix.texi:23623
  34855. msgid "Zabbix agent gathers information for Zabbix server."
  34856. msgstr ""
  34857. #. type: Plain text
  34858. #: guix-git/doc/guix.texi:23627
  34859. msgid "Available @code{zabbix-agent-configuration} fields are:"
  34860. msgstr ""
  34861. #. type: deftypevr
  34862. #: guix-git/doc/guix.texi:23628
  34863. #, no-wrap
  34864. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  34865. msgstr ""
  34866. #. type: deftypevr
  34867. #: guix-git/doc/guix.texi:23630
  34868. msgid "The zabbix-agent package."
  34869. msgstr ""
  34870. #. type: deftypevr
  34871. #: guix-git/doc/guix.texi:23633
  34872. #, no-wrap
  34873. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  34874. msgstr ""
  34875. #. type: deftypevr
  34876. #: guix-git/doc/guix.texi:23635
  34877. msgid "User who will run the Zabbix agent."
  34878. msgstr ""
  34879. #. type: deftypevr
  34880. #: guix-git/doc/guix.texi:23640
  34881. #, no-wrap
  34882. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  34883. msgstr ""
  34884. #. type: deftypevr
  34885. #: guix-git/doc/guix.texi:23642
  34886. msgid "Group who will run the Zabbix agent."
  34887. msgstr ""
  34888. #. type: deftypevr
  34889. #: guix-git/doc/guix.texi:23647
  34890. #, no-wrap
  34891. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  34892. msgstr ""
  34893. #. type: deftypevr
  34894. #: guix-git/doc/guix.texi:23650
  34895. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  34896. msgstr ""
  34897. #. type: deftypevr
  34898. #: guix-git/doc/guix.texi:23655
  34899. #, no-wrap
  34900. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  34901. msgstr ""
  34902. #. type: deftypevr
  34903. #: guix-git/doc/guix.texi:23674
  34904. #, no-wrap
  34905. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  34906. msgstr ""
  34907. #. type: deftypevr
  34908. #: guix-git/doc/guix.texi:23678
  34909. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  34910. msgstr ""
  34911. #. type: deftypevr
  34912. #: guix-git/doc/guix.texi:23681
  34913. #, no-wrap
  34914. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  34915. msgstr ""
  34916. #. type: deftypevr
  34917. #: guix-git/doc/guix.texi:23685
  34918. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  34919. msgstr ""
  34920. #. type: deftypevr
  34921. #: guix-git/doc/guix.texi:23688
  34922. #, no-wrap
  34923. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  34924. msgstr ""
  34925. #. type: deftypevr
  34926. #: guix-git/doc/guix.texi:23692
  34927. 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."
  34928. msgstr ""
  34929. #. type: deftypevr
  34930. #: guix-git/doc/guix.texi:23694 guix-git/doc/guix.texi:23703
  34931. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  34932. msgstr ""
  34933. #. type: deftypevr
  34934. #: guix-git/doc/guix.texi:23697
  34935. #, no-wrap
  34936. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  34937. msgstr ""
  34938. #. type: deftypevr
  34939. #: guix-git/doc/guix.texi:23701
  34940. 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."
  34941. msgstr ""
  34942. #. type: deftypevr
  34943. #: guix-git/doc/guix.texi:23706
  34944. #, no-wrap
  34945. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  34946. msgstr ""
  34947. #. type: deftypevr
  34948. #: guix-git/doc/guix.texi:23713
  34949. #, no-wrap
  34950. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  34951. msgstr ""
  34952. #. type: subsubheading
  34953. #: guix-git/doc/guix.texi:23723
  34954. #, no-wrap
  34955. msgid "Zabbix front-end"
  34956. msgstr ""
  34957. #. type: cindex
  34958. #: guix-git/doc/guix.texi:23724
  34959. #, no-wrap
  34960. msgid "zabbix zabbix-front-end"
  34961. msgstr ""
  34962. #. type: Plain text
  34963. #: guix-git/doc/guix.texi:23727
  34964. msgid "This service provides a WEB interface to Zabbix server."
  34965. msgstr ""
  34966. #. type: Plain text
  34967. #: guix-git/doc/guix.texi:23731
  34968. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  34969. msgstr ""
  34970. #. type: deftypevr
  34971. #: guix-git/doc/guix.texi:23732
  34972. #, no-wrap
  34973. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  34974. msgstr ""
  34975. #. type: deftypevr
  34976. #: guix-git/doc/guix.texi:23734 guix-git/doc/guix.texi:29896
  34977. msgid "NGINX configuration."
  34978. msgstr ""
  34979. #. type: deftypevr
  34980. #: guix-git/doc/guix.texi:23737
  34981. #, no-wrap
  34982. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  34983. msgstr ""
  34984. #. type: deftypevr
  34985. #: guix-git/doc/guix.texi:23744
  34986. #, no-wrap
  34987. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  34988. msgstr ""
  34989. #. type: deftypevr
  34990. #: guix-git/doc/guix.texi:23751
  34991. #, no-wrap
  34992. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  34993. msgstr ""
  34994. #. type: deftypevr
  34995. #: guix-git/doc/guix.texi:23758
  34996. #, no-wrap
  34997. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  34998. msgstr ""
  34999. #. type: deftypevr
  35000. #: guix-git/doc/guix.texi:23765
  35001. #, no-wrap
  35002. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  35003. msgstr ""
  35004. #. type: deftypevr
  35005. #: guix-git/doc/guix.texi:23767
  35006. msgid "Database password. Please, use @code{db-secret-file} instead."
  35007. msgstr ""
  35008. #. type: deftypevr
  35009. #: guix-git/doc/guix.texi:23772
  35010. #, no-wrap
  35011. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  35012. msgstr ""
  35013. #. type: deftypevr
  35014. #: guix-git/doc/guix.texi:23777
  35015. msgid "Secret file containing the credentials for the Zabbix front-end. The value must be a local file name, not a G-expression. You are expected to create this file manually. Its contents will be copied into @file{zabbix.conf.php} as the value of @code{$DB['PASSWORD']}."
  35016. msgstr ""
  35017. #. type: deftypevr
  35018. #: guix-git/doc/guix.texi:23782
  35019. #, no-wrap
  35020. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  35021. msgstr ""
  35022. #. type: deftypevr
  35023. #: guix-git/doc/guix.texi:23784
  35024. msgid "Zabbix server hostname."
  35025. msgstr ""
  35026. #. type: deftypevr
  35027. #: guix-git/doc/guix.texi:23789
  35028. #, no-wrap
  35029. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  35030. msgstr ""
  35031. #. type: deftypevr
  35032. #: guix-git/doc/guix.texi:23791
  35033. msgid "Zabbix server port."
  35034. msgstr ""
  35035. #. type: deftypevr
  35036. #: guix-git/doc/guix.texi:23793
  35037. msgid "Defaults to @samp{10051}."
  35038. msgstr ""
  35039. #. type: cindex
  35040. #: guix-git/doc/guix.texi:23801
  35041. #, no-wrap
  35042. msgid "Kerberos"
  35043. msgstr ""
  35044. #. type: Plain text
  35045. #: guix-git/doc/guix.texi:23805
  35046. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  35047. msgstr ""
  35048. #. type: subsubheading
  35049. #: guix-git/doc/guix.texi:23806
  35050. #, no-wrap
  35051. msgid "Krb5 Service"
  35052. msgstr ""
  35053. #. type: Plain text
  35054. #: guix-git/doc/guix.texi:23813
  35055. 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."
  35056. msgstr ""
  35057. #. type: Plain text
  35058. #: guix-git/doc/guix.texi:23817
  35059. 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."
  35060. msgstr ""
  35061. #. type: defvr
  35062. #: guix-git/doc/guix.texi:23818
  35063. #, no-wrap
  35064. msgid "{Scheme Variable} krb5-service-type"
  35065. msgstr ""
  35066. #. type: defvr
  35067. #: guix-git/doc/guix.texi:23820
  35068. msgid "A service type for Kerberos 5 clients."
  35069. msgstr ""
  35070. #. type: Plain text
  35071. #: guix-git/doc/guix.texi:23824
  35072. msgid "Here is an example of its use:"
  35073. msgstr ""
  35074. #. type: lisp
  35075. #: guix-git/doc/guix.texi:23838
  35076. #, no-wrap
  35077. msgid ""
  35078. "(service krb5-service-type\n"
  35079. " (krb5-configuration\n"
  35080. " (default-realm \"EXAMPLE.COM\")\n"
  35081. " (allow-weak-crypto? #t)\n"
  35082. " (realms (list\n"
  35083. " (krb5-realm\n"
  35084. " (name \"EXAMPLE.COM\")\n"
  35085. " (admin-server \"groucho.example.com\")\n"
  35086. " (kdc \"karl.example.com\"))\n"
  35087. " (krb5-realm\n"
  35088. " (name \"ARGRX.EDU\")\n"
  35089. " (admin-server \"kerb-admin.argrx.edu\")\n"
  35090. " (kdc \"keys.argrx.edu\"))))))\n"
  35091. msgstr ""
  35092. #. type: Plain text
  35093. #: guix-git/doc/guix.texi:23842
  35094. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  35095. msgstr ""
  35096. #. type: item
  35097. #: guix-git/doc/guix.texi:23843
  35098. #, no-wrap
  35099. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  35100. msgstr ""
  35101. #. type: itemize
  35102. #: guix-git/doc/guix.texi:23845
  35103. msgid "of which have distinct administration servers and key distribution centers;"
  35104. msgstr ""
  35105. #. type: item
  35106. #: guix-git/doc/guix.texi:23845
  35107. #, no-wrap
  35108. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  35109. msgstr ""
  35110. #. type: itemize
  35111. #: guix-git/doc/guix.texi:23847
  35112. msgid "specified by clients;"
  35113. msgstr ""
  35114. #. type: item
  35115. #: guix-git/doc/guix.texi:23847
  35116. #, no-wrap
  35117. msgid "Accepts services which only support encryption types known to be weak."
  35118. msgstr ""
  35119. #. type: Plain text
  35120. #: guix-git/doc/guix.texi:23855
  35121. 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."
  35122. msgstr ""
  35123. #. type: deftp
  35124. #: guix-git/doc/guix.texi:23857
  35125. #, no-wrap
  35126. msgid "{Data Type} krb5-realm"
  35127. msgstr ""
  35128. #. type: cindex
  35129. #: guix-git/doc/guix.texi:23858
  35130. #, no-wrap
  35131. msgid "realm, kerberos"
  35132. msgstr ""
  35133. #. type: table
  35134. #: guix-git/doc/guix.texi:23864
  35135. 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."
  35136. msgstr ""
  35137. #. type: code{#1}
  35138. #: guix-git/doc/guix.texi:23865
  35139. #, no-wrap
  35140. msgid "admin-server"
  35141. msgstr ""
  35142. #. type: table
  35143. #: guix-git/doc/guix.texi:23868
  35144. msgid "This field is a string identifying the host where the administration server is running."
  35145. msgstr ""
  35146. #. type: code{#1}
  35147. #: guix-git/doc/guix.texi:23869
  35148. #, no-wrap
  35149. msgid "kdc"
  35150. msgstr ""
  35151. #. type: table
  35152. #: guix-git/doc/guix.texi:23872
  35153. msgid "This field is a string identifying the key distribution center for the realm."
  35154. msgstr ""
  35155. #. type: deftp
  35156. #: guix-git/doc/guix.texi:23875
  35157. #, no-wrap
  35158. msgid "{Data Type} krb5-configuration"
  35159. msgstr ""
  35160. #. type: item
  35161. #: guix-git/doc/guix.texi:23878
  35162. #, no-wrap
  35163. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  35164. msgstr ""
  35165. #. type: table
  35166. #: guix-git/doc/guix.texi:23881
  35167. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  35168. msgstr ""
  35169. #. type: item
  35170. #: guix-git/doc/guix.texi:23882
  35171. #, no-wrap
  35172. msgid "@code{default-realm} (default: @code{#f})"
  35173. msgstr ""
  35174. #. type: table
  35175. #: guix-git/doc/guix.texi:23889
  35176. 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}."
  35177. msgstr ""
  35178. #. type: code{#1}
  35179. #: guix-git/doc/guix.texi:23890
  35180. #, no-wrap
  35181. msgid "realms"
  35182. msgstr ""
  35183. #. type: table
  35184. #: guix-git/doc/guix.texi:23895
  35185. 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."
  35186. msgstr ""
  35187. #. type: subsubheading
  35188. #: guix-git/doc/guix.texi:23899
  35189. #, no-wrap
  35190. msgid "PAM krb5 Service"
  35191. msgstr ""
  35192. #. type: cindex
  35193. #: guix-git/doc/guix.texi:23900
  35194. #, no-wrap
  35195. msgid "pam-krb5"
  35196. msgstr ""
  35197. #. type: Plain text
  35198. #: guix-git/doc/guix.texi:23906
  35199. 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."
  35200. msgstr ""
  35201. #. type: defvr
  35202. #: guix-git/doc/guix.texi:23907
  35203. #, no-wrap
  35204. msgid "{Scheme Variable} pam-krb5-service-type"
  35205. msgstr ""
  35206. #. type: defvr
  35207. #: guix-git/doc/guix.texi:23909
  35208. msgid "A service type for the Kerberos 5 PAM module."
  35209. msgstr ""
  35210. #. type: deftp
  35211. #: guix-git/doc/guix.texi:23911
  35212. #, no-wrap
  35213. msgid "{Data Type} pam-krb5-configuration"
  35214. msgstr ""
  35215. #. type: deftp
  35216. #: guix-git/doc/guix.texi:23914
  35217. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  35218. msgstr ""
  35219. #. type: item
  35220. #: guix-git/doc/guix.texi:23915
  35221. #, no-wrap
  35222. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  35223. msgstr ""
  35224. #. type: table
  35225. #: guix-git/doc/guix.texi:23917
  35226. msgid "The pam-krb5 package to use."
  35227. msgstr ""
  35228. #. type: item
  35229. #: guix-git/doc/guix.texi:23918
  35230. #, no-wrap
  35231. msgid "@code{minimum-uid} (default: @code{1000})"
  35232. msgstr ""
  35233. #. type: table
  35234. #: guix-git/doc/guix.texi:23921
  35235. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  35236. msgstr ""
  35237. #. type: cindex
  35238. #: guix-git/doc/guix.texi:23927
  35239. #, no-wrap
  35240. msgid "LDAP"
  35241. msgstr ""
  35242. #. type: cindex
  35243. #: guix-git/doc/guix.texi:23928
  35244. #, no-wrap
  35245. msgid "nslcd, LDAP service"
  35246. msgstr ""
  35247. #. type: Plain text
  35248. #: guix-git/doc/guix.texi:23935
  35249. 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."
  35250. msgstr ""
  35251. #. type: Plain text
  35252. #: guix-git/doc/guix.texi:23939
  35253. 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:"
  35254. msgstr ""
  35255. #. type: lisp
  35256. #: guix-git/doc/guix.texi:23962
  35257. #, no-wrap
  35258. msgid ""
  35259. "(use-service-modules authentication)\n"
  35260. "(use-modules (gnu system nss))\n"
  35261. "...\n"
  35262. "(operating-system\n"
  35263. " ...\n"
  35264. " (services\n"
  35265. " (cons*\n"
  35266. " (service nslcd-service-type)\n"
  35267. " (service dhcp-client-service-type)\n"
  35268. " %base-services))\n"
  35269. " (name-service-switch\n"
  35270. " (let ((services (list (name-service (name \"db\"))\n"
  35271. " (name-service (name \"files\"))\n"
  35272. " (name-service (name \"ldap\")))))\n"
  35273. " (name-service-switch\n"
  35274. " (inherit %mdns-host-lookup-nss)\n"
  35275. " (password services)\n"
  35276. " (shadow services)\n"
  35277. " (group services)\n"
  35278. " (netgroup services)\n"
  35279. " (gshadow services)))))\n"
  35280. msgstr ""
  35281. #. type: Plain text
  35282. #: guix-git/doc/guix.texi:23967
  35283. msgid "Available @code{nslcd-configuration} fields are:"
  35284. msgstr ""
  35285. #. type: deftypevr
  35286. #: guix-git/doc/guix.texi:23968
  35287. #, no-wrap
  35288. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  35289. msgstr ""
  35290. #. type: deftypevr
  35291. #: guix-git/doc/guix.texi:23970
  35292. msgid "The @code{nss-pam-ldapd} package to use."
  35293. msgstr ""
  35294. #. type: deftypevr
  35295. #: guix-git/doc/guix.texi:23973
  35296. #, no-wrap
  35297. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  35298. msgstr ""
  35299. #. type: deftypevr
  35300. #: guix-git/doc/guix.texi:23977
  35301. 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."
  35302. msgstr ""
  35303. #. type: deftypevr
  35304. #: guix-git/doc/guix.texi:23982
  35305. #, no-wrap
  35306. msgid "{@code{nslcd-configuration} parameter} string uid"
  35307. msgstr ""
  35308. #. type: deftypevr
  35309. #: guix-git/doc/guix.texi:23984
  35310. msgid "This specifies the user id with which the daemon should be run."
  35311. msgstr ""
  35312. #. type: deftypevr
  35313. #: guix-git/doc/guix.texi:23986 guix-git/doc/guix.texi:23993
  35314. msgid "Defaults to @samp{\"nslcd\"}."
  35315. msgstr ""
  35316. #. type: deftypevr
  35317. #: guix-git/doc/guix.texi:23989
  35318. #, no-wrap
  35319. msgid "{@code{nslcd-configuration} parameter} string gid"
  35320. msgstr ""
  35321. #. type: deftypevr
  35322. #: guix-git/doc/guix.texi:23991
  35323. msgid "This specifies the group id with which the daemon should be run."
  35324. msgstr ""
  35325. #. type: deftypevr
  35326. #: guix-git/doc/guix.texi:23996
  35327. #, no-wrap
  35328. msgid "{@code{nslcd-configuration} parameter} log-option log"
  35329. msgstr ""
  35330. #. type: deftypevr
  35331. #: guix-git/doc/guix.texi:24004
  35332. 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."
  35333. msgstr ""
  35334. #. type: deftypevr
  35335. #: guix-git/doc/guix.texi:24006
  35336. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  35337. msgstr ""
  35338. #. type: deftypevr
  35339. #: guix-git/doc/guix.texi:24009
  35340. #, no-wrap
  35341. msgid "{@code{nslcd-configuration} parameter} list uri"
  35342. msgstr ""
  35343. #. type: deftypevr
  35344. #: guix-git/doc/guix.texi:24012
  35345. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  35346. msgstr ""
  35347. #. type: deftypevr
  35348. #: guix-git/doc/guix.texi:24014
  35349. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  35350. msgstr ""
  35351. #. type: deftypevr
  35352. #: guix-git/doc/guix.texi:24017
  35353. #, no-wrap
  35354. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  35355. msgstr ""
  35356. #. type: deftypevr
  35357. #: guix-git/doc/guix.texi:24020
  35358. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  35359. msgstr ""
  35360. #. type: deftypevr
  35361. #: guix-git/doc/guix.texi:24025
  35362. #, no-wrap
  35363. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  35364. msgstr ""
  35365. #. type: deftypevr
  35366. #: guix-git/doc/guix.texi:24028
  35367. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  35368. msgstr ""
  35369. #. type: deftypevr
  35370. #: guix-git/doc/guix.texi:24033
  35371. #, no-wrap
  35372. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  35373. msgstr ""
  35374. #. type: deftypevr
  35375. #: guix-git/doc/guix.texi:24036
  35376. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  35377. msgstr ""
  35378. #. type: deftypevr
  35379. #: guix-git/doc/guix.texi:24041
  35380. #, no-wrap
  35381. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  35382. msgstr ""
  35383. #. type: deftypevr
  35384. #: guix-git/doc/guix.texi:24044
  35385. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  35386. msgstr ""
  35387. #. type: deftypevr
  35388. #: guix-git/doc/guix.texi:24049
  35389. #, no-wrap
  35390. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  35391. msgstr ""
  35392. #. type: deftypevr
  35393. #: guix-git/doc/guix.texi:24053
  35394. 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"
  35395. msgstr ""
  35396. #. type: deftypevr
  35397. #: guix-git/doc/guix.texi:24058
  35398. #, no-wrap
  35399. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  35400. msgstr ""
  35401. #. type: deftypevr
  35402. #: guix-git/doc/guix.texi:24061
  35403. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  35404. msgstr ""
  35405. #. type: deftypevr
  35406. #: guix-git/doc/guix.texi:24066
  35407. #, no-wrap
  35408. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  35409. msgstr ""
  35410. #. type: deftypevr
  35411. #: guix-git/doc/guix.texi:24068
  35412. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  35413. msgstr ""
  35414. #. type: deftypevr
  35415. #: guix-git/doc/guix.texi:24073
  35416. #, no-wrap
  35417. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  35418. msgstr ""
  35419. #. type: deftypevr
  35420. #: guix-git/doc/guix.texi:24076
  35421. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  35422. msgstr ""
  35423. #. type: deftypevr
  35424. #: guix-git/doc/guix.texi:24081
  35425. #, no-wrap
  35426. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  35427. msgstr ""
  35428. #. type: deftypevr
  35429. #: guix-git/doc/guix.texi:24084
  35430. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  35431. msgstr ""
  35432. #. type: deftypevr
  35433. #: guix-git/doc/guix.texi:24089
  35434. #, no-wrap
  35435. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  35436. msgstr ""
  35437. #. type: deftypevr
  35438. #: guix-git/doc/guix.texi:24094
  35439. 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."
  35440. msgstr ""
  35441. #. type: deftypevr
  35442. #: guix-git/doc/guix.texi:24099
  35443. #, no-wrap
  35444. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  35445. msgstr ""
  35446. #. type: deftypevr
  35447. #: guix-git/doc/guix.texi:24101
  35448. msgid "Set the name for the GSS-API Kerberos credentials cache."
  35449. msgstr ""
  35450. #. type: deftypevr
  35451. #: guix-git/doc/guix.texi:24106
  35452. #, no-wrap
  35453. msgid "{@code{nslcd-configuration} parameter} string base"
  35454. msgstr ""
  35455. #. type: deftypevr
  35456. #: guix-git/doc/guix.texi:24108
  35457. msgid "The directory search base."
  35458. msgstr ""
  35459. #. type: deftypevr
  35460. #: guix-git/doc/guix.texi:24110
  35461. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  35462. msgstr ""
  35463. #. type: deftypevr
  35464. #: guix-git/doc/guix.texi:24113
  35465. #, no-wrap
  35466. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  35467. msgstr ""
  35468. #. type: deftypevr
  35469. #: guix-git/doc/guix.texi:24117
  35470. 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."
  35471. msgstr ""
  35472. #. type: deftypevr
  35473. #: guix-git/doc/guix.texi:24119
  35474. msgid "Defaults to @samp{(subtree)}."
  35475. msgstr ""
  35476. #. type: deftypevr
  35477. #: guix-git/doc/guix.texi:24122
  35478. #, no-wrap
  35479. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  35480. msgstr ""
  35481. #. type: deftypevr
  35482. #: guix-git/doc/guix.texi:24125
  35483. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  35484. msgstr ""
  35485. #. type: deftypevr
  35486. #: guix-git/doc/guix.texi:24130
  35487. #, no-wrap
  35488. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  35489. msgstr ""
  35490. #. type: deftypevr
  35491. #: guix-git/doc/guix.texi:24133
  35492. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  35493. msgstr ""
  35494. #. type: deftypevr
  35495. #: guix-git/doc/guix.texi:24138
  35496. #, no-wrap
  35497. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  35498. msgstr ""
  35499. #. type: deftypevr
  35500. #: guix-git/doc/guix.texi:24143
  35501. 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."
  35502. msgstr ""
  35503. #. type: deftypevr
  35504. #: guix-git/doc/guix.texi:24148
  35505. #, no-wrap
  35506. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  35507. msgstr ""
  35508. #. type: deftypevr
  35509. #: guix-git/doc/guix.texi:24151
  35510. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  35511. msgstr ""
  35512. #. type: deftypevr
  35513. #: guix-git/doc/guix.texi:24156
  35514. #, no-wrap
  35515. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  35516. msgstr ""
  35517. #. type: deftypevr
  35518. #: guix-git/doc/guix.texi:24159
  35519. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  35520. msgstr ""
  35521. #. type: deftypevr
  35522. #: guix-git/doc/guix.texi:24164
  35523. #, no-wrap
  35524. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  35525. msgstr ""
  35526. #. type: deftypevr
  35527. #: guix-git/doc/guix.texi:24168
  35528. 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."
  35529. msgstr ""
  35530. #. type: deftypevr
  35531. #: guix-git/doc/guix.texi:24173
  35532. #, no-wrap
  35533. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  35534. msgstr ""
  35535. #. type: deftypevr
  35536. #: guix-git/doc/guix.texi:24177
  35537. 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."
  35538. msgstr ""
  35539. #. type: deftypevr
  35540. #: guix-git/doc/guix.texi:24182
  35541. #, no-wrap
  35542. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  35543. msgstr ""
  35544. #. type: deftypevr
  35545. #: guix-git/doc/guix.texi:24186
  35546. 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."
  35547. msgstr ""
  35548. #. type: deftypevr
  35549. #: guix-git/doc/guix.texi:24191
  35550. #, no-wrap
  35551. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  35552. msgstr ""
  35553. #. type: deftypevr
  35554. #: guix-git/doc/guix.texi:24195
  35555. 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."
  35556. msgstr ""
  35557. #. type: deftypevr
  35558. #: guix-git/doc/guix.texi:24200
  35559. #, no-wrap
  35560. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  35561. msgstr ""
  35562. #. type: deftypevr
  35563. #: guix-git/doc/guix.texi:24204
  35564. 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."
  35565. msgstr ""
  35566. #. type: deftypevr
  35567. #: guix-git/doc/guix.texi:24209
  35568. #, no-wrap
  35569. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  35570. msgstr ""
  35571. #. type: deftypevr
  35572. #: guix-git/doc/guix.texi:24212
  35573. 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."
  35574. msgstr ""
  35575. #. type: deftypevr
  35576. #: guix-git/doc/guix.texi:24217
  35577. #, no-wrap
  35578. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  35579. msgstr ""
  35580. #. type: deftypevr
  35581. #: guix-git/doc/guix.texi:24220
  35582. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  35583. msgstr ""
  35584. #. type: deftypevr
  35585. #: guix-git/doc/guix.texi:24225
  35586. #, no-wrap
  35587. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  35588. msgstr ""
  35589. #. type: deftypevr
  35590. #: guix-git/doc/guix.texi:24227
  35591. msgid "Specifies the path to the X.509 certificate for peer authentication."
  35592. msgstr ""
  35593. #. type: deftypevr
  35594. #: guix-git/doc/guix.texi:24232
  35595. #, no-wrap
  35596. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  35597. msgstr ""
  35598. #. type: deftypevr
  35599. #: guix-git/doc/guix.texi:24235
  35600. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  35601. msgstr ""
  35602. #. type: deftypevr
  35603. #: guix-git/doc/guix.texi:24240
  35604. #, no-wrap
  35605. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  35606. msgstr ""
  35607. #. type: deftypevr
  35608. #: guix-git/doc/guix.texi:24242
  35609. msgid "Specifies the ciphers to use for TLS as a string."
  35610. msgstr ""
  35611. #. type: deftypevr
  35612. #: guix-git/doc/guix.texi:24247
  35613. #, no-wrap
  35614. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  35615. msgstr ""
  35616. #. type: deftypevr
  35617. #: guix-git/doc/guix.texi:24250
  35618. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  35619. msgstr ""
  35620. #. type: deftypevr
  35621. #: guix-git/doc/guix.texi:24255
  35622. #, no-wrap
  35623. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  35624. msgstr ""
  35625. #. type: deftypevr
  35626. #: guix-git/doc/guix.texi:24258
  35627. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  35628. msgstr ""
  35629. #. type: deftypevr
  35630. #: guix-git/doc/guix.texi:24263
  35631. #, no-wrap
  35632. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  35633. msgstr ""
  35634. #. type: deftypevr
  35635. #: guix-git/doc/guix.texi:24267
  35636. 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."
  35637. msgstr ""
  35638. #. type: deftypevr
  35639. #: guix-git/doc/guix.texi:24272
  35640. #, no-wrap
  35641. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  35642. msgstr ""
  35643. #. type: deftypevr
  35644. #: guix-git/doc/guix.texi:24276
  35645. 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."
  35646. msgstr ""
  35647. #. type: deftypevr
  35648. #: guix-git/doc/guix.texi:24281
  35649. #, no-wrap
  35650. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  35651. msgstr ""
  35652. #. type: deftypevr
  35653. #: guix-git/doc/guix.texi:24284
  35654. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  35655. msgstr ""
  35656. #. type: deftypevr
  35657. #: guix-git/doc/guix.texi:24289
  35658. #, no-wrap
  35659. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  35660. msgstr ""
  35661. #. type: deftypevr
  35662. #: guix-git/doc/guix.texi:24292
  35663. 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."
  35664. msgstr ""
  35665. #. type: deftypevr
  35666. #: guix-git/doc/guix.texi:24297
  35667. #, no-wrap
  35668. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  35669. msgstr ""
  35670. #. type: deftypevr
  35671. #: guix-git/doc/guix.texi:24300
  35672. 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."
  35673. msgstr ""
  35674. #. type: deftypevr
  35675. #: guix-git/doc/guix.texi:24305
  35676. #, no-wrap
  35677. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  35678. msgstr ""
  35679. #. type: deftypevr
  35680. #: guix-git/doc/guix.texi:24311
  35681. 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."
  35682. msgstr ""
  35683. #. type: deftypevr
  35684. #: guix-git/doc/guix.texi:24316
  35685. #, no-wrap
  35686. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  35687. msgstr ""
  35688. #. type: deftypevr
  35689. #: guix-git/doc/guix.texi:24321
  35690. 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."
  35691. msgstr ""
  35692. #. type: deftypevr
  35693. #: guix-git/doc/guix.texi:24326
  35694. #, no-wrap
  35695. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  35696. msgstr ""
  35697. #. type: deftypevr
  35698. #: guix-git/doc/guix.texi:24332
  35699. 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."
  35700. msgstr ""
  35701. #. type: deftypevr
  35702. #: guix-git/doc/guix.texi:24337
  35703. #, no-wrap
  35704. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  35705. msgstr ""
  35706. #. type: deftypevr
  35707. #: guix-git/doc/guix.texi:24341
  35708. 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."
  35709. msgstr ""
  35710. #. type: deftypevr
  35711. #: guix-git/doc/guix.texi:24346
  35712. #, no-wrap
  35713. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  35714. msgstr ""
  35715. #. type: deftypevr
  35716. #: guix-git/doc/guix.texi:24351
  35717. 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."
  35718. msgstr ""
  35719. #. type: deftypevr
  35720. #: guix-git/doc/guix.texi:24356
  35721. #, no-wrap
  35722. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  35723. msgstr ""
  35724. #. type: deftypevr
  35725. #: guix-git/doc/guix.texi:24359
  35726. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  35727. msgstr ""
  35728. #. type: deftypevr
  35729. #: guix-git/doc/guix.texi:24364
  35730. #, no-wrap
  35731. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  35732. msgstr ""
  35733. #. type: deftypevr
  35734. #: guix-git/doc/guix.texi:24370
  35735. 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."
  35736. msgstr ""
  35737. #. type: deftypevr
  35738. #: guix-git/doc/guix.texi:24375
  35739. #, no-wrap
  35740. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  35741. msgstr ""
  35742. #. type: deftypevr
  35743. #: guix-git/doc/guix.texi:24379
  35744. 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."
  35745. msgstr ""
  35746. #. type: deftypevr
  35747. #: guix-git/doc/guix.texi:24384
  35748. #, no-wrap
  35749. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  35750. msgstr ""
  35751. #. type: deftypevr
  35752. #: guix-git/doc/guix.texi:24389
  35753. 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."
  35754. msgstr ""
  35755. #. type: deftypevr
  35756. #: guix-git/doc/guix.texi:24394
  35757. #, no-wrap
  35758. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  35759. msgstr ""
  35760. #. type: deftypevr
  35761. #: guix-git/doc/guix.texi:24396
  35762. msgid "List of pam service names for which LDAP authentication should suffice."
  35763. msgstr ""
  35764. #. type: cindex
  35765. #: guix-git/doc/guix.texi:24407
  35766. #, no-wrap
  35767. msgid "web"
  35768. msgstr ""
  35769. #. type: cindex
  35770. #: guix-git/doc/guix.texi:24408
  35771. #, no-wrap
  35772. msgid "www"
  35773. msgstr ""
  35774. #. type: cindex
  35775. #: guix-git/doc/guix.texi:24409
  35776. #, no-wrap
  35777. msgid "HTTP"
  35778. msgstr ""
  35779. #. type: Plain text
  35780. #: guix-git/doc/guix.texi:24412
  35781. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  35782. msgstr ""
  35783. #. type: subsubheading
  35784. #: guix-git/doc/guix.texi:24413
  35785. #, no-wrap
  35786. msgid "Apache HTTP Server"
  35787. msgstr ""
  35788. #. type: deffn
  35789. #: guix-git/doc/guix.texi:24415
  35790. #, no-wrap
  35791. msgid "{Scheme Variable} httpd-service-type"
  35792. msgstr ""
  35793. #. type: deffn
  35794. #: guix-git/doc/guix.texi:24419
  35795. 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."
  35796. msgstr ""
  35797. #. type: deffn
  35798. #: guix-git/doc/guix.texi:24421 guix-git/doc/guix.texi:24602
  35799. msgid "A simple example configuration is given below."
  35800. msgstr ""
  35801. #. type: lisp
  35802. #: guix-git/doc/guix.texi:24429
  35803. #, no-wrap
  35804. msgid ""
  35805. "(service httpd-service-type\n"
  35806. " (httpd-configuration\n"
  35807. " (config\n"
  35808. " (httpd-config-file\n"
  35809. " (server-name \"www.example.com\")\n"
  35810. " (document-root \"/srv/http/www.example.com\")))))\n"
  35811. msgstr ""
  35812. #. type: deffn
  35813. #: guix-git/doc/guix.texi:24433
  35814. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  35815. msgstr ""
  35816. #. type: lisp
  35817. #: guix-git/doc/guix.texi:24442 guix-git/doc/guix.texi:24582
  35818. #, no-wrap
  35819. msgid ""
  35820. "(simple-service 'www.example.com-server httpd-service-type\n"
  35821. " (list\n"
  35822. " (httpd-virtualhost\n"
  35823. " \"*:80\"\n"
  35824. " (list (string-join '(\"ServerName www.example.com\"\n"
  35825. " \"DocumentRoot /srv/http/www.example.com\")\n"
  35826. " \"\\n\")))))\n"
  35827. msgstr ""
  35828. #. type: Plain text
  35829. #: guix-git/doc/guix.texi:24448
  35830. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  35831. msgstr ""
  35832. #. type: deffn
  35833. #: guix-git/doc/guix.texi:24449
  35834. #, no-wrap
  35835. msgid "{Data Type} httpd-configuration"
  35836. msgstr ""
  35837. #. type: deffn
  35838. #: guix-git/doc/guix.texi:24451
  35839. msgid "This data type represents the configuration for the httpd service."
  35840. msgstr ""
  35841. #. type: item
  35842. #: guix-git/doc/guix.texi:24453
  35843. #, no-wrap
  35844. msgid "@code{package} (default: @code{httpd})"
  35845. msgstr ""
  35846. #. type: table
  35847. #: guix-git/doc/guix.texi:24455
  35848. msgid "The httpd package to use."
  35849. msgstr ""
  35850. #. type: item
  35851. #: guix-git/doc/guix.texi:24456 guix-git/doc/guix.texi:24545
  35852. #, no-wrap
  35853. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  35854. msgstr ""
  35855. #. type: table
  35856. #: guix-git/doc/guix.texi:24458
  35857. msgid "The pid file used by the shepherd-service."
  35858. msgstr ""
  35859. #. type: item
  35860. #: guix-git/doc/guix.texi:24459
  35861. #, no-wrap
  35862. msgid "@code{config} (default: @code{(httpd-config-file)})"
  35863. msgstr ""
  35864. #. type: table
  35865. #: guix-git/doc/guix.texi:24464
  35866. 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."
  35867. msgstr ""
  35868. #. type: deffn
  35869. #: guix-git/doc/guix.texi:24468
  35870. #, no-wrap
  35871. msgid "{Data Type} httpd-module"
  35872. msgstr ""
  35873. #. type: deffn
  35874. #: guix-git/doc/guix.texi:24470
  35875. msgid "This data type represents a module for the httpd service."
  35876. msgstr ""
  35877. #. type: table
  35878. #: guix-git/doc/guix.texi:24474
  35879. msgid "The name of the module."
  35880. msgstr ""
  35881. #. type: table
  35882. #: guix-git/doc/guix.texi:24480
  35883. 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\")}."
  35884. msgstr ""
  35885. #. type: defvr
  35886. #: guix-git/doc/guix.texi:24484
  35887. #, no-wrap
  35888. msgid "{Scheme Variable} %default-httpd-modules"
  35889. msgstr ""
  35890. #. type: defvr
  35891. #: guix-git/doc/guix.texi:24486
  35892. msgid "A default list of @code{httpd-module} objects."
  35893. msgstr ""
  35894. #. type: deffn
  35895. #: guix-git/doc/guix.texi:24488
  35896. #, no-wrap
  35897. msgid "{Data Type} httpd-config-file"
  35898. msgstr ""
  35899. #. type: deffn
  35900. #: guix-git/doc/guix.texi:24490
  35901. msgid "This data type represents a configuration file for the httpd service."
  35902. msgstr ""
  35903. #. type: item
  35904. #: guix-git/doc/guix.texi:24492
  35905. #, no-wrap
  35906. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  35907. msgstr ""
  35908. #. type: table
  35909. #: guix-git/doc/guix.texi:24495
  35910. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  35911. msgstr ""
  35912. #. type: table
  35913. #: guix-git/doc/guix.texi:24498
  35914. 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}:"
  35915. msgstr ""
  35916. #. type: lisp
  35917. #: guix-git/doc/guix.texi:24520
  35918. #, no-wrap
  35919. msgid ""
  35920. "(service httpd-service-type\n"
  35921. " (httpd-configuration\n"
  35922. " (config\n"
  35923. " (httpd-config-file\n"
  35924. " (modules (cons*\n"
  35925. " (httpd-module\n"
  35926. " (name \"proxy_module\")\n"
  35927. " (file \"modules/mod_proxy.so\"))\n"
  35928. " (httpd-module\n"
  35929. " (name \"proxy_fcgi_module\")\n"
  35930. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  35931. " %default-httpd-modules))\n"
  35932. " (extra-config (list \"\\\n"
  35933. "<FilesMatch \\\\.php$>\n"
  35934. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  35935. "</FilesMatch>\"))))))\n"
  35936. "(service php-fpm-service-type\n"
  35937. " (php-fpm-configuration\n"
  35938. " (socket \"/var/run/php-fpm.sock\")\n"
  35939. " (socket-group \"httpd\")))\n"
  35940. msgstr ""
  35941. #. type: item
  35942. #: guix-git/doc/guix.texi:24522
  35943. #, no-wrap
  35944. msgid "@code{server-root} (default: @code{httpd})"
  35945. msgstr ""
  35946. #. type: table
  35947. #: guix-git/doc/guix.texi:24526
  35948. 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."
  35949. msgstr ""
  35950. #. type: item
  35951. #: guix-git/doc/guix.texi:24527
  35952. #, no-wrap
  35953. msgid "@code{server-name} (default: @code{#f})"
  35954. msgstr ""
  35955. #. type: table
  35956. #: guix-git/doc/guix.texi:24531
  35957. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  35958. msgstr ""
  35959. #. type: table
  35960. #: guix-git/doc/guix.texi:24535
  35961. 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}."
  35962. msgstr ""
  35963. #. type: item
  35964. #: guix-git/doc/guix.texi:24536
  35965. #, no-wrap
  35966. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  35967. msgstr ""
  35968. #. type: table
  35969. #: guix-git/doc/guix.texi:24538
  35970. msgid "The @code{DocumentRoot} from which files will be served."
  35971. msgstr ""
  35972. #. type: item
  35973. #: guix-git/doc/guix.texi:24539
  35974. #, no-wrap
  35975. msgid "@code{listen} (default: @code{'(\"80\")})"
  35976. msgstr ""
  35977. #. type: table
  35978. #: guix-git/doc/guix.texi:24544
  35979. 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."
  35980. msgstr ""
  35981. #. type: table
  35982. #: guix-git/doc/guix.texi:24549
  35983. 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."
  35984. msgstr ""
  35985. #. type: item
  35986. #: guix-git/doc/guix.texi:24550
  35987. #, no-wrap
  35988. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  35989. msgstr ""
  35990. #. type: table
  35991. #: guix-git/doc/guix.texi:24552
  35992. msgid "The @code{ErrorLog} to which the server will log errors."
  35993. msgstr ""
  35994. #. type: item
  35995. #: guix-git/doc/guix.texi:24553 guix-git/doc/guix.texi:25114
  35996. #, no-wrap
  35997. msgid "@code{user} (default: @code{\"httpd\"})"
  35998. msgstr ""
  35999. #. type: table
  36000. #: guix-git/doc/guix.texi:24555
  36001. msgid "The @code{User} which the server will answer requests as."
  36002. msgstr ""
  36003. #. type: item
  36004. #: guix-git/doc/guix.texi:24556
  36005. #, no-wrap
  36006. msgid "@code{group} (default: @code{\"httpd\"})"
  36007. msgstr ""
  36008. #. type: table
  36009. #: guix-git/doc/guix.texi:24558
  36010. msgid "The @code{Group} which the server will answer requests as."
  36011. msgstr ""
  36012. #. type: item
  36013. #: guix-git/doc/guix.texi:24559
  36014. #, no-wrap
  36015. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  36016. msgstr ""
  36017. #. type: table
  36018. #: guix-git/doc/guix.texi:24562
  36019. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  36020. msgstr ""
  36021. #. type: table
  36022. #: guix-git/doc/guix.texi:24565
  36023. msgid "Any values which the service is extended with will be appended to this list."
  36024. msgstr ""
  36025. #. type: deffn
  36026. #: guix-git/doc/guix.texi:24569
  36027. #, no-wrap
  36028. msgid "{Data Type} httpd-virtualhost"
  36029. msgstr ""
  36030. #. type: deffn
  36031. #: guix-git/doc/guix.texi:24571
  36032. msgid "This data type represents a virtualhost configuration block for the httpd service."
  36033. msgstr ""
  36034. #. type: deffn
  36035. #: guix-git/doc/guix.texi:24573
  36036. msgid "These should be added to the extra-config for the httpd-service."
  36037. msgstr ""
  36038. #. type: code{#1}
  36039. #: guix-git/doc/guix.texi:24585
  36040. #, no-wrap
  36041. msgid "addresses-and-ports"
  36042. msgstr ""
  36043. #. type: table
  36044. #: guix-git/doc/guix.texi:24587
  36045. msgid "The addresses and ports for the @code{VirtualHost} directive."
  36046. msgstr ""
  36047. #. type: code{#1}
  36048. #: guix-git/doc/guix.texi:24588
  36049. #, no-wrap
  36050. msgid "contents"
  36051. msgstr ""
  36052. #. type: table
  36053. #: guix-git/doc/guix.texi:24591
  36054. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  36055. msgstr ""
  36056. #. type: subsubheading
  36057. #: guix-git/doc/guix.texi:24595
  36058. #, no-wrap
  36059. msgid "NGINX"
  36060. msgstr ""
  36061. #. type: deffn
  36062. #: guix-git/doc/guix.texi:24597
  36063. #, no-wrap
  36064. msgid "{Scheme Variable} nginx-service-type"
  36065. msgstr ""
  36066. #. type: deffn
  36067. #: guix-git/doc/guix.texi:24600
  36068. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  36069. msgstr ""
  36070. #. type: lisp
  36071. #: guix-git/doc/guix.texi:24610 guix-git/doc/guix.texi:24664
  36072. #, no-wrap
  36073. msgid ""
  36074. "(service nginx-service-type\n"
  36075. " (nginx-configuration\n"
  36076. " (server-blocks\n"
  36077. " (list (nginx-server-configuration\n"
  36078. " (server-name '(\"www.example.com\"))\n"
  36079. " (root \"/srv/http/www.example.com\"))))))\n"
  36080. msgstr ""
  36081. #. type: deffn
  36082. #: guix-git/doc/guix.texi:24615
  36083. 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:"
  36084. msgstr ""
  36085. #. type: lisp
  36086. #: guix-git/doc/guix.texi:24621
  36087. #, no-wrap
  36088. msgid ""
  36089. "(simple-service 'my-extra-server nginx-service-type\n"
  36090. " (list (nginx-server-configuration\n"
  36091. " (root \"/srv/http/extra-website\")\n"
  36092. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  36093. msgstr ""
  36094. #. type: Plain text
  36095. #: guix-git/doc/guix.texi:24632
  36096. 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."
  36097. msgstr ""
  36098. #. type: deffn
  36099. #: guix-git/doc/guix.texi:24633
  36100. #, no-wrap
  36101. msgid "{Data Type} nginx-configuration"
  36102. msgstr ""
  36103. #. type: deffn
  36104. #: guix-git/doc/guix.texi:24637
  36105. 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."
  36106. msgstr ""
  36107. #. type: item
  36108. #: guix-git/doc/guix.texi:24639
  36109. #, no-wrap
  36110. msgid "@code{nginx} (default: @code{nginx})"
  36111. msgstr ""
  36112. #. type: table
  36113. #: guix-git/doc/guix.texi:24641
  36114. msgid "The nginx package to use."
  36115. msgstr ""
  36116. #. type: item
  36117. #: guix-git/doc/guix.texi:24642
  36118. #, no-wrap
  36119. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  36120. msgstr ""
  36121. #. type: table
  36122. #: guix-git/doc/guix.texi:24644
  36123. msgid "The directory to which NGinx will write log files."
  36124. msgstr ""
  36125. #. type: item
  36126. #: guix-git/doc/guix.texi:24645
  36127. #, no-wrap
  36128. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  36129. msgstr ""
  36130. #. type: table
  36131. #: guix-git/doc/guix.texi:24648
  36132. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  36133. msgstr ""
  36134. #. type: item
  36135. #: guix-git/doc/guix.texi:24649
  36136. #, no-wrap
  36137. msgid "@code{server-blocks} (default: @code{'()})"
  36138. msgstr ""
  36139. #. type: table
  36140. #: guix-git/doc/guix.texi:24653
  36141. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  36142. msgstr ""
  36143. #. type: table
  36144. #: guix-git/doc/guix.texi:24657
  36145. 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."
  36146. msgstr ""
  36147. #. type: item
  36148. #: guix-git/doc/guix.texi:24666
  36149. #, no-wrap
  36150. msgid "@code{upstream-blocks} (default: @code{'()})"
  36151. msgstr ""
  36152. #. type: table
  36153. #: guix-git/doc/guix.texi:24670
  36154. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  36155. msgstr ""
  36156. #. type: table
  36157. #: guix-git/doc/guix.texi:24677
  36158. 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."
  36159. msgstr ""
  36160. #. type: lisp
  36161. #: guix-git/doc/guix.texi:24696
  36162. #, no-wrap
  36163. msgid ""
  36164. "(service\n"
  36165. " nginx-service-type\n"
  36166. " (nginx-configuration\n"
  36167. " (server-blocks\n"
  36168. " (list (nginx-server-configuration\n"
  36169. " (server-name '(\"www.example.com\"))\n"
  36170. " (root \"/srv/http/www.example.com\")\n"
  36171. " (locations\n"
  36172. " (list\n"
  36173. " (nginx-location-configuration\n"
  36174. " (uri \"/path1\")\n"
  36175. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  36176. " (upstream-blocks\n"
  36177. " (list (nginx-upstream-configuration\n"
  36178. " (name \"server-proxy\")\n"
  36179. " (servers (list \"server1.example.com\"\n"
  36180. " \"server2.example.com\")))))))\n"
  36181. msgstr ""
  36182. #. type: table
  36183. #: guix-git/doc/guix.texi:24704
  36184. 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."
  36185. msgstr ""
  36186. #. type: table
  36187. #: guix-git/doc/guix.texi:24708
  36188. 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."
  36189. msgstr ""
  36190. #. type: item
  36191. #: guix-git/doc/guix.texi:24709
  36192. #, no-wrap
  36193. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  36194. msgstr ""
  36195. #. type: table
  36196. #: guix-git/doc/guix.texi:24712
  36197. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  36198. msgstr ""
  36199. #. type: item
  36200. #: guix-git/doc/guix.texi:24713
  36201. #, no-wrap
  36202. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  36203. msgstr ""
  36204. #. type: table
  36205. #: guix-git/doc/guix.texi:24715
  36206. msgid "Maximum bucket size for the server names hash tables."
  36207. msgstr ""
  36208. #. type: table
  36209. #: guix-git/doc/guix.texi:24719
  36210. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  36211. msgstr ""
  36212. #. type: lisp
  36213. #: guix-git/doc/guix.texi:24727
  36214. #, no-wrap
  36215. msgid ""
  36216. "(modules\n"
  36217. " (list\n"
  36218. " (file-append nginx-accept-language-module \"\\\n"
  36219. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  36220. " (file-append nginx-lua-module \"\\\n"
  36221. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  36222. msgstr ""
  36223. #. type: item
  36224. #: guix-git/doc/guix.texi:24729
  36225. #, no-wrap
  36226. msgid "@code{lua-package-path} (default: @code{'()})"
  36227. msgstr ""
  36228. #. type: table
  36229. #: guix-git/doc/guix.texi:24732
  36230. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  36231. msgstr ""
  36232. #. type: lisp
  36233. #: guix-git/doc/guix.texi:24739
  36234. #, no-wrap
  36235. msgid ""
  36236. "(lua-package-path (list lua-resty-core\n"
  36237. " lua-resty-lrucache\n"
  36238. " lua-resty-signal\n"
  36239. " lua-tablepool\n"
  36240. " lua-resty-shell))\n"
  36241. msgstr ""
  36242. #. type: item
  36243. #: guix-git/doc/guix.texi:24741
  36244. #, no-wrap
  36245. msgid "@code{lua-package-cpath} (default: @code{'()})"
  36246. msgstr ""
  36247. #. type: table
  36248. #: guix-git/doc/guix.texi:24744
  36249. 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:"
  36250. msgstr ""
  36251. #. type: lisp
  36252. #: guix-git/doc/guix.texi:24747
  36253. #, no-wrap
  36254. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  36255. msgstr ""
  36256. #. type: item
  36257. #: guix-git/doc/guix.texi:24749
  36258. #, no-wrap
  36259. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  36260. msgstr ""
  36261. #. type: table
  36262. #: guix-git/doc/guix.texi:24752
  36263. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  36264. msgstr ""
  36265. #. type: lisp
  36266. #: guix-git/doc/guix.texi:24758
  36267. #, no-wrap
  36268. msgid ""
  36269. "(global-directives\n"
  36270. " `((worker_processes . 16)\n"
  36271. " (pcre_jit . on)\n"
  36272. " (events . ((worker_connections . 1024)))))\n"
  36273. msgstr ""
  36274. #. type: table
  36275. #: guix-git/doc/guix.texi:24763
  36276. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  36277. msgstr ""
  36278. #. type: deftp
  36279. #: guix-git/doc/guix.texi:24767
  36280. #, no-wrap
  36281. msgid "{Data Type} nginx-server-configuration"
  36282. msgstr ""
  36283. #. type: deftp
  36284. #: guix-git/doc/guix.texi:24770
  36285. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  36286. msgstr ""
  36287. #. type: item
  36288. #: guix-git/doc/guix.texi:24772
  36289. #, no-wrap
  36290. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  36291. msgstr ""
  36292. #. type: table
  36293. #: guix-git/doc/guix.texi:24777
  36294. 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:"
  36295. msgstr ""
  36296. #. type: lisp
  36297. #: guix-git/doc/guix.texi:24780
  36298. #, no-wrap
  36299. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  36300. msgstr ""
  36301. #. type: item
  36302. #: guix-git/doc/guix.texi:24782
  36303. #, no-wrap
  36304. msgid "@code{server-name} (default: @code{(list 'default)})"
  36305. msgstr ""
  36306. #. type: table
  36307. #: guix-git/doc/guix.texi:24785
  36308. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  36309. msgstr ""
  36310. #. type: item
  36311. #: guix-git/doc/guix.texi:24786
  36312. #, no-wrap
  36313. msgid "@code{root} (default: @code{\"/srv/http\"})"
  36314. msgstr ""
  36315. #. type: table
  36316. #: guix-git/doc/guix.texi:24788
  36317. msgid "Root of the website nginx will serve."
  36318. msgstr ""
  36319. #. type: item
  36320. #: guix-git/doc/guix.texi:24789
  36321. #, no-wrap
  36322. msgid "@code{locations} (default: @code{'()})"
  36323. msgstr ""
  36324. #. type: table
  36325. #: guix-git/doc/guix.texi:24793
  36326. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  36327. msgstr ""
  36328. #. type: item
  36329. #: guix-git/doc/guix.texi:24794
  36330. #, no-wrap
  36331. msgid "@code{index} (default: @code{(list \"index.html\")})"
  36332. msgstr ""
  36333. #. type: table
  36334. #: guix-git/doc/guix.texi:24797
  36335. 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."
  36336. msgstr ""
  36337. #. type: item
  36338. #: guix-git/doc/guix.texi:24798
  36339. #, no-wrap
  36340. msgid "@code{try-files} (default: @code{'()})"
  36341. msgstr ""
  36342. #. type: table
  36343. #: guix-git/doc/guix.texi:24801
  36344. 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."
  36345. msgstr ""
  36346. #. type: item
  36347. #: guix-git/doc/guix.texi:24802
  36348. #, no-wrap
  36349. msgid "@code{ssl-certificate} (default: @code{#f})"
  36350. msgstr ""
  36351. #. type: table
  36352. #: guix-git/doc/guix.texi:24805
  36353. 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."
  36354. msgstr ""
  36355. #. type: item
  36356. #: guix-git/doc/guix.texi:24806
  36357. #, no-wrap
  36358. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  36359. msgstr ""
  36360. #. type: table
  36361. #: guix-git/doc/guix.texi:24809
  36362. 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."
  36363. msgstr ""
  36364. #. type: item
  36365. #: guix-git/doc/guix.texi:24810
  36366. #, no-wrap
  36367. msgid "@code{server-tokens?} (default: @code{#f})"
  36368. msgstr ""
  36369. #. type: table
  36370. #: guix-git/doc/guix.texi:24812
  36371. msgid "Whether the server should add its configuration to response."
  36372. msgstr ""
  36373. #. type: item
  36374. #: guix-git/doc/guix.texi:24813
  36375. #, no-wrap
  36376. msgid "@code{raw-content} (default: @code{'()})"
  36377. msgstr ""
  36378. #. type: table
  36379. #: guix-git/doc/guix.texi:24815
  36380. msgid "A list of raw lines added to the server block."
  36381. msgstr ""
  36382. #. type: deftp
  36383. #: guix-git/doc/guix.texi:24819
  36384. #, no-wrap
  36385. msgid "{Data Type} nginx-upstream-configuration"
  36386. msgstr ""
  36387. #. type: deftp
  36388. #: guix-git/doc/guix.texi:24822
  36389. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  36390. msgstr ""
  36391. #. type: table
  36392. #: guix-git/doc/guix.texi:24826
  36393. msgid "Name for this group of servers."
  36394. msgstr ""
  36395. #. type: code{#1}
  36396. #: guix-git/doc/guix.texi:24827
  36397. #, no-wrap
  36398. msgid "servers"
  36399. msgstr ""
  36400. #. type: table
  36401. #: guix-git/doc/guix.texi:24834
  36402. 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."
  36403. msgstr ""
  36404. #. type: deftp
  36405. #: guix-git/doc/guix.texi:24838
  36406. #, no-wrap
  36407. msgid "{Data Type} nginx-location-configuration"
  36408. msgstr ""
  36409. #. type: deftp
  36410. #: guix-git/doc/guix.texi:24841
  36411. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  36412. msgstr ""
  36413. #. type: table
  36414. #: guix-git/doc/guix.texi:24845
  36415. msgid "URI which this location block matches."
  36416. msgstr ""
  36417. #. type: anchor{#1}
  36418. #: guix-git/doc/guix.texi:24847
  36419. msgid "nginx-location-configuration body"
  36420. msgstr ""
  36421. #. type: code{#1}
  36422. #: guix-git/doc/guix.texi:24847 guix-git/doc/guix.texi:24868
  36423. #, no-wrap
  36424. msgid "body"
  36425. msgstr ""
  36426. #. type: table
  36427. #: guix-git/doc/guix.texi:24854
  36428. 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;\")}."
  36429. msgstr ""
  36430. #. type: deftp
  36431. #: guix-git/doc/guix.texi:24858
  36432. #, no-wrap
  36433. msgid "{Data Type} nginx-named-location-configuration"
  36434. msgstr ""
  36435. #. type: deftp
  36436. #: guix-git/doc/guix.texi:24863
  36437. 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:"
  36438. msgstr ""
  36439. #. type: table
  36440. #: guix-git/doc/guix.texi:24867
  36441. msgid "Name to identify this location block."
  36442. msgstr ""
  36443. #. type: table
  36444. #: guix-git/doc/guix.texi:24873
  36445. 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."
  36446. msgstr ""
  36447. #. type: subsubheading
  36448. #: guix-git/doc/guix.texi:24877
  36449. #, no-wrap
  36450. msgid "Varnish Cache"
  36451. msgstr ""
  36452. #. type: cindex
  36453. #: guix-git/doc/guix.texi:24878
  36454. #, no-wrap
  36455. msgid "Varnish"
  36456. msgstr ""
  36457. #. type: Plain text
  36458. #: guix-git/doc/guix.texi:24883
  36459. 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."
  36460. msgstr ""
  36461. #. type: defvr
  36462. #: guix-git/doc/guix.texi:24884
  36463. #, no-wrap
  36464. msgid "{Scheme Variable} varnish-service-type"
  36465. msgstr ""
  36466. #. type: defvr
  36467. #: guix-git/doc/guix.texi:24886
  36468. msgid "Service type for the Varnish daemon."
  36469. msgstr ""
  36470. #. type: deftp
  36471. #: guix-git/doc/guix.texi:24888
  36472. #, no-wrap
  36473. msgid "{Data Type} varnish-configuration"
  36474. msgstr ""
  36475. #. type: deftp
  36476. #: guix-git/doc/guix.texi:24891
  36477. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  36478. msgstr ""
  36479. #. type: item
  36480. #: guix-git/doc/guix.texi:24893
  36481. #, no-wrap
  36482. msgid "@code{package} (default: @code{varnish})"
  36483. msgstr ""
  36484. #. type: table
  36485. #: guix-git/doc/guix.texi:24895
  36486. msgid "The Varnish package to use."
  36487. msgstr ""
  36488. #. type: item
  36489. #: guix-git/doc/guix.texi:24896
  36490. #, no-wrap
  36491. msgid "@code{name} (default: @code{\"default\"})"
  36492. msgstr ""
  36493. #. type: table
  36494. #: guix-git/doc/guix.texi:24901
  36495. 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."
  36496. msgstr ""
  36497. #. type: table
  36498. #: guix-git/doc/guix.texi:24904
  36499. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  36500. msgstr ""
  36501. #. type: item
  36502. #: guix-git/doc/guix.texi:24905
  36503. #, no-wrap
  36504. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  36505. msgstr ""
  36506. #. type: table
  36507. #: guix-git/doc/guix.texi:24907
  36508. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  36509. msgstr ""
  36510. #. type: item
  36511. #: guix-git/doc/guix.texi:24908
  36512. #, no-wrap
  36513. msgid "@code{vcl} (default: #f)"
  36514. msgstr ""
  36515. #. type: table
  36516. #: guix-git/doc/guix.texi:24913
  36517. 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."
  36518. msgstr ""
  36519. #. type: table
  36520. #: guix-git/doc/guix.texi:24917
  36521. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  36522. msgstr ""
  36523. #. type: lisp
  36524. #: guix-git/doc/guix.texi:24923
  36525. #, no-wrap
  36526. msgid ""
  36527. "(define %gnu-mirror\n"
  36528. " (plain-file \"gnu.vcl\"\n"
  36529. " \"vcl 4.1;\n"
  36530. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  36531. "\n"
  36532. msgstr ""
  36533. #. type: lisp
  36534. #: guix-git/doc/guix.texi:24931
  36535. #, no-wrap
  36536. msgid ""
  36537. "(operating-system\n"
  36538. " ;; @dots{}\n"
  36539. " (services (cons (service varnish-service-type\n"
  36540. " (varnish-configuration\n"
  36541. " (listen '(\":80\"))\n"
  36542. " (vcl %gnu-mirror)))\n"
  36543. " %base-services)))\n"
  36544. msgstr ""
  36545. #. type: table
  36546. #: guix-git/doc/guix.texi:24935
  36547. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  36548. msgstr ""
  36549. #. type: table
  36550. #: guix-git/doc/guix.texi:24939
  36551. 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."
  36552. msgstr ""
  36553. #. type: item
  36554. #: guix-git/doc/guix.texi:24940
  36555. #, no-wrap
  36556. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  36557. msgstr ""
  36558. #. type: table
  36559. #: guix-git/doc/guix.texi:24942
  36560. msgid "List of addresses Varnish will listen on."
  36561. msgstr ""
  36562. #. type: item
  36563. #: guix-git/doc/guix.texi:24943
  36564. #, no-wrap
  36565. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  36566. msgstr ""
  36567. #. type: table
  36568. #: guix-git/doc/guix.texi:24945
  36569. msgid "List of storage backends that will be available in VCL."
  36570. msgstr ""
  36571. #. type: item
  36572. #: guix-git/doc/guix.texi:24946
  36573. #, no-wrap
  36574. msgid "@code{parameters} (default: @code{'()})"
  36575. msgstr ""
  36576. #. type: table
  36577. #: guix-git/doc/guix.texi:24948
  36578. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  36579. msgstr ""
  36580. #. type: table
  36581. #: guix-git/doc/guix.texi:24951
  36582. msgid "Additional arguments to pass to the @command{varnishd} process."
  36583. msgstr ""
  36584. #. type: cindex
  36585. #: guix-git/doc/guix.texi:24955 guix-git/doc/guix.texi:24956
  36586. #, no-wrap
  36587. msgid "Patchwork"
  36588. msgstr ""
  36589. #. type: Plain text
  36590. #: guix-git/doc/guix.texi:24959
  36591. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  36592. msgstr ""
  36593. #. type: defvr
  36594. #: guix-git/doc/guix.texi:24960
  36595. #, no-wrap
  36596. msgid "{Scheme Variable} patchwork-service-type"
  36597. msgstr ""
  36598. #. type: defvr
  36599. #: guix-git/doc/guix.texi:24962
  36600. msgid "Service type for Patchwork."
  36601. msgstr ""
  36602. #. type: Plain text
  36603. #: guix-git/doc/guix.texi:24966
  36604. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  36605. msgstr ""
  36606. #. type: lisp
  36607. #: guix-git/doc/guix.texi:24986
  36608. #, no-wrap
  36609. msgid ""
  36610. "(service patchwork-service-type\n"
  36611. " (patchwork-configuration\n"
  36612. " (domain \"patchwork.example.com\")\n"
  36613. " (settings-module\n"
  36614. " (patchwork-settings-module\n"
  36615. " (allowed-hosts (list domain))\n"
  36616. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  36617. " (getmail-retriever-config\n"
  36618. " (getmail-retriever-configuration\n"
  36619. " (type \"SimpleIMAPSSLRetriever\")\n"
  36620. " (server \"imap.example.com\")\n"
  36621. " (port 993)\n"
  36622. " (username \"patchwork\")\n"
  36623. " (password-command\n"
  36624. " (list (file-append coreutils \"/bin/cat\")\n"
  36625. " \"/etc/getmail-patchwork-imap-password\"))\n"
  36626. " (extra-parameters\n"
  36627. " '((mailboxes . (\"Patches\"))))))))\n"
  36628. "\n"
  36629. msgstr ""
  36630. #. type: Plain text
  36631. #: guix-git/doc/guix.texi:24992
  36632. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  36633. msgstr ""
  36634. #. type: Plain text
  36635. #: guix-git/doc/guix.texi:24996
  36636. 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."
  36637. msgstr ""
  36638. #. type: Plain text
  36639. #: guix-git/doc/guix.texi:25000
  36640. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  36641. msgstr ""
  36642. #. type: deftp
  36643. #: guix-git/doc/guix.texi:25001
  36644. #, no-wrap
  36645. msgid "{Data Type} patchwork-configuration"
  36646. msgstr ""
  36647. #. type: deftp
  36648. #: guix-git/doc/guix.texi:25004
  36649. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  36650. msgstr ""
  36651. #. type: item
  36652. #: guix-git/doc/guix.texi:25006
  36653. #, no-wrap
  36654. msgid "@code{patchwork} (default: @code{patchwork})"
  36655. msgstr ""
  36656. #. type: table
  36657. #: guix-git/doc/guix.texi:25008
  36658. msgid "The Patchwork package to use."
  36659. msgstr ""
  36660. #. type: code{#1}
  36661. #: guix-git/doc/guix.texi:25009
  36662. #, no-wrap
  36663. msgid "domain"
  36664. msgstr ""
  36665. #. type: table
  36666. #: guix-git/doc/guix.texi:25012
  36667. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  36668. msgstr ""
  36669. #. type: code{#1}
  36670. #: guix-git/doc/guix.texi:25013
  36671. #, no-wrap
  36672. msgid "settings-module"
  36673. msgstr ""
  36674. #. type: table
  36675. #: guix-git/doc/guix.texi:25019
  36676. 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."
  36677. msgstr ""
  36678. #. type: item
  36679. #: guix-git/doc/guix.texi:25020
  36680. #, no-wrap
  36681. msgid "@code{static-path} (default: @code{\"/static/\"})"
  36682. msgstr ""
  36683. #. type: table
  36684. #: guix-git/doc/guix.texi:25022
  36685. msgid "The path under which the HTTPD service should serve the static files."
  36686. msgstr ""
  36687. #. type: code{#1}
  36688. #: guix-git/doc/guix.texi:25023
  36689. #, no-wrap
  36690. msgid "getmail-retriever-config"
  36691. msgstr ""
  36692. #. type: table
  36693. #: guix-git/doc/guix.texi:25027
  36694. 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."
  36695. msgstr ""
  36696. #. type: deftp
  36697. #: guix-git/doc/guix.texi:25031
  36698. #, no-wrap
  36699. msgid "{Data Type} patchwork-settings-module"
  36700. msgstr ""
  36701. #. type: deftp
  36702. #: guix-git/doc/guix.texi:25036
  36703. 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:"
  36704. msgstr ""
  36705. #. type: item
  36706. #: guix-git/doc/guix.texi:25038
  36707. #, no-wrap
  36708. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  36709. msgstr ""
  36710. #. type: table
  36711. #: guix-git/doc/guix.texi:25041
  36712. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  36713. msgstr ""
  36714. #. type: item
  36715. #: guix-git/doc/guix.texi:25042
  36716. #, no-wrap
  36717. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  36718. msgstr ""
  36719. #. type: table
  36720. #: guix-git/doc/guix.texi:25045
  36721. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  36722. msgstr ""
  36723. #. type: table
  36724. #: guix-git/doc/guix.texi:25048
  36725. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  36726. msgstr ""
  36727. #. type: table
  36728. #: guix-git/doc/guix.texi:25050
  36729. msgid "This setting relates to Django."
  36730. msgstr ""
  36731. #. type: code{#1}
  36732. #: guix-git/doc/guix.texi:25051
  36733. #, no-wrap
  36734. msgid "allowed-hosts"
  36735. msgstr ""
  36736. #. type: table
  36737. #: guix-git/doc/guix.texi:25054
  36738. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  36739. msgstr ""
  36740. #. type: table
  36741. #: guix-git/doc/guix.texi:25056 guix-git/doc/guix.texi:25070
  36742. #: guix-git/doc/guix.texi:25076 guix-git/doc/guix.texi:25082
  36743. msgid "This is a Django setting."
  36744. msgstr ""
  36745. #. type: code{#1}
  36746. #: guix-git/doc/guix.texi:25057
  36747. #, no-wrap
  36748. msgid "default-from-email"
  36749. msgstr ""
  36750. #. type: table
  36751. #: guix-git/doc/guix.texi:25059
  36752. msgid "The email address from which Patchwork should send email by default."
  36753. msgstr ""
  36754. #. type: table
  36755. #: guix-git/doc/guix.texi:25061 guix-git/doc/guix.texi:25087
  36756. #: guix-git/doc/guix.texi:25092 guix-git/doc/guix.texi:25097
  36757. msgid "This is a Patchwork setting."
  36758. msgstr ""
  36759. #. type: item
  36760. #: guix-git/doc/guix.texi:25062
  36761. #, no-wrap
  36762. msgid "@code{static-url} (default: @code{#f})"
  36763. msgstr ""
  36764. #. type: table
  36765. #: guix-git/doc/guix.texi:25065
  36766. 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{/}."
  36767. msgstr ""
  36768. #. type: table
  36769. #: guix-git/doc/guix.texi:25068
  36770. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  36771. msgstr ""
  36772. #. type: item
  36773. #: guix-git/doc/guix.texi:25071
  36774. #, no-wrap
  36775. msgid "@code{admins} (default: @code{'()})"
  36776. msgstr ""
  36777. #. type: table
  36778. #: guix-git/doc/guix.texi:25074
  36779. 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."
  36780. msgstr ""
  36781. #. type: table
  36782. #: guix-git/doc/guix.texi:25080
  36783. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  36784. msgstr ""
  36785. #. type: item
  36786. #: guix-git/doc/guix.texi:25083
  36787. #, no-wrap
  36788. msgid "@code{enable-rest-api?} (default: @code{#t})"
  36789. msgstr ""
  36790. #. type: table
  36791. #: guix-git/doc/guix.texi:25085
  36792. msgid "Whether to enable the Patchwork REST API."
  36793. msgstr ""
  36794. #. type: item
  36795. #: guix-git/doc/guix.texi:25088
  36796. #, no-wrap
  36797. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  36798. msgstr ""
  36799. #. type: table
  36800. #: guix-git/doc/guix.texi:25090
  36801. msgid "Whether to enable the XML RPC API."
  36802. msgstr ""
  36803. #. type: item
  36804. #: guix-git/doc/guix.texi:25093
  36805. #, no-wrap
  36806. msgid "@code{force-https-links?} (default: @code{#t})"
  36807. msgstr ""
  36808. #. type: table
  36809. #: guix-git/doc/guix.texi:25095
  36810. msgid "Whether to use HTTPS links on Patchwork pages."
  36811. msgstr ""
  36812. #. type: table
  36813. #: guix-git/doc/guix.texi:25100
  36814. msgid "Extra code to place at the end of the Patchwork settings module."
  36815. msgstr ""
  36816. #. type: deftp
  36817. #: guix-git/doc/guix.texi:25104
  36818. #, no-wrap
  36819. msgid "{Data Type} patchwork-database-configuration"
  36820. msgstr ""
  36821. #. type: deftp
  36822. #: guix-git/doc/guix.texi:25106
  36823. msgid "Data type representing the database configuration for Patchwork."
  36824. msgstr ""
  36825. #. type: item
  36826. #: guix-git/doc/guix.texi:25108
  36827. #, no-wrap
  36828. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  36829. msgstr ""
  36830. #. type: table
  36831. #: guix-git/doc/guix.texi:25110
  36832. msgid "The database engine to use."
  36833. msgstr ""
  36834. #. type: item
  36835. #: guix-git/doc/guix.texi:25111
  36836. #, no-wrap
  36837. msgid "@code{name} (default: @code{\"patchwork\"})"
  36838. msgstr ""
  36839. #. type: table
  36840. #: guix-git/doc/guix.texi:25113
  36841. msgid "The name of the database to use."
  36842. msgstr ""
  36843. #. type: table
  36844. #: guix-git/doc/guix.texi:25116
  36845. msgid "The user to connect to the database as."
  36846. msgstr ""
  36847. #. type: item
  36848. #: guix-git/doc/guix.texi:25117
  36849. #, no-wrap
  36850. msgid "@code{password} (default: @code{\"\"})"
  36851. msgstr ""
  36852. #. type: table
  36853. #: guix-git/doc/guix.texi:25119
  36854. msgid "The password to use when connecting to the database."
  36855. msgstr ""
  36856. #. type: item
  36857. #: guix-git/doc/guix.texi:25120
  36858. #, no-wrap
  36859. msgid "@code{host} (default: @code{\"\"})"
  36860. msgstr ""
  36861. #. type: table
  36862. #: guix-git/doc/guix.texi:25122
  36863. msgid "The host to make the database connection to."
  36864. msgstr ""
  36865. #. type: item
  36866. #: guix-git/doc/guix.texi:25123
  36867. #, no-wrap
  36868. msgid "@code{port} (default: @code{\"\"})"
  36869. msgstr ""
  36870. #. type: table
  36871. #: guix-git/doc/guix.texi:25125
  36872. msgid "The port on which to connect to the database."
  36873. msgstr ""
  36874. #. type: subsubheading
  36875. #: guix-git/doc/guix.texi:25129
  36876. #, no-wrap
  36877. msgid "Mumi"
  36878. msgstr ""
  36879. #. type: cindex
  36880. #: guix-git/doc/guix.texi:25131
  36881. #, no-wrap
  36882. msgid "Mumi, Debbugs Web interface"
  36883. msgstr ""
  36884. #. type: cindex
  36885. #: guix-git/doc/guix.texi:25132
  36886. #, no-wrap
  36887. msgid "Debbugs, Mumi Web interface"
  36888. msgstr ""
  36889. #. type: Plain text
  36890. #: guix-git/doc/guix.texi:25137
  36891. 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."
  36892. msgstr ""
  36893. #. type: defvr
  36894. #: guix-git/doc/guix.texi:25138
  36895. #, no-wrap
  36896. msgid "{Scheme Variable} mumi-service-type"
  36897. msgstr ""
  36898. #. type: defvr
  36899. #: guix-git/doc/guix.texi:25140
  36900. msgid "This is the service type for Mumi."
  36901. msgstr ""
  36902. #. type: deftp
  36903. #: guix-git/doc/guix.texi:25142
  36904. #, no-wrap
  36905. msgid "{Data Type} mumi-configuration"
  36906. msgstr ""
  36907. #. type: deftp
  36908. #: guix-git/doc/guix.texi:25145
  36909. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  36910. msgstr ""
  36911. #. type: item
  36912. #: guix-git/doc/guix.texi:25147
  36913. #, no-wrap
  36914. msgid "@code{mumi} (default: @code{mumi})"
  36915. msgstr ""
  36916. #. type: table
  36917. #: guix-git/doc/guix.texi:25149
  36918. msgid "The Mumi package to use."
  36919. msgstr ""
  36920. #. type: item
  36921. #: guix-git/doc/guix.texi:25150
  36922. #, no-wrap
  36923. msgid "@code{mailer?} (default: @code{#true})"
  36924. msgstr ""
  36925. #. type: table
  36926. #: guix-git/doc/guix.texi:25152
  36927. msgid "Whether to enable or disable the mailer component."
  36928. msgstr ""
  36929. #. type: code{#1}
  36930. #: guix-git/doc/guix.texi:25153
  36931. #, no-wrap
  36932. msgid "mumi-configuration-sender"
  36933. msgstr ""
  36934. #. type: table
  36935. #: guix-git/doc/guix.texi:25155
  36936. msgid "The email address used as the sender for comments."
  36937. msgstr ""
  36938. #. type: code{#1}
  36939. #: guix-git/doc/guix.texi:25156
  36940. #, no-wrap
  36941. msgid "mumi-configuration-smtp"
  36942. msgstr ""
  36943. #. type: table
  36944. #: guix-git/doc/guix.texi:25161
  36945. 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}."
  36946. msgstr ""
  36947. #. type: subsubheading
  36948. #: guix-git/doc/guix.texi:25166
  36949. #, no-wrap
  36950. msgid "FastCGI"
  36951. msgstr ""
  36952. #. type: cindex
  36953. #: guix-git/doc/guix.texi:25167
  36954. #, no-wrap
  36955. msgid "fastcgi"
  36956. msgstr ""
  36957. #. type: cindex
  36958. #: guix-git/doc/guix.texi:25168
  36959. #, no-wrap
  36960. msgid "fcgiwrap"
  36961. msgstr ""
  36962. #. type: Plain text
  36963. #: guix-git/doc/guix.texi:25175
  36964. 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."
  36965. msgstr ""
  36966. #. type: Plain text
  36967. #: guix-git/doc/guix.texi:25182
  36968. 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."
  36969. msgstr ""
  36970. #. type: defvr
  36971. #: guix-git/doc/guix.texi:25183
  36972. #, no-wrap
  36973. msgid "{Scheme Variable} fcgiwrap-service-type"
  36974. msgstr ""
  36975. #. type: defvr
  36976. #: guix-git/doc/guix.texi:25185
  36977. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  36978. msgstr ""
  36979. #. type: deftp
  36980. #: guix-git/doc/guix.texi:25187
  36981. #, no-wrap
  36982. msgid "{Data Type} fcgiwrap-configuration"
  36983. msgstr ""
  36984. #. type: deftp
  36985. #: guix-git/doc/guix.texi:25190
  36986. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  36987. msgstr ""
  36988. #. type: item
  36989. #: guix-git/doc/guix.texi:25191
  36990. #, no-wrap
  36991. msgid "@code{package} (default: @code{fcgiwrap})"
  36992. msgstr ""
  36993. #. type: table
  36994. #: guix-git/doc/guix.texi:25193
  36995. msgid "The fcgiwrap package to use."
  36996. msgstr ""
  36997. #. type: item
  36998. #: guix-git/doc/guix.texi:25194
  36999. #, no-wrap
  37000. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  37001. msgstr ""
  37002. #. type: table
  37003. #: guix-git/doc/guix.texi:25200
  37004. 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}."
  37005. msgstr ""
  37006. #. type: item
  37007. #: guix-git/doc/guix.texi:25201
  37008. #, no-wrap
  37009. msgid "@code{user} (default: @code{fcgiwrap})"
  37010. msgstr ""
  37011. #. type: itemx
  37012. #: guix-git/doc/guix.texi:25202
  37013. #, no-wrap
  37014. msgid "@code{group} (default: @code{fcgiwrap})"
  37015. msgstr ""
  37016. #. type: table
  37017. #: guix-git/doc/guix.texi:25207
  37018. 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."
  37019. msgstr ""
  37020. #. type: table
  37021. #: guix-git/doc/guix.texi:25214
  37022. 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."
  37023. msgstr ""
  37024. #. type: cindex
  37025. #: guix-git/doc/guix.texi:25217
  37026. #, no-wrap
  37027. msgid "php-fpm"
  37028. msgstr ""
  37029. #. type: Plain text
  37030. #: guix-git/doc/guix.texi:25220
  37031. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  37032. msgstr ""
  37033. #. type: Plain text
  37034. #: guix-git/doc/guix.texi:25222
  37035. msgid "These features include:"
  37036. msgstr ""
  37037. #. type: item
  37038. #: guix-git/doc/guix.texi:25223
  37039. #, no-wrap
  37040. msgid "Adaptive process spawning"
  37041. msgstr ""
  37042. #. type: item
  37043. #: guix-git/doc/guix.texi:25224
  37044. #, no-wrap
  37045. msgid "Basic statistics (similar to Apache's mod_status)"
  37046. msgstr ""
  37047. #. type: item
  37048. #: guix-git/doc/guix.texi:25225
  37049. #, no-wrap
  37050. msgid "Advanced process management with graceful stop/start"
  37051. msgstr ""
  37052. #. type: item
  37053. #: guix-git/doc/guix.texi:25226
  37054. #, no-wrap
  37055. msgid "Ability to start workers with different uid/gid/chroot/environment"
  37056. msgstr ""
  37057. #. type: itemize
  37058. #: guix-git/doc/guix.texi:25228
  37059. msgid "and different php.ini (replaces safe_mode)"
  37060. msgstr ""
  37061. #. type: item
  37062. #: guix-git/doc/guix.texi:25228
  37063. #, no-wrap
  37064. msgid "Stdout & stderr logging"
  37065. msgstr ""
  37066. #. type: item
  37067. #: guix-git/doc/guix.texi:25229
  37068. #, no-wrap
  37069. msgid "Emergency restart in case of accidental opcode cache destruction"
  37070. msgstr ""
  37071. #. type: item
  37072. #: guix-git/doc/guix.texi:25230
  37073. #, no-wrap
  37074. msgid "Accelerated upload support"
  37075. msgstr ""
  37076. #. type: item
  37077. #: guix-git/doc/guix.texi:25231
  37078. #, no-wrap
  37079. msgid "Support for a \"slowlog\""
  37080. msgstr ""
  37081. #. type: item
  37082. #: guix-git/doc/guix.texi:25232
  37083. #, no-wrap
  37084. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  37085. msgstr ""
  37086. #. type: itemize
  37087. #: guix-git/doc/guix.texi:25235
  37088. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  37089. msgstr ""
  37090. #. type: Plain text
  37091. #: guix-git/doc/guix.texi:25237
  37092. msgid "...@: and much more."
  37093. msgstr ""
  37094. #. type: defvr
  37095. #: guix-git/doc/guix.texi:25238
  37096. #, no-wrap
  37097. msgid "{Scheme Variable} php-fpm-service-type"
  37098. msgstr ""
  37099. #. type: defvr
  37100. #: guix-git/doc/guix.texi:25240
  37101. msgid "A Service type for @code{php-fpm}."
  37102. msgstr ""
  37103. #. type: deftp
  37104. #: guix-git/doc/guix.texi:25242
  37105. #, no-wrap
  37106. msgid "{Data Type} php-fpm-configuration"
  37107. msgstr ""
  37108. #. type: deftp
  37109. #: guix-git/doc/guix.texi:25244
  37110. msgid "Data Type for php-fpm service configuration."
  37111. msgstr ""
  37112. #. type: item
  37113. #: guix-git/doc/guix.texi:25245
  37114. #, no-wrap
  37115. msgid "@code{php} (default: @code{php})"
  37116. msgstr ""
  37117. #. type: table
  37118. #: guix-git/doc/guix.texi:25247
  37119. msgid "The php package to use."
  37120. msgstr ""
  37121. #. type: item
  37122. #: guix-git/doc/guix.texi:25247
  37123. #, no-wrap
  37124. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  37125. msgstr ""
  37126. #. type: table
  37127. #: guix-git/doc/guix.texi:25249
  37128. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  37129. msgstr ""
  37130. #. type: code{#1}
  37131. #: guix-git/doc/guix.texi:25250
  37132. #, no-wrap
  37133. msgid "\"ip.add.re.ss:port\""
  37134. msgstr ""
  37135. #. type: table
  37136. #: guix-git/doc/guix.texi:25252
  37137. msgid "Listen on a TCP socket to a specific address on a specific port."
  37138. msgstr ""
  37139. #. type: code{#1}
  37140. #: guix-git/doc/guix.texi:25252
  37141. #, no-wrap
  37142. msgid "\"port\""
  37143. msgstr ""
  37144. #. type: table
  37145. #: guix-git/doc/guix.texi:25254
  37146. msgid "Listen on a TCP socket to all addresses on a specific port."
  37147. msgstr ""
  37148. #. type: code{#1}
  37149. #: guix-git/doc/guix.texi:25254
  37150. #, no-wrap
  37151. msgid "\"/path/to/unix/socket\""
  37152. msgstr ""
  37153. #. type: table
  37154. #: guix-git/doc/guix.texi:25256
  37155. msgid "Listen on a unix socket."
  37156. msgstr ""
  37157. #. type: item
  37158. #: guix-git/doc/guix.texi:25258
  37159. #, no-wrap
  37160. msgid "@code{user} (default: @code{php-fpm})"
  37161. msgstr ""
  37162. #. type: table
  37163. #: guix-git/doc/guix.texi:25260
  37164. msgid "User who will own the php worker processes."
  37165. msgstr ""
  37166. #. type: item
  37167. #: guix-git/doc/guix.texi:25260
  37168. #, no-wrap
  37169. msgid "@code{group} (default: @code{php-fpm})"
  37170. msgstr ""
  37171. #. type: table
  37172. #: guix-git/doc/guix.texi:25262
  37173. msgid "Group of the worker processes."
  37174. msgstr ""
  37175. #. type: item
  37176. #: guix-git/doc/guix.texi:25262
  37177. #, no-wrap
  37178. msgid "@code{socket-user} (default: @code{php-fpm})"
  37179. msgstr ""
  37180. #. type: table
  37181. #: guix-git/doc/guix.texi:25264
  37182. msgid "User who can speak to the php-fpm socket."
  37183. msgstr ""
  37184. #. type: item
  37185. #: guix-git/doc/guix.texi:25264
  37186. #, no-wrap
  37187. msgid "@code{socket-group} (default: @code{nginx})"
  37188. msgstr ""
  37189. #. type: table
  37190. #: guix-git/doc/guix.texi:25266
  37191. msgid "Group that can speak to the php-fpm socket."
  37192. msgstr ""
  37193. #. type: item
  37194. #: guix-git/doc/guix.texi:25266
  37195. #, no-wrap
  37196. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  37197. msgstr ""
  37198. #. type: table
  37199. #: guix-git/doc/guix.texi:25269
  37200. msgid "The process id of the php-fpm process is written to this file once the service has started."
  37201. msgstr ""
  37202. #. type: item
  37203. #: guix-git/doc/guix.texi:25269
  37204. #, no-wrap
  37205. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  37206. msgstr ""
  37207. #. type: table
  37208. #: guix-git/doc/guix.texi:25271
  37209. msgid "Log for the php-fpm master process."
  37210. msgstr ""
  37211. #. type: item
  37212. #: guix-git/doc/guix.texi:25271
  37213. #, no-wrap
  37214. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  37215. msgstr ""
  37216. #. type: table
  37217. #: guix-git/doc/guix.texi:25274
  37218. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  37219. msgstr ""
  37220. #. type: code{#1}
  37221. #: guix-git/doc/guix.texi:25275
  37222. #, no-wrap
  37223. msgid "<php-fpm-dynamic-process-manager-configuration>"
  37224. msgstr ""
  37225. #. type: code{#1}
  37226. #: guix-git/doc/guix.texi:25276
  37227. #, no-wrap
  37228. msgid "<php-fpm-static-process-manager-configuration>"
  37229. msgstr ""
  37230. #. type: code{#1}
  37231. #: guix-git/doc/guix.texi:25277
  37232. #, no-wrap
  37233. msgid "<php-fpm-on-demand-process-manager-configuration>"
  37234. msgstr ""
  37235. #. type: item
  37236. #: guix-git/doc/guix.texi:25279
  37237. #, no-wrap
  37238. msgid "@code{display-errors} (default @code{#f})"
  37239. msgstr ""
  37240. #. type: table
  37241. #: guix-git/doc/guix.texi:25284
  37242. 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."
  37243. msgstr ""
  37244. #. type: item
  37245. #: guix-git/doc/guix.texi:25284
  37246. #, no-wrap
  37247. msgid "@code{timezone} (default @code{#f})"
  37248. msgstr ""
  37249. #. type: table
  37250. #: guix-git/doc/guix.texi:25286
  37251. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  37252. msgstr ""
  37253. #. type: item
  37254. #: guix-git/doc/guix.texi:25286
  37255. #, no-wrap
  37256. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  37257. msgstr ""
  37258. #. type: table
  37259. #: guix-git/doc/guix.texi:25289
  37260. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  37261. msgstr ""
  37262. #. type: item
  37263. #: guix-git/doc/guix.texi:25289
  37264. #, no-wrap
  37265. msgid "@code{file} (default @code{#f})"
  37266. msgstr ""
  37267. #. type: table
  37268. #: guix-git/doc/guix.texi:25292
  37269. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  37270. msgstr ""
  37271. #. type: item
  37272. #: guix-git/doc/guix.texi:25292
  37273. #, no-wrap
  37274. msgid "@code{php-ini-file} (default @code{#f})"
  37275. msgstr ""
  37276. #. type: table
  37277. #: guix-git/doc/guix.texi:25296
  37278. 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."
  37279. msgstr ""
  37280. #. type: table
  37281. #: guix-git/doc/guix.texi:25300
  37282. 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:"
  37283. msgstr ""
  37284. #. type: lisp
  37285. #: guix-git/doc/guix.texi:25305
  37286. #, no-wrap
  37287. msgid ""
  37288. "(define %local-php-ini\n"
  37289. " (plain-file \"php.ini\"\n"
  37290. " \"memory_limit = 2G\n"
  37291. "max_execution_time = 1800\"))\n"
  37292. "\n"
  37293. msgstr ""
  37294. #. type: lisp
  37295. #: guix-git/doc/guix.texi:25312
  37296. #, no-wrap
  37297. msgid ""
  37298. "(operating-system\n"
  37299. " ;; @dots{}\n"
  37300. " (services (cons (service php-fpm-service-type\n"
  37301. " (php-fpm-configuration\n"
  37302. " (php-ini-file %local-php-ini)))\n"
  37303. " %base-services)))\n"
  37304. msgstr ""
  37305. #. type: table
  37306. #: guix-git/doc/guix.texi:25317
  37307. 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."
  37308. msgstr ""
  37309. #. type: deftp
  37310. #: guix-git/doc/guix.texi:25320
  37311. #, no-wrap
  37312. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  37313. msgstr ""
  37314. #. type: deftp
  37315. #: guix-git/doc/guix.texi:25324
  37316. 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 it's configured limits."
  37317. msgstr ""
  37318. #. type: item
  37319. #: guix-git/doc/guix.texi:25325 guix-git/doc/guix.texi:25341
  37320. #: guix-git/doc/guix.texi:25351
  37321. #, no-wrap
  37322. msgid "@code{max-children} (default: @code{5})"
  37323. msgstr ""
  37324. #. type: table
  37325. #: guix-git/doc/guix.texi:25327 guix-git/doc/guix.texi:25343
  37326. #: guix-git/doc/guix.texi:25353
  37327. msgid "Maximum of worker processes."
  37328. msgstr ""
  37329. #. type: item
  37330. #: guix-git/doc/guix.texi:25327
  37331. #, no-wrap
  37332. msgid "@code{start-servers} (default: @code{2})"
  37333. msgstr ""
  37334. #. type: table
  37335. #: guix-git/doc/guix.texi:25329
  37336. msgid "How many worker processes should be started on start-up."
  37337. msgstr ""
  37338. #. type: item
  37339. #: guix-git/doc/guix.texi:25329
  37340. #, no-wrap
  37341. msgid "@code{min-spare-servers} (default: @code{1})"
  37342. msgstr ""
  37343. #. type: table
  37344. #: guix-git/doc/guix.texi:25331
  37345. msgid "How many spare worker processes should be kept around at minimum."
  37346. msgstr ""
  37347. #. type: item
  37348. #: guix-git/doc/guix.texi:25331
  37349. #, no-wrap
  37350. msgid "@code{max-spare-servers} (default: @code{3})"
  37351. msgstr ""
  37352. #. type: table
  37353. #: guix-git/doc/guix.texi:25333
  37354. msgid "How many spare worker processes should be kept around at maximum."
  37355. msgstr ""
  37356. #. type: deftp
  37357. #: guix-git/doc/guix.texi:25336
  37358. #, no-wrap
  37359. msgid "{Data type} php-fpm-static-process-manager-configuration"
  37360. msgstr ""
  37361. #. type: deftp
  37362. #: guix-git/doc/guix.texi:25340
  37363. 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."
  37364. msgstr ""
  37365. #. type: deftp
  37366. #: guix-git/doc/guix.texi:25346
  37367. #, no-wrap
  37368. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  37369. msgstr ""
  37370. #. type: deftp
  37371. #: guix-git/doc/guix.texi:25350
  37372. 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."
  37373. msgstr ""
  37374. #. type: item
  37375. #: guix-git/doc/guix.texi:25353
  37376. #, no-wrap
  37377. msgid "@code{process-idle-timeout} (default: @code{10})"
  37378. msgstr ""
  37379. #. type: table
  37380. #: guix-git/doc/guix.texi:25355
  37381. msgid "The time in seconds after which a process with no requests is killed."
  37382. msgstr ""
  37383. #. type: deffn
  37384. #: guix-git/doc/guix.texi:25359
  37385. #, no-wrap
  37386. msgid "{Scheme Procedure} nginx-php-location @"
  37387. msgstr ""
  37388. #. type: deffn
  37389. #: guix-git/doc/guix.texi:25365
  37390. 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}."
  37391. msgstr ""
  37392. #. type: Plain text
  37393. #: guix-git/doc/guix.texi:25368
  37394. msgid "A simple services setup for nginx with php can look like this:"
  37395. msgstr ""
  37396. #. type: lisp
  37397. #: guix-git/doc/guix.texi:25381
  37398. #, no-wrap
  37399. msgid ""
  37400. "(services (cons* (service dhcp-client-service-type)\n"
  37401. " (service php-fpm-service-type)\n"
  37402. " (service nginx-service-type\n"
  37403. " (nginx-server-configuration\n"
  37404. " (server-name '(\"example.com\"))\n"
  37405. " (root \"/srv/http/\")\n"
  37406. " (locations\n"
  37407. " (list (nginx-php-location)))\n"
  37408. " (listen '(\"80\"))\n"
  37409. " (ssl-certificate #f)\n"
  37410. " (ssl-certificate-key #f)))\n"
  37411. " %base-services))\n"
  37412. msgstr ""
  37413. #. type: cindex
  37414. #: guix-git/doc/guix.texi:25383
  37415. #, no-wrap
  37416. msgid "cat-avatar-generator"
  37417. msgstr ""
  37418. #. type: Plain text
  37419. #: guix-git/doc/guix.texi:25387
  37420. 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."
  37421. msgstr ""
  37422. #. type: deffn
  37423. #: guix-git/doc/guix.texi:25388
  37424. #, no-wrap
  37425. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  37426. msgstr ""
  37427. #. type: deffn
  37428. #: guix-git/doc/guix.texi:25396
  37429. 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."
  37430. msgstr ""
  37431. #. type: Plain text
  37432. #: guix-git/doc/guix.texi:25399
  37433. msgid "A simple setup for cat-avatar-generator can look like this:"
  37434. msgstr ""
  37435. #. type: lisp
  37436. #: guix-git/doc/guix.texi:25406
  37437. #, no-wrap
  37438. msgid ""
  37439. "(services (cons* (cat-avatar-generator-service\n"
  37440. " #:configuration\n"
  37441. " (nginx-server-configuration\n"
  37442. " (server-name '(\"example.com\"))))\n"
  37443. " ...\n"
  37444. " %base-services))\n"
  37445. msgstr ""
  37446. #. type: subsubheading
  37447. #: guix-git/doc/guix.texi:25408
  37448. #, no-wrap
  37449. msgid "Hpcguix-web"
  37450. msgstr ""
  37451. #. type: cindex
  37452. #: guix-git/doc/guix.texi:25410
  37453. #, no-wrap
  37454. msgid "hpcguix-web"
  37455. msgstr ""
  37456. #. type: Plain text
  37457. #: guix-git/doc/guix.texi:25415
  37458. 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."
  37459. msgstr ""
  37460. #. type: defvr
  37461. #: guix-git/doc/guix.texi:25416
  37462. #, no-wrap
  37463. msgid "{Scheme Variable} hpcguix-web-service-type"
  37464. msgstr ""
  37465. #. type: defvr
  37466. #: guix-git/doc/guix.texi:25418
  37467. msgid "The service type for @code{hpcguix-web}."
  37468. msgstr ""
  37469. #. type: deftp
  37470. #: guix-git/doc/guix.texi:25420
  37471. #, no-wrap
  37472. msgid "{Data Type} hpcguix-web-configuration"
  37473. msgstr ""
  37474. #. type: deftp
  37475. #: guix-git/doc/guix.texi:25422
  37476. msgid "Data type for the hpcguix-web service configuration."
  37477. msgstr ""
  37478. #. type: code{#1}
  37479. #: guix-git/doc/guix.texi:25424
  37480. #, no-wrap
  37481. msgid "specs"
  37482. msgstr ""
  37483. #. type: table
  37484. #: guix-git/doc/guix.texi:25427
  37485. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  37486. msgstr ""
  37487. #. type: item
  37488. #: guix-git/doc/guix.texi:25429
  37489. #, no-wrap
  37490. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  37491. msgstr ""
  37492. #. type: table
  37493. #: guix-git/doc/guix.texi:25431
  37494. msgid "The page title prefix."
  37495. msgstr ""
  37496. #. type: item
  37497. #: guix-git/doc/guix.texi:25432
  37498. #, no-wrap
  37499. msgid "@code{guix-command} (default: @code{\"guix\"})"
  37500. msgstr ""
  37501. #. type: table
  37502. #: guix-git/doc/guix.texi:25434
  37503. msgid "The @command{guix} command."
  37504. msgstr ""
  37505. #. type: item
  37506. #: guix-git/doc/guix.texi:25435
  37507. #, no-wrap
  37508. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  37509. msgstr ""
  37510. #. type: table
  37511. #: guix-git/doc/guix.texi:25437
  37512. msgid "A procedure specifying how to filter packages that are displayed."
  37513. msgstr ""
  37514. #. type: item
  37515. #: guix-git/doc/guix.texi:25438
  37516. #, no-wrap
  37517. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  37518. msgstr ""
  37519. #. type: table
  37520. #: guix-git/doc/guix.texi:25440
  37521. msgid "Extension package for @code{hpcguix-web}."
  37522. msgstr ""
  37523. #. type: item
  37524. #: guix-git/doc/guix.texi:25441
  37525. #, no-wrap
  37526. msgid "@code{menu} (default: @code{'()})"
  37527. msgstr ""
  37528. #. type: table
  37529. #: guix-git/doc/guix.texi:25443
  37530. msgid "Additional entry in page @code{menu}."
  37531. msgstr ""
  37532. #. type: item
  37533. #: guix-git/doc/guix.texi:25444
  37534. #, no-wrap
  37535. msgid "@code{channels} (default: @code{%default-channels})"
  37536. msgstr ""
  37537. #. type: table
  37538. #: guix-git/doc/guix.texi:25446
  37539. msgid "List of channels from which the package list is built (@pxref{Channels})."
  37540. msgstr ""
  37541. #. type: item
  37542. #: guix-git/doc/guix.texi:25447
  37543. #, no-wrap
  37544. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  37545. msgstr ""
  37546. #. type: table
  37547. #: guix-git/doc/guix.texi:25450
  37548. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  37549. msgstr ""
  37550. #. type: table
  37551. #: guix-git/doc/guix.texi:25455
  37552. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  37553. msgstr ""
  37554. #. type: item
  37555. #: guix-git/doc/guix.texi:25456
  37556. #, no-wrap
  37557. msgid "@code{package} (default: @code{hpcguix-web})"
  37558. msgstr ""
  37559. #. type: table
  37560. #: guix-git/doc/guix.texi:25458
  37561. msgid "The hpcguix-web package to use."
  37562. msgstr ""
  37563. #. type: Plain text
  37564. #: guix-git/doc/guix.texi:25462
  37565. msgid "A typical hpcguix-web service declaration looks like this:"
  37566. msgstr ""
  37567. #. type: lisp
  37568. #: guix-git/doc/guix.texi:25471
  37569. #, no-wrap
  37570. msgid ""
  37571. "(service hpcguix-web-service-type\n"
  37572. " (hpcguix-web-configuration\n"
  37573. " (specs\n"
  37574. " #~(define site-config\n"
  37575. " (hpcweb-configuration\n"
  37576. " (title-prefix \"Guix-HPC - \")\n"
  37577. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  37578. msgstr ""
  37579. #. type: quotation
  37580. #: guix-git/doc/guix.texi:25478
  37581. 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."
  37582. msgstr ""
  37583. #. type: quotation
  37584. #: guix-git/doc/guix.texi:25482
  37585. 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."
  37586. msgstr ""
  37587. #. type: cindex
  37588. #: guix-git/doc/guix.texi:25484 guix-git/doc/guix.texi:25486
  37589. #, no-wrap
  37590. msgid "gmnisrv"
  37591. msgstr ""
  37592. #. type: Plain text
  37593. #: guix-git/doc/guix.texi:25489
  37594. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  37595. msgstr ""
  37596. #. type: deffn
  37597. #: guix-git/doc/guix.texi:25490
  37598. #, no-wrap
  37599. msgid "{Scheme Variable} gmnisrv-service-type"
  37600. msgstr ""
  37601. #. type: deffn
  37602. #: guix-git/doc/guix.texi:25493
  37603. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  37604. msgstr ""
  37605. #. type: lisp
  37606. #: guix-git/doc/guix.texi:25498
  37607. #, no-wrap
  37608. msgid ""
  37609. "(service gmnisrv-service-type\n"
  37610. " (gmnisrv-configuration\n"
  37611. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  37612. msgstr ""
  37613. #. type: deftp
  37614. #: guix-git/doc/guix.texi:25501
  37615. #, no-wrap
  37616. msgid "{Data Type} gmnisrv-configuration"
  37617. msgstr ""
  37618. #. type: deftp
  37619. #: guix-git/doc/guix.texi:25503
  37620. msgid "Data type representing the configuration of gmnisrv."
  37621. msgstr ""
  37622. #. type: item
  37623. #: guix-git/doc/guix.texi:25505
  37624. #, no-wrap
  37625. msgid "@code{package} (default: @var{gmnisrv})"
  37626. msgstr ""
  37627. #. type: table
  37628. #: guix-git/doc/guix.texi:25507
  37629. msgid "Package object of the gmnisrv server."
  37630. msgstr ""
  37631. #. type: item
  37632. #: guix-git/doc/guix.texi:25508
  37633. #, no-wrap
  37634. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  37635. msgstr ""
  37636. #. type: table
  37637. #: guix-git/doc/guix.texi:25514
  37638. 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}."
  37639. msgstr ""
  37640. #. type: subsubheading
  37641. #: guix-git/doc/guix.texi:25518
  37642. #, no-wrap
  37643. msgid "Agate"
  37644. msgstr ""
  37645. #. type: cindex
  37646. #: guix-git/doc/guix.texi:25520
  37647. #, no-wrap
  37648. msgid "agate"
  37649. msgstr ""
  37650. #. type: Plain text
  37651. #: guix-git/doc/guix.texi:25525
  37652. 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."
  37653. msgstr ""
  37654. #. type: deffn
  37655. #: guix-git/doc/guix.texi:25526
  37656. #, no-wrap
  37657. msgid "{Scheme Variable} agate-service-type"
  37658. msgstr ""
  37659. #. type: deffn
  37660. #: guix-git/doc/guix.texi:25529
  37661. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  37662. msgstr ""
  37663. #. type: lisp
  37664. #: guix-git/doc/guix.texi:25536
  37665. #, no-wrap
  37666. msgid ""
  37667. "(service agate-service-type\n"
  37668. "\t (agate-configuration\n"
  37669. "\t (content \"/srv/gemini\")\n"
  37670. "\t (cert \"/srv/cert.pem\")\n"
  37671. "\t (key \"/srv/key.rsa\")))\n"
  37672. msgstr ""
  37673. #. type: deffn
  37674. #: guix-git/doc/guix.texi:25541
  37675. 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."
  37676. msgstr ""
  37677. #. type: deffn
  37678. #: guix-git/doc/guix.texi:25544
  37679. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  37680. msgstr ""
  37681. #. type: example
  37682. #: guix-git/doc/guix.texi:25548
  37683. #, no-wrap
  37684. msgid ""
  37685. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  37686. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  37687. msgstr ""
  37688. #. type: deffn
  37689. #: guix-git/doc/guix.texi:25553
  37690. 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."
  37691. msgstr ""
  37692. #. type: deftp
  37693. #: guix-git/doc/guix.texi:25556
  37694. #, no-wrap
  37695. msgid "{Data Type} agate-configuration"
  37696. msgstr ""
  37697. #. type: deftp
  37698. #: guix-git/doc/guix.texi:25558
  37699. msgid "Data type representing the configuration of Agate."
  37700. msgstr ""
  37701. #. type: item
  37702. #: guix-git/doc/guix.texi:25560
  37703. #, no-wrap
  37704. msgid "@code{package} (default: @code{agate})"
  37705. msgstr ""
  37706. #. type: table
  37707. #: guix-git/doc/guix.texi:25562
  37708. msgid "The package object of the Agate server."
  37709. msgstr ""
  37710. #. type: item
  37711. #: guix-git/doc/guix.texi:25563
  37712. #, no-wrap
  37713. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  37714. msgstr ""
  37715. #. type: table
  37716. #: guix-git/doc/guix.texi:25565
  37717. msgid "The directory from which Agate will serve files."
  37718. msgstr ""
  37719. #. type: item
  37720. #: guix-git/doc/guix.texi:25566
  37721. #, no-wrap
  37722. msgid "@code{cert} (default: @code{#f})"
  37723. msgstr ""
  37724. #. type: table
  37725. #: guix-git/doc/guix.texi:25569
  37726. 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."
  37727. msgstr ""
  37728. #. type: item
  37729. #: guix-git/doc/guix.texi:25570 guix-git/doc/guix.texi:25998
  37730. #, no-wrap
  37731. msgid "@code{key} (default: @code{#f})"
  37732. msgstr ""
  37733. #. type: table
  37734. #: guix-git/doc/guix.texi:25573
  37735. 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."
  37736. msgstr ""
  37737. #. type: item
  37738. #: guix-git/doc/guix.texi:25574
  37739. #, no-wrap
  37740. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  37741. msgstr ""
  37742. #. type: table
  37743. #: guix-git/doc/guix.texi:25576
  37744. msgid "A list of the addresses to listen on."
  37745. msgstr ""
  37746. #. type: table
  37747. #: guix-git/doc/guix.texi:25579
  37748. msgid "The domain name of this Gemini server. Optional."
  37749. msgstr ""
  37750. #. type: item
  37751. #: guix-git/doc/guix.texi:25580
  37752. #, no-wrap
  37753. msgid "@code{lang} (default: @code{#f})"
  37754. msgstr ""
  37755. #. type: table
  37756. #: guix-git/doc/guix.texi:25582
  37757. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  37758. msgstr ""
  37759. #. type: item
  37760. #: guix-git/doc/guix.texi:25583
  37761. #, no-wrap
  37762. msgid "@code{silent?} (default: @code{#f})"
  37763. msgstr ""
  37764. #. type: table
  37765. #: guix-git/doc/guix.texi:25585
  37766. msgid "Set to @code{#t} to disable logging output."
  37767. msgstr ""
  37768. #. type: item
  37769. #: guix-git/doc/guix.texi:25586
  37770. #, no-wrap
  37771. msgid "@code{serve-secret?} (default: @code{#f})"
  37772. msgstr ""
  37773. #. type: table
  37774. #: guix-git/doc/guix.texi:25589
  37775. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  37776. msgstr ""
  37777. #. type: item
  37778. #: guix-git/doc/guix.texi:25590
  37779. #, no-wrap
  37780. msgid "@code{log-ip?} (default: @code{#t})"
  37781. msgstr ""
  37782. #. type: table
  37783. #: guix-git/doc/guix.texi:25592
  37784. msgid "Whether or not to output IP addresses when logging."
  37785. msgstr ""
  37786. #. type: item
  37787. #: guix-git/doc/guix.texi:25593
  37788. #, no-wrap
  37789. msgid "@code{user} (default: @code{\"agate\"})"
  37790. msgstr ""
  37791. #. type: table
  37792. #: guix-git/doc/guix.texi:25595
  37793. msgid "Owner of the @code{agate} process."
  37794. msgstr ""
  37795. #. type: item
  37796. #: guix-git/doc/guix.texi:25596
  37797. #, no-wrap
  37798. msgid "@code{group} (default: @code{\"agate\"})"
  37799. msgstr ""
  37800. #. type: table
  37801. #: guix-git/doc/guix.texi:25598
  37802. msgid "Owner's group of the @code{agate} process."
  37803. msgstr ""
  37804. #. type: item
  37805. #: guix-git/doc/guix.texi:25599
  37806. #, no-wrap
  37807. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  37808. msgstr ""
  37809. #. type: table
  37810. #: guix-git/doc/guix.texi:25601
  37811. msgid "The file which should store the logging output of Agate."
  37812. msgstr ""
  37813. #. type: cindex
  37814. #: guix-git/doc/guix.texi:25608
  37815. #, no-wrap
  37816. msgid "Web"
  37817. msgstr ""
  37818. #. type: cindex
  37819. #: guix-git/doc/guix.texi:25609
  37820. #, no-wrap
  37821. msgid "HTTP, HTTPS"
  37822. msgstr ""
  37823. #. type: cindex
  37824. #: guix-git/doc/guix.texi:25610
  37825. #, no-wrap
  37826. msgid "Let's Encrypt"
  37827. msgstr ""
  37828. #. type: cindex
  37829. #: guix-git/doc/guix.texi:25611
  37830. #, no-wrap
  37831. msgid "TLS certificates"
  37832. msgstr ""
  37833. #. type: Plain text
  37834. #: guix-git/doc/guix.texi:25618
  37835. 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."
  37836. msgstr ""
  37837. #. type: Plain text
  37838. #: guix-git/doc/guix.texi:25630
  37839. 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."
  37840. msgstr ""
  37841. #. type: Plain text
  37842. #: guix-git/doc/guix.texi:25637
  37843. 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)."
  37844. msgstr ""
  37845. #. type: Plain text
  37846. #: guix-git/doc/guix.texi:25643
  37847. 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."
  37848. msgstr ""
  37849. #. type: Plain text
  37850. #: guix-git/doc/guix.texi:25647
  37851. 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}."
  37852. msgstr ""
  37853. #. type: defvr
  37854. #: guix-git/doc/guix.texi:25648
  37855. #, no-wrap
  37856. msgid "{Scheme Variable} certbot-service-type"
  37857. msgstr ""
  37858. #. type: defvr
  37859. #: guix-git/doc/guix.texi:25651
  37860. 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:"
  37861. msgstr ""
  37862. #. type: lisp
  37863. #: guix-git/doc/guix.texi:25658
  37864. #, no-wrap
  37865. msgid ""
  37866. "(define %nginx-deploy-hook\n"
  37867. " (program-file\n"
  37868. " \"nginx-deploy-hook\"\n"
  37869. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  37870. " (kill pid SIGHUP))))\n"
  37871. "\n"
  37872. msgstr ""
  37873. #. type: lisp
  37874. #: guix-git/doc/guix.texi:25669
  37875. #, no-wrap
  37876. msgid ""
  37877. "(service certbot-service-type\n"
  37878. " (certbot-configuration\n"
  37879. " (email \"foo@@example.net\")\n"
  37880. " (certificates\n"
  37881. " (list\n"
  37882. " (certificate-configuration\n"
  37883. " (domains '(\"example.net\" \"www.example.net\"))\n"
  37884. " (deploy-hook %nginx-deploy-hook))\n"
  37885. " (certificate-configuration\n"
  37886. " (domains '(\"bar.example.net\")))))))\n"
  37887. msgstr ""
  37888. #. type: defvr
  37889. #: guix-git/doc/guix.texi:25672
  37890. msgid "See below for details about @code{certbot-configuration}."
  37891. msgstr ""
  37892. #. type: deftp
  37893. #: guix-git/doc/guix.texi:25674
  37894. #, no-wrap
  37895. msgid "{Data Type} certbot-configuration"
  37896. msgstr ""
  37897. #. type: deftp
  37898. #: guix-git/doc/guix.texi:25677
  37899. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  37900. msgstr ""
  37901. #. type: item
  37902. #: guix-git/doc/guix.texi:25679
  37903. #, no-wrap
  37904. msgid "@code{package} (default: @code{certbot})"
  37905. msgstr ""
  37906. #. type: table
  37907. #: guix-git/doc/guix.texi:25681
  37908. msgid "The certbot package to use."
  37909. msgstr ""
  37910. #. type: item
  37911. #: guix-git/doc/guix.texi:25682
  37912. #, no-wrap
  37913. msgid "@code{webroot} (default: @code{/var/www})"
  37914. msgstr ""
  37915. #. type: table
  37916. #: guix-git/doc/guix.texi:25685
  37917. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  37918. msgstr ""
  37919. #. type: item
  37920. #: guix-git/doc/guix.texi:25686
  37921. #, no-wrap
  37922. msgid "@code{certificates} (default: @code{()})"
  37923. msgstr ""
  37924. #. type: table
  37925. #: guix-git/doc/guix.texi:25690
  37926. 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}."
  37927. msgstr ""
  37928. #. type: item
  37929. #: guix-git/doc/guix.texi:25691
  37930. #, no-wrap
  37931. msgid "@code{email} (default: @code{#f})"
  37932. msgstr ""
  37933. #. type: table
  37934. #: guix-git/doc/guix.texi:25695
  37935. 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."
  37936. msgstr ""
  37937. #. type: item
  37938. #: guix-git/doc/guix.texi:25696 guix-git/doc/guix.texi:27376
  37939. #, no-wrap
  37940. msgid "@code{server} (default: @code{#f})"
  37941. msgstr ""
  37942. #. type: table
  37943. #: guix-git/doc/guix.texi:25699
  37944. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  37945. msgstr ""
  37946. #. type: item
  37947. #: guix-git/doc/guix.texi:25700
  37948. #, no-wrap
  37949. msgid "@code{rsa-key-size} (default: @code{2048})"
  37950. msgstr ""
  37951. #. type: table
  37952. #: guix-git/doc/guix.texi:25702
  37953. msgid "Size of the RSA key."
  37954. msgstr ""
  37955. #. type: item
  37956. #: guix-git/doc/guix.texi:25703
  37957. #, no-wrap
  37958. msgid "@code{default-location} (default: @i{see below})"
  37959. msgstr ""
  37960. #. type: table
  37961. #: guix-git/doc/guix.texi:25712
  37962. 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."
  37963. msgstr ""
  37964. #. type: table
  37965. #: guix-git/doc/guix.texi:25716
  37966. 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."
  37967. msgstr ""
  37968. #. type: table
  37969. #: guix-git/doc/guix.texi:25720
  37970. 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}."
  37971. msgstr ""
  37972. #. type: table
  37973. #: guix-git/doc/guix.texi:25722
  37974. msgid "Pass @code{#f} to not issue a default location."
  37975. msgstr ""
  37976. #. type: deftp
  37977. #: guix-git/doc/guix.texi:25725
  37978. #, no-wrap
  37979. msgid "{Data Type} certificate-configuration"
  37980. msgstr ""
  37981. #. type: deftp
  37982. #: guix-git/doc/guix.texi:25728
  37983. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  37984. msgstr ""
  37985. #. type: item
  37986. #: guix-git/doc/guix.texi:25730
  37987. #, no-wrap
  37988. msgid "@code{name} (default: @i{see below})"
  37989. msgstr ""
  37990. #. type: table
  37991. #: guix-git/doc/guix.texi:25734
  37992. 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}."
  37993. msgstr ""
  37994. #. type: table
  37995. #: guix-git/doc/guix.texi:25736
  37996. msgid "Its default is the first provided domain."
  37997. msgstr ""
  37998. #. type: item
  37999. #: guix-git/doc/guix.texi:25737
  38000. #, no-wrap
  38001. msgid "@code{domains} (default: @code{()})"
  38002. msgstr ""
  38003. #. type: table
  38004. #: guix-git/doc/guix.texi:25740
  38005. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  38006. msgstr ""
  38007. #. type: item
  38008. #: guix-git/doc/guix.texi:25741
  38009. #, no-wrap
  38010. msgid "@code{challenge} (default: @code{#f})"
  38011. msgstr ""
  38012. #. type: table
  38013. #: guix-git/doc/guix.texi:25748
  38014. 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."
  38015. msgstr ""
  38016. #. type: item
  38017. #: guix-git/doc/guix.texi:25749
  38018. #, no-wrap
  38019. msgid "@code{authentication-hook} (default: @code{#f})"
  38020. msgstr ""
  38021. #. type: table
  38022. #: guix-git/doc/guix.texi:25755
  38023. 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."
  38024. msgstr ""
  38025. #. type: item
  38026. #: guix-git/doc/guix.texi:25756
  38027. #, no-wrap
  38028. msgid "@code{cleanup-hook} (default: @code{#f})"
  38029. msgstr ""
  38030. #. type: table
  38031. #: guix-git/doc/guix.texi:25762
  38032. 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."
  38033. msgstr ""
  38034. #. type: item
  38035. #: guix-git/doc/guix.texi:25763
  38036. #, no-wrap
  38037. msgid "@code{deploy-hook} (default: @code{#f})"
  38038. msgstr ""
  38039. #. type: table
  38040. #: guix-git/doc/guix.texi:25771
  38041. 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\"}."
  38042. msgstr ""
  38043. #. type: Plain text
  38044. #: guix-git/doc/guix.texi:25778
  38045. 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}."
  38046. msgstr ""
  38047. #. type: cindex
  38048. #: guix-git/doc/guix.texi:25780
  38049. #, no-wrap
  38050. msgid "DNS (domain name system)"
  38051. msgstr ""
  38052. #. type: cindex
  38053. #: guix-git/doc/guix.texi:25781
  38054. #, no-wrap
  38055. msgid "domain name system (DNS)"
  38056. msgstr ""
  38057. #. type: Plain text
  38058. #: guix-git/doc/guix.texi:25789
  38059. 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}."
  38060. msgstr ""
  38061. #. type: subsubheading
  38062. #: guix-git/doc/guix.texi:25790
  38063. #, no-wrap
  38064. msgid "Knot Service"
  38065. msgstr ""
  38066. #. type: Plain text
  38067. #: guix-git/doc/guix.texi:25794
  38068. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  38069. msgstr ""
  38070. #. type: lisp
  38071. #: guix-git/doc/guix.texi:25801
  38072. #, no-wrap
  38073. msgid ""
  38074. "(define-zone-entries example.org.zone\n"
  38075. ";; Name TTL Class Type Data\n"
  38076. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  38077. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  38078. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  38079. "\n"
  38080. msgstr ""
  38081. #. type: lisp
  38082. #: guix-git/doc/guix.texi:25808
  38083. #, no-wrap
  38084. msgid ""
  38085. "(define master-zone\n"
  38086. " (knot-zone-configuration\n"
  38087. " (domain \"example.org\")\n"
  38088. " (zone (zone-file\n"
  38089. " (origin \"example.org\")\n"
  38090. " (entries example.org.zone)))))\n"
  38091. "\n"
  38092. msgstr ""
  38093. #. type: lisp
  38094. #: guix-git/doc/guix.texi:25814
  38095. #, no-wrap
  38096. msgid ""
  38097. "(define slave-zone\n"
  38098. " (knot-zone-configuration\n"
  38099. " (domain \"plop.org\")\n"
  38100. " (dnssec-policy \"default\")\n"
  38101. " (master (list \"plop-master\"))))\n"
  38102. "\n"
  38103. msgstr ""
  38104. #. type: lisp
  38105. #: guix-git/doc/guix.texi:25819
  38106. #, no-wrap
  38107. msgid ""
  38108. "(define plop-master\n"
  38109. " (knot-remote-configuration\n"
  38110. " (id \"plop-master\")\n"
  38111. " (address (list \"208.76.58.171\"))))\n"
  38112. "\n"
  38113. msgstr ""
  38114. #. type: lisp
  38115. #: guix-git/doc/guix.texi:25828
  38116. #, no-wrap
  38117. msgid ""
  38118. "(operating-system\n"
  38119. " ;; ...\n"
  38120. " (services (cons* (service knot-service-type\n"
  38121. " (knot-configuration\n"
  38122. " (remotes (list plop-master))\n"
  38123. " (zones (list master-zone slave-zone))))\n"
  38124. " ;; ...\n"
  38125. " %base-services)))\n"
  38126. msgstr ""
  38127. #. type: deffn
  38128. #: guix-git/doc/guix.texi:25830
  38129. #, no-wrap
  38130. msgid "{Scheme Variable} knot-service-type"
  38131. msgstr ""
  38132. #. type: deffn
  38133. #: guix-git/doc/guix.texi:25832
  38134. msgid "This is the type for the Knot DNS server."
  38135. msgstr ""
  38136. #. type: deffn
  38137. #: guix-git/doc/guix.texi:25840
  38138. 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."
  38139. msgstr ""
  38140. #. type: deffn
  38141. #: guix-git/doc/guix.texi:25842
  38142. msgid "The following data types are used to configure the Knot DNS server:"
  38143. msgstr ""
  38144. #. type: deftp
  38145. #: guix-git/doc/guix.texi:25844
  38146. #, no-wrap
  38147. msgid "{Data Type} knot-key-configuration"
  38148. msgstr ""
  38149. #. type: deftp
  38150. #: guix-git/doc/guix.texi:25847
  38151. msgid "Data type representing a key. This type has the following parameters:"
  38152. msgstr ""
  38153. #. type: item
  38154. #: guix-git/doc/guix.texi:25849 guix-git/doc/guix.texi:25869
  38155. #: guix-git/doc/guix.texi:25984 guix-git/doc/guix.texi:26010
  38156. #: guix-git/doc/guix.texi:26045
  38157. #, no-wrap
  38158. msgid "@code{id} (default: @code{\"\"})"
  38159. msgstr ""
  38160. #. type: table
  38161. #: guix-git/doc/guix.texi:25852 guix-git/doc/guix.texi:25872
  38162. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  38163. msgstr ""
  38164. #. type: item
  38165. #: guix-git/doc/guix.texi:25853
  38166. #, no-wrap
  38167. msgid "@code{algorithm} (default: @code{#f})"
  38168. msgstr ""
  38169. #. type: table
  38170. #: guix-git/doc/guix.texi:25857
  38171. 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}."
  38172. msgstr ""
  38173. #. type: item
  38174. #: guix-git/doc/guix.texi:25858
  38175. #, no-wrap
  38176. msgid "@code{secret} (default: @code{\"\"})"
  38177. msgstr ""
  38178. #. type: table
  38179. #: guix-git/doc/guix.texi:25860
  38180. msgid "The secret key itself."
  38181. msgstr ""
  38182. #. type: deftp
  38183. #: guix-git/doc/guix.texi:25864
  38184. #, no-wrap
  38185. msgid "{Data Type} knot-acl-configuration"
  38186. msgstr ""
  38187. #. type: deftp
  38188. #: guix-git/doc/guix.texi:25867
  38189. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  38190. msgstr ""
  38191. #. type: item
  38192. #: guix-git/doc/guix.texi:25873 guix-git/doc/guix.texi:25988
  38193. #, no-wrap
  38194. msgid "@code{address} (default: @code{'()})"
  38195. msgstr ""
  38196. #. type: table
  38197. #: guix-git/doc/guix.texi:25877
  38198. 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."
  38199. msgstr ""
  38200. #. type: item
  38201. #: guix-git/doc/guix.texi:25878
  38202. #, no-wrap
  38203. msgid "@code{key} (default: @code{'()})"
  38204. msgstr ""
  38205. #. type: table
  38206. #: guix-git/doc/guix.texi:25882
  38207. 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."
  38208. msgstr ""
  38209. #. type: item
  38210. #: guix-git/doc/guix.texi:25883
  38211. #, no-wrap
  38212. msgid "@code{action} (default: @code{'()})"
  38213. msgstr ""
  38214. #. type: table
  38215. #: guix-git/doc/guix.texi:25887
  38216. 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}."
  38217. msgstr ""
  38218. #. type: item
  38219. #: guix-git/doc/guix.texi:25888
  38220. #, no-wrap
  38221. msgid "@code{deny?} (default: @code{#f})"
  38222. msgstr ""
  38223. #. type: table
  38224. #: guix-git/doc/guix.texi:25891
  38225. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  38226. msgstr ""
  38227. #. type: deftp
  38228. #: guix-git/doc/guix.texi:25895
  38229. #, no-wrap
  38230. msgid "{Data Type} zone-entry"
  38231. msgstr ""
  38232. #. type: deftp
  38233. #: guix-git/doc/guix.texi:25898
  38234. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  38235. msgstr ""
  38236. #. type: item
  38237. #: guix-git/doc/guix.texi:25900
  38238. #, no-wrap
  38239. msgid "@code{name} (default: @code{\"@@\"})"
  38240. msgstr ""
  38241. #. type: table
  38242. #: guix-git/doc/guix.texi:25906
  38243. 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}."
  38244. msgstr ""
  38245. #. type: item
  38246. #: guix-git/doc/guix.texi:25907
  38247. #, no-wrap
  38248. msgid "@code{ttl} (default: @code{\"\"})"
  38249. msgstr ""
  38250. #. type: table
  38251. #: guix-git/doc/guix.texi:25909
  38252. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  38253. msgstr ""
  38254. #. type: item
  38255. #: guix-git/doc/guix.texi:25910
  38256. #, no-wrap
  38257. msgid "@code{class} (default: @code{\"IN\"})"
  38258. msgstr ""
  38259. #. type: table
  38260. #: guix-git/doc/guix.texi:25913
  38261. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  38262. msgstr ""
  38263. #. type: item
  38264. #: guix-git/doc/guix.texi:25914
  38265. #, no-wrap
  38266. msgid "@code{type} (default: @code{\"A\"})"
  38267. msgstr ""
  38268. #. type: table
  38269. #: guix-git/doc/guix.texi:25918
  38270. 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."
  38271. msgstr ""
  38272. #. type: item
  38273. #: guix-git/doc/guix.texi:25919
  38274. #, no-wrap
  38275. msgid "@code{data} (default: @code{\"\"})"
  38276. msgstr ""
  38277. #. type: table
  38278. #: guix-git/doc/guix.texi:25923
  38279. 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."
  38280. msgstr ""
  38281. #. type: deftp
  38282. #: guix-git/doc/guix.texi:25927
  38283. #, no-wrap
  38284. msgid "{Data Type} zone-file"
  38285. msgstr ""
  38286. #. type: deftp
  38287. #: guix-git/doc/guix.texi:25930
  38288. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  38289. msgstr ""
  38290. #. type: table
  38291. #: guix-git/doc/guix.texi:25939
  38292. 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}."
  38293. msgstr ""
  38294. #. type: item
  38295. #: guix-git/doc/guix.texi:25940
  38296. #, no-wrap
  38297. msgid "@code{origin} (default: @code{\"\"})"
  38298. msgstr ""
  38299. #. type: table
  38300. #: guix-git/doc/guix.texi:25942
  38301. msgid "The name of your zone. This parameter cannot be empty."
  38302. msgstr ""
  38303. #. type: item
  38304. #: guix-git/doc/guix.texi:25943
  38305. #, no-wrap
  38306. msgid "@code{ns} (default: @code{\"ns\"})"
  38307. msgstr ""
  38308. #. type: table
  38309. #: guix-git/doc/guix.texi:25948
  38310. 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."
  38311. msgstr ""
  38312. #. type: item
  38313. #: guix-git/doc/guix.texi:25949
  38314. #, no-wrap
  38315. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  38316. msgstr ""
  38317. #. type: table
  38318. #: guix-git/doc/guix.texi:25952
  38319. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  38320. msgstr ""
  38321. #. type: item
  38322. #: guix-git/doc/guix.texi:25953
  38323. #, no-wrap
  38324. msgid "@code{serial} (default: @code{1})"
  38325. msgstr ""
  38326. #. type: table
  38327. #: guix-git/doc/guix.texi:25957
  38328. 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."
  38329. msgstr ""
  38330. #. type: item
  38331. #: guix-git/doc/guix.texi:25958
  38332. #, no-wrap
  38333. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  38334. msgstr ""
  38335. #. type: table
  38336. #: guix-git/doc/guix.texi:25962
  38337. 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)}."
  38338. msgstr ""
  38339. #. type: item
  38340. #: guix-git/doc/guix.texi:25963
  38341. #, no-wrap
  38342. msgid "@code{retry} (default: @code{(* 15 60)})"
  38343. msgstr ""
  38344. #. type: table
  38345. #: guix-git/doc/guix.texi:25966
  38346. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  38347. msgstr ""
  38348. #. type: item
  38349. #: guix-git/doc/guix.texi:25967
  38350. #, no-wrap
  38351. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  38352. msgstr ""
  38353. #. type: table
  38354. #: guix-git/doc/guix.texi:25971
  38355. 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."
  38356. msgstr ""
  38357. #. type: item
  38358. #: guix-git/doc/guix.texi:25972
  38359. #, no-wrap
  38360. msgid "@code{nx} (default: @code{3600})"
  38361. msgstr ""
  38362. #. type: table
  38363. #: guix-git/doc/guix.texi:25975
  38364. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  38365. msgstr ""
  38366. #. type: deftp
  38367. #: guix-git/doc/guix.texi:25979
  38368. #, no-wrap
  38369. msgid "{Data Type} knot-remote-configuration"
  38370. msgstr ""
  38371. #. type: deftp
  38372. #: guix-git/doc/guix.texi:25982
  38373. msgid "Data type representing a remote configuration. This type has the following parameters:"
  38374. msgstr ""
  38375. #. type: table
  38376. #: guix-git/doc/guix.texi:25987
  38377. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  38378. msgstr ""
  38379. #. type: table
  38380. #: guix-git/doc/guix.texi:25992
  38381. 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."
  38382. msgstr ""
  38383. #. type: item
  38384. #: guix-git/doc/guix.texi:25993
  38385. #, no-wrap
  38386. msgid "@code{via} (default: @code{'()})"
  38387. msgstr ""
  38388. #. type: table
  38389. #: guix-git/doc/guix.texi:25997
  38390. 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."
  38391. msgstr ""
  38392. #. type: table
  38393. #: guix-git/doc/guix.texi:26001
  38394. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  38395. msgstr ""
  38396. #. type: deftp
  38397. #: guix-git/doc/guix.texi:26005
  38398. #, no-wrap
  38399. msgid "{Data Type} knot-keystore-configuration"
  38400. msgstr ""
  38401. #. type: deftp
  38402. #: guix-git/doc/guix.texi:26008
  38403. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  38404. msgstr ""
  38405. #. type: table
  38406. #: guix-git/doc/guix.texi:26012
  38407. msgid "The id of the keystore. It must not be empty."
  38408. msgstr ""
  38409. #. type: item
  38410. #: guix-git/doc/guix.texi:26013
  38411. #, no-wrap
  38412. msgid "@code{backend} (default: @code{'pem})"
  38413. msgstr ""
  38414. #. type: table
  38415. #: guix-git/doc/guix.texi:26015
  38416. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  38417. msgstr ""
  38418. #. type: item
  38419. #: guix-git/doc/guix.texi:26016
  38420. #, no-wrap
  38421. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  38422. msgstr ""
  38423. #. type: table
  38424. #: guix-git/doc/guix.texi:26020
  38425. 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."
  38426. msgstr ""
  38427. #. type: deftp
  38428. #: guix-git/doc/guix.texi:26024
  38429. #, no-wrap
  38430. msgid "{Data Type} knot-policy-configuration"
  38431. msgstr ""
  38432. #. type: deftp
  38433. #: guix-git/doc/guix.texi:26028
  38434. 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."
  38435. msgstr ""
  38436. #. type: deftp
  38437. #: guix-git/doc/guix.texi:26035
  38438. 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."
  38439. msgstr ""
  38440. #. type: deftp
  38441. #: guix-git/doc/guix.texi:26041
  38442. 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."
  38443. msgstr ""
  38444. #. type: deftp
  38445. #: guix-git/doc/guix.texi:26043
  38446. msgid "This type has the following parameters:"
  38447. msgstr ""
  38448. #. type: table
  38449. #: guix-git/doc/guix.texi:26047
  38450. msgid "The id of the policy. It must not be empty."
  38451. msgstr ""
  38452. #. type: item
  38453. #: guix-git/doc/guix.texi:26048
  38454. #, no-wrap
  38455. msgid "@code{keystore} (default: @code{\"default\"})"
  38456. msgstr ""
  38457. #. type: table
  38458. #: guix-git/doc/guix.texi:26053
  38459. 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)."
  38460. msgstr ""
  38461. #. type: item
  38462. #: guix-git/doc/guix.texi:26054
  38463. #, no-wrap
  38464. msgid "@code{manual?} (default: @code{#f})"
  38465. msgstr ""
  38466. #. type: table
  38467. #: guix-git/doc/guix.texi:26056
  38468. msgid "Whether the key management is manual or automatic."
  38469. msgstr ""
  38470. #. type: item
  38471. #: guix-git/doc/guix.texi:26057
  38472. #, no-wrap
  38473. msgid "@code{single-type-signing?} (default: @code{#f})"
  38474. msgstr ""
  38475. #. type: table
  38476. #: guix-git/doc/guix.texi:26059
  38477. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  38478. msgstr ""
  38479. #. type: item
  38480. #: guix-git/doc/guix.texi:26060
  38481. #, no-wrap
  38482. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  38483. msgstr ""
  38484. #. type: table
  38485. #: guix-git/doc/guix.texi:26062
  38486. msgid "An algorithm of signing keys and issued signatures."
  38487. msgstr ""
  38488. #. type: item
  38489. #: guix-git/doc/guix.texi:26063
  38490. #, no-wrap
  38491. msgid "@code{ksk-size} (default: @code{256})"
  38492. msgstr ""
  38493. #. type: table
  38494. #: guix-git/doc/guix.texi:26066
  38495. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  38496. msgstr ""
  38497. #. type: item
  38498. #: guix-git/doc/guix.texi:26067
  38499. #, no-wrap
  38500. msgid "@code{zsk-size} (default: @code{256})"
  38501. msgstr ""
  38502. #. type: table
  38503. #: guix-git/doc/guix.texi:26070
  38504. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  38505. msgstr ""
  38506. #. type: item
  38507. #: guix-git/doc/guix.texi:26071
  38508. #, no-wrap
  38509. msgid "@code{dnskey-ttl} (default: @code{'default})"
  38510. msgstr ""
  38511. #. type: table
  38512. #: guix-git/doc/guix.texi:26074
  38513. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  38514. msgstr ""
  38515. #. type: item
  38516. #: guix-git/doc/guix.texi:26075
  38517. #, no-wrap
  38518. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  38519. msgstr ""
  38520. #. type: table
  38521. #: guix-git/doc/guix.texi:26077
  38522. msgid "The period between ZSK publication and the next rollover initiation."
  38523. msgstr ""
  38524. #. type: item
  38525. #: guix-git/doc/guix.texi:26078
  38526. #, no-wrap
  38527. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  38528. msgstr ""
  38529. #. type: table
  38530. #: guix-git/doc/guix.texi:26081
  38531. 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."
  38532. msgstr ""
  38533. #. type: item
  38534. #: guix-git/doc/guix.texi:26082
  38535. #, no-wrap
  38536. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  38537. msgstr ""
  38538. #. type: table
  38539. #: guix-git/doc/guix.texi:26084
  38540. msgid "A validity period of newly issued signatures."
  38541. msgstr ""
  38542. #. type: item
  38543. #: guix-git/doc/guix.texi:26085
  38544. #, no-wrap
  38545. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  38546. msgstr ""
  38547. #. type: table
  38548. #: guix-git/doc/guix.texi:26087
  38549. msgid "A period how long before a signature expiration the signature will be refreshed."
  38550. msgstr ""
  38551. #. type: item
  38552. #: guix-git/doc/guix.texi:26088
  38553. #, no-wrap
  38554. msgid "@code{nsec3?} (default: @code{#f})"
  38555. msgstr ""
  38556. #. type: table
  38557. #: guix-git/doc/guix.texi:26090
  38558. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  38559. msgstr ""
  38560. #. type: item
  38561. #: guix-git/doc/guix.texi:26091
  38562. #, no-wrap
  38563. msgid "@code{nsec3-iterations} (default: @code{5})"
  38564. msgstr ""
  38565. #. type: table
  38566. #: guix-git/doc/guix.texi:26093
  38567. msgid "The number of additional times the hashing is performed."
  38568. msgstr ""
  38569. #. type: item
  38570. #: guix-git/doc/guix.texi:26094
  38571. #, no-wrap
  38572. msgid "@code{nsec3-salt-length} (default: @code{8})"
  38573. msgstr ""
  38574. #. type: table
  38575. #: guix-git/doc/guix.texi:26097
  38576. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  38577. msgstr ""
  38578. #. type: item
  38579. #: guix-git/doc/guix.texi:26098
  38580. #, no-wrap
  38581. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  38582. msgstr ""
  38583. #. type: table
  38584. #: guix-git/doc/guix.texi:26100
  38585. msgid "The validity period of newly issued salt field."
  38586. msgstr ""
  38587. #. type: deftp
  38588. #: guix-git/doc/guix.texi:26104
  38589. #, no-wrap
  38590. msgid "{Data Type} knot-zone-configuration"
  38591. msgstr ""
  38592. #. type: deftp
  38593. #: guix-git/doc/guix.texi:26107
  38594. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  38595. msgstr ""
  38596. #. type: item
  38597. #: guix-git/doc/guix.texi:26109
  38598. #, no-wrap
  38599. msgid "@code{domain} (default: @code{\"\"})"
  38600. msgstr ""
  38601. #. type: table
  38602. #: guix-git/doc/guix.texi:26111
  38603. msgid "The domain served by this configuration. It must not be empty."
  38604. msgstr ""
  38605. #. type: item
  38606. #: guix-git/doc/guix.texi:26112
  38607. #, no-wrap
  38608. msgid "@code{file} (default: @code{\"\"})"
  38609. msgstr ""
  38610. #. type: table
  38611. #: guix-git/doc/guix.texi:26115
  38612. 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."
  38613. msgstr ""
  38614. #. type: item
  38615. #: guix-git/doc/guix.texi:26116
  38616. #, no-wrap
  38617. msgid "@code{zone} (default: @code{(zone-file)})"
  38618. msgstr ""
  38619. #. type: table
  38620. #: guix-git/doc/guix.texi:26119
  38621. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  38622. msgstr ""
  38623. #. type: item
  38624. #: guix-git/doc/guix.texi:26120
  38625. #, no-wrap
  38626. msgid "@code{master} (default: @code{'()})"
  38627. msgstr ""
  38628. #. type: table
  38629. #: guix-git/doc/guix.texi:26123
  38630. 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."
  38631. msgstr ""
  38632. #. type: item
  38633. #: guix-git/doc/guix.texi:26124
  38634. #, no-wrap
  38635. msgid "@code{ddns-master} (default: @code{#f})"
  38636. msgstr ""
  38637. #. type: table
  38638. #: guix-git/doc/guix.texi:26127
  38639. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  38640. msgstr ""
  38641. #. type: item
  38642. #: guix-git/doc/guix.texi:26128
  38643. #, no-wrap
  38644. msgid "@code{notify} (default: @code{'()})"
  38645. msgstr ""
  38646. #. type: table
  38647. #: guix-git/doc/guix.texi:26130
  38648. msgid "A list of slave remote identifiers."
  38649. msgstr ""
  38650. #. type: item
  38651. #: guix-git/doc/guix.texi:26131
  38652. #, no-wrap
  38653. msgid "@code{acl} (default: @code{'()})"
  38654. msgstr ""
  38655. #. type: table
  38656. #: guix-git/doc/guix.texi:26133
  38657. msgid "A list of acl identifiers."
  38658. msgstr ""
  38659. #. type: item
  38660. #: guix-git/doc/guix.texi:26134
  38661. #, no-wrap
  38662. msgid "@code{semantic-checks?} (default: @code{#f})"
  38663. msgstr ""
  38664. #. type: table
  38665. #: guix-git/doc/guix.texi:26136
  38666. msgid "When set, this adds more semantic checks to the zone."
  38667. msgstr ""
  38668. #. type: item
  38669. #: guix-git/doc/guix.texi:26137
  38670. #, no-wrap
  38671. msgid "@code{disable-any?} (default: @code{#f})"
  38672. msgstr ""
  38673. #. type: table
  38674. #: guix-git/doc/guix.texi:26139
  38675. msgid "When set, this forbids queries of the ANY type."
  38676. msgstr ""
  38677. #. type: item
  38678. #: guix-git/doc/guix.texi:26140
  38679. #, no-wrap
  38680. msgid "@code{zonefile-sync} (default: @code{0})"
  38681. msgstr ""
  38682. #. type: table
  38683. #: guix-git/doc/guix.texi:26143
  38684. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  38685. msgstr ""
  38686. #. type: item
  38687. #: guix-git/doc/guix.texi:26144
  38688. #, no-wrap
  38689. msgid "@code{zonefile-load} (default: @code{#f})"
  38690. msgstr ""
  38691. #. type: table
  38692. #: guix-git/doc/guix.texi:26147
  38693. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  38694. msgstr ""
  38695. #. type: item
  38696. #: guix-git/doc/guix.texi:26149
  38697. #, no-wrap
  38698. msgid "@code{#f} for using the default value from Knot,"
  38699. msgstr ""
  38700. #. type: item
  38701. #: guix-git/doc/guix.texi:26150
  38702. #, no-wrap
  38703. msgid "@code{'none} for not using the zone file at all,"
  38704. msgstr ""
  38705. #. type: item
  38706. #: guix-git/doc/guix.texi:26151
  38707. #, no-wrap
  38708. msgid "@code{'difference} for computing the difference between already available"
  38709. msgstr ""
  38710. #. type: itemize
  38711. #: guix-git/doc/guix.texi:26153
  38712. msgid "contents and zone contents and applying it to the current zone contents,"
  38713. msgstr ""
  38714. #. type: item
  38715. #: guix-git/doc/guix.texi:26153
  38716. #, no-wrap
  38717. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  38718. msgstr ""
  38719. #. type: itemize
  38720. #: guix-git/doc/guix.texi:26156
  38721. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  38722. msgstr ""
  38723. #. type: item
  38724. #: guix-git/doc/guix.texi:26156
  38725. #, no-wrap
  38726. msgid "@code{'whole} for loading zone contents from the zone file."
  38727. msgstr ""
  38728. #. type: item
  38729. #: guix-git/doc/guix.texi:26159
  38730. #, no-wrap
  38731. msgid "@code{journal-content} (default: @code{#f})"
  38732. msgstr ""
  38733. #. type: table
  38734. #: guix-git/doc/guix.texi:26164
  38735. 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."
  38736. msgstr ""
  38737. #. type: item
  38738. #: guix-git/doc/guix.texi:26165
  38739. #, no-wrap
  38740. msgid "@code{max-journal-usage} (default: @code{#f})"
  38741. msgstr ""
  38742. #. type: table
  38743. #: guix-git/doc/guix.texi:26168
  38744. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  38745. msgstr ""
  38746. #. type: item
  38747. #: guix-git/doc/guix.texi:26169
  38748. #, no-wrap
  38749. msgid "@code{max-journal-depth} (default: @code{#f})"
  38750. msgstr ""
  38751. #. type: table
  38752. #: guix-git/doc/guix.texi:26172
  38753. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  38754. msgstr ""
  38755. #. type: item
  38756. #: guix-git/doc/guix.texi:26173
  38757. #, no-wrap
  38758. msgid "@code{max-zone-size} (default: @code{#f})"
  38759. msgstr ""
  38760. #. type: table
  38761. #: guix-git/doc/guix.texi:26177
  38762. 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."
  38763. msgstr ""
  38764. #. type: item
  38765. #: guix-git/doc/guix.texi:26178
  38766. #, no-wrap
  38767. msgid "@code{dnssec-policy} (default: @code{#f})"
  38768. msgstr ""
  38769. #. type: table
  38770. #: guix-git/doc/guix.texi:26182
  38771. 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."
  38772. msgstr ""
  38773. #. type: item
  38774. #: guix-git/doc/guix.texi:26183
  38775. #, no-wrap
  38776. msgid "@code{serial-policy} (default: @code{'increment})"
  38777. msgstr ""
  38778. #. type: table
  38779. #: guix-git/doc/guix.texi:26185
  38780. msgid "A policy between @code{'increment} and @code{'unixtime}."
  38781. msgstr ""
  38782. #. type: deftp
  38783. #: guix-git/doc/guix.texi:26189
  38784. #, no-wrap
  38785. msgid "{Data Type} knot-configuration"
  38786. msgstr ""
  38787. #. type: deftp
  38788. #: guix-git/doc/guix.texi:26192
  38789. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  38790. msgstr ""
  38791. #. type: item
  38792. #: guix-git/doc/guix.texi:26194
  38793. #, no-wrap
  38794. msgid "@code{knot} (default: @code{knot})"
  38795. msgstr ""
  38796. #. type: table
  38797. #: guix-git/doc/guix.texi:26196
  38798. msgid "The Knot package."
  38799. msgstr ""
  38800. #. type: item
  38801. #: guix-git/doc/guix.texi:26197
  38802. #, no-wrap
  38803. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  38804. msgstr ""
  38805. #. type: table
  38806. #: guix-git/doc/guix.texi:26199
  38807. msgid "The run directory. This directory will be used for pid file and sockets."
  38808. msgstr ""
  38809. #. type: item
  38810. #: guix-git/doc/guix.texi:26200
  38811. #, no-wrap
  38812. msgid "@code{includes} (default: @code{'()})"
  38813. msgstr ""
  38814. #. type: table
  38815. #: guix-git/doc/guix.texi:26203
  38816. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  38817. msgstr ""
  38818. #. type: cindex
  38819. #: guix-git/doc/guix.texi:26204
  38820. #, no-wrap
  38821. msgid "secrets, Knot service"
  38822. msgstr ""
  38823. #. type: table
  38824. #: guix-git/doc/guix.texi:26210
  38825. 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."
  38826. msgstr ""
  38827. #. type: table
  38828. #: guix-git/doc/guix.texi:26215
  38829. 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:"
  38830. msgstr ""
  38831. #. type: example
  38832. #: guix-git/doc/guix.texi:26219
  38833. #, no-wrap
  38834. msgid ""
  38835. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  38836. "chmod 600 /etc/knot/secrets.conf\n"
  38837. msgstr ""
  38838. #. type: table
  38839. #: guix-git/doc/guix.texi:26225
  38840. 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."
  38841. msgstr ""
  38842. #. type: table
  38843. #: guix-git/doc/guix.texi:26227
  38844. msgid "It can also be used to add configuration not supported by this interface."
  38845. msgstr ""
  38846. #. type: item
  38847. #: guix-git/doc/guix.texi:26228
  38848. #, no-wrap
  38849. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  38850. msgstr ""
  38851. #. type: table
  38852. #: guix-git/doc/guix.texi:26230 guix-git/doc/guix.texi:26233
  38853. msgid "An ip address on which to listen."
  38854. msgstr ""
  38855. #. type: item
  38856. #: guix-git/doc/guix.texi:26231
  38857. #, no-wrap
  38858. msgid "@code{listen-v6} (default: @code{\"::\"})"
  38859. msgstr ""
  38860. #. type: item
  38861. #: guix-git/doc/guix.texi:26234
  38862. #, no-wrap
  38863. msgid "@code{listen-port} (default: @code{53})"
  38864. msgstr ""
  38865. #. type: table
  38866. #: guix-git/doc/guix.texi:26236
  38867. msgid "A port on which to listen."
  38868. msgstr ""
  38869. #. type: item
  38870. #: guix-git/doc/guix.texi:26237
  38871. #, no-wrap
  38872. msgid "@code{keys} (default: @code{'()})"
  38873. msgstr ""
  38874. #. type: table
  38875. #: guix-git/doc/guix.texi:26239
  38876. msgid "The list of knot-key-configuration used by this configuration."
  38877. msgstr ""
  38878. #. type: item
  38879. #: guix-git/doc/guix.texi:26240
  38880. #, no-wrap
  38881. msgid "@code{acls} (default: @code{'()})"
  38882. msgstr ""
  38883. #. type: table
  38884. #: guix-git/doc/guix.texi:26242
  38885. msgid "The list of knot-acl-configuration used by this configuration."
  38886. msgstr ""
  38887. #. type: item
  38888. #: guix-git/doc/guix.texi:26243
  38889. #, no-wrap
  38890. msgid "@code{remotes} (default: @code{'()})"
  38891. msgstr ""
  38892. #. type: table
  38893. #: guix-git/doc/guix.texi:26245
  38894. msgid "The list of knot-remote-configuration used by this configuration."
  38895. msgstr ""
  38896. #. type: item
  38897. #: guix-git/doc/guix.texi:26246
  38898. #, no-wrap
  38899. msgid "@code{zones} (default: @code{'()})"
  38900. msgstr ""
  38901. #. type: table
  38902. #: guix-git/doc/guix.texi:26248
  38903. msgid "The list of knot-zone-configuration used by this configuration."
  38904. msgstr ""
  38905. #. type: subsubheading
  38906. #: guix-git/doc/guix.texi:26252
  38907. #, no-wrap
  38908. msgid "Knot Resolver Service"
  38909. msgstr ""
  38910. #. type: deffn
  38911. #: guix-git/doc/guix.texi:26254
  38912. #, no-wrap
  38913. msgid "{Scheme Variable} knot-resolver-service-type"
  38914. msgstr ""
  38915. #. type: deffn
  38916. #: guix-git/doc/guix.texi:26257
  38917. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  38918. msgstr ""
  38919. #. type: lisp
  38920. #: guix-git/doc/guix.texi:26267
  38921. #, no-wrap
  38922. msgid ""
  38923. "(service knot-resolver-service-type\n"
  38924. " (knot-resolver-configuration\n"
  38925. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  38926. "net.listen('192.168.0.1', 5353)\n"
  38927. "user('knot-resolver', 'knot-resolver')\n"
  38928. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  38929. "cache.size = 100 * MB\n"
  38930. "\"))))\n"
  38931. msgstr ""
  38932. #. type: deffn
  38933. #: guix-git/doc/guix.texi:26270
  38934. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  38935. msgstr ""
  38936. #. type: deftp
  38937. #: guix-git/doc/guix.texi:26272
  38938. #, no-wrap
  38939. msgid "{Data Type} knot-resolver-configuration"
  38940. msgstr ""
  38941. #. type: deftp
  38942. #: guix-git/doc/guix.texi:26274
  38943. msgid "Data type representing the configuration of knot-resolver."
  38944. msgstr ""
  38945. #. type: item
  38946. #: guix-git/doc/guix.texi:26276
  38947. #, no-wrap
  38948. msgid "@code{package} (default: @var{knot-resolver})"
  38949. msgstr ""
  38950. #. type: table
  38951. #: guix-git/doc/guix.texi:26278
  38952. msgid "Package object of the knot DNS resolver."
  38953. msgstr ""
  38954. #. type: item
  38955. #: guix-git/doc/guix.texi:26279
  38956. #, no-wrap
  38957. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  38958. msgstr ""
  38959. #. type: table
  38960. #: guix-git/doc/guix.texi:26282
  38961. 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}."
  38962. msgstr ""
  38963. #. type: item
  38964. #: guix-git/doc/guix.texi:26283
  38965. #, no-wrap
  38966. msgid "@code{garbage-collection-interval} (default: 1000)"
  38967. msgstr ""
  38968. #. type: table
  38969. #: guix-git/doc/guix.texi:26285
  38970. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  38971. msgstr ""
  38972. #. type: subsubheading
  38973. #: guix-git/doc/guix.texi:26290
  38974. #, no-wrap
  38975. msgid "Dnsmasq Service"
  38976. msgstr ""
  38977. #. type: deffn
  38978. #: guix-git/doc/guix.texi:26292
  38979. #, no-wrap
  38980. msgid "{Scheme Variable} dnsmasq-service-type"
  38981. msgstr ""
  38982. #. type: deffn
  38983. #: guix-git/doc/guix.texi:26295
  38984. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  38985. msgstr ""
  38986. #. type: lisp
  38987. #: guix-git/doc/guix.texi:26301
  38988. #, no-wrap
  38989. msgid ""
  38990. "(service dnsmasq-service-type\n"
  38991. " (dnsmasq-configuration\n"
  38992. " (no-resolv? #t)\n"
  38993. " (servers '(\"192.168.1.1\"))))\n"
  38994. msgstr ""
  38995. #. type: deftp
  38996. #: guix-git/doc/guix.texi:26304
  38997. #, no-wrap
  38998. msgid "{Data Type} dnsmasq-configuration"
  38999. msgstr ""
  39000. #. type: deftp
  39001. #: guix-git/doc/guix.texi:26306
  39002. msgid "Data type representing the configuration of dnsmasq."
  39003. msgstr ""
  39004. #. type: item
  39005. #: guix-git/doc/guix.texi:26308
  39006. #, no-wrap
  39007. msgid "@code{package} (default: @var{dnsmasq})"
  39008. msgstr ""
  39009. #. type: table
  39010. #: guix-git/doc/guix.texi:26310
  39011. msgid "Package object of the dnsmasq server."
  39012. msgstr ""
  39013. #. type: item
  39014. #: guix-git/doc/guix.texi:26311
  39015. #, no-wrap
  39016. msgid "@code{no-hosts?} (default: @code{#f})"
  39017. msgstr ""
  39018. #. type: table
  39019. #: guix-git/doc/guix.texi:26313
  39020. msgid "When true, don't read the hostnames in /etc/hosts."
  39021. msgstr ""
  39022. #. type: item
  39023. #: guix-git/doc/guix.texi:26314
  39024. #, no-wrap
  39025. msgid "@code{port} (default: @code{53})"
  39026. msgstr ""
  39027. #. type: table
  39028. #: guix-git/doc/guix.texi:26317
  39029. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  39030. msgstr ""
  39031. #. type: item
  39032. #: guix-git/doc/guix.texi:26318
  39033. #, no-wrap
  39034. msgid "@code{local-service?} (default: @code{#t})"
  39035. msgstr ""
  39036. #. type: table
  39037. #: guix-git/doc/guix.texi:26321
  39038. 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."
  39039. msgstr ""
  39040. #. type: item
  39041. #: guix-git/doc/guix.texi:26322
  39042. #, no-wrap
  39043. msgid "@code{listen-addresses} (default: @code{'()})"
  39044. msgstr ""
  39045. #. type: table
  39046. #: guix-git/doc/guix.texi:26324
  39047. msgid "Listen on the given IP addresses."
  39048. msgstr ""
  39049. #. type: item
  39050. #: guix-git/doc/guix.texi:26325
  39051. #, no-wrap
  39052. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  39053. msgstr ""
  39054. #. type: table
  39055. #: guix-git/doc/guix.texi:26327
  39056. msgid "The file to read the IP address of the upstream nameservers from."
  39057. msgstr ""
  39058. #. type: item
  39059. #: guix-git/doc/guix.texi:26328
  39060. #, no-wrap
  39061. msgid "@code{no-resolv?} (default: @code{#f})"
  39062. msgstr ""
  39063. #. type: table
  39064. #: guix-git/doc/guix.texi:26330
  39065. msgid "When true, don't read @var{resolv-file}."
  39066. msgstr ""
  39067. #. type: item
  39068. #: guix-git/doc/guix.texi:26331
  39069. #, no-wrap
  39070. msgid "@code{servers} (default: @code{'()})"
  39071. msgstr ""
  39072. #. type: table
  39073. #: guix-git/doc/guix.texi:26333
  39074. msgid "Specify IP address of upstream servers directly."
  39075. msgstr ""
  39076. #. type: item
  39077. #: guix-git/doc/guix.texi:26334
  39078. #, no-wrap
  39079. msgid "@code{addresses} (default: @code{'()})"
  39080. msgstr ""
  39081. #. type: table
  39082. #: guix-git/doc/guix.texi:26338
  39083. 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."
  39084. msgstr ""
  39085. #. type: table
  39086. #: guix-git/doc/guix.texi:26340
  39087. msgid "This is useful for redirecting hosts locally, for example:"
  39088. msgstr ""
  39089. #. type: lisp
  39090. #: guix-git/doc/guix.texi:26349
  39091. #, no-wrap
  39092. msgid ""
  39093. "(service dnsmasq-service-type\n"
  39094. " (dnsmasq-configuration\n"
  39095. " (addresses\n"
  39096. " '(; Redirect to a local web-server.\n"
  39097. " \"/example.org/127.0.0.1\"\n"
  39098. " ; Redirect subdomain to a specific IP.\n"
  39099. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  39100. msgstr ""
  39101. #. type: table
  39102. #: guix-git/doc/guix.texi:26352
  39103. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  39104. msgstr ""
  39105. #. type: item
  39106. #: guix-git/doc/guix.texi:26353
  39107. #, no-wrap
  39108. msgid "@code{cache-size} (default: @code{150})"
  39109. msgstr ""
  39110. #. type: table
  39111. #: guix-git/doc/guix.texi:26356
  39112. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  39113. msgstr ""
  39114. #. type: item
  39115. #: guix-git/doc/guix.texi:26357
  39116. #, no-wrap
  39117. msgid "@code{negative-cache?} (default: @code{#t})"
  39118. msgstr ""
  39119. #. type: table
  39120. #: guix-git/doc/guix.texi:26359
  39121. msgid "When false, disable negative caching."
  39122. msgstr ""
  39123. #. type: item
  39124. #: guix-git/doc/guix.texi:26360
  39125. #, no-wrap
  39126. msgid "@code{tftp-enable?} (default: @code{#f})"
  39127. msgstr ""
  39128. #. type: table
  39129. #: guix-git/doc/guix.texi:26362
  39130. msgid "Whether to enable the built-in TFTP server."
  39131. msgstr ""
  39132. #. type: item
  39133. #: guix-git/doc/guix.texi:26363
  39134. #, no-wrap
  39135. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  39136. msgstr ""
  39137. #. type: table
  39138. #: guix-git/doc/guix.texi:26365
  39139. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  39140. msgstr ""
  39141. #. type: item
  39142. #: guix-git/doc/guix.texi:26366
  39143. #, no-wrap
  39144. msgid "@code{tftp-single-port?} (default: @code{#f})"
  39145. msgstr ""
  39146. #. type: table
  39147. #: guix-git/doc/guix.texi:26368
  39148. msgid "Whether to use only one single port for TFTP."
  39149. msgstr ""
  39150. #. type: item
  39151. #: guix-git/doc/guix.texi:26369
  39152. #, no-wrap
  39153. msgid "@code{tftp-secure?} (default: @code{#f})"
  39154. msgstr ""
  39155. #. type: table
  39156. #: guix-git/doc/guix.texi:26371
  39157. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  39158. msgstr ""
  39159. #. type: table
  39160. #: guix-git/doc/guix.texi:26375
  39161. 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."
  39162. msgstr ""
  39163. #. type: item
  39164. #: guix-git/doc/guix.texi:26376
  39165. #, no-wrap
  39166. msgid "@code{tftp-max} (default: @code{#f})"
  39167. msgstr ""
  39168. #. type: table
  39169. #: guix-git/doc/guix.texi:26378
  39170. msgid "If set, sets the maximal number of concurrent connections allowed."
  39171. msgstr ""
  39172. #. type: item
  39173. #: guix-git/doc/guix.texi:26379
  39174. #, no-wrap
  39175. msgid "@code{tftp-mtu} (default: @code{#f})"
  39176. msgstr ""
  39177. #. type: table
  39178. #: guix-git/doc/guix.texi:26381
  39179. msgid "If set, sets the MTU for TFTP packets to that value."
  39180. msgstr ""
  39181. #. type: item
  39182. #: guix-git/doc/guix.texi:26382
  39183. #, no-wrap
  39184. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  39185. msgstr ""
  39186. #. type: table
  39187. #: guix-git/doc/guix.texi:26384
  39188. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  39189. msgstr ""
  39190. #. type: item
  39191. #: guix-git/doc/guix.texi:26385
  39192. #, no-wrap
  39193. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  39194. msgstr ""
  39195. #. type: table
  39196. #: guix-git/doc/guix.texi:26387
  39197. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  39198. msgstr ""
  39199. #. type: item
  39200. #: guix-git/doc/guix.texi:26388
  39201. #, no-wrap
  39202. msgid "@code{tftp-port-range} (default: @code{#f})"
  39203. msgstr ""
  39204. #. type: table
  39205. #: guix-git/doc/guix.texi:26391
  39206. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  39207. msgstr ""
  39208. #. type: item
  39209. #: guix-git/doc/guix.texi:26392
  39210. #, no-wrap
  39211. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  39212. msgstr ""
  39213. #. type: table
  39214. #: guix-git/doc/guix.texi:26399
  39215. 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."
  39216. msgstr ""
  39217. #. type: item
  39218. #: guix-git/doc/guix.texi:26400
  39219. #, no-wrap
  39220. msgid "@code{tftp-unique-root} (default: @code{#f})"
  39221. msgstr ""
  39222. #. type: table
  39223. #: guix-git/doc/guix.texi:26405
  39224. 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)."
  39225. msgstr ""
  39226. #. type: table
  39227. #: guix-git/doc/guix.texi:26414
  39228. 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."
  39229. msgstr ""
  39230. #. type: subsubheading
  39231. #: guix-git/doc/guix.texi:26418
  39232. #, no-wrap
  39233. msgid "ddclient Service"
  39234. msgstr ""
  39235. #. type: cindex
  39236. #: guix-git/doc/guix.texi:26420
  39237. #, no-wrap
  39238. msgid "ddclient"
  39239. msgstr ""
  39240. #. type: Plain text
  39241. #: guix-git/doc/guix.texi:26424
  39242. 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}."
  39243. msgstr ""
  39244. #. type: Plain text
  39245. #: guix-git/doc/guix.texi:26427
  39246. msgid "The following example show instantiates the service with its default configuration:"
  39247. msgstr ""
  39248. #. type: lisp
  39249. #: guix-git/doc/guix.texi:26430
  39250. #, no-wrap
  39251. msgid "(service ddclient-service-type)\n"
  39252. msgstr ""
  39253. #. type: Plain text
  39254. #: guix-git/doc/guix.texi:26439
  39255. 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."
  39256. msgstr ""
  39257. #. type: Plain text
  39258. #: guix-git/doc/guix.texi:26443
  39259. msgid "Available @code{ddclient-configuration} fields are:"
  39260. msgstr ""
  39261. #. type: deftypevr
  39262. #: guix-git/doc/guix.texi:26444
  39263. #, no-wrap
  39264. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  39265. msgstr ""
  39266. #. type: deftypevr
  39267. #: guix-git/doc/guix.texi:26446
  39268. msgid "The ddclient package."
  39269. msgstr ""
  39270. #. type: deftypevr
  39271. #: guix-git/doc/guix.texi:26449
  39272. #, no-wrap
  39273. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  39274. msgstr ""
  39275. #. type: deftypevr
  39276. #: guix-git/doc/guix.texi:26451
  39277. msgid "The period after which ddclient will retry to check IP and domain name."
  39278. msgstr ""
  39279. #. type: deftypevr
  39280. #: guix-git/doc/guix.texi:26456
  39281. #, no-wrap
  39282. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  39283. msgstr ""
  39284. #. type: deftypevr
  39285. #: guix-git/doc/guix.texi:26458
  39286. msgid "Use syslog for the output."
  39287. msgstr ""
  39288. #. type: deftypevr
  39289. #: guix-git/doc/guix.texi:26463
  39290. #, no-wrap
  39291. msgid "{@code{ddclient-configuration} parameter} string mail"
  39292. msgstr ""
  39293. #. type: deftypevr
  39294. #: guix-git/doc/guix.texi:26465
  39295. msgid "Mail to user."
  39296. msgstr ""
  39297. #. type: deftypevr
  39298. #: guix-git/doc/guix.texi:26467 guix-git/doc/guix.texi:26474
  39299. #: guix-git/doc/guix.texi:28211
  39300. msgid "Defaults to @samp{\"root\"}."
  39301. msgstr ""
  39302. #. type: deftypevr
  39303. #: guix-git/doc/guix.texi:26470
  39304. #, no-wrap
  39305. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  39306. msgstr ""
  39307. #. type: deftypevr
  39308. #: guix-git/doc/guix.texi:26472
  39309. msgid "Mail failed update to user."
  39310. msgstr ""
  39311. #. type: deftypevr
  39312. #: guix-git/doc/guix.texi:26477
  39313. #, no-wrap
  39314. msgid "{@code{ddclient-configuration} parameter} string pid"
  39315. msgstr ""
  39316. #. type: deftypevr
  39317. #: guix-git/doc/guix.texi:26479
  39318. msgid "The ddclient PID file."
  39319. msgstr ""
  39320. #. type: deftypevr
  39321. #: guix-git/doc/guix.texi:26481
  39322. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  39323. msgstr ""
  39324. #. type: deftypevr
  39325. #: guix-git/doc/guix.texi:26484
  39326. #, no-wrap
  39327. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  39328. msgstr ""
  39329. #. type: deftypevr
  39330. #: guix-git/doc/guix.texi:26486
  39331. msgid "Enable SSL support."
  39332. msgstr ""
  39333. #. type: deftypevr
  39334. #: guix-git/doc/guix.texi:26491
  39335. #, no-wrap
  39336. msgid "{@code{ddclient-configuration} parameter} string user"
  39337. msgstr ""
  39338. #. type: deftypevr
  39339. #: guix-git/doc/guix.texi:26494
  39340. msgid "Specifies the user name or ID that is used when running ddclient program."
  39341. msgstr ""
  39342. #. type: deftypevr
  39343. #: guix-git/doc/guix.texi:26496 guix-git/doc/guix.texi:26503
  39344. msgid "Defaults to @samp{\"ddclient\"}."
  39345. msgstr ""
  39346. #. type: deftypevr
  39347. #: guix-git/doc/guix.texi:26499
  39348. #, no-wrap
  39349. msgid "{@code{ddclient-configuration} parameter} string group"
  39350. msgstr ""
  39351. #. type: deftypevr
  39352. #: guix-git/doc/guix.texi:26501
  39353. msgid "Group of the user who will run the ddclient program."
  39354. msgstr ""
  39355. #. type: deftypevr
  39356. #: guix-git/doc/guix.texi:26506
  39357. #, no-wrap
  39358. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  39359. msgstr ""
  39360. #. type: deftypevr
  39361. #: guix-git/doc/guix.texi:26510
  39362. 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."
  39363. msgstr ""
  39364. #. type: deftypevr
  39365. #: guix-git/doc/guix.texi:26512
  39366. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  39367. msgstr ""
  39368. #. type: deftypevr
  39369. #: guix-git/doc/guix.texi:26515
  39370. #, no-wrap
  39371. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  39372. msgstr ""
  39373. #. type: deftypevr
  39374. #: guix-git/doc/guix.texi:26517
  39375. msgid "Extra options will be appended to @file{ddclient.conf} file."
  39376. msgstr ""
  39377. #. type: cindex
  39378. #: guix-git/doc/guix.texi:26528
  39379. #, no-wrap
  39380. msgid "VPN (virtual private network)"
  39381. msgstr ""
  39382. #. type: cindex
  39383. #: guix-git/doc/guix.texi:26529
  39384. #, no-wrap
  39385. msgid "virtual private network (VPN)"
  39386. msgstr ""
  39387. #. type: Plain text
  39388. #: guix-git/doc/guix.texi:26533
  39389. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  39390. msgstr ""
  39391. #. type: subsubheading
  39392. #: guix-git/doc/guix.texi:26534
  39393. #, no-wrap
  39394. msgid "OpenVPN"
  39395. msgstr ""
  39396. #. type: Plain text
  39397. #: guix-git/doc/guix.texi:26538
  39398. 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@."
  39399. msgstr ""
  39400. #. type: deffn
  39401. #: guix-git/doc/guix.texi:26539
  39402. #, no-wrap
  39403. msgid "{Scheme Procedure} openvpn-client-service @"
  39404. msgstr ""
  39405. #. type: deffn
  39406. #: guix-git/doc/guix.texi:26541
  39407. msgid "[#:config (openvpn-client-configuration)]"
  39408. msgstr ""
  39409. #. type: deffn
  39410. #: guix-git/doc/guix.texi:26543
  39411. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  39412. msgstr ""
  39413. #. type: deffn
  39414. #: guix-git/doc/guix.texi:26545
  39415. #, no-wrap
  39416. msgid "{Scheme Procedure} openvpn-server-service @"
  39417. msgstr ""
  39418. #. type: deffn
  39419. #: guix-git/doc/guix.texi:26547
  39420. msgid "[#:config (openvpn-server-configuration)]"
  39421. msgstr ""
  39422. #. type: deffn
  39423. #: guix-git/doc/guix.texi:26549
  39424. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  39425. msgstr ""
  39426. #. type: deffn
  39427. #: guix-git/doc/guix.texi:26551
  39428. msgid "Both can be run simultaneously."
  39429. msgstr ""
  39430. #. type: Plain text
  39431. #: guix-git/doc/guix.texi:26556
  39432. msgid "Available @code{openvpn-client-configuration} fields are:"
  39433. msgstr ""
  39434. #. type: deftypevr
  39435. #: guix-git/doc/guix.texi:26557
  39436. #, no-wrap
  39437. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  39438. msgstr ""
  39439. #. type: deftypevr
  39440. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26714
  39441. msgid "The OpenVPN package."
  39442. msgstr ""
  39443. #. type: deftypevr
  39444. #: guix-git/doc/guix.texi:26562
  39445. #, no-wrap
  39446. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  39447. msgstr ""
  39448. #. type: deftypevr
  39449. #: guix-git/doc/guix.texi:26564 guix-git/doc/guix.texi:26719
  39450. msgid "The OpenVPN pid file."
  39451. msgstr ""
  39452. #. type: deftypevr
  39453. #: guix-git/doc/guix.texi:26566 guix-git/doc/guix.texi:26721
  39454. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  39455. msgstr ""
  39456. #. type: deftypevr
  39457. #: guix-git/doc/guix.texi:26569
  39458. #, no-wrap
  39459. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  39460. msgstr ""
  39461. #. type: deftypevr
  39462. #: guix-git/doc/guix.texi:26572 guix-git/doc/guix.texi:26727
  39463. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  39464. msgstr ""
  39465. #. type: deftypevr
  39466. #: guix-git/doc/guix.texi:26574 guix-git/doc/guix.texi:26729
  39467. msgid "Defaults to @samp{udp}."
  39468. msgstr ""
  39469. #. type: deftypevr
  39470. #: guix-git/doc/guix.texi:26577
  39471. #, no-wrap
  39472. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  39473. msgstr ""
  39474. #. type: deftypevr
  39475. #: guix-git/doc/guix.texi:26579 guix-git/doc/guix.texi:26734
  39476. msgid "The device type used to represent the VPN connection."
  39477. msgstr ""
  39478. #. type: deftypevr
  39479. #: guix-git/doc/guix.texi:26581 guix-git/doc/guix.texi:26736
  39480. msgid "Defaults to @samp{tun}."
  39481. msgstr ""
  39482. #. type: Plain text
  39483. #: guix-git/doc/guix.texi:26587 guix-git/doc/guix.texi:26742
  39484. 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}."
  39485. msgstr ""
  39486. #. type: deftypevr
  39487. #: guix-git/doc/guix.texi:26588
  39488. #, no-wrap
  39489. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  39490. msgstr ""
  39491. #. type: deftypevr
  39492. #: guix-git/doc/guix.texi:26590 guix-git/doc/guix.texi:26745
  39493. msgid "The certificate authority to check connections against."
  39494. msgstr ""
  39495. #. type: deftypevr
  39496. #: guix-git/doc/guix.texi:26592 guix-git/doc/guix.texi:26747
  39497. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  39498. msgstr ""
  39499. #. type: deftypevr
  39500. #: guix-git/doc/guix.texi:26595
  39501. #, no-wrap
  39502. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  39503. msgstr ""
  39504. #. type: deftypevr
  39505. #: guix-git/doc/guix.texi:26598 guix-git/doc/guix.texi:26753
  39506. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  39507. msgstr ""
  39508. #. type: deftypevr
  39509. #: guix-git/doc/guix.texi:26600 guix-git/doc/guix.texi:26755
  39510. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  39511. msgstr ""
  39512. #. type: deftypevr
  39513. #: guix-git/doc/guix.texi:26603
  39514. #, no-wrap
  39515. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  39516. msgstr ""
  39517. #. type: deftypevr
  39518. #: guix-git/doc/guix.texi:26606 guix-git/doc/guix.texi:26761
  39519. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  39520. msgstr ""
  39521. #. type: deftypevr
  39522. #: guix-git/doc/guix.texi:26608 guix-git/doc/guix.texi:26763
  39523. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  39524. msgstr ""
  39525. #. type: deftypevr
  39526. #: guix-git/doc/guix.texi:26611
  39527. #, no-wrap
  39528. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  39529. msgstr ""
  39530. #. type: deftypevr
  39531. #: guix-git/doc/guix.texi:26613 guix-git/doc/guix.texi:26768
  39532. msgid "Whether to use the lzo compression algorithm."
  39533. msgstr ""
  39534. #. type: deftypevr
  39535. #: guix-git/doc/guix.texi:26618
  39536. #, no-wrap
  39537. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  39538. msgstr ""
  39539. #. type: deftypevr
  39540. #: guix-git/doc/guix.texi:26620 guix-git/doc/guix.texi:26775
  39541. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  39542. msgstr ""
  39543. #. type: deftypevr
  39544. #: guix-git/doc/guix.texi:26625
  39545. #, no-wrap
  39546. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  39547. msgstr ""
  39548. #. type: deftypevr
  39549. #: guix-git/doc/guix.texi:26628 guix-git/doc/guix.texi:26783
  39550. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  39551. msgstr ""
  39552. #. type: deftypevr
  39553. #: guix-git/doc/guix.texi:26633
  39554. #, no-wrap
  39555. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  39556. msgstr ""
  39557. #. type: deftypevr
  39558. #: guix-git/doc/guix.texi:26636 guix-git/doc/guix.texi:26791
  39559. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  39560. msgstr ""
  39561. #. type: deftypevr
  39562. #: guix-git/doc/guix.texi:26640
  39563. #, no-wrap
  39564. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  39565. msgstr ""
  39566. #. type: deftypevr
  39567. #: guix-git/doc/guix.texi:26642 guix-git/doc/guix.texi:26797
  39568. msgid "Verbosity level."
  39569. msgstr ""
  39570. #. type: deftypevr
  39571. #: guix-git/doc/guix.texi:26644 guix-git/doc/guix.texi:26799
  39572. #: guix-git/doc/guix.texi:28479 guix-git/doc/guix.texi:28703
  39573. msgid "Defaults to @samp{3}."
  39574. msgstr ""
  39575. #. type: deftypevr
  39576. #: guix-git/doc/guix.texi:26647
  39577. #, no-wrap
  39578. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  39579. msgstr ""
  39580. #. type: deftypevr
  39581. #: guix-git/doc/guix.texi:26650 guix-git/doc/guix.texi:26805
  39582. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  39583. msgstr ""
  39584. #. type: deftypevr
  39585. #: guix-git/doc/guix.texi:26655
  39586. #, no-wrap
  39587. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  39588. msgstr ""
  39589. #. type: deftypevr
  39590. #: guix-git/doc/guix.texi:26659
  39591. 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."
  39592. msgstr ""
  39593. #. type: deftypevr
  39594. #: guix-git/doc/guix.texi:26661
  39595. msgid "Defaults to @samp{'disabled}."
  39596. msgstr ""
  39597. #. type: deftypevr
  39598. #: guix-git/doc/guix.texi:26663
  39599. #, no-wrap
  39600. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  39601. msgstr ""
  39602. #. type: deftypevr
  39603. #: guix-git/doc/guix.texi:26665
  39604. msgid "Whether to check the server certificate has server usage extension."
  39605. msgstr ""
  39606. #. type: deftypevr
  39607. #: guix-git/doc/guix.texi:26670
  39608. #, no-wrap
  39609. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  39610. msgstr ""
  39611. #. type: deftypevr
  39612. #: guix-git/doc/guix.texi:26672
  39613. msgid "Bind to a specific local port number."
  39614. msgstr ""
  39615. #. type: deftypevr
  39616. #: guix-git/doc/guix.texi:26677
  39617. #, no-wrap
  39618. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  39619. msgstr ""
  39620. #. type: deftypevr
  39621. #: guix-git/doc/guix.texi:26679
  39622. msgid "Retry resolving server address."
  39623. msgstr ""
  39624. #. type: deftypevr
  39625. #: guix-git/doc/guix.texi:26684
  39626. #, no-wrap
  39627. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  39628. msgstr ""
  39629. #. type: deftypevr
  39630. #: guix-git/doc/guix.texi:26686
  39631. msgid "A list of remote servers to connect to."
  39632. msgstr ""
  39633. #. type: deftypevr
  39634. #: guix-git/doc/guix.texi:26690
  39635. msgid "Available @code{openvpn-remote-configuration} fields are:"
  39636. msgstr ""
  39637. #. type: deftypevr
  39638. #: guix-git/doc/guix.texi:26691
  39639. #, no-wrap
  39640. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  39641. msgstr ""
  39642. #. type: deftypevr
  39643. #: guix-git/doc/guix.texi:26693
  39644. msgid "Server name."
  39645. msgstr ""
  39646. #. type: deftypevr
  39647. #: guix-git/doc/guix.texi:26695
  39648. msgid "Defaults to @samp{\"my-server\"}."
  39649. msgstr ""
  39650. #. type: deftypevr
  39651. #: guix-git/doc/guix.texi:26698
  39652. #, no-wrap
  39653. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  39654. msgstr ""
  39655. #. type: deftypevr
  39656. #: guix-git/doc/guix.texi:26700
  39657. msgid "Port number the server listens to."
  39658. msgstr ""
  39659. #. type: deftypevr
  39660. #: guix-git/doc/guix.texi:26702 guix-git/doc/guix.texi:26814
  39661. msgid "Defaults to @samp{1194}."
  39662. msgstr ""
  39663. #. type: Plain text
  39664. #: guix-git/doc/guix.texi:26711
  39665. msgid "Available @code{openvpn-server-configuration} fields are:"
  39666. msgstr ""
  39667. #. type: deftypevr
  39668. #: guix-git/doc/guix.texi:26712
  39669. #, no-wrap
  39670. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  39671. msgstr ""
  39672. #. type: deftypevr
  39673. #: guix-git/doc/guix.texi:26717
  39674. #, no-wrap
  39675. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  39676. msgstr ""
  39677. #. type: deftypevr
  39678. #: guix-git/doc/guix.texi:26724
  39679. #, no-wrap
  39680. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  39681. msgstr ""
  39682. #. type: deftypevr
  39683. #: guix-git/doc/guix.texi:26732
  39684. #, no-wrap
  39685. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  39686. msgstr ""
  39687. #. type: deftypevr
  39688. #: guix-git/doc/guix.texi:26743
  39689. #, no-wrap
  39690. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  39691. msgstr ""
  39692. #. type: deftypevr
  39693. #: guix-git/doc/guix.texi:26750
  39694. #, no-wrap
  39695. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  39696. msgstr ""
  39697. #. type: deftypevr
  39698. #: guix-git/doc/guix.texi:26758
  39699. #, no-wrap
  39700. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  39701. msgstr ""
  39702. #. type: deftypevr
  39703. #: guix-git/doc/guix.texi:26766
  39704. #, no-wrap
  39705. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  39706. msgstr ""
  39707. #. type: deftypevr
  39708. #: guix-git/doc/guix.texi:26773
  39709. #, no-wrap
  39710. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  39711. msgstr ""
  39712. #. type: deftypevr
  39713. #: guix-git/doc/guix.texi:26780
  39714. #, no-wrap
  39715. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  39716. msgstr ""
  39717. #. type: deftypevr
  39718. #: guix-git/doc/guix.texi:26788
  39719. #, no-wrap
  39720. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  39721. msgstr ""
  39722. #. type: deftypevr
  39723. #: guix-git/doc/guix.texi:26795
  39724. #, no-wrap
  39725. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  39726. msgstr ""
  39727. #. type: deftypevr
  39728. #: guix-git/doc/guix.texi:26802
  39729. #, no-wrap
  39730. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  39731. msgstr ""
  39732. #. type: deftypevr
  39733. #: guix-git/doc/guix.texi:26810
  39734. #, no-wrap
  39735. msgid "{@code{openvpn-server-configuration} parameter} number port"
  39736. msgstr ""
  39737. #. type: deftypevr
  39738. #: guix-git/doc/guix.texi:26812
  39739. msgid "Specifies the port number on which the server listens."
  39740. msgstr ""
  39741. #. type: deftypevr
  39742. #: guix-git/doc/guix.texi:26817
  39743. #, no-wrap
  39744. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  39745. msgstr ""
  39746. #. type: deftypevr
  39747. #: guix-git/doc/guix.texi:26819
  39748. msgid "An ip and mask specifying the subnet inside the virtual network."
  39749. msgstr ""
  39750. #. type: deftypevr
  39751. #: guix-git/doc/guix.texi:26821
  39752. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  39753. msgstr ""
  39754. #. type: deftypevr
  39755. #: guix-git/doc/guix.texi:26824
  39756. #, no-wrap
  39757. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  39758. msgstr ""
  39759. #. type: deftypevr
  39760. #: guix-git/doc/guix.texi:26826
  39761. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  39762. msgstr ""
  39763. #. type: deftypevr
  39764. #: guix-git/doc/guix.texi:26831
  39765. #, no-wrap
  39766. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  39767. msgstr ""
  39768. #. type: deftypevr
  39769. #: guix-git/doc/guix.texi:26833
  39770. msgid "The Diffie-Hellman parameters file."
  39771. msgstr ""
  39772. #. type: deftypevr
  39773. #: guix-git/doc/guix.texi:26835
  39774. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  39775. msgstr ""
  39776. #. type: deftypevr
  39777. #: guix-git/doc/guix.texi:26838
  39778. #, no-wrap
  39779. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  39780. msgstr ""
  39781. #. type: deftypevr
  39782. #: guix-git/doc/guix.texi:26840
  39783. msgid "The file that records client IPs."
  39784. msgstr ""
  39785. #. type: deftypevr
  39786. #: guix-git/doc/guix.texi:26842
  39787. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  39788. msgstr ""
  39789. #. type: deftypevr
  39790. #: guix-git/doc/guix.texi:26845
  39791. #, no-wrap
  39792. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  39793. msgstr ""
  39794. #. type: deftypevr
  39795. #: guix-git/doc/guix.texi:26847
  39796. msgid "When true, the server will act as a gateway for its clients."
  39797. msgstr ""
  39798. #. type: deftypevr
  39799. #: guix-git/doc/guix.texi:26852
  39800. #, no-wrap
  39801. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  39802. msgstr ""
  39803. #. type: deftypevr
  39804. #: guix-git/doc/guix.texi:26854
  39805. msgid "When true, clients are allowed to talk to each other inside the VPN."
  39806. msgstr ""
  39807. #. type: deftypevr
  39808. #: guix-git/doc/guix.texi:26859
  39809. #, no-wrap
  39810. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  39811. msgstr ""
  39812. #. type: deftypevr
  39813. #: guix-git/doc/guix.texi:26865
  39814. 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."
  39815. msgstr ""
  39816. #. type: deftypevr
  39817. #: guix-git/doc/guix.texi:26868
  39818. #, no-wrap
  39819. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  39820. msgstr ""
  39821. #. type: deftypevr
  39822. #: guix-git/doc/guix.texi:26870
  39823. msgid "The maximum number of clients."
  39824. msgstr ""
  39825. #. type: deftypevr
  39826. #: guix-git/doc/guix.texi:26875
  39827. #, no-wrap
  39828. msgid "{@code{openvpn-server-configuration} parameter} string status"
  39829. msgstr ""
  39830. #. type: deftypevr
  39831. #: guix-git/doc/guix.texi:26878
  39832. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  39833. msgstr ""
  39834. #. type: deftypevr
  39835. #: guix-git/doc/guix.texi:26880
  39836. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  39837. msgstr ""
  39838. #. type: deftypevr
  39839. #: guix-git/doc/guix.texi:26883
  39840. #, no-wrap
  39841. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  39842. msgstr ""
  39843. #. type: deftypevr
  39844. #: guix-git/doc/guix.texi:26885
  39845. msgid "The list of configuration for some clients."
  39846. msgstr ""
  39847. #. type: deftypevr
  39848. #: guix-git/doc/guix.texi:26889
  39849. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  39850. msgstr ""
  39851. #. type: deftypevr
  39852. #: guix-git/doc/guix.texi:26890
  39853. #, no-wrap
  39854. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  39855. msgstr ""
  39856. #. type: deftypevr
  39857. #: guix-git/doc/guix.texi:26892
  39858. msgid "Client name."
  39859. msgstr ""
  39860. #. type: deftypevr
  39861. #: guix-git/doc/guix.texi:26894
  39862. msgid "Defaults to @samp{\"client\"}."
  39863. msgstr ""
  39864. #. type: deftypevr
  39865. #: guix-git/doc/guix.texi:26897
  39866. #, no-wrap
  39867. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  39868. msgstr ""
  39869. #. type: deftypevr
  39870. #: guix-git/doc/guix.texi:26899
  39871. msgid "Client own network"
  39872. msgstr ""
  39873. #. type: deftypevr
  39874. #: guix-git/doc/guix.texi:26904
  39875. #, no-wrap
  39876. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  39877. msgstr ""
  39878. #. type: deftypevr
  39879. #: guix-git/doc/guix.texi:26906
  39880. msgid "Client VPN IP."
  39881. msgstr ""
  39882. #. type: subsubheading
  39883. #: guix-git/doc/guix.texi:26916
  39884. #, no-wrap
  39885. msgid "Wireguard"
  39886. msgstr ""
  39887. #. type: defvr
  39888. #: guix-git/doc/guix.texi:26918
  39889. #, no-wrap
  39890. msgid "{Scheme Variable} wireguard-service-type"
  39891. msgstr ""
  39892. #. type: defvr
  39893. #: guix-git/doc/guix.texi:26921
  39894. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  39895. msgstr ""
  39896. #. type: lisp
  39897. #: guix-git/doc/guix.texi:26932
  39898. #, no-wrap
  39899. msgid ""
  39900. "(service wireguard-service-type\n"
  39901. " (wireguard-configuration\n"
  39902. " (peers\n"
  39903. " (list\n"
  39904. " (wireguard-peer\n"
  39905. " (name \"my-peer\")\n"
  39906. " (endpoint \"my.wireguard.com:51820\")\n"
  39907. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  39908. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  39909. msgstr ""
  39910. #. type: deftp
  39911. #: guix-git/doc/guix.texi:26936
  39912. #, no-wrap
  39913. msgid "{Data Type} wireguard-configuration"
  39914. msgstr ""
  39915. #. type: deftp
  39916. #: guix-git/doc/guix.texi:26938
  39917. msgid "Data type representing the configuration of the Wireguard service."
  39918. msgstr ""
  39919. #. type: code{#1}
  39920. #: guix-git/doc/guix.texi:26940
  39921. #, no-wrap
  39922. msgid "wireguard"
  39923. msgstr ""
  39924. #. type: table
  39925. #: guix-git/doc/guix.texi:26942
  39926. msgid "The wireguard package to use for this service."
  39927. msgstr ""
  39928. #. type: item
  39929. #: guix-git/doc/guix.texi:26943
  39930. #, no-wrap
  39931. msgid "@code{interface} (default: @code{\"wg0\"})"
  39932. msgstr ""
  39933. #. type: table
  39934. #: guix-git/doc/guix.texi:26945
  39935. msgid "The interface name for the VPN."
  39936. msgstr ""
  39937. #. type: item
  39938. #: guix-git/doc/guix.texi:26946
  39939. #, no-wrap
  39940. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  39941. msgstr ""
  39942. #. type: table
  39943. #: guix-git/doc/guix.texi:26948
  39944. msgid "The IP addresses to be assigned to the above interface."
  39945. msgstr ""
  39946. #. type: item
  39947. #: guix-git/doc/guix.texi:26949
  39948. #, no-wrap
  39949. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  39950. msgstr ""
  39951. #. type: table
  39952. #: guix-git/doc/guix.texi:26952
  39953. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  39954. msgstr ""
  39955. #. type: item
  39956. #: guix-git/doc/guix.texi:26953
  39957. #, no-wrap
  39958. msgid "@code{peers} (default: @code{'()})"
  39959. msgstr ""
  39960. #. type: table
  39961. #: guix-git/doc/guix.texi:26956
  39962. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  39963. msgstr ""
  39964. #. type: deftp
  39965. #: guix-git/doc/guix.texi:26960
  39966. #, no-wrap
  39967. msgid "{Data Type} wireguard-peer"
  39968. msgstr ""
  39969. #. type: deftp
  39970. #: guix-git/doc/guix.texi:26962
  39971. msgid "Data type representing a Wireguard peer attached to a given interface."
  39972. msgstr ""
  39973. #. type: table
  39974. #: guix-git/doc/guix.texi:26966
  39975. msgid "The peer name."
  39976. msgstr ""
  39977. #. type: item
  39978. #: guix-git/doc/guix.texi:26967
  39979. #, no-wrap
  39980. msgid "@code{endpoint} (default: @code{#f})"
  39981. msgstr ""
  39982. #. type: table
  39983. #: guix-git/doc/guix.texi:26970
  39984. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  39985. msgstr ""
  39986. #. type: itemx
  39987. #: guix-git/doc/guix.texi:26971 guix-git/doc/guix.texi:27355
  39988. #: guix-git/doc/guix.texi:27389 guix-git/doc/guix.texi:32191
  39989. #, no-wrap
  39990. msgid "public-key"
  39991. msgstr ""
  39992. #. type: table
  39993. #: guix-git/doc/guix.texi:26973
  39994. msgid "The peer public-key represented as a base64 string."
  39995. msgstr ""
  39996. #. type: code{#1}
  39997. #: guix-git/doc/guix.texi:26974
  39998. #, no-wrap
  39999. msgid "allowed-ips"
  40000. msgstr ""
  40001. #. type: table
  40002. #: guix-git/doc/guix.texi:26977
  40003. 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."
  40004. msgstr ""
  40005. #. type: cindex
  40006. #: guix-git/doc/guix.texi:26983
  40007. #, no-wrap
  40008. msgid "NFS"
  40009. msgstr ""
  40010. #. type: Plain text
  40011. #: guix-git/doc/guix.texi:26988
  40012. 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)."
  40013. msgstr ""
  40014. #. type: Plain text
  40015. #: guix-git/doc/guix.texi:26992
  40016. 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}."
  40017. msgstr ""
  40018. #. type: subsubheading
  40019. #: guix-git/doc/guix.texi:26993
  40020. #, no-wrap
  40021. msgid "NFS Service"
  40022. msgstr ""
  40023. #. type: cindex
  40024. #: guix-git/doc/guix.texi:26994
  40025. #, no-wrap
  40026. msgid "NFS, server"
  40027. msgstr ""
  40028. #. type: Plain text
  40029. #: guix-git/doc/guix.texi:26999
  40030. 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."
  40031. msgstr ""
  40032. #. type: defvr
  40033. #: guix-git/doc/guix.texi:27000
  40034. #, no-wrap
  40035. msgid "{Scheme Variable} nfs-service-type"
  40036. msgstr ""
  40037. #. type: defvr
  40038. #: guix-git/doc/guix.texi:27002
  40039. msgid "A service type for a complete NFS server."
  40040. msgstr ""
  40041. #. type: deftp
  40042. #: guix-git/doc/guix.texi:27004
  40043. #, no-wrap
  40044. msgid "{Data Type} nfs-configuration"
  40045. msgstr ""
  40046. #. type: deftp
  40047. #: guix-git/doc/guix.texi:27007
  40048. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  40049. msgstr ""
  40050. #. type: deftp
  40051. #: guix-git/doc/guix.texi:27009
  40052. msgid "It has the following parameters:"
  40053. msgstr ""
  40054. #. type: item
  40055. #: guix-git/doc/guix.texi:27010 guix-git/doc/guix.texi:27135
  40056. #: guix-git/doc/guix.texi:27160
  40057. #, no-wrap
  40058. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  40059. msgstr ""
  40060. #. type: table
  40061. #: guix-git/doc/guix.texi:27012
  40062. msgid "The nfs-utils package to use."
  40063. msgstr ""
  40064. #. type: item
  40065. #: guix-git/doc/guix.texi:27013
  40066. #, no-wrap
  40067. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  40068. msgstr ""
  40069. #. type: table
  40070. #: guix-git/doc/guix.texi:27016
  40071. 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."
  40072. msgstr ""
  40073. #. type: item
  40074. #: guix-git/doc/guix.texi:27017
  40075. #, no-wrap
  40076. msgid "@code{exports} (default: @code{'()})"
  40077. msgstr ""
  40078. #. type: table
  40079. #: guix-git/doc/guix.texi:27022
  40080. 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:"
  40081. msgstr ""
  40082. #. type: lisp
  40083. #: guix-git/doc/guix.texi:27028
  40084. #, no-wrap
  40085. msgid ""
  40086. "(nfs-configuration\n"
  40087. " (exports\n"
  40088. " '((\"/export\"\n"
  40089. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  40090. msgstr ""
  40091. #. type: item
  40092. #: guix-git/doc/guix.texi:27030
  40093. #, no-wrap
  40094. msgid "@code{rpcmountd-port} (default: @code{#f})"
  40095. msgstr ""
  40096. #. type: table
  40097. #: guix-git/doc/guix.texi:27032
  40098. msgid "The network port that the @command{rpc.mountd} daemon should use."
  40099. msgstr ""
  40100. #. type: item
  40101. #: guix-git/doc/guix.texi:27033
  40102. #, no-wrap
  40103. msgid "@code{rpcstatd-port} (default: @code{#f})"
  40104. msgstr ""
  40105. #. type: table
  40106. #: guix-git/doc/guix.texi:27035
  40107. msgid "The network port that the @command{rpc.statd} daemon should use."
  40108. msgstr ""
  40109. #. type: item
  40110. #: guix-git/doc/guix.texi:27036 guix-git/doc/guix.texi:27084
  40111. #, no-wrap
  40112. msgid "@code{rpcbind} (default: @code{rpcbind})"
  40113. msgstr ""
  40114. #. type: table
  40115. #: guix-git/doc/guix.texi:27038 guix-git/doc/guix.texi:27086
  40116. msgid "The rpcbind package to use."
  40117. msgstr ""
  40118. #. type: item
  40119. #: guix-git/doc/guix.texi:27039
  40120. #, no-wrap
  40121. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  40122. msgstr ""
  40123. #. type: table
  40124. #: guix-git/doc/guix.texi:27041
  40125. msgid "The local NFSv4 domain name."
  40126. msgstr ""
  40127. #. type: item
  40128. #: guix-git/doc/guix.texi:27042
  40129. #, no-wrap
  40130. msgid "@code{nfsd-port} (default: @code{2049})"
  40131. msgstr ""
  40132. #. type: table
  40133. #: guix-git/doc/guix.texi:27044
  40134. msgid "The network port that the @command{nfsd} daemon should use."
  40135. msgstr ""
  40136. #. type: item
  40137. #: guix-git/doc/guix.texi:27045
  40138. #, no-wrap
  40139. msgid "@code{nfsd-threads} (default: @code{8})"
  40140. msgstr ""
  40141. #. type: table
  40142. #: guix-git/doc/guix.texi:27047
  40143. msgid "The number of threads used by the @command{nfsd} daemon."
  40144. msgstr ""
  40145. #. type: item
  40146. #: guix-git/doc/guix.texi:27048
  40147. #, no-wrap
  40148. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  40149. msgstr ""
  40150. #. type: table
  40151. #: guix-git/doc/guix.texi:27050
  40152. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  40153. msgstr ""
  40154. #. type: item
  40155. #: guix-git/doc/guix.texi:27051
  40156. #, no-wrap
  40157. msgid "@code{nfsd-udp?} (default: @code{#f})"
  40158. msgstr ""
  40159. #. type: table
  40160. #: guix-git/doc/guix.texi:27053
  40161. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  40162. msgstr ""
  40163. #. type: item
  40164. #: guix-git/doc/guix.texi:27054 guix-git/doc/guix.texi:27138
  40165. #: guix-git/doc/guix.texi:27163
  40166. #, no-wrap
  40167. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  40168. msgstr ""
  40169. #. type: table
  40170. #: guix-git/doc/guix.texi:27056 guix-git/doc/guix.texi:27140
  40171. #: guix-git/doc/guix.texi:27165
  40172. msgid "The directory where the pipefs file system is mounted."
  40173. msgstr ""
  40174. #. type: item
  40175. #: guix-git/doc/guix.texi:27057
  40176. #, no-wrap
  40177. msgid "@code{debug} (default: @code{'()\"})"
  40178. msgstr ""
  40179. #. type: table
  40180. #: guix-git/doc/guix.texi:27061
  40181. 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}."
  40182. msgstr ""
  40183. #. type: Plain text
  40184. #: guix-git/doc/guix.texi:27066
  40185. 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."
  40186. msgstr ""
  40187. #. type: subsubheading
  40188. #: guix-git/doc/guix.texi:27067
  40189. #, no-wrap
  40190. msgid "RPC Bind Service"
  40191. msgstr ""
  40192. #. type: cindex
  40193. #: guix-git/doc/guix.texi:27068
  40194. #, no-wrap
  40195. msgid "rpcbind"
  40196. msgstr ""
  40197. #. type: Plain text
  40198. #: guix-git/doc/guix.texi:27074
  40199. 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."
  40200. msgstr ""
  40201. #. type: defvr
  40202. #: guix-git/doc/guix.texi:27075
  40203. #, no-wrap
  40204. msgid "{Scheme Variable} rpcbind-service-type"
  40205. msgstr ""
  40206. #. type: defvr
  40207. #: guix-git/doc/guix.texi:27077
  40208. msgid "A service type for the RPC portmapper daemon."
  40209. msgstr ""
  40210. #. type: deftp
  40211. #: guix-git/doc/guix.texi:27080
  40212. #, no-wrap
  40213. msgid "{Data Type} rpcbind-configuration"
  40214. msgstr ""
  40215. #. type: deftp
  40216. #: guix-git/doc/guix.texi:27083
  40217. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  40218. msgstr ""
  40219. #. type: item
  40220. #: guix-git/doc/guix.texi:27087
  40221. #, no-wrap
  40222. msgid "@code{warm-start?} (default: @code{#t})"
  40223. msgstr ""
  40224. #. type: table
  40225. #: guix-git/doc/guix.texi:27091
  40226. 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."
  40227. msgstr ""
  40228. #. type: subsubheading
  40229. #: guix-git/doc/guix.texi:27095
  40230. #, no-wrap
  40231. msgid "Pipefs Pseudo File System"
  40232. msgstr ""
  40233. #. type: cindex
  40234. #: guix-git/doc/guix.texi:27096
  40235. #, no-wrap
  40236. msgid "pipefs"
  40237. msgstr ""
  40238. #. type: cindex
  40239. #: guix-git/doc/guix.texi:27097
  40240. #, no-wrap
  40241. msgid "rpc_pipefs"
  40242. msgstr ""
  40243. #. type: Plain text
  40244. #: guix-git/doc/guix.texi:27101
  40245. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  40246. msgstr ""
  40247. #. type: defvr
  40248. #: guix-git/doc/guix.texi:27102
  40249. #, no-wrap
  40250. msgid "{Scheme Variable} pipefs-service-type"
  40251. msgstr ""
  40252. #. type: defvr
  40253. #: guix-git/doc/guix.texi:27104
  40254. msgid "A service type for the pipefs pseudo file system."
  40255. msgstr ""
  40256. #. type: deftp
  40257. #: guix-git/doc/guix.texi:27106
  40258. #, no-wrap
  40259. msgid "{Data Type} pipefs-configuration"
  40260. msgstr ""
  40261. #. type: deftp
  40262. #: guix-git/doc/guix.texi:27109
  40263. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  40264. msgstr ""
  40265. #. type: item
  40266. #: guix-git/doc/guix.texi:27110
  40267. #, no-wrap
  40268. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  40269. msgstr ""
  40270. #. type: table
  40271. #: guix-git/doc/guix.texi:27112
  40272. msgid "The directory to which the file system is to be attached."
  40273. msgstr ""
  40274. #. type: subsubheading
  40275. #: guix-git/doc/guix.texi:27116
  40276. #, no-wrap
  40277. msgid "GSS Daemon Service"
  40278. msgstr ""
  40279. #. type: cindex
  40280. #: guix-git/doc/guix.texi:27117
  40281. #, no-wrap
  40282. msgid "GSSD"
  40283. msgstr ""
  40284. #. type: cindex
  40285. #: guix-git/doc/guix.texi:27118
  40286. #, no-wrap
  40287. msgid "GSS"
  40288. msgstr ""
  40289. #. type: cindex
  40290. #: guix-git/doc/guix.texi:27119
  40291. #, no-wrap
  40292. msgid "global security system"
  40293. msgstr ""
  40294. #. type: Plain text
  40295. #: guix-git/doc/guix.texi:27126
  40296. 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})."
  40297. msgstr ""
  40298. #. type: defvr
  40299. #: guix-git/doc/guix.texi:27127
  40300. #, no-wrap
  40301. msgid "{Scheme Variable} gss-service-type"
  40302. msgstr ""
  40303. #. type: defvr
  40304. #: guix-git/doc/guix.texi:27129
  40305. msgid "A service type for the Global Security System (GSS) daemon."
  40306. msgstr ""
  40307. #. type: deftp
  40308. #: guix-git/doc/guix.texi:27131
  40309. #, no-wrap
  40310. msgid "{Data Type} gss-configuration"
  40311. msgstr ""
  40312. #. type: deftp
  40313. #: guix-git/doc/guix.texi:27134
  40314. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  40315. msgstr ""
  40316. #. type: table
  40317. #: guix-git/doc/guix.texi:27137
  40318. msgid "The package in which the @command{rpc.gssd} command is to be found."
  40319. msgstr ""
  40320. #. type: subsubheading
  40321. #: guix-git/doc/guix.texi:27145
  40322. #, no-wrap
  40323. msgid "IDMAP Daemon Service"
  40324. msgstr ""
  40325. #. type: cindex
  40326. #: guix-git/doc/guix.texi:27146
  40327. #, no-wrap
  40328. msgid "idmapd"
  40329. msgstr ""
  40330. #. type: cindex
  40331. #: guix-git/doc/guix.texi:27147
  40332. #, no-wrap
  40333. msgid "name mapper"
  40334. msgstr ""
  40335. #. type: Plain text
  40336. #: guix-git/doc/guix.texi:27151
  40337. 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."
  40338. msgstr ""
  40339. #. type: defvr
  40340. #: guix-git/doc/guix.texi:27152
  40341. #, no-wrap
  40342. msgid "{Scheme Variable} idmap-service-type"
  40343. msgstr ""
  40344. #. type: defvr
  40345. #: guix-git/doc/guix.texi:27154
  40346. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  40347. msgstr ""
  40348. #. type: deftp
  40349. #: guix-git/doc/guix.texi:27156
  40350. #, no-wrap
  40351. msgid "{Data Type} idmap-configuration"
  40352. msgstr ""
  40353. #. type: deftp
  40354. #: guix-git/doc/guix.texi:27159
  40355. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  40356. msgstr ""
  40357. #. type: table
  40358. #: guix-git/doc/guix.texi:27162
  40359. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  40360. msgstr ""
  40361. #. type: item
  40362. #: guix-git/doc/guix.texi:27166
  40363. #, no-wrap
  40364. msgid "@code{domain} (default: @code{#f})"
  40365. msgstr ""
  40366. #. type: table
  40367. #: guix-git/doc/guix.texi:27170
  40368. 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."
  40369. msgstr ""
  40370. #. type: item
  40371. #: guix-git/doc/guix.texi:27171
  40372. #, no-wrap
  40373. msgid "@code{verbosity} (default: @code{0})"
  40374. msgstr ""
  40375. #. type: table
  40376. #: guix-git/doc/guix.texi:27173
  40377. msgid "The verbosity level of the daemon."
  40378. msgstr ""
  40379. #. type: Plain text
  40380. #: guix-git/doc/guix.texi:27184
  40381. 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})."
  40382. msgstr ""
  40383. #. type: Plain text
  40384. #: guix-git/doc/guix.texi:27186
  40385. msgid "The @code{(gnu services cuirass)} module provides the following service."
  40386. msgstr ""
  40387. #. type: defvr
  40388. #: guix-git/doc/guix.texi:27187
  40389. #, no-wrap
  40390. msgid "{Scheme Procedure} cuirass-service-type"
  40391. msgstr ""
  40392. #. type: defvr
  40393. #: guix-git/doc/guix.texi:27190
  40394. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  40395. msgstr ""
  40396. #. type: Plain text
  40397. #: guix-git/doc/guix.texi:27195
  40398. 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."
  40399. msgstr ""
  40400. #. type: lisp
  40401. #: guix-git/doc/guix.texi:27206
  40402. #, no-wrap
  40403. msgid ""
  40404. "(define %cuirass-specs\n"
  40405. " #~(list (specification\n"
  40406. " (name \"my-channel\")\n"
  40407. " (build '(channels my-channel))\n"
  40408. " (channels\n"
  40409. " (cons (channel\n"
  40410. " (name 'my-channel)\n"
  40411. " (url \"https://my-channel.git\"))\n"
  40412. " %default-channels)))))\n"
  40413. "\n"
  40414. msgstr ""
  40415. #. type: lisp
  40416. #: guix-git/doc/guix.texi:27210 guix-git/doc/guix.texi:27224
  40417. #, no-wrap
  40418. msgid ""
  40419. "(service cuirass-service-type\n"
  40420. " (cuirass-configuration\n"
  40421. " (specifications %cuirass-specs)))\n"
  40422. msgstr ""
  40423. #. type: Plain text
  40424. #: guix-git/doc/guix.texi:27214
  40425. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  40426. msgstr ""
  40427. #. type: lisp
  40428. #: guix-git/doc/guix.texi:27220
  40429. #, no-wrap
  40430. msgid ""
  40431. "(define %cuirass-specs\n"
  40432. " #~(list (specification\n"
  40433. " (name \"my-linux\")\n"
  40434. " (build '(packages \"linux-libre\")))))\n"
  40435. "\n"
  40436. msgstr ""
  40437. #. type: Plain text
  40438. #: guix-git/doc/guix.texi:27229
  40439. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  40440. msgstr ""
  40441. #. type: Plain text
  40442. #: guix-git/doc/guix.texi:27233
  40443. 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."
  40444. msgstr ""
  40445. #. type: deftp
  40446. #: guix-git/doc/guix.texi:27234
  40447. #, no-wrap
  40448. msgid "{Data Type} cuirass-configuration"
  40449. msgstr ""
  40450. #. type: deftp
  40451. #: guix-git/doc/guix.texi:27236
  40452. msgid "Data type representing the configuration of Cuirass."
  40453. msgstr ""
  40454. #. type: item
  40455. #: guix-git/doc/guix.texi:27238 guix-git/doc/guix.texi:27370
  40456. #, no-wrap
  40457. msgid "@code{cuirass} (default: @code{cuirass})"
  40458. msgstr ""
  40459. #. type: table
  40460. #: guix-git/doc/guix.texi:27240 guix-git/doc/guix.texi:27372
  40461. msgid "The Cuirass package to use."
  40462. msgstr ""
  40463. #. type: item
  40464. #: guix-git/doc/guix.texi:27241
  40465. #, no-wrap
  40466. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  40467. msgstr ""
  40468. #. type: table
  40469. #: guix-git/doc/guix.texi:27243 guix-git/doc/guix.texi:27347
  40470. #: guix-git/doc/guix.texi:27385
  40471. msgid "Location of the log file."
  40472. msgstr ""
  40473. #. type: item
  40474. #: guix-git/doc/guix.texi:27244
  40475. #, no-wrap
  40476. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  40477. msgstr ""
  40478. #. type: table
  40479. #: guix-git/doc/guix.texi:27246
  40480. msgid "Location of the log file used by the web interface."
  40481. msgstr ""
  40482. #. type: item
  40483. #: guix-git/doc/guix.texi:27247
  40484. #, no-wrap
  40485. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  40486. msgstr ""
  40487. #. type: table
  40488. #: guix-git/doc/guix.texi:27249
  40489. msgid "Location of the repository cache."
  40490. msgstr ""
  40491. #. type: item
  40492. #: guix-git/doc/guix.texi:27250
  40493. #, no-wrap
  40494. msgid "@code{user} (default: @code{\"cuirass\"})"
  40495. msgstr ""
  40496. #. type: table
  40497. #: guix-git/doc/guix.texi:27252
  40498. msgid "Owner of the @code{cuirass} process."
  40499. msgstr ""
  40500. #. type: item
  40501. #: guix-git/doc/guix.texi:27253
  40502. #, no-wrap
  40503. msgid "@code{group} (default: @code{\"cuirass\"})"
  40504. msgstr ""
  40505. #. type: table
  40506. #: guix-git/doc/guix.texi:27255
  40507. msgid "Owner's group of the @code{cuirass} process."
  40508. msgstr ""
  40509. #. type: item
  40510. #: guix-git/doc/guix.texi:27256
  40511. #, no-wrap
  40512. msgid "@code{interval} (default: @code{60})"
  40513. msgstr ""
  40514. #. type: table
  40515. #: guix-git/doc/guix.texi:27259
  40516. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  40517. msgstr ""
  40518. #. type: item
  40519. #: guix-git/doc/guix.texi:27260
  40520. #, no-wrap
  40521. msgid "@code{parameters} (default: @code{#f})"
  40522. msgstr ""
  40523. #. type: table
  40524. #: guix-git/doc/guix.texi:27263
  40525. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  40526. msgstr ""
  40527. #. type: item
  40528. #: guix-git/doc/guix.texi:27264
  40529. #, no-wrap
  40530. msgid "@code{remote-server} (default: @code{#f})"
  40531. msgstr ""
  40532. #. type: table
  40533. #: guix-git/doc/guix.texi:27267
  40534. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  40535. msgstr ""
  40536. #. type: item
  40537. #: guix-git/doc/guix.texi:27268
  40538. #, no-wrap
  40539. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  40540. msgstr ""
  40541. #. type: table
  40542. #: guix-git/doc/guix.texi:27273
  40543. 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\"}."
  40544. msgstr ""
  40545. #. type: item
  40546. #: guix-git/doc/guix.texi:27274
  40547. #, no-wrap
  40548. msgid "@code{port} (default: @code{8081})"
  40549. msgstr ""
  40550. #. type: table
  40551. #: guix-git/doc/guix.texi:27276
  40552. msgid "Port number used by the HTTP server."
  40553. msgstr ""
  40554. #. type: table
  40555. #: guix-git/doc/guix.texi:27280
  40556. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  40557. msgstr ""
  40558. #. type: item
  40559. #: guix-git/doc/guix.texi:27281
  40560. #, no-wrap
  40561. msgid "@code{specifications} (default: @code{#~'()})"
  40562. msgstr ""
  40563. #. type: table
  40564. #: guix-git/doc/guix.texi:27285
  40565. 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})."
  40566. msgstr ""
  40567. #. type: item
  40568. #: guix-git/doc/guix.texi:27286
  40569. #, no-wrap
  40570. msgid "@code{use-substitutes?} (default: @code{#f})"
  40571. msgstr ""
  40572. #. type: table
  40573. #: guix-git/doc/guix.texi:27289
  40574. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  40575. msgstr ""
  40576. #. type: item
  40577. #: guix-git/doc/guix.texi:27290 guix-git/doc/guix.texi:34160
  40578. #, no-wrap
  40579. msgid "@code{one-shot?} (default: @code{#f})"
  40580. msgstr ""
  40581. #. type: table
  40582. #: guix-git/doc/guix.texi:27292
  40583. msgid "Only evaluate specifications and build derivations once."
  40584. msgstr ""
  40585. #. type: item
  40586. #: guix-git/doc/guix.texi:27293
  40587. #, no-wrap
  40588. msgid "@code{fallback?} (default: @code{#f})"
  40589. msgstr ""
  40590. #. type: table
  40591. #: guix-git/doc/guix.texi:27296
  40592. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  40593. msgstr ""
  40594. #. type: table
  40595. #: guix-git/doc/guix.texi:27299
  40596. msgid "Extra options to pass when running the Cuirass processes."
  40597. msgstr ""
  40598. #. type: cindex
  40599. #: guix-git/doc/guix.texi:27303
  40600. #, no-wrap
  40601. msgid "remote build"
  40602. msgstr ""
  40603. #. type: subsubheading
  40604. #: guix-git/doc/guix.texi:27304
  40605. #, no-wrap
  40606. msgid "Cuirass remote building"
  40607. msgstr ""
  40608. #. type: Plain text
  40609. #: guix-git/doc/guix.texi:27307
  40610. msgid "Cuirass supports two mechanisms to build derivations."
  40611. msgstr ""
  40612. #. type: item
  40613. #: guix-git/doc/guix.texi:27309
  40614. #, no-wrap
  40615. msgid "Using the local Guix daemon."
  40616. msgstr ""
  40617. #. type: itemize
  40618. #: guix-git/doc/guix.texi:27313
  40619. 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."
  40620. msgstr ""
  40621. #. type: item
  40622. #: guix-git/doc/guix.texi:27314
  40623. #, no-wrap
  40624. msgid "Using the remote build mechanism."
  40625. msgstr ""
  40626. #. type: itemize
  40627. #: guix-git/doc/guix.texi:27318
  40628. 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."
  40629. msgstr ""
  40630. #. type: Plain text
  40631. #: guix-git/doc/guix.texi:27325
  40632. 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."
  40633. msgstr ""
  40634. #. type: Plain text
  40635. #: guix-git/doc/guix.texi:27330
  40636. 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."
  40637. msgstr ""
  40638. #. type: deftp
  40639. #: guix-git/doc/guix.texi:27331
  40640. #, no-wrap
  40641. msgid "{Data Type} cuirass-remote-server-configuration"
  40642. msgstr ""
  40643. #. type: deftp
  40644. #: guix-git/doc/guix.texi:27333
  40645. msgid "Data type representing the configuration of the Cuirass remote-server."
  40646. msgstr ""
  40647. #. type: item
  40648. #: guix-git/doc/guix.texi:27335
  40649. #, no-wrap
  40650. msgid "@code{backend-port} (default: @code{5555})"
  40651. msgstr ""
  40652. #. type: table
  40653. #: guix-git/doc/guix.texi:27338
  40654. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  40655. msgstr ""
  40656. #. type: item
  40657. #: guix-git/doc/guix.texi:27339
  40658. #, no-wrap
  40659. msgid "@code{log-port} (default: @code{5556})"
  40660. msgstr ""
  40661. #. type: table
  40662. #: guix-git/doc/guix.texi:27341
  40663. msgid "The TCP port of the log server. It defaults to @code{5556}."
  40664. msgstr ""
  40665. #. type: item
  40666. #: guix-git/doc/guix.texi:27342
  40667. #, no-wrap
  40668. msgid "@code{publish-port} (default: @code{5557})"
  40669. msgstr ""
  40670. #. type: table
  40671. #: guix-git/doc/guix.texi:27344
  40672. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  40673. msgstr ""
  40674. #. type: item
  40675. #: guix-git/doc/guix.texi:27345
  40676. #, no-wrap
  40677. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  40678. msgstr ""
  40679. #. type: item
  40680. #: guix-git/doc/guix.texi:27348
  40681. #, no-wrap
  40682. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  40683. msgstr ""
  40684. #. type: table
  40685. #: guix-git/doc/guix.texi:27350
  40686. msgid "Use @var{cache} directory to cache build log files."
  40687. msgstr ""
  40688. #. type: item
  40689. #: guix-git/doc/guix.texi:27351
  40690. #, no-wrap
  40691. msgid "@code{trigger-url} (default: @code{#f})"
  40692. msgstr ""
  40693. #. type: table
  40694. #: guix-git/doc/guix.texi:27354
  40695. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  40696. msgstr ""
  40697. #. type: code{#1}
  40698. #: guix-git/doc/guix.texi:27356 guix-git/doc/guix.texi:27390
  40699. #, no-wrap
  40700. msgid "private-key"
  40701. msgstr ""
  40702. #. type: Plain text
  40703. #: guix-git/doc/guix.texi:27365
  40704. 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."
  40705. msgstr ""
  40706. #. type: deftp
  40707. #: guix-git/doc/guix.texi:27366
  40708. #, no-wrap
  40709. msgid "{Data Type} cuirass-remote-worker-configuration"
  40710. msgstr ""
  40711. #. type: deftp
  40712. #: guix-git/doc/guix.texi:27368
  40713. msgid "Data type representing the configuration of the Cuirass remote-worker."
  40714. msgstr ""
  40715. #. type: item
  40716. #: guix-git/doc/guix.texi:27373
  40717. #, no-wrap
  40718. msgid "@code{workers} (default: @code{1})"
  40719. msgstr ""
  40720. #. type: table
  40721. #: guix-git/doc/guix.texi:27375
  40722. msgid "Start @var{workers} parallel workers."
  40723. msgstr ""
  40724. #. type: table
  40725. #: guix-git/doc/guix.texi:27379
  40726. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  40727. msgstr ""
  40728. #. type: item
  40729. #: guix-git/doc/guix.texi:27380
  40730. #, no-wrap
  40731. msgid "@code{systems} (default: @code{(list (%current-system))})"
  40732. msgstr ""
  40733. #. type: table
  40734. #: guix-git/doc/guix.texi:27382
  40735. msgid "Only request builds for the given @var{systems}."
  40736. msgstr ""
  40737. #. type: item
  40738. #: guix-git/doc/guix.texi:27383
  40739. #, no-wrap
  40740. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  40741. msgstr ""
  40742. #. type: item
  40743. #: guix-git/doc/guix.texi:27386
  40744. #, no-wrap
  40745. msgid "@code{publish-port} (default: @code{5558})"
  40746. msgstr ""
  40747. #. type: table
  40748. #: guix-git/doc/guix.texi:27388
  40749. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  40750. msgstr ""
  40751. #. type: subsubheading
  40752. #: guix-git/doc/guix.texi:27397
  40753. #, no-wrap
  40754. msgid "Laminar"
  40755. msgstr ""
  40756. #. type: Plain text
  40757. #: guix-git/doc/guix.texi:27402
  40758. 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."
  40759. msgstr ""
  40760. #. type: Plain text
  40761. #: guix-git/doc/guix.texi:27405
  40762. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  40763. msgstr ""
  40764. #. type: defvr
  40765. #: guix-git/doc/guix.texi:27406
  40766. #, no-wrap
  40767. msgid "{Scheme Procedure} laminar-service-type"
  40768. msgstr ""
  40769. #. type: defvr
  40770. #: guix-git/doc/guix.texi:27409
  40771. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  40772. msgstr ""
  40773. #. type: defvr
  40774. #: guix-git/doc/guix.texi:27413
  40775. 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."
  40776. msgstr ""
  40777. #. type: lisp
  40778. #: guix-git/doc/guix.texi:27416
  40779. #, no-wrap
  40780. msgid "(service laminar-service-type)\n"
  40781. msgstr ""
  40782. #. type: deftp
  40783. #: guix-git/doc/guix.texi:27419
  40784. #, no-wrap
  40785. msgid "{Data Type} laminar-configuration"
  40786. msgstr ""
  40787. #. type: deftp
  40788. #: guix-git/doc/guix.texi:27421
  40789. msgid "Data type representing the configuration of Laminar."
  40790. msgstr ""
  40791. #. type: item
  40792. #: guix-git/doc/guix.texi:27423
  40793. #, no-wrap
  40794. msgid "@code{laminar} (default: @code{laminar})"
  40795. msgstr ""
  40796. #. type: table
  40797. #: guix-git/doc/guix.texi:27425
  40798. msgid "The Laminar package to use."
  40799. msgstr ""
  40800. #. type: item
  40801. #: guix-git/doc/guix.texi:27426
  40802. #, no-wrap
  40803. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  40804. msgstr ""
  40805. #. type: table
  40806. #: guix-git/doc/guix.texi:27428
  40807. msgid "The directory for job configurations and run directories."
  40808. msgstr ""
  40809. #. type: item
  40810. #: guix-git/doc/guix.texi:27429
  40811. #, no-wrap
  40812. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  40813. msgstr ""
  40814. #. type: table
  40815. #: guix-git/doc/guix.texi:27432
  40816. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  40817. msgstr ""
  40818. #. type: item
  40819. #: guix-git/doc/guix.texi:27433
  40820. #, no-wrap
  40821. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  40822. msgstr ""
  40823. #. type: table
  40824. #: guix-git/doc/guix.texi:27436
  40825. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  40826. msgstr ""
  40827. #. type: item
  40828. #: guix-git/doc/guix.texi:27437
  40829. #, no-wrap
  40830. msgid "@code{title} (default: @code{\"Laminar\"})"
  40831. msgstr ""
  40832. #. type: table
  40833. #: guix-git/doc/guix.texi:27439
  40834. msgid "The page title to show in the web frontend."
  40835. msgstr ""
  40836. #. type: item
  40837. #: guix-git/doc/guix.texi:27440
  40838. #, no-wrap
  40839. msgid "@code{keep-rundirs} (default: @code{0})"
  40840. msgstr ""
  40841. #. type: table
  40842. #: guix-git/doc/guix.texi:27444
  40843. 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."
  40844. msgstr ""
  40845. #. type: item
  40846. #: guix-git/doc/guix.texi:27445
  40847. #, no-wrap
  40848. msgid "@code{archive-url} (default: @code{#f})"
  40849. msgstr ""
  40850. #. type: table
  40851. #: guix-git/doc/guix.texi:27448
  40852. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  40853. msgstr ""
  40854. #. type: item
  40855. #: guix-git/doc/guix.texi:27449
  40856. #, no-wrap
  40857. msgid "@code{base-url} (default: @code{#f})"
  40858. msgstr ""
  40859. #. type: table
  40860. #: guix-git/doc/guix.texi:27451
  40861. msgid "Base URL to use for links to laminar itself."
  40862. msgstr ""
  40863. #. type: cindex
  40864. #: guix-git/doc/guix.texi:27458
  40865. #, no-wrap
  40866. msgid "tlp"
  40867. msgstr ""
  40868. #. type: cindex
  40869. #: guix-git/doc/guix.texi:27459
  40870. #, no-wrap
  40871. msgid "power management with TLP"
  40872. msgstr ""
  40873. #. type: subsubheading
  40874. #: guix-git/doc/guix.texi:27460
  40875. #, no-wrap
  40876. msgid "TLP daemon"
  40877. msgstr ""
  40878. #. type: Plain text
  40879. #: guix-git/doc/guix.texi:27464
  40880. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  40881. msgstr ""
  40882. #. type: Plain text
  40883. #: guix-git/doc/guix.texi:27470
  40884. 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}."
  40885. msgstr ""
  40886. #. type: deffn
  40887. #: guix-git/doc/guix.texi:27471
  40888. #, no-wrap
  40889. msgid "{Scheme Variable} tlp-service-type"
  40890. msgstr ""
  40891. #. type: deffn
  40892. #: guix-git/doc/guix.texi:27475
  40893. 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}:"
  40894. msgstr ""
  40895. #. type: lisp
  40896. #: guix-git/doc/guix.texi:27480
  40897. #, no-wrap
  40898. msgid ""
  40899. "(service tlp-service-type\n"
  40900. " (tlp-configuration\n"
  40901. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  40902. " (sched-powersave-on-bat? #t)))\n"
  40903. msgstr ""
  40904. #. type: Plain text
  40905. #: guix-git/doc/guix.texi:27488
  40906. 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}."
  40907. msgstr ""
  40908. #. type: Plain text
  40909. #: guix-git/doc/guix.texi:27498
  40910. msgid "Available @code{tlp-configuration} fields are:"
  40911. msgstr ""
  40912. #. type: deftypevr
  40913. #: guix-git/doc/guix.texi:27499
  40914. #, no-wrap
  40915. msgid "{@code{tlp-configuration} parameter} package tlp"
  40916. msgstr ""
  40917. #. type: deftypevr
  40918. #: guix-git/doc/guix.texi:27501
  40919. msgid "The TLP package."
  40920. msgstr ""
  40921. #. type: deftypevr
  40922. #: guix-git/doc/guix.texi:27504
  40923. #, no-wrap
  40924. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  40925. msgstr ""
  40926. #. type: deftypevr
  40927. #: guix-git/doc/guix.texi:27506
  40928. msgid "Set to true if you wish to enable TLP."
  40929. msgstr ""
  40930. #. type: deftypevr
  40931. #: guix-git/doc/guix.texi:27511
  40932. #, no-wrap
  40933. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  40934. msgstr ""
  40935. #. type: deftypevr
  40936. #: guix-git/doc/guix.texi:27514
  40937. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  40938. msgstr ""
  40939. #. type: deftypevr
  40940. #: guix-git/doc/guix.texi:27516
  40941. msgid "Defaults to @samp{\"AC\"}."
  40942. msgstr ""
  40943. #. type: deftypevr
  40944. #: guix-git/doc/guix.texi:27519
  40945. #, no-wrap
  40946. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  40947. msgstr ""
  40948. #. type: deftypevr
  40949. #: guix-git/doc/guix.texi:27522
  40950. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  40951. msgstr ""
  40952. #. type: deftypevr
  40953. #: guix-git/doc/guix.texi:27527
  40954. #, no-wrap
  40955. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  40956. msgstr ""
  40957. #. type: deftypevr
  40958. #: guix-git/doc/guix.texi:27529
  40959. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  40960. msgstr ""
  40961. #. type: deftypevr
  40962. #: guix-git/doc/guix.texi:27531
  40963. msgid "Defaults to @samp{2}."
  40964. msgstr ""
  40965. #. type: deftypevr
  40966. #: guix-git/doc/guix.texi:27534
  40967. #, no-wrap
  40968. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  40969. msgstr ""
  40970. #. type: deftypevr
  40971. #: guix-git/doc/guix.texi:27536
  40972. msgid "Dirty pages flushing periodicity, expressed in seconds."
  40973. msgstr ""
  40974. #. type: deftypevr
  40975. #: guix-git/doc/guix.texi:27538 guix-git/doc/guix.texi:27761
  40976. #: guix-git/doc/guix.texi:29975 guix-git/doc/guix.texi:29983
  40977. msgid "Defaults to @samp{15}."
  40978. msgstr ""
  40979. #. type: deftypevr
  40980. #: guix-git/doc/guix.texi:27541
  40981. #, no-wrap
  40982. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  40983. msgstr ""
  40984. #. type: deftypevr
  40985. #: guix-git/doc/guix.texi:27543
  40986. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  40987. msgstr ""
  40988. #. type: deftypevr
  40989. #: guix-git/doc/guix.texi:27545
  40990. msgid "Defaults to @samp{60}."
  40991. msgstr ""
  40992. #. type: deftypevr
  40993. #: guix-git/doc/guix.texi:27548
  40994. #, no-wrap
  40995. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  40996. msgstr ""
  40997. #. type: deftypevr
  40998. #: guix-git/doc/guix.texi:27552
  40999. 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."
  41000. msgstr ""
  41001. #. type: deftypevr
  41002. #: guix-git/doc/guix.texi:27557
  41003. #, no-wrap
  41004. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  41005. msgstr ""
  41006. #. type: deftypevr
  41007. #: guix-git/doc/guix.texi:27559
  41008. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  41009. msgstr ""
  41010. #. type: deftypevr
  41011. #: guix-git/doc/guix.texi:27564
  41012. #, no-wrap
  41013. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  41014. msgstr ""
  41015. #. type: deftypevr
  41016. #: guix-git/doc/guix.texi:27566
  41017. msgid "Set the min available frequency for the scaling governor on AC."
  41018. msgstr ""
  41019. #. type: deftypevr
  41020. #: guix-git/doc/guix.texi:27571
  41021. #, no-wrap
  41022. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  41023. msgstr ""
  41024. #. type: deftypevr
  41025. #: guix-git/doc/guix.texi:27573
  41026. msgid "Set the max available frequency for the scaling governor on AC."
  41027. msgstr ""
  41028. #. type: deftypevr
  41029. #: guix-git/doc/guix.texi:27578
  41030. #, no-wrap
  41031. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  41032. msgstr ""
  41033. #. type: deftypevr
  41034. #: guix-git/doc/guix.texi:27580
  41035. msgid "Set the min available frequency for the scaling governor on BAT."
  41036. msgstr ""
  41037. #. type: deftypevr
  41038. #: guix-git/doc/guix.texi:27585
  41039. #, no-wrap
  41040. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  41041. msgstr ""
  41042. #. type: deftypevr
  41043. #: guix-git/doc/guix.texi:27587
  41044. msgid "Set the max available frequency for the scaling governor on BAT."
  41045. msgstr ""
  41046. #. type: deftypevr
  41047. #: guix-git/doc/guix.texi:27592
  41048. #, no-wrap
  41049. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  41050. msgstr ""
  41051. #. type: deftypevr
  41052. #: guix-git/doc/guix.texi:27595
  41053. 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."
  41054. msgstr ""
  41055. #. type: deftypevr
  41056. #: guix-git/doc/guix.texi:27600
  41057. #, no-wrap
  41058. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  41059. msgstr ""
  41060. #. type: deftypevr
  41061. #: guix-git/doc/guix.texi:27603
  41062. 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."
  41063. msgstr ""
  41064. #. type: deftypevr
  41065. #: guix-git/doc/guix.texi:27608
  41066. #, no-wrap
  41067. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  41068. msgstr ""
  41069. #. type: deftypevr
  41070. #: guix-git/doc/guix.texi:27610
  41071. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  41072. msgstr ""
  41073. #. type: deftypevr
  41074. #: guix-git/doc/guix.texi:27615
  41075. #, no-wrap
  41076. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  41077. msgstr ""
  41078. #. type: deftypevr
  41079. #: guix-git/doc/guix.texi:27617
  41080. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  41081. msgstr ""
  41082. #. type: deftypevr
  41083. #: guix-git/doc/guix.texi:27622
  41084. #, no-wrap
  41085. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  41086. msgstr ""
  41087. #. type: deftypevr
  41088. #: guix-git/doc/guix.texi:27624
  41089. msgid "Enable CPU turbo boost feature on AC mode."
  41090. msgstr ""
  41091. #. type: deftypevr
  41092. #: guix-git/doc/guix.texi:27629
  41093. #, no-wrap
  41094. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  41095. msgstr ""
  41096. #. type: deftypevr
  41097. #: guix-git/doc/guix.texi:27631
  41098. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  41099. msgstr ""
  41100. #. type: deftypevr
  41101. #: guix-git/doc/guix.texi:27636
  41102. #, no-wrap
  41103. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  41104. msgstr ""
  41105. #. type: deftypevr
  41106. #: guix-git/doc/guix.texi:27639
  41107. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  41108. msgstr ""
  41109. #. type: deftypevr
  41110. #: guix-git/doc/guix.texi:27644
  41111. #, no-wrap
  41112. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  41113. msgstr ""
  41114. #. type: deftypevr
  41115. #: guix-git/doc/guix.texi:27646
  41116. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  41117. msgstr ""
  41118. #. type: deftypevr
  41119. #: guix-git/doc/guix.texi:27651
  41120. #, no-wrap
  41121. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  41122. msgstr ""
  41123. #. type: deftypevr
  41124. #: guix-git/doc/guix.texi:27653
  41125. msgid "Enable Linux kernel NMI watchdog."
  41126. msgstr ""
  41127. #. type: deftypevr
  41128. #: guix-git/doc/guix.texi:27658
  41129. #, no-wrap
  41130. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  41131. msgstr ""
  41132. #. type: deftypevr
  41133. #: guix-git/doc/guix.texi:27661
  41134. 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\"}."
  41135. msgstr ""
  41136. #. type: deftypevr
  41137. #: guix-git/doc/guix.texi:27666
  41138. #, no-wrap
  41139. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  41140. msgstr ""
  41141. #. type: deftypevr
  41142. #: guix-git/doc/guix.texi:27669
  41143. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  41144. msgstr ""
  41145. #. type: deftypevr
  41146. #: guix-git/doc/guix.texi:27671 guix-git/doc/guix.texi:27769
  41147. #: guix-git/doc/guix.texi:27799
  41148. msgid "Defaults to @samp{\"performance\"}."
  41149. msgstr ""
  41150. #. type: deftypevr
  41151. #: guix-git/doc/guix.texi:27674
  41152. #, no-wrap
  41153. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  41154. msgstr ""
  41155. #. type: deftypevr
  41156. #: guix-git/doc/guix.texi:27676
  41157. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  41158. msgstr ""
  41159. #. type: deftypevr
  41160. #: guix-git/doc/guix.texi:27678 guix-git/doc/guix.texi:27776
  41161. msgid "Defaults to @samp{\"powersave\"}."
  41162. msgstr ""
  41163. #. type: deftypevr
  41164. #: guix-git/doc/guix.texi:27681
  41165. #, no-wrap
  41166. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  41167. msgstr ""
  41168. #. type: deftypevr
  41169. #: guix-git/doc/guix.texi:27683
  41170. msgid "Hard disk devices."
  41171. msgstr ""
  41172. #. type: deftypevr
  41173. #: guix-git/doc/guix.texi:27686
  41174. #, no-wrap
  41175. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  41176. msgstr ""
  41177. #. type: deftypevr
  41178. #: guix-git/doc/guix.texi:27688
  41179. msgid "Hard disk advanced power management level."
  41180. msgstr ""
  41181. #. type: deftypevr
  41182. #: guix-git/doc/guix.texi:27691
  41183. #, no-wrap
  41184. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  41185. msgstr ""
  41186. #. type: deftypevr
  41187. #: guix-git/doc/guix.texi:27693
  41188. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  41189. msgstr ""
  41190. #. type: deftypevr
  41191. #: guix-git/doc/guix.texi:27696
  41192. #, no-wrap
  41193. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  41194. msgstr ""
  41195. #. type: deftypevr
  41196. #: guix-git/doc/guix.texi:27699
  41197. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  41198. msgstr ""
  41199. #. type: deftypevr
  41200. #: guix-git/doc/guix.texi:27704
  41201. #, no-wrap
  41202. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  41203. msgstr ""
  41204. #. type: deftypevr
  41205. #: guix-git/doc/guix.texi:27706
  41206. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  41207. msgstr ""
  41208. #. type: deftypevr
  41209. #: guix-git/doc/guix.texi:27711
  41210. #, no-wrap
  41211. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  41212. msgstr ""
  41213. #. type: deftypevr
  41214. #: guix-git/doc/guix.texi:27715
  41215. 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."
  41216. msgstr ""
  41217. #. type: deftypevr
  41218. #: guix-git/doc/guix.texi:27720
  41219. #, no-wrap
  41220. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  41221. msgstr ""
  41222. #. type: deftypevr
  41223. #: guix-git/doc/guix.texi:27723
  41224. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  41225. msgstr ""
  41226. #. type: deftypevr
  41227. #: guix-git/doc/guix.texi:27725
  41228. msgid "Defaults to @samp{\"max_performance\"}."
  41229. msgstr ""
  41230. #. type: deftypevr
  41231. #: guix-git/doc/guix.texi:27728
  41232. #, no-wrap
  41233. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  41234. msgstr ""
  41235. #. type: deftypevr
  41236. #: guix-git/doc/guix.texi:27730
  41237. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  41238. msgstr ""
  41239. #. type: deftypevr
  41240. #: guix-git/doc/guix.texi:27732
  41241. msgid "Defaults to @samp{\"min_power\"}."
  41242. msgstr ""
  41243. #. type: deftypevr
  41244. #: guix-git/doc/guix.texi:27735
  41245. #, no-wrap
  41246. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  41247. msgstr ""
  41248. #. type: deftypevr
  41249. #: guix-git/doc/guix.texi:27737
  41250. msgid "Exclude specified SATA host devices for link power management."
  41251. msgstr ""
  41252. #. type: deftypevr
  41253. #: guix-git/doc/guix.texi:27742
  41254. #, no-wrap
  41255. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  41256. msgstr ""
  41257. #. type: deftypevr
  41258. #: guix-git/doc/guix.texi:27745
  41259. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  41260. msgstr ""
  41261. #. type: deftypevr
  41262. #: guix-git/doc/guix.texi:27750
  41263. #, no-wrap
  41264. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  41265. msgstr ""
  41266. #. type: deftypevr
  41267. #: guix-git/doc/guix.texi:27752
  41268. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  41269. msgstr ""
  41270. #. type: deftypevr
  41271. #: guix-git/doc/guix.texi:27757
  41272. #, no-wrap
  41273. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  41274. msgstr ""
  41275. #. type: deftypevr
  41276. #: guix-git/doc/guix.texi:27759
  41277. msgid "Seconds of inactivity before disk is suspended."
  41278. msgstr ""
  41279. #. type: deftypevr
  41280. #: guix-git/doc/guix.texi:27764
  41281. #, no-wrap
  41282. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  41283. msgstr ""
  41284. #. type: deftypevr
  41285. #: guix-git/doc/guix.texi:27767
  41286. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  41287. msgstr ""
  41288. #. type: deftypevr
  41289. #: guix-git/doc/guix.texi:27772
  41290. #, no-wrap
  41291. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  41292. msgstr ""
  41293. #. type: deftypevr
  41294. #: guix-git/doc/guix.texi:27774
  41295. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  41296. msgstr ""
  41297. #. type: deftypevr
  41298. #: guix-git/doc/guix.texi:27779
  41299. #, no-wrap
  41300. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  41301. msgstr ""
  41302. #. type: deftypevr
  41303. #: guix-git/doc/guix.texi:27782
  41304. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  41305. msgstr ""
  41306. #. type: deftypevr
  41307. #: guix-git/doc/guix.texi:27784
  41308. msgid "Defaults to @samp{\"high\"}."
  41309. msgstr ""
  41310. #. type: deftypevr
  41311. #: guix-git/doc/guix.texi:27787
  41312. #, no-wrap
  41313. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  41314. msgstr ""
  41315. #. type: deftypevr
  41316. #: guix-git/doc/guix.texi:27789
  41317. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  41318. msgstr ""
  41319. #. type: deftypevr
  41320. #: guix-git/doc/guix.texi:27791
  41321. msgid "Defaults to @samp{\"low\"}."
  41322. msgstr ""
  41323. #. type: deftypevr
  41324. #: guix-git/doc/guix.texi:27794
  41325. #, no-wrap
  41326. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  41327. msgstr ""
  41328. #. type: deftypevr
  41329. #: guix-git/doc/guix.texi:27797
  41330. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  41331. msgstr ""
  41332. #. type: deftypevr
  41333. #: guix-git/doc/guix.texi:27802
  41334. #, no-wrap
  41335. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  41336. msgstr ""
  41337. #. type: deftypevr
  41338. #: guix-git/doc/guix.texi:27804
  41339. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  41340. msgstr ""
  41341. #. type: deftypevr
  41342. #: guix-git/doc/guix.texi:27806
  41343. msgid "Defaults to @samp{\"battery\"}."
  41344. msgstr ""
  41345. #. type: deftypevr
  41346. #: guix-git/doc/guix.texi:27809
  41347. #, no-wrap
  41348. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  41349. msgstr ""
  41350. #. type: deftypevr
  41351. #: guix-git/doc/guix.texi:27811
  41352. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  41353. msgstr ""
  41354. #. type: deftypevr
  41355. #: guix-git/doc/guix.texi:27813 guix-git/doc/guix.texi:27820
  41356. #: guix-git/doc/guix.texi:27894
  41357. msgid "Defaults to @samp{\"auto\"}."
  41358. msgstr ""
  41359. #. type: deftypevr
  41360. #: guix-git/doc/guix.texi:27816
  41361. #, no-wrap
  41362. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  41363. msgstr ""
  41364. #. type: deftypevr
  41365. #: guix-git/doc/guix.texi:27818
  41366. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  41367. msgstr ""
  41368. #. type: deftypevr
  41369. #: guix-git/doc/guix.texi:27823
  41370. #, no-wrap
  41371. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  41372. msgstr ""
  41373. #. type: deftypevr
  41374. #: guix-git/doc/guix.texi:27825
  41375. msgid "Wifi power saving mode."
  41376. msgstr ""
  41377. #. type: deftypevr
  41378. #: guix-git/doc/guix.texi:27830
  41379. #, no-wrap
  41380. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  41381. msgstr ""
  41382. #. type: deftypevr
  41383. #: guix-git/doc/guix.texi:27832
  41384. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  41385. msgstr ""
  41386. #. type: deftypevr
  41387. #: guix-git/doc/guix.texi:27837
  41388. #, no-wrap
  41389. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  41390. msgstr ""
  41391. #. type: deftypevr
  41392. #: guix-git/doc/guix.texi:27839
  41393. msgid "Disable wake on LAN."
  41394. msgstr ""
  41395. #. type: deftypevr
  41396. #: guix-git/doc/guix.texi:27844
  41397. #, no-wrap
  41398. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  41399. msgstr ""
  41400. #. type: deftypevr
  41401. #: guix-git/doc/guix.texi:27847
  41402. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  41403. msgstr ""
  41404. #. type: deftypevr
  41405. #: guix-git/doc/guix.texi:27852
  41406. #, no-wrap
  41407. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  41408. msgstr ""
  41409. #. type: deftypevr
  41410. #: guix-git/doc/guix.texi:27854
  41411. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  41412. msgstr ""
  41413. #. type: deftypevr
  41414. #: guix-git/doc/guix.texi:27859
  41415. #, no-wrap
  41416. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  41417. msgstr ""
  41418. #. type: deftypevr
  41419. #: guix-git/doc/guix.texi:27861
  41420. msgid "Disable controller in powersaving mode on Intel HDA devices."
  41421. msgstr ""
  41422. #. type: deftypevr
  41423. #: guix-git/doc/guix.texi:27866
  41424. #, no-wrap
  41425. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  41426. msgstr ""
  41427. #. type: deftypevr
  41428. #: guix-git/doc/guix.texi:27870
  41429. 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."
  41430. msgstr ""
  41431. #. type: deftypevr
  41432. #: guix-git/doc/guix.texi:27875
  41433. #, no-wrap
  41434. msgid "{@code{tlp-configuration} parameter} string bay-device"
  41435. msgstr ""
  41436. #. type: deftypevr
  41437. #: guix-git/doc/guix.texi:27877
  41438. msgid "Name of the optical drive device to power off."
  41439. msgstr ""
  41440. #. type: deftypevr
  41441. #: guix-git/doc/guix.texi:27879
  41442. msgid "Defaults to @samp{\"sr0\"}."
  41443. msgstr ""
  41444. #. type: deftypevr
  41445. #: guix-git/doc/guix.texi:27882
  41446. #, no-wrap
  41447. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  41448. msgstr ""
  41449. #. type: deftypevr
  41450. #: guix-git/doc/guix.texi:27885
  41451. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  41452. msgstr ""
  41453. #. type: deftypevr
  41454. #: guix-git/doc/guix.texi:27887
  41455. msgid "Defaults to @samp{\"on\"}."
  41456. msgstr ""
  41457. #. type: deftypevr
  41458. #: guix-git/doc/guix.texi:27890
  41459. #, no-wrap
  41460. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  41461. msgstr ""
  41462. #. type: deftypevr
  41463. #: guix-git/doc/guix.texi:27892
  41464. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  41465. msgstr ""
  41466. #. type: deftypevr
  41467. #: guix-git/doc/guix.texi:27897
  41468. #, no-wrap
  41469. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  41470. msgstr ""
  41471. #. type: deftypevr
  41472. #: guix-git/doc/guix.texi:27900
  41473. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  41474. msgstr ""
  41475. #. type: deftypevr
  41476. #: guix-git/doc/guix.texi:27905
  41477. #, no-wrap
  41478. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  41479. msgstr ""
  41480. #. type: deftypevr
  41481. #: guix-git/doc/guix.texi:27907
  41482. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  41483. msgstr ""
  41484. #. type: deftypevr
  41485. #: guix-git/doc/guix.texi:27912
  41486. #, no-wrap
  41487. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  41488. msgstr ""
  41489. #. type: deftypevr
  41490. #: guix-git/doc/guix.texi:27915
  41491. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  41492. msgstr ""
  41493. #. type: deftypevr
  41494. #: guix-git/doc/guix.texi:27918
  41495. #, no-wrap
  41496. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  41497. msgstr ""
  41498. #. type: deftypevr
  41499. #: guix-git/doc/guix.texi:27920
  41500. msgid "Enable USB autosuspend feature."
  41501. msgstr ""
  41502. #. type: deftypevr
  41503. #: guix-git/doc/guix.texi:27925
  41504. #, no-wrap
  41505. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  41506. msgstr ""
  41507. #. type: deftypevr
  41508. #: guix-git/doc/guix.texi:27927
  41509. msgid "Exclude specified devices from USB autosuspend."
  41510. msgstr ""
  41511. #. type: deftypevr
  41512. #: guix-git/doc/guix.texi:27932
  41513. #, no-wrap
  41514. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  41515. msgstr ""
  41516. #. type: deftypevr
  41517. #: guix-git/doc/guix.texi:27934
  41518. msgid "Exclude WWAN devices from USB autosuspend."
  41519. msgstr ""
  41520. #. type: deftypevr
  41521. #: guix-git/doc/guix.texi:27939
  41522. #, no-wrap
  41523. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  41524. msgstr ""
  41525. #. type: deftypevr
  41526. #: guix-git/doc/guix.texi:27942
  41527. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  41528. msgstr ""
  41529. #. type: deftypevr
  41530. #: guix-git/doc/guix.texi:27947
  41531. #, no-wrap
  41532. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  41533. msgstr ""
  41534. #. type: deftypevr
  41535. #: guix-git/doc/guix.texi:27949
  41536. msgid "Enable USB autosuspend before shutdown."
  41537. msgstr ""
  41538. #. type: deftypevr
  41539. #: guix-git/doc/guix.texi:27954
  41540. #, no-wrap
  41541. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  41542. msgstr ""
  41543. #. type: deftypevr
  41544. #: guix-git/doc/guix.texi:27957
  41545. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  41546. msgstr ""
  41547. #. type: cindex
  41548. #: guix-git/doc/guix.texi:27962
  41549. #, no-wrap
  41550. msgid "thermald"
  41551. msgstr ""
  41552. #. type: cindex
  41553. #: guix-git/doc/guix.texi:27963
  41554. #, no-wrap
  41555. msgid "CPU frequency scaling with thermald"
  41556. msgstr ""
  41557. #. type: subsubheading
  41558. #: guix-git/doc/guix.texi:27964
  41559. #, no-wrap
  41560. msgid "Thermald daemon"
  41561. msgstr ""
  41562. #. type: Plain text
  41563. #: guix-git/doc/guix.texi:27968
  41564. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  41565. msgstr ""
  41566. #. type: defvr
  41567. #: guix-git/doc/guix.texi:27969
  41568. #, no-wrap
  41569. msgid "{Scheme Variable} thermald-service-type"
  41570. msgstr ""
  41571. #. type: defvr
  41572. #: guix-git/doc/guix.texi:27974
  41573. 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."
  41574. msgstr ""
  41575. #. type: deftp
  41576. #: guix-git/doc/guix.texi:27976
  41577. #, no-wrap
  41578. msgid "{Data Type} thermald-configuration"
  41579. msgstr ""
  41580. #. type: deftp
  41581. #: guix-git/doc/guix.texi:27978
  41582. msgid "Data type representing the configuration of @code{thermald-service-type}."
  41583. msgstr ""
  41584. #. type: item
  41585. #: guix-git/doc/guix.texi:27980
  41586. #, no-wrap
  41587. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  41588. msgstr ""
  41589. #. type: table
  41590. #: guix-git/doc/guix.texi:27982
  41591. msgid "Ignore cpuid check for supported CPU models."
  41592. msgstr ""
  41593. #. type: item
  41594. #: guix-git/doc/guix.texi:27983
  41595. #, no-wrap
  41596. msgid "@code{thermald} (default: @var{thermald})"
  41597. msgstr ""
  41598. #. type: table
  41599. #: guix-git/doc/guix.texi:27985
  41600. msgid "Package object of thermald."
  41601. msgstr ""
  41602. #. type: Plain text
  41603. #: guix-git/doc/guix.texi:27994
  41604. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  41605. msgstr ""
  41606. #. type: cindex
  41607. #: guix-git/doc/guix.texi:27995
  41608. #, no-wrap
  41609. msgid "mpd"
  41610. msgstr ""
  41611. #. type: subsubheading
  41612. #: guix-git/doc/guix.texi:27996
  41613. #, no-wrap
  41614. msgid "Music Player Daemon"
  41615. msgstr ""
  41616. #. type: Plain text
  41617. #: guix-git/doc/guix.texi:28001
  41618. 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."
  41619. msgstr ""
  41620. #. type: Plain text
  41621. #: guix-git/doc/guix.texi:28004
  41622. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  41623. msgstr ""
  41624. #. type: lisp
  41625. #: guix-git/doc/guix.texi:28010
  41626. #, no-wrap
  41627. msgid ""
  41628. "(service mpd-service-type\n"
  41629. " (mpd-configuration\n"
  41630. " (user \"bob\")\n"
  41631. " (port \"6666\")))\n"
  41632. msgstr ""
  41633. #. type: defvr
  41634. #: guix-git/doc/guix.texi:28012
  41635. #, no-wrap
  41636. msgid "{Scheme Variable} mpd-service-type"
  41637. msgstr ""
  41638. #. type: defvr
  41639. #: guix-git/doc/guix.texi:28014
  41640. msgid "The service type for @command{mpd}"
  41641. msgstr ""
  41642. #. type: deftp
  41643. #: guix-git/doc/guix.texi:28016
  41644. #, no-wrap
  41645. msgid "{Data Type} mpd-configuration"
  41646. msgstr ""
  41647. #. type: deftp
  41648. #: guix-git/doc/guix.texi:28018
  41649. msgid "Data type representing the configuration of @command{mpd}."
  41650. msgstr ""
  41651. #. type: item
  41652. #: guix-git/doc/guix.texi:28020
  41653. #, no-wrap
  41654. msgid "@code{user} (default: @code{\"mpd\"})"
  41655. msgstr ""
  41656. #. type: table
  41657. #: guix-git/doc/guix.texi:28022
  41658. msgid "The user to run mpd as."
  41659. msgstr ""
  41660. #. type: item
  41661. #: guix-git/doc/guix.texi:28023
  41662. #, no-wrap
  41663. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  41664. msgstr ""
  41665. #. type: table
  41666. #: guix-git/doc/guix.texi:28025
  41667. msgid "The directory to scan for music files."
  41668. msgstr ""
  41669. #. type: item
  41670. #: guix-git/doc/guix.texi:28026
  41671. #, no-wrap
  41672. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  41673. msgstr ""
  41674. #. type: table
  41675. #: guix-git/doc/guix.texi:28028
  41676. msgid "The directory to store playlists."
  41677. msgstr ""
  41678. #. type: item
  41679. #: guix-git/doc/guix.texi:28029
  41680. #, no-wrap
  41681. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  41682. msgstr ""
  41683. #. type: table
  41684. #: guix-git/doc/guix.texi:28031
  41685. msgid "The location of the music database."
  41686. msgstr ""
  41687. #. type: item
  41688. #: guix-git/doc/guix.texi:28032
  41689. #, no-wrap
  41690. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  41691. msgstr ""
  41692. #. type: table
  41693. #: guix-git/doc/guix.texi:28034
  41694. msgid "The location of the file that stores current MPD's state."
  41695. msgstr ""
  41696. #. type: item
  41697. #: guix-git/doc/guix.texi:28035
  41698. #, no-wrap
  41699. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  41700. msgstr ""
  41701. #. type: table
  41702. #: guix-git/doc/guix.texi:28037
  41703. msgid "The location of the sticker database."
  41704. msgstr ""
  41705. #. type: item
  41706. #: guix-git/doc/guix.texi:28038
  41707. #, no-wrap
  41708. msgid "@code{port} (default: @code{\"6600\"})"
  41709. msgstr ""
  41710. #. type: table
  41711. #: guix-git/doc/guix.texi:28040
  41712. msgid "The port to run mpd on."
  41713. msgstr ""
  41714. #. type: item
  41715. #: guix-git/doc/guix.texi:28041
  41716. #, no-wrap
  41717. msgid "@code{address} (default: @code{\"any\"})"
  41718. msgstr ""
  41719. #. type: table
  41720. #: guix-git/doc/guix.texi:28044
  41721. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  41722. msgstr ""
  41723. #. type: item
  41724. #: guix-git/doc/guix.texi:28045
  41725. #, no-wrap
  41726. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  41727. msgstr ""
  41728. #. type: table
  41729. #: guix-git/doc/guix.texi:28047
  41730. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  41731. msgstr ""
  41732. #. type: deftp
  41733. #: guix-git/doc/guix.texi:28051
  41734. #, no-wrap
  41735. msgid "{Data Type} mpd-output"
  41736. msgstr ""
  41737. #. type: deftp
  41738. #: guix-git/doc/guix.texi:28053
  41739. msgid "Data type representing an @command{mpd} audio output."
  41740. msgstr ""
  41741. #. type: item
  41742. #: guix-git/doc/guix.texi:28055
  41743. #, no-wrap
  41744. msgid "@code{name} (default: @code{\"MPD\"})"
  41745. msgstr ""
  41746. #. type: table
  41747. #: guix-git/doc/guix.texi:28057
  41748. msgid "The name of the audio output."
  41749. msgstr ""
  41750. #. type: item
  41751. #: guix-git/doc/guix.texi:28058
  41752. #, no-wrap
  41753. msgid "@code{type} (default: @code{\"pulse\"})"
  41754. msgstr ""
  41755. #. type: table
  41756. #: guix-git/doc/guix.texi:28060
  41757. msgid "The type of audio output."
  41758. msgstr ""
  41759. #. type: item
  41760. #: guix-git/doc/guix.texi:28061
  41761. #, no-wrap
  41762. msgid "@code{enabled?} (default: @code{#t})"
  41763. msgstr ""
  41764. #. type: table
  41765. #: guix-git/doc/guix.texi:28066
  41766. 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."
  41767. msgstr ""
  41768. #. type: item
  41769. #: guix-git/doc/guix.texi:28067
  41770. #, no-wrap
  41771. msgid "@code{tags?} (default: @code{#t})"
  41772. msgstr ""
  41773. #. type: table
  41774. #: guix-git/doc/guix.texi:28071
  41775. 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."
  41776. msgstr ""
  41777. #. type: item
  41778. #: guix-git/doc/guix.texi:28072
  41779. #, no-wrap
  41780. msgid "@code{always-on?} (default: @code{#f})"
  41781. msgstr ""
  41782. #. type: table
  41783. #: guix-git/doc/guix.texi:28076
  41784. 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."
  41785. msgstr ""
  41786. #. type: code{#1}
  41787. #: guix-git/doc/guix.texi:28077
  41788. #, no-wrap
  41789. msgid "mixer-type"
  41790. msgstr ""
  41791. #. type: table
  41792. #: guix-git/doc/guix.texi:28083
  41793. 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})."
  41794. msgstr ""
  41795. #. type: table
  41796. #: guix-git/doc/guix.texi:28087
  41797. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  41798. msgstr ""
  41799. #. type: Plain text
  41800. #: guix-git/doc/guix.texi:28093
  41801. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  41802. msgstr ""
  41803. #. type: lisp
  41804. #: guix-git/doc/guix.texi:28105
  41805. #, no-wrap
  41806. msgid ""
  41807. "(service mpd-service-type\n"
  41808. " (mpd-configuration\n"
  41809. " (outputs\n"
  41810. " (list (mpd-output\n"
  41811. " (name \"streaming\")\n"
  41812. " (type \"httpd\")\n"
  41813. " (mixer-type 'null)\n"
  41814. " (extra-options\n"
  41815. " `((encoder . \"vorbis\")\n"
  41816. " (port . \"8080\"))))))))\n"
  41817. msgstr ""
  41818. #. type: Plain text
  41819. #: guix-git/doc/guix.texi:28114
  41820. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  41821. msgstr ""
  41822. #. type: subsubheading
  41823. #: guix-git/doc/guix.texi:28115
  41824. #, no-wrap
  41825. msgid "Libvirt daemon"
  41826. msgstr ""
  41827. #. type: Plain text
  41828. #: guix-git/doc/guix.texi:28120
  41829. 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."
  41830. msgstr ""
  41831. #. type: deffn
  41832. #: guix-git/doc/guix.texi:28121
  41833. #, no-wrap
  41834. msgid "{Scheme Variable} libvirt-service-type"
  41835. msgstr ""
  41836. #. type: deffn
  41837. #: guix-git/doc/guix.texi:28124
  41838. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  41839. msgstr ""
  41840. #. type: lisp
  41841. #: guix-git/doc/guix.texi:28130
  41842. #, no-wrap
  41843. msgid ""
  41844. "(service libvirt-service-type\n"
  41845. " (libvirt-configuration\n"
  41846. " (unix-sock-group \"libvirt\")\n"
  41847. " (tls-port \"16555\")))\n"
  41848. msgstr ""
  41849. #. type: Plain text
  41850. #: guix-git/doc/guix.texi:28135
  41851. msgid "Available @code{libvirt-configuration} fields are:"
  41852. msgstr ""
  41853. #. type: deftypevr
  41854. #: guix-git/doc/guix.texi:28136
  41855. #, no-wrap
  41856. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  41857. msgstr ""
  41858. #. type: deftypevr
  41859. #: guix-git/doc/guix.texi:28138
  41860. msgid "Libvirt package."
  41861. msgstr ""
  41862. #. type: deftypevr
  41863. #: guix-git/doc/guix.texi:28141
  41864. #, no-wrap
  41865. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  41866. msgstr ""
  41867. #. type: deftypevr
  41868. #: guix-git/doc/guix.texi:28144
  41869. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  41870. msgstr ""
  41871. #. type: deftypevr
  41872. #: guix-git/doc/guix.texi:28147
  41873. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  41874. msgstr ""
  41875. #. type: deftypevr
  41876. #: guix-git/doc/guix.texi:28152
  41877. #, no-wrap
  41878. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  41879. msgstr ""
  41880. #. type: deftypevr
  41881. #: guix-git/doc/guix.texi:28155
  41882. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  41883. msgstr ""
  41884. #. type: deftypevr
  41885. #: guix-git/doc/guix.texi:28159
  41886. 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)."
  41887. msgstr ""
  41888. #. type: deftypevr
  41889. #: guix-git/doc/guix.texi:28164
  41890. #, no-wrap
  41891. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  41892. msgstr ""
  41893. #. type: deftypevr
  41894. #: guix-git/doc/guix.texi:28167
  41895. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  41896. msgstr ""
  41897. #. type: deftypevr
  41898. #: guix-git/doc/guix.texi:28169
  41899. msgid "Defaults to @samp{\"16514\"}."
  41900. msgstr ""
  41901. #. type: deftypevr
  41902. #: guix-git/doc/guix.texi:28172
  41903. #, no-wrap
  41904. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  41905. msgstr ""
  41906. #. type: deftypevr
  41907. #: guix-git/doc/guix.texi:28175
  41908. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  41909. msgstr ""
  41910. #. type: deftypevr
  41911. #: guix-git/doc/guix.texi:28177
  41912. msgid "Defaults to @samp{\"16509\"}."
  41913. msgstr ""
  41914. #. type: deftypevr
  41915. #: guix-git/doc/guix.texi:28180
  41916. #, no-wrap
  41917. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  41918. msgstr ""
  41919. #. type: deftypevr
  41920. #: guix-git/doc/guix.texi:28182
  41921. msgid "IP address or hostname used for client connections."
  41922. msgstr ""
  41923. #. type: deftypevr
  41924. #: guix-git/doc/guix.texi:28187
  41925. #, no-wrap
  41926. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  41927. msgstr ""
  41928. #. type: deftypevr
  41929. #: guix-git/doc/guix.texi:28189
  41930. msgid "Flag toggling mDNS advertisement of the libvirt service."
  41931. msgstr ""
  41932. #. type: deftypevr
  41933. #: guix-git/doc/guix.texi:28192
  41934. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  41935. msgstr ""
  41936. #. type: deftypevr
  41937. #: guix-git/doc/guix.texi:28197
  41938. #, no-wrap
  41939. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  41940. msgstr ""
  41941. #. type: deftypevr
  41942. #: guix-git/doc/guix.texi:28200
  41943. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  41944. msgstr ""
  41945. #. type: deftypevr
  41946. #: guix-git/doc/guix.texi:28202
  41947. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  41948. msgstr ""
  41949. #. type: deftypevr
  41950. #: guix-git/doc/guix.texi:28205
  41951. #, no-wrap
  41952. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  41953. msgstr ""
  41954. #. type: deftypevr
  41955. #: guix-git/doc/guix.texi:28209
  41956. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  41957. msgstr ""
  41958. #. type: deftypevr
  41959. #: guix-git/doc/guix.texi:28214
  41960. #, no-wrap
  41961. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  41962. msgstr ""
  41963. #. type: deftypevr
  41964. #: guix-git/doc/guix.texi:28217
  41965. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  41966. msgstr ""
  41967. #. type: deftypevr
  41968. #: guix-git/doc/guix.texi:28219 guix-git/doc/guix.texi:28237
  41969. msgid "Defaults to @samp{\"0777\"}."
  41970. msgstr ""
  41971. #. type: deftypevr
  41972. #: guix-git/doc/guix.texi:28222
  41973. #, no-wrap
  41974. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  41975. msgstr ""
  41976. #. type: deftypevr
  41977. #: guix-git/doc/guix.texi:28226
  41978. 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)"
  41979. msgstr ""
  41980. #. type: deftypevr
  41981. #: guix-git/doc/guix.texi:28228
  41982. msgid "Defaults to @samp{\"0770\"}."
  41983. msgstr ""
  41984. #. type: deftypevr
  41985. #: guix-git/doc/guix.texi:28231
  41986. #, no-wrap
  41987. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  41988. msgstr ""
  41989. #. type: deftypevr
  41990. #: guix-git/doc/guix.texi:28235
  41991. 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."
  41992. msgstr ""
  41993. #. type: deftypevr
  41994. #: guix-git/doc/guix.texi:28240
  41995. #, no-wrap
  41996. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  41997. msgstr ""
  41998. #. type: deftypevr
  41999. #: guix-git/doc/guix.texi:28242
  42000. msgid "The directory in which sockets will be found/created."
  42001. msgstr ""
  42002. #. type: deftypevr
  42003. #: guix-git/doc/guix.texi:28244
  42004. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  42005. msgstr ""
  42006. #. type: deftypevr
  42007. #: guix-git/doc/guix.texi:28247
  42008. #, no-wrap
  42009. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  42010. msgstr ""
  42011. #. type: deftypevr
  42012. #: guix-git/doc/guix.texi:28250
  42013. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  42014. msgstr ""
  42015. #. type: deftypevr
  42016. #: guix-git/doc/guix.texi:28252 guix-git/doc/guix.texi:28261
  42017. msgid "Defaults to @samp{\"polkit\"}."
  42018. msgstr ""
  42019. #. type: deftypevr
  42020. #: guix-git/doc/guix.texi:28255
  42021. #, no-wrap
  42022. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  42023. msgstr ""
  42024. #. type: deftypevr
  42025. #: guix-git/doc/guix.texi:28259
  42026. 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."
  42027. msgstr ""
  42028. #. type: deftypevr
  42029. #: guix-git/doc/guix.texi:28264
  42030. #, no-wrap
  42031. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  42032. msgstr ""
  42033. #. type: deftypevr
  42034. #: guix-git/doc/guix.texi:28268
  42035. 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."
  42036. msgstr ""
  42037. #. type: deftypevr
  42038. #: guix-git/doc/guix.texi:28270
  42039. msgid "Defaults to @samp{\"sasl\"}."
  42040. msgstr ""
  42041. #. type: deftypevr
  42042. #: guix-git/doc/guix.texi:28273
  42043. #, no-wrap
  42044. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  42045. msgstr ""
  42046. #. type: deftypevr
  42047. #: guix-git/doc/guix.texi:28277
  42048. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  42049. msgstr ""
  42050. #. type: deftypevr
  42051. #: guix-git/doc/guix.texi:28280
  42052. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  42053. msgstr ""
  42054. #. type: deftypevr
  42055. #: guix-git/doc/guix.texi:28282
  42056. msgid "Defaults to @samp{\"none\"}."
  42057. msgstr ""
  42058. #. type: deftypevr
  42059. #: guix-git/doc/guix.texi:28285
  42060. #, no-wrap
  42061. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  42062. msgstr ""
  42063. #. type: deftypevr
  42064. #: guix-git/doc/guix.texi:28287
  42065. msgid "API access control scheme."
  42066. msgstr ""
  42067. #. type: deftypevr
  42068. #: guix-git/doc/guix.texi:28290
  42069. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  42070. msgstr ""
  42071. #. type: deftypevr
  42072. #: guix-git/doc/guix.texi:28295
  42073. #, no-wrap
  42074. msgid "{@code{libvirt-configuration} parameter} string key-file"
  42075. msgstr ""
  42076. #. type: deftypevr
  42077. #: guix-git/doc/guix.texi:28298
  42078. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  42079. msgstr ""
  42080. #. type: deftypevr
  42081. #: guix-git/doc/guix.texi:28303
  42082. #, no-wrap
  42083. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  42084. msgstr ""
  42085. #. type: deftypevr
  42086. #: guix-git/doc/guix.texi:28306
  42087. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  42088. msgstr ""
  42089. #. type: deftypevr
  42090. #: guix-git/doc/guix.texi:28311
  42091. #, no-wrap
  42092. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  42093. msgstr ""
  42094. #. type: deftypevr
  42095. #: guix-git/doc/guix.texi:28314
  42096. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  42097. msgstr ""
  42098. #. type: deftypevr
  42099. #: guix-git/doc/guix.texi:28319
  42100. #, no-wrap
  42101. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  42102. msgstr ""
  42103. #. type: deftypevr
  42104. #: guix-git/doc/guix.texi:28322
  42105. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  42106. msgstr ""
  42107. #. type: deftypevr
  42108. #: guix-git/doc/guix.texi:28327
  42109. #, no-wrap
  42110. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  42111. msgstr ""
  42112. #. type: deftypevr
  42113. #: guix-git/doc/guix.texi:28329
  42114. msgid "Disable verification of our own server certificates."
  42115. msgstr ""
  42116. #. type: deftypevr
  42117. #: guix-git/doc/guix.texi:28332
  42118. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  42119. msgstr ""
  42120. #. type: deftypevr
  42121. #: guix-git/doc/guix.texi:28337
  42122. #, no-wrap
  42123. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  42124. msgstr ""
  42125. #. type: deftypevr
  42126. #: guix-git/doc/guix.texi:28339
  42127. msgid "Disable verification of client certificates."
  42128. msgstr ""
  42129. #. type: deftypevr
  42130. #: guix-git/doc/guix.texi:28343
  42131. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  42132. msgstr ""
  42133. #. type: deftypevr
  42134. #: guix-git/doc/guix.texi:28348
  42135. #, no-wrap
  42136. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  42137. msgstr ""
  42138. #. type: deftypevr
  42139. #: guix-git/doc/guix.texi:28350
  42140. msgid "Whitelist of allowed x509 Distinguished Name."
  42141. msgstr ""
  42142. #. type: deftypevr
  42143. #: guix-git/doc/guix.texi:28355
  42144. #, no-wrap
  42145. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  42146. msgstr ""
  42147. #. type: deftypevr
  42148. #: guix-git/doc/guix.texi:28358
  42149. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  42150. msgstr ""
  42151. #. type: deftypevr
  42152. #: guix-git/doc/guix.texi:28363
  42153. #, no-wrap
  42154. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  42155. msgstr ""
  42156. #. type: deftypevr
  42157. #: guix-git/doc/guix.texi:28367
  42158. 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."
  42159. msgstr ""
  42160. #. type: deftypevr
  42161. #: guix-git/doc/guix.texi:28369
  42162. msgid "Defaults to @samp{\"NORMAL\"}."
  42163. msgstr ""
  42164. #. type: deftypevr
  42165. #: guix-git/doc/guix.texi:28372
  42166. #, no-wrap
  42167. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  42168. msgstr ""
  42169. #. type: deftypevr
  42170. #: guix-git/doc/guix.texi:28375 guix-git/doc/guix.texi:28799
  42171. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  42172. msgstr ""
  42173. #. type: deftypevr
  42174. #: guix-git/doc/guix.texi:28377
  42175. msgid "Defaults to @samp{5000}."
  42176. msgstr ""
  42177. #. type: deftypevr
  42178. #: guix-git/doc/guix.texi:28380
  42179. #, no-wrap
  42180. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  42181. msgstr ""
  42182. #. type: deftypevr
  42183. #: guix-git/doc/guix.texi:28384
  42184. 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."
  42185. msgstr ""
  42186. #. type: deftypevr
  42187. #: guix-git/doc/guix.texi:28389
  42188. #, no-wrap
  42189. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  42190. msgstr ""
  42191. #. type: deftypevr
  42192. #: guix-git/doc/guix.texi:28392
  42193. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  42194. msgstr ""
  42195. #. type: deftypevr
  42196. #: guix-git/doc/guix.texi:28394 guix-git/doc/guix.texi:28412
  42197. #: guix-git/doc/guix.texi:28428
  42198. msgid "Defaults to @samp{20}."
  42199. msgstr ""
  42200. #. type: deftypevr
  42201. #: guix-git/doc/guix.texi:28397
  42202. #, no-wrap
  42203. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  42204. msgstr ""
  42205. #. type: deftypevr
  42206. #: guix-git/doc/guix.texi:28399
  42207. msgid "Number of workers to start up initially."
  42208. msgstr ""
  42209. #. type: deftypevr
  42210. #: guix-git/doc/guix.texi:28404
  42211. #, no-wrap
  42212. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  42213. msgstr ""
  42214. #. type: deftypevr
  42215. #: guix-git/doc/guix.texi:28406
  42216. msgid "Maximum number of worker threads."
  42217. msgstr ""
  42218. #. type: deftypevr
  42219. #: guix-git/doc/guix.texi:28410
  42220. 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."
  42221. msgstr ""
  42222. #. type: deftypevr
  42223. #: guix-git/doc/guix.texi:28415
  42224. #, no-wrap
  42225. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  42226. msgstr ""
  42227. #. type: deftypevr
  42228. #: guix-git/doc/guix.texi:28419
  42229. 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."
  42230. msgstr ""
  42231. #. type: deftypevr
  42232. #: guix-git/doc/guix.texi:28424
  42233. #, no-wrap
  42234. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  42235. msgstr ""
  42236. #. type: deftypevr
  42237. #: guix-git/doc/guix.texi:28426
  42238. msgid "Total global limit on concurrent RPC calls."
  42239. msgstr ""
  42240. #. type: deftypevr
  42241. #: guix-git/doc/guix.texi:28431
  42242. #, no-wrap
  42243. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  42244. msgstr ""
  42245. #. type: deftypevr
  42246. #: guix-git/doc/guix.texi:28435
  42247. 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."
  42248. msgstr ""
  42249. #. type: deftypevr
  42250. #: guix-git/doc/guix.texi:28440
  42251. #, no-wrap
  42252. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  42253. msgstr ""
  42254. #. type: deftypevr
  42255. #: guix-git/doc/guix.texi:28442
  42256. msgid "Same as @code{min-workers} but for the admin interface."
  42257. msgstr ""
  42258. #. type: deftypevr
  42259. #: guix-git/doc/guix.texi:28447
  42260. #, no-wrap
  42261. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  42262. msgstr ""
  42263. #. type: deftypevr
  42264. #: guix-git/doc/guix.texi:28449
  42265. msgid "Same as @code{max-workers} but for the admin interface."
  42266. msgstr ""
  42267. #. type: deftypevr
  42268. #: guix-git/doc/guix.texi:28454
  42269. #, no-wrap
  42270. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  42271. msgstr ""
  42272. #. type: deftypevr
  42273. #: guix-git/doc/guix.texi:28456
  42274. msgid "Same as @code{max-clients} but for the admin interface."
  42275. msgstr ""
  42276. #. type: deftypevr
  42277. #: guix-git/doc/guix.texi:28461
  42278. #, no-wrap
  42279. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  42280. msgstr ""
  42281. #. type: deftypevr
  42282. #: guix-git/doc/guix.texi:28463
  42283. msgid "Same as @code{max-queued-clients} but for the admin interface."
  42284. msgstr ""
  42285. #. type: deftypevr
  42286. #: guix-git/doc/guix.texi:28468
  42287. #, no-wrap
  42288. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  42289. msgstr ""
  42290. #. type: deftypevr
  42291. #: guix-git/doc/guix.texi:28470
  42292. msgid "Same as @code{max-client-requests} but for the admin interface."
  42293. msgstr ""
  42294. #. type: deftypevr
  42295. #: guix-git/doc/guix.texi:28475
  42296. #, no-wrap
  42297. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  42298. msgstr ""
  42299. #. type: deftypevr
  42300. #: guix-git/doc/guix.texi:28477 guix-git/doc/guix.texi:28701
  42301. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  42302. msgstr ""
  42303. #. type: deftypevr
  42304. #: guix-git/doc/guix.texi:28482
  42305. #, no-wrap
  42306. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  42307. msgstr ""
  42308. #. type: deftypevr
  42309. #: guix-git/doc/guix.texi:28484 guix-git/doc/guix.texi:28708
  42310. msgid "Logging filters."
  42311. msgstr ""
  42312. #. type: deftypevr
  42313. #: guix-git/doc/guix.texi:28487
  42314. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  42315. msgstr ""
  42316. #. type: itemize
  42317. #: guix-git/doc/guix.texi:28491 guix-git/doc/guix.texi:28715
  42318. msgid "x:name"
  42319. msgstr ""
  42320. #. type: itemize
  42321. #: guix-git/doc/guix.texi:28494 guix-git/doc/guix.texi:28718
  42322. msgid "x:+name"
  42323. msgstr ""
  42324. #. type: deftypevr
  42325. #: guix-git/doc/guix.texi:28505
  42326. 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:"
  42327. msgstr ""
  42328. #. type: itemize
  42329. #: guix-git/doc/guix.texi:28509 guix-git/doc/guix.texi:28554
  42330. #: guix-git/doc/guix.texi:28732 guix-git/doc/guix.texi:28777
  42331. msgid "1: DEBUG"
  42332. msgstr ""
  42333. #. type: itemize
  42334. #: guix-git/doc/guix.texi:28512 guix-git/doc/guix.texi:28557
  42335. #: guix-git/doc/guix.texi:28735 guix-git/doc/guix.texi:28780
  42336. msgid "2: INFO"
  42337. msgstr ""
  42338. #. type: itemize
  42339. #: guix-git/doc/guix.texi:28515 guix-git/doc/guix.texi:28560
  42340. #: guix-git/doc/guix.texi:28738 guix-git/doc/guix.texi:28783
  42341. msgid "3: WARNING"
  42342. msgstr ""
  42343. #. type: itemize
  42344. #: guix-git/doc/guix.texi:28518 guix-git/doc/guix.texi:28563
  42345. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28786
  42346. msgid "4: ERROR"
  42347. msgstr ""
  42348. #. type: deftypevr
  42349. #: guix-git/doc/guix.texi:28523 guix-git/doc/guix.texi:28746
  42350. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  42351. msgstr ""
  42352. #. type: deftypevr
  42353. #: guix-git/doc/guix.texi:28525 guix-git/doc/guix.texi:28748
  42354. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  42355. msgstr ""
  42356. #. type: deftypevr
  42357. #: guix-git/doc/guix.texi:28528
  42358. #, no-wrap
  42359. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  42360. msgstr ""
  42361. #. type: deftypevr
  42362. #: guix-git/doc/guix.texi:28530 guix-git/doc/guix.texi:28753
  42363. msgid "Logging outputs."
  42364. msgstr ""
  42365. #. type: deftypevr
  42366. #: guix-git/doc/guix.texi:28533
  42367. msgid "An output is one of the places to save logging information. The format for an output can be:"
  42368. msgstr ""
  42369. #. type: item
  42370. #: guix-git/doc/guix.texi:28535 guix-git/doc/guix.texi:28758
  42371. #, no-wrap
  42372. msgid "x:stderr"
  42373. msgstr ""
  42374. #. type: table
  42375. #: guix-git/doc/guix.texi:28537 guix-git/doc/guix.texi:28760
  42376. msgid "output goes to stderr"
  42377. msgstr ""
  42378. #. type: item
  42379. #: guix-git/doc/guix.texi:28538 guix-git/doc/guix.texi:28761
  42380. #, no-wrap
  42381. msgid "x:syslog:name"
  42382. msgstr ""
  42383. #. type: table
  42384. #: guix-git/doc/guix.texi:28540 guix-git/doc/guix.texi:28763
  42385. msgid "use syslog for the output and use the given name as the ident"
  42386. msgstr ""
  42387. #. type: item
  42388. #: guix-git/doc/guix.texi:28541 guix-git/doc/guix.texi:28764
  42389. #, no-wrap
  42390. msgid "x:file:file_path"
  42391. msgstr ""
  42392. #. type: table
  42393. #: guix-git/doc/guix.texi:28543 guix-git/doc/guix.texi:28766
  42394. msgid "output to a file, with the given filepath"
  42395. msgstr ""
  42396. #. type: item
  42397. #: guix-git/doc/guix.texi:28544 guix-git/doc/guix.texi:28767
  42398. #, no-wrap
  42399. msgid "x:journald"
  42400. msgstr ""
  42401. #. type: table
  42402. #: guix-git/doc/guix.texi:28546 guix-git/doc/guix.texi:28769
  42403. msgid "output to journald logging system"
  42404. msgstr ""
  42405. #. type: deftypevr
  42406. #: guix-git/doc/guix.texi:28550 guix-git/doc/guix.texi:28773
  42407. msgid "In all case the x prefix is the minimal level, acting as a filter"
  42408. msgstr ""
  42409. #. type: deftypevr
  42410. #: guix-git/doc/guix.texi:28568 guix-git/doc/guix.texi:28791
  42411. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  42412. msgstr ""
  42413. #. type: deftypevr
  42414. #: guix-git/doc/guix.texi:28570 guix-git/doc/guix.texi:28793
  42415. msgid "Defaults to @samp{\"3:stderr\"}."
  42416. msgstr ""
  42417. #. type: deftypevr
  42418. #: guix-git/doc/guix.texi:28573
  42419. #, no-wrap
  42420. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  42421. msgstr ""
  42422. #. type: deftypevr
  42423. #: guix-git/doc/guix.texi:28575
  42424. msgid "Allows usage of the auditing subsystem to be altered"
  42425. msgstr ""
  42426. #. type: itemize
  42427. #: guix-git/doc/guix.texi:28579
  42428. msgid "0: disable all auditing"
  42429. msgstr ""
  42430. #. type: itemize
  42431. #: guix-git/doc/guix.texi:28582
  42432. msgid "1: enable auditing, only if enabled on host"
  42433. msgstr ""
  42434. #. type: itemize
  42435. #: guix-git/doc/guix.texi:28585
  42436. msgid "2: enable auditing, and exit if disabled on host."
  42437. msgstr ""
  42438. #. type: deftypevr
  42439. #: guix-git/doc/guix.texi:28592
  42440. #, no-wrap
  42441. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  42442. msgstr ""
  42443. #. type: deftypevr
  42444. #: guix-git/doc/guix.texi:28594
  42445. msgid "Send audit messages via libvirt logging infrastructure."
  42446. msgstr ""
  42447. #. type: deftypevr
  42448. #: guix-git/doc/guix.texi:28599
  42449. #, no-wrap
  42450. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  42451. msgstr ""
  42452. #. type: deftypevr
  42453. #: guix-git/doc/guix.texi:28601
  42454. msgid "Host UUID@. UUID must not have all digits be the same."
  42455. msgstr ""
  42456. #. type: deftypevr
  42457. #: guix-git/doc/guix.texi:28606
  42458. #, no-wrap
  42459. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  42460. msgstr ""
  42461. #. type: deftypevr
  42462. #: guix-git/doc/guix.texi:28608
  42463. msgid "Source to read host UUID."
  42464. msgstr ""
  42465. #. type: itemize
  42466. #: guix-git/doc/guix.texi:28612
  42467. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  42468. msgstr ""
  42469. #. type: itemize
  42470. #: guix-git/doc/guix.texi:28615
  42471. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  42472. msgstr ""
  42473. #. type: deftypevr
  42474. #: guix-git/doc/guix.texi:28620
  42475. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  42476. msgstr ""
  42477. #. type: deftypevr
  42478. #: guix-git/doc/guix.texi:28622
  42479. msgid "Defaults to @samp{\"smbios\"}."
  42480. msgstr ""
  42481. #. type: deftypevr
  42482. #: guix-git/doc/guix.texi:28625
  42483. #, no-wrap
  42484. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  42485. msgstr ""
  42486. #. type: deftypevr
  42487. #: guix-git/doc/guix.texi:28630
  42488. 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."
  42489. msgstr ""
  42490. #. type: deftypevr
  42491. #: guix-git/doc/guix.texi:28635
  42492. #, no-wrap
  42493. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  42494. msgstr ""
  42495. #. type: deftypevr
  42496. #: guix-git/doc/guix.texi:28639
  42497. 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."
  42498. msgstr ""
  42499. #. type: deftypevr
  42500. #: guix-git/doc/guix.texi:28646
  42501. 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."
  42502. msgstr ""
  42503. #. type: deftypevr
  42504. #: guix-git/doc/guix.texi:28651
  42505. #, no-wrap
  42506. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  42507. msgstr ""
  42508. #. type: deftypevr
  42509. #: guix-git/doc/guix.texi:28653 guix-git/doc/guix.texi:28660
  42510. msgid "Same as above but for admin interface."
  42511. msgstr ""
  42512. #. type: deftypevr
  42513. #: guix-git/doc/guix.texi:28658
  42514. #, no-wrap
  42515. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  42516. msgstr ""
  42517. #. type: deftypevr
  42518. #: guix-git/doc/guix.texi:28665
  42519. #, no-wrap
  42520. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  42521. msgstr ""
  42522. #. type: deftypevr
  42523. #: guix-git/doc/guix.texi:28667
  42524. msgid "Timeout for Open vSwitch calls."
  42525. msgstr ""
  42526. #. type: deftypevr
  42527. #: guix-git/doc/guix.texi:28671
  42528. 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."
  42529. msgstr ""
  42530. #. type: subsubheading
  42531. #: guix-git/doc/guix.texi:28678
  42532. #, no-wrap
  42533. msgid "Virtlog daemon"
  42534. msgstr ""
  42535. #. type: Plain text
  42536. #: guix-git/doc/guix.texi:28681
  42537. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  42538. msgstr ""
  42539. #. type: Plain text
  42540. #: guix-git/doc/guix.texi:28687
  42541. 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."
  42542. msgstr ""
  42543. #. type: deffn
  42544. #: guix-git/doc/guix.texi:28688
  42545. #, no-wrap
  42546. msgid "{Scheme Variable} virtlog-service-type"
  42547. msgstr ""
  42548. #. type: deffn
  42549. #: guix-git/doc/guix.texi:28691
  42550. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  42551. msgstr ""
  42552. #. type: lisp
  42553. #: guix-git/doc/guix.texi:28696
  42554. #, no-wrap
  42555. msgid ""
  42556. "(service virtlog-service-type\n"
  42557. " (virtlog-configuration\n"
  42558. " (max-clients 1000)))\n"
  42559. msgstr ""
  42560. #. type: deftypevr
  42561. #: guix-git/doc/guix.texi:28699
  42562. #, no-wrap
  42563. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  42564. msgstr ""
  42565. #. type: deftypevr
  42566. #: guix-git/doc/guix.texi:28706
  42567. #, no-wrap
  42568. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  42569. msgstr ""
  42570. #. type: deftypevr
  42571. #: guix-git/doc/guix.texi:28711
  42572. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  42573. msgstr ""
  42574. #. type: deftypevr
  42575. #: guix-git/doc/guix.texi:28728
  42576. 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:"
  42577. msgstr ""
  42578. #. type: deftypevr
  42579. #: guix-git/doc/guix.texi:28751
  42580. #, no-wrap
  42581. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  42582. msgstr ""
  42583. #. type: deftypevr
  42584. #: guix-git/doc/guix.texi:28756
  42585. msgid "An output is one of the places to save logging information The format for an output can be:"
  42586. msgstr ""
  42587. #. type: deftypevr
  42588. #: guix-git/doc/guix.texi:28796
  42589. #, no-wrap
  42590. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  42591. msgstr ""
  42592. #. type: deftypevr
  42593. #: guix-git/doc/guix.texi:28801
  42594. msgid "Defaults to @samp{1024}."
  42595. msgstr ""
  42596. #. type: deftypevr
  42597. #: guix-git/doc/guix.texi:28804
  42598. #, no-wrap
  42599. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  42600. msgstr ""
  42601. #. type: deftypevr
  42602. #: guix-git/doc/guix.texi:28806
  42603. msgid "Maximum file size before rolling over."
  42604. msgstr ""
  42605. #. type: deftypevr
  42606. #: guix-git/doc/guix.texi:28808
  42607. msgid "Defaults to @samp{2MB}"
  42608. msgstr ""
  42609. #. type: deftypevr
  42610. #: guix-git/doc/guix.texi:28811
  42611. #, no-wrap
  42612. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  42613. msgstr ""
  42614. #. type: deftypevr
  42615. #: guix-git/doc/guix.texi:28813
  42616. msgid "Maximum number of backup files to keep."
  42617. msgstr ""
  42618. #. type: deftypevr
  42619. #: guix-git/doc/guix.texi:28815
  42620. msgid "Defaults to @samp{3}"
  42621. msgstr ""
  42622. #. type: anchor{#1}
  42623. #: guix-git/doc/guix.texi:28819
  42624. msgid "transparent-emulation-qemu"
  42625. msgstr ""
  42626. #. type: subsubheading
  42627. #: guix-git/doc/guix.texi:28819
  42628. #, no-wrap
  42629. msgid "Transparent Emulation with QEMU"
  42630. msgstr ""
  42631. #. type: cindex
  42632. #: guix-git/doc/guix.texi:28821
  42633. #, no-wrap
  42634. msgid "emulation"
  42635. msgstr ""
  42636. #. type: code{#1}
  42637. #: guix-git/doc/guix.texi:28822
  42638. #, no-wrap
  42639. msgid "binfmt_misc"
  42640. msgstr ""
  42641. #. type: Plain text
  42642. #: guix-git/doc/guix.texi:28830
  42643. 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."
  42644. msgstr ""
  42645. #. type: defvr
  42646. #: guix-git/doc/guix.texi:28831
  42647. #, no-wrap
  42648. msgid "{Scheme Variable} qemu-binfmt-service-type"
  42649. msgstr ""
  42650. #. type: defvr
  42651. #: guix-git/doc/guix.texi:28836
  42652. 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:"
  42653. msgstr ""
  42654. #. type: lisp
  42655. #: guix-git/doc/guix.texi:28841
  42656. #, no-wrap
  42657. msgid ""
  42658. "(service qemu-binfmt-service-type\n"
  42659. " (qemu-binfmt-configuration\n"
  42660. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  42661. msgstr ""
  42662. #. type: defvr
  42663. #: guix-git/doc/guix.texi:28847
  42664. 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})."
  42665. msgstr ""
  42666. #. type: deftp
  42667. #: guix-git/doc/guix.texi:28849
  42668. #, no-wrap
  42669. msgid "{Data Type} qemu-binfmt-configuration"
  42670. msgstr ""
  42671. #. type: deftp
  42672. #: guix-git/doc/guix.texi:28851
  42673. msgid "This is the configuration for the @code{qemu-binfmt} service."
  42674. msgstr ""
  42675. #. type: item
  42676. #: guix-git/doc/guix.texi:28853
  42677. #, no-wrap
  42678. msgid "@code{platforms} (default: @code{'()})"
  42679. msgstr ""
  42680. #. type: table
  42681. #: guix-git/doc/guix.texi:28856
  42682. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  42683. msgstr ""
  42684. #. type: table
  42685. #: guix-git/doc/guix.texi:28859
  42686. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  42687. msgstr ""
  42688. #. type: lisp
  42689. #: guix-git/doc/guix.texi:28864
  42690. #, no-wrap
  42691. msgid ""
  42692. "(service qemu-binfmt-service-type\n"
  42693. " (qemu-binfmt-configuration\n"
  42694. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  42695. msgstr ""
  42696. #. type: table
  42697. #: guix-git/doc/guix.texi:28867
  42698. msgid "You can run:"
  42699. msgstr ""
  42700. #. type: example
  42701. #: guix-git/doc/guix.texi:28870
  42702. #, no-wrap
  42703. msgid "guix build -s armhf-linux inkscape\n"
  42704. msgstr ""
  42705. #. type: table
  42706. #: guix-git/doc/guix.texi:28877
  42707. 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!"
  42708. msgstr ""
  42709. #. type: item
  42710. #: guix-git/doc/guix.texi:28878
  42711. #, no-wrap
  42712. msgid "@code{qemu} (default: @code{qemu})"
  42713. msgstr ""
  42714. #. type: table
  42715. #: guix-git/doc/guix.texi:28880 guix-git/doc/guix.texi:28974
  42716. msgid "The QEMU package to use."
  42717. msgstr ""
  42718. #. type: deffn
  42719. #: guix-git/doc/guix.texi:28883
  42720. #, no-wrap
  42721. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  42722. msgstr ""
  42723. #. type: deffn
  42724. #: guix-git/doc/guix.texi:28888
  42725. 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."
  42726. msgstr ""
  42727. #. type: deffn
  42728. #: guix-git/doc/guix.texi:28890
  42729. #, no-wrap
  42730. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  42731. msgstr ""
  42732. #. type: deffn
  42733. #: guix-git/doc/guix.texi:28892
  42734. msgid "Return true if @var{obj} is a platform object."
  42735. msgstr ""
  42736. #. type: deffn
  42737. #: guix-git/doc/guix.texi:28894
  42738. #, no-wrap
  42739. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  42740. msgstr ""
  42741. #. type: deffn
  42742. #: guix-git/doc/guix.texi:28896
  42743. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  42744. msgstr ""
  42745. #. type: subsubheading
  42746. #: guix-git/doc/guix.texi:28899
  42747. #, no-wrap
  42748. msgid "The Hurd in a Virtual Machine"
  42749. msgstr ""
  42750. #. type: cindex
  42751. #: guix-git/doc/guix.texi:28902
  42752. #, no-wrap
  42753. msgid "the Hurd"
  42754. msgstr ""
  42755. #. type: cindex
  42756. #: guix-git/doc/guix.texi:28903
  42757. #, no-wrap
  42758. msgid "childhurd"
  42759. msgstr ""
  42760. #. type: Plain text
  42761. #: guix-git/doc/guix.texi:28911
  42762. 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:"
  42763. msgstr ""
  42764. #. type: example
  42765. #: guix-git/doc/guix.texi:28915
  42766. #, no-wrap
  42767. msgid ""
  42768. "herd start hurd-vm\n"
  42769. "herd stop childhurd\n"
  42770. msgstr ""
  42771. #. type: Plain text
  42772. #: guix-git/doc/guix.texi:28919
  42773. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  42774. msgstr ""
  42775. #. type: example
  42776. #: guix-git/doc/guix.texi:28923
  42777. #, no-wrap
  42778. msgid ""
  42779. "guix environment --ad-hoc tigervnc-client -- \\\n"
  42780. " vncviewer localhost:5900\n"
  42781. msgstr ""
  42782. #. type: Plain text
  42783. #: guix-git/doc/guix.texi:28929
  42784. 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:"
  42785. msgstr ""
  42786. #. type: example
  42787. #: guix-git/doc/guix.texi:28932
  42788. #, no-wrap
  42789. msgid "ssh root@@localhost -p 10022\n"
  42790. msgstr ""
  42791. #. type: Plain text
  42792. #: guix-git/doc/guix.texi:28941
  42793. 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."
  42794. msgstr ""
  42795. #. type: defvr
  42796. #: guix-git/doc/guix.texi:28942
  42797. #, no-wrap
  42798. msgid "{Scheme Variable} hurd-vm-service-type"
  42799. msgstr ""
  42800. #. type: defvr
  42801. #: guix-git/doc/guix.texi:28948
  42802. 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."
  42803. msgstr ""
  42804. #. type: lisp
  42805. #: guix-git/doc/guix.texi:28956
  42806. #, no-wrap
  42807. msgid ""
  42808. "(service hurd-vm-service-type\n"
  42809. " (hurd-vm-configuration\n"
  42810. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  42811. " (memory-size 1024))) ;1024MiB\n"
  42812. msgstr ""
  42813. #. type: defvr
  42814. #: guix-git/doc/guix.texi:28960
  42815. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  42816. msgstr ""
  42817. #. type: deftp
  42818. #: guix-git/doc/guix.texi:28962
  42819. #, no-wrap
  42820. msgid "{Data Type} hurd-vm-configuration"
  42821. msgstr ""
  42822. #. type: deftp
  42823. #: guix-git/doc/guix.texi:28965
  42824. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  42825. msgstr ""
  42826. #. type: item
  42827. #: guix-git/doc/guix.texi:28967
  42828. #, no-wrap
  42829. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  42830. msgstr ""
  42831. #. type: table
  42832. #: guix-git/doc/guix.texi:28971
  42833. 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}})."
  42834. msgstr ""
  42835. #. type: item
  42836. #: guix-git/doc/guix.texi:28972
  42837. #, no-wrap
  42838. msgid "@code{qemu} (default: @code{qemu-minimal})"
  42839. msgstr ""
  42840. #. type: item
  42841. #: guix-git/doc/guix.texi:28975
  42842. #, no-wrap
  42843. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  42844. msgstr ""
  42845. #. type: table
  42846. #: guix-git/doc/guix.texi:28978
  42847. msgid "The procedure used to build the disk-image built from this configuration."
  42848. msgstr ""
  42849. #. type: item
  42850. #: guix-git/doc/guix.texi:28979
  42851. #, no-wrap
  42852. msgid "@code{disk-size} (default: @code{'guess})"
  42853. msgstr ""
  42854. #. type: table
  42855. #: guix-git/doc/guix.texi:28981
  42856. msgid "The size of the disk image."
  42857. msgstr ""
  42858. #. type: item
  42859. #: guix-git/doc/guix.texi:28982
  42860. #, no-wrap
  42861. msgid "@code{memory-size} (default: @code{512})"
  42862. msgstr ""
  42863. #. type: table
  42864. #: guix-git/doc/guix.texi:28984
  42865. msgid "The memory size of the Virtual Machine in mebibytes."
  42866. msgstr ""
  42867. #. type: item
  42868. #: guix-git/doc/guix.texi:28985
  42869. #, no-wrap
  42870. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  42871. msgstr ""
  42872. #. type: table
  42873. #: guix-git/doc/guix.texi:28987
  42874. msgid "The extra options for running QEMU."
  42875. msgstr ""
  42876. #. type: table
  42877. #: guix-git/doc/guix.texi:28992
  42878. 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}."
  42879. msgstr ""
  42880. #. type: item
  42881. #: guix-git/doc/guix.texi:28993
  42882. #, no-wrap
  42883. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  42884. msgstr ""
  42885. #. type: table
  42886. #: guix-git/doc/guix.texi:28995
  42887. msgid "The procedure used to produce the list of QEMU networking options."
  42888. msgstr ""
  42889. #. type: table
  42890. #: guix-git/doc/guix.texi:28997
  42891. msgid "By default, it produces"
  42892. msgstr ""
  42893. #. type: lisp
  42894. #: guix-git/doc/guix.texi:29004
  42895. #, no-wrap
  42896. msgid ""
  42897. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  42898. " \"--netdev\" \"user,id=net0\\\n"
  42899. " ,hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004\\\n"
  42900. " ,hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222\\\n"
  42901. " ,hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\")\n"
  42902. msgstr ""
  42903. #. type: table
  42904. #: guix-git/doc/guix.texi:29007
  42905. msgid "with forwarded ports:"
  42906. msgstr ""
  42907. #. type: example
  42908. #: guix-git/doc/guix.texi:29012
  42909. #, no-wrap
  42910. msgid ""
  42911. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  42912. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  42913. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  42914. msgstr ""
  42915. #. type: item
  42916. #: guix-git/doc/guix.texi:29014
  42917. #, no-wrap
  42918. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  42919. msgstr ""
  42920. #. type: table
  42921. #: guix-git/doc/guix.texi:29019
  42922. 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."
  42923. msgstr ""
  42924. #. type: table
  42925. #: guix-git/doc/guix.texi:29023
  42926. 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."
  42927. msgstr ""
  42928. #. type: table
  42929. #: guix-git/doc/guix.texi:29026
  42930. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  42931. msgstr ""
  42932. #. type: example
  42933. #: guix-git/doc/guix.texi:29035
  42934. #, no-wrap
  42935. msgid ""
  42936. "/etc/childhurd/etc/guix/acl\n"
  42937. "/etc/childhurd/etc/guix/signing-key.pub\n"
  42938. "/etc/childhurd/etc/guix/signing-key.sec\n"
  42939. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  42940. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  42941. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  42942. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  42943. msgstr ""
  42944. #. type: table
  42945. #: guix-git/doc/guix.texi:29039
  42946. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  42947. msgstr ""
  42948. #. type: cindex
  42949. #: guix-git/doc/guix.texi:29040
  42950. #, no-wrap
  42951. msgid "childhurd, offloading"
  42952. msgstr ""
  42953. #. type: cindex
  42954. #: guix-git/doc/guix.texi:29041
  42955. #, no-wrap
  42956. msgid "Hurd, offloading"
  42957. msgstr ""
  42958. #. type: table
  42959. #: guix-git/doc/guix.texi:29045
  42960. 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:"
  42961. msgstr ""
  42962. #. type: enumerate
  42963. #: guix-git/doc/guix.texi:29050
  42964. 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:"
  42965. msgstr ""
  42966. #. type: example
  42967. #: guix-git/doc/guix.texi:29054
  42968. #, no-wrap
  42969. msgid ""
  42970. "guix archive --authorize < \\\n"
  42971. " /etc/childhurd/etc/guix/signing-key.pub\n"
  42972. msgstr ""
  42973. #. type: enumerate
  42974. #: guix-git/doc/guix.texi:29059
  42975. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  42976. msgstr ""
  42977. #. type: table
  42978. #: guix-git/doc/guix.texi:29063
  42979. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  42980. msgstr ""
  42981. #. type: Plain text
  42982. #: guix-git/doc/guix.texi:29070
  42983. 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:"
  42984. msgstr ""
  42985. #. type: lisp
  42986. #: guix-git/doc/guix.texi:29076
  42987. #, no-wrap
  42988. msgid ""
  42989. "(service hurd-vm-service-type\n"
  42990. " (hurd-vm-configuration\n"
  42991. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  42992. " (options '())))\n"
  42993. msgstr ""
  42994. #. type: subsubheading
  42995. #: guix-git/doc/guix.texi:29078
  42996. #, no-wrap
  42997. msgid "Ganeti"
  42998. msgstr ""
  42999. #. type: cindex
  43000. #: guix-git/doc/guix.texi:29080
  43001. #, no-wrap
  43002. msgid "ganeti"
  43003. msgstr ""
  43004. #. type: quotation
  43005. #: guix-git/doc/guix.texi:29087
  43006. 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}."
  43007. msgstr ""
  43008. #. type: Plain text
  43009. #: guix-git/doc/guix.texi:29097
  43010. 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)."
  43011. msgstr ""
  43012. #. type: Plain text
  43013. #: guix-git/doc/guix.texi:29102
  43014. 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}:"
  43015. msgstr ""
  43016. #. type: lisp
  43017. #: guix-git/doc/guix.texi:29112
  43018. #, no-wrap
  43019. msgid ""
  43020. "(use-package-modules virtualization)\n"
  43021. "(use-service-modules base ganeti networking ssh)\n"
  43022. "(operating-system\n"
  43023. " ;; @dots{}\n"
  43024. " (host-name \"node1\")\n"
  43025. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  43026. "127.0.0.1 localhost\n"
  43027. "::1 localhost\n"
  43028. "\n"
  43029. msgstr ""
  43030. #. type: lisp
  43031. #: guix-git/doc/guix.texi:29117
  43032. #, no-wrap
  43033. msgid ""
  43034. "192.168.1.200 ganeti.example.com\n"
  43035. "192.168.1.201 node1.example.com node1\n"
  43036. "192.168.1.202 node2.example.com node2\n"
  43037. "\")))\n"
  43038. "\n"
  43039. msgstr ""
  43040. #. type: lisp
  43041. #: guix-git/doc/guix.texi:29131
  43042. #, no-wrap
  43043. msgid ""
  43044. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  43045. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  43046. " (packages (append (map specification->package\n"
  43047. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  43048. " ;; Add the debootstrap and guix OS providers.\n"
  43049. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  43050. " %base-packages))\n"
  43051. " (services\n"
  43052. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  43053. " #:netmask \"255.255.255.0\"\n"
  43054. " #:gateway \"192.168.1.254\"\n"
  43055. " #:name-servers '(\"192.168.1.252\"\n"
  43056. " \"192.168.1.253\"))\n"
  43057. "\n"
  43058. msgstr ""
  43059. #. type: lisp
  43060. #: guix-git/doc/guix.texi:29136
  43061. #, no-wrap
  43062. msgid ""
  43063. " ;; Ganeti uses SSH to communicate between nodes.\n"
  43064. " (service openssh-service-type\n"
  43065. " (openssh-configuration\n"
  43066. " (permit-root-login 'without-password)))\n"
  43067. "\n"
  43068. msgstr ""
  43069. #. type: lisp
  43070. #: guix-git/doc/guix.texi:29146
  43071. #, no-wrap
  43072. msgid ""
  43073. " (service ganeti-service-type\n"
  43074. " (ganeti-configuration\n"
  43075. " ;; This list specifies allowed file system paths\n"
  43076. " ;; for storing virtual machine images.\n"
  43077. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  43078. " ;; This variable configures a single \"variant\" for\n"
  43079. " ;; both Debootstrap and Guix that works with KVM.\n"
  43080. " (os %default-ganeti-os))))\n"
  43081. " %base-services)))\n"
  43082. msgstr ""
  43083. #. type: Plain text
  43084. #: guix-git/doc/guix.texi:29154
  43085. 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."
  43086. msgstr ""
  43087. #. type: defvr
  43088. #: guix-git/doc/guix.texi:29155
  43089. #, no-wrap
  43090. msgid "{Scheme Variable} ganeti-service-type"
  43091. msgstr ""
  43092. #. type: defvr
  43093. #: guix-git/doc/guix.texi:29158
  43094. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  43095. msgstr ""
  43096. #. type: defvr
  43097. #: guix-git/doc/guix.texi:29163
  43098. 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."
  43099. msgstr ""
  43100. #. type: deftp
  43101. #: guix-git/doc/guix.texi:29165
  43102. #, no-wrap
  43103. msgid "{Data Type} ganeti-configuration"
  43104. msgstr ""
  43105. #. type: deftp
  43106. #: guix-git/doc/guix.texi:29167
  43107. msgid "The @code{ganeti} service takes the following configuration options:"
  43108. msgstr ""
  43109. #. type: item
  43110. #: guix-git/doc/guix.texi:29169 guix-git/doc/guix.texi:29397
  43111. #: guix-git/doc/guix.texi:29447 guix-git/doc/guix.texi:29477
  43112. #: guix-git/doc/guix.texi:29504 guix-git/doc/guix.texi:29536
  43113. #: guix-git/doc/guix.texi:29589 guix-git/doc/guix.texi:29609
  43114. #: guix-git/doc/guix.texi:29635 guix-git/doc/guix.texi:29668
  43115. #: guix-git/doc/guix.texi:29708
  43116. #, no-wrap
  43117. msgid "@code{ganeti} (default: @code{ganeti})"
  43118. msgstr ""
  43119. #. type: table
  43120. #: guix-git/doc/guix.texi:29174
  43121. 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)."
  43122. msgstr ""
  43123. #. type: item
  43124. #: guix-git/doc/guix.texi:29175
  43125. #, no-wrap
  43126. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  43127. msgstr ""
  43128. #. type: itemx
  43129. #: guix-git/doc/guix.texi:29176
  43130. #, no-wrap
  43131. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  43132. msgstr ""
  43133. #. type: itemx
  43134. #: guix-git/doc/guix.texi:29177
  43135. #, no-wrap
  43136. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  43137. msgstr ""
  43138. #. type: itemx
  43139. #: guix-git/doc/guix.texi:29178
  43140. #, no-wrap
  43141. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  43142. msgstr ""
  43143. #. type: itemx
  43144. #: guix-git/doc/guix.texi:29179
  43145. #, no-wrap
  43146. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  43147. msgstr ""
  43148. #. type: itemx
  43149. #: guix-git/doc/guix.texi:29180
  43150. #, no-wrap
  43151. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  43152. msgstr ""
  43153. #. type: itemx
  43154. #: guix-git/doc/guix.texi:29181
  43155. #, no-wrap
  43156. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  43157. msgstr ""
  43158. #. type: itemx
  43159. #: guix-git/doc/guix.texi:29182
  43160. #, no-wrap
  43161. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  43162. msgstr ""
  43163. #. type: itemx
  43164. #: guix-git/doc/guix.texi:29183
  43165. #, no-wrap
  43166. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  43167. msgstr ""
  43168. #. type: itemx
  43169. #: guix-git/doc/guix.texi:29184
  43170. #, no-wrap
  43171. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  43172. msgstr ""
  43173. #. type: table
  43174. #: guix-git/doc/guix.texi:29189
  43175. 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:"
  43176. msgstr ""
  43177. #. type: lisp
  43178. #: guix-git/doc/guix.texi:29199
  43179. #, no-wrap
  43180. msgid ""
  43181. "(service ganeti-service-type\n"
  43182. " (ganeti-configuration\n"
  43183. " (rapi-configuration\n"
  43184. " (ganeti-rapi-configuration\n"
  43185. " (interface \"eth1\"))))\n"
  43186. " (watcher-configuration\n"
  43187. " (ganeti-watcher-configuration\n"
  43188. " (rapi-ip \"10.0.0.1\"))))\n"
  43189. msgstr ""
  43190. #. type: item
  43191. #: guix-git/doc/guix.texi:29201
  43192. #, no-wrap
  43193. msgid "@code{file-storage-paths} (default: @code{'()})"
  43194. msgstr ""
  43195. #. type: table
  43196. #: guix-git/doc/guix.texi:29203
  43197. msgid "List of allowed directories for file storage backend."
  43198. msgstr ""
  43199. #. type: item
  43200. #: guix-git/doc/guix.texi:29204
  43201. #, no-wrap
  43202. msgid "@code{os} (default: @code{%default-ganeti-os})"
  43203. msgstr ""
  43204. #. type: table
  43205. #: guix-git/doc/guix.texi:29206
  43206. msgid "List of @code{<ganeti-os>} records."
  43207. msgstr ""
  43208. #. type: deftp
  43209. #: guix-git/doc/guix.texi:29210
  43210. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  43211. msgstr ""
  43212. #. type: lisp
  43213. #: guix-git/doc/guix.texi:29221
  43214. #, no-wrap
  43215. msgid ""
  43216. "(service ganeti-noded-service-type)\n"
  43217. "(service ganeti-confd-service-type)\n"
  43218. "(service ganeti-wconfd-service-type)\n"
  43219. "(service ganeti-luxid-service-type)\n"
  43220. "(service ganeti-kvmd-service-type)\n"
  43221. "(service ganeti-mond-service-type)\n"
  43222. "(service ganeti-metad-service-type)\n"
  43223. "(service ganeti-watcher-service-type)\n"
  43224. "(service ganeti-cleaner-service-type)\n"
  43225. msgstr ""
  43226. #. type: deftp
  43227. #: guix-git/doc/guix.texi:29225
  43228. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  43229. msgstr ""
  43230. #. type: deftp
  43231. #: guix-git/doc/guix.texi:29228
  43232. #, no-wrap
  43233. msgid "{Data Type} ganeti-os"
  43234. msgstr ""
  43235. #. type: deftp
  43236. #: guix-git/doc/guix.texi:29231
  43237. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  43238. msgstr ""
  43239. #. type: table
  43240. #: guix-git/doc/guix.texi:29237
  43241. 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}."
  43242. msgstr ""
  43243. #. type: code{#1}
  43244. #: guix-git/doc/guix.texi:29238
  43245. #, no-wrap
  43246. msgid "extension"
  43247. msgstr ""
  43248. #. type: table
  43249. #: guix-git/doc/guix.texi:29241
  43250. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  43251. msgstr ""
  43252. #. type: item
  43253. #: guix-git/doc/guix.texi:29242
  43254. #, no-wrap
  43255. msgid "@code{variants} (default: @code{'()})"
  43256. msgstr ""
  43257. #. type: table
  43258. #: guix-git/doc/guix.texi:29244
  43259. msgid "List of @code{ganeti-os-variant} objects for this OS."
  43260. msgstr ""
  43261. #. type: deftp
  43262. #: guix-git/doc/guix.texi:29248
  43263. #, no-wrap
  43264. msgid "{Data Type} ganeti-os-variant"
  43265. msgstr ""
  43266. #. type: deftp
  43267. #: guix-git/doc/guix.texi:29251
  43268. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  43269. msgstr ""
  43270. #. type: table
  43271. #: guix-git/doc/guix.texi:29255
  43272. msgid "The name of this variant."
  43273. msgstr ""
  43274. #. type: code{#1}
  43275. #: guix-git/doc/guix.texi:29256
  43276. #, no-wrap
  43277. msgid "configuration"
  43278. msgstr ""
  43279. #. type: table
  43280. #: guix-git/doc/guix.texi:29258
  43281. msgid "A configuration file for this variant."
  43282. msgstr ""
  43283. #. type: defvr
  43284. #: guix-git/doc/guix.texi:29261
  43285. #, no-wrap
  43286. msgid "{Scheme Variable} %default-debootstrap-hooks"
  43287. msgstr ""
  43288. #. type: defvr
  43289. #: guix-git/doc/guix.texi:29263
  43290. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  43291. msgstr ""
  43292. #. type: defvr
  43293. #: guix-git/doc/guix.texi:29265
  43294. #, no-wrap
  43295. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  43296. msgstr ""
  43297. #. type: defvr
  43298. #: guix-git/doc/guix.texi:29267
  43299. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  43300. msgstr ""
  43301. #. type: deftp
  43302. #: guix-git/doc/guix.texi:29269
  43303. #, no-wrap
  43304. msgid "{Data Type} debootstrap-configuration"
  43305. msgstr ""
  43306. #. type: deftp
  43307. #: guix-git/doc/guix.texi:29272
  43308. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  43309. msgstr ""
  43310. #. type: item
  43311. #: guix-git/doc/guix.texi:29274
  43312. #, no-wrap
  43313. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  43314. msgstr ""
  43315. #. type: table
  43316. #: guix-git/doc/guix.texi:29278
  43317. 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:"
  43318. msgstr ""
  43319. #. type: lisp
  43320. #: guix-git/doc/guix.texi:29281
  43321. #, no-wrap
  43322. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  43323. msgstr ""
  43324. #. type: table
  43325. #: guix-git/doc/guix.texi:29286
  43326. 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."
  43327. msgstr ""
  43328. #. type: item
  43329. #: guix-git/doc/guix.texi:29286
  43330. #, no-wrap
  43331. msgid "@code{proxy} (default: @code{#f})"
  43332. msgstr ""
  43333. #. type: table
  43334. #: guix-git/doc/guix.texi:29288
  43335. msgid "Optional HTTP proxy to use."
  43336. msgstr ""
  43337. #. type: item
  43338. #: guix-git/doc/guix.texi:29288
  43339. #, no-wrap
  43340. msgid "@code{mirror} (default: @code{#f})"
  43341. msgstr ""
  43342. #. type: table
  43343. #: guix-git/doc/guix.texi:29291
  43344. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  43345. msgstr ""
  43346. #. type: item
  43347. #: guix-git/doc/guix.texi:29291
  43348. #, no-wrap
  43349. msgid "@code{arch} (default: @code{#f})"
  43350. msgstr ""
  43351. #. type: table
  43352. #: guix-git/doc/guix.texi:29294
  43353. 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."
  43354. msgstr ""
  43355. #. type: item
  43356. #: guix-git/doc/guix.texi:29294
  43357. #, no-wrap
  43358. msgid "@code{suite} (default: @code{\"stable\"})"
  43359. msgstr ""
  43360. #. type: table
  43361. #: guix-git/doc/guix.texi:29297
  43362. 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."
  43363. msgstr ""
  43364. #. type: item
  43365. #: guix-git/doc/guix.texi:29297
  43366. #, no-wrap
  43367. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  43368. msgstr ""
  43369. #. type: table
  43370. #: guix-git/doc/guix.texi:29300
  43371. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  43372. msgstr ""
  43373. #. type: item
  43374. #: guix-git/doc/guix.texi:29300
  43375. #, no-wrap
  43376. msgid "@code{components} (default: @code{#f})"
  43377. msgstr ""
  43378. #. type: table
  43379. #: guix-git/doc/guix.texi:29303
  43380. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  43381. msgstr ""
  43382. #. type: item
  43383. #: guix-git/doc/guix.texi:29303
  43384. #, no-wrap
  43385. msgid "@code{generate-cache?} (default: @code{#t})"
  43386. msgstr ""
  43387. #. type: table
  43388. #: guix-git/doc/guix.texi:29305
  43389. msgid "Whether to automatically cache the generated debootstrap archive."
  43390. msgstr ""
  43391. #. type: item
  43392. #: guix-git/doc/guix.texi:29305
  43393. #, no-wrap
  43394. msgid "@code{clean-cache} (default: @code{14})"
  43395. msgstr ""
  43396. #. type: table
  43397. #: guix-git/doc/guix.texi:29308
  43398. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  43399. msgstr ""
  43400. #. type: item
  43401. #: guix-git/doc/guix.texi:29308
  43402. #, no-wrap
  43403. msgid "@code{partition-style} (default: @code{'msdos})"
  43404. msgstr ""
  43405. #. type: table
  43406. #: guix-git/doc/guix.texi:29311
  43407. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  43408. msgstr ""
  43409. #. type: item
  43410. #: guix-git/doc/guix.texi:29311
  43411. #, no-wrap
  43412. msgid "@code{partition-alignment} (default: @code{2048})"
  43413. msgstr ""
  43414. #. type: table
  43415. #: guix-git/doc/guix.texi:29313
  43416. msgid "Alignment of the partition in sectors."
  43417. msgstr ""
  43418. #. type: deffn
  43419. #: guix-git/doc/guix.texi:29316
  43420. #, no-wrap
  43421. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  43422. msgstr ""
  43423. #. type: deffn
  43424. #: guix-git/doc/guix.texi:29319
  43425. 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."
  43426. msgstr ""
  43427. #. type: deffn
  43428. #: guix-git/doc/guix.texi:29321
  43429. #, no-wrap
  43430. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  43431. msgstr ""
  43432. #. type: deffn
  43433. #: guix-git/doc/guix.texi:29324
  43434. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  43435. msgstr ""
  43436. #. type: deffn
  43437. #: guix-git/doc/guix.texi:29326
  43438. #, no-wrap
  43439. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  43440. msgstr ""
  43441. #. type: deffn
  43442. #: guix-git/doc/guix.texi:29331
  43443. 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."
  43444. msgstr ""
  43445. #. type: deffn
  43446. #: guix-git/doc/guix.texi:29333
  43447. #, no-wrap
  43448. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  43449. msgstr ""
  43450. #. type: deffn
  43451. #: guix-git/doc/guix.texi:29336
  43452. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  43453. msgstr ""
  43454. #. type: defvr
  43455. #: guix-git/doc/guix.texi:29338
  43456. #, no-wrap
  43457. msgid "{Scheme Variable} %default-debootstrap-variants"
  43458. msgstr ""
  43459. #. type: defvr
  43460. #: guix-git/doc/guix.texi:29342
  43461. 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:"
  43462. msgstr ""
  43463. #. type: lisp
  43464. #: guix-git/doc/guix.texi:29347
  43465. #, no-wrap
  43466. msgid ""
  43467. "(list (debootstrap-variant\n"
  43468. " \"default\"\n"
  43469. " (debootstrap-configuration)))\n"
  43470. msgstr ""
  43471. #. type: defvr
  43472. #: guix-git/doc/guix.texi:29350
  43473. #, no-wrap
  43474. msgid "{Scheme Variable} %default-guix-variants"
  43475. msgstr ""
  43476. #. type: defvr
  43477. #: guix-git/doc/guix.texi:29354
  43478. 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."
  43479. msgstr ""
  43480. #. type: lisp
  43481. #: guix-git/doc/guix.texi:29360
  43482. #, no-wrap
  43483. msgid ""
  43484. "(list (guix-variant\n"
  43485. " \"default\"\n"
  43486. " (file-append ganeti-instance-guix\n"
  43487. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  43488. msgstr ""
  43489. #. type: Plain text
  43490. #: guix-git/doc/guix.texi:29366
  43491. 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:"
  43492. msgstr ""
  43493. #. type: lisp
  43494. #: guix-git/doc/guix.texi:29375
  43495. #, no-wrap
  43496. msgid ""
  43497. "(ganeti-os\n"
  43498. " (name \"custom\")\n"
  43499. " (extension \".conf\")\n"
  43500. " (variants\n"
  43501. " (list (ganeti-os-variant\n"
  43502. " (name \"foo\")\n"
  43503. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  43504. msgstr ""
  43505. #. type: Plain text
  43506. #: guix-git/doc/guix.texi:29380
  43507. 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}."
  43508. msgstr ""
  43509. #. type: Plain text
  43510. #: guix-git/doc/guix.texi:29383
  43511. 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}."
  43512. msgstr ""
  43513. #. type: Plain text
  43514. #: guix-git/doc/guix.texi:29386
  43515. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  43516. msgstr ""
  43517. #. type: defvr
  43518. #: guix-git/doc/guix.texi:29387
  43519. #, no-wrap
  43520. msgid "{Scheme Variable} ganeti-noded-service-type"
  43521. msgstr ""
  43522. #. type: defvr
  43523. #: guix-git/doc/guix.texi:29391
  43524. 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."
  43525. msgstr ""
  43526. #. type: deftp
  43527. #: guix-git/doc/guix.texi:29393
  43528. #, no-wrap
  43529. msgid "{Data Type} ganeti-noded-configuration"
  43530. msgstr ""
  43531. #. type: deftp
  43532. #: guix-git/doc/guix.texi:29395
  43533. msgid "This is the configuration for the @code{ganeti-noded} service."
  43534. msgstr ""
  43535. #. type: table
  43536. #: guix-git/doc/guix.texi:29399 guix-git/doc/guix.texi:29449
  43537. #: guix-git/doc/guix.texi:29479 guix-git/doc/guix.texi:29506
  43538. #: guix-git/doc/guix.texi:29538 guix-git/doc/guix.texi:29591
  43539. #: guix-git/doc/guix.texi:29611 guix-git/doc/guix.texi:29637
  43540. #: guix-git/doc/guix.texi:29670
  43541. msgid "The @code{ganeti} package to use for this service."
  43542. msgstr ""
  43543. #. type: item
  43544. #: guix-git/doc/guix.texi:29400
  43545. #, no-wrap
  43546. msgid "@code{port} (default: @code{1811})"
  43547. msgstr ""
  43548. #. type: table
  43549. #: guix-git/doc/guix.texi:29402
  43550. msgid "The TCP port on which the node daemon listens for network requests."
  43551. msgstr ""
  43552. #. type: item
  43553. #: guix-git/doc/guix.texi:29403 guix-git/doc/guix.texi:29453
  43554. #: guix-git/doc/guix.texi:29545 guix-git/doc/guix.texi:29615
  43555. #, no-wrap
  43556. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  43557. msgstr ""
  43558. #. type: table
  43559. #: guix-git/doc/guix.texi:29406
  43560. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  43561. msgstr ""
  43562. #. type: table
  43563. #: guix-git/doc/guix.texi:29410
  43564. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  43565. msgstr ""
  43566. #. type: item
  43567. #: guix-git/doc/guix.texi:29411 guix-git/doc/guix.texi:29553
  43568. #, no-wrap
  43569. msgid "@code{max-clients} (default: @code{20})"
  43570. msgstr ""
  43571. #. type: table
  43572. #: guix-git/doc/guix.texi:29415
  43573. 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."
  43574. msgstr ""
  43575. #. type: item
  43576. #: guix-git/doc/guix.texi:29416 guix-git/doc/guix.texi:29558
  43577. #, no-wrap
  43578. msgid "@code{ssl?} (default: @code{#t})"
  43579. msgstr ""
  43580. #. type: table
  43581. #: guix-git/doc/guix.texi:29420
  43582. 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}."
  43583. msgstr ""
  43584. #. type: item
  43585. #: guix-git/doc/guix.texi:29421 guix-git/doc/guix.texi:29561
  43586. #, no-wrap
  43587. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  43588. msgstr ""
  43589. #. type: table
  43590. #: guix-git/doc/guix.texi:29423 guix-git/doc/guix.texi:29563
  43591. msgid "This can be used to provide a specific encryption key for TLS communications."
  43592. msgstr ""
  43593. #. type: item
  43594. #: guix-git/doc/guix.texi:29424 guix-git/doc/guix.texi:29564
  43595. #, no-wrap
  43596. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  43597. msgstr ""
  43598. #. type: table
  43599. #: guix-git/doc/guix.texi:29426 guix-git/doc/guix.texi:29566
  43600. msgid "This can be used to provide a specific certificate for TLS communications."
  43601. msgstr ""
  43602. #. type: table
  43603. #: guix-git/doc/guix.texi:29430 guix-git/doc/guix.texi:29570
  43604. 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."
  43605. msgstr ""
  43606. #. type: defvr
  43607. #: guix-git/doc/guix.texi:29434
  43608. #, no-wrap
  43609. msgid "{Scheme Variable} ganeti-confd-service-type"
  43610. msgstr ""
  43611. #. type: defvr
  43612. #: guix-git/doc/guix.texi:29440
  43613. 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."
  43614. msgstr ""
  43615. #. type: deftp
  43616. #: guix-git/doc/guix.texi:29443
  43617. #, no-wrap
  43618. msgid "{Data Type} ganeti-confd-configuration"
  43619. msgstr ""
  43620. #. type: deftp
  43621. #: guix-git/doc/guix.texi:29445
  43622. msgid "This is the configuration for the @code{ganeti-confd} service."
  43623. msgstr ""
  43624. #. type: item
  43625. #: guix-git/doc/guix.texi:29450
  43626. #, no-wrap
  43627. msgid "@code{port} (default: @code{1814})"
  43628. msgstr ""
  43629. #. type: table
  43630. #: guix-git/doc/guix.texi:29452
  43631. msgid "The UDP port on which to listen for network requests."
  43632. msgstr ""
  43633. #. type: table
  43634. #: guix-git/doc/guix.texi:29455
  43635. msgid "Network address that the daemon will bind to."
  43636. msgstr ""
  43637. #. type: table
  43638. #: guix-git/doc/guix.texi:29458 guix-git/doc/guix.texi:29487
  43639. #: guix-git/doc/guix.texi:29514 guix-git/doc/guix.texi:29594
  43640. #: guix-git/doc/guix.texi:29621 guix-git/doc/guix.texi:29647
  43641. msgid "When true, the daemon performs additional logging for debugging purposes."
  43642. msgstr ""
  43643. #. type: defvr
  43644. #: guix-git/doc/guix.texi:29462
  43645. #, no-wrap
  43646. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  43647. msgstr ""
  43648. #. type: defvr
  43649. #: guix-git/doc/guix.texi:29468
  43650. 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."
  43651. msgstr ""
  43652. #. type: defvr
  43653. #: guix-git/doc/guix.texi:29471
  43654. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  43655. msgstr ""
  43656. #. type: deftp
  43657. #: guix-git/doc/guix.texi:29473
  43658. #, no-wrap
  43659. msgid "{Data Type} ganeti-wconfd-configuration"
  43660. msgstr ""
  43661. #. type: deftp
  43662. #: guix-git/doc/guix.texi:29475 guix-git/doc/guix.texi:29502
  43663. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  43664. msgstr ""
  43665. #. type: item
  43666. #: guix-git/doc/guix.texi:29480 guix-git/doc/guix.texi:29507
  43667. #, no-wrap
  43668. msgid "@code{no-voting?} (default: @code{#f})"
  43669. msgstr ""
  43670. #. type: table
  43671. #: guix-git/doc/guix.texi:29484
  43672. 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)."
  43673. msgstr ""
  43674. #. type: defvr
  43675. #: guix-git/doc/guix.texi:29491
  43676. #, no-wrap
  43677. msgid "{Scheme Variable} ganeti-luxid-service-type"
  43678. msgstr ""
  43679. #. type: defvr
  43680. #: guix-git/doc/guix.texi:29496
  43681. 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."
  43682. msgstr ""
  43683. #. type: defvr
  43684. #: guix-git/doc/guix.texi:29498
  43685. msgid "It takes a @code{ganeti-luxid-configuration} object."
  43686. msgstr ""
  43687. #. type: deftp
  43688. #: guix-git/doc/guix.texi:29500
  43689. #, no-wrap
  43690. msgid "{Data Type} ganeti-luxid-configuration"
  43691. msgstr ""
  43692. #. type: table
  43693. #: guix-git/doc/guix.texi:29511
  43694. 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)."
  43695. msgstr ""
  43696. #. type: defvr
  43697. #: guix-git/doc/guix.texi:29518
  43698. #, no-wrap
  43699. msgid "{Scheme Variable} ganeti-rapi-service-type"
  43700. msgstr ""
  43701. #. type: defvr
  43702. #: guix-git/doc/guix.texi:29522
  43703. 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."
  43704. msgstr ""
  43705. #. type: defvr
  43706. #: guix-git/doc/guix.texi:29528
  43707. 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."
  43708. msgstr ""
  43709. #. type: defvr
  43710. #: guix-git/doc/guix.texi:29530
  43711. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  43712. msgstr ""
  43713. #. type: deftp
  43714. #: guix-git/doc/guix.texi:29532
  43715. #, no-wrap
  43716. msgid "{Data Type} ganeti-rapi-configuration"
  43717. msgstr ""
  43718. #. type: deftp
  43719. #: guix-git/doc/guix.texi:29534
  43720. msgid "This is the configuration for the @code{ganeti-rapi} service."
  43721. msgstr ""
  43722. #. type: item
  43723. #: guix-git/doc/guix.texi:29539
  43724. #, no-wrap
  43725. msgid "@code{require-authentication?} (default: @code{#f})"
  43726. msgstr ""
  43727. #. type: table
  43728. #: guix-git/doc/guix.texi:29541
  43729. msgid "Whether to require authentication even for read-only operations."
  43730. msgstr ""
  43731. #. type: item
  43732. #: guix-git/doc/guix.texi:29542
  43733. #, no-wrap
  43734. msgid "@code{port} (default: @code{5080})"
  43735. msgstr ""
  43736. #. type: table
  43737. #: guix-git/doc/guix.texi:29544
  43738. msgid "The TCP port on which to listen to API requests."
  43739. msgstr ""
  43740. #. type: table
  43741. #: guix-git/doc/guix.texi:29548
  43742. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  43743. msgstr ""
  43744. #. type: table
  43745. #: guix-git/doc/guix.texi:29552
  43746. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  43747. msgstr ""
  43748. #. type: table
  43749. #: guix-git/doc/guix.texi:29557
  43750. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  43751. msgstr ""
  43752. #. type: table
  43753. #: guix-git/doc/guix.texi:29560
  43754. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  43755. msgstr ""
  43756. #. type: defvr
  43757. #: guix-git/doc/guix.texi:29574
  43758. #, no-wrap
  43759. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  43760. msgstr ""
  43761. #. type: defvr
  43762. #: guix-git/doc/guix.texi:29582
  43763. 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."
  43764. msgstr ""
  43765. #. type: defvr
  43766. #: guix-git/doc/guix.texi:29584
  43767. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  43768. msgstr ""
  43769. #. type: deftp
  43770. #: guix-git/doc/guix.texi:29586
  43771. #, no-wrap
  43772. msgid "{Data Type} ganeti-kvmd-configuration"
  43773. msgstr ""
  43774. #. type: defvr
  43775. #: guix-git/doc/guix.texi:29598
  43776. #, no-wrap
  43777. msgid "{Scheme Variable} ganeti-mond-service-type"
  43778. msgstr ""
  43779. #. type: defvr
  43780. #: guix-git/doc/guix.texi:29602
  43781. 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."
  43782. msgstr ""
  43783. #. type: defvr
  43784. #: guix-git/doc/guix.texi:29604
  43785. msgid "It takes a @code{ganeti-mond-configuration} object."
  43786. msgstr ""
  43787. #. type: deftp
  43788. #: guix-git/doc/guix.texi:29606
  43789. #, no-wrap
  43790. msgid "{Data Type} ganeti-mond-configuration"
  43791. msgstr ""
  43792. #. type: item
  43793. #: guix-git/doc/guix.texi:29612
  43794. #, no-wrap
  43795. msgid "@code{port} (default: @code{1815})"
  43796. msgstr ""
  43797. #. type: table
  43798. #: guix-git/doc/guix.texi:29614 guix-git/doc/guix.texi:29640
  43799. msgid "The port on which the daemon will listen."
  43800. msgstr ""
  43801. #. type: table
  43802. #: guix-git/doc/guix.texi:29618
  43803. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  43804. msgstr ""
  43805. #. type: defvr
  43806. #: guix-git/doc/guix.texi:29625
  43807. #, no-wrap
  43808. msgid "{Scheme Variable} ganeti-metad-service-type"
  43809. msgstr ""
  43810. #. type: defvr
  43811. #: guix-git/doc/guix.texi:29628
  43812. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  43813. msgstr ""
  43814. #. type: defvr
  43815. #: guix-git/doc/guix.texi:29630
  43816. msgid "It takes a @code{ganeti-metad-configuration} object."
  43817. msgstr ""
  43818. #. type: deftp
  43819. #: guix-git/doc/guix.texi:29632
  43820. #, no-wrap
  43821. msgid "{Data Type} ganeti-metad-configuration"
  43822. msgstr ""
  43823. #. type: item
  43824. #: guix-git/doc/guix.texi:29641
  43825. #, no-wrap
  43826. msgid "@code{address} (default: @code{#f})"
  43827. msgstr ""
  43828. #. type: table
  43829. #: guix-git/doc/guix.texi:29644
  43830. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  43831. msgstr ""
  43832. #. type: defvr
  43833. #: guix-git/doc/guix.texi:29651
  43834. #, no-wrap
  43835. msgid "{Scheme Variable} ganeti-watcher-service-type"
  43836. msgstr ""
  43837. #. type: defvr
  43838. #: guix-git/doc/guix.texi:29659
  43839. 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."
  43840. msgstr ""
  43841. #. type: defvr
  43842. #: guix-git/doc/guix.texi:29661
  43843. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  43844. msgstr ""
  43845. #. type: defvr
  43846. #: guix-git/doc/guix.texi:29663
  43847. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  43848. msgstr ""
  43849. #. type: deftp
  43850. #: guix-git/doc/guix.texi:29665
  43851. #, no-wrap
  43852. msgid "{Data Type} ganeti-watcher-configuration"
  43853. msgstr ""
  43854. #. type: item
  43855. #: guix-git/doc/guix.texi:29671
  43856. #, no-wrap
  43857. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  43858. msgstr ""
  43859. #. type: table
  43860. #: guix-git/doc/guix.texi:29673
  43861. msgid "How often to run the script. The default is every five minutes."
  43862. msgstr ""
  43863. #. type: item
  43864. #: guix-git/doc/guix.texi:29674
  43865. #, no-wrap
  43866. msgid "@code{rapi-ip} (default: @code{#f})"
  43867. msgstr ""
  43868. #. type: table
  43869. #: guix-git/doc/guix.texi:29677
  43870. 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."
  43871. msgstr ""
  43872. #. type: item
  43873. #: guix-git/doc/guix.texi:29678
  43874. #, no-wrap
  43875. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  43876. msgstr ""
  43877. #. type: table
  43878. #: guix-git/doc/guix.texi:29681
  43879. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  43880. msgstr ""
  43881. #. type: item
  43882. #: guix-git/doc/guix.texi:29682
  43883. #, no-wrap
  43884. msgid "@code{verify-disks?} (default: @code{#t})"
  43885. msgstr ""
  43886. #. type: table
  43887. #: guix-git/doc/guix.texi:29686
  43888. 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."
  43889. msgstr ""
  43890. #. type: table
  43891. #: guix-git/doc/guix.texi:29689
  43892. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  43893. msgstr ""
  43894. #. type: defvr
  43895. #: guix-git/doc/guix.texi:29693
  43896. #, no-wrap
  43897. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  43898. msgstr ""
  43899. #. type: defvr
  43900. #: guix-git/doc/guix.texi:29701
  43901. 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."
  43902. msgstr ""
  43903. #. type: defvr
  43904. #: guix-git/doc/guix.texi:29703
  43905. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  43906. msgstr ""
  43907. #. type: deftp
  43908. #: guix-git/doc/guix.texi:29705
  43909. #, no-wrap
  43910. msgid "{Data Type} ganeti-cleaner-configuration"
  43911. msgstr ""
  43912. #. type: table
  43913. #: guix-git/doc/guix.texi:29710
  43914. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  43915. msgstr ""
  43916. #. type: item
  43917. #: guix-git/doc/guix.texi:29711
  43918. #, no-wrap
  43919. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  43920. msgstr ""
  43921. #. type: table
  43922. #: guix-git/doc/guix.texi:29714
  43923. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  43924. msgstr ""
  43925. #. type: item
  43926. #: guix-git/doc/guix.texi:29715
  43927. #, no-wrap
  43928. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  43929. msgstr ""
  43930. #. type: table
  43931. #: guix-git/doc/guix.texi:29718
  43932. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  43933. msgstr ""
  43934. #. type: Plain text
  43935. #: guix-git/doc/guix.texi:29732
  43936. 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}."
  43937. msgstr ""
  43938. #. type: deffn
  43939. #: guix-git/doc/guix.texi:29733
  43940. #, no-wrap
  43941. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  43942. msgstr ""
  43943. #. type: deffn
  43944. #: guix-git/doc/guix.texi:29737
  43945. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  43946. msgstr ""
  43947. #. type: deffn
  43948. #: guix-git/doc/guix.texi:29743
  43949. 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}."
  43950. msgstr ""
  43951. #. type: deftp
  43952. #: guix-git/doc/guix.texi:29746
  43953. #, no-wrap
  43954. msgid "{Data Type} git-daemon-configuration"
  43955. msgstr ""
  43956. #. type: deftp
  43957. #: guix-git/doc/guix.texi:29748
  43958. msgid "Data type representing the configuration for @code{git-daemon-service}."
  43959. msgstr ""
  43960. #. type: item
  43961. #: guix-git/doc/guix.texi:29750
  43962. #, no-wrap
  43963. msgid "@code{package} (default: @code{git})"
  43964. msgstr ""
  43965. #. type: table
  43966. #: guix-git/doc/guix.texi:29752 guix-git/doc/guix.texi:29812
  43967. msgid "Package object of the Git distributed version control system."
  43968. msgstr ""
  43969. #. type: item
  43970. #: guix-git/doc/guix.texi:29753 guix-git/doc/guix.texi:29816
  43971. #, no-wrap
  43972. msgid "@code{export-all?} (default: @code{#f})"
  43973. msgstr ""
  43974. #. type: table
  43975. #: guix-git/doc/guix.texi:29756
  43976. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  43977. msgstr ""
  43978. #. type: item
  43979. #: guix-git/doc/guix.texi:29757
  43980. #, no-wrap
  43981. msgid "@code{base-path} (default: @file{/srv/git})"
  43982. msgstr ""
  43983. #. type: table
  43984. #: guix-git/doc/guix.texi:29763
  43985. 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}."
  43986. msgstr ""
  43987. #. type: item
  43988. #: guix-git/doc/guix.texi:29764
  43989. #, no-wrap
  43990. msgid "@code{user-path} (default: @code{#f})"
  43991. msgstr ""
  43992. #. type: table
  43993. #: guix-git/doc/guix.texi:29772
  43994. 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}."
  43995. msgstr ""
  43996. #. type: item
  43997. #: guix-git/doc/guix.texi:29773
  43998. #, no-wrap
  43999. msgid "@code{listen} (default: @code{'()})"
  44000. msgstr ""
  44001. #. type: table
  44002. #: guix-git/doc/guix.texi:29776
  44003. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  44004. msgstr ""
  44005. #. type: item
  44006. #: guix-git/doc/guix.texi:29777
  44007. #, no-wrap
  44008. msgid "@code{port} (default: @code{#f})"
  44009. msgstr ""
  44010. #. type: table
  44011. #: guix-git/doc/guix.texi:29779
  44012. msgid "Whether to listen on an alternative port, which defaults to 9418."
  44013. msgstr ""
  44014. #. type: item
  44015. #: guix-git/doc/guix.texi:29780
  44016. #, no-wrap
  44017. msgid "@code{whitelist} (default: @code{'()})"
  44018. msgstr ""
  44019. #. type: table
  44020. #: guix-git/doc/guix.texi:29782
  44021. msgid "If not empty, only allow access to this list of directories."
  44022. msgstr ""
  44023. #. type: table
  44024. #: guix-git/doc/guix.texi:29786
  44025. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  44026. msgstr ""
  44027. #. type: Plain text
  44028. #: guix-git/doc/guix.texi:29800
  44029. 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."
  44030. msgstr ""
  44031. #. type: Plain text
  44032. #: guix-git/doc/guix.texi:29803
  44033. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  44034. msgstr ""
  44035. #. type: deftp
  44036. #: guix-git/doc/guix.texi:29804
  44037. #, no-wrap
  44038. msgid "{Data Type} git-http-configuration"
  44039. msgstr ""
  44040. #. type: deftp
  44041. #: guix-git/doc/guix.texi:29808
  44042. 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}."
  44043. msgstr ""
  44044. #. type: item
  44045. #: guix-git/doc/guix.texi:29810
  44046. #, no-wrap
  44047. msgid "@code{package} (default: @var{git})"
  44048. msgstr ""
  44049. #. type: item
  44050. #: guix-git/doc/guix.texi:29813
  44051. #, no-wrap
  44052. msgid "@code{git-root} (default: @file{/srv/git})"
  44053. msgstr ""
  44054. #. type: table
  44055. #: guix-git/doc/guix.texi:29815
  44056. msgid "Directory containing the Git repositories to expose to the world."
  44057. msgstr ""
  44058. #. type: table
  44059. #: guix-git/doc/guix.texi:29819
  44060. 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."
  44061. msgstr ""
  44062. #. type: item
  44063. #: guix-git/doc/guix.texi:29820
  44064. #, no-wrap
  44065. msgid "@code{uri-path} (default: @samp{/git/})"
  44066. msgstr ""
  44067. #. type: table
  44068. #: guix-git/doc/guix.texi:29825
  44069. 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."
  44070. msgstr ""
  44071. #. type: item
  44072. #: guix-git/doc/guix.texi:29826
  44073. #, no-wrap
  44074. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  44075. msgstr ""
  44076. #. type: table
  44077. #: guix-git/doc/guix.texi:29829
  44078. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  44079. msgstr ""
  44080. #. type: Plain text
  44081. #: guix-git/doc/guix.texi:29836
  44082. 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."
  44083. msgstr ""
  44084. #. type: deffn
  44085. #: guix-git/doc/guix.texi:29837
  44086. #, no-wrap
  44087. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  44088. msgstr ""
  44089. #. type: deffn
  44090. #: guix-git/doc/guix.texi:29842
  44091. 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:"
  44092. msgstr ""
  44093. #. type: lisp
  44094. #: guix-git/doc/guix.texi:29859
  44095. #, no-wrap
  44096. msgid ""
  44097. "(service nginx-service-type\n"
  44098. " (nginx-configuration\n"
  44099. " (server-blocks\n"
  44100. " (list\n"
  44101. " (nginx-server-configuration\n"
  44102. " (listen '(\"443 ssl\"))\n"
  44103. " (server-name \"git.my-host.org\")\n"
  44104. " (ssl-certificate\n"
  44105. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  44106. " (ssl-certificate-key\n"
  44107. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  44108. " (locations\n"
  44109. " (list\n"
  44110. " (git-http-nginx-location-configuration\n"
  44111. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  44112. msgstr ""
  44113. #. type: deffn
  44114. #: guix-git/doc/guix.texi:29866
  44115. 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}."
  44116. msgstr ""
  44117. #. type: subsubheading
  44118. #: guix-git/doc/guix.texi:29868
  44119. #, no-wrap
  44120. msgid "Cgit Service"
  44121. msgstr ""
  44122. #. type: cindex
  44123. #: guix-git/doc/guix.texi:29870
  44124. #, no-wrap
  44125. msgid "Cgit service"
  44126. msgstr ""
  44127. #. type: cindex
  44128. #: guix-git/doc/guix.texi:29871
  44129. #, no-wrap
  44130. msgid "Git, web interface"
  44131. msgstr ""
  44132. #. type: Plain text
  44133. #: guix-git/doc/guix.texi:29874
  44134. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  44135. msgstr ""
  44136. #. type: Plain text
  44137. #: guix-git/doc/guix.texi:29877
  44138. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  44139. msgstr ""
  44140. #. type: lisp
  44141. #: guix-git/doc/guix.texi:29880
  44142. #, no-wrap
  44143. msgid "(service cgit-service-type)\n"
  44144. msgstr ""
  44145. #. type: Plain text
  44146. #: guix-git/doc/guix.texi:29884
  44147. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  44148. msgstr ""
  44149. #. type: Plain text
  44150. #: guix-git/doc/guix.texi:29888
  44151. msgid "Available @code{cgit-configuration} fields are:"
  44152. msgstr ""
  44153. #. type: deftypevr
  44154. #: guix-git/doc/guix.texi:29889
  44155. #, no-wrap
  44156. msgid "{@code{cgit-configuration} parameter} package package"
  44157. msgstr ""
  44158. #. type: deftypevr
  44159. #: guix-git/doc/guix.texi:29891
  44160. msgid "The CGIT package."
  44161. msgstr ""
  44162. #. type: deftypevr
  44163. #: guix-git/doc/guix.texi:29894
  44164. #, no-wrap
  44165. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  44166. msgstr ""
  44167. #. type: deftypevr
  44168. #: guix-git/doc/guix.texi:29899
  44169. #, no-wrap
  44170. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  44171. msgstr ""
  44172. #. type: deftypevr
  44173. #: guix-git/doc/guix.texi:29902
  44174. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  44175. msgstr ""
  44176. #. type: deftypevr
  44177. #: guix-git/doc/guix.texi:29907
  44178. #, no-wrap
  44179. msgid "{@code{cgit-configuration} parameter} string agefile"
  44180. msgstr ""
  44181. #. type: deftypevr
  44182. #: guix-git/doc/guix.texi:29910
  44183. 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."
  44184. msgstr ""
  44185. #. type: deftypevr
  44186. #: guix-git/doc/guix.texi:29915
  44187. #, no-wrap
  44188. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  44189. msgstr ""
  44190. #. type: deftypevr
  44191. #: guix-git/doc/guix.texi:29918
  44192. msgid "Specifies a command that will be invoked for authenticating repository access."
  44193. msgstr ""
  44194. #. type: deftypevr
  44195. #: guix-git/doc/guix.texi:29923
  44196. #, no-wrap
  44197. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  44198. msgstr ""
  44199. #. type: deftypevr
  44200. #: guix-git/doc/guix.texi:29926
  44201. 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."
  44202. msgstr ""
  44203. #. type: deftypevr
  44204. #: guix-git/doc/guix.texi:29928
  44205. msgid "Defaults to @samp{\"name\"}."
  44206. msgstr ""
  44207. #. type: deftypevr
  44208. #: guix-git/doc/guix.texi:29931
  44209. #, no-wrap
  44210. msgid "{@code{cgit-configuration} parameter} string cache-root"
  44211. msgstr ""
  44212. #. type: deftypevr
  44213. #: guix-git/doc/guix.texi:29933
  44214. msgid "Path used to store the cgit cache entries."
  44215. msgstr ""
  44216. #. type: deftypevr
  44217. #: guix-git/doc/guix.texi:29935
  44218. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  44219. msgstr ""
  44220. #. type: deftypevr
  44221. #: guix-git/doc/guix.texi:29938
  44222. #, no-wrap
  44223. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  44224. msgstr ""
  44225. #. type: deftypevr
  44226. #: guix-git/doc/guix.texi:29941
  44227. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  44228. msgstr ""
  44229. #. type: deftypevr
  44230. #: guix-git/doc/guix.texi:29943 guix-git/doc/guix.texi:30386
  44231. msgid "Defaults to @samp{-1}."
  44232. msgstr ""
  44233. #. type: deftypevr
  44234. #: guix-git/doc/guix.texi:29946
  44235. #, no-wrap
  44236. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  44237. msgstr ""
  44238. #. type: deftypevr
  44239. #: guix-git/doc/guix.texi:29949
  44240. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  44241. msgstr ""
  44242. #. type: deftypevr
  44243. #: guix-git/doc/guix.texi:29954
  44244. #, no-wrap
  44245. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  44246. msgstr ""
  44247. #. type: deftypevr
  44248. #: guix-git/doc/guix.texi:29957
  44249. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  44250. msgstr ""
  44251. #. type: deftypevr
  44252. #: guix-git/doc/guix.texi:29962
  44253. #, no-wrap
  44254. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  44255. msgstr ""
  44256. #. type: deftypevr
  44257. #: guix-git/doc/guix.texi:29965
  44258. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  44259. msgstr ""
  44260. #. type: deftypevr
  44261. #: guix-git/doc/guix.texi:29970
  44262. #, no-wrap
  44263. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  44264. msgstr ""
  44265. #. type: deftypevr
  44266. #: guix-git/doc/guix.texi:29973
  44267. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  44268. msgstr ""
  44269. #. type: deftypevr
  44270. #: guix-git/doc/guix.texi:29978
  44271. #, no-wrap
  44272. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  44273. msgstr ""
  44274. #. type: deftypevr
  44275. #: guix-git/doc/guix.texi:29981
  44276. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  44277. msgstr ""
  44278. #. type: deftypevr
  44279. #: guix-git/doc/guix.texi:29986
  44280. #, no-wrap
  44281. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  44282. msgstr ""
  44283. #. type: deftypevr
  44284. #: guix-git/doc/guix.texi:29989
  44285. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  44286. msgstr ""
  44287. #. type: deftypevr
  44288. #: guix-git/doc/guix.texi:29994
  44289. #, no-wrap
  44290. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  44291. msgstr ""
  44292. #. type: deftypevr
  44293. #: guix-git/doc/guix.texi:29997
  44294. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  44295. msgstr ""
  44296. #. type: deftypevr
  44297. #: guix-git/doc/guix.texi:30002
  44298. #, no-wrap
  44299. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  44300. msgstr ""
  44301. #. type: deftypevr
  44302. #: guix-git/doc/guix.texi:30004
  44303. msgid "Sort items in the repo list case sensitively."
  44304. msgstr ""
  44305. #. type: deftypevr
  44306. #: guix-git/doc/guix.texi:30009
  44307. #, no-wrap
  44308. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  44309. msgstr ""
  44310. #. type: deftypevr
  44311. #: guix-git/doc/guix.texi:30012
  44312. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  44313. msgstr ""
  44314. #. type: deftypevr
  44315. #: guix-git/doc/guix.texi:30017
  44316. #, no-wrap
  44317. msgid "{@code{cgit-configuration} parameter} list clone-url"
  44318. msgstr ""
  44319. #. type: deftypevr
  44320. #: guix-git/doc/guix.texi:30019
  44321. msgid "List of @code{clone-url} templates."
  44322. msgstr ""
  44323. #. type: deftypevr
  44324. #: guix-git/doc/guix.texi:30024
  44325. #, no-wrap
  44326. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  44327. msgstr ""
  44328. #. type: deftypevr
  44329. #: guix-git/doc/guix.texi:30026
  44330. msgid "Command which will be invoked to format commit messages."
  44331. msgstr ""
  44332. #. type: deftypevr
  44333. #: guix-git/doc/guix.texi:30031
  44334. #, no-wrap
  44335. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  44336. msgstr ""
  44337. #. type: deftypevr
  44338. #: guix-git/doc/guix.texi:30035 guix-git/doc/guix.texi:30593
  44339. 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."
  44340. msgstr ""
  44341. #. type: deftypevr
  44342. #: guix-git/doc/guix.texi:30037
  44343. msgid "Defaults to @samp{\"git log\"}."
  44344. msgstr ""
  44345. #. type: deftypevr
  44346. #: guix-git/doc/guix.texi:30040
  44347. #, no-wrap
  44348. msgid "{@code{cgit-configuration} parameter} file-object css"
  44349. msgstr ""
  44350. #. type: deftypevr
  44351. #: guix-git/doc/guix.texi:30042
  44352. msgid "URL which specifies the css document to include in all cgit pages."
  44353. msgstr ""
  44354. #. type: deftypevr
  44355. #: guix-git/doc/guix.texi:30044
  44356. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  44357. msgstr ""
  44358. #. type: deftypevr
  44359. #: guix-git/doc/guix.texi:30047
  44360. #, no-wrap
  44361. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  44362. msgstr ""
  44363. #. type: deftypevr
  44364. #: guix-git/doc/guix.texi:30051
  44365. 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."
  44366. msgstr ""
  44367. #. type: deftypevr
  44368. #: guix-git/doc/guix.texi:30056
  44369. #, no-wrap
  44370. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  44371. msgstr ""
  44372. #. type: deftypevr
  44373. #: guix-git/doc/guix.texi:30059
  44374. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  44375. msgstr ""
  44376. #. type: deftypevr
  44377. #: guix-git/doc/guix.texi:30064
  44378. #, no-wrap
  44379. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  44380. msgstr ""
  44381. #. type: deftypevr
  44382. #: guix-git/doc/guix.texi:30068
  44383. 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."
  44384. msgstr ""
  44385. #. type: deftypevr
  44386. #: guix-git/doc/guix.texi:30073
  44387. #, no-wrap
  44388. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  44389. msgstr ""
  44390. #. type: deftypevr
  44391. #: guix-git/doc/guix.texi:30076
  44392. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  44393. msgstr ""
  44394. #. type: deftypevr
  44395. #: guix-git/doc/guix.texi:30081
  44396. #, no-wrap
  44397. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  44398. msgstr ""
  44399. #. type: deftypevr
  44400. #: guix-git/doc/guix.texi:30084
  44401. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  44402. msgstr ""
  44403. #. type: deftypevr
  44404. #: guix-git/doc/guix.texi:30089
  44405. #, no-wrap
  44406. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  44407. msgstr ""
  44408. #. type: deftypevr
  44409. #: guix-git/doc/guix.texi:30092
  44410. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  44411. msgstr ""
  44412. #. type: deftypevr
  44413. #: guix-git/doc/guix.texi:30097
  44414. #, no-wrap
  44415. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  44416. msgstr ""
  44417. #. type: deftypevr
  44418. #: guix-git/doc/guix.texi:30100
  44419. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  44420. msgstr ""
  44421. #. type: deftypevr
  44422. #: guix-git/doc/guix.texi:30105
  44423. #, no-wrap
  44424. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  44425. msgstr ""
  44426. #. type: deftypevr
  44427. #: guix-git/doc/guix.texi:30108
  44428. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  44429. msgstr ""
  44430. #. type: deftypevr
  44431. #: guix-git/doc/guix.texi:30113
  44432. #, no-wrap
  44433. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  44434. msgstr ""
  44435. #. type: deftypevr
  44436. #: guix-git/doc/guix.texi:30116
  44437. 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."
  44438. msgstr ""
  44439. #. type: deftypevr
  44440. #: guix-git/doc/guix.texi:30121
  44441. #, no-wrap
  44442. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  44443. msgstr ""
  44444. #. type: deftypevr
  44445. #: guix-git/doc/guix.texi:30124
  44446. 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."
  44447. msgstr ""
  44448. #. type: deftypevr
  44449. #: guix-git/doc/guix.texi:30129
  44450. #, no-wrap
  44451. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  44452. msgstr ""
  44453. #. type: deftypevr
  44454. #: guix-git/doc/guix.texi:30132 guix-git/doc/guix.texi:30656
  44455. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  44456. msgstr ""
  44457. #. type: deftypevr
  44458. #: guix-git/doc/guix.texi:30137
  44459. #, no-wrap
  44460. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  44461. msgstr ""
  44462. #. type: deftypevr
  44463. #: guix-git/doc/guix.texi:30141
  44464. 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."
  44465. msgstr ""
  44466. #. type: deftypevr
  44467. #: guix-git/doc/guix.texi:30146
  44468. #, no-wrap
  44469. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  44470. msgstr ""
  44471. #. type: deftypevr
  44472. #: guix-git/doc/guix.texi:30150
  44473. 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."
  44474. msgstr ""
  44475. #. type: deftypevr
  44476. #: guix-git/doc/guix.texi:30155
  44477. #, no-wrap
  44478. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  44479. msgstr ""
  44480. #. type: deftypevr
  44481. #: guix-git/doc/guix.texi:30158
  44482. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  44483. msgstr ""
  44484. #. type: deftypevr
  44485. #: guix-git/doc/guix.texi:30163
  44486. #, no-wrap
  44487. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  44488. msgstr ""
  44489. #. type: deftypevr
  44490. #: guix-git/doc/guix.texi:30166
  44491. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  44492. msgstr ""
  44493. #. type: deftypevr
  44494. #: guix-git/doc/guix.texi:30171
  44495. #, no-wrap
  44496. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  44497. msgstr ""
  44498. #. type: deftypevr
  44499. #: guix-git/doc/guix.texi:30173
  44500. msgid "URL used as link to a shortcut icon for cgit."
  44501. msgstr ""
  44502. #. type: deftypevr
  44503. #: guix-git/doc/guix.texi:30175
  44504. msgid "Defaults to @samp{\"/favicon.ico\"}."
  44505. msgstr ""
  44506. #. type: deftypevr
  44507. #: guix-git/doc/guix.texi:30178
  44508. #, no-wrap
  44509. msgid "{@code{cgit-configuration} parameter} string footer"
  44510. msgstr ""
  44511. #. type: deftypevr
  44512. #: guix-git/doc/guix.texi:30182
  44513. 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)."
  44514. msgstr ""
  44515. #. type: deftypevr
  44516. #: guix-git/doc/guix.texi:30187
  44517. #, no-wrap
  44518. msgid "{@code{cgit-configuration} parameter} string head-include"
  44519. msgstr ""
  44520. #. type: deftypevr
  44521. #: guix-git/doc/guix.texi:30190
  44522. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  44523. msgstr ""
  44524. #. type: deftypevr
  44525. #: guix-git/doc/guix.texi:30195
  44526. #, no-wrap
  44527. msgid "{@code{cgit-configuration} parameter} string header"
  44528. msgstr ""
  44529. #. type: deftypevr
  44530. #: guix-git/doc/guix.texi:30198
  44531. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  44532. msgstr ""
  44533. #. type: deftypevr
  44534. #: guix-git/doc/guix.texi:30203
  44535. #, no-wrap
  44536. msgid "{@code{cgit-configuration} parameter} file-object include"
  44537. msgstr ""
  44538. #. type: deftypevr
  44539. #: guix-git/doc/guix.texi:30206
  44540. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  44541. msgstr ""
  44542. #. type: deftypevr
  44543. #: guix-git/doc/guix.texi:30211
  44544. #, no-wrap
  44545. msgid "{@code{cgit-configuration} parameter} string index-header"
  44546. msgstr ""
  44547. #. type: deftypevr
  44548. #: guix-git/doc/guix.texi:30214
  44549. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  44550. msgstr ""
  44551. #. type: deftypevr
  44552. #: guix-git/doc/guix.texi:30219
  44553. #, no-wrap
  44554. msgid "{@code{cgit-configuration} parameter} string index-info"
  44555. msgstr ""
  44556. #. type: deftypevr
  44557. #: guix-git/doc/guix.texi:30222
  44558. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  44559. msgstr ""
  44560. #. type: deftypevr
  44561. #: guix-git/doc/guix.texi:30227
  44562. #, no-wrap
  44563. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  44564. msgstr ""
  44565. #. type: deftypevr
  44566. #: guix-git/doc/guix.texi:30230
  44567. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  44568. msgstr ""
  44569. #. type: deftypevr
  44570. #: guix-git/doc/guix.texi:30235
  44571. #, no-wrap
  44572. msgid "{@code{cgit-configuration} parameter} file-object logo"
  44573. msgstr ""
  44574. #. type: deftypevr
  44575. #: guix-git/doc/guix.texi:30238
  44576. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  44577. msgstr ""
  44578. #. type: deftypevr
  44579. #: guix-git/doc/guix.texi:30240
  44580. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  44581. msgstr ""
  44582. #. type: deftypevr
  44583. #: guix-git/doc/guix.texi:30243
  44584. #, no-wrap
  44585. msgid "{@code{cgit-configuration} parameter} string logo-link"
  44586. msgstr ""
  44587. #. type: deftypevr
  44588. #: guix-git/doc/guix.texi:30245 guix-git/doc/guix.texi:30702
  44589. msgid "URL loaded when clicking on the cgit logo image."
  44590. msgstr ""
  44591. #. type: deftypevr
  44592. #: guix-git/doc/guix.texi:30250
  44593. #, no-wrap
  44594. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  44595. msgstr ""
  44596. #. type: deftypevr
  44597. #: guix-git/doc/guix.texi:30253
  44598. msgid "Command which will be invoked to format the Owner column of the main page."
  44599. msgstr ""
  44600. #. type: deftypevr
  44601. #: guix-git/doc/guix.texi:30258
  44602. #, no-wrap
  44603. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  44604. msgstr ""
  44605. #. type: deftypevr
  44606. #: guix-git/doc/guix.texi:30260
  44607. msgid "Number of items to display in atom feeds view."
  44608. msgstr ""
  44609. #. type: deftypevr
  44610. #: guix-git/doc/guix.texi:30265
  44611. #, no-wrap
  44612. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  44613. msgstr ""
  44614. #. type: deftypevr
  44615. #: guix-git/doc/guix.texi:30267
  44616. msgid "Number of entries to list per page in \"log\" view."
  44617. msgstr ""
  44618. #. type: deftypevr
  44619. #: guix-git/doc/guix.texi:30272
  44620. #, no-wrap
  44621. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  44622. msgstr ""
  44623. #. type: deftypevr
  44624. #: guix-git/doc/guix.texi:30274
  44625. msgid "Number of commit message characters to display in \"log\" view."
  44626. msgstr ""
  44627. #. type: deftypevr
  44628. #: guix-git/doc/guix.texi:30276 guix-git/doc/guix.texi:30292
  44629. msgid "Defaults to @samp{80}."
  44630. msgstr ""
  44631. #. type: deftypevr
  44632. #: guix-git/doc/guix.texi:30279
  44633. #, no-wrap
  44634. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  44635. msgstr ""
  44636. #. type: deftypevr
  44637. #: guix-git/doc/guix.texi:30282
  44638. msgid "Specifies the number of entries to list per page on the repository index page."
  44639. msgstr ""
  44640. #. type: deftypevr
  44641. #: guix-git/doc/guix.texi:30287
  44642. #, no-wrap
  44643. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  44644. msgstr ""
  44645. #. type: deftypevr
  44646. #: guix-git/doc/guix.texi:30290
  44647. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  44648. msgstr ""
  44649. #. type: deftypevr
  44650. #: guix-git/doc/guix.texi:30295
  44651. #, no-wrap
  44652. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  44653. msgstr ""
  44654. #. type: deftypevr
  44655. #: guix-git/doc/guix.texi:30297
  44656. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  44657. msgstr ""
  44658. #. type: deftypevr
  44659. #: guix-git/doc/guix.texi:30302
  44660. #, no-wrap
  44661. msgid "{@code{cgit-configuration} parameter} string max-stats"
  44662. msgstr ""
  44663. #. type: deftypevr
  44664. #: guix-git/doc/guix.texi:30305
  44665. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  44666. msgstr ""
  44667. #. type: deftypevr
  44668. #: guix-git/doc/guix.texi:30310
  44669. #, no-wrap
  44670. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  44671. msgstr ""
  44672. #. type: deftypevr
  44673. #: guix-git/doc/guix.texi:30312
  44674. msgid "Mimetype for the specified filename extension."
  44675. msgstr ""
  44676. #. type: deftypevr
  44677. #: guix-git/doc/guix.texi:30316
  44678. 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\"))}."
  44679. msgstr ""
  44680. #. type: deftypevr
  44681. #: guix-git/doc/guix.texi:30319
  44682. #, no-wrap
  44683. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  44684. msgstr ""
  44685. #. type: deftypevr
  44686. #: guix-git/doc/guix.texi:30321
  44687. msgid "Specifies the file to use for automatic mimetype lookup."
  44688. msgstr ""
  44689. #. type: deftypevr
  44690. #: guix-git/doc/guix.texi:30326
  44691. #, no-wrap
  44692. msgid "{@code{cgit-configuration} parameter} string module-link"
  44693. msgstr ""
  44694. #. type: deftypevr
  44695. #: guix-git/doc/guix.texi:30329
  44696. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  44697. msgstr ""
  44698. #. type: deftypevr
  44699. #: guix-git/doc/guix.texi:30334
  44700. #, no-wrap
  44701. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  44702. msgstr ""
  44703. #. type: deftypevr
  44704. #: guix-git/doc/guix.texi:30336
  44705. msgid "If set to the value @samp{#t} caching will be disabled."
  44706. msgstr ""
  44707. #. type: deftypevr
  44708. #: guix-git/doc/guix.texi:30341
  44709. #, no-wrap
  44710. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  44711. msgstr ""
  44712. #. type: deftypevr
  44713. #: guix-git/doc/guix.texi:30344
  44714. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  44715. msgstr ""
  44716. #. type: deftypevr
  44717. #: guix-git/doc/guix.texi:30349
  44718. #, no-wrap
  44719. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  44720. msgstr ""
  44721. #. type: deftypevr
  44722. #: guix-git/doc/guix.texi:30352
  44723. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  44724. msgstr ""
  44725. #. type: deftypevr
  44726. #: guix-git/doc/guix.texi:30357
  44727. #, no-wrap
  44728. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  44729. msgstr ""
  44730. #. type: deftypevr
  44731. #: guix-git/doc/guix.texi:30361
  44732. 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."
  44733. msgstr ""
  44734. #. type: deftypevr
  44735. #: guix-git/doc/guix.texi:30366
  44736. #, no-wrap
  44737. msgid "{@code{cgit-configuration} parameter} file-object readme"
  44738. msgstr ""
  44739. #. type: deftypevr
  44740. #: guix-git/doc/guix.texi:30368
  44741. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  44742. msgstr ""
  44743. #. type: deftypevr
  44744. #: guix-git/doc/guix.texi:30373
  44745. #, no-wrap
  44746. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  44747. msgstr ""
  44748. #. type: deftypevr
  44749. #: guix-git/doc/guix.texi:30377
  44750. 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."
  44751. msgstr ""
  44752. #. type: deftypevr
  44753. #: guix-git/doc/guix.texi:30382
  44754. #, no-wrap
  44755. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  44756. msgstr ""
  44757. #. type: deftypevr
  44758. #: guix-git/doc/guix.texi:30384
  44759. msgid "Maximum number of files to consider when detecting renames."
  44760. msgstr ""
  44761. #. type: deftypevr
  44762. #: guix-git/doc/guix.texi:30389
  44763. #, no-wrap
  44764. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  44765. msgstr ""
  44766. #. type: deftypevr
  44767. #: guix-git/doc/guix.texi:30391
  44768. msgid "The way in which repositories in each section are sorted."
  44769. msgstr ""
  44770. #. type: deftypevr
  44771. #: guix-git/doc/guix.texi:30396
  44772. #, no-wrap
  44773. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  44774. msgstr ""
  44775. #. type: deftypevr
  44776. #: guix-git/doc/guix.texi:30398
  44777. msgid "Text used as content for the @code{robots} meta-tag."
  44778. msgstr ""
  44779. #. type: deftypevr
  44780. #: guix-git/doc/guix.texi:30400
  44781. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  44782. msgstr ""
  44783. #. type: deftypevr
  44784. #: guix-git/doc/guix.texi:30403
  44785. #, no-wrap
  44786. msgid "{@code{cgit-configuration} parameter} string root-desc"
  44787. msgstr ""
  44788. #. type: deftypevr
  44789. #: guix-git/doc/guix.texi:30405
  44790. msgid "Text printed below the heading on the repository index page."
  44791. msgstr ""
  44792. #. type: deftypevr
  44793. #: guix-git/doc/guix.texi:30407
  44794. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  44795. msgstr ""
  44796. #. type: deftypevr
  44797. #: guix-git/doc/guix.texi:30410
  44798. #, no-wrap
  44799. msgid "{@code{cgit-configuration} parameter} string root-readme"
  44800. msgstr ""
  44801. #. type: deftypevr
  44802. #: guix-git/doc/guix.texi:30413
  44803. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  44804. msgstr ""
  44805. #. type: deftypevr
  44806. #: guix-git/doc/guix.texi:30418
  44807. #, no-wrap
  44808. msgid "{@code{cgit-configuration} parameter} string root-title"
  44809. msgstr ""
  44810. #. type: deftypevr
  44811. #: guix-git/doc/guix.texi:30420
  44812. msgid "Text printed as heading on the repository index page."
  44813. msgstr ""
  44814. #. type: deftypevr
  44815. #: guix-git/doc/guix.texi:30425
  44816. #, no-wrap
  44817. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  44818. msgstr ""
  44819. #. type: deftypevr
  44820. #: guix-git/doc/guix.texi:30431
  44821. 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."
  44822. msgstr ""
  44823. #. type: deftypevr
  44824. #: guix-git/doc/guix.texi:30436
  44825. #, no-wrap
  44826. msgid "{@code{cgit-configuration} parameter} list snapshots"
  44827. msgstr ""
  44828. #. type: deftypevr
  44829. #: guix-git/doc/guix.texi:30439
  44830. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  44831. msgstr ""
  44832. #. type: deftypevr
  44833. #: guix-git/doc/guix.texi:30444
  44834. #, no-wrap
  44835. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  44836. msgstr ""
  44837. #. type: deftypevr
  44838. #: guix-git/doc/guix.texi:30447
  44839. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  44840. msgstr ""
  44841. #. type: deftypevr
  44842. #: guix-git/doc/guix.texi:30449
  44843. msgid "Defaults to @samp{\"/srv/git\"}."
  44844. msgstr ""
  44845. #. type: deftypevr
  44846. #: guix-git/doc/guix.texi:30452
  44847. #, no-wrap
  44848. msgid "{@code{cgit-configuration} parameter} string section"
  44849. msgstr ""
  44850. #. type: deftypevr
  44851. #: guix-git/doc/guix.texi:30455 guix-git/doc/guix.texi:30771
  44852. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  44853. msgstr ""
  44854. #. type: deftypevr
  44855. #: guix-git/doc/guix.texi:30460
  44856. #, no-wrap
  44857. msgid "{@code{cgit-configuration} parameter} string section-sort"
  44858. msgstr ""
  44859. #. type: deftypevr
  44860. #: guix-git/doc/guix.texi:30463
  44861. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  44862. msgstr ""
  44863. #. type: deftypevr
  44864. #: guix-git/doc/guix.texi:30468
  44865. #, no-wrap
  44866. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  44867. msgstr ""
  44868. #. type: deftypevr
  44869. #: guix-git/doc/guix.texi:30471
  44870. 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."
  44871. msgstr ""
  44872. #. type: deftypevr
  44873. #: guix-git/doc/guix.texi:30476
  44874. #, no-wrap
  44875. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  44876. msgstr ""
  44877. #. type: deftypevr
  44878. #: guix-git/doc/guix.texi:30479
  44879. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  44880. msgstr ""
  44881. #. type: deftypevr
  44882. #: guix-git/doc/guix.texi:30484
  44883. #, no-wrap
  44884. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  44885. msgstr ""
  44886. #. type: deftypevr
  44887. #: guix-git/doc/guix.texi:30487
  44888. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  44889. msgstr ""
  44890. #. type: deftypevr
  44891. #: guix-git/doc/guix.texi:30492
  44892. #, no-wrap
  44893. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  44894. msgstr ""
  44895. #. type: deftypevr
  44896. #: guix-git/doc/guix.texi:30495
  44897. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  44898. msgstr ""
  44899. #. type: deftypevr
  44900. #: guix-git/doc/guix.texi:30500
  44901. #, no-wrap
  44902. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  44903. msgstr ""
  44904. #. type: deftypevr
  44905. #: guix-git/doc/guix.texi:30503
  44906. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  44907. msgstr ""
  44908. #. type: deftypevr
  44909. #: guix-git/doc/guix.texi:30508
  44910. #, no-wrap
  44911. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  44912. msgstr ""
  44913. #. type: deftypevr
  44914. #: guix-git/doc/guix.texi:30511
  44915. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  44916. msgstr ""
  44917. #. type: deftypevr
  44918. #: guix-git/doc/guix.texi:30516
  44919. #, no-wrap
  44920. msgid "{@code{cgit-configuration} parameter} string strict-export"
  44921. msgstr ""
  44922. #. type: deftypevr
  44923. #: guix-git/doc/guix.texi:30519
  44924. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  44925. msgstr ""
  44926. #. type: deftypevr
  44927. #: guix-git/doc/guix.texi:30524
  44928. #, no-wrap
  44929. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  44930. msgstr ""
  44931. #. type: deftypevr
  44932. #: guix-git/doc/guix.texi:30526
  44933. msgid "URL which, if specified, will be used as root for all cgit links."
  44934. msgstr ""
  44935. #. type: deftypevr
  44936. #: guix-git/doc/guix.texi:30528
  44937. msgid "Defaults to @samp{\"/\"}."
  44938. msgstr ""
  44939. #. type: deftypevr
  44940. #: guix-git/doc/guix.texi:30531
  44941. #, no-wrap
  44942. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  44943. msgstr ""
  44944. #. type: deftypevr
  44945. #: guix-git/doc/guix.texi:30533
  44946. msgid "A list of @dfn{cgit-repo} records to use with config."
  44947. msgstr ""
  44948. #. type: deftypevr
  44949. #: guix-git/doc/guix.texi:30537
  44950. msgid "Available @code{repository-cgit-configuration} fields are:"
  44951. msgstr ""
  44952. #. type: deftypevr
  44953. #: guix-git/doc/guix.texi:30538
  44954. #, no-wrap
  44955. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  44956. msgstr ""
  44957. #. type: deftypevr
  44958. #: guix-git/doc/guix.texi:30541
  44959. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  44960. msgstr ""
  44961. #. type: deftypevr
  44962. #: guix-git/doc/guix.texi:30546
  44963. #, no-wrap
  44964. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  44965. msgstr ""
  44966. #. type: deftypevr
  44967. #: guix-git/doc/guix.texi:30548
  44968. msgid "Override the default @code{source-filter}."
  44969. msgstr ""
  44970. #. type: deftypevr
  44971. #: guix-git/doc/guix.texi:30553
  44972. #, no-wrap
  44973. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  44974. msgstr ""
  44975. #. type: deftypevr
  44976. #: guix-git/doc/guix.texi:30555
  44977. msgid "The relative URL used to access the repository."
  44978. msgstr ""
  44979. #. type: deftypevr
  44980. #: guix-git/doc/guix.texi:30560
  44981. #, no-wrap
  44982. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  44983. msgstr ""
  44984. #. type: deftypevr
  44985. #: guix-git/doc/guix.texi:30562
  44986. msgid "Override the default @code{about-filter}."
  44987. msgstr ""
  44988. #. type: deftypevr
  44989. #: guix-git/doc/guix.texi:30567
  44990. #, no-wrap
  44991. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  44992. msgstr ""
  44993. #. type: deftypevr
  44994. #: guix-git/doc/guix.texi:30570
  44995. 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."
  44996. msgstr ""
  44997. #. type: deftypevr
  44998. #: guix-git/doc/guix.texi:30575
  44999. #, no-wrap
  45000. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  45001. msgstr ""
  45002. #. type: deftypevr
  45003. #: guix-git/doc/guix.texi:30577
  45004. msgid "A list of URLs which can be used to clone repo."
  45005. msgstr ""
  45006. #. type: deftypevr
  45007. #: guix-git/doc/guix.texi:30582
  45008. #, no-wrap
  45009. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  45010. msgstr ""
  45011. #. type: deftypevr
  45012. #: guix-git/doc/guix.texi:30584
  45013. msgid "Override the default @code{commit-filter}."
  45014. msgstr ""
  45015. #. type: deftypevr
  45016. #: guix-git/doc/guix.texi:30589
  45017. #, no-wrap
  45018. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  45019. msgstr ""
  45020. #. type: deftypevr
  45021. #: guix-git/doc/guix.texi:30598
  45022. #, no-wrap
  45023. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  45024. msgstr ""
  45025. #. type: deftypevr
  45026. #: guix-git/doc/guix.texi:30603
  45027. 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."
  45028. msgstr ""
  45029. #. type: deftypevr
  45030. #: guix-git/doc/guix.texi:30608
  45031. #, no-wrap
  45032. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  45033. msgstr ""
  45034. #. type: deftypevr
  45035. #: guix-git/doc/guix.texi:30610
  45036. msgid "The value to show as repository description."
  45037. msgstr ""
  45038. #. type: deftypevr
  45039. #: guix-git/doc/guix.texi:30615
  45040. #, no-wrap
  45041. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  45042. msgstr ""
  45043. #. type: deftypevr
  45044. #: guix-git/doc/guix.texi:30617
  45045. msgid "The value to show as repository homepage."
  45046. msgstr ""
  45047. #. type: deftypevr
  45048. #: guix-git/doc/guix.texi:30622
  45049. #, no-wrap
  45050. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  45051. msgstr ""
  45052. #. type: deftypevr
  45053. #: guix-git/doc/guix.texi:30624
  45054. msgid "Override the default @code{email-filter}."
  45055. msgstr ""
  45056. #. type: deftypevr
  45057. #: guix-git/doc/guix.texi:30629
  45058. #, no-wrap
  45059. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  45060. msgstr ""
  45061. #. type: deftypevr
  45062. #: guix-git/doc/guix.texi:30632
  45063. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  45064. msgstr ""
  45065. #. type: deftypevr
  45066. #: guix-git/doc/guix.texi:30637
  45067. #, no-wrap
  45068. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  45069. msgstr ""
  45070. #. type: deftypevr
  45071. #: guix-git/doc/guix.texi:30640
  45072. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  45073. msgstr ""
  45074. #. type: deftypevr
  45075. #: guix-git/doc/guix.texi:30645
  45076. #, no-wrap
  45077. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  45078. msgstr ""
  45079. #. type: deftypevr
  45080. #: guix-git/doc/guix.texi:30648
  45081. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  45082. msgstr ""
  45083. #. type: deftypevr
  45084. #: guix-git/doc/guix.texi:30653
  45085. #, no-wrap
  45086. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  45087. msgstr ""
  45088. #. type: deftypevr
  45089. #: guix-git/doc/guix.texi:30661
  45090. #, no-wrap
  45091. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  45092. msgstr ""
  45093. #. type: deftypevr
  45094. #: guix-git/doc/guix.texi:30664
  45095. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  45096. msgstr ""
  45097. #. type: deftypevr
  45098. #: guix-git/doc/guix.texi:30669
  45099. #, no-wrap
  45100. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  45101. msgstr ""
  45102. #. type: deftypevr
  45103. #: guix-git/doc/guix.texi:30672
  45104. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  45105. msgstr ""
  45106. #. type: deftypevr
  45107. #: guix-git/doc/guix.texi:30677
  45108. #, no-wrap
  45109. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  45110. msgstr ""
  45111. #. type: deftypevr
  45112. #: guix-git/doc/guix.texi:30680
  45113. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  45114. msgstr ""
  45115. #. type: deftypevr
  45116. #: guix-git/doc/guix.texi:30685
  45117. #, no-wrap
  45118. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  45119. msgstr ""
  45120. #. type: deftypevr
  45121. #: guix-git/doc/guix.texi:30687
  45122. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  45123. msgstr ""
  45124. #. type: deftypevr
  45125. #: guix-git/doc/guix.texi:30692
  45126. #, no-wrap
  45127. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  45128. msgstr ""
  45129. #. type: deftypevr
  45130. #: guix-git/doc/guix.texi:30695
  45131. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  45132. msgstr ""
  45133. #. type: deftypevr
  45134. #: guix-git/doc/guix.texi:30700
  45135. #, no-wrap
  45136. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  45137. msgstr ""
  45138. #. type: deftypevr
  45139. #: guix-git/doc/guix.texi:30707
  45140. #, no-wrap
  45141. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  45142. msgstr ""
  45143. #. type: deftypevr
  45144. #: guix-git/doc/guix.texi:30709
  45145. msgid "Override the default @code{owner-filter}."
  45146. msgstr ""
  45147. #. type: deftypevr
  45148. #: guix-git/doc/guix.texi:30714
  45149. #, no-wrap
  45150. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  45151. msgstr ""
  45152. #. type: deftypevr
  45153. #: guix-git/doc/guix.texi:30718
  45154. 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."
  45155. msgstr ""
  45156. #. type: deftypevr
  45157. #: guix-git/doc/guix.texi:30723
  45158. #, no-wrap
  45159. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  45160. msgstr ""
  45161. #. type: deftypevr
  45162. #: guix-git/doc/guix.texi:30727
  45163. 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."
  45164. msgstr ""
  45165. #. type: deftypevr
  45166. #: guix-git/doc/guix.texi:30732
  45167. #, no-wrap
  45168. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  45169. msgstr ""
  45170. #. type: deftypevr
  45171. #: guix-git/doc/guix.texi:30734
  45172. msgid "Override the default maximum statistics period."
  45173. msgstr ""
  45174. #. type: deftypevr
  45175. #: guix-git/doc/guix.texi:30739
  45176. #, no-wrap
  45177. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  45178. msgstr ""
  45179. #. type: deftypevr
  45180. #: guix-git/doc/guix.texi:30741
  45181. msgid "The value to show as repository name."
  45182. msgstr ""
  45183. #. type: deftypevr
  45184. #: guix-git/doc/guix.texi:30746
  45185. #, no-wrap
  45186. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  45187. msgstr ""
  45188. #. type: deftypevr
  45189. #: guix-git/doc/guix.texi:30748
  45190. msgid "A value used to identify the owner of the repository."
  45191. msgstr ""
  45192. #. type: deftypevr
  45193. #: guix-git/doc/guix.texi:30753
  45194. #, no-wrap
  45195. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  45196. msgstr ""
  45197. #. type: deftypevr
  45198. #: guix-git/doc/guix.texi:30755
  45199. msgid "An absolute path to the repository directory."
  45200. msgstr ""
  45201. #. type: deftypevr
  45202. #: guix-git/doc/guix.texi:30760
  45203. #, no-wrap
  45204. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  45205. msgstr ""
  45206. #. type: deftypevr
  45207. #: guix-git/doc/guix.texi:30763
  45208. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  45209. msgstr ""
  45210. #. type: deftypevr
  45211. #: guix-git/doc/guix.texi:30768
  45212. #, no-wrap
  45213. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  45214. msgstr ""
  45215. #. type: deftypevr
  45216. #: guix-git/doc/guix.texi:30776
  45217. #, no-wrap
  45218. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  45219. msgstr ""
  45220. #. type: deftypevr
  45221. #: guix-git/doc/guix.texi:30778 guix-git/doc/guix.texi:30787
  45222. msgid "Extra options will be appended to cgitrc file."
  45223. msgstr ""
  45224. #. type: deftypevr
  45225. #: guix-git/doc/guix.texi:30785
  45226. #, no-wrap
  45227. msgid "{@code{cgit-configuration} parameter} list extra-options"
  45228. msgstr ""
  45229. #. type: Plain text
  45230. #: guix-git/doc/guix.texi:30799
  45231. 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."
  45232. msgstr ""
  45233. #. type: Plain text
  45234. #: guix-git/doc/guix.texi:30801
  45235. msgid "Available @code{opaque-cgit-configuration} fields are:"
  45236. msgstr ""
  45237. #. type: deftypevr
  45238. #: guix-git/doc/guix.texi:30802
  45239. #, no-wrap
  45240. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  45241. msgstr ""
  45242. #. type: deftypevr
  45243. #: guix-git/doc/guix.texi:30804
  45244. msgid "The cgit package."
  45245. msgstr ""
  45246. #. type: deftypevr
  45247. #: guix-git/doc/guix.texi:30806
  45248. #, no-wrap
  45249. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  45250. msgstr ""
  45251. #. type: deftypevr
  45252. #: guix-git/doc/guix.texi:30808
  45253. msgid "The contents of the @code{cgitrc}, as a string."
  45254. msgstr ""
  45255. #. type: Plain text
  45256. #: guix-git/doc/guix.texi:30812
  45257. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  45258. msgstr ""
  45259. #. type: lisp
  45260. #: guix-git/doc/guix.texi:30817
  45261. #, no-wrap
  45262. msgid ""
  45263. "(service cgit-service-type\n"
  45264. " (opaque-cgit-configuration\n"
  45265. " (cgitrc \"\")))\n"
  45266. msgstr ""
  45267. #. type: subsubheading
  45268. #: guix-git/doc/guix.texi:30819
  45269. #, no-wrap
  45270. msgid "Gitolite Service"
  45271. msgstr ""
  45272. #. type: cindex
  45273. #: guix-git/doc/guix.texi:30821
  45274. #, no-wrap
  45275. msgid "Gitolite service"
  45276. msgstr ""
  45277. #. type: cindex
  45278. #: guix-git/doc/guix.texi:30822
  45279. #, no-wrap
  45280. msgid "Git, hosting"
  45281. msgstr ""
  45282. #. type: Plain text
  45283. #: guix-git/doc/guix.texi:30825
  45284. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  45285. msgstr ""
  45286. #. type: Plain text
  45287. #: guix-git/doc/guix.texi:30828
  45288. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  45289. msgstr ""
  45290. #. type: Plain text
  45291. #: guix-git/doc/guix.texi:30831
  45292. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  45293. msgstr ""
  45294. #. type: lisp
  45295. #: guix-git/doc/guix.texi:30838
  45296. #, no-wrap
  45297. msgid ""
  45298. "(service gitolite-service-type\n"
  45299. " (gitolite-configuration\n"
  45300. " (admin-pubkey (plain-file\n"
  45301. " \"yourname.pub\"\n"
  45302. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  45303. msgstr ""
  45304. #. type: Plain text
  45305. #: guix-git/doc/guix.texi:30843
  45306. 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."
  45307. msgstr ""
  45308. #. type: example
  45309. #: guix-git/doc/guix.texi:30846
  45310. #, no-wrap
  45311. msgid "git clone git@@example.com:gitolite-admin\n"
  45312. msgstr ""
  45313. #. type: Plain text
  45314. #: guix-git/doc/guix.texi:30852
  45315. 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''."
  45316. msgstr ""
  45317. #. type: deftp
  45318. #: guix-git/doc/guix.texi:30853
  45319. #, no-wrap
  45320. msgid "{Data Type} gitolite-configuration"
  45321. msgstr ""
  45322. #. type: deftp
  45323. #: guix-git/doc/guix.texi:30855
  45324. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  45325. msgstr ""
  45326. #. type: item
  45327. #: guix-git/doc/guix.texi:30857
  45328. #, no-wrap
  45329. msgid "@code{package} (default: @var{gitolite})"
  45330. msgstr ""
  45331. #. type: table
  45332. #: guix-git/doc/guix.texi:30859
  45333. msgid "Gitolite package to use."
  45334. msgstr ""
  45335. #. type: item
  45336. #: guix-git/doc/guix.texi:30860
  45337. #, no-wrap
  45338. msgid "@code{user} (default: @var{git})"
  45339. msgstr ""
  45340. #. type: table
  45341. #: guix-git/doc/guix.texi:30863
  45342. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  45343. msgstr ""
  45344. #. type: item
  45345. #: guix-git/doc/guix.texi:30864
  45346. #, no-wrap
  45347. msgid "@code{group} (default: @var{git})"
  45348. msgstr ""
  45349. #. type: table
  45350. #: guix-git/doc/guix.texi:30866
  45351. msgid "Group to use for Gitolite."
  45352. msgstr ""
  45353. #. type: item
  45354. #: guix-git/doc/guix.texi:30867
  45355. #, no-wrap
  45356. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  45357. msgstr ""
  45358. #. type: table
  45359. #: guix-git/doc/guix.texi:30869
  45360. msgid "Directory in which to store the Gitolite configuration and repositories."
  45361. msgstr ""
  45362. #. type: item
  45363. #: guix-git/doc/guix.texi:30870
  45364. #, no-wrap
  45365. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  45366. msgstr ""
  45367. #. type: table
  45368. #: guix-git/doc/guix.texi:30873
  45369. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  45370. msgstr ""
  45371. #. type: item
  45372. #: guix-git/doc/guix.texi:30874
  45373. #, no-wrap
  45374. msgid "@code{admin-pubkey} (default: @var{#f})"
  45375. msgstr ""
  45376. #. type: table
  45377. #: guix-git/doc/guix.texi:30878
  45378. 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."
  45379. msgstr ""
  45380. #. type: table
  45381. #: guix-git/doc/guix.texi:30880
  45382. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  45383. msgstr ""
  45384. #. type: lisp
  45385. #: guix-git/doc/guix.texi:30883
  45386. #, no-wrap
  45387. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  45388. msgstr ""
  45389. #. type: deftp
  45390. #: guix-git/doc/guix.texi:30888
  45391. #, no-wrap
  45392. msgid "{Data Type} gitolite-rc-file"
  45393. msgstr ""
  45394. #. type: deftp
  45395. #: guix-git/doc/guix.texi:30890
  45396. msgid "Data type representing the Gitolite RC file."
  45397. msgstr ""
  45398. #. type: item
  45399. #: guix-git/doc/guix.texi:30892
  45400. #, no-wrap
  45401. msgid "@code{umask} (default: @code{#o0077})"
  45402. msgstr ""
  45403. #. type: table
  45404. #: guix-git/doc/guix.texi:30895
  45405. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  45406. msgstr ""
  45407. #. type: table
  45408. #: guix-git/doc/guix.texi:30899
  45409. 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."
  45410. msgstr ""
  45411. #. type: item
  45412. #: guix-git/doc/guix.texi:30900
  45413. #, no-wrap
  45414. msgid "@code{git-config-keys} (default: @code{\"\"})"
  45415. msgstr ""
  45416. #. type: table
  45417. #: guix-git/doc/guix.texi:30903
  45418. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  45419. msgstr ""
  45420. #. type: item
  45421. #: guix-git/doc/guix.texi:30904
  45422. #, no-wrap
  45423. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  45424. msgstr ""
  45425. #. type: table
  45426. #: guix-git/doc/guix.texi:30906
  45427. msgid "Set the role names allowed to be used by users running the perms command."
  45428. msgstr ""
  45429. #. type: item
  45430. #: guix-git/doc/guix.texi:30907
  45431. #, no-wrap
  45432. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  45433. msgstr ""
  45434. #. type: table
  45435. #: guix-git/doc/guix.texi:30909
  45436. msgid "This setting controls the commands and features to enable within Gitolite."
  45437. msgstr ""
  45438. #. type: subsubheading
  45439. #: guix-git/doc/guix.texi:30917
  45440. #, no-wrap
  45441. msgid "The Battle for Wesnoth Service"
  45442. msgstr ""
  45443. #. type: cindex
  45444. #: guix-git/doc/guix.texi:30918
  45445. #, no-wrap
  45446. msgid "wesnothd"
  45447. msgstr ""
  45448. #. type: Plain text
  45449. #: guix-git/doc/guix.texi:30922
  45450. 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)."
  45451. msgstr ""
  45452. #. type: defvar
  45453. #: guix-git/doc/guix.texi:30923
  45454. #, no-wrap
  45455. msgid "{Scheme Variable} wesnothd-service-type"
  45456. msgstr ""
  45457. #. type: defvar
  45458. #: guix-git/doc/guix.texi:30927
  45459. 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:"
  45460. msgstr ""
  45461. #. type: lisp
  45462. #: guix-git/doc/guix.texi:30930
  45463. #, no-wrap
  45464. msgid "(service wesnothd-service-type)\n"
  45465. msgstr ""
  45466. #. type: deftp
  45467. #: guix-git/doc/guix.texi:30933
  45468. #, no-wrap
  45469. msgid "{Data Type} wesnothd-configuration"
  45470. msgstr ""
  45471. #. type: deftp
  45472. #: guix-git/doc/guix.texi:30935
  45473. msgid "Data type representing the configuration of @command{wesnothd}."
  45474. msgstr ""
  45475. #. type: item
  45476. #: guix-git/doc/guix.texi:30937
  45477. #, no-wrap
  45478. msgid "@code{package} (default: @code{wesnoth-server})"
  45479. msgstr ""
  45480. #. type: table
  45481. #: guix-git/doc/guix.texi:30939
  45482. msgid "The wesnoth server package to use."
  45483. msgstr ""
  45484. #. type: item
  45485. #: guix-git/doc/guix.texi:30940
  45486. #, no-wrap
  45487. msgid "@code{port} (default: @code{15000})"
  45488. msgstr ""
  45489. #. type: table
  45490. #: guix-git/doc/guix.texi:30942
  45491. msgid "The port to bind the server to."
  45492. msgstr ""
  45493. #. type: cindex
  45494. #: guix-git/doc/guix.texi:30948
  45495. #, no-wrap
  45496. msgid "pam-mount"
  45497. msgstr ""
  45498. #. type: Plain text
  45499. #: guix-git/doc/guix.texi:30953
  45500. 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."
  45501. msgstr ""
  45502. #. type: defvar
  45503. #: guix-git/doc/guix.texi:30954
  45504. #, no-wrap
  45505. msgid "{Scheme Variable} pam-mount-service-type"
  45506. msgstr ""
  45507. #. type: defvar
  45508. #: guix-git/doc/guix.texi:30956
  45509. msgid "Service type for PAM Mount support."
  45510. msgstr ""
  45511. #. type: deftp
  45512. #: guix-git/doc/guix.texi:30958
  45513. #, no-wrap
  45514. msgid "{Data Type} pam-mount-configuration"
  45515. msgstr ""
  45516. #. type: deftp
  45517. #: guix-git/doc/guix.texi:30960
  45518. msgid "Data type representing the configuration of PAM Mount."
  45519. msgstr ""
  45520. #. type: code{#1}
  45521. #: guix-git/doc/guix.texi:30964
  45522. #, no-wrap
  45523. msgid "rules"
  45524. msgstr ""
  45525. #. type: table
  45526. #: guix-git/doc/guix.texi:30967
  45527. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  45528. msgstr ""
  45529. #. type: table
  45530. #: guix-git/doc/guix.texi:30971
  45531. 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:"
  45532. msgstr ""
  45533. #. type: lisp
  45534. #: guix-git/doc/guix.texi:30986
  45535. #, no-wrap
  45536. msgid ""
  45537. "`((debug (@@ (enable \"0\")))\n"
  45538. " (mntoptions (@@ (allow ,(string-join\n"
  45539. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  45540. " \"encryption\" \"fsck\" \"nonempty\"\n"
  45541. " \"allow_root\" \"allow_other\")\n"
  45542. " \",\"))))\n"
  45543. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  45544. " (logout (@@ (wait \"0\")\n"
  45545. " (hup \"0\")\n"
  45546. " (term \"no\")\n"
  45547. " (kill \"no\")))\n"
  45548. " (mkmountpoint (@@ (enable \"1\")\n"
  45549. " (remove \"true\"))))\n"
  45550. msgstr ""
  45551. #. type: table
  45552. #: guix-git/doc/guix.texi:30992
  45553. 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:"
  45554. msgstr ""
  45555. #. type: lisp
  45556. #: guix-git/doc/guix.texi:31017
  45557. #, no-wrap
  45558. msgid ""
  45559. "(define pam-mount-rules\n"
  45560. "`((debug (@@ (enable \"0\")))\n"
  45561. " (volume (@@ (user \"alice\")\n"
  45562. " (fstype \"crypt\")\n"
  45563. " (path \"/dev/sda2\")\n"
  45564. " (mountpoint \"/home/alice\")))\n"
  45565. " (volume (@@ (user \"bob\")\n"
  45566. " (fstype \"auto\")\n"
  45567. " (path \"/dev/sdb3\")\n"
  45568. " (mountpoint \"/home/bob/data\")\n"
  45569. " (options \"defaults,autodefrag,compress\")))\n"
  45570. " (mntoptions (@@ (allow ,(string-join\n"
  45571. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  45572. " \"encryption\" \"fsck\" \"nonempty\"\n"
  45573. " \"allow_root\" \"allow_other\")\n"
  45574. " \",\"))))\n"
  45575. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  45576. " (logout (@@ (wait \"0\")\n"
  45577. " (hup \"0\")\n"
  45578. " (term \"no\")\n"
  45579. " (kill \"no\")))\n"
  45580. " (mkmountpoint (@@ (enable \"1\")\n"
  45581. " (remove \"true\")))))\n"
  45582. "\n"
  45583. msgstr ""
  45584. #. type: lisp
  45585. #: guix-git/doc/guix.texi:31021
  45586. #, no-wrap
  45587. msgid ""
  45588. "(service pam-mount-service-type\n"
  45589. " (pam-mount-configuration\n"
  45590. " (rules pam-mount-rules)))\n"
  45591. msgstr ""
  45592. #. type: table
  45593. #: guix-git/doc/guix.texi:31025
  45594. 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}."
  45595. msgstr ""
  45596. #. type: subsubheading
  45597. #: guix-git/doc/guix.texi:31032
  45598. #, no-wrap
  45599. msgid "Guix Build Coordinator"
  45600. msgstr ""
  45601. #. type: Plain text
  45602. #: guix-git/doc/guix.texi:31038
  45603. 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."
  45604. msgstr ""
  45605. #. type: quotation
  45606. #: guix-git/doc/guix.texi:31043
  45607. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  45608. msgstr ""
  45609. #. type: Plain text
  45610. #: guix-git/doc/guix.texi:31050
  45611. 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."
  45612. msgstr ""
  45613. #. type: Plain text
  45614. #: guix-git/doc/guix.texi:31054
  45615. 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."
  45616. msgstr ""
  45617. #. type: defvar
  45618. #: guix-git/doc/guix.texi:31055
  45619. #, no-wrap
  45620. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  45621. msgstr ""
  45622. #. type: defvar
  45623. #: guix-git/doc/guix.texi:31058
  45624. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  45625. msgstr ""
  45626. #. type: deftp
  45627. #: guix-git/doc/guix.texi:31060
  45628. #, no-wrap
  45629. msgid "{Data Type} guix-build-coordinator-configuration"
  45630. msgstr ""
  45631. #. type: deftp
  45632. #: guix-git/doc/guix.texi:31062
  45633. msgid "Data type representing the configuration of the Guix Build Coordinator."
  45634. msgstr ""
  45635. #. type: item
  45636. #: guix-git/doc/guix.texi:31064 guix-git/doc/guix.texi:31108
  45637. #: guix-git/doc/guix.texi:31225
  45638. #, no-wrap
  45639. msgid "@code{package} (default: @code{guix-build-coordinator})"
  45640. msgstr ""
  45641. #. type: table
  45642. #: guix-git/doc/guix.texi:31066 guix-git/doc/guix.texi:31110
  45643. #: guix-git/doc/guix.texi:31227
  45644. msgid "The Guix Build Coordinator package to use."
  45645. msgstr ""
  45646. #. type: item
  45647. #: guix-git/doc/guix.texi:31067
  45648. #, no-wrap
  45649. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  45650. msgstr ""
  45651. #. type: table
  45652. #: guix-git/doc/guix.texi:31069 guix-git/doc/guix.texi:31113
  45653. #: guix-git/doc/guix.texi:31230 guix-git/doc/guix.texi:31276
  45654. msgid "The system user to run the service as."
  45655. msgstr ""
  45656. #. type: item
  45657. #: guix-git/doc/guix.texi:31070
  45658. #, no-wrap
  45659. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  45660. msgstr ""
  45661. #. type: table
  45662. #: guix-git/doc/guix.texi:31072 guix-git/doc/guix.texi:31279
  45663. msgid "The system group to run the service as."
  45664. msgstr ""
  45665. #. type: item
  45666. #: guix-git/doc/guix.texi:31073
  45667. #, no-wrap
  45668. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  45669. msgstr ""
  45670. #. type: table
  45671. #: guix-git/doc/guix.texi:31075
  45672. msgid "The URI to use for the database."
  45673. msgstr ""
  45674. #. type: item
  45675. #: guix-git/doc/guix.texi:31076
  45676. #, no-wrap
  45677. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  45678. msgstr ""
  45679. #. type: table
  45680. #: guix-git/doc/guix.texi:31078
  45681. msgid "The URI describing how to listen to requests from agent processes."
  45682. msgstr ""
  45683. #. type: item
  45684. #: guix-git/doc/guix.texi:31079
  45685. #, no-wrap
  45686. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  45687. msgstr ""
  45688. #. type: table
  45689. #: guix-git/doc/guix.texi:31083
  45690. 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."
  45691. msgstr ""
  45692. #. type: item
  45693. #: guix-git/doc/guix.texi:31084
  45694. #, no-wrap
  45695. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  45696. msgstr ""
  45697. #. type: table
  45698. #: guix-git/doc/guix.texi:31088
  45699. 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."
  45700. msgstr ""
  45701. #. type: item
  45702. #: guix-git/doc/guix.texi:31089
  45703. #, no-wrap
  45704. msgid "@code{hooks} (default: @var{'()})"
  45705. msgstr ""
  45706. #. type: table
  45707. #: guix-git/doc/guix.texi:31092
  45708. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  45709. msgstr ""
  45710. #. type: item
  45711. #: guix-git/doc/guix.texi:31093
  45712. #, no-wrap
  45713. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  45714. msgstr ""
  45715. #. type: table
  45716. #: guix-git/doc/guix.texi:31095
  45717. msgid "The Guile package with which to run the Guix Build Coordinator."
  45718. msgstr ""
  45719. #. type: defvar
  45720. #: guix-git/doc/guix.texi:31099
  45721. #, no-wrap
  45722. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  45723. msgstr ""
  45724. #. type: defvar
  45725. #: guix-git/doc/guix.texi:31102
  45726. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  45727. msgstr ""
  45728. #. type: deftp
  45729. #: guix-git/doc/guix.texi:31104
  45730. #, no-wrap
  45731. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  45732. msgstr ""
  45733. #. type: deftp
  45734. #: guix-git/doc/guix.texi:31106
  45735. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  45736. msgstr ""
  45737. #. type: item
  45738. #: guix-git/doc/guix.texi:31111
  45739. #, no-wrap
  45740. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  45741. msgstr ""
  45742. #. type: item
  45743. #: guix-git/doc/guix.texi:31114 guix-git/doc/guix.texi:31231
  45744. #, no-wrap
  45745. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  45746. msgstr ""
  45747. #. type: table
  45748. #: guix-git/doc/guix.texi:31116 guix-git/doc/guix.texi:31233
  45749. msgid "The URI to use when connecting to the coordinator."
  45750. msgstr ""
  45751. #. type: code{#1}
  45752. #: guix-git/doc/guix.texi:31117
  45753. #, no-wrap
  45754. msgid "authentication"
  45755. msgstr ""
  45756. #. type: table
  45757. #: guix-git/doc/guix.texi:31120
  45758. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  45759. msgstr ""
  45760. #. type: item
  45761. #: guix-git/doc/guix.texi:31121 guix-git/doc/guix.texi:31234
  45762. #, no-wrap
  45763. msgid "@code{systems} (default: @code{#f})"
  45764. msgstr ""
  45765. #. type: table
  45766. #: guix-git/doc/guix.texi:31124
  45767. 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."
  45768. msgstr ""
  45769. #. type: item
  45770. #: guix-git/doc/guix.texi:31125
  45771. #, no-wrap
  45772. msgid "@code{max-parallel-builds} (default: @code{1})"
  45773. msgstr ""
  45774. #. type: table
  45775. #: guix-git/doc/guix.texi:31127
  45776. msgid "The number of builds to perform in parallel."
  45777. msgstr ""
  45778. #. type: item
  45779. #: guix-git/doc/guix.texi:31128
  45780. #, no-wrap
  45781. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  45782. msgstr ""
  45783. #. type: table
  45784. #: guix-git/doc/guix.texi:31131
  45785. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  45786. msgstr ""
  45787. #. type: item
  45788. #: guix-git/doc/guix.texi:31132
  45789. #, no-wrap
  45790. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  45791. msgstr ""
  45792. #. type: table
  45793. #: guix-git/doc/guix.texi:31135
  45794. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  45795. msgstr ""
  45796. #. type: deftp
  45797. #: guix-git/doc/guix.texi:31139
  45798. #, no-wrap
  45799. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  45800. msgstr ""
  45801. #. type: deftp
  45802. #: guix-git/doc/guix.texi:31142
  45803. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  45804. msgstr ""
  45805. #. type: table
  45806. #: guix-git/doc/guix.texi:31148 guix-git/doc/guix.texi:31164
  45807. 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."
  45808. msgstr ""
  45809. #. type: table
  45810. #: guix-git/doc/guix.texi:31151
  45811. msgid "The password to use when connecting to the coordinator."
  45812. msgstr ""
  45813. #. type: deftp
  45814. #: guix-git/doc/guix.texi:31155
  45815. #, no-wrap
  45816. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  45817. msgstr ""
  45818. #. type: deftp
  45819. #: guix-git/doc/guix.texi:31158
  45820. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  45821. msgstr ""
  45822. #. type: code{#1}
  45823. #: guix-git/doc/guix.texi:31165
  45824. #, no-wrap
  45825. msgid "password-file"
  45826. msgstr ""
  45827. #. type: table
  45828. #: guix-git/doc/guix.texi:31168
  45829. msgid "A file containing the password to use when connecting to the coordinator."
  45830. msgstr ""
  45831. #. type: deftp
  45832. #: guix-git/doc/guix.texi:31172
  45833. #, no-wrap
  45834. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  45835. msgstr ""
  45836. #. type: deftp
  45837. #: guix-git/doc/guix.texi:31175
  45838. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  45839. msgstr ""
  45840. #. type: code{#1}
  45841. #: guix-git/doc/guix.texi:31177 guix-git/doc/guix.texi:31194
  45842. #, fuzzy, no-wrap
  45843. #| msgid "package name"
  45844. msgid "agent-name"
  45845. msgstr "نام بسته"
  45846. #. type: table
  45847. #: guix-git/doc/guix.texi:31181 guix-git/doc/guix.texi:31198
  45848. 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."
  45849. msgstr ""
  45850. #. type: code{#1}
  45851. #: guix-git/doc/guix.texi:31182
  45852. #, no-wrap
  45853. msgid "token"
  45854. msgstr ""
  45855. #. type: table
  45856. #: guix-git/doc/guix.texi:31185
  45857. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  45858. msgstr ""
  45859. #. type: deftp
  45860. #: guix-git/doc/guix.texi:31189
  45861. #, no-wrap
  45862. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  45863. msgstr ""
  45864. #. type: deftp
  45865. #: guix-git/doc/guix.texi:31192
  45866. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  45867. msgstr ""
  45868. #. type: code{#1}
  45869. #: guix-git/doc/guix.texi:31199
  45870. #, no-wrap
  45871. msgid "token-file"
  45872. msgstr ""
  45873. #. type: table
  45874. #: guix-git/doc/guix.texi:31202
  45875. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  45876. msgstr ""
  45877. #. type: Plain text
  45878. #: guix-git/doc/guix.texi:31212
  45879. 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."
  45880. msgstr ""
  45881. #. type: defvar
  45882. #: guix-git/doc/guix.texi:31213
  45883. #, no-wrap
  45884. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  45885. msgstr ""
  45886. #. type: defvar
  45887. #: guix-git/doc/guix.texi:31218
  45888. 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."
  45889. msgstr ""
  45890. #. type: deftp
  45891. #: guix-git/doc/guix.texi:31220
  45892. #, no-wrap
  45893. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  45894. msgstr ""
  45895. #. type: deftp
  45896. #: guix-git/doc/guix.texi:31223
  45897. msgid "Data type representing the options to the queue builds from guix data service script."
  45898. msgstr ""
  45899. #. type: item
  45900. #: guix-git/doc/guix.texi:31228
  45901. #, no-wrap
  45902. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  45903. msgstr ""
  45904. #. type: table
  45905. #: guix-git/doc/guix.texi:31236
  45906. msgid "The systems for which to fetch derivations to build."
  45907. msgstr ""
  45908. #. type: item
  45909. #: guix-git/doc/guix.texi:31237
  45910. #, no-wrap
  45911. msgid "@code{systems-and-targets} (default: @code{#f})"
  45912. msgstr ""
  45913. #. type: table
  45914. #: guix-git/doc/guix.texi:31240
  45915. msgid "An association list of system and target pairs for which to fetch derivations to build."
  45916. msgstr ""
  45917. #. type: item
  45918. #: guix-git/doc/guix.texi:31241
  45919. #, no-wrap
  45920. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  45921. msgstr ""
  45922. #. type: table
  45923. #: guix-git/doc/guix.texi:31244
  45924. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  45925. msgstr ""
  45926. #. type: item
  45927. #: guix-git/doc/guix.texi:31245
  45928. #, no-wrap
  45929. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  45930. msgstr ""
  45931. #. type: table
  45932. #: guix-git/doc/guix.texi:31248
  45933. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  45934. msgstr ""
  45935. #. type: subsubheading
  45936. #: guix-git/doc/guix.texi:31252
  45937. #, no-wrap
  45938. msgid "Guix Data Service"
  45939. msgstr ""
  45940. #. type: Plain text
  45941. #: guix-git/doc/guix.texi:31256
  45942. 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."
  45943. msgstr ""
  45944. #. type: Plain text
  45945. #: guix-git/doc/guix.texi:31259
  45946. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  45947. msgstr ""
  45948. #. type: defvar
  45949. #: guix-git/doc/guix.texi:31260
  45950. #, no-wrap
  45951. msgid "{Scheme Variable} guix-data-service-type"
  45952. msgstr ""
  45953. #. type: defvar
  45954. #: guix-git/doc/guix.texi:31265
  45955. 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."
  45956. msgstr ""
  45957. #. type: deftp
  45958. #: guix-git/doc/guix.texi:31267
  45959. #, no-wrap
  45960. msgid "{Data Type} guix-data-service-configuration"
  45961. msgstr ""
  45962. #. type: deftp
  45963. #: guix-git/doc/guix.texi:31269
  45964. msgid "Data type representing the configuration of the Guix Data Service."
  45965. msgstr ""
  45966. #. type: item
  45967. #: guix-git/doc/guix.texi:31271
  45968. #, no-wrap
  45969. msgid "@code{package} (default: @code{guix-data-service})"
  45970. msgstr ""
  45971. #. type: table
  45972. #: guix-git/doc/guix.texi:31273
  45973. msgid "The Guix Data Service package to use."
  45974. msgstr ""
  45975. #. type: item
  45976. #: guix-git/doc/guix.texi:31274
  45977. #, no-wrap
  45978. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  45979. msgstr ""
  45980. #. type: item
  45981. #: guix-git/doc/guix.texi:31277
  45982. #, no-wrap
  45983. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  45984. msgstr ""
  45985. #. type: item
  45986. #: guix-git/doc/guix.texi:31280
  45987. #, no-wrap
  45988. msgid "@code{port} (default: @code{8765})"
  45989. msgstr ""
  45990. #. type: table
  45991. #: guix-git/doc/guix.texi:31282
  45992. msgid "The port to bind the web service to."
  45993. msgstr ""
  45994. #. type: item
  45995. #: guix-git/doc/guix.texi:31283
  45996. #, no-wrap
  45997. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  45998. msgstr ""
  45999. #. type: table
  46000. #: guix-git/doc/guix.texi:31285
  46001. msgid "The host to bind the web service to."
  46002. msgstr ""
  46003. #. type: item
  46004. #: guix-git/doc/guix.texi:31286
  46005. #, no-wrap
  46006. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  46007. msgstr ""
  46008. #. type: table
  46009. #: guix-git/doc/guix.texi:31289
  46010. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  46011. msgstr ""
  46012. #. type: item
  46013. #: guix-git/doc/guix.texi:31290
  46014. #, no-wrap
  46015. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  46016. msgstr ""
  46017. #. type: table
  46018. #: guix-git/doc/guix.texi:31294
  46019. 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."
  46020. msgstr ""
  46021. #. type: item
  46022. #: guix-git/doc/guix.texi:31295
  46023. #, no-wrap
  46024. msgid "@code{extra-options} (default: @var{'()})"
  46025. msgstr ""
  46026. #. type: table
  46027. #: guix-git/doc/guix.texi:31297
  46028. msgid "Extra command line options for @code{guix-data-service}."
  46029. msgstr ""
  46030. #. type: item
  46031. #: guix-git/doc/guix.texi:31298
  46032. #, no-wrap
  46033. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  46034. msgstr ""
  46035. #. type: table
  46036. #: guix-git/doc/guix.texi:31300
  46037. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  46038. msgstr ""
  46039. #. type: cindex
  46040. #: guix-git/doc/guix.texi:31307
  46041. #, no-wrap
  46042. msgid "oom"
  46043. msgstr ""
  46044. #. type: cindex
  46045. #: guix-git/doc/guix.texi:31308
  46046. #, no-wrap
  46047. msgid "out of memory killer"
  46048. msgstr ""
  46049. #. type: cindex
  46050. #: guix-git/doc/guix.texi:31309
  46051. #, no-wrap
  46052. msgid "earlyoom"
  46053. msgstr ""
  46054. #. type: cindex
  46055. #: guix-git/doc/guix.texi:31310
  46056. #, no-wrap
  46057. msgid "early out of memory daemon"
  46058. msgstr ""
  46059. #. type: subsubheading
  46060. #: guix-git/doc/guix.texi:31311
  46061. #, no-wrap
  46062. msgid "Early OOM Service"
  46063. msgstr ""
  46064. #. type: Plain text
  46065. #: guix-git/doc/guix.texi:31318
  46066. 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."
  46067. msgstr ""
  46068. #. type: deffn
  46069. #: guix-git/doc/guix.texi:31319
  46070. #, no-wrap
  46071. msgid "{Scheme Variable} earlyoom-service-type"
  46072. msgstr ""
  46073. #. type: deffn
  46074. #: guix-git/doc/guix.texi:31324
  46075. 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:"
  46076. msgstr ""
  46077. #. type: lisp
  46078. #: guix-git/doc/guix.texi:31327
  46079. #, no-wrap
  46080. msgid "(service earlyoom-service-type)\n"
  46081. msgstr ""
  46082. #. type: deftp
  46083. #: guix-git/doc/guix.texi:31330
  46084. #, no-wrap
  46085. msgid "{Data Type} earlyoom-configuration"
  46086. msgstr ""
  46087. #. type: deftp
  46088. #: guix-git/doc/guix.texi:31332
  46089. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  46090. msgstr ""
  46091. #. type: item
  46092. #: guix-git/doc/guix.texi:31334
  46093. #, no-wrap
  46094. msgid "@code{earlyoom} (default: @var{earlyoom})"
  46095. msgstr ""
  46096. #. type: table
  46097. #: guix-git/doc/guix.texi:31336
  46098. msgid "The Earlyoom package to use."
  46099. msgstr ""
  46100. #. type: item
  46101. #: guix-git/doc/guix.texi:31337
  46102. #, no-wrap
  46103. msgid "@code{minimum-available-memory} (default: @code{10})"
  46104. msgstr ""
  46105. #. type: table
  46106. #: guix-git/doc/guix.texi:31339
  46107. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  46108. msgstr ""
  46109. #. type: item
  46110. #: guix-git/doc/guix.texi:31340
  46111. #, no-wrap
  46112. msgid "@code{minimum-free-swap} (default: @code{10})"
  46113. msgstr ""
  46114. #. type: table
  46115. #: guix-git/doc/guix.texi:31342
  46116. msgid "The threshold for the minimum free swap memory, in percentages."
  46117. msgstr ""
  46118. #. type: item
  46119. #: guix-git/doc/guix.texi:31343
  46120. #, no-wrap
  46121. msgid "@code{prefer-regexp} (default: @code{#f})"
  46122. msgstr ""
  46123. #. type: table
  46124. #: guix-git/doc/guix.texi:31346
  46125. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  46126. msgstr ""
  46127. #. type: item
  46128. #: guix-git/doc/guix.texi:31347
  46129. #, no-wrap
  46130. msgid "@code{avoid-regexp} (default: @code{#f})"
  46131. msgstr ""
  46132. #. type: table
  46133. #: guix-git/doc/guix.texi:31350
  46134. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  46135. msgstr ""
  46136. #. type: item
  46137. #: guix-git/doc/guix.texi:31351
  46138. #, no-wrap
  46139. msgid "@code{memory-report-interval} (default: @code{0})"
  46140. msgstr ""
  46141. #. type: table
  46142. #: guix-git/doc/guix.texi:31354
  46143. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  46144. msgstr ""
  46145. #. type: item
  46146. #: guix-git/doc/guix.texi:31355
  46147. #, no-wrap
  46148. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  46149. msgstr ""
  46150. #. type: table
  46151. #: guix-git/doc/guix.texi:31358
  46152. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  46153. msgstr ""
  46154. #. type: item
  46155. #: guix-git/doc/guix.texi:31359
  46156. #, no-wrap
  46157. msgid "@code{show-debug-messages?} (default: @code{#f})"
  46158. msgstr ""
  46159. #. type: table
  46160. #: guix-git/doc/guix.texi:31362
  46161. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  46162. msgstr ""
  46163. #. type: item
  46164. #: guix-git/doc/guix.texi:31363
  46165. #, no-wrap
  46166. msgid "@code{send-notification-command} (default: @code{#f})"
  46167. msgstr ""
  46168. #. type: table
  46169. #: guix-git/doc/guix.texi:31366
  46170. msgid "This can be used to provide a custom command used for sending notifications."
  46171. msgstr ""
  46172. #. type: cindex
  46173. #: guix-git/doc/guix.texi:31369
  46174. #, no-wrap
  46175. msgid "modprobe"
  46176. msgstr ""
  46177. #. type: cindex
  46178. #: guix-git/doc/guix.texi:31370
  46179. #, no-wrap
  46180. msgid "kernel module loader"
  46181. msgstr ""
  46182. #. type: subsubheading
  46183. #: guix-git/doc/guix.texi:31371
  46184. #, no-wrap
  46185. msgid "Kernel Module Loader Service"
  46186. msgstr ""
  46187. #. type: Plain text
  46188. #: guix-git/doc/guix.texi:31377
  46189. 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 it's the case with @code{ddcci}."
  46190. msgstr ""
  46191. #. type: deffn
  46192. #: guix-git/doc/guix.texi:31378
  46193. #, no-wrap
  46194. msgid "{Scheme Variable} kernel-module-loader-service-type"
  46195. msgstr ""
  46196. #. type: deffn
  46197. #: guix-git/doc/guix.texi:31384
  46198. 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:"
  46199. msgstr ""
  46200. #. type: lisp
  46201. #: guix-git/doc/guix.texi:31389
  46202. #, no-wrap
  46203. msgid ""
  46204. "(use-modules (gnu) (gnu services))\n"
  46205. "(use-package-modules linux)\n"
  46206. "(use-service-modules linux)\n"
  46207. "\n"
  46208. msgstr ""
  46209. #. type: lisp
  46210. #: guix-git/doc/guix.texi:31393
  46211. #, no-wrap
  46212. msgid ""
  46213. "(define ddcci-config\n"
  46214. " (plain-file \"ddcci.conf\"\n"
  46215. " \"options ddcci dyndbg delay=120\"))\n"
  46216. "\n"
  46217. msgstr ""
  46218. #. type: lisp
  46219. #: guix-git/doc/guix.texi:31403
  46220. #, no-wrap
  46221. msgid ""
  46222. "(operating-system\n"
  46223. " ...\n"
  46224. " (services (cons* (service kernel-module-loader-service-type\n"
  46225. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  46226. " (simple-service 'ddcci-config etc-service-type\n"
  46227. " (list `(\"modprobe.d/ddcci.conf\"\n"
  46228. " ,ddcci-config)))\n"
  46229. " %base-services))\n"
  46230. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  46231. msgstr ""
  46232. #. type: cindex
  46233. #: guix-git/doc/guix.texi:31406
  46234. #, no-wrap
  46235. msgid "zram"
  46236. msgstr ""
  46237. #. type: cindex
  46238. #: guix-git/doc/guix.texi:31407
  46239. #, no-wrap
  46240. msgid "compressed swap"
  46241. msgstr ""
  46242. #. type: cindex
  46243. #: guix-git/doc/guix.texi:31408
  46244. #, no-wrap
  46245. msgid "Compressed RAM-based block devices"
  46246. msgstr ""
  46247. #. type: subsubheading
  46248. #: guix-git/doc/guix.texi:31409
  46249. #, no-wrap
  46250. msgid "Zram Device Service"
  46251. msgstr ""
  46252. #. type: Plain text
  46253. #: guix-git/doc/guix.texi:31415
  46254. 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."
  46255. msgstr ""
  46256. #. type: deffn
  46257. #: guix-git/doc/guix.texi:31416
  46258. #, no-wrap
  46259. msgid "{Scheme Variable} zram-device-service-type"
  46260. msgstr ""
  46261. #. type: deffn
  46262. #: guix-git/doc/guix.texi:31420
  46263. 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."
  46264. msgstr ""
  46265. #. type: deftp
  46266. #: guix-git/doc/guix.texi:31421
  46267. #, no-wrap
  46268. msgid "{Data Type} zram-device-configuration"
  46269. msgstr ""
  46270. #. type: deftp
  46271. #: guix-git/doc/guix.texi:31424
  46272. msgid "This is the data type representing the configuration for the zram-device service."
  46273. msgstr ""
  46274. #. type: item
  46275. #: guix-git/doc/guix.texi:31426
  46276. #, no-wrap
  46277. msgid "@code{size} (default @code{\"1G\"})"
  46278. msgstr ""
  46279. #. type: table
  46280. #: guix-git/doc/guix.texi:31430
  46281. 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}."
  46282. msgstr ""
  46283. #. type: item
  46284. #: guix-git/doc/guix.texi:31430
  46285. #, no-wrap
  46286. msgid "@code{compression-algorithm} (default @code{'lzo})"
  46287. msgstr ""
  46288. #. type: table
  46289. #: guix-git/doc/guix.texi:31434
  46290. 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}."
  46291. msgstr ""
  46292. #. type: item
  46293. #: guix-git/doc/guix.texi:31434
  46294. #, no-wrap
  46295. msgid "@code{memory-limit} (default @code{0})"
  46296. msgstr ""
  46297. #. type: table
  46298. #: guix-git/doc/guix.texi:31441
  46299. 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\"}."
  46300. msgstr ""
  46301. #. type: item
  46302. #: guix-git/doc/guix.texi:31441
  46303. #, no-wrap
  46304. msgid "@code{priority} (default @code{-1})"
  46305. msgstr ""
  46306. #. type: table
  46307. #: guix-git/doc/guix.texi:31446
  46308. 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."
  46309. msgstr ""
  46310. #. type: defvr
  46311. #: guix-git/doc/guix.texi:31454
  46312. #, no-wrap
  46313. msgid "{Scheme Variable} hurd-console-service-type"
  46314. msgstr ""
  46315. #. type: defvr
  46316. #: guix-git/doc/guix.texi:31456
  46317. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  46318. msgstr ""
  46319. #. type: defvr
  46320. #: guix-git/doc/guix.texi:31458
  46321. msgid "The service's value is a @code{hurd-console-configuration} record."
  46322. msgstr ""
  46323. #. type: deftp
  46324. #: guix-git/doc/guix.texi:31460
  46325. #, no-wrap
  46326. msgid "{Data Type} hurd-console-configuration"
  46327. msgstr ""
  46328. #. type: deftp
  46329. #: guix-git/doc/guix.texi:31463
  46330. msgid "This is the data type representing the configuration for the hurd-console-service."
  46331. msgstr ""
  46332. #. type: item
  46333. #: guix-git/doc/guix.texi:31465 guix-git/doc/guix.texi:31481
  46334. #, no-wrap
  46335. msgid "@code{hurd} (default: @var{hurd})"
  46336. msgstr ""
  46337. #. type: table
  46338. #: guix-git/doc/guix.texi:31467 guix-git/doc/guix.texi:31483
  46339. msgid "The Hurd package to use."
  46340. msgstr ""
  46341. #. type: defvr
  46342. #: guix-git/doc/guix.texi:31470
  46343. #, no-wrap
  46344. msgid "{Scheme Variable} hurd-getty-service-type"
  46345. msgstr ""
  46346. #. type: defvr
  46347. #: guix-git/doc/guix.texi:31472
  46348. msgid "This service starts a tty using the Hurd @code{getty} program."
  46349. msgstr ""
  46350. #. type: defvr
  46351. #: guix-git/doc/guix.texi:31474
  46352. msgid "The service's value is a @code{hurd-getty-configuration} record."
  46353. msgstr ""
  46354. #. type: deftp
  46355. #: guix-git/doc/guix.texi:31476
  46356. #, no-wrap
  46357. msgid "{Data Type} hurd-getty-configuration"
  46358. msgstr ""
  46359. #. type: deftp
  46360. #: guix-git/doc/guix.texi:31479
  46361. msgid "This is the data type representing the configuration for the hurd-getty-service."
  46362. msgstr ""
  46363. #. type: table
  46364. #: guix-git/doc/guix.texi:31486
  46365. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  46366. msgstr ""
  46367. #. type: item
  46368. #: guix-git/doc/guix.texi:31487
  46369. #, no-wrap
  46370. msgid "@code{baud-rate} (default: @code{38400})"
  46371. msgstr ""
  46372. #. type: table
  46373. #: guix-git/doc/guix.texi:31489
  46374. msgid "An integer specifying the baud rate of the tty."
  46375. msgstr ""
  46376. #. type: cindex
  46377. #: guix-git/doc/guix.texi:31496
  46378. #, no-wrap
  46379. msgid "fingerprint"
  46380. msgstr ""
  46381. #. type: subsubheading
  46382. #: guix-git/doc/guix.texi:31497
  46383. #, no-wrap
  46384. msgid "Fingerprint Service"
  46385. msgstr ""
  46386. #. type: Plain text
  46387. #: guix-git/doc/guix.texi:31501
  46388. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  46389. msgstr ""
  46390. #. type: defvr
  46391. #: guix-git/doc/guix.texi:31502
  46392. #, no-wrap
  46393. msgid "{Scheme Variable} fprintd-service-type"
  46394. msgstr ""
  46395. #. type: defvr
  46396. #: guix-git/doc/guix.texi:31505
  46397. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  46398. msgstr ""
  46399. #. type: lisp
  46400. #: guix-git/doc/guix.texi:31508
  46401. #, no-wrap
  46402. msgid "(service fprintd-service-type)\n"
  46403. msgstr ""
  46404. #. type: cindex
  46405. #: guix-git/doc/guix.texi:31511
  46406. #, no-wrap
  46407. msgid "sysctl"
  46408. msgstr ""
  46409. #. type: subsubheading
  46410. #: guix-git/doc/guix.texi:31512
  46411. #, no-wrap
  46412. msgid "System Control Service"
  46413. msgstr ""
  46414. #. type: Plain text
  46415. #: guix-git/doc/guix.texi:31516
  46416. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  46417. msgstr ""
  46418. #. type: defvr
  46419. #: guix-git/doc/guix.texi:31517
  46420. #, no-wrap
  46421. msgid "{Scheme Variable} sysctl-service-type"
  46422. msgstr ""
  46423. #. type: defvr
  46424. #: guix-git/doc/guix.texi:31521
  46425. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  46426. msgstr ""
  46427. #. type: lisp
  46428. #: guix-git/doc/guix.texi:31526
  46429. #, no-wrap
  46430. msgid ""
  46431. "(service sysctl-service-type\n"
  46432. " (sysctl-configuration\n"
  46433. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  46434. msgstr ""
  46435. #. type: defvr
  46436. #: guix-git/doc/guix.texi:31533
  46437. 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}})."
  46438. msgstr ""
  46439. #. type: lisp
  46440. #: guix-git/doc/guix.texi:31540
  46441. #, no-wrap
  46442. msgid ""
  46443. "(modify-services %base-services\n"
  46444. " (sysctl-service-type config =>\n"
  46445. " (sysctl-configuration\n"
  46446. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  46447. " %default-sysctl-settings)))))\n"
  46448. msgstr ""
  46449. #. type: deftp
  46450. #: guix-git/doc/guix.texi:31544
  46451. #, no-wrap
  46452. msgid "{Data Type} sysctl-configuration"
  46453. msgstr ""
  46454. #. type: deftp
  46455. #: guix-git/doc/guix.texi:31546
  46456. msgid "The data type representing the configuration of @command{sysctl}."
  46457. msgstr ""
  46458. #. type: item
  46459. #: guix-git/doc/guix.texi:31548
  46460. #, no-wrap
  46461. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  46462. msgstr ""
  46463. #. type: table
  46464. #: guix-git/doc/guix.texi:31550
  46465. msgid "The @command{sysctl} executable to use."
  46466. msgstr ""
  46467. #. type: item
  46468. #: guix-git/doc/guix.texi:31551
  46469. #, no-wrap
  46470. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  46471. msgstr ""
  46472. #. type: table
  46473. #: guix-git/doc/guix.texi:31553
  46474. msgid "An association list specifies kernel parameters and their values."
  46475. msgstr ""
  46476. #. type: defvr
  46477. #: guix-git/doc/guix.texi:31556
  46478. #, no-wrap
  46479. msgid "{Scheme Variable} %default-sysctl-settings"
  46480. msgstr ""
  46481. #. type: defvr
  46482. #: guix-git/doc/guix.texi:31559
  46483. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  46484. msgstr ""
  46485. #. type: cindex
  46486. #: guix-git/doc/guix.texi:31561
  46487. #, no-wrap
  46488. msgid "pcscd"
  46489. msgstr ""
  46490. #. type: subsubheading
  46491. #: guix-git/doc/guix.texi:31562
  46492. #, no-wrap
  46493. msgid "PC/SC Smart Card Daemon Service"
  46494. msgstr ""
  46495. #. type: Plain text
  46496. #: guix-git/doc/guix.texi:31569
  46497. 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."
  46498. msgstr ""
  46499. #. type: defvr
  46500. #: guix-git/doc/guix.texi:31570
  46501. #, no-wrap
  46502. msgid "{Scheme Variable} pcscd-service-type"
  46503. msgstr ""
  46504. #. type: defvr
  46505. #: guix-git/doc/guix.texi:31574
  46506. 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:"
  46507. msgstr ""
  46508. #. type: lisp
  46509. #: guix-git/doc/guix.texi:31577
  46510. #, no-wrap
  46511. msgid "(service pcscd-service-type)\n"
  46512. msgstr ""
  46513. #. type: deftp
  46514. #: guix-git/doc/guix.texi:31580
  46515. #, no-wrap
  46516. msgid "{Data Type} pcscd-configuration"
  46517. msgstr ""
  46518. #. type: deftp
  46519. #: guix-git/doc/guix.texi:31582
  46520. msgid "The data type representing the configuration of @command{pcscd}."
  46521. msgstr ""
  46522. #. type: item
  46523. #: guix-git/doc/guix.texi:31584
  46524. #, no-wrap
  46525. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  46526. msgstr ""
  46527. #. type: table
  46528. #: guix-git/doc/guix.texi:31586
  46529. msgid "The pcsc-lite package that provides pcscd."
  46530. msgstr ""
  46531. #. type: item
  46532. #: guix-git/doc/guix.texi:31586
  46533. #, no-wrap
  46534. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  46535. msgstr ""
  46536. #. type: table
  46537. #: guix-git/doc/guix.texi:31589
  46538. 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."
  46539. msgstr ""
  46540. #. type: cindex
  46541. #: guix-git/doc/guix.texi:31592
  46542. #, no-wrap
  46543. msgid "lirc"
  46544. msgstr ""
  46545. #. type: subsubheading
  46546. #: guix-git/doc/guix.texi:31593
  46547. #, no-wrap
  46548. msgid "Lirc Service"
  46549. msgstr ""
  46550. #. type: Plain text
  46551. #: guix-git/doc/guix.texi:31596
  46552. msgid "The @code{(gnu services lirc)} module provides the following service."
  46553. msgstr ""
  46554. #. type: deffn
  46555. #: guix-git/doc/guix.texi:31597
  46556. #, no-wrap
  46557. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  46558. msgstr ""
  46559. #. type: deffn
  46560. #: guix-git/doc/guix.texi:31602
  46561. 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."
  46562. msgstr ""
  46563. #. type: deffn
  46564. #: guix-git/doc/guix.texi:31606
  46565. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  46566. msgstr ""
  46567. #. type: deffn
  46568. #: guix-git/doc/guix.texi:31609
  46569. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  46570. msgstr ""
  46571. #. type: cindex
  46572. #: guix-git/doc/guix.texi:31611
  46573. #, no-wrap
  46574. msgid "spice"
  46575. msgstr ""
  46576. #. type: subsubheading
  46577. #: guix-git/doc/guix.texi:31612
  46578. #, no-wrap
  46579. msgid "Spice Service"
  46580. msgstr ""
  46581. #. type: Plain text
  46582. #: guix-git/doc/guix.texi:31615
  46583. msgid "The @code{(gnu services spice)} module provides the following service."
  46584. msgstr ""
  46585. #. type: deffn
  46586. #: guix-git/doc/guix.texi:31616
  46587. #, no-wrap
  46588. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  46589. msgstr ""
  46590. #. type: deffn
  46591. #: guix-git/doc/guix.texi:31620
  46592. 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."
  46593. msgstr ""
  46594. #. type: cindex
  46595. #: guix-git/doc/guix.texi:31622
  46596. #, no-wrap
  46597. msgid "inputattach"
  46598. msgstr ""
  46599. #. type: subsubheading
  46600. #: guix-git/doc/guix.texi:31623
  46601. #, no-wrap
  46602. msgid "inputattach Service"
  46603. msgstr ""
  46604. #. type: cindex
  46605. #: guix-git/doc/guix.texi:31625
  46606. #, no-wrap
  46607. msgid "tablet input, for Xorg"
  46608. msgstr ""
  46609. #. type: cindex
  46610. #: guix-git/doc/guix.texi:31626
  46611. #, no-wrap
  46612. msgid "touchscreen input, for Xorg"
  46613. msgstr ""
  46614. #. type: Plain text
  46615. #: guix-git/doc/guix.texi:31630
  46616. 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."
  46617. msgstr ""
  46618. #. type: deffn
  46619. #: guix-git/doc/guix.texi:31631
  46620. #, no-wrap
  46621. msgid "{Scheme Variable} inputattach-service-type"
  46622. msgstr ""
  46623. #. type: deffn
  46624. #: guix-git/doc/guix.texi:31634
  46625. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  46626. msgstr ""
  46627. #. type: deftp
  46628. #: guix-git/doc/guix.texi:31636
  46629. #, no-wrap
  46630. msgid "{Data Type} inputattach-configuration"
  46631. msgstr ""
  46632. #. type: item
  46633. #: guix-git/doc/guix.texi:31638
  46634. #, no-wrap
  46635. msgid "@code{device-type} (default: @code{\"wacom\"})"
  46636. msgstr ""
  46637. #. type: table
  46638. #: guix-git/doc/guix.texi:31641
  46639. 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."
  46640. msgstr ""
  46641. #. type: item
  46642. #: guix-git/doc/guix.texi:31642
  46643. #, no-wrap
  46644. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  46645. msgstr ""
  46646. #. type: table
  46647. #: guix-git/doc/guix.texi:31644
  46648. msgid "The device file to connect to the device."
  46649. msgstr ""
  46650. #. type: table
  46651. #: guix-git/doc/guix.texi:31648
  46652. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  46653. msgstr ""
  46654. #. type: item
  46655. #: guix-git/doc/guix.texi:31649
  46656. #, no-wrap
  46657. msgid "@code{log-file} (default: @code{#f})"
  46658. msgstr ""
  46659. #. type: table
  46660. #: guix-git/doc/guix.texi:31651
  46661. msgid "If true, this must be the name of a file to log messages to."
  46662. msgstr ""
  46663. #. type: subsubheading
  46664. #: guix-git/doc/guix.texi:31654
  46665. #, no-wrap
  46666. msgid "Dictionary Service"
  46667. msgstr ""
  46668. #. type: cindex
  46669. #: guix-git/doc/guix.texi:31655
  46670. #, no-wrap
  46671. msgid "dictionary"
  46672. msgstr ""
  46673. #. type: Plain text
  46674. #: guix-git/doc/guix.texi:31657
  46675. msgid "The @code{(gnu services dict)} module provides the following service:"
  46676. msgstr ""
  46677. #. type: defvr
  46678. #: guix-git/doc/guix.texi:31658
  46679. #, no-wrap
  46680. msgid "{Scheme Variable} dicod-service-type"
  46681. msgstr ""
  46682. #. type: defvr
  46683. #: guix-git/doc/guix.texi:31661
  46684. 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})."
  46685. msgstr ""
  46686. #. type: deffn
  46687. #: guix-git/doc/guix.texi:31663
  46688. #, no-wrap
  46689. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  46690. msgstr ""
  46691. #. type: deffn
  46692. #: guix-git/doc/guix.texi:31666
  46693. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  46694. msgstr ""
  46695. #. type: deffn
  46696. #: guix-git/doc/guix.texi:31670
  46697. 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."
  46698. msgstr ""
  46699. #. type: deffn
  46700. #: guix-git/doc/guix.texi:31674
  46701. 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})."
  46702. msgstr ""
  46703. #. type: deftp
  46704. #: guix-git/doc/guix.texi:31676
  46705. #, no-wrap
  46706. msgid "{Data Type} dicod-configuration"
  46707. msgstr ""
  46708. #. type: deftp
  46709. #: guix-git/doc/guix.texi:31678
  46710. msgid "Data type representing the configuration of dicod."
  46711. msgstr ""
  46712. #. type: item
  46713. #: guix-git/doc/guix.texi:31680
  46714. #, no-wrap
  46715. msgid "@code{dico} (default: @var{dico})"
  46716. msgstr ""
  46717. #. type: table
  46718. #: guix-git/doc/guix.texi:31682
  46719. msgid "Package object of the GNU Dico dictionary server."
  46720. msgstr ""
  46721. #. type: item
  46722. #: guix-git/doc/guix.texi:31683
  46723. #, no-wrap
  46724. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  46725. msgstr ""
  46726. #. type: table
  46727. #: guix-git/doc/guix.texi:31687
  46728. 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})."
  46729. msgstr ""
  46730. #. type: item
  46731. #: guix-git/doc/guix.texi:31688
  46732. #, no-wrap
  46733. msgid "@code{handlers} (default: @var{'()})"
  46734. msgstr ""
  46735. #. type: table
  46736. #: guix-git/doc/guix.texi:31690
  46737. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  46738. msgstr ""
  46739. #. type: item
  46740. #: guix-git/doc/guix.texi:31691
  46741. #, no-wrap
  46742. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  46743. msgstr ""
  46744. #. type: table
  46745. #: guix-git/doc/guix.texi:31693
  46746. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  46747. msgstr ""
  46748. #. type: deftp
  46749. #: guix-git/doc/guix.texi:31696
  46750. #, no-wrap
  46751. msgid "{Data Type} dicod-handler"
  46752. msgstr ""
  46753. #. type: deftp
  46754. #: guix-git/doc/guix.texi:31698
  46755. msgid "Data type representing a dictionary handler (module instance)."
  46756. msgstr ""
  46757. #. type: table
  46758. #: guix-git/doc/guix.texi:31702
  46759. msgid "Name of the handler (module instance)."
  46760. msgstr ""
  46761. #. type: item
  46762. #: guix-git/doc/guix.texi:31703
  46763. #, no-wrap
  46764. msgid "@code{module} (default: @var{#f})"
  46765. msgstr ""
  46766. #. type: table
  46767. #: guix-git/doc/guix.texi:31707
  46768. 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})."
  46769. msgstr ""
  46770. #. type: table
  46771. #: guix-git/doc/guix.texi:31710
  46772. msgid "List of strings or gexps representing the arguments for the module handler"
  46773. msgstr ""
  46774. #. type: deftp
  46775. #: guix-git/doc/guix.texi:31713
  46776. #, no-wrap
  46777. msgid "{Data Type} dicod-database"
  46778. msgstr ""
  46779. #. type: deftp
  46780. #: guix-git/doc/guix.texi:31715
  46781. msgid "Data type representing a dictionary database."
  46782. msgstr ""
  46783. #. type: table
  46784. #: guix-git/doc/guix.texi:31719
  46785. msgid "Name of the database, will be used in DICT commands."
  46786. msgstr ""
  46787. #. type: code{#1}
  46788. #: guix-git/doc/guix.texi:31720
  46789. #, no-wrap
  46790. msgid "handler"
  46791. msgstr ""
  46792. #. type: table
  46793. #: guix-git/doc/guix.texi:31723
  46794. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  46795. msgstr ""
  46796. #. type: item
  46797. #: guix-git/doc/guix.texi:31724
  46798. #, no-wrap
  46799. msgid "@code{complex?} (default: @var{#f})"
  46800. msgstr ""
  46801. #. type: table
  46802. #: guix-git/doc/guix.texi:31727
  46803. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  46804. msgstr ""
  46805. #. type: table
  46806. #: guix-git/doc/guix.texi:31731
  46807. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  46808. msgstr ""
  46809. #. type: defvr
  46810. #: guix-git/doc/guix.texi:31734
  46811. #, no-wrap
  46812. msgid "{Scheme Variable} %dicod-database:gcide"
  46813. msgstr ""
  46814. #. type: defvr
  46815. #: guix-git/doc/guix.texi:31737
  46816. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  46817. msgstr ""
  46818. #. type: Plain text
  46819. #: guix-git/doc/guix.texi:31740
  46820. msgid "The following is an example @code{dicod-service} configuration."
  46821. msgstr ""
  46822. #. type: lisp
  46823. #: guix-git/doc/guix.texi:31755
  46824. #, no-wrap
  46825. msgid ""
  46826. "(dicod-service #:config\n"
  46827. " (dicod-configuration\n"
  46828. " (handlers (list (dicod-handler\n"
  46829. " (name \"wordnet\")\n"
  46830. " (module \"dictorg\")\n"
  46831. " (options\n"
  46832. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  46833. " (databases (list (dicod-database\n"
  46834. " (name \"wordnet\")\n"
  46835. " (complex? #t)\n"
  46836. " (handler \"wordnet\")\n"
  46837. " (options '(\"database=wn\")))\n"
  46838. " %dicod-database:gcide))))\n"
  46839. msgstr ""
  46840. #. type: cindex
  46841. #: guix-git/doc/guix.texi:31757
  46842. #, no-wrap
  46843. msgid "Docker"
  46844. msgstr ""
  46845. #. type: subsubheading
  46846. #: guix-git/doc/guix.texi:31758
  46847. #, no-wrap
  46848. msgid "Docker Service"
  46849. msgstr ""
  46850. #. type: Plain text
  46851. #: guix-git/doc/guix.texi:31761
  46852. msgid "The @code{(gnu services docker)} module provides the following services."
  46853. msgstr ""
  46854. #. type: defvr
  46855. #: guix-git/doc/guix.texi:31762
  46856. #, no-wrap
  46857. msgid "{Scheme Variable} docker-service-type"
  46858. msgstr ""
  46859. #. type: defvr
  46860. #: guix-git/doc/guix.texi:31767
  46861. 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."
  46862. msgstr ""
  46863. #. type: deftp
  46864. #: guix-git/doc/guix.texi:31770
  46865. #, no-wrap
  46866. msgid "{Data Type} docker-configuration"
  46867. msgstr ""
  46868. #. type: deftp
  46869. #: guix-git/doc/guix.texi:31772
  46870. msgid "This is the data type representing the configuration of Docker and Containerd."
  46871. msgstr ""
  46872. #. type: item
  46873. #: guix-git/doc/guix.texi:31775
  46874. #, no-wrap
  46875. msgid "@code{package} (default: @code{docker})"
  46876. msgstr ""
  46877. #. type: table
  46878. #: guix-git/doc/guix.texi:31777
  46879. msgid "The Docker daemon package to use."
  46880. msgstr ""
  46881. #. type: item
  46882. #: guix-git/doc/guix.texi:31778
  46883. #, no-wrap
  46884. msgid "@code{package} (default: @code{docker-cli})"
  46885. msgstr ""
  46886. #. type: table
  46887. #: guix-git/doc/guix.texi:31780
  46888. msgid "The Docker client package to use."
  46889. msgstr ""
  46890. #. type: item
  46891. #: guix-git/doc/guix.texi:31781
  46892. #, no-wrap
  46893. msgid "@code{containerd} (default: @var{containerd})"
  46894. msgstr ""
  46895. #. type: table
  46896. #: guix-git/doc/guix.texi:31783
  46897. msgid "The Containerd package to use."
  46898. msgstr ""
  46899. #. type: item
  46900. #: guix-git/doc/guix.texi:31784
  46901. #, no-wrap
  46902. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  46903. msgstr ""
  46904. #. type: table
  46905. #: guix-git/doc/guix.texi:31786
  46906. msgid "The Docker user-land networking proxy package to use."
  46907. msgstr ""
  46908. #. type: item
  46909. #: guix-git/doc/guix.texi:31787
  46910. #, no-wrap
  46911. msgid "@code{enable-proxy?} (default @code{#t})"
  46912. msgstr ""
  46913. #. type: table
  46914. #: guix-git/doc/guix.texi:31789
  46915. msgid "Enable or disable the use of the Docker user-land networking proxy."
  46916. msgstr ""
  46917. #. type: item
  46918. #: guix-git/doc/guix.texi:31790
  46919. #, no-wrap
  46920. msgid "@code{debug?} (default @code{#f})"
  46921. msgstr ""
  46922. #. type: table
  46923. #: guix-git/doc/guix.texi:31792
  46924. msgid "Enable or disable debug output."
  46925. msgstr ""
  46926. #. type: item
  46927. #: guix-git/doc/guix.texi:31793
  46928. #, no-wrap
  46929. msgid "@code{enable-iptables?} (default @code{#t})"
  46930. msgstr ""
  46931. #. type: table
  46932. #: guix-git/doc/guix.texi:31795
  46933. msgid "Enable or disable the addition of iptables rules."
  46934. msgstr ""
  46935. #. type: cindex
  46936. #: guix-git/doc/guix.texi:31799
  46937. #, no-wrap
  46938. msgid "Singularity, container service"
  46939. msgstr ""
  46940. #. type: defvr
  46941. #: guix-git/doc/guix.texi:31800
  46942. #, no-wrap
  46943. msgid "{Scheme Variable} singularity-service-type"
  46944. msgstr ""
  46945. #. type: defvr
  46946. #: guix-git/doc/guix.texi:31805
  46947. 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."
  46948. msgstr ""
  46949. #. type: defvr
  46950. #: guix-git/doc/guix.texi:31809
  46951. 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."
  46952. msgstr ""
  46953. #. type: cindex
  46954. #: guix-git/doc/guix.texi:31811
  46955. #, no-wrap
  46956. msgid "Audit"
  46957. msgstr ""
  46958. #. type: subsubheading
  46959. #: guix-git/doc/guix.texi:31812
  46960. #, no-wrap
  46961. msgid "Auditd Service"
  46962. msgstr ""
  46963. #. type: Plain text
  46964. #: guix-git/doc/guix.texi:31815
  46965. msgid "The @code{(gnu services auditd)} module provides the following service."
  46966. msgstr ""
  46967. #. type: defvr
  46968. #: guix-git/doc/guix.texi:31816
  46969. #, no-wrap
  46970. msgid "{Scheme Variable} auditd-service-type"
  46971. msgstr ""
  46972. #. type: defvr
  46973. #: guix-git/doc/guix.texi:31821
  46974. 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."
  46975. msgstr ""
  46976. #. type: defvr
  46977. #: guix-git/doc/guix.texi:31823
  46978. msgid "Examples of things that can be tracked:"
  46979. msgstr ""
  46980. #. type: enumerate
  46981. #: guix-git/doc/guix.texi:31827
  46982. msgid "File accesses"
  46983. msgstr ""
  46984. #. type: enumerate
  46985. #: guix-git/doc/guix.texi:31829
  46986. msgid "System calls"
  46987. msgstr ""
  46988. #. type: enumerate
  46989. #: guix-git/doc/guix.texi:31831
  46990. msgid "Invoked commands"
  46991. msgstr ""
  46992. #. type: enumerate
  46993. #: guix-git/doc/guix.texi:31833
  46994. msgid "Failed login attempts"
  46995. msgstr ""
  46996. #. type: enumerate
  46997. #: guix-git/doc/guix.texi:31835
  46998. msgid "Firewall filtering"
  46999. msgstr ""
  47000. #. type: enumerate
  47001. #: guix-git/doc/guix.texi:31837
  47002. msgid "Network access"
  47003. msgstr ""
  47004. #. type: defvr
  47005. #: guix-git/doc/guix.texi:31848
  47006. 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}."
  47007. msgstr ""
  47008. #. type: deftp
  47009. #: guix-git/doc/guix.texi:31851
  47010. #, no-wrap
  47011. msgid "{Data Type} auditd-configuration"
  47012. msgstr ""
  47013. #. type: deftp
  47014. #: guix-git/doc/guix.texi:31853
  47015. msgid "This is the data type representing the configuration of auditd."
  47016. msgstr ""
  47017. #. type: item
  47018. #: guix-git/doc/guix.texi:31856
  47019. #, no-wrap
  47020. msgid "@code{audit} (default: @code{audit})"
  47021. msgstr ""
  47022. #. type: table
  47023. #: guix-git/doc/guix.texi:31858
  47024. msgid "The audit package to use."
  47025. msgstr ""
  47026. #. type: item
  47027. #: guix-git/doc/guix.texi:31859
  47028. #, no-wrap
  47029. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  47030. msgstr ""
  47031. #. type: table
  47032. #: guix-git/doc/guix.texi:31863
  47033. 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."
  47034. msgstr ""
  47035. #. type: cindex
  47036. #: guix-git/doc/guix.texi:31867
  47037. #, no-wrap
  47038. msgid "rshiny"
  47039. msgstr ""
  47040. #. type: subsubheading
  47041. #: guix-git/doc/guix.texi:31868
  47042. #, no-wrap
  47043. msgid "R-Shiny service"
  47044. msgstr ""
  47045. #. type: Plain text
  47046. #: guix-git/doc/guix.texi:31871
  47047. msgid "The @code{(gnu services science)} module provides the following service."
  47048. msgstr ""
  47049. #. type: defvr
  47050. #: guix-git/doc/guix.texi:31872
  47051. #, no-wrap
  47052. msgid "{Scheme Variable} rshiny-service-type"
  47053. msgstr ""
  47054. #. type: defvr
  47055. #: guix-git/doc/guix.texi:31877
  47056. 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}."
  47057. msgstr ""
  47058. #. type: deftp
  47059. #: guix-git/doc/guix.texi:31878
  47060. #, no-wrap
  47061. msgid "{Data Type} rshiny-configuration"
  47062. msgstr ""
  47063. #. type: deftp
  47064. #: guix-git/doc/guix.texi:31880
  47065. msgid "This is the data type representing the configuration of rshiny."
  47066. msgstr ""
  47067. #. type: item
  47068. #: guix-git/doc/guix.texi:31883
  47069. #, no-wrap
  47070. msgid "@code{package} (default: @code{r-shiny})"
  47071. msgstr ""
  47072. #. type: table
  47073. #: guix-git/doc/guix.texi:31885
  47074. msgid "The package to use."
  47075. msgstr ""
  47076. #. type: item
  47077. #: guix-git/doc/guix.texi:31886
  47078. #, no-wrap
  47079. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  47080. msgstr ""
  47081. #. type: table
  47082. #: guix-git/doc/guix.texi:31889
  47083. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  47084. msgstr ""
  47085. #. type: table
  47086. #: guix-git/doc/guix.texi:31891
  47087. msgid "The common way to create this file is as follows:"
  47088. msgstr ""
  47089. #. type: lisp
  47090. #: guix-git/doc/guix.texi:31909
  47091. #, no-wrap
  47092. msgid ""
  47093. "@dots{}\n"
  47094. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  47095. " (targetdir (string-append out \"/share/\" ,name))\n"
  47096. " (app (string-append out \"/bin/\" ,name))\n"
  47097. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  47098. " \"/bin/Rscript\")))\n"
  47099. " ;; @dots{}\n"
  47100. " (mkdir-p (string-append out \"/bin\"))\n"
  47101. " (call-with-output-file app\n"
  47102. " (lambda (port)\n"
  47103. " (format port\n"
  47104. "\"#!~a\n"
  47105. "library(shiny)\n"
  47106. "setwd(\\\"~a\\\")\n"
  47107. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  47108. " Rbin targetdir))))\n"
  47109. msgstr ""
  47110. #. type: cindex
  47111. #: guix-git/doc/guix.texi:31915
  47112. #, no-wrap
  47113. msgid "Nix"
  47114. msgstr ""
  47115. #. type: subsubheading
  47116. #: guix-git/doc/guix.texi:31916
  47117. #, no-wrap
  47118. msgid "Nix service"
  47119. msgstr ""
  47120. #. type: Plain text
  47121. #: guix-git/doc/guix.texi:31919
  47122. msgid "The @code{(gnu services nix)} module provides the following service."
  47123. msgstr ""
  47124. #. type: defvr
  47125. #: guix-git/doc/guix.texi:31920
  47126. #, no-wrap
  47127. msgid "{Scheme Variable} nix-service-type"
  47128. msgstr ""
  47129. #. type: defvr
  47130. #: guix-git/doc/guix.texi:31925
  47131. 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:"
  47132. msgstr ""
  47133. #. type: lisp
  47134. #: guix-git/doc/guix.texi:31930
  47135. #, no-wrap
  47136. msgid ""
  47137. "(use-modules (gnu))\n"
  47138. "(use-service-modules nix)\n"
  47139. "(use-package-modules package-management)\n"
  47140. "\n"
  47141. msgstr ""
  47142. #. type: lisp
  47143. #: guix-git/doc/guix.texi:31935
  47144. #, no-wrap
  47145. msgid ""
  47146. "(operating-system\n"
  47147. " ;; @dots{}\n"
  47148. " (packages (append (list nix)\n"
  47149. " %base-packages))\n"
  47150. "\n"
  47151. msgstr ""
  47152. #. type: lisp
  47153. #: guix-git/doc/guix.texi:31938
  47154. #, no-wrap
  47155. msgid ""
  47156. " (services (append (list (service nix-service-type))\n"
  47157. " %base-services)))\n"
  47158. msgstr ""
  47159. #. type: defvr
  47160. #: guix-git/doc/guix.texi:31941
  47161. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  47162. msgstr ""
  47163. #. type: item
  47164. #: guix-git/doc/guix.texi:31943
  47165. #, no-wrap
  47166. msgid "Add a Nix channel and update it. See"
  47167. msgstr ""
  47168. #. type: itemize
  47169. #: guix-git/doc/guix.texi:31945
  47170. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  47171. msgstr ""
  47172. #. type: item
  47173. #: guix-git/doc/guix.texi:31946
  47174. #, no-wrap
  47175. msgid "Create a symlink to your profile and activate Nix profile:"
  47176. msgstr ""
  47177. #. type: example
  47178. #: guix-git/doc/guix.texi:31952
  47179. #, no-wrap
  47180. msgid ""
  47181. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  47182. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  47183. msgstr ""
  47184. #. type: deftp
  47185. #: guix-git/doc/guix.texi:31956
  47186. #, no-wrap
  47187. msgid "{Data Type} nix-configuration"
  47188. msgstr ""
  47189. #. type: deftp
  47190. #: guix-git/doc/guix.texi:31958
  47191. msgid "This data type represents the configuration of the Nix daemon."
  47192. msgstr ""
  47193. #. type: item
  47194. #: guix-git/doc/guix.texi:31960
  47195. #, no-wrap
  47196. msgid "@code{nix} (default: @code{nix})"
  47197. msgstr ""
  47198. #. type: table
  47199. #: guix-git/doc/guix.texi:31962
  47200. msgid "The Nix package to use."
  47201. msgstr ""
  47202. #. type: item
  47203. #: guix-git/doc/guix.texi:31963
  47204. #, no-wrap
  47205. msgid "@code{sandbox} (default: @code{#t})"
  47206. msgstr ""
  47207. #. type: table
  47208. #: guix-git/doc/guix.texi:31965
  47209. msgid "Specifies whether builds are sandboxed by default."
  47210. msgstr ""
  47211. #. type: item
  47212. #: guix-git/doc/guix.texi:31966
  47213. #, no-wrap
  47214. msgid "@code{build-sandbox-items} (default: @code{'()})"
  47215. msgstr ""
  47216. #. type: table
  47217. #: guix-git/doc/guix.texi:31969
  47218. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  47219. msgstr ""
  47220. #. type: table
  47221. #: guix-git/doc/guix.texi:31977
  47222. msgid "Extra command line options for @code{nix-service-type}."
  47223. msgstr ""
  47224. #. type: cindex
  47225. #: guix-git/doc/guix.texi:31983
  47226. #, no-wrap
  47227. msgid "setuid programs"
  47228. msgstr ""
  47229. #. type: Plain text
  47230. #: guix-git/doc/guix.texi:31993
  47231. 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)."
  47232. msgstr ""
  47233. #. type: Plain text
  47234. #: guix-git/doc/guix.texi:32000
  47235. 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."
  47236. msgstr ""
  47237. #. type: Plain text
  47238. #: guix-git/doc/guix.texi:32006
  47239. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of G-expressions denoting the names of programs to be setuid-root (@pxref{Using the Configuration System}). For instance, the @command{passwd} program, which is part of the Shadow package, can be designated by this G-expression (@pxref{G-Expressions}):"
  47240. msgstr ""
  47241. #. type: example
  47242. #: guix-git/doc/guix.texi:32009
  47243. #, no-wrap
  47244. msgid "#~(string-append #$shadow \"/bin/passwd\")\n"
  47245. msgstr ""
  47246. #. type: Plain text
  47247. #: guix-git/doc/guix.texi:32013
  47248. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  47249. msgstr ""
  47250. #. type: defvr
  47251. #: guix-git/doc/guix.texi:32014
  47252. #, no-wrap
  47253. msgid "{Scheme Variable} %setuid-programs"
  47254. msgstr ""
  47255. #. type: defvr
  47256. #: guix-git/doc/guix.texi:32016
  47257. msgid "A list of G-expressions denoting common programs that are setuid-root."
  47258. msgstr ""
  47259. #. type: defvr
  47260. #: guix-git/doc/guix.texi:32019
  47261. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  47262. msgstr ""
  47263. #. type: Plain text
  47264. #: guix-git/doc/guix.texi:32025
  47265. 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."
  47266. msgstr ""
  47267. #. type: cindex
  47268. #: guix-git/doc/guix.texi:32029
  47269. #, no-wrap
  47270. msgid "HTTPS, certificates"
  47271. msgstr ""
  47272. #. type: cindex
  47273. #: guix-git/doc/guix.texi:32030
  47274. #, no-wrap
  47275. msgid "X.509 certificates"
  47276. msgstr ""
  47277. #. type: cindex
  47278. #: guix-git/doc/guix.texi:32031
  47279. #, no-wrap
  47280. msgid "TLS"
  47281. msgstr ""
  47282. #. type: Plain text
  47283. #: guix-git/doc/guix.texi:32038
  47284. 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."
  47285. msgstr ""
  47286. #. type: Plain text
  47287. #: guix-git/doc/guix.texi:32042
  47288. 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."
  47289. msgstr ""
  47290. #. type: Plain text
  47291. #: guix-git/doc/guix.texi:32046
  47292. 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."
  47293. msgstr ""
  47294. #. type: Plain text
  47295. #: guix-git/doc/guix.texi:32053
  47296. 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."
  47297. msgstr ""
  47298. #. type: Plain text
  47299. #: guix-git/doc/guix.texi:32058
  47300. 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."
  47301. msgstr ""
  47302. #. type: Plain text
  47303. #: guix-git/doc/guix.texi:32068
  47304. 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:"
  47305. msgstr ""
  47306. #. type: example
  47307. #: guix-git/doc/guix.texi:32074
  47308. #, no-wrap
  47309. msgid ""
  47310. "guix install nss-certs\n"
  47311. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  47312. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  47313. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  47314. msgstr ""
  47315. #. type: Plain text
  47316. #: guix-git/doc/guix.texi:32079
  47317. 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:"
  47318. msgstr ""
  47319. #. type: example
  47320. #: guix-git/doc/guix.texi:32083
  47321. #, no-wrap
  47322. msgid ""
  47323. "guix install nss-certs\n"
  47324. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  47325. msgstr ""
  47326. #. type: Plain text
  47327. #: guix-git/doc/guix.texi:32087
  47328. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  47329. msgstr ""
  47330. #. type: cindex
  47331. #: guix-git/doc/guix.texi:32092
  47332. #, no-wrap
  47333. msgid "name service switch"
  47334. msgstr ""
  47335. #. type: cindex
  47336. #: guix-git/doc/guix.texi:32093
  47337. #, no-wrap
  47338. msgid "NSS"
  47339. msgstr ""
  47340. #. type: Plain text
  47341. #: guix-git/doc/guix.texi:32102
  47342. 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})."
  47343. msgstr ""
  47344. #. type: Plain text
  47345. #: guix-git/doc/guix.texi:32109
  47346. 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}})."
  47347. msgstr ""
  47348. #. type: cindex
  47349. #: guix-git/doc/guix.texi:32110
  47350. #, no-wrap
  47351. msgid "nss-mdns"
  47352. msgstr ""
  47353. #. type: cindex
  47354. #: guix-git/doc/guix.texi:32111
  47355. #, no-wrap
  47356. msgid ".local, host name lookup"
  47357. msgstr ""
  47358. #. type: Plain text
  47359. #: guix-git/doc/guix.texi:32116
  47360. 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}:"
  47361. msgstr ""
  47362. #. type: lisp
  47363. #: guix-git/doc/guix.texi:32120
  47364. #, no-wrap
  47365. msgid ""
  47366. "(name-service-switch\n"
  47367. " (hosts (list %files ;first, check /etc/hosts\n"
  47368. "\n"
  47369. msgstr ""
  47370. #. type: lisp
  47371. #: guix-git/doc/guix.texi:32125
  47372. #, no-wrap
  47373. msgid ""
  47374. " ;; If the above did not succeed, try\n"
  47375. " ;; with 'mdns_minimal'.\n"
  47376. " (name-service\n"
  47377. " (name \"mdns_minimal\")\n"
  47378. "\n"
  47379. msgstr ""
  47380. #. type: lisp
  47381. #: guix-git/doc/guix.texi:32131
  47382. #, no-wrap
  47383. msgid ""
  47384. " ;; 'mdns_minimal' is authoritative for\n"
  47385. " ;; '.local'. When it returns \"not found\",\n"
  47386. " ;; no need to try the next methods.\n"
  47387. " (reaction (lookup-specification\n"
  47388. " (not-found => return))))\n"
  47389. "\n"
  47390. msgstr ""
  47391. #. type: lisp
  47392. #: guix-git/doc/guix.texi:32135
  47393. #, no-wrap
  47394. msgid ""
  47395. " ;; Then fall back to DNS.\n"
  47396. " (name-service\n"
  47397. " (name \"dns\"))\n"
  47398. "\n"
  47399. msgstr ""
  47400. #. type: lisp
  47401. #: guix-git/doc/guix.texi:32139
  47402. #, no-wrap
  47403. msgid ""
  47404. " ;; Finally, try with the \"full\" 'mdns'.\n"
  47405. " (name-service\n"
  47406. " (name \"mdns\")))))\n"
  47407. msgstr ""
  47408. #. type: Plain text
  47409. #: guix-git/doc/guix.texi:32144
  47410. 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."
  47411. msgstr ""
  47412. #. type: Plain text
  47413. #: guix-git/doc/guix.texi:32152
  47414. 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}})."
  47415. msgstr ""
  47416. #. type: Plain text
  47417. #: guix-git/doc/guix.texi:32155
  47418. msgid "For convenience, the following variables provide typical NSS configurations."
  47419. msgstr ""
  47420. #. type: defvr
  47421. #: guix-git/doc/guix.texi:32156
  47422. #, no-wrap
  47423. msgid "{Scheme Variable} %default-nss"
  47424. msgstr ""
  47425. #. type: defvr
  47426. #: guix-git/doc/guix.texi:32159
  47427. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  47428. msgstr ""
  47429. #. type: defvr
  47430. #: guix-git/doc/guix.texi:32161
  47431. #, no-wrap
  47432. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  47433. msgstr ""
  47434. #. type: defvr
  47435. #: guix-git/doc/guix.texi:32164
  47436. 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}."
  47437. msgstr ""
  47438. #. type: Plain text
  47439. #: guix-git/doc/guix.texi:32174
  47440. 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}."
  47441. msgstr ""
  47442. #. type: deftp
  47443. #: guix-git/doc/guix.texi:32175
  47444. #, no-wrap
  47445. msgid "{Data Type} name-service-switch"
  47446. msgstr ""
  47447. #. type: deftp
  47448. #: guix-git/doc/guix.texi:32180
  47449. 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."
  47450. msgstr ""
  47451. #. type: item
  47452. #: guix-git/doc/guix.texi:32182
  47453. #, no-wrap
  47454. msgid "aliases"
  47455. msgstr ""
  47456. #. type: itemx
  47457. #: guix-git/doc/guix.texi:32183
  47458. #, no-wrap
  47459. msgid "ethers"
  47460. msgstr ""
  47461. #. type: itemx
  47462. #: guix-git/doc/guix.texi:32185
  47463. #, no-wrap
  47464. msgid "gshadow"
  47465. msgstr ""
  47466. #. type: itemx
  47467. #: guix-git/doc/guix.texi:32186
  47468. #, no-wrap
  47469. msgid "hosts"
  47470. msgstr ""
  47471. #. type: itemx
  47472. #: guix-git/doc/guix.texi:32187
  47473. #, no-wrap
  47474. msgid "initgroups"
  47475. msgstr ""
  47476. #. type: itemx
  47477. #: guix-git/doc/guix.texi:32188
  47478. #, no-wrap
  47479. msgid "netgroup"
  47480. msgstr ""
  47481. #. type: itemx
  47482. #: guix-git/doc/guix.texi:32189
  47483. #, no-wrap
  47484. msgid "networks"
  47485. msgstr ""
  47486. #. type: itemx
  47487. #: guix-git/doc/guix.texi:32192
  47488. #, no-wrap
  47489. msgid "rpc"
  47490. msgstr ""
  47491. #. type: itemx
  47492. #: guix-git/doc/guix.texi:32194
  47493. #, no-wrap
  47494. msgid "shadow"
  47495. msgstr ""
  47496. #. type: table
  47497. #: guix-git/doc/guix.texi:32197
  47498. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  47499. msgstr ""
  47500. #. type: deftp
  47501. #: guix-git/doc/guix.texi:32200
  47502. #, no-wrap
  47503. msgid "{Data Type} name-service"
  47504. msgstr ""
  47505. #. type: deftp
  47506. #: guix-git/doc/guix.texi:32204
  47507. msgid "This is the data type representing an actual name service and the associated lookup action."
  47508. msgstr ""
  47509. #. type: table
  47510. #: guix-git/doc/guix.texi:32209
  47511. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  47512. msgstr ""
  47513. #. type: table
  47514. #: guix-git/doc/guix.texi:32214
  47515. 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}})."
  47516. msgstr ""
  47517. #. type: item
  47518. #: guix-git/doc/guix.texi:32215
  47519. #, no-wrap
  47520. msgid "reaction"
  47521. msgstr ""
  47522. #. type: table
  47523. #: guix-git/doc/guix.texi:32219
  47524. 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:"
  47525. msgstr ""
  47526. #. type: lisp
  47527. #: guix-git/doc/guix.texi:32223
  47528. #, no-wrap
  47529. msgid ""
  47530. "(lookup-specification (unavailable => continue)\n"
  47531. " (success => return))\n"
  47532. msgstr ""
  47533. #. type: Plain text
  47534. #: guix-git/doc/guix.texi:32237
  47535. 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."
  47536. msgstr ""
  47537. #. type: Plain text
  47538. #: guix-git/doc/guix.texi:32246
  47539. 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:"
  47540. msgstr ""
  47541. #. type: lisp
  47542. #: guix-git/doc/guix.texi:32251
  47543. #, no-wrap
  47544. msgid ""
  47545. "(operating-system\n"
  47546. " ;; @dots{}\n"
  47547. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  47548. msgstr ""
  47549. #. type: defvr
  47550. #: guix-git/doc/guix.texi:32253
  47551. #, no-wrap
  47552. msgid "{Scheme Variable} %base-initrd-modules"
  47553. msgstr ""
  47554. #. type: defvr
  47555. #: guix-git/doc/guix.texi:32255
  47556. msgid "This is the list of kernel modules included in the initrd by default."
  47557. msgstr ""
  47558. #. type: Plain text
  47559. #: guix-git/doc/guix.texi:32263
  47560. 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."
  47561. msgstr ""
  47562. #. type: Plain text
  47563. #: guix-git/doc/guix.texi:32268
  47564. 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:"
  47565. msgstr ""
  47566. #. type: lisp
  47567. #: guix-git/doc/guix.texi:32276
  47568. #, no-wrap
  47569. msgid ""
  47570. "(initrd (lambda (file-systems . rest)\n"
  47571. " ;; Create a standard initrd but set up networking\n"
  47572. " ;; with the parameters QEMU expects by default.\n"
  47573. " (apply base-initrd file-systems\n"
  47574. " #:qemu-networking? #t\n"
  47575. " rest)))\n"
  47576. msgstr ""
  47577. #. type: Plain text
  47578. #: guix-git/doc/guix.texi:32281
  47579. 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."
  47580. msgstr ""
  47581. #. type: Plain text
  47582. #: guix-git/doc/guix.texi:32288
  47583. 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."
  47584. msgstr ""
  47585. #. type: Plain text
  47586. #: guix-git/doc/guix.texi:32293
  47587. 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:"
  47588. msgstr ""
  47589. #. type: item
  47590. #: guix-git/doc/guix.texi:32295
  47591. #, no-wrap
  47592. msgid "--load=@var{boot}"
  47593. msgstr ""
  47594. #. type: table
  47595. #: guix-git/doc/guix.texi:32298
  47596. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  47597. msgstr ""
  47598. #. type: table
  47599. #: guix-git/doc/guix.texi:32302
  47600. 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."
  47601. msgstr ""
  47602. #. type: item
  47603. #: guix-git/doc/guix.texi:32303
  47604. #, no-wrap
  47605. msgid "--root=@var{root}"
  47606. msgstr ""
  47607. #. type: table
  47608. #: guix-git/doc/guix.texi:32308
  47609. 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."
  47610. msgstr ""
  47611. #. type: table
  47612. #: guix-git/doc/guix.texi:32312
  47613. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  47614. msgstr ""
  47615. #. type: item
  47616. #: guix-git/doc/guix.texi:32313
  47617. #, no-wrap
  47618. msgid "modprobe.blacklist=@var{modules}@dots{}"
  47619. msgstr ""
  47620. #. type: cindex
  47621. #: guix-git/doc/guix.texi:32314
  47622. #, no-wrap
  47623. msgid "module, black-listing"
  47624. msgstr ""
  47625. #. type: cindex
  47626. #: guix-git/doc/guix.texi:32315
  47627. #, no-wrap
  47628. msgid "black list, of kernel modules"
  47629. msgstr ""
  47630. #. type: table
  47631. #: guix-git/doc/guix.texi:32320
  47632. 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}."
  47633. msgstr ""
  47634. #. type: item
  47635. #: guix-git/doc/guix.texi:32321
  47636. #, no-wrap
  47637. msgid "--repl"
  47638. msgstr ""
  47639. #. type: table
  47640. #: guix-git/doc/guix.texi:32327
  47641. 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."
  47642. msgstr ""
  47643. #. type: Plain text
  47644. #: guix-git/doc/guix.texi:32333
  47645. 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."
  47646. msgstr ""
  47647. #. type: deffn
  47648. #: guix-git/doc/guix.texi:32336
  47649. #, no-wrap
  47650. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  47651. msgstr ""
  47652. #. type: deffn
  47653. #: guix-git/doc/guix.texi:32350
  47654. 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."
  47655. msgstr ""
  47656. #. type: deffn
  47657. #: guix-git/doc/guix.texi:32356 guix-git/doc/guix.texi:32380
  47658. 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."
  47659. msgstr ""
  47660. #. type: deffn
  47661. #: guix-git/doc/guix.texi:32360
  47662. 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."
  47663. msgstr ""
  47664. #. type: deffn
  47665. #: guix-git/doc/guix.texi:32363
  47666. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  47667. msgstr ""
  47668. #. type: deffn
  47669. #: guix-git/doc/guix.texi:32365
  47670. #, no-wrap
  47671. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  47672. msgstr ""
  47673. #. type: deffn
  47674. #: guix-git/doc/guix.texi:32374
  47675. 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."
  47676. msgstr ""
  47677. #. type: deffn
  47678. #: guix-git/doc/guix.texi:32382
  47679. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  47680. msgstr ""
  47681. #. type: deffn
  47682. #: guix-git/doc/guix.texi:32387
  47683. 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."
  47684. msgstr ""
  47685. #. type: Plain text
  47686. #: guix-git/doc/guix.texi:32394
  47687. 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."
  47688. msgstr ""
  47689. #. type: deffn
  47690. #: guix-git/doc/guix.texi:32395
  47691. #, no-wrap
  47692. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  47693. msgstr ""
  47694. #. type: deffn
  47695. #: guix-git/doc/guix.texi:32401
  47696. msgid "[#:guile %guile-3.0-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."
  47697. msgstr ""
  47698. #. type: cindex
  47699. #: guix-git/doc/guix.texi:32407
  47700. #, no-wrap
  47701. msgid "boot loader"
  47702. msgstr ""
  47703. #. type: Plain text
  47704. #: guix-git/doc/guix.texi:32414
  47705. 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."
  47706. msgstr ""
  47707. #. type: Plain text
  47708. #: guix-git/doc/guix.texi:32419
  47709. 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."
  47710. msgstr ""
  47711. #. type: deftp
  47712. #: guix-git/doc/guix.texi:32420
  47713. #, no-wrap
  47714. msgid "{Data Type} bootloader-configuration"
  47715. msgstr ""
  47716. #. type: deftp
  47717. #: guix-git/doc/guix.texi:32422
  47718. msgid "The type of a bootloader configuration declaration."
  47719. msgstr ""
  47720. #. type: cindex
  47721. #: guix-git/doc/guix.texi:32426
  47722. #, no-wrap
  47723. msgid "EFI, bootloader"
  47724. msgstr ""
  47725. #. type: cindex
  47726. #: guix-git/doc/guix.texi:32427
  47727. #, no-wrap
  47728. msgid "UEFI, bootloader"
  47729. msgstr ""
  47730. #. type: cindex
  47731. #: guix-git/doc/guix.texi:32428
  47732. #, no-wrap
  47733. msgid "BIOS, bootloader"
  47734. msgstr ""
  47735. #. type: table
  47736. #: guix-git/doc/guix.texi:32433
  47737. 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."
  47738. msgstr ""
  47739. #. type: cindex
  47740. #: guix-git/doc/guix.texi:32434
  47741. #, no-wrap
  47742. msgid "ARM, bootloaders"
  47743. msgstr ""
  47744. #. type: cindex
  47745. #: guix-git/doc/guix.texi:32435
  47746. #, no-wrap
  47747. msgid "AArch64, bootloaders"
  47748. msgstr ""
  47749. #. type: table
  47750. #: guix-git/doc/guix.texi:32440
  47751. 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}."
  47752. msgstr ""
  47753. #. type: table
  47754. #: guix-git/doc/guix.texi:32446
  47755. 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."
  47756. msgstr ""
  47757. #. type: table
  47758. #: guix-git/doc/guix.texi:32450
  47759. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  47760. msgstr ""
  47761. #. type: vindex
  47762. #: guix-git/doc/guix.texi:32451
  47763. #, no-wrap
  47764. msgid "grub-efi-netboot-bootloader"
  47765. msgstr ""
  47766. #. type: table
  47767. #: guix-git/doc/guix.texi:32455
  47768. 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."
  47769. msgstr ""
  47770. #. type: table
  47771. #: guix-git/doc/guix.texi:32461
  47772. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{target} (@pxref{Bootloader Configuration, @code{target}}), to be served by a TFTP server. You may want to mount your TFTP server directory onto @code{target} to move the required files to the TFTP server automatically."
  47773. msgstr ""
  47774. #. type: table
  47775. #: guix-git/doc/guix.texi:32470
  47776. 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}."
  47777. msgstr ""
  47778. #. type: table
  47779. #: guix-git/doc/guix.texi:32478
  47780. msgid "Two symlinks are created to make this possible. The first symlink is @code{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @code{target} may be @file{/boot}. In this case the link is not leaving the served TFTP root directory, but otherwise it does. The second link is @code{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  47781. msgstr ""
  47782. #. type: table
  47783. #: guix-git/doc/guix.texi:32483
  47784. msgid "The assumption behind all this is that you have an NFS server exporting the root file system for your Guix system, and additionally a TFTP server exporting your @code{target} directory—usually @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  47785. msgstr ""
  47786. #. type: table
  47787. #: guix-git/doc/guix.texi:32487
  47788. msgid "For other constellations you will have to program your own bootloader installer, which then takes care to make necessary files from the store accessible through TFTP, for example by copying them into the TFTP root directory at @code{target}."
  47789. msgstr ""
  47790. #. type: table
  47791. #: guix-git/doc/guix.texi:32492
  47792. 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."
  47793. msgstr ""
  47794. #. type: table
  47795. #: guix-git/doc/guix.texi:32497
  47796. 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}."
  47797. msgstr ""
  47798. #. type: table
  47799. #: guix-git/doc/guix.texi:32501
  47800. msgid "This is a string denoting the target onto which to install the bootloader."
  47801. msgstr ""
  47802. #. type: table
  47803. #: guix-git/doc/guix.texi:32510
  47804. msgid "The interpretation depends on the bootloader in question. For @code{grub-bootloader}, for example, it should be a device name understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader}, it should be the mount point of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{target} should be the mount point corresponding to the TFTP root directory of your TFTP server."
  47805. msgstr ""
  47806. #. type: item
  47807. #: guix-git/doc/guix.texi:32511
  47808. #, no-wrap
  47809. msgid "@code{menu-entries} (default: @code{()})"
  47810. msgstr ""
  47811. #. type: table
  47812. #: guix-git/doc/guix.texi:32515
  47813. 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."
  47814. msgstr ""
  47815. #. type: item
  47816. #: guix-git/doc/guix.texi:32516
  47817. #, no-wrap
  47818. msgid "@code{default-entry} (default: @code{0})"
  47819. msgstr ""
  47820. #. type: table
  47821. #: guix-git/doc/guix.texi:32519
  47822. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  47823. msgstr ""
  47824. #. type: item
  47825. #: guix-git/doc/guix.texi:32520
  47826. #, no-wrap
  47827. msgid "@code{timeout} (default: @code{5})"
  47828. msgstr ""
  47829. #. type: table
  47830. #: guix-git/doc/guix.texi:32523
  47831. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  47832. msgstr ""
  47833. #. type: cindex
  47834. #: guix-git/doc/guix.texi:32524
  47835. #, no-wrap
  47836. msgid "keyboard layout, for the bootloader"
  47837. msgstr ""
  47838. #. type: table
  47839. #: guix-git/doc/guix.texi:32528
  47840. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  47841. msgstr ""
  47842. #. type: table
  47843. #: guix-git/doc/guix.texi:32531
  47844. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  47845. msgstr ""
  47846. #. type: quotation
  47847. #: guix-git/doc/guix.texi:32535
  47848. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  47849. msgstr ""
  47850. #. type: item
  47851. #: guix-git/doc/guix.texi:32537
  47852. #, no-wrap
  47853. msgid "@code{theme} (default: @var{#f})"
  47854. msgstr ""
  47855. #. type: table
  47856. #: guix-git/doc/guix.texi:32541
  47857. 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."
  47858. msgstr ""
  47859. #. type: item
  47860. #: guix-git/doc/guix.texi:32542
  47861. #, no-wrap
  47862. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  47863. msgstr ""
  47864. #. type: table
  47865. #: guix-git/doc/guix.texi:32549
  47866. 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})."
  47867. msgstr ""
  47868. #. type: item
  47869. #: guix-git/doc/guix.texi:32550
  47870. #, no-wrap
  47871. msgid "@code{terminal-inputs} (default: @code{'()})"
  47872. msgstr ""
  47873. #. type: table
  47874. #: guix-git/doc/guix.texi:32558
  47875. 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})."
  47876. msgstr ""
  47877. #. type: item
  47878. #: guix-git/doc/guix.texi:32559
  47879. #, no-wrap
  47880. msgid "@code{serial-unit} (default: @code{#f})"
  47881. msgstr ""
  47882. #. type: table
  47883. #: guix-git/doc/guix.texi:32563
  47884. 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})."
  47885. msgstr ""
  47886. #. type: item
  47887. #: guix-git/doc/guix.texi:32564
  47888. #, no-wrap
  47889. msgid "@code{serial-speed} (default: @code{#f})"
  47890. msgstr ""
  47891. #. type: table
  47892. #: guix-git/doc/guix.texi:32568
  47893. 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})."
  47894. msgstr ""
  47895. #. type: cindex
  47896. #: guix-git/doc/guix.texi:32572
  47897. #, no-wrap
  47898. msgid "dual boot"
  47899. msgstr ""
  47900. #. type: cindex
  47901. #: guix-git/doc/guix.texi:32573
  47902. #, no-wrap
  47903. msgid "boot menu"
  47904. msgstr ""
  47905. #. type: Plain text
  47906. #: guix-git/doc/guix.texi:32579
  47907. 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:"
  47908. msgstr ""
  47909. #. type: lisp
  47910. #: guix-git/doc/guix.texi:32586
  47911. #, no-wrap
  47912. msgid ""
  47913. "(menu-entry\n"
  47914. " (label \"The Other Distro\")\n"
  47915. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  47916. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  47917. " (initrd \"/boot/old/initrd\"))\n"
  47918. msgstr ""
  47919. #. type: Plain text
  47920. #: guix-git/doc/guix.texi:32589
  47921. msgid "Details below."
  47922. msgstr ""
  47923. #. type: deftp
  47924. #: guix-git/doc/guix.texi:32590
  47925. #, no-wrap
  47926. msgid "{Data Type} menu-entry"
  47927. msgstr ""
  47928. #. type: deftp
  47929. #: guix-git/doc/guix.texi:32592
  47930. msgid "The type of an entry in the bootloader menu."
  47931. msgstr ""
  47932. #. type: table
  47933. #: guix-git/doc/guix.texi:32597
  47934. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  47935. msgstr ""
  47936. #. type: item
  47937. #: guix-git/doc/guix.texi:32598
  47938. #, no-wrap
  47939. msgid "@code{linux} (default: @code{#f})"
  47940. msgstr ""
  47941. #. type: table
  47942. #: guix-git/doc/guix.texi:32600
  47943. msgid "The Linux kernel image to boot, for example:"
  47944. msgstr ""
  47945. #. type: lisp
  47946. #: guix-git/doc/guix.texi:32603
  47947. #, no-wrap
  47948. msgid "(file-append linux-libre \"/bzImage\")\n"
  47949. msgstr ""
  47950. #. type: table
  47951. #: guix-git/doc/guix.texi:32608
  47952. 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:"
  47953. msgstr ""
  47954. #. type: example
  47955. #: guix-git/doc/guix.texi:32611
  47956. #, no-wrap
  47957. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  47958. msgstr ""
  47959. #. type: table
  47960. #: guix-git/doc/guix.texi:32615
  47961. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  47962. msgstr ""
  47963. #. type: item
  47964. #: guix-git/doc/guix.texi:32616
  47965. #, no-wrap
  47966. msgid "@code{linux-arguments} (default: @code{()})"
  47967. msgstr ""
  47968. #. type: table
  47969. #: guix-git/doc/guix.texi:32619
  47970. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  47971. msgstr ""
  47972. #. type: item
  47973. #: guix-git/doc/guix.texi:32620
  47974. #, no-wrap
  47975. msgid "@code{initrd} (default: @code{#f})"
  47976. msgstr ""
  47977. #. type: table
  47978. #: guix-git/doc/guix.texi:32623
  47979. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  47980. msgstr ""
  47981. #. type: item
  47982. #: guix-git/doc/guix.texi:32624
  47983. #, no-wrap
  47984. msgid "@code{device} (default: @code{#f})"
  47985. msgstr ""
  47986. #. type: table
  47987. #: guix-git/doc/guix.texi:32627
  47988. 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})."
  47989. msgstr ""
  47990. #. type: table
  47991. #: guix-git/doc/guix.texi:32633
  47992. 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}."
  47993. msgstr ""
  47994. #. type: item
  47995. #: guix-git/doc/guix.texi:32634
  47996. #, no-wrap
  47997. msgid "@code{multiboot-kernel} (default: @code{#f})"
  47998. msgstr ""
  47999. #. type: table
  48000. #: guix-git/doc/guix.texi:32638
  48001. 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:"
  48002. msgstr ""
  48003. #. type: lisp
  48004. #: guix-git/doc/guix.texi:32641
  48005. #, no-wrap
  48006. msgid "(file-append mach \"/boot/gnumach\")\n"
  48007. msgstr ""
  48008. #. type: item
  48009. #: guix-git/doc/guix.texi:32643
  48010. #, no-wrap
  48011. msgid "@code{multiboot-arguments} (default: @code{()})"
  48012. msgstr ""
  48013. #. type: table
  48014. #: guix-git/doc/guix.texi:32645
  48015. msgid "The list of extra command-line arguments for the multiboot-kernel."
  48016. msgstr ""
  48017. #. type: item
  48018. #: guix-git/doc/guix.texi:32646
  48019. #, no-wrap
  48020. msgid "@code{multiboot-modules} (default: @code{()})"
  48021. msgstr ""
  48022. #. type: table
  48023. #: guix-git/doc/guix.texi:32648
  48024. msgid "The list of commands for loading Multiboot modules. For example:"
  48025. msgstr ""
  48026. #. type: lisp
  48027. #: guix-git/doc/guix.texi:32654
  48028. #, no-wrap
  48029. msgid ""
  48030. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  48031. " @dots{})\n"
  48032. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  48033. " @dots{}))\n"
  48034. msgstr ""
  48035. #. type: cindex
  48036. #: guix-git/doc/guix.texi:32659 guix-git/doc/guix.texi:32718
  48037. #, no-wrap
  48038. msgid "HDPI"
  48039. msgstr ""
  48040. #. type: cindex
  48041. #: guix-git/doc/guix.texi:32660 guix-git/doc/guix.texi:32719
  48042. #, no-wrap
  48043. msgid "HiDPI"
  48044. msgstr ""
  48045. #. type: cindex
  48046. #: guix-git/doc/guix.texi:32661 guix-git/doc/guix.texi:32720
  48047. #, no-wrap
  48048. msgid "resolution"
  48049. msgstr ""
  48050. #. type: Plain text
  48051. #: guix-git/doc/guix.texi:32665
  48052. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  48053. msgstr ""
  48054. #. type: deftp
  48055. #: guix-git/doc/guix.texi:32666
  48056. #, no-wrap
  48057. msgid "{Data Type} grub-theme"
  48058. msgstr ""
  48059. #. type: deftp
  48060. #: guix-git/doc/guix.texi:32668
  48061. msgid "Data type representing the configuration of the GRUB theme."
  48062. msgstr ""
  48063. #. type: item
  48064. #: guix-git/doc/guix.texi:32670
  48065. #, no-wrap
  48066. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  48067. msgstr ""
  48068. #. type: table
  48069. #: guix-git/doc/guix.texi:32673
  48070. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  48071. msgstr ""
  48072. #. type: deffn
  48073. #: guix-git/doc/guix.texi:32676
  48074. #, no-wrap
  48075. msgid "{Scheme Procedure} grub-theme"
  48076. msgstr ""
  48077. #. type: deffn
  48078. #: guix-git/doc/guix.texi:32680
  48079. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  48080. msgstr ""
  48081. #. type: deffn
  48082. #: guix-git/doc/guix.texi:32683
  48083. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  48084. msgstr ""
  48085. #. type: Plain text
  48086. #: guix-git/doc/guix.texi:32687
  48087. msgid "For example, to override the default resolution, you may use something like"
  48088. msgstr ""
  48089. #. type: lisp
  48090. #: guix-git/doc/guix.texi:32695
  48091. #, no-wrap
  48092. msgid ""
  48093. "(bootloader\n"
  48094. " (bootloader-configuration\n"
  48095. " ;; @dots{}\n"
  48096. " (theme (grub-theme\n"
  48097. " (inherit (grub-theme))\n"
  48098. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  48099. msgstr ""
  48100. #. type: section
  48101. #: guix-git/doc/guix.texi:32698
  48102. #, no-wrap
  48103. msgid "Invoking @code{guix system}"
  48104. msgstr ""
  48105. #. type: Plain text
  48106. #: guix-git/doc/guix.texi:32703
  48107. 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:"
  48108. msgstr ""
  48109. #. type: example
  48110. #: guix-git/doc/guix.texi:32706
  48111. #, no-wrap
  48112. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  48113. msgstr ""
  48114. #. type: Plain text
  48115. #: guix-git/doc/guix.texi:32712
  48116. 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:"
  48117. msgstr ""
  48118. #. type: item
  48119. #: guix-git/doc/guix.texi:32714
  48120. #, no-wrap
  48121. msgid "search"
  48122. msgstr ""
  48123. #. type: table
  48124. #: guix-git/doc/guix.texi:32717
  48125. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  48126. msgstr ""
  48127. #. type: example
  48128. #: guix-git/doc/guix.texi:32739
  48129. #, no-wrap
  48130. msgid ""
  48131. "$ guix system search console\n"
  48132. "name: console-fonts\n"
  48133. "location: gnu/services/base.scm:806:2\n"
  48134. "extends: shepherd-root\n"
  48135. "description: Install the given fonts on the specified ttys (fonts are per\n"
  48136. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  48137. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  48138. "+ package or any valid argument to `setfont', as in this example:\n"
  48139. "+\n"
  48140. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  48141. "+ (\"tty2\" . (file-append\n"
  48142. "+ font-tamzen\n"
  48143. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  48144. "+ (\"tty3\" . (file-append\n"
  48145. "+ font-terminus\n"
  48146. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  48147. "relevance: 9\n"
  48148. "\n"
  48149. msgstr ""
  48150. #. type: example
  48151. #: guix-git/doc/guix.texi:32745
  48152. #, no-wrap
  48153. msgid ""
  48154. "name: mingetty\n"
  48155. "location: gnu/services/base.scm:1190:2\n"
  48156. "extends: shepherd-root\n"
  48157. "description: Provide console login using the `mingetty' program.\n"
  48158. "relevance: 2\n"
  48159. "\n"
  48160. msgstr ""
  48161. #. type: example
  48162. #: guix-git/doc/guix.texi:32752
  48163. #, no-wrap
  48164. msgid ""
  48165. "name: login\n"
  48166. "location: gnu/services/base.scm:860:2\n"
  48167. "extends: pam\n"
  48168. "description: Provide a console log-in service as specified by its\n"
  48169. "+ configuration value, a `login-configuration' object.\n"
  48170. "relevance: 2\n"
  48171. "\n"
  48172. msgstr ""
  48173. #. type: example
  48174. #: guix-git/doc/guix.texi:32754
  48175. #, no-wrap
  48176. msgid "@dots{}\n"
  48177. msgstr ""
  48178. #. type: table
  48179. #: guix-git/doc/guix.texi:32759
  48180. 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})."
  48181. msgstr ""
  48182. #. type: item
  48183. #: guix-git/doc/guix.texi:32760
  48184. #, no-wrap
  48185. msgid "reconfigure"
  48186. msgstr ""
  48187. #. type: table
  48188. #: guix-git/doc/guix.texi:32765
  48189. 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.}."
  48190. msgstr ""
  48191. #. type: quotation
  48192. #: guix-git/doc/guix.texi:32773
  48193. 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."
  48194. msgstr ""
  48195. #. type: table
  48196. #: guix-git/doc/guix.texi:32781
  48197. 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})."
  48198. msgstr ""
  48199. #. type: table
  48200. #: guix-git/doc/guix.texi:32787
  48201. 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})."
  48202. msgstr ""
  48203. #. type: table
  48204. #: guix-git/doc/guix.texi:32792
  48205. 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."
  48206. msgstr ""
  48207. #. type: cindex
  48208. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:33118
  48209. #: guix-git/doc/guix.texi:34066
  48210. #, no-wrap
  48211. msgid "provenance tracking, of the operating system"
  48212. msgstr ""
  48213. #. type: table
  48214. #: guix-git/doc/guix.texi:32798
  48215. 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:"
  48216. msgstr ""
  48217. #. type: example
  48218. #: guix-git/doc/guix.texi:32801
  48219. #, no-wrap
  48220. msgid "guix system describe\n"
  48221. msgstr ""
  48222. #. type: table
  48223. #: guix-git/doc/guix.texi:32807
  48224. 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:"
  48225. msgstr ""
  48226. #. type: example
  48227. #: guix-git/doc/guix.texi:32813
  48228. #, no-wrap
  48229. msgid ""
  48230. "guix time-machine \\\n"
  48231. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  48232. " system reconfigure \\\n"
  48233. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  48234. msgstr ""
  48235. #. type: table
  48236. #: guix-git/doc/guix.texi:32819
  48237. 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."
  48238. msgstr ""
  48239. #. type: table
  48240. #: guix-git/doc/guix.texi:32825
  48241. 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}."
  48242. msgstr ""
  48243. #. type: item
  48244. #: guix-git/doc/guix.texi:32826
  48245. #, no-wrap
  48246. msgid "switch-generation"
  48247. msgstr ""
  48248. #. type: table
  48249. #: guix-git/doc/guix.texi:32835
  48250. 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."
  48251. msgstr ""
  48252. #. type: table
  48253. #: guix-git/doc/guix.texi:32839
  48254. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  48255. msgstr ""
  48256. #. type: table
  48257. #: guix-git/doc/guix.texi:32843
  48258. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  48259. msgstr ""
  48260. #. type: example
  48261. #: guix-git/doc/guix.texi:32846
  48262. #, no-wrap
  48263. msgid "guix system switch-generation 7\n"
  48264. msgstr ""
  48265. #. type: table
  48266. #: guix-git/doc/guix.texi:32854
  48267. 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:"
  48268. msgstr ""
  48269. #. type: example
  48270. #: guix-git/doc/guix.texi:32857
  48271. #, no-wrap
  48272. msgid "guix system switch-generation -- -1\n"
  48273. msgstr ""
  48274. #. type: table
  48275. #: guix-git/doc/guix.texi:32865
  48276. 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."
  48277. msgstr ""
  48278. #. type: table
  48279. #: guix-git/doc/guix.texi:32867
  48280. msgid "This action will fail if the specified generation does not exist."
  48281. msgstr ""
  48282. #. type: item
  48283. #: guix-git/doc/guix.texi:32868
  48284. #, no-wrap
  48285. msgid "roll-back"
  48286. msgstr ""
  48287. #. type: table
  48288. #: guix-git/doc/guix.texi:32874
  48289. 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}."
  48290. msgstr ""
  48291. #. type: table
  48292. #: guix-git/doc/guix.texi:32878
  48293. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  48294. msgstr ""
  48295. #. type: item
  48296. #: guix-git/doc/guix.texi:32879
  48297. #, no-wrap
  48298. msgid "delete-generations"
  48299. msgstr ""
  48300. #. type: cindex
  48301. #: guix-git/doc/guix.texi:32880
  48302. #, no-wrap
  48303. msgid "deleting system generations"
  48304. msgstr ""
  48305. #. type: cindex
  48306. #: guix-git/doc/guix.texi:32881
  48307. #, no-wrap
  48308. msgid "saving space"
  48309. msgstr ""
  48310. #. type: table
  48311. #: guix-git/doc/guix.texi:32885
  48312. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  48313. msgstr ""
  48314. #. type: table
  48315. #: guix-git/doc/guix.texi:32889
  48316. 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:"
  48317. msgstr ""
  48318. #. type: example
  48319. #: guix-git/doc/guix.texi:32892
  48320. #, no-wrap
  48321. msgid "guix system delete-generations\n"
  48322. msgstr ""
  48323. #. type: table
  48324. #: guix-git/doc/guix.texi:32896
  48325. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two month old:"
  48326. msgstr ""
  48327. #. type: example
  48328. #: guix-git/doc/guix.texi:32899
  48329. #, no-wrap
  48330. msgid "guix system delete-generations 2m\n"
  48331. msgstr ""
  48332. #. type: table
  48333. #: guix-git/doc/guix.texi:32904
  48334. 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."
  48335. msgstr ""
  48336. #. type: table
  48337. #: guix-git/doc/guix.texi:32909
  48338. 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."
  48339. msgstr ""
  48340. #. type: item
  48341. #: guix-git/doc/guix.texi:32910
  48342. #, no-wrap
  48343. msgid "init"
  48344. msgstr ""
  48345. #. type: table
  48346. #: guix-git/doc/guix.texi:32914
  48347. 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:"
  48348. msgstr ""
  48349. #. type: example
  48350. #: guix-git/doc/guix.texi:32917
  48351. #, no-wrap
  48352. msgid "guix system init my-os-config.scm /mnt\n"
  48353. msgstr ""
  48354. #. type: table
  48355. #: guix-git/doc/guix.texi:32924
  48356. 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."
  48357. msgstr ""
  48358. #. type: table
  48359. #: guix-git/doc/guix.texi:32928
  48360. msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  48361. msgstr ""
  48362. #. type: item
  48363. #: guix-git/doc/guix.texi:32929
  48364. #, no-wrap
  48365. msgid "vm"
  48366. msgstr ""
  48367. #. type: cindex
  48368. #: guix-git/doc/guix.texi:32930 guix-git/doc/guix.texi:33491
  48369. #, no-wrap
  48370. msgid "virtual machine"
  48371. msgstr ""
  48372. #. type: cindex
  48373. #: guix-git/doc/guix.texi:32931
  48374. #, no-wrap
  48375. msgid "VM"
  48376. msgstr ""
  48377. #. type: anchor{#1}
  48378. #: guix-git/doc/guix.texi:32935
  48379. msgid "guix system vm"
  48380. msgstr ""
  48381. #. type: table
  48382. #: guix-git/doc/guix.texi:32935
  48383. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  48384. msgstr ""
  48385. #. type: quotation
  48386. #: guix-git/doc/guix.texi:32943
  48387. 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})."
  48388. msgstr ""
  48389. #. type: table
  48390. #: guix-git/doc/guix.texi:32948
  48391. 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:"
  48392. msgstr ""
  48393. #. type: example
  48394. #: guix-git/doc/guix.texi:32951
  48395. #, no-wrap
  48396. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -net user,model=virtio-net-pci\n"
  48397. msgstr ""
  48398. #. type: table
  48399. #: guix-git/doc/guix.texi:32954
  48400. msgid "The VM shares its store with the host system."
  48401. msgstr ""
  48402. #. type: table
  48403. #: guix-git/doc/guix.texi:32959
  48404. 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."
  48405. msgstr ""
  48406. #. type: table
  48407. #: guix-git/doc/guix.texi:32963
  48408. 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:"
  48409. msgstr ""
  48410. #. type: example
  48411. #: guix-git/doc/guix.texi:32967
  48412. #, no-wrap
  48413. msgid ""
  48414. "guix system vm my-config.scm \\\n"
  48415. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  48416. msgstr ""
  48417. #. type: table
  48418. #: guix-git/doc/guix.texi:32972
  48419. 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."
  48420. msgstr ""
  48421. #. type: table
  48422. #: guix-git/doc/guix.texi:32978
  48423. msgid "The @option{--full-boot} option forces a complete boot sequence, starting with the bootloader. This requires more disk space since a root image containing at least the kernel, initrd, and bootloader data files must be created. The @option{--image-size} option can be used to specify the size of the image."
  48424. msgstr ""
  48425. #. type: cindex
  48426. #: guix-git/doc/guix.texi:32979
  48427. #, no-wrap
  48428. msgid "System images, creation in various formats"
  48429. msgstr ""
  48430. #. type: cindex
  48431. #: guix-git/doc/guix.texi:32980
  48432. #, no-wrap
  48433. msgid "Creating system images in various formats"
  48434. msgstr ""
  48435. #. type: item
  48436. #: guix-git/doc/guix.texi:32981
  48437. #, no-wrap
  48438. msgid "image"
  48439. msgstr ""
  48440. #. type: itemx
  48441. #: guix-git/doc/guix.texi:32982
  48442. #, no-wrap
  48443. msgid "docker-image"
  48444. msgstr ""
  48445. #. type: table
  48446. #: guix-git/doc/guix.texi:32990
  48447. msgid "Return a virtual machine, disk image, or Docker image of the operating system declared in @var{file} that stands alone. By default, @command{guix system} estimates the size of the image needed to store the system, but you can use the @option{--image-size} option to specify a value. Docker images are built to contain exactly what they need, so the @option{--image-size} option is ignored in the case of @code{docker-image}."
  48448. msgstr ""
  48449. #. type: cindex
  48450. #: guix-git/doc/guix.texi:32991
  48451. #, no-wrap
  48452. msgid "image, creating disk images"
  48453. msgstr ""
  48454. #. type: table
  48455. #: guix-git/doc/guix.texi:33003
  48456. 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:"
  48457. msgstr ""
  48458. #. type: example
  48459. #: guix-git/doc/guix.texi:33011
  48460. #, no-wrap
  48461. msgid ""
  48462. "image=$(guix system image --image-type=qcow2 \\\n"
  48463. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  48464. "cp $image /tmp/my-image.qcow2\n"
  48465. "chmod +w /tmp/my-image.qcow2\n"
  48466. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  48467. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  48468. msgstr ""
  48469. #. type: table
  48470. #: guix-git/doc/guix.texi:33017
  48471. 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:"
  48472. msgstr ""
  48473. #. type: example
  48474. #: guix-git/doc/guix.texi:33020
  48475. #, no-wrap
  48476. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  48477. msgstr ""
  48478. #. type: table
  48479. #: guix-git/doc/guix.texi:33024
  48480. msgid "The @code{--list-image-types} command lists all the available image types."
  48481. msgstr ""
  48482. #. type: cindex
  48483. #: guix-git/doc/guix.texi:33025
  48484. #, no-wrap
  48485. msgid "creating virtual machine images"
  48486. msgstr ""
  48487. #. type: table
  48488. #: guix-git/doc/guix.texi:33034
  48489. 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)."
  48490. msgstr ""
  48491. #. type: cindex
  48492. #: guix-git/doc/guix.texi:33035
  48493. #, no-wrap
  48494. msgid "docker-image, creating docker images"
  48495. msgstr ""
  48496. #. type: table
  48497. #: guix-git/doc/guix.texi:33041
  48498. msgid "When using @code{docker-image}, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:"
  48499. msgstr ""
  48500. #. type: example
  48501. #: guix-git/doc/guix.texi:33046
  48502. #, no-wrap
  48503. msgid ""
  48504. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  48505. "container_id=\"$(docker create $image_id)\"\n"
  48506. "docker start $container_id\n"
  48507. msgstr ""
  48508. #. type: table
  48509. #: guix-git/doc/guix.texi:33053
  48510. 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}:"
  48511. msgstr ""
  48512. #. type: example
  48513. #: guix-git/doc/guix.texi:33056
  48514. #, no-wrap
  48515. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  48516. msgstr ""
  48517. #. type: table
  48518. #: guix-git/doc/guix.texi:33063
  48519. 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}."
  48520. msgstr ""
  48521. #. type: table
  48522. #: guix-git/doc/guix.texi:33067
  48523. 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."
  48524. msgstr ""
  48525. #. type: table
  48526. #: guix-git/doc/guix.texi:33075
  48527. 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."
  48528. msgstr ""
  48529. #. type: table
  48530. #: guix-git/doc/guix.texi:33079
  48531. 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."
  48532. msgstr ""
  48533. #. type: table
  48534. #: guix-git/doc/guix.texi:33083
  48535. 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:"
  48536. msgstr ""
  48537. #. type: example
  48538. #: guix-git/doc/guix.texi:33087
  48539. #, no-wrap
  48540. msgid ""
  48541. "guix system container my-config.scm \\\n"
  48542. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  48543. msgstr ""
  48544. #. type: quotation
  48545. #: guix-git/doc/guix.texi:33091
  48546. msgid "This option requires Linux-libre 3.19 or newer."
  48547. msgstr ""
  48548. #. type: Plain text
  48549. #: guix-git/doc/guix.texi:33098
  48550. 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:"
  48551. msgstr ""
  48552. #. type: table
  48553. #: guix-git/doc/guix.texi:33107
  48554. 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})."
  48555. msgstr ""
  48556. #. type: table
  48557. #: guix-git/doc/guix.texi:33112
  48558. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  48559. msgstr ""
  48560. #. type: table
  48561. #: guix-git/doc/guix.texi:33117
  48562. msgid "Return the derivation file name of the given operating system without building anything."
  48563. msgstr ""
  48564. #. type: table
  48565. #: guix-git/doc/guix.texi:33126
  48566. 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:"
  48567. msgstr ""
  48568. #. type: example
  48569. #: guix-git/doc/guix.texi:33129
  48570. #, no-wrap
  48571. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  48572. msgstr ""
  48573. #. type: table
  48574. #: guix-git/doc/guix.texi:33136
  48575. 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."
  48576. msgstr ""
  48577. #. type: item
  48578. #: guix-git/doc/guix.texi:33137
  48579. #, no-wrap
  48580. msgid "--image-type=@var{type}"
  48581. msgstr ""
  48582. #. type: table
  48583. #: guix-git/doc/guix.texi:33140
  48584. msgid "For the @code{image} action, create an image with given @var{type}."
  48585. msgstr ""
  48586. #. type: table
  48587. #: guix-git/doc/guix.texi:33143
  48588. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  48589. msgstr ""
  48590. #. type: cindex
  48591. #: guix-git/doc/guix.texi:33144
  48592. #, no-wrap
  48593. msgid "ISO-9660 format"
  48594. msgstr ""
  48595. #. type: cindex
  48596. #: guix-git/doc/guix.texi:33145
  48597. #, no-wrap
  48598. msgid "CD image format"
  48599. msgstr ""
  48600. #. type: cindex
  48601. #: guix-git/doc/guix.texi:33146
  48602. #, no-wrap
  48603. msgid "DVD image format"
  48604. msgstr ""
  48605. #. type: table
  48606. #: guix-git/doc/guix.texi:33149
  48607. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  48608. msgstr ""
  48609. #. type: item
  48610. #: guix-git/doc/guix.texi:33150
  48611. #, no-wrap
  48612. msgid "--image-size=@var{size}"
  48613. msgstr ""
  48614. #. type: table
  48615. #: guix-git/doc/guix.texi:33155
  48616. 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})."
  48617. msgstr ""
  48618. #. type: table
  48619. #: guix-git/doc/guix.texi:33159
  48620. 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}."
  48621. msgstr ""
  48622. #. type: table
  48623. #: guix-git/doc/guix.texi:33164
  48624. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  48625. msgstr ""
  48626. #. type: item
  48627. #: guix-git/doc/guix.texi:33170
  48628. #, no-wrap
  48629. msgid "--skip-checks"
  48630. msgstr ""
  48631. #. type: table
  48632. #: guix-git/doc/guix.texi:33172
  48633. msgid "Skip pre-installation safety checks."
  48634. msgstr ""
  48635. #. type: table
  48636. #: guix-git/doc/guix.texi:33179
  48637. 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."
  48638. msgstr ""
  48639. #. type: table
  48640. #: guix-git/doc/guix.texi:33182
  48641. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  48642. msgstr ""
  48643. #. type: table
  48644. #: guix-git/doc/guix.texi:33190
  48645. 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."
  48646. msgstr ""
  48647. #. type: cindex
  48648. #: guix-git/doc/guix.texi:33196
  48649. #, no-wrap
  48650. msgid "on-error"
  48651. msgstr ""
  48652. #. type: cindex
  48653. #: guix-git/doc/guix.texi:33197
  48654. #, no-wrap
  48655. msgid "on-error strategy"
  48656. msgstr ""
  48657. #. type: cindex
  48658. #: guix-git/doc/guix.texi:33198
  48659. #, no-wrap
  48660. msgid "error strategy"
  48661. msgstr ""
  48662. #. type: item
  48663. #: guix-git/doc/guix.texi:33199
  48664. #, no-wrap
  48665. msgid "--on-error=@var{strategy}"
  48666. msgstr ""
  48667. #. type: table
  48668. #: guix-git/doc/guix.texi:33202
  48669. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  48670. msgstr ""
  48671. #. type: item
  48672. #: guix-git/doc/guix.texi:33204
  48673. #, no-wrap
  48674. msgid "nothing-special"
  48675. msgstr ""
  48676. #. type: table
  48677. #: guix-git/doc/guix.texi:33206
  48678. msgid "Report the error concisely and exit. This is the default strategy."
  48679. msgstr ""
  48680. #. type: item
  48681. #: guix-git/doc/guix.texi:33207
  48682. #, no-wrap
  48683. msgid "backtrace"
  48684. msgstr ""
  48685. #. type: table
  48686. #: guix-git/doc/guix.texi:33209
  48687. msgid "Likewise, but also display a backtrace."
  48688. msgstr ""
  48689. #. type: item
  48690. #: guix-git/doc/guix.texi:33210
  48691. #, no-wrap
  48692. msgid "debug"
  48693. msgstr ""
  48694. #. type: table
  48695. #: guix-git/doc/guix.texi:33216
  48696. 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."
  48697. msgstr ""
  48698. #. type: Plain text
  48699. #: guix-git/doc/guix.texi:33223
  48700. 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:"
  48701. msgstr ""
  48702. #. type: item
  48703. #: guix-git/doc/guix.texi:33226
  48704. #, no-wrap
  48705. msgid "describe"
  48706. msgstr ""
  48707. #. type: table
  48708. #: guix-git/doc/guix.texi:33229
  48709. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  48710. msgstr ""
  48711. #. type: item
  48712. #: guix-git/doc/guix.texi:33230
  48713. #, no-wrap
  48714. msgid "list-generations"
  48715. msgstr ""
  48716. #. type: table
  48717. #: guix-git/doc/guix.texi:33235
  48718. 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})."
  48719. msgstr ""
  48720. #. type: table
  48721. #: guix-git/doc/guix.texi:33240
  48722. 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:"
  48723. msgstr ""
  48724. #. type: example
  48725. #: guix-git/doc/guix.texi:33243
  48726. #, no-wrap
  48727. msgid "$ guix system list-generations 10d\n"
  48728. msgstr ""
  48729. #. type: Plain text
  48730. #: guix-git/doc/guix.texi:33250
  48731. 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:"
  48732. msgstr ""
  48733. #. type: anchor{#1}
  48734. #: guix-git/doc/guix.texi:33252
  48735. msgid "system-extension-graph"
  48736. msgstr ""
  48737. #. type: item
  48738. #: guix-git/doc/guix.texi:33254
  48739. #, no-wrap
  48740. msgid "extension-graph"
  48741. msgstr ""
  48742. #. type: table
  48743. #: guix-git/doc/guix.texi:33261
  48744. 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}}):"
  48745. msgstr ""
  48746. #. type: table
  48747. #: guix-git/doc/guix.texi:33263
  48748. msgid "The command:"
  48749. msgstr ""
  48750. #. type: example
  48751. #: guix-git/doc/guix.texi:33266
  48752. #, no-wrap
  48753. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  48754. msgstr ""
  48755. #. type: table
  48756. #: guix-git/doc/guix.texi:33269
  48757. msgid "shows the extension relations among services."
  48758. msgstr ""
  48759. #. type: anchor{#1}
  48760. #: guix-git/doc/guix.texi:33271
  48761. msgid "system-shepherd-graph"
  48762. msgstr ""
  48763. #. type: item
  48764. #: guix-git/doc/guix.texi:33271
  48765. #, no-wrap
  48766. msgid "shepherd-graph"
  48767. msgstr ""
  48768. #. type: table
  48769. #: guix-git/doc/guix.texi:33276
  48770. 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."
  48771. msgstr ""
  48772. #. type: table
  48773. #: guix-git/doc/guix.texi:33279
  48774. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  48775. msgstr ""
  48776. #. type: section
  48777. #: guix-git/doc/guix.texi:33283
  48778. #, no-wrap
  48779. msgid "Invoking @code{guix deploy}"
  48780. msgstr ""
  48781. #. type: Plain text
  48782. #: guix-git/doc/guix.texi:33291
  48783. 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''."
  48784. msgstr ""
  48785. #. type: quotation
  48786. #: guix-git/doc/guix.texi:33296
  48787. 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}!"
  48788. msgstr ""
  48789. #. type: example
  48790. #: guix-git/doc/guix.texi:33300
  48791. #, no-wrap
  48792. msgid "guix deploy @var{file}\n"
  48793. msgstr ""
  48794. #. type: Plain text
  48795. #: guix-git/doc/guix.texi:33304
  48796. 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:"
  48797. msgstr ""
  48798. #. type: lisp
  48799. #: guix-git/doc/guix.texi:33311
  48800. #, no-wrap
  48801. msgid ""
  48802. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  48803. ";; no X11 display server, to a machine with an SSH daemon\n"
  48804. ";; listening on localhost:2222. A configuration such as this\n"
  48805. ";; may be appropriate for virtual machine with ports\n"
  48806. ";; forwarded to the host's loopback interface.\n"
  48807. "\n"
  48808. msgstr ""
  48809. #. type: lisp
  48810. #: guix-git/doc/guix.texi:33314
  48811. #, no-wrap
  48812. msgid ""
  48813. "(use-service-modules networking ssh)\n"
  48814. "(use-package-modules bootloaders)\n"
  48815. "\n"
  48816. msgstr ""
  48817. #. type: lisp
  48818. #: guix-git/doc/guix.texi:33335
  48819. #, no-wrap
  48820. msgid ""
  48821. "(define %system\n"
  48822. " (operating-system\n"
  48823. " (host-name \"gnu-deployed\")\n"
  48824. " (timezone \"Etc/UTC\")\n"
  48825. " (bootloader (bootloader-configuration\n"
  48826. " (bootloader grub-bootloader)\n"
  48827. " (target \"/dev/vda\")\n"
  48828. " (terminal-outputs '(console))))\n"
  48829. " (file-systems (cons (file-system\n"
  48830. " (mount-point \"/\")\n"
  48831. " (device \"/dev/vda1\")\n"
  48832. " (type \"ext4\"))\n"
  48833. " %base-file-systems))\n"
  48834. " (services\n"
  48835. " (append (list (service dhcp-client-service-type)\n"
  48836. " (service openssh-service-type\n"
  48837. " (openssh-configuration\n"
  48838. " (permit-root-login #t)\n"
  48839. " (allow-empty-passwords? #t))))\n"
  48840. " %base-services))))\n"
  48841. "\n"
  48842. msgstr ""
  48843. #. type: lisp
  48844. #: guix-git/doc/guix.texi:33345
  48845. #, no-wrap
  48846. msgid ""
  48847. "(list (machine\n"
  48848. " (operating-system %system)\n"
  48849. " (environment managed-host-environment-type)\n"
  48850. " (configuration (machine-ssh-configuration\n"
  48851. " (host-name \"localhost\")\n"
  48852. " (system \"x86_64-linux\")\n"
  48853. " (user \"alice\")\n"
  48854. " (identity \"./id_rsa\")\n"
  48855. " (port 2222)))))\n"
  48856. msgstr ""
  48857. #. type: Plain text
  48858. #: guix-git/doc/guix.texi:33358
  48859. 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."
  48860. msgstr ""
  48861. #. type: Plain text
  48862. #: guix-git/doc/guix.texi:33363
  48863. 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:"
  48864. msgstr ""
  48865. #. type: Plain text
  48866. #: guix-git/doc/guix.texi:33371
  48867. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  48868. msgstr ""
  48869. #. type: example
  48870. #: guix-git/doc/guix.texi:33374
  48871. #, no-wrap
  48872. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  48873. msgstr ""
  48874. #. type: Plain text
  48875. #: guix-git/doc/guix.texi:33385
  48876. 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:"
  48877. msgstr ""
  48878. #. type: lisp
  48879. #: guix-git/doc/guix.texi:33389
  48880. #, no-wrap
  48881. msgid ""
  48882. "(use-modules ...\n"
  48883. " (gnu system)) ;for %sudoers-specification\n"
  48884. "\n"
  48885. msgstr ""
  48886. #. type: lisp
  48887. #: guix-git/doc/guix.texi:33391
  48888. #, no-wrap
  48889. msgid ""
  48890. "(define %user \"username\")\n"
  48891. "\n"
  48892. msgstr ""
  48893. #. type: lisp
  48894. #: guix-git/doc/guix.texi:33399
  48895. #, no-wrap
  48896. msgid ""
  48897. "(operating-system\n"
  48898. " ...\n"
  48899. " (sudoers-file\n"
  48900. " (plain-file \"sudoers\"\n"
  48901. " (string-append (plain-file-content %sudoers-specification)\n"
  48902. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  48903. " %user)))))\n"
  48904. "\n"
  48905. msgstr ""
  48906. #. type: Plain text
  48907. #: guix-git/doc/guix.texi:33404
  48908. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  48909. msgstr ""
  48910. #. type: deftp
  48911. #: guix-git/doc/guix.texi:33405
  48912. #, no-wrap
  48913. msgid "{Data Type} machine"
  48914. msgstr ""
  48915. #. type: deftp
  48916. #: guix-git/doc/guix.texi:33408
  48917. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  48918. msgstr ""
  48919. #. type: table
  48920. #: guix-git/doc/guix.texi:33412
  48921. msgid "The object of the operating system configuration to deploy."
  48922. msgstr ""
  48923. #. type: code{#1}
  48924. #: guix-git/doc/guix.texi:33413
  48925. #, no-wrap
  48926. msgid "environment"
  48927. msgstr ""
  48928. #. type: table
  48929. #: guix-git/doc/guix.texi:33415
  48930. msgid "An @code{environment-type} describing how the machine should be provisioned."
  48931. msgstr ""
  48932. #. type: item
  48933. #: guix-git/doc/guix.texi:33416
  48934. #, no-wrap
  48935. msgid "@code{configuration} (default: @code{#f})"
  48936. msgstr ""
  48937. #. type: table
  48938. #: guix-git/doc/guix.texi:33421
  48939. 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."
  48940. msgstr ""
  48941. #. type: deftp
  48942. #: guix-git/doc/guix.texi:33424
  48943. #, no-wrap
  48944. msgid "{Data Type} machine-ssh-configuration"
  48945. msgstr ""
  48946. #. type: deftp
  48947. #: guix-git/doc/guix.texi:33427
  48948. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  48949. msgstr ""
  48950. #. type: item
  48951. #: guix-git/doc/guix.texi:33430
  48952. #, no-wrap
  48953. msgid "@code{build-locally?} (default: @code{#t})"
  48954. msgstr ""
  48955. #. type: table
  48956. #: guix-git/doc/guix.texi:33432
  48957. msgid "If false, system derivations will be built on the machine being deployed to."
  48958. msgstr ""
  48959. #. type: code{#1}
  48960. #: guix-git/doc/guix.texi:33432
  48961. #, no-wrap
  48962. msgid "system"
  48963. msgstr ""
  48964. #. type: table
  48965. #: guix-git/doc/guix.texi:33435
  48966. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  48967. msgstr ""
  48968. #. type: item
  48969. #: guix-git/doc/guix.texi:33435
  48970. #, no-wrap
  48971. msgid "@code{authorize?} (default: @code{#t})"
  48972. msgstr ""
  48973. #. type: table
  48974. #: guix-git/doc/guix.texi:33438
  48975. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  48976. msgstr ""
  48977. #. type: item
  48978. #: guix-git/doc/guix.texi:33439
  48979. #, no-wrap
  48980. msgid "@code{user} (default: @code{\"root\"})"
  48981. msgstr ""
  48982. #. type: item
  48983. #: guix-git/doc/guix.texi:33440
  48984. #, no-wrap
  48985. msgid "@code{identity} (default: @code{#f})"
  48986. msgstr ""
  48987. #. type: table
  48988. #: guix-git/doc/guix.texi:33443
  48989. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  48990. msgstr ""
  48991. #. type: item
  48992. #: guix-git/doc/guix.texi:33444
  48993. #, no-wrap
  48994. msgid "@code{host-key} (default: @code{#f})"
  48995. msgstr ""
  48996. #. type: table
  48997. #: guix-git/doc/guix.texi:33446
  48998. msgid "This should be the SSH host key of the machine, which looks like this:"
  48999. msgstr ""
  49000. #. type: example
  49001. #: guix-git/doc/guix.texi:33449
  49002. #, no-wrap
  49003. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  49004. msgstr ""
  49005. #. type: table
  49006. #: guix-git/doc/guix.texi:33454
  49007. 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."
  49008. msgstr ""
  49009. #. type: item
  49010. #: guix-git/doc/guix.texi:33455
  49011. #, no-wrap
  49012. msgid "@code{allow-downgrades?} (default: @code{#f})"
  49013. msgstr ""
  49014. #. type: table
  49015. #: guix-git/doc/guix.texi:33457
  49016. msgid "Whether to allow potential downgrades."
  49017. msgstr ""
  49018. #. type: table
  49019. #: guix-git/doc/guix.texi:33465
  49020. 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."
  49021. msgstr ""
  49022. #. type: deftp
  49023. #: guix-git/doc/guix.texi:33468
  49024. #, no-wrap
  49025. msgid "{Data Type} digital-ocean-configuration"
  49026. msgstr ""
  49027. #. type: deftp
  49028. #: guix-git/doc/guix.texi:33471
  49029. 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}."
  49030. msgstr ""
  49031. #. type: code{#1}
  49032. #: guix-git/doc/guix.texi:33473
  49033. #, no-wrap
  49034. msgid "ssh-key"
  49035. msgstr ""
  49036. #. type: table
  49037. #: guix-git/doc/guix.texi:33476
  49038. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  49039. msgstr ""
  49040. #. type: code{#1}
  49041. #: guix-git/doc/guix.texi:33476
  49042. #, no-wrap
  49043. msgid "tags"
  49044. msgstr ""
  49045. #. type: table
  49046. #: guix-git/doc/guix.texi:33479
  49047. 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."
  49048. msgstr ""
  49049. #. type: code{#1}
  49050. #: guix-git/doc/guix.texi:33479
  49051. #, no-wrap
  49052. msgid "region"
  49053. msgstr ""
  49054. #. type: table
  49055. #: guix-git/doc/guix.texi:33481
  49056. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  49057. msgstr ""
  49058. #. type: table
  49059. #: guix-git/doc/guix.texi:33483
  49060. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  49061. msgstr ""
  49062. #. type: code{#1}
  49063. #: guix-git/doc/guix.texi:33483
  49064. #, no-wrap
  49065. msgid "enable-ipv6?"
  49066. msgstr ""
  49067. #. type: table
  49068. #: guix-git/doc/guix.texi:33485
  49069. msgid "Whether or not the droplet should be created with IPv6 networking."
  49070. msgstr ""
  49071. #. type: section
  49072. #: guix-git/doc/guix.texi:33489
  49073. #, no-wrap
  49074. msgid "Running Guix in a Virtual Machine"
  49075. msgstr ""
  49076. #. type: Plain text
  49077. #: guix-git/doc/guix.texi:33498
  49078. 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 will first need to decompress with @command{xz -d}, and then you can pass it to an emulator such as QEMU (see below for details)."
  49079. msgstr ""
  49080. #. type: Plain text
  49081. #: guix-git/doc/guix.texi:33505
  49082. 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})."
  49083. msgstr ""
  49084. #. type: Plain text
  49085. #: guix-git/doc/guix.texi:33510
  49086. msgid "Instead of using this pre-built image, one can also build their own virtual machine image using @command{guix system vm-image} (@pxref{Invoking guix system}). The returned image is in qcow2 format, which the @uref{https://qemu.org/, QEMU emulator} can efficiently use."
  49087. msgstr ""
  49088. #. type: cindex
  49089. #: guix-git/doc/guix.texi:33511
  49090. #, no-wrap
  49091. msgid "QEMU"
  49092. msgstr ""
  49093. #. type: Plain text
  49094. #: guix-git/doc/guix.texi:33518
  49095. 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:"
  49096. msgstr ""
  49097. #. type: example
  49098. #: guix-git/doc/guix.texi:33525
  49099. #, no-wrap
  49100. msgid ""
  49101. "$ qemu-system-x86_64 \\\n"
  49102. " -nic user,model=virtio-net-pci \\\n"
  49103. " -enable-kvm -m 1024 \\\n"
  49104. " -device virtio-blk,drive=myhd \\\n"
  49105. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  49106. msgstr ""
  49107. #. type: Plain text
  49108. #: guix-git/doc/guix.texi:33528
  49109. msgid "Here is what each of these options means:"
  49110. msgstr ""
  49111. #. type: item
  49112. #: guix-git/doc/guix.texi:33530
  49113. #, no-wrap
  49114. msgid "qemu-system-x86_64"
  49115. msgstr ""
  49116. #. type: table
  49117. #: guix-git/doc/guix.texi:33533
  49118. msgid "This specifies the hardware platform to emulate. This should match the host."
  49119. msgstr ""
  49120. #. type: item
  49121. #: guix-git/doc/guix.texi:33534
  49122. #, no-wrap
  49123. msgid "-nic user,model=virtio-net-pci"
  49124. msgstr ""
  49125. #. type: table
  49126. #: guix-git/doc/guix.texi:33542
  49127. 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}."
  49128. msgstr ""
  49129. #. type: item
  49130. #: guix-git/doc/guix.texi:33543
  49131. #, no-wrap
  49132. msgid "-enable-kvm"
  49133. msgstr ""
  49134. #. type: table
  49135. #: guix-git/doc/guix.texi:33547
  49136. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  49137. msgstr ""
  49138. #. type: item
  49139. #: guix-git/doc/guix.texi:33549
  49140. #, no-wrap
  49141. msgid "-m 1024"
  49142. msgstr ""
  49143. #. type: table
  49144. #: guix-git/doc/guix.texi:33552
  49145. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  49146. msgstr ""
  49147. #. type: item
  49148. #: guix-git/doc/guix.texi:33553
  49149. #, no-wrap
  49150. msgid "-device virtio-blk,drive=myhd"
  49151. msgstr ""
  49152. #. type: table
  49153. #: guix-git/doc/guix.texi:33558
  49154. 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."
  49155. msgstr ""
  49156. #. type: item
  49157. #: guix-git/doc/guix.texi:33559
  49158. #, no-wrap
  49159. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  49160. msgstr ""
  49161. #. type: table
  49162. #: guix-git/doc/guix.texi:33562
  49163. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  49164. msgstr ""
  49165. #. type: Plain text
  49166. #: guix-git/doc/guix.texi:33572
  49167. 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}."
  49168. msgstr ""
  49169. #. type: subsection
  49170. #: guix-git/doc/guix.texi:33573
  49171. #, no-wrap
  49172. msgid "Connecting Through SSH"
  49173. msgstr ""
  49174. #. type: Plain text
  49175. #: guix-git/doc/guix.texi:33581
  49176. 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"
  49177. msgstr ""
  49178. #. type: example
  49179. #: guix-git/doc/guix.texi:33584
  49180. #, no-wrap
  49181. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  49182. msgstr ""
  49183. #. type: Plain text
  49184. #: guix-git/doc/guix.texi:33587
  49185. msgid "To connect to the VM you can run"
  49186. msgstr ""
  49187. #. type: example
  49188. #: guix-git/doc/guix.texi:33590
  49189. #, no-wrap
  49190. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  49191. msgstr ""
  49192. #. type: Plain text
  49193. #: guix-git/doc/guix.texi:33597
  49194. 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."
  49195. msgstr ""
  49196. #. type: subsection
  49197. #: guix-git/doc/guix.texi:33598
  49198. #, no-wrap
  49199. msgid "Using @command{virt-viewer} with Spice"
  49200. msgstr ""
  49201. #. type: Plain text
  49202. #: guix-git/doc/guix.texi:33604
  49203. 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."
  49204. msgstr ""
  49205. #. type: Plain text
  49206. #: guix-git/doc/guix.texi:33607
  49207. 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}:"
  49208. msgstr ""
  49209. #. type: example
  49210. #: guix-git/doc/guix.texi:33613
  49211. #, no-wrap
  49212. msgid ""
  49213. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  49214. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  49215. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  49216. "name=com.redhat.spice.0\n"
  49217. msgstr ""
  49218. #. type: Plain text
  49219. #: guix-git/doc/guix.texi:33617
  49220. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  49221. msgstr ""
  49222. #. type: Plain text
  49223. #: guix-git/doc/guix.texi:33624
  49224. 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?"
  49225. msgstr ""
  49226. #. type: cindex
  49227. #: guix-git/doc/guix.texi:33636
  49228. #, no-wrap
  49229. msgid "daemons"
  49230. msgstr ""
  49231. #. type: Plain text
  49232. #: guix-git/doc/guix.texi:33649
  49233. 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."
  49234. msgstr ""
  49235. #. type: cindex
  49236. #: guix-git/doc/guix.texi:33650
  49237. #, no-wrap
  49238. msgid "service extensions"
  49239. msgstr ""
  49240. #. type: Plain text
  49241. #: guix-git/doc/guix.texi:33662
  49242. 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})."
  49243. msgstr ""
  49244. #. type: Plain text
  49245. #: guix-git/doc/guix.texi:33666
  49246. 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:"
  49247. msgstr ""
  49248. #. type: Plain text
  49249. #: guix-git/doc/guix.texi:33668
  49250. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  49251. msgstr ""
  49252. #. type: cindex
  49253. #: guix-git/doc/guix.texi:33669
  49254. #, no-wrap
  49255. msgid "system service"
  49256. msgstr ""
  49257. #. type: Plain text
  49258. #: guix-git/doc/guix.texi:33677
  49259. 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."
  49260. msgstr ""
  49261. #. type: cindex
  49262. #: guix-git/doc/guix.texi:33678
  49263. #, no-wrap
  49264. msgid "service types"
  49265. msgstr ""
  49266. #. type: Plain text
  49267. #: guix-git/doc/guix.texi:33684
  49268. 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."
  49269. msgstr ""
  49270. #. type: Plain text
  49271. #: guix-git/doc/guix.texi:33687
  49272. msgid "The following section describes the programming interface for service types and services."
  49273. msgstr ""
  49274. #. type: Plain text
  49275. #: guix-git/doc/guix.texi:33694
  49276. 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}):"
  49277. msgstr ""
  49278. #. type: lisp
  49279. #: guix-git/doc/guix.texi:33704
  49280. #, no-wrap
  49281. msgid ""
  49282. "(define guix-service-type\n"
  49283. " (service-type\n"
  49284. " (name 'guix)\n"
  49285. " (extensions\n"
  49286. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  49287. " (service-extension account-service-type guix-accounts)\n"
  49288. " (service-extension activation-service-type guix-activation)))\n"
  49289. " (default-value (guix-configuration))))\n"
  49290. msgstr ""
  49291. #. type: Plain text
  49292. #: guix-git/doc/guix.texi:33708
  49293. msgid "It defines three things:"
  49294. msgstr ""
  49295. #. type: enumerate
  49296. #: guix-git/doc/guix.texi:33712
  49297. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  49298. msgstr ""
  49299. #. type: enumerate
  49300. #: guix-git/doc/guix.texi:33717
  49301. 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."
  49302. msgstr ""
  49303. #. type: enumerate
  49304. #: guix-git/doc/guix.texi:33720
  49305. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  49306. msgstr ""
  49307. #. type: enumerate
  49308. #: guix-git/doc/guix.texi:33723
  49309. msgid "Optionally, a default value for instances of this type."
  49310. msgstr ""
  49311. #. type: Plain text
  49312. #: guix-git/doc/guix.texi:33726
  49313. msgid "In this example, @code{guix-service-type} extends three services:"
  49314. msgstr ""
  49315. #. type: item
  49316. #: guix-git/doc/guix.texi:33728
  49317. #, no-wrap
  49318. msgid "shepherd-root-service-type"
  49319. msgstr ""
  49320. #. type: table
  49321. #: guix-git/doc/guix.texi:33733
  49322. 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})."
  49323. msgstr ""
  49324. #. type: item
  49325. #: guix-git/doc/guix.texi:33734
  49326. #, no-wrap
  49327. msgid "account-service-type"
  49328. msgstr ""
  49329. #. type: table
  49330. #: guix-git/doc/guix.texi:33739
  49331. 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})."
  49332. msgstr ""
  49333. #. type: item
  49334. #: guix-git/doc/guix.texi:33740
  49335. #, no-wrap
  49336. msgid "activation-service-type"
  49337. msgstr ""
  49338. #. type: table
  49339. #: guix-git/doc/guix.texi:33744
  49340. 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."
  49341. msgstr ""
  49342. #. type: Plain text
  49343. #: guix-git/doc/guix.texi:33747
  49344. msgid "A service of this type is instantiated like this:"
  49345. msgstr ""
  49346. #. type: lisp
  49347. #: guix-git/doc/guix.texi:33753
  49348. #, no-wrap
  49349. msgid ""
  49350. "(service guix-service-type\n"
  49351. " (guix-configuration\n"
  49352. " (build-accounts 5)\n"
  49353. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  49354. msgstr ""
  49355. #. type: Plain text
  49356. #: guix-git/doc/guix.texi:33761
  49357. 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:"
  49358. msgstr ""
  49359. #. type: lisp
  49360. #: guix-git/doc/guix.texi:33764
  49361. #, no-wrap
  49362. msgid "(service guix-service-type)\n"
  49363. msgstr ""
  49364. #. type: Plain text
  49365. #: guix-git/doc/guix.texi:33768
  49366. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  49367. msgstr ""
  49368. #. type: Plain text
  49369. #: guix-git/doc/guix.texi:33772
  49370. msgid "The service type for an @emph{extensible} service looks like this:"
  49371. msgstr ""
  49372. #. type: lisp
  49373. #: guix-git/doc/guix.texi:33779
  49374. #, no-wrap
  49375. msgid ""
  49376. "(define udev-service-type\n"
  49377. " (service-type (name 'udev)\n"
  49378. " (extensions\n"
  49379. " (list (service-extension shepherd-root-service-type\n"
  49380. " udev-shepherd-service)))\n"
  49381. "\n"
  49382. msgstr ""
  49383. #. type: lisp
  49384. #: guix-git/doc/guix.texi:33787
  49385. #, no-wrap
  49386. msgid ""
  49387. " (compose concatenate) ;concatenate the list of rules\n"
  49388. " (extend (lambda (config rules)\n"
  49389. " (match config\n"
  49390. " (($ <udev-configuration> udev initial-rules)\n"
  49391. " (udev-configuration\n"
  49392. " (udev udev) ;the udev package to use\n"
  49393. " (rules (append initial-rules rules)))))))))\n"
  49394. msgstr ""
  49395. #. type: Plain text
  49396. #: guix-git/doc/guix.texi:33793
  49397. 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:"
  49398. msgstr ""
  49399. #. type: item
  49400. #: guix-git/doc/guix.texi:33795
  49401. #, no-wrap
  49402. msgid "compose"
  49403. msgstr ""
  49404. #. type: table
  49405. #: guix-git/doc/guix.texi:33798
  49406. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  49407. msgstr ""
  49408. #. type: table
  49409. #: guix-git/doc/guix.texi:33801
  49410. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  49411. msgstr ""
  49412. #. type: item
  49413. #: guix-git/doc/guix.texi:33802
  49414. #, no-wrap
  49415. msgid "extend"
  49416. msgstr ""
  49417. #. type: table
  49418. #: guix-git/doc/guix.texi:33805
  49419. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  49420. msgstr ""
  49421. #. type: table
  49422. #: guix-git/doc/guix.texi:33810
  49423. 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."
  49424. msgstr ""
  49425. #. type: table
  49426. #: guix-git/doc/guix.texi:33816
  49427. 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})."
  49428. msgstr ""
  49429. #. type: Plain text
  49430. #: guix-git/doc/guix.texi:33821
  49431. 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."
  49432. msgstr ""
  49433. #. type: Plain text
  49434. #: guix-git/doc/guix.texi:33824
  49435. msgid "Still here? The next section provides a reference of the programming interface for services."
  49436. msgstr ""
  49437. #. type: Plain text
  49438. #: guix-git/doc/guix.texi:33832
  49439. 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."
  49440. msgstr ""
  49441. #. type: deffn
  49442. #: guix-git/doc/guix.texi:33833
  49443. #, no-wrap
  49444. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  49445. msgstr ""
  49446. #. type: deffn
  49447. #: guix-git/doc/guix.texi:33837
  49448. 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."
  49449. msgstr ""
  49450. #. type: deffn
  49451. #: guix-git/doc/guix.texi:33841
  49452. 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."
  49453. msgstr ""
  49454. #. type: deffn
  49455. #: guix-git/doc/guix.texi:33843
  49456. msgid "For instance, this:"
  49457. msgstr ""
  49458. #. type: lisp
  49459. #: guix-git/doc/guix.texi:33846
  49460. #, no-wrap
  49461. msgid "(service openssh-service-type)\n"
  49462. msgstr ""
  49463. #. type: deffn
  49464. #: guix-git/doc/guix.texi:33850
  49465. msgid "is equivalent to this:"
  49466. msgstr ""
  49467. #. type: lisp
  49468. #: guix-git/doc/guix.texi:33854
  49469. #, no-wrap
  49470. msgid ""
  49471. "(service openssh-service-type\n"
  49472. " (openssh-configuration))\n"
  49473. msgstr ""
  49474. #. type: deffn
  49475. #: guix-git/doc/guix.texi:33858
  49476. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  49477. msgstr ""
  49478. #. type: deffn
  49479. #: guix-git/doc/guix.texi:33860
  49480. #, no-wrap
  49481. msgid "{Scheme Procedure} service? @var{obj}"
  49482. msgstr ""
  49483. #. type: deffn
  49484. #: guix-git/doc/guix.texi:33862
  49485. msgid "Return true if @var{obj} is a service."
  49486. msgstr ""
  49487. #. type: deffn
  49488. #: guix-git/doc/guix.texi:33864
  49489. #, no-wrap
  49490. msgid "{Scheme Procedure} service-kind @var{service}"
  49491. msgstr ""
  49492. #. type: deffn
  49493. #: guix-git/doc/guix.texi:33866
  49494. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  49495. msgstr ""
  49496. #. type: deffn
  49497. #: guix-git/doc/guix.texi:33868
  49498. #, no-wrap
  49499. msgid "{Scheme Procedure} service-value @var{service}"
  49500. msgstr ""
  49501. #. type: deffn
  49502. #: guix-git/doc/guix.texi:33871
  49503. msgid "Return the value associated with @var{service}. It represents its parameters."
  49504. msgstr ""
  49505. #. type: Plain text
  49506. #: guix-git/doc/guix.texi:33874
  49507. msgid "Here is an example of how a service is created and manipulated:"
  49508. msgstr ""
  49509. #. type: lisp
  49510. #: guix-git/doc/guix.texi:33883
  49511. #, no-wrap
  49512. msgid ""
  49513. "(define s\n"
  49514. " (service nginx-service-type\n"
  49515. " (nginx-configuration\n"
  49516. " (nginx nginx)\n"
  49517. " (log-directory log-directory)\n"
  49518. " (run-directory run-directory)\n"
  49519. " (file config-file))))\n"
  49520. "\n"
  49521. msgstr ""
  49522. #. type: lisp
  49523. #: guix-git/doc/guix.texi:33886
  49524. #, no-wrap
  49525. msgid ""
  49526. "(service? s)\n"
  49527. "@result{} #t\n"
  49528. "\n"
  49529. msgstr ""
  49530. #. type: lisp
  49531. #: guix-git/doc/guix.texi:33889
  49532. #, no-wrap
  49533. msgid ""
  49534. "(eq? (service-kind s) nginx-service-type)\n"
  49535. "@result{} #t\n"
  49536. msgstr ""
  49537. #. type: Plain text
  49538. #: guix-git/doc/guix.texi:33899
  49539. 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."
  49540. msgstr ""
  49541. #. type: deffn
  49542. #: guix-git/doc/guix.texi:33900
  49543. #, no-wrap
  49544. msgid "{Scheme Syntax} modify-services @var{services} @"
  49545. msgstr ""
  49546. #. type: deffn
  49547. #: guix-git/doc/guix.texi:33902
  49548. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  49549. msgstr ""
  49550. #. type: deffn
  49551. #: guix-git/doc/guix.texi:33905
  49552. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  49553. msgstr ""
  49554. #. type: example
  49555. #: guix-git/doc/guix.texi:33908
  49556. #, no-wrap
  49557. msgid "(@var{type} @var{variable} => @var{body})\n"
  49558. msgstr ""
  49559. #. type: deffn
  49560. #: guix-git/doc/guix.texi:33915
  49561. 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}."
  49562. msgstr ""
  49563. #. type: deffn
  49564. #: guix-git/doc/guix.texi:33922
  49565. 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."
  49566. msgstr ""
  49567. #. type: deffn
  49568. #: guix-git/doc/guix.texi:33924
  49569. msgid "@xref{Using the Configuration System}, for example usage."
  49570. msgstr ""
  49571. #. type: Plain text
  49572. #: guix-git/doc/guix.texi:33931
  49573. 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."
  49574. msgstr ""
  49575. #. type: deftp
  49576. #: guix-git/doc/guix.texi:33932
  49577. #, no-wrap
  49578. msgid "{Data Type} service-type"
  49579. msgstr ""
  49580. #. type: cindex
  49581. #: guix-git/doc/guix.texi:33933
  49582. #, no-wrap
  49583. msgid "service type"
  49584. msgstr ""
  49585. #. type: deftp
  49586. #: guix-git/doc/guix.texi:33936
  49587. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  49588. msgstr ""
  49589. #. type: table
  49590. #: guix-git/doc/guix.texi:33940
  49591. msgid "This is a symbol, used only to simplify inspection and debugging."
  49592. msgstr ""
  49593. #. type: code{#1}
  49594. #: guix-git/doc/guix.texi:33941
  49595. #, no-wrap
  49596. msgid "extensions"
  49597. msgstr ""
  49598. #. type: table
  49599. #: guix-git/doc/guix.texi:33943
  49600. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  49601. msgstr ""
  49602. #. type: item
  49603. #: guix-git/doc/guix.texi:33944
  49604. #, no-wrap
  49605. msgid "@code{compose} (default: @code{#f})"
  49606. msgstr ""
  49607. #. type: table
  49608. #: guix-git/doc/guix.texi:33948
  49609. 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."
  49610. msgstr ""
  49611. #. type: table
  49612. #: guix-git/doc/guix.texi:33952
  49613. 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."
  49614. msgstr ""
  49615. #. type: item
  49616. #: guix-git/doc/guix.texi:33953
  49617. #, no-wrap
  49618. msgid "@code{extend} (default: @code{#f})"
  49619. msgstr ""
  49620. #. type: table
  49621. #: guix-git/doc/guix.texi:33955
  49622. msgid "If this is @code{#f}, services of this type cannot be extended."
  49623. msgstr ""
  49624. #. type: table
  49625. #: guix-git/doc/guix.texi:33961
  49626. 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."
  49627. msgstr ""
  49628. #. type: table
  49629. #: guix-git/doc/guix.texi:33967
  49630. 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})."
  49631. msgstr ""
  49632. #. type: item
  49633. #: guix-git/doc/guix.texi:33968
  49634. #, no-wrap
  49635. msgid "@code{default-value} (default: @code{&no-default-value})"
  49636. msgstr ""
  49637. #. type: table
  49638. #: guix-git/doc/guix.texi:33971
  49639. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  49640. msgstr ""
  49641. #. type: lisp
  49642. #: guix-git/doc/guix.texi:33974
  49643. #, no-wrap
  49644. msgid "(service @var{type})\n"
  49645. msgstr ""
  49646. #. type: table
  49647. #: guix-git/doc/guix.texi:33978
  49648. msgid "The returned service in this case has the default value specified by @var{type}."
  49649. msgstr ""
  49650. #. type: deftp
  49651. #: guix-git/doc/guix.texi:33981
  49652. msgid "@xref{Service Types and Services}, for examples."
  49653. msgstr ""
  49654. #. type: deffn
  49655. #: guix-git/doc/guix.texi:33983
  49656. #, no-wrap
  49657. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  49658. msgstr ""
  49659. #. type: deffn
  49660. #: guix-git/doc/guix.texi:33989
  49661. 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."
  49662. msgstr ""
  49663. #. type: deffn
  49664. #: guix-git/doc/guix.texi:33991
  49665. #, no-wrap
  49666. msgid "{Scheme Procedure} service-extension? @var{obj}"
  49667. msgstr ""
  49668. #. type: deffn
  49669. #: guix-git/doc/guix.texi:33993
  49670. msgid "Return true if @var{obj} is a service extension."
  49671. msgstr ""
  49672. #. type: Plain text
  49673. #: guix-git/doc/guix.texi:33999
  49674. 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."
  49675. msgstr ""
  49676. #. type: deffn
  49677. #: guix-git/doc/guix.texi:34000
  49678. #, no-wrap
  49679. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  49680. msgstr ""
  49681. #. type: deffn
  49682. #: guix-git/doc/guix.texi:34004
  49683. 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."
  49684. msgstr ""
  49685. #. type: deffn
  49686. #: guix-git/doc/guix.texi:34007
  49687. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  49688. msgstr ""
  49689. #. type: lisp
  49690. #: guix-git/doc/guix.texi:34011
  49691. #, no-wrap
  49692. msgid ""
  49693. "(simple-service 'my-mcron-job mcron-service-type\n"
  49694. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  49695. msgstr ""
  49696. #. type: Plain text
  49697. #: guix-git/doc/guix.texi:34021
  49698. 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."
  49699. msgstr ""
  49700. #. type: deffn
  49701. #: guix-git/doc/guix.texi:34022
  49702. #, no-wrap
  49703. msgid "{Scheme Procedure} fold-services @var{services} @"
  49704. msgstr ""
  49705. #. type: deffn
  49706. #: guix-git/doc/guix.texi:34026
  49707. 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."
  49708. msgstr ""
  49709. #. type: Plain text
  49710. #: guix-git/doc/guix.texi:34030
  49711. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  49712. msgstr ""
  49713. #. type: defvr
  49714. #: guix-git/doc/guix.texi:34031
  49715. #, no-wrap
  49716. msgid "{Scheme Variable} system-service-type"
  49717. msgstr ""
  49718. #. type: defvr
  49719. #: guix-git/doc/guix.texi:34034
  49720. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  49721. msgstr ""
  49722. #. type: defvr
  49723. #: guix-git/doc/guix.texi:34036
  49724. #, no-wrap
  49725. msgid "{Scheme Variable} boot-service-type"
  49726. msgstr ""
  49727. #. type: defvr
  49728. #: guix-git/doc/guix.texi:34039
  49729. 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."
  49730. msgstr ""
  49731. #. type: defvr
  49732. #: guix-git/doc/guix.texi:34041
  49733. #, no-wrap
  49734. msgid "{Scheme Variable} etc-service-type"
  49735. msgstr ""
  49736. #. type: defvr
  49737. #: guix-git/doc/guix.texi:34045
  49738. 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:"
  49739. msgstr ""
  49740. #. type: lisp
  49741. #: guix-git/doc/guix.texi:34048
  49742. #, no-wrap
  49743. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  49744. msgstr ""
  49745. #. type: defvr
  49746. #: guix-git/doc/guix.texi:34052
  49747. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  49748. msgstr ""
  49749. #. type: defvr
  49750. #: guix-git/doc/guix.texi:34054
  49751. #, no-wrap
  49752. msgid "{Scheme Variable} setuid-program-service-type"
  49753. msgstr ""
  49754. #. type: defvr
  49755. #: guix-git/doc/guix.texi:34058
  49756. 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})."
  49757. msgstr ""
  49758. #. type: defvr
  49759. #: guix-git/doc/guix.texi:34060
  49760. #, no-wrap
  49761. msgid "{Scheme Variable} profile-service-type"
  49762. msgstr ""
  49763. #. type: defvr
  49764. #: guix-git/doc/guix.texi:34064
  49765. 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."
  49766. msgstr ""
  49767. #. type: anchor{#1}
  49768. #: guix-git/doc/guix.texi:34068
  49769. msgid "provenance-service-type"
  49770. msgstr ""
  49771. #. type: defvr
  49772. #: guix-git/doc/guix.texi:34068
  49773. #, no-wrap
  49774. msgid "{Scheme Variable} provenance-service-type"
  49775. msgstr ""
  49776. #. type: defvr
  49777. #: guix-git/doc/guix.texi:34072
  49778. 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}:"
  49779. msgstr ""
  49780. #. type: item
  49781. #: guix-git/doc/guix.texi:34074
  49782. #, no-wrap
  49783. msgid "channels.scm"
  49784. msgstr ""
  49785. #. type: table
  49786. #: guix-git/doc/guix.texi:34079
  49787. 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})."
  49788. msgstr ""
  49789. #. type: item
  49790. #: guix-git/doc/guix.texi:34080
  49791. #, no-wrap
  49792. msgid "configuration.scm"
  49793. msgstr ""
  49794. #. type: table
  49795. #: guix-git/doc/guix.texi:34085
  49796. 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."
  49797. msgstr ""
  49798. #. type: item
  49799. #: guix-git/doc/guix.texi:34086
  49800. #, no-wrap
  49801. msgid "provenance"
  49802. msgstr ""
  49803. #. type: table
  49804. #: guix-git/doc/guix.texi:34089
  49805. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  49806. msgstr ""
  49807. #. type: defvr
  49808. #: guix-git/doc/guix.texi:34093
  49809. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  49810. msgstr ""
  49811. #. type: quotation
  49812. #: guix-git/doc/guix.texi:34094
  49813. #, no-wrap
  49814. msgid "Caveats"
  49815. msgstr ""
  49816. #. type: quotation
  49817. #: guix-git/doc/guix.texi:34101
  49818. 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."
  49819. msgstr ""
  49820. #. type: quotation
  49821. #: guix-git/doc/guix.texi:34109
  49822. 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."
  49823. msgstr ""
  49824. #. type: defvr
  49825. #: guix-git/doc/guix.texi:34114
  49826. 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}."
  49827. msgstr ""
  49828. #. type: cindex
  49829. #: guix-git/doc/guix.texi:34119
  49830. #, no-wrap
  49831. msgid "shepherd services"
  49832. msgstr ""
  49833. #. type: cindex
  49834. #: guix-git/doc/guix.texi:34120
  49835. #, no-wrap
  49836. msgid "PID 1"
  49837. msgstr ""
  49838. #. type: cindex
  49839. #: guix-git/doc/guix.texi:34121
  49840. #, no-wrap
  49841. msgid "init system"
  49842. msgstr ""
  49843. #. type: Plain text
  49844. #: guix-git/doc/guix.texi:34127
  49845. 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})."
  49846. msgstr ""
  49847. #. type: Plain text
  49848. #: guix-git/doc/guix.texi:34133
  49849. 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:"
  49850. msgstr ""
  49851. #. type: Plain text
  49852. #: guix-git/doc/guix.texi:34135
  49853. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  49854. msgstr ""
  49855. #. type: Plain text
  49856. #: guix-git/doc/guix.texi:34139
  49857. 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}})."
  49858. msgstr ""
  49859. #. type: Plain text
  49860. #: guix-git/doc/guix.texi:34143
  49861. 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."
  49862. msgstr ""
  49863. #. type: deftp
  49864. #: guix-git/doc/guix.texi:34144
  49865. #, no-wrap
  49866. msgid "{Data Type} shepherd-service"
  49867. msgstr ""
  49868. #. type: deftp
  49869. #: guix-git/doc/guix.texi:34146
  49870. msgid "The data type representing a service managed by the Shepherd."
  49871. msgstr ""
  49872. #. type: code{#1}
  49873. #: guix-git/doc/guix.texi:34148
  49874. #, no-wrap
  49875. msgid "provision"
  49876. msgstr ""
  49877. #. type: table
  49878. #: guix-git/doc/guix.texi:34150
  49879. msgid "This is a list of symbols denoting what the service provides."
  49880. msgstr ""
  49881. #. type: table
  49882. #: guix-git/doc/guix.texi:34155
  49883. 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."
  49884. msgstr ""
  49885. #. type: item
  49886. #: guix-git/doc/guix.texi:34156
  49887. #, no-wrap
  49888. msgid "@code{requirement} (default: @code{'()})"
  49889. msgstr ""
  49890. #. type: table
  49891. #: guix-git/doc/guix.texi:34158
  49892. msgid "List of symbols denoting the Shepherd services this one depends on."
  49893. msgstr ""
  49894. #. type: cindex
  49895. #: guix-git/doc/guix.texi:34159
  49896. #, no-wrap
  49897. msgid "one-shot services, for the Shepherd"
  49898. msgstr ""
  49899. #. type: table
  49900. #: guix-git/doc/guix.texi:34164
  49901. 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."
  49902. msgstr ""
  49903. #. type: item
  49904. #: guix-git/doc/guix.texi:34165
  49905. #, no-wrap
  49906. msgid "@code{respawn?} (default: @code{#t})"
  49907. msgstr ""
  49908. #. type: table
  49909. #: guix-git/doc/guix.texi:34168
  49910. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  49911. msgstr ""
  49912. #. type: code{#1}
  49913. #: guix-git/doc/guix.texi:34169
  49914. #, no-wrap
  49915. msgid "start"
  49916. msgstr ""
  49917. #. type: itemx
  49918. #: guix-git/doc/guix.texi:34170
  49919. #, no-wrap
  49920. msgid "@code{stop} (default: @code{#~(const #f)})"
  49921. msgstr ""
  49922. #. type: table
  49923. #: guix-git/doc/guix.texi:34176
  49924. 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})."
  49925. msgstr ""
  49926. #. type: item
  49927. #: guix-git/doc/guix.texi:34177
  49928. #, no-wrap
  49929. msgid "@code{actions} (default: @code{'()})"
  49930. msgstr ""
  49931. #. type: cindex
  49932. #: guix-git/doc/guix.texi:34178
  49933. #, no-wrap
  49934. msgid "actions, of Shepherd services"
  49935. msgstr ""
  49936. #. type: table
  49937. #: guix-git/doc/guix.texi:34183
  49938. 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:"
  49939. msgstr ""
  49940. #. type: example
  49941. #: guix-git/doc/guix.texi:34186
  49942. #, no-wrap
  49943. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  49944. msgstr ""
  49945. #. type: item
  49946. #: guix-git/doc/guix.texi:34188
  49947. #, no-wrap
  49948. msgid "@code{auto-start?} (default: @code{#t})"
  49949. msgstr ""
  49950. #. type: table
  49951. #: guix-git/doc/guix.texi:34191
  49952. 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}."
  49953. msgstr ""
  49954. #. type: table
  49955. #: guix-git/doc/guix.texi:34194
  49956. msgid "A documentation string, as shown when running:"
  49957. msgstr ""
  49958. #. type: example
  49959. #: guix-git/doc/guix.texi:34197
  49960. #, no-wrap
  49961. msgid "herd doc @var{service-name}\n"
  49962. msgstr ""
  49963. #. type: table
  49964. #: guix-git/doc/guix.texi:34201
  49965. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  49966. msgstr ""
  49967. #. type: item
  49968. #: guix-git/doc/guix.texi:34202
  49969. #, no-wrap
  49970. msgid "@code{modules} (default: @code{%default-modules})"
  49971. msgstr ""
  49972. #. type: table
  49973. #: guix-git/doc/guix.texi:34205
  49974. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  49975. msgstr ""
  49976. #. type: Plain text
  49977. #: guix-git/doc/guix.texi:34213
  49978. 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}):"
  49979. msgstr ""
  49980. #. type: example
  49981. #: guix-git/doc/guix.texi:34225
  49982. #, no-wrap
  49983. msgid ""
  49984. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  49985. " (shepherd-service\n"
  49986. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  49987. " (provision '(syslogd))\n"
  49988. " (requirement '(user-processes))\n"
  49989. " (start #~(make-forkexec-constructor\n"
  49990. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  49991. " \"--rcfile\" #$config)\n"
  49992. " #:pid-file \"/var/run/syslog.pid\"))\n"
  49993. " (stop #~(make-kill-destructor))))\n"
  49994. msgstr ""
  49995. #. type: Plain text
  49996. #: guix-git/doc/guix.texi:34240
  49997. 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})."
  49998. msgstr ""
  49999. #. type: deftp
  50000. #: guix-git/doc/guix.texi:34241
  50001. #, no-wrap
  50002. msgid "{Data Type} shepherd-action"
  50003. msgstr ""
  50004. #. type: deftp
  50005. #: guix-git/doc/guix.texi:34244
  50006. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  50007. msgstr ""
  50008. #. type: table
  50009. #: guix-git/doc/guix.texi:34248
  50010. msgid "Symbol naming the action."
  50011. msgstr ""
  50012. #. type: table
  50013. #: guix-git/doc/guix.texi:34251
  50014. msgid "This is a documentation string for the action. It can be viewed by running:"
  50015. msgstr ""
  50016. #. type: example
  50017. #: guix-git/doc/guix.texi:34254
  50018. #, no-wrap
  50019. msgid "herd doc @var{service} action @var{action}\n"
  50020. msgstr ""
  50021. #. type: item
  50022. #: guix-git/doc/guix.texi:34256
  50023. #, no-wrap
  50024. msgid "procedure"
  50025. msgstr ""
  50026. #. type: table
  50027. #: guix-git/doc/guix.texi:34260
  50028. 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})."
  50029. msgstr ""
  50030. #. type: deftp
  50031. #: guix-git/doc/guix.texi:34264
  50032. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  50033. msgstr ""
  50034. #. type: lisp
  50035. #: guix-git/doc/guix.texi:34273
  50036. #, no-wrap
  50037. msgid ""
  50038. "(shepherd-action\n"
  50039. " (name 'say-hello)\n"
  50040. " (documentation \"Say hi!\")\n"
  50041. " (procedure #~(lambda (running . args)\n"
  50042. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  50043. " args)\n"
  50044. " #t)))\n"
  50045. msgstr ""
  50046. #. type: deftp
  50047. #: guix-git/doc/guix.texi:34276
  50048. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  50049. msgstr ""
  50050. #. type: example
  50051. #: guix-git/doc/guix.texi:34282
  50052. #, no-wrap
  50053. msgid ""
  50054. "# herd say-hello example\n"
  50055. "Hello, friend! arguments: ()\n"
  50056. "# herd say-hello example a b c\n"
  50057. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  50058. msgstr ""
  50059. #. type: deftp
  50060. #: guix-git/doc/guix.texi:34287
  50061. 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."
  50062. msgstr ""
  50063. #. type: defvr
  50064. #: guix-git/doc/guix.texi:34289
  50065. #, no-wrap
  50066. msgid "{Scheme Variable} shepherd-root-service-type"
  50067. msgstr ""
  50068. #. type: defvr
  50069. #: guix-git/doc/guix.texi:34291
  50070. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  50071. msgstr ""
  50072. #. type: defvr
  50073. #: guix-git/doc/guix.texi:34296
  50074. 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."
  50075. msgstr ""
  50076. #. type: deftp
  50077. #: guix-git/doc/guix.texi:34298
  50078. #, no-wrap
  50079. msgid "{Data Type} shepherd-configuration"
  50080. msgstr ""
  50081. #. type: deftp
  50082. #: guix-git/doc/guix.texi:34300
  50083. msgid "This data type represents the Shepherd's configuration."
  50084. msgstr ""
  50085. #. type: item
  50086. #: guix-git/doc/guix.texi:34302
  50087. #, no-wrap
  50088. msgid "shepherd (default: @code{shepherd})"
  50089. msgstr ""
  50090. #. type: table
  50091. #: guix-git/doc/guix.texi:34304
  50092. msgid "The Shepherd package to use."
  50093. msgstr ""
  50094. #. type: item
  50095. #: guix-git/doc/guix.texi:34305
  50096. #, no-wrap
  50097. msgid "services (default: @code{'()})"
  50098. msgstr ""
  50099. #. type: table
  50100. #: guix-git/doc/guix.texi:34309
  50101. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  50102. msgstr ""
  50103. #. type: Plain text
  50104. #: guix-git/doc/guix.texi:34314
  50105. msgid "The following example specifies the Shepherd package for the operating system:"
  50106. msgstr ""
  50107. #. type: lisp
  50108. #: guix-git/doc/guix.texi:34329
  50109. #, no-wrap
  50110. msgid ""
  50111. "(operating-system\n"
  50112. " ;; ...\n"
  50113. " (services (append (list openssh-service-type))\n"
  50114. " ;; ...\n"
  50115. " %desktop-services)\n"
  50116. " ;; ...\n"
  50117. " ;; Use own Shepherd package.\n"
  50118. " (essential-services\n"
  50119. " (modify-services (operating-system-default-essential-services\n"
  50120. " this-operating-system)\n"
  50121. " (shepherd-root-service-type config => (shepherd-configuration\n"
  50122. " (inherit config)\n"
  50123. " (shepherd my-shepherd))))))\n"
  50124. msgstr ""
  50125. #. type: defvr
  50126. #: guix-git/doc/guix.texi:34331
  50127. #, no-wrap
  50128. msgid "{Scheme Variable} %shepherd-root-service"
  50129. msgstr ""
  50130. #. type: defvr
  50131. #: guix-git/doc/guix.texi:34333
  50132. msgid "This service represents PID@tie{}1."
  50133. msgstr ""
  50134. #. type: cindex
  50135. #: guix-git/doc/guix.texi:34339
  50136. #, no-wrap
  50137. msgid "documentation, searching for"
  50138. msgstr ""
  50139. #. type: cindex
  50140. #: guix-git/doc/guix.texi:34340
  50141. #, no-wrap
  50142. msgid "searching for documentation"
  50143. msgstr ""
  50144. #. type: cindex
  50145. #: guix-git/doc/guix.texi:34341
  50146. #, no-wrap
  50147. msgid "Info, documentation format"
  50148. msgstr ""
  50149. #. type: cindex
  50150. #: guix-git/doc/guix.texi:34342
  50151. #, no-wrap
  50152. msgid "man pages"
  50153. msgstr ""
  50154. #. type: cindex
  50155. #: guix-git/doc/guix.texi:34343
  50156. #, no-wrap
  50157. msgid "manual pages"
  50158. msgstr ""
  50159. #. type: Plain text
  50160. #: guix-git/doc/guix.texi:34350
  50161. 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}."
  50162. msgstr ""
  50163. #. type: Plain text
  50164. #: guix-git/doc/guix.texi:34354
  50165. 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:"
  50166. msgstr ""
  50167. #. type: example
  50168. #: guix-git/doc/guix.texi:34362
  50169. #, no-wrap
  50170. msgid ""
  50171. "$ info -k TLS\n"
  50172. "\"(emacs)Network Security\" -- STARTTLS\n"
  50173. "\"(emacs)Network Security\" -- TLS\n"
  50174. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  50175. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  50176. "@dots{}\n"
  50177. msgstr ""
  50178. #. type: Plain text
  50179. #: guix-git/doc/guix.texi:34366
  50180. msgid "The command below searches for the same keyword in man pages:"
  50181. msgstr ""
  50182. #. type: example
  50183. #: guix-git/doc/guix.texi:34372
  50184. #, no-wrap
  50185. msgid ""
  50186. "$ man -k TLS\n"
  50187. "SSL (7) - OpenSSL SSL/TLS library\n"
  50188. "certtool (1) - GnuTLS certificate tool\n"
  50189. "@dots {}\n"
  50190. msgstr ""
  50191. #. type: Plain text
  50192. #: guix-git/doc/guix.texi:34378
  50193. 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."
  50194. msgstr ""
  50195. #. type: Plain text
  50196. #: guix-git/doc/guix.texi:34381
  50197. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  50198. msgstr ""
  50199. #. type: example
  50200. #: guix-git/doc/guix.texi:34384
  50201. #, no-wrap
  50202. msgid "$ info \"(gnutls)Core TLS API\"\n"
  50203. msgstr ""
  50204. #. type: Plain text
  50205. #: guix-git/doc/guix.texi:34388
  50206. msgid "or:"
  50207. msgstr ""
  50208. #. type: example
  50209. #: guix-git/doc/guix.texi:34391
  50210. #, no-wrap
  50211. msgid "$ man certtool\n"
  50212. msgstr ""
  50213. #. type: Plain text
  50214. #: guix-git/doc/guix.texi:34399
  50215. 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."
  50216. msgstr ""
  50217. #. type: cindex
  50218. #: guix-git/doc/guix.texi:34403
  50219. #, no-wrap
  50220. msgid "debugging files"
  50221. msgstr ""
  50222. #. type: Plain text
  50223. #: guix-git/doc/guix.texi:34409
  50224. 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."
  50225. msgstr ""
  50226. #. type: Plain text
  50227. #: guix-git/doc/guix.texi:34413
  50228. 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."
  50229. msgstr ""
  50230. #. type: Plain text
  50231. #: guix-git/doc/guix.texi:34429
  50232. 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})."
  50233. msgstr ""
  50234. #. type: Plain text
  50235. #: guix-git/doc/guix.texi:34436
  50236. 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})."
  50237. msgstr ""
  50238. #. type: Plain text
  50239. #: guix-git/doc/guix.texi:34444
  50240. 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:"
  50241. msgstr ""
  50242. #. type: example
  50243. #: guix-git/doc/guix.texi:34447
  50244. #, no-wrap
  50245. msgid "guix install glibc:debug guile:debug\n"
  50246. msgstr ""
  50247. #. type: Plain text
  50248. #: guix-git/doc/guix.texi:34453
  50249. 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}):"
  50250. msgstr ""
  50251. #. type: example
  50252. #: guix-git/doc/guix.texi:34456
  50253. #, no-wrap
  50254. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  50255. msgstr ""
  50256. #. type: Plain text
  50257. #: guix-git/doc/guix.texi:34460
  50258. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  50259. msgstr ""
  50260. #. type: Plain text
  50261. #: guix-git/doc/guix.texi:34467
  50262. 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})."
  50263. msgstr ""
  50264. #. type: Plain text
  50265. #: guix-git/doc/guix.texi:34475
  50266. 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})."
  50267. msgstr ""
  50268. #. type: Plain text
  50269. #: guix-git/doc/guix.texi:34477
  50270. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  50271. msgstr ""
  50272. #. type: Plain text
  50273. #: guix-git/doc/guix.texi:34489
  50274. 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."
  50275. msgstr ""
  50276. #. type: Plain text
  50277. #: guix-git/doc/guix.texi:34494
  50278. 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:"
  50279. msgstr ""
  50280. #. type: example
  50281. #: guix-git/doc/guix.texi:34505
  50282. #, no-wrap
  50283. msgid ""
  50284. "(gdb) bt\n"
  50285. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  50286. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  50287. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  50288. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  50289. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  50290. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  50291. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  50292. " at dl-init.c:118\n"
  50293. msgstr ""
  50294. #. type: Plain text
  50295. #: guix-git/doc/guix.texi:34509
  50296. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  50297. msgstr ""
  50298. #. type: Plain text
  50299. #: guix-git/doc/guix.texi:34515
  50300. msgid "This time, debugging will be a whole lot nicer:"
  50301. msgstr ""
  50302. #. type: example
  50303. #: guix-git/doc/guix.texi:34533
  50304. #, no-wrap
  50305. msgid ""
  50306. "$ gdb --args sh -c 'exec inkscape'\n"
  50307. "@dots{}\n"
  50308. "(gdb) b g_getenv\n"
  50309. "Function \"g_getenv\" not defined.\n"
  50310. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  50311. "Breakpoint 1 (g_getenv) pending.\n"
  50312. "(gdb) r\n"
  50313. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  50314. "@dots{}\n"
  50315. "(gdb) bt\n"
  50316. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  50317. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  50318. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  50319. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  50320. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  50321. "@dots{}\n"
  50322. msgstr ""
  50323. #. type: Plain text
  50324. #: guix-git/doc/guix.texi:34536
  50325. msgid "Much better!"
  50326. msgstr ""
  50327. #. type: Plain text
  50328. #: guix-git/doc/guix.texi:34540
  50329. 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."
  50330. msgstr ""
  50331. #. type: cindex
  50332. #: guix-git/doc/guix.texi:34544
  50333. #, no-wrap
  50334. msgid "security updates"
  50335. msgstr ""
  50336. #. type: Plain text
  50337. #: guix-git/doc/guix.texi:34553
  50338. 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:"
  50339. msgstr ""
  50340. #. type: smallexample
  50341. #: guix-git/doc/guix.texi:34560
  50342. #, no-wrap
  50343. msgid ""
  50344. "$ guix lint -c cve\n"
  50345. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  50346. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  50347. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  50348. "@dots{}\n"
  50349. msgstr ""
  50350. #. type: Plain text
  50351. #: guix-git/doc/guix.texi:34563
  50352. msgid "@xref{Invoking guix lint}, for more information."
  50353. msgstr ""
  50354. #. type: Plain text
  50355. #: guix-git/doc/guix.texi:34572
  50356. 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."
  50357. msgstr ""
  50358. #. type: cindex
  50359. #: guix-git/doc/guix.texi:34573
  50360. #, no-wrap
  50361. msgid "grafts"
  50362. msgstr ""
  50363. #. type: Plain text
  50364. #: guix-git/doc/guix.texi:34581
  50365. 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."
  50366. msgstr ""
  50367. #. type: cindex
  50368. #: guix-git/doc/guix.texi:34582
  50369. #, no-wrap
  50370. msgid "replacements of packages, for grafts"
  50371. msgstr ""
  50372. #. type: Plain text
  50373. #: guix-git/doc/guix.texi:34588
  50374. 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:"
  50375. msgstr ""
  50376. #. type: lisp
  50377. #: guix-git/doc/guix.texi:34595
  50378. #, no-wrap
  50379. msgid ""
  50380. "(define bash\n"
  50381. " (package\n"
  50382. " (name \"bash\")\n"
  50383. " ;; @dots{}\n"
  50384. " (replacement bash-fixed)))\n"
  50385. msgstr ""
  50386. #. type: Plain text
  50387. #: guix-git/doc/guix.texi:34605
  50388. 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."
  50389. msgstr ""
  50390. #. type: Plain text
  50391. #: guix-git/doc/guix.texi:34613
  50392. 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."
  50393. msgstr ""
  50394. #. type: Plain text
  50395. #: guix-git/doc/guix.texi:34617
  50396. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  50397. msgstr ""
  50398. #. type: example
  50399. #: guix-git/doc/guix.texi:34620
  50400. #, no-wrap
  50401. msgid "guix build bash --no-grafts\n"
  50402. msgstr ""
  50403. #. type: Plain text
  50404. #: guix-git/doc/guix.texi:34624
  50405. msgid "returns the store file name of the original Bash, whereas:"
  50406. msgstr ""
  50407. #. type: example
  50408. #: guix-git/doc/guix.texi:34627
  50409. #, no-wrap
  50410. msgid "guix build bash\n"
  50411. msgstr ""
  50412. #. type: Plain text
  50413. #: guix-git/doc/guix.texi:34632
  50414. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  50415. msgstr ""
  50416. #. type: Plain text
  50417. #: guix-git/doc/guix.texi:34635
  50418. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  50419. msgstr ""
  50420. #. type: example
  50421. #: guix-git/doc/guix.texi:34638
  50422. #, no-wrap
  50423. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  50424. msgstr ""
  50425. #. type: Plain text
  50426. #: guix-git/doc/guix.texi:34643
  50427. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  50428. msgstr ""
  50429. #. type: example
  50430. #: guix-git/doc/guix.texi:34646
  50431. #, no-wrap
  50432. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  50433. msgstr ""
  50434. #. type: Plain text
  50435. #: guix-git/doc/guix.texi:34650
  50436. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  50437. msgstr ""
  50438. #. type: example
  50439. #: guix-git/doc/guix.texi:34653
  50440. #, no-wrap
  50441. msgid "lsof | grep /gnu/store/.*bash\n"
  50442. msgstr ""
  50443. #. type: cindex
  50444. #: guix-git/doc/guix.texi:34661
  50445. #, no-wrap
  50446. msgid "bootstrapping"
  50447. msgstr ""
  50448. #. type: Plain text
  50449. #: guix-git/doc/guix.texi:34668
  50450. 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?"
  50451. msgstr ""
  50452. #. type: Plain text
  50453. #: guix-git/doc/guix.texi:34676
  50454. 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."
  50455. msgstr ""
  50456. #. type: cindex
  50457. #: guix-git/doc/guix.texi:34677 guix-git/doc/guix.texi:34889
  50458. #, no-wrap
  50459. msgid "bootstrap binaries"
  50460. msgstr ""
  50461. #. type: Plain text
  50462. #: guix-git/doc/guix.texi:34687
  50463. 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}."
  50464. msgstr ""
  50465. #. type: Plain text
  50466. #: guix-git/doc/guix.texi:34691
  50467. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  50468. msgstr ""
  50469. #. type: section
  50470. #: guix-git/doc/guix.texi:34698
  50471. #, no-wrap
  50472. msgid "The Reduced Binary Seed Bootstrap"
  50473. msgstr ""
  50474. #. type: Plain text
  50475. #: guix-git/doc/guix.texi:34705
  50476. 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.''"
  50477. msgstr ""
  50478. #. type: Plain text
  50479. #: guix-git/doc/guix.texi:34711
  50480. 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."
  50481. msgstr ""
  50482. #. type: Plain text
  50483. #: guix-git/doc/guix.texi:34716
  50484. 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.}."
  50485. msgstr ""
  50486. #. type: Plain text
  50487. #: guix-git/doc/guix.texi:34722
  50488. 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)."
  50489. msgstr ""
  50490. #. type: Plain text
  50491. #: guix-git/doc/guix.texi:34727
  50492. 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."
  50493. msgstr ""
  50494. #. type: Plain text
  50495. #: guix-git/doc/guix.texi:34735
  50496. 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."
  50497. msgstr ""
  50498. #. type: Plain text
  50499. #: guix-git/doc/guix.texi:34745
  50500. 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."
  50501. msgstr ""
  50502. #. type: Plain text
  50503. #: guix-git/doc/guix.texi:34749
  50504. 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."
  50505. msgstr ""
  50506. #. type: Plain text
  50507. #: guix-git/doc/guix.texi:34752
  50508. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  50509. msgstr ""
  50510. #. type: Plain text
  50511. #: guix-git/doc/guix.texi:34759
  50512. 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.}."
  50513. msgstr ""
  50514. #. type: Plain text
  50515. #: guix-git/doc/guix.texi:34762
  50516. 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}."
  50517. msgstr ""
  50518. #. type: Plain text
  50519. #: guix-git/doc/guix.texi:34767
  50520. 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."
  50521. msgstr ""
  50522. #. type: Plain text
  50523. #: guix-git/doc/guix.texi:34771
  50524. 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}."
  50525. msgstr ""
  50526. #. type: Plain text
  50527. #: guix-git/doc/guix.texi:34778
  50528. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  50529. msgstr ""
  50530. #. type: Plain text
  50531. #: guix-git/doc/guix.texi:34783
  50532. 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:"
  50533. msgstr ""
  50534. #. type: example
  50535. #: guix-git/doc/guix.texi:34788
  50536. #, no-wrap
  50537. msgid ""
  50538. "guix graph -t derivation \\\n"
  50539. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  50540. " | dot -Tps > gcc.ps\n"
  50541. msgstr ""
  50542. #. type: Plain text
  50543. #: guix-git/doc/guix.texi:34791
  50544. msgid "or, for the further Reduced Binary Seed bootstrap"
  50545. msgstr ""
  50546. #. type: example
  50547. #: guix-git/doc/guix.texi:34796
  50548. #, no-wrap
  50549. msgid ""
  50550. "guix graph -t derivation \\\n"
  50551. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  50552. " | dot -Tps > mes.ps\n"
  50553. msgstr ""
  50554. #. type: Plain text
  50555. #: guix-git/doc/guix.texi:34805
  50556. 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})."
  50557. msgstr ""
  50558. #. type: Plain text
  50559. #: guix-git/doc/guix.texi:34814
  50560. 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."
  50561. msgstr ""
  50562. #. type: Plain text
  50563. #: guix-git/doc/guix.texi:34826
  50564. 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})."
  50565. msgstr ""
  50566. #. type: Plain text
  50567. #: guix-git/doc/guix.texi:34831
  50568. 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."
  50569. msgstr ""
  50570. #. type: unnumberedsec
  50571. #: guix-git/doc/guix.texi:34832
  50572. #, no-wrap
  50573. msgid "Building the Build Tools"
  50574. msgstr ""
  50575. #. type: Plain text
  50576. #: guix-git/doc/guix.texi:34841
  50577. 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."
  50578. msgstr ""
  50579. #. type: Plain text
  50580. #: guix-git/doc/guix.texi:34848
  50581. 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:"
  50582. msgstr ""
  50583. #. type: example
  50584. #: guix-git/doc/guix.texi:34853
  50585. #, no-wrap
  50586. msgid ""
  50587. "guix graph -t bag \\\n"
  50588. " -e '(@@@@ (gnu packages commencement)\n"
  50589. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  50590. msgstr ""
  50591. #. type: Plain text
  50592. #: guix-git/doc/guix.texi:34860
  50593. 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."
  50594. msgstr ""
  50595. #. type: Plain text
  50596. #: guix-git/doc/guix.texi:34862
  50597. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  50598. msgstr ""
  50599. #. type: Plain text
  50600. #: guix-git/doc/guix.texi:34868
  50601. 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."
  50602. msgstr ""
  50603. #. type: Plain text
  50604. #: guix-git/doc/guix.texi:34873
  50605. 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."
  50606. msgstr ""
  50607. #. type: Plain text
  50608. #: guix-git/doc/guix.texi:34879
  50609. 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."
  50610. msgstr ""
  50611. #. type: Plain text
  50612. #: guix-git/doc/guix.texi:34885
  50613. 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}})."
  50614. msgstr ""
  50615. #. type: unnumberedsec
  50616. #: guix-git/doc/guix.texi:34887
  50617. #, no-wrap
  50618. msgid "Building the Bootstrap Binaries"
  50619. msgstr ""
  50620. #. type: Plain text
  50621. #: guix-git/doc/guix.texi:34894
  50622. 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."
  50623. msgstr ""
  50624. #. type: Plain text
  50625. #: guix-git/doc/guix.texi:34900
  50626. 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):"
  50627. msgstr ""
  50628. #. type: example
  50629. #: guix-git/doc/guix.texi:34903
  50630. #, no-wrap
  50631. msgid "guix build bootstrap-tarballs\n"
  50632. msgstr ""
  50633. #. type: Plain text
  50634. #: guix-git/doc/guix.texi:34908
  50635. 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."
  50636. msgstr ""
  50637. #. type: Plain text
  50638. #: guix-git/doc/guix.texi:34914
  50639. 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."
  50640. msgstr ""
  50641. #. type: unnumberedsec
  50642. #: guix-git/doc/guix.texi:34915
  50643. #, no-wrap
  50644. msgid "Reducing the Set of Bootstrap Binaries"
  50645. msgstr ""
  50646. #. type: Plain text
  50647. #: guix-git/doc/guix.texi:34923
  50648. 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}."
  50649. msgstr ""
  50650. #. type: Plain text
  50651. #: guix-git/doc/guix.texi:34929
  50652. 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."
  50653. msgstr ""
  50654. #. type: Plain text
  50655. #: guix-git/doc/guix.texi:34935
  50656. 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."
  50657. msgstr ""
  50658. #. type: Plain text
  50659. #: guix-git/doc/guix.texi:34944
  50660. 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."
  50661. msgstr ""
  50662. #. type: Plain text
  50663. #: guix-git/doc/guix.texi:34947
  50664. 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!"
  50665. msgstr ""
  50666. #. type: chapter
  50667. #: guix-git/doc/guix.texi:34949
  50668. #, no-wrap
  50669. msgid "Porting to a New Platform"
  50670. msgstr ""
  50671. #. type: Plain text
  50672. #: guix-git/doc/guix.texi:34958
  50673. 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."
  50674. msgstr ""
  50675. #. type: Plain text
  50676. #: guix-git/doc/guix.texi:34963
  50677. 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:"
  50678. msgstr ""
  50679. #. type: example
  50680. #: guix-git/doc/guix.texi:34966
  50681. #, no-wrap
  50682. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  50683. msgstr ""
  50684. #. type: Plain text
  50685. #: guix-git/doc/guix.texi:34973
  50686. 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."
  50687. msgstr ""
  50688. #. type: Plain text
  50689. #: guix-git/doc/guix.texi:34982
  50690. 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."
  50691. msgstr ""
  50692. #. type: Plain text
  50693. #: guix-git/doc/guix.texi:34991
  50694. 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."
  50695. msgstr ""
  50696. #. type: include
  50697. #: guix-git/doc/guix.texi:34993
  50698. #, no-wrap
  50699. msgid "contributing.texi"
  50700. msgstr "contributing.fa.texi"
  50701. #. type: Plain text
  50702. #: guix-git/doc/guix.texi:35006
  50703. 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."
  50704. msgstr ""
  50705. #. type: Plain text
  50706. #: guix-git/doc/guix.texi:35009
  50707. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  50708. msgstr ""
  50709. #. type: Plain text
  50710. #: guix-git/doc/guix.texi:35015
  50711. 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!"
  50712. msgstr ""
  50713. #. type: cindex
  50714. #: guix-git/doc/guix.texi:35020
  50715. #, no-wrap
  50716. msgid "license, GNU Free Documentation License"
  50717. msgstr ""
  50718. #. type: include
  50719. #: guix-git/doc/guix.texi:35021
  50720. #, no-wrap
  50721. msgid "fdl-1.3.texi"
  50722. msgstr ""